Notification commands

Notification commands

GetNotifications

Read or dismiss notifications.

Input

dismissall

bool

Set to 1 to dismiss all notification.

unreadcount

bool

Set to 1 to just read the number of unread notifications

markasread

collection[number]

List of notification IDs to be marked as 'read'

Output

numunread

number

Number of unread notifications

latest_notiid

number

The ID of the latest notification

unread

collection[ notification ]

List of unread notifications