[Go to site: main page, start]

Machine-readable version of this page: /constructor/botCommandScopePeerUser.md.

botCommandScopePeerUser

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;

Parameters

Name Type Description
peer InputPeer The chat
user_id InputUser The user

Type

BotCommandScope

Related pages

Channels, supergroups, gigagroups and basic groups

How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.