ChatBoost

class aiogram.types.chat_boost.ChatBoost(*, boost_id: str, add_date: _datetime_serializer, return_type=int, when_used=unless - none)], expiration_date: _datetime_serializer, return_type=int, when_used=unless - none)], source: ChatBoostSourcePremium | ChatBoostSourceGiftCode | ChatBoostSourceGiveaway, **extra_data: Any)[source]

This object contains information about a chat boost.

Source: https://core.telegram.org/bots/api#chatboost

boost_id: str

Unique identifier of the boost

add_date: DateTime

Point in time (Unix timestamp) when the chat was boosted

expiration_date: DateTime

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster’s Telegram Premium subscription is prolonged

source: ChatBoostSourcePremium | ChatBoostSourceGiftCode | ChatBoostSourceGiveaway

Source of the added boost