Discore
Show / Hide Table of Contents

Method TriggerTypingIndicator

| Improve this Doc View Source

TriggerTypingIndicator(Snowflake)

Causes the current bot to appear as typing in this channel.

Note: it is recommended that bots do not generally use this route. This should only be used if the bot is responding to a command that is expected to take a few seconds or longer.

Declaration
public Task TriggerTypingIndicator(Snowflake channelId)
Parameters
Type Name Description
Snowflake channelId
Returns
Type Description
Task
Exceptions
Type Condition
DiscordHttpApiException
| Improve this Doc View Source

TriggerTypingIndicator(ITextChannel)

Causes the current bot to appear as typing in this channel.

Note: it is recommended that bots do not generally use this route. This should only be used if the bot is responding to a command that is expected to take a few seconds or longer.

Declaration
public Task TriggerTypingIndicator(ITextChannel channel)
Parameters
Type Name Description
ITextChannel channel
Returns
Type Description
Task
Exceptions
Type Condition
ArgumentNullException

Thrown if channel is null.

DiscordHttpApiException
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX