toggle_session_can_accept_calls


Description:

public async Ok toggle_session_can_accept_calls (int64 session_id, bool can_accept_calls) throws TDLibError

Toggles whether a session can accept incoming calls

Parameters:

session_id

Session identifier

can_accept_calls

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