Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# ChatBoostRemoved

Added in version 20.8.

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

  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.

  Available In

  `telegram.Update.removed_chat_boost`

  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.

  chat

    Chat which was boosted.

    Type:

      `telegram.Chat`

  boost_id

    Unique identifier of the boost.

    Type:

      `str`

  remove_date

    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 of the removed boost.

    Type:

      `telegram.ChatBoostSource`

  classmethod de_json(data, bot=None)

    See `telegram.TelegramObject.de_json()`.