Interface CreatePrivateChat

Returns an existing chat corresponding to a given user. Request type for Tdjson#createPrivateChat.

interface CreatePrivateChat {
    @type: "createPrivateChat";
    force?: boolean;
    user_id: number;
}

Properties

Properties

@type: "createPrivateChat"
force?: boolean

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.

user_id: number

User identifier.