Function process_chat_join_request

Source
pub async fn process_chat_join_request(
    chat_id: i64,
    user_id: i64,
    approve: bool,
    client_id: i32,
) -> Result<(), 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