pub async fn create_private_chat(
user_id: i64,
force: bool,
client_id: i32,
) -> Result<Chat, Error>
Expand description
Returns an existing chat corresponding to a given user
ยงArguments
user_id
- User identifierforce
- Pass true to create the chat without a network request. In this case all information about the chat except its type, title and photo can be incorrectclient_id
- The client id to send the request to