Method WithPoll
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
WithPoll(DiscordPollBuilder)
Adds a poll to the message.
public DiscordMessageBuilder WithPoll(DiscordPollBuilder pollBuilder)
Parameters
pollBuilder
DiscordPollBuilderThe poll builder to add.
Returns
- DiscordMessageBuilder
The current builder to be chained.