botAdministratorRights property

ChatAdministratorRights? botAdministratorRights
final

Optional. A JSON-serialized object listing the required administrator rights of the bot in the chat. The rights must be a subset of user_administrator_rights. If not specified, no additional restrictions are applied.

Implementation

final ChatAdministratorRights? botAdministratorRights;