View Source ExTDLib.Method.ToggleSessionCanAcceptCalls (ExTDLib v0.0.4)
Toggles whether a session can accept incoming calls. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| session_id | string | Session identifier. |
| can_accept_calls | bool | Pass true to allow accepting incoming calls by the session; pass false otherwise. |
More details on telegram's documentation.