Link Search Menu Expand Document

Constructor: updatePendingJoinRequests

Back to constructors index

Someone has requested to join a chat or channel

Attributes:

NameTypeRequiredDescription
peerlongYesChat or channel
requests_pendingintYesNumber of pending join requests » for the chat or channel
recent_requestersArray of longYesIDs of users that have recently requested to join

Type: Update

Example:

$updatePendingJoinRequests = ['_' => 'updatePendingJoinRequests', 'peer' => long, 'requests_pending' => int, 'recent_requesters' => [long, long]];