Constructor: chatInviteExported
Exported chat invite
Attributes:
Name | Type | Required | Description |
---|---|---|---|
revoked | Bool | Optional | Whether this chat invite was revoked |
permanent | Bool | Optional | Whether this chat invite has no expiration |
request_needed | Bool | Optional | Whether users importing this invite link will have to be approved to join the channel or group |
link | string | Yes | Chat invitation link |
admin_id | long | Yes | ID of the admin that created this chat invite |
date | int | Yes | When was this chat invite created |
start_date | int | Optional | When was this chat invite last modified |
expire_date | int | Optional | When does this chat invite expire |
usage_limit | int | Optional | Maximum number of users that can join using this link |
usage | int | Optional | How many users joined using this link |
requested | int | Optional | Number of users that have already used this link to join |
subscription_expired | int | Optional | |
title | string | Optional | Custom description for the invite link, visible only to admins |
subscription_pricing | StarsSubscriptionPricing | Optional |
Type: ExportedChatInvite
Example:
$chatInviteExported = ['_' => 'chatInviteExported', 'revoked' => Bool, 'permanent' => Bool, 'request_needed' => Bool, 'link' => 'string', 'admin_id' => long, 'date' => int, 'start_date' => int, 'expire_date' => int, 'usage_limit' => int, 'usage' => int, 'requested' => int, 'subscription_expired' => int, 'title' => 'string', 'subscription_pricing' => StarsSubscriptionPricing];