botCommandScopePeerUser
The specified bot commands will be valid only for a specific user in the specified group or supergroup.
type tg.BotCommandScopePeerUser struct { /* ... */ }
Implements BotCommandScope.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Peer | InputPeerClass | yes | The chat |
UserID | InputUserClass | yes | The user |
References
- Official documentation
- Generated Go reference
- TL definition:
botCommandScopePeerUser#a1321f3