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

# VideoChatParticipantsInvited

class telegram.VideoChatParticipantsInvited(users, *, api_kwargs=None)

  Bases: `telegram.TelegramObject`

  This object represents a service message about new members invited to a video chat.

  Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their `users` are equal.

  Available In

  `telegram.Message.video_chat_participants_invited`

  New in version 13.4.

  Changed in version 20.0: This class was renamed from `VoiceChatParticipantsInvited` in accordance to Bot API 6.0.

  Parameters:

    users (Sequence[`telegram.User`]) –

    New members that were invited to the video chat.

    Changed in version 20.0: Accepts any `collections.abc.Sequence` as input instead of just a list. The input is converted to a tuple.

  users

    New members that were invited to the video chat.

    Changed in version 20.0: This attribute is now an immutable tuple.

    Type:

      Tuple[`telegram.User`]

  classmethod de_json(data, bot)

    See `telegram.TelegramObject.de_json()`.