MadelineProtoDocs/docs/API_docs/constructors/updateBotChatBoost.md

32 lines
911 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
title: "updateBotChatBoost"
description: "A channel boost has changed (bots only)"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateBotChatBoost
[Back to constructors index](/API_docs/constructors/index.html)
A [channel boost](https://core.telegram.org/api/boost) has changed (bots only)
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|peer|[long](/API_docs/types/long.html) | Yes|Channel|
|boost|[Boost](/API_docs/types/Boost.html) | Yes|New boost information|
|qts|[int](/API_docs/types/int.html) | Yes|[QTS](https://core.telegram.org/api/updates) event sequence identifier|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateBotChatBoost = ['_' => 'updateBotChatBoost', 'peer' => long, 'boost' => Boost, 'qts' => int];
```