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

1.0 KiB

title description nav_exclude image
updatePendingJoinRequests Someone has requested to join a chat or channel true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updatePendingJoinRequests

Back to constructors index

Someone has requested to join a chat or channel

Attributes:

Name Type Required Description
peer long Yes Chat or channel
requests_pending int Yes Number of pending join requests » for the chat or channel
recent_requesters Array of long Yes IDs of users that have recently requested to join

Type: Update

Example:

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