bots.EditAccessSettings¶
- class pyrogram.raw.functions.bots.EditAccessSettings[source]¶
Edit the access restriction settings » of a managed bot; can only be called by the manager bot.
Usable by Users Bots- Details:
Layer:
229ID:
31813CD8
- Parameters:
bot (
InputUser) – The managed bot whose access settings to editrestricted (
bool, optional) – If set, restricts access to the managed bot to only the owner and the users inadd_usersadd_users (List of
InputUser, optional) – Additional users (max 10, excluding the owner) allowed to access the managed bot whenrestrictedis set
- Returns:
bool