Bot API method
setManagedBotAccessSettings
3 parameters. Required ones are marked.
Parameters
ParameterTypeRequired
user_idIntegeryes
is_access_restrictedBooleanyes
added_user_idsArray of Integerno
Related methods
Computed from shared parameters — the source has no such view.
The method description lives with Telegram: source · full reference