mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
2.0 KiB
2.0 KiB
title | description | nav_exclude | image |
---|---|---|---|
chatInviteExported | Exported chat invite | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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 |
title | string | Optional | Custom description for the invite link, visible only to admins |
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, 'title' => 'string'];