mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
25 lines
668 B
Markdown
25 lines
668 B
Markdown
|
---
|
||
|
title: "botCommandScopeChatAdmins"
|
||
|
description: "The specified bot commands will be valid only for chat administrators, in all groups and supergroups."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: botCommandScopeChatAdmins
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
The specified bot commands will be valid only for chat administrators, in all [groups and supergroups](https://core.telegram.org/api/channel).
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [BotCommandScope](/API_docs/types/BotCommandScope.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$botCommandScopeChatAdmins = ['_' => 'botCommandScopeChatAdmins'];
|
||
|
```
|