libtd-ktx / kotlinx.telegram.flows / activeNotificationsFlow
activeNotificationsFlow
fun
TelegramFlow
.activeNotificationsFlow(): Flow<
Array
<
NotificationGroup
>>
emits groups [NotificationGroup[]] if contains active notifications that was shown on previous application launches. This update is sent only if the message database is used. In that case it comes once before any updateNotification and updateNotificationGroup update.