Method AddCallbackHint
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
AddCallbackHint(InteractionResponseType, InteractionCallbackEphemerality, Permissions?)
Adds a callback hint to the builder.
public DiscordCallbackHintBuilder AddCallbackHint(InteractionResponseType intendedCallbackType, InteractionCallbackEphemerality intendedCallbackEphemerality = InteractionCallbackEphemerality.Optional, Permissions? intendedRequiredPermissions = null)
Parameters
intendedCallbackType
InteractionResponseTypeThe intended respond type.
intendedCallbackEphemerality
InteractionCallbackEphemeralityThe intended use of ephemeral. Required if it's only ephemeral.
intendedRequiredPermissions
Permissions?The intended required permissions.
Returns
- DiscordCallbackHintBuilder
The updated DiscordCallbackHintBuilder.