Bot API method
setChatPermissions
3 parameters. Required ones are marked.
Parameters
ParameterTypeRequired
chat_idInteger or Stringyes
permissionsChatPermissionsyes
use_independent_chat_permissionsBooleanno
Related methods
Computed from shared parameters — the source has no such view.
The method description lives with Telegram: source · full reference