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
For example, the Dart language has an on() method that allows you to work with events. This is very convenient, because I need not to be tied to a channel. Is there any alternative in package for python?
Dart example:
client.on().listen((event) => {
if (event.totalUnreadCount != null) {
print('unread messages count is now: ${event.totalUnreadCount}');
}
if (event.unreadChannels !== null) {
print('unread channels count is now: ${event.unreadChannels}');
}
});
The text was updated successfully, but these errors were encountered:
For example, the Dart language has an on() method that allows you to work with events. This is very convenient, because I need not to be tied to a channel. Is there any alternative in package for python?
Dart example:
The text was updated successfully, but these errors were encountered: