Interface NotificationGroup

Describes a group of notifications.

interface NotificationGroup {
    @type: "notificationGroup";
    chat_id: number;
    id: number;
    notifications: Notification[];
    total_count: number;
    type: NotificationGroupType;
}

Properties

@type: "notificationGroup"
chat_id: number

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

id: number

Unique persistent auto-incremented from 1 identifier of the notification group.

notifications: Notification[]

The list of active notifications.

total_count: number

Total number of active notifications in the group.

Type of the group.