Raw.ChatInviteImporter

Raw.ChatInviteImporter

When and which user joined the chat using a chat invite

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;
export namespace Raw {
  export class ChatInviteImporter {
    constructor(params: {
      requested?: boolean;
      viaChatlist?: boolean;
      userId: bigint;
      date: number;
      about?: string;
      approvedBy?: bigint;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x8c5adfd9

Property

  • requested : boolean or undefined

    Whether this user currently has a pending join request

  • viaChatlist : boolean or undefined

    The participant joined by importing a chat folder deep link.

  • userId : bigint

    The user

  • date : number

    When did the user join

  • about : string or undefined

    For users with pending requests, contains bio of the user that requested to join

  • approvedBy : bigint or undefined

    The administrator that approved the join request of the user