botCommandScopePeerUser

The specified bot commands will be valid only for a specific user in the specified group or supergroup.

Constructor schema is available as of layer 129. Switch ยป

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.