Function tdlib::functions::process_chat_join_request
source · [−]pub async fn process_chat_join_request(
chat_id: i64,
user_id: i64,
approve: bool,
client_id: i32
) -> Result<Ok, Error>
Expand description
Handles a pending join request in a chat
Arguments
chat_id
- Chat identifieruser_id
- Identifier of the user that sent the requestapprove
- Pass true to approve the request; pass false to decline itclient_id
- The client id to send the request to