Table of Contents

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 DiscordUser

User that starts typing.

channel DiscordChannel

Channel the user is typing in.

timeoutoverride TimeSpan?

Override timeout period.

Returns

Task<InteractivityResult<TypingStartedEventArgs>>

WaitForUserTypingAsync(DiscordUser, TimeSpan?)

Waits for a user to start typing.

public Task<InteractivityResult<TypingStartedEventArgs>> WaitForUserTypingAsync(DiscordUser user, TimeSpan? timeoutoverride = null)

Parameters

user DiscordUser

User that starts typing.

timeoutoverride TimeSpan?

Override timeout period.

Returns

Task<InteractivityResult<TypingStartedEventArgs>>