You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pytgcalls.on_update(~filters.chat_update(ChatUpdate.Status.LEFT_GROUP) & filters.chat(1234567890))
64
+
@app.on_update(~filters.chat_update(ChatUpdate.Status.LEFT_GROUP) & filters.chat(1234567890))
65
65
def on_incoming_voice_call(client, update):
66
66
print("Left chat!", update)
67
67
</syntax-highlight>
@@ -74,7 +74,7 @@
74
74
from pytgcalls import filters
75
75
from pytgcalls.types import ChatUpdate
76
76
...
77
-
@pytgcalls.on_update(filters.chat(1234567890) & (filters.chat_update(ChatUpdate.Status.LEFT_GROUP) | filters.chat_update(ChatUpdate.Status.INCOMING_CALL)))
77
+
@app.on_update(filters.chat(1234567890) & (filters.chat_update(ChatUpdate.Status.LEFT_GROUP) | filters.chat_update(ChatUpdate.Status.INCOMING_CALL)))
78
78
def on_incoming_voice_call(client, update):
79
79
print("Incoming voice call or left chat!", update)
0 commit comments