Table of Contents

Class MessagePollResults

Namespace
NetCord
Assembly
NetCord.dll

Represents the results of a poll.

public class MessagePollResults : IJsonModel<JsonMessagePollResults>
Inheritance
MessagePollResults
Implements
Inherited Members

Constructors

MessagePollResults(JsonMessagePollResults)

Represents the results of a poll.

public MessagePollResults(JsonMessagePollResults jsonModel)

Parameters

jsonModel JsonMessagePollResults

Properties

Answers

A list of vote counts for each answer. If an answer is not included, it held no votes.

public IReadOnlyList<MessagePollAnswerCount> Answers { get; }

Property Value

IReadOnlyList<MessagePollAnswerCount>

IsFinalized

If true, the counts provided in Answers are accurately tallied, otherwise small deviations can occur.

public bool IsFinalized { get; }

Property Value

bool