Table of Contents

Class JsonMessagePoll

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonMessagePoll : JsonEntity
Inheritance
JsonMessagePoll
Inherited Members

Constructors

JsonMessagePoll()

public JsonMessagePoll()

Properties

AllowMultiselect

[JsonPropertyName("allow_multiselect")]
public bool AllowMultiselect { get; set; }

Property Value

bool

Answers

[JsonPropertyName("answers")]
public JsonMessagePollAnswer[] Answers { get; set; }

Property Value

JsonMessagePollAnswer[]

ExpiresAt

[JsonPropertyName("expiry")]
public DateTimeOffset? ExpiresAt { get; set; }

Property Value

DateTimeOffset?

LayoutType

[JsonPropertyName("layout_type")]
public MessagePollLayoutType LayoutType { get; set; }

Property Value

MessagePollLayoutType

Question

[JsonPropertyName("question")]
public JsonMessagePollMedia Question { get; set; }

Property Value

JsonMessagePollMedia

Results

[JsonPropertyName("results")]
public JsonMessagePollResults? Results { get; set; }

Property Value

JsonMessagePollResults