Table of Contents

Method WithPoll

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

WithPoll(DiscordPollBuilder)

Adds a poll to this builder.

public DiscordInteractionResponseBuilder WithPoll(DiscordPollBuilder pollBuilder)

Parameters

pollBuilder DiscordPollBuilder

The poll builder to add.

Returns

DiscordInteractionResponseBuilder

The current builder to be chained.