Skip to main content

Type alias: PaginatedMessageComponentUnion

PaginatedMessageComponentUnion: JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData <ActionRowComponentOptions | MessageActionRowComponentBuilder> | APIActionRowComponent<APIMessageActionRowComponent>

Represents a union type for components in a paginated message. It can be one of the following types:

  • JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>>
  • ActionRowData<ActionRowComponentOptions | MessageActionRowComponentBuilder>
  • APIActionRowComponent<APIMessageActionRowComponent>

Source

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