ChatBoost#

class aiogram.types.chat_boost.ChatBoost(*, boost_id: str, add_date: datetime, expiration_date: datetime, 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