telegram-cli 中有 "terminate all other sessions" 的命令吗?

is there any command to "terminate all other sessions" in telegram-cli?

我需要一个脚本来在 python 中每次(或每秒)检测到我的帐户有新登录时终止所有其他会话。 在 telegram-cli 中是否有 "terminate all other sessions" 的命令?

您需要其他会话的 session_id:

destroy_session#e7512126 session_id:long = DestroySessionRes;The expected 

回复是:

destroy_session_ok#e22045fc session_id:long = DestroySessionRes;

destroy_session_none#62d350c9 session_id:long = DestroySessionRes;