Class Menu
- Namespace
- NetCord
- Assembly
- NetCord.dll
public abstract class Menu : IMessageComponent, ILabelComponent, IComponentContainerComponent, IComponent, IJsonModel<JsonComponent>
- Inheritance
-
Menu
- Implements
- Derived
- Inherited Members
Constructors
Menu(JsonComponent, int)
protected Menu(JsonComponent jsonModel, int parentId)
Parameters
jsonModel
JsonComponentparentId
int
Properties
CustomId
public string CustomId { get; }
Property Value
Disabled
public bool Disabled { get; }
Property Value
Id
Unique identifier for the component.
public int Id { get; }
Property Value
MaxValues
public int? MaxValues { get; }
Property Value
- int?
MinValues
public int? MinValues { get; }
Property Value
- int?
ParentId
public int ParentId { get; }
Property Value
Placeholder
public string? Placeholder { get; }
Property Value
Required
public bool? Required { get; }
Property Value
- bool?