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 chatonly_gift_codes- Pass true to receive only boosts received from gift codes and giveaways created by the chatoffset- Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of resultslimit- 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 limitclient_id- The client id to send the request to