Raw.ChatInviteExported

Raw.ChatInviteExported

Exported chat invite

chatInviteExported#a22cbd96 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 subscription_expired:flags.10?int title:flags.8?string subscription_pricing:flags.9?StarsSubscriptionPricing = 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;
      subscriptionExpired?: number;
      title?: string;
      subscriptionPricing?: Raw.TypeStarsSubscriptionPricing;
    }) {}
  }
}
🚫

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

Layer: 198
Constructor ID: 0xa22cbd96

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

  • subscriptionExpired : number or undefined

    For telegram star subscriptions, contains the number of chat members which have already joined the chat using the link, but have already left due to expiration of their subscription.

  • title : string or undefined

    Custom description for the invite link, visible only to admins

  • subscriptionPricing : Raw.TypeStarsSubscriptionPricing or undefined

    For telegram star subscriptions, contains the pricing of the subscription the user must activate to join the private channel.