Interface ToggleSessionCanAcceptCalls

Toggles whether a session can accept incoming calls. Request type for Tdjson#toggleSessionCanAcceptCalls.

interface ToggleSessionCanAcceptCalls {
    @type: "toggleSessionCanAcceptCalls";
    can_accept_calls?: boolean;
    session_id: string;
}

Properties

@type: "toggleSessionCanAcceptCalls"
can_accept_calls?: boolean

Pass true to allow accepting incoming calls by the session; pass false otherwise.

session_id: string

Session identifier.