haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetPollVoters

Synopsis

Documentation

data GetPollVoters Source #

Returns message senders voted for the specified option in a non-anonymous polls. For optimal performance, the number of returned users is chosen by TDLib. Returns MessageSenders

Constructors

GetPollVoters 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the poll belongs

  • message_id :: Maybe Int

    Identifier of the message containing the poll

  • option_id :: Maybe Int

    0-based identifier of the answer option

  • offset :: Maybe Int

    Number of voters to skip in the result; must be non-negative

  • limit :: Maybe Int

    The maximum number of voters to be returned; must be positive and can't be greater than 50. For optimal performance, the number of returned voters is chosen by TDLib and can be smaller than the specified limit, even if the end of the voter list has not been reached