Raw.ChatInviteExported

Raw.ChatInviteExported

Exported chat invite

chatInviteExported#ab4a819 flags:# revoked:flags.0?true permanent:flags.5?true request_needed:flags.6?true link:string admin_id:long date:int start_date:flags.4?int expire_date:flags.1?int usage_limit:flags.2?int usage:flags.3?int requested:flags.7?int title:flags.8?string = ExportedChatInvite;
export namespace Raw {
  export class ChatInviteExported {
    constructor(params: {
      revoked?: boolean;
      permanent?: boolean;
      requestNeeded?: boolean;
      link: string;
      adminId: bigint;
      date: number;
      startDate?: number;
      expireDate?: number;
      usageLimit?: number;
      usage?: number;
      requested?: number;
      title?: string;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xab4a819

Property

  • revoked : boolean or undefined

    Whether this chat invite was revoked

  • permanent : boolean or undefined

    Whether this chat invite has no expiration

  • requestNeeded : boolean or undefined

    Whether users importing this invite link will have to be approved to join the channel or group

  • link : string

    Chat invitation link

  • adminId : bigint

    Id of the admin that created this chat invite

  • date : number

    When was this chat invite created

  • startDate : number or undefined

    When was this chat invite last modified

  • expireDate : number or undefined

    When does this chat invite expire

  • usageLimit : number or undefined

    Maximum number of users that can join using this link

  • usage : number or undefined

    How many users joined using this link

  • requested : number or undefined

    Number of users that have already used this link to join

  • title : string or undefined

    Custom description for the invite link, visible only to admins