Skip to content

createPrivateChat

Function · TDLib 1.8.67 · d1085f9c

Returns an existing chat corresponding to a given user

createPrivateChat(
  user_id: int53,
  force: Bool
) → Chat

user_id

int53

User identifier

force

Bool

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