API reference
Method WithOverflowMenuComponent
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
WithOverflowMenuComponent(DiscordOverflowMenuComponent)
Adds an overflow menu to the section as its accessory.
public DiscordSectionComponent WithOverflowMenuComponent(DiscordOverflowMenuComponent menu)
Parameters
menuDiscordOverflowMenuComponentThe overflow menu to add.
Returns
- DiscordSectionComponent
The current DiscordSectionComponent.