Table of Contents

Class MessagePoll

Namespace
NetCord
Assembly
NetCord.dll
public class MessagePoll : IJsonModel<JsonMessagePoll>
Inheritance
MessagePoll
Implements
Inherited Members

Constructors

MessagePoll(JsonMessagePoll)

public MessagePoll(JsonMessagePoll jsonModel)

Parameters

jsonModel JsonMessagePoll

Properties

AllowMultiselect

public bool AllowMultiselect { get; }

Property Value

bool

Answers

public IReadOnlyList<MessagePollAnswer> Answers { get; }

Property Value

IReadOnlyList<MessagePollAnswer>

ExpiresAt

public DateTimeOffset? ExpiresAt { get; }

Property Value

DateTimeOffset?

LayoutType

public MessagePollLayoutType LayoutType { get; }

Property Value

MessagePollLayoutType

Question

public MessagePollMedia Question { get; }

Property Value

MessagePollMedia

Results

public MessagePollResults? Results { get; }

Property Value

MessagePollResults