GetPollVoters
public struct GetPollVoters : Codable, Equatable, TDFunction
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
-
Undocumented
Declaration
Swift
public typealias Result = Users -
Identifier of the chat to which the poll belongs
Declaration
Swift
public let chatId: Int53 -
Identifier of the message containing the poll
Declaration
Swift
public let messageId: Int53 -
0-based identifier of the answer option
Declaration
Swift
public let optionId: Int32 -
Number of users to skip in the result; must be non-negative
Declaration
Swift
public let offset: Int32 -
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
Declaration
Swift
public let limit: Int32 -
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
Declaration
Parameters
chatIdIdentifier of the chat to which the poll belongs
messageIdIdentifier of the message containing the poll
optionId0-based identifier of the answer option
offsetNumber of users to skip in the result; must be non-negative
limitThe 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
View on GitHub
Install in Dash
GetPollVoters Structure Reference