UpdateBotChatBoost

class pyrogram.raw.types.UpdateBotChatBoost

A channel/supergroup boost has changed (bots only)

Constructor of Update.

Details:
  • Layer: 227

  • 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
├── peer → Peer
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── boost → Boost
│ └── Boost
│ ├── gift → true (optional)
│ ├── giveaway → true (optional)
│ ├── unclaimed → true (optional)
│ ├── id → string
│ ├── user_id → long (optional)
│ ├── giveaway_msg_id → int (optional)
│ ├── date → int
│ ├── expires → int
│ ├── used_gift_slug → string (optional)
│ ├── multiplier → int (optional)
│ └── stars → long (optional)
└── qts → int

Example

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