Function get_chat_boosts

Source
pub async fn get_chat_boosts(
    chat_id: i64,
    only_gift_codes: bool,
    offset: String,
    limit: i32,
    client_id: i32,
) -> Result<FoundChatBoosts, Error>
Expand description

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

ยงArguments

  • chat_id - Identifier of the chat
  • only_gift_codes - Pass true to receive only boosts received from gift codes and giveaways created by the chat
  • offset - Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
  • limit - 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
  • client_id - The client id to send the request to