UpdateBotChatBoost

class pyrogram.raw.types.UpdateBotChatBoost

A channel/supergroup boost has changed (bots only)

Constructor of Update.

Details:
  • Layer: 223

  • ID: 904DD49C

Parameters:
  • peer (Peer) – Channel

  • boost (Boost) – New boost information

  • qts (int 32-bit) – QTS event sequence identifier

TL Schema

updateBotChatBoost#904dd49c
peer:Peer
boost:Boost
qts:int

= Update

Parameter Tree

UpdateBotChatBoost
├── peerPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── boostBoost
│ └── Boost
│ ├── gifttrue (optional)
│ ├── giveawaytrue (optional)
│ ├── unclaimedtrue (optional)
│ ├── idstring
│ ├── user_idlong (optional)
│ ├── giveaway_msg_idint (optional)
│ ├── dateint
│ ├── expiresint
│ ├── used_gift_slugstring (optional)
│ ├── multiplierint (optional)
│ └── starslong (optional)
└── qtsint

Example

UpdateBotChatBoost(
    peer=PeerUser(user_id=0),
    boost=Boost(
        id="text",
        date=0,
        expires=0
    ),
    qts=0,
)