MadelineProtoDocs/docs/API_docs/constructors/botCommandScopeChatAdmins.md

25 lines
668 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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'];
```