Method WaitForUserTypingAsync
- Namespace
- DSharpPlus.Interactivity
- Assembly
- DSharpPlus.Interactivity.dll
WaitForUserTypingAsync(DiscordUser, DiscordChannel, TimeSpan?)
Waits for a user to start typing.
public Task<InteractivityResult<TypingStartedEventArgs>> WaitForUserTypingAsync(DiscordUser user, DiscordChannel channel, TimeSpan? timeoutoverride = null)
Parameters
user
DiscordUserUser that starts typing.
channel
DiscordChannelChannel the user is typing in.
timeoutoverride
TimeSpan?Override timeout period.
Returns
WaitForUserTypingAsync(DiscordUser, TimeSpan?)
Waits for a user to start typing.
public Task<InteractivityResult<TypingStartedEventArgs>> WaitForUserTypingAsync(DiscordUser user, TimeSpan? timeoutoverride = null)
Parameters
user
DiscordUserUser that starts typing.
timeoutoverride
TimeSpan?Override timeout period.