Table of Contents

Interface IPaginationRequest

Namespace
DSharpPlus.Interactivity.EventHandling
Assembly
DSharpPlus.Interactivity.dll
public interface IPaginationRequest

Properties

PageCount

Returns the number of pages.

Methods

DoCleanupAsync()

Tells the request to perform cleanup.

GetButtonsAsync()

Requests the message buttons from the pagination request.

GetEmojisAsync()

Requests message emojis from pagination request.

GetMessageAsync()

Gets pagination message from this request.

GetPageAsync()

Returns the current page.

GetTaskCompletionSourceAsync()

Get this request's Task Completion Source.

GetUserAsync()

Gets the user this pagination applies to.

NextPageAsync()

Tells the request to increase its index by one.

PreviousPageAsync()

Tells the request to decrease its index by one.

SkipLeftAsync()

Tells the request to set its index to the first page.

SkipRightAsync()

Tells the request to set its index to the last page.