Table of Contents

Method WithPoll

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

WithPoll(DiscordPollBuilder)

Adds a poll to the message.

public DiscordMessageBuilder WithPoll(DiscordPollBuilder pollBuilder)

Parameters

pollBuilder DiscordPollBuilder

The poll builder to add.

Returns

DiscordMessageBuilder

The current builder to be chained.