Skip to main content

Type alias: PaginatedMessageSelectMenuOptionsFunction()

PaginatedMessageSelectMenuOptionsFunction: (pageIndex: number, internationalizationContext: PaginatedMessageInternationalizationContext) => Awaitable <Omit <SelectMenuComponentOptionData, "value">>

The type of the custom function that can be set for the PaginatedMessage.selectMenuOptions

Parameters

ParameterType
pageIndexnumber
internationalizationContextPaginatedMessageInternationalizationContext

Returns

Awaitable <Omit <SelectMenuComponentOptionData, "value">>

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:273