create_private_chat


Description:

public async Chat create_private_chat (int64 user_id, bool force) throws TDLibError

Returns an existing chat corresponding to a given user

Parameters:

user_id

User identifier

force

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 incorrect