Class MessagePollAnswerCount
- Namespace
- NetCord
- Assembly
- NetCord.dll
Represents a count of votes for a poll answer.
public class MessagePollAnswerCount : IJsonModel<JsonMessagePollAnswerCount>
- Inheritance
-
MessagePollAnswerCount
- Implements
- Inherited Members
Constructors
MessagePollAnswerCount(JsonMessagePollAnswerCount)
Represents a count of votes for a poll answer.
public MessagePollAnswerCount(JsonMessagePollAnswerCount jsonModel)
Parameters
jsonModelJsonMessagePollAnswerCount
Properties
AnswerId
The ID of the count's corresponding answer.
public int AnswerId { get; }
Property Value
Count
The count of votes for the answer.
public int Count { get; }
Property Value
MeVoted
Whether the current user has also voted for the answer.
public bool MeVoted { get; }