Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户离开聊天组并提供用户名时,是否会调用一个事件?
我在活动列表中搜索过,但我找不到它,也许我错过了它。或者我可以通过 OnMessageStatus 事件检查它,并且它有一个特殊的离开枚举?
这可能有效。我不确定它是否只会在通话结束或用户更改时更改。
def OnCall(call, status): global CallStatus CallStatus = status print 'Call status: ' + CallStatusText(status) + f.handle
因此,在呼叫状态发生变化时,它将使用用户名进行更新。