Skip to main content

Function: createPartitionedMessageRow()

createPartitionedMessageRow(components: MessageActionRowComponentBuilder[]): PaginatedMessageComponentUnion[]

Creates partitioned message rows based on the provided components.

Parameters

ParameterTypeDescription
componentsMessageActionRowComponentBuilder[]The array of MessageActionRowComponentBuilder objects.

Returns

PaginatedMessageComponentUnion[]

An array of APIActionRowComponent<APIMessageActionRowComponent> objects.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/utils.ts:189