MadelineProtoDocs/docs/API_docs/constructors/chatInviteImporter.md
2024-05-01 14:53:46 +02:00

1.5 KiB

title description nav_exclude image
chatInviteImporter When and which user joined the chat using a chat invite true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatInviteImporter

Back to constructors index

When and which user joined the chat using a chat invite

Attributes:

Name Type Required Description
requested Bool Optional Whether this user currently has a pending join request »
via_chatlist Bool Optional The participant joined by importing a chat folder deep link ».
user_id long Yes The user
date int Yes When did the user join
about string Optional For users with pending requests, contains bio of the user that requested to join
approved_by long Optional The administrator that approved the join request » of the user

Type: ChatInviteImporter

Example:

$chatInviteImporter = ['_' => 'chatInviteImporter', 'requested' => Bool, 'via_chatlist' => Bool, 'user_id' => long, 'date' => int, 'about' => 'string', 'approved_by' => long];