Hide navigation sidebar
Hide table of contents sidebar
PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki.
Back to top
Toggle table of contents sidebar

# ChatBoostUpdated

New in version 20.8.

class telegram.ChatBoostUpdated(chat, boost, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  This object represents a boost added to a chat or changed.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `chat`, and `boost` are equal.

  Available In

  `telegram.Update.chat_boost`

  New in version 20.8.

  Parameters:

    - chat (`telegram.Chat`) – Chat which was boosted.

    - boost (`telegram.ChatBoost`) – Information about the chat boost.

  chat

    Chat which was boosted.

    Type:

      `telegram.Chat`

  boost

    Information about the chat boost.

    Type:

      `telegram.ChatBoost`

  classmethod de_json(data, bot)

    See `telegram.TelegramObject.de_json()`.