Method: messages.getChatInviteImporters
Get info about the users that joined the chat using a specific chat invite
Parameters:
Name | Type | Description | Required |
---|---|---|---|
requested | Bool | If set, only returns info about users with pending join requests » | Optional |
subscription_expired | Bool | Optional | |
peer | Username, chat ID, Update, Message or InputPeer | Chat | Optional |
link | string | Invite link | Optional |
q | string | Search for a user in the pending join requests » list: only available when the requested flag is set, cannot be used together with a specific link . | Optional |
offset_date | int | Offsets for pagination, for more info click here | Optional |
offset_user | Username, chat ID, Update, Message or InputUser | User ID for pagination: if set, offset_date must also be set. | Optional |
limit | int | Maximum number of results to return, see pagination | Optional |
Return type: messages.ChatInviteImporters
Can bots use this method: NO
MadelineProto Example (now async for huge speed and parallelism!):
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$messages_ChatInviteImporters = $MadelineProto->messages->getChatInviteImporters(requested: $Bool, subscription_expired: $Bool, peer: $InputPeer, link: 'string', q: 'string', offset_date: $int, offset_user: $InputUser, limit: $int, );