Hide navigation sidebar
Hide table of contents sidebar
PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki.
Back to top
Toggle table of contents sidebar

# ChatMemberOwner

class telegram.ChatMemberOwner(user, is_anonymous, custom_title=None, *, api_kwargs=None)

  Bases: `telegram.ChatMember`

  Represents a chat member that owns the chat and has all administrator privileges.

  Available In

  - `telegram.ChatMemberUpdated.new_chat_member`

  - `telegram.ChatMemberUpdated.old_chat_member`

  Returned In

  `telegram.Bot.get_chat_member()`

  New in version 13.7.

  Parameters:

    - user (`telegram.User`) – Information about the user.

    - is_anonymous (`bool`) – `True`, if the user’s presence in the chat is hidden.

    - custom_title (`str`, optional) – Custom title for this user.

  status

    The member’s status in the chat, always `'creator'`.

    Type:

      `str`

  user

    Information about the user.

    Type:

      `telegram.User`

  is_anonymous

    `True`, if the user’s presence in the chat is hidden.

    Type:

      `bool`

  custom_title

    Optional. Custom title for this user.

    Type:

      `str`