Table of Contents

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

jsonModel JsonMessagePollAnswerCount

Properties

AnswerId

The ID of the count's corresponding answer.

public int AnswerId { get; }

Property Value

int

Count

The count of votes for the answer.

public int Count { get; }

Property Value

int

MeVoted

Whether the current user has also voted for the answer.

public bool MeVoted { get; }

Property Value

bool