API reference
Class DiscordOverflowMenuComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
Represents an overflow menu that groups actions in a message.
public sealed class DiscordOverflowMenuComponent : DiscordSectionAccessory
- Inheritance
-
DiscordOverflowMenuComponent
- Inherited Members
Constructors
- DiscordOverflowMenuComponent(IEnumerable<DiscordOverflowMenuGroup>)
Constructs a menu containing up to eight groups.
Properties
- Groups
Gets the groups of actions displayed by this menu.
Methods
- GetChildren()
Gets the child components of this component, if any.
- WithId(int)
Assigns a component identifier.