ChatInviteImporter

class pyrogram.raw.types.ChatInviteImporter

When and which user joined the chat using a chat invite

Constructor of ChatInviteImporter.

Details:
  • Layer: 223

  • ID: 8C5ADFD9

Parameters:
  • user_id (int 64-bit) – The user

  • date (int 32-bit) – When did the user join

  • requested (bool, optional) – Whether this user currently has a pending join request »

  • via_chatlist (bool, optional) – The participant joined by importing a chat folder deep link ».

  • about (str, optional) – For users with pending requests, contains bio of the user that requested to join

  • approved_by (int 64-bit, optional) – The administrator that approved the join request » of the user

TL Schema

chatInviteImporter#8c5adfd9
flags:#
requested:flags.0?true
via_chatlist:flags.3?true
user_id:long
date:int
about:flags.2?string
approved_by:flags.1?long

= ChatInviteImporter

Parameter Tree

ChatInviteImporter
├── requestedtrue (optional)
├── via_chatlisttrue (optional)
├── user_idlong
├── dateint
├── aboutstring (optional)
└── approved_bylong (optional)

Example

ChatInviteImporter(
    user_id=0,
    date=0,
)