ChatBoostRemoved¶
Added in version 20.8.
- class telegram.ChatBoostRemoved(chat, boost_id, remove_date, source, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object represents a boost removed from a chat.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
chat,boost_id,remove_date, andsourceare equal.Available In
- Parameters:
chat (
telegram.Chat) – Chat which was boosted.boost_id (
str) – Unique identifier of the boost.remove_date (
datetime.datetime) – Point in time when the boost was removed.source (
telegram.ChatBoostSource) – Source of the removed boost.
- remove_date[source]¶
Point in time when the boost was removed. The default timezone of the bot is used for localization, which is UTC unless
telegram.ext.Defaults.tzinfois used.- Type:
datetime.datetime