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 »
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, 'user_id' => long, 'date' => int, 'about' => 'string', 'approved_by' => long];