Table of Contents

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 InteractionResponseType

The intended respond type.

intendedCallbackEphemerality InteractionCallbackEphemerality

The intended use of ephemeral. Required if it's only ephemeral.

intendedRequiredPermissions Permissions?

The intended required permissions.

Returns

DiscordCallbackHintBuilder

The updated DiscordCallbackHintBuilder.