Table of Contents
API reference

Class ChannelExtensions

Namespace
DisCatSharp.Interactivity.Extensions
Assembly
DisCatSharp.Interactivity.dll

Interactivity extension methods for DiscordChannel.

public static class ChannelExtensions
Inheritance
ChannelExtensions
Inherited Members

Methods

GetNextMessageAsync(DiscordChannel, DiscordUser, TimeSpan?)

Waits for the next message sent in this channel from a specific user.

GetNextMessageAsync(DiscordChannel, Func<DiscordMessage, bool>, TimeSpan?)

Waits for the next message sent in this channel that satisfies the predicate.

GetNextMessageAsync(DiscordChannel, TimeSpan?)

Waits for the next message sent in this channel.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationEmojis, PaginationBehaviour?, PaginationDeletion?, TimeSpan?, CancellationToken)

Sends a new paginated message.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationButtons, PaginationBehaviour?, ButtonPaginationBehavior?, CancellationToken)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationButtons, TimeSpan?, PaginationBehaviour?, ButtonPaginationBehavior?)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationBehaviour?, ButtonPaginationBehavior?, CancellationToken)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, TimeSpan?, PaginationBehaviour?, ButtonPaginationBehavior?)

Sends the paginated message async.

WaitForUserTypingAsync(DiscordChannel, DiscordUser, TimeSpan?)

Waits for a specific user to start typing in this channel.