The specified bot commands will be valid only for a specific user in the specified group or supergroup.
botCommandScopePeerUser#a1321f3 peer:InputPeer user_id:InputUser = BotCommandScope;
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | The chat |
| user_id | InputUser | The user |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.