toggle_session_can_accept_secret_chats


Description:

public async Ok toggle_session_can_accept_secret_chats (int64 session_id, bool can_accept_secret_chats) throws TDLibError

Toggles whether a session can accept incoming secret chats

Parameters:

session_id

Session identifier

can_accept_secret_chats

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