Table of Contents

Class PollCreatePayload

Namespace
DSharpPlus.Net.Abstractions
Assembly
DSharpPlus.dll
public sealed class PollCreatePayload
Inheritance
object
PollCreatePayload

Properties

AllowMultisect

Whether the poll allows for multiple answers.

Answers

Gets the answers available in the poll.

Duration

Gets the expiry date for this poll.

Layout

Gets the layout type for this poll. Defaults to Default.

Question

Gets the question for this poll. Only text is supported.