haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.GetChatBoosts

Synopsis

Documentation

data GetChatBoosts Source #

Returns the list of boosts applied to a chat; requires administrator rights in the chat. Returns FoundChatBoosts

Constructors

GetChatBoosts 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat

  • only_gift_codes :: Maybe Bool

    Pass true to receive only boosts received from gift codes and giveaways created by the chat

  • offset :: Maybe Text

    Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results

  • limit :: Maybe Int

    The maximum number of boosts to be returned; up to 100. For optimal performance, the number of returned boosts can be smaller than the specified limit