TDLib v0.0.2 TDLib.Method.CreatePrivateChat View Source

Returns an existing chat corresponding to a given user. Returns object_ptr.

NameTypeDescription
user_idnumberUser identifier.
forceboolIf true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect.

More details on telegram’s documentation.