ChatBoostRemoved

Added in version 20.8.

class telegram.ChatBoostRemoved(chat, boost_id, remove_date, source, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This 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, and source are equal.

Parameters:
chat[source]

Chat which was boosted.

Type:

telegram.Chat

boost_id[source]

Unique identifier of the boost.

Type:

str

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.tzinfo is used.

Type:

datetime.datetime

source[source]

Source of the removed boost.

Type:

telegram.ChatBoostSource

classmethod de_json(data, bot)[source]

See telegram.TelegramObject.de_json().