Link Search Menu Expand Document

Constructor: chatInviteImporter

Back to constructors index

When and which user joined the chat using a chat invite

Attributes:

NameTypeRequiredDescription
requestedBoolOptionalWhether this user currently has a pending join request »
via_chatlistBoolOptionalThe participant joined by importing a chat folder deep link ».
user_idlongYesThe user
dateintYesWhen did the user join
aboutstringOptionalFor users with pending requests, contains bio of the user that requested to join
approved_bylongOptionalThe 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];