FailedToAddMember

class pyrogram.types.FailedToAddMember

Contains information about a user that has failed to be added to a chat.

Parameters:
  • user_id (int) – User identifier.

  • premium_would_allow_invite (bool, optional) – True, if subscription to Telegram Premium would have allowed to add the user to the chat.

  • premium_required_to_send_messages (bool, optional) – True, if subscription to Telegram Premium is required to send the user chat invite link.