Skip to content
Back to top
View this page

# BotCommandScopeAllGroupChats

class telegram.BotCommandScopeAllGroupChats(*, api_kwargs=None)

  Bases: `telegram.BotCommandScope`

  Represents the scope of bot commands, covering all group and supergroup chats.

  Use In

  - `telegram.Bot.delete_my_commands()`

  - `telegram.Bot.get_my_commands()`

  - `telegram.Bot.set_my_commands()`

  Added in version 13.7.

  type

    Scope type `'all_group_chats'`.

    Type:

      `str`