Table of Contents

Interface IMessageComponentBuilder

Namespace
Discord
Assembly
Discord.Net.Core.dll
public interface IMessageComponentBuilder
Extension Methods

Properties

Id

Gets or sets the id for the component. An autoincremented id will be assigned if not set.

int? Id { get; set; }

Property Value

int?

Type

Gets the type of the component.

ComponentType Type { get; }

Property Value

ComponentType

Methods

Build()

Runs validation checks and builds the component.

IMessageComponent Build()

Returns

IMessageComponent