API reference
Method WithContent
- Namespace
- DisCatSharp.Interactivity.Entities
- Assembly
- DisCatSharp.Interactivity.dll
WithContent(string)
Sets the content of the page.
warning
This cannot be used together with AddComponents(params DiscordComponent[]) / AddComponents(IEnumerable<DiscordComponent>).
public Page WithContent(string content)
Parameters
contentstringThe new content to assign to the page.