Skip to content

UpdateNotificationGroup

Update · TDLib 1.8.67 · d1085f9c

A list of active notifications in a notification group has changed

UpdateNotificationGroup(
  notification_group_id: int32,
  type: NotificationGroupType,
  chat_id: int53,
  notification_settings_chat_id: int53,
  notification_sound_id: int64,
  total_count: int32,
  added_notifications: list of Notification,
  removed_notification_ids: list of int32
) → Update

notification_group_id

int32

Unique notification group identifier

type

NotificationGroupType

New type of the notification group

chat_id

int53

Identifier of a chat to which all notifications in the group belong

notification_settings_chat_id

int53

Chat identifier, which notification settings must be applied to the added notifications

notification_sound_id

int64

Identifier of the notification sound to be played; 0 if sound is disabled

total_count

int32

Total number of unread notifications in the group, can be bigger than number of active notifications

added_notifications

list of Notification

List of added group notifications, sorted by notification identifier

removed_notification_ids

list of int32

Identifiers of removed group notifications, sorted by notification identifier