ChatInviteExported
- class pyrogram.raw.types.ChatInviteExported
Exported chat invite
Constructor of
ExportedChatInvite.- Details:
Layer:
223ID:
A22CBD96
- Parameters:
link (
str) – Chat invitation linkadmin_id (
int64-bit) – ID of the admin that created this chat invitedate (
int32-bit) – When was this chat invite createdrevoked (
bool, optional) – Whether this chat invite was revokedpermanent (
bool, optional) – Whether this chat invite has no expirationrequest_needed (
bool, optional) – Whether users importing this invite link will have to be approved to join the channel or groupstart_date (
int32-bit, optional) – When was this chat invite last modifiedexpire_date (
int32-bit, optional) – When does this chat invite expireusage_limit (
int32-bit, optional) – Maximum number of users that can join using this linkusage (
int32-bit, optional) – How many users joined using this linkrequested (
int32-bit, optional) – Number of users that have already used this link to joinsubscription_expired (
int32-bit, optional) – 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 (
str, optional) – Custom description for the invite link, visible only to adminssubscription_pricing (
StarsSubscriptionPricing, optional) – For Telegram Star subscriptions », contains the pricing of the subscription the user must activate to join the private channel.
- Functions:
This object can be returned by 1 function.
Export an invite link for a chat
TL Schema
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
Parameter Tree
true (optional)true (optional)true (optional)stringlongintint (optional)int (optional)int (optional)int (optional)int (optional)int (optional)string (optional)StarsSubscriptionPricing (optional)intlongExample
ChatInviteExported(
link="text",
admin_id=0,
date=0,
)