GetPollVoters class

Inheritance

Constructors

GetPollVoters({int chatId, int messageId, int optionId, int offset, int limit})
Returns users voted for the specified option in a non-anonymous polls. For the optimal performance the number of returned users is chosen by the library
GetPollVoters.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Identifier of the chat to which the poll belongs
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
limit int
limit The maximum number of users to be returned; must be positive and can't be greater than 50. Fewer users may be returned than specified by the limit, even if the end of the voter list has not been reached
read / write
messageId int
messageId Identifier of the message containing the poll
read / write
offset int
offset Number of users to skip in the result; must be non-negative
read / write
optionId int
optionId 0-based identifier of the answer option
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'getPollVoters'