Table of Contents

Method AddComponents

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AddComponents(params DiscordComponent[])

Adds components to this message. Each call should append to a new row.

IDiscordMessageBuilder AddComponents(params DiscordComponent[] components)

Parameters

components DiscordComponent[]

Components to add.

Returns

IDiscordMessageBuilder

AddComponents(IEnumerable<DiscordComponent>)

Adds components to this message. Each call should append to a new row.

IDiscordMessageBuilder AddComponents(IEnumerable<DiscordComponent> components)

Parameters

components IEnumerable<DiscordComponent>

Components to add.

Returns

IDiscordMessageBuilder

AddComponents(IEnumerable<DiscordActionRowComponent>)

Adds an action row component to this message.

IDiscordMessageBuilder AddComponents(IEnumerable<DiscordActionRowComponent> components)

Parameters

components IEnumerable<DiscordActionRowComponent>

Action row to add to this message. Should contain child components.

Returns

IDiscordMessageBuilder