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 identifier
  • user_id - Identifier of the user that sent the request
  • approve - Pass true to approve the request; pass false to decline it
  • client_id - The client id to send the request to