messages.InvitedUsers#

class pyrogram.raw.types.messages.InvitedUsers#

Contains info about successfully or unsuccessfully invited » users.

Constructor of InvitedUsers.

Details:
  • Layer: 187

  • ID: 7F5DEFA6

Parameters:
  • updates (Updates) – List of updates about successfully invited users (and eventually info about the created group)

  • missing_invitees (List of MissingInvitee) – A list of users that could not be invited, along with the reason why they couldn’t be invited.

Functions:

This object can be returned by 3 functions.

messages.AddChatUser

Adds a user to a chat and sends a service message on it.

messages.CreateChat

Creates a new chat.

channels.InviteToChannel

Invite users to a channel/supergroup