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 undefinedWhether this chat invite was revoked
permanent
: boolean or undefinedWhether this chat invite has no expiration
requestNeeded
: boolean or undefinedWhether users importing this invite link will have to be approved to join the channel or group
link
: stringChat invitation link
adminId
: bigintId of the admin that created this chat invite
date
: numberWhen was this chat invite created
startDate
: number or undefinedWhen was this chat invite last modified
expireDate
: number or undefinedWhen does this chat invite expire
usageLimit
: number or undefinedMaximum number of users that can join using this link
usage
: number or undefinedHow many users joined using this link
requested
: number or undefinedNumber of users that have already used this link to join
title
: string or undefinedCustom description for the invite link, visible only to admins