peyk.platforms.telegram.methods.get_managed_bot_access_settings

async peyk.platforms.telegram.methods.get_managed_bot_access_settings(self, user_id: int | None = None, *, chat_id: int | None = None) BotAccessSettings

Use this method to get the access settings of a managed bot. Returns a BotAccessSettings object on success.

Parameters:
  • user_id – User identifier of the managed bot whose access settings will be returned

  • chat_id – Value accepted by this operation.

Returns:

Result returned by Telegram on successful execution.

Return type:

BotAccessSettings