Interface ToggleSessionCanAcceptSecretChats

Toggles whether a session can accept incoming secret chats. Request type for Tdjson#toggleSessionCanAcceptSecretChats.

interface ToggleSessionCanAcceptSecretChats {
    @type: "toggleSessionCanAcceptSecretChats";
    can_accept_secret_chats?: boolean;
    session_id: string;
}

Properties

@type: "toggleSessionCanAcceptSecretChats"
can_accept_secret_chats?: boolean

Pass true to allow accepting secret chats by the session; pass false otherwise.

session_id: string

Session identifier.