Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GetNotifications

Read or dismiss notifications.

Input

dismissallboolSet to 1 to dismiss all notification.
unreadcountboolSet to 1 to just read the number of unread notifications
markasreadcollection[number]List of notification IDs to be marked as 'read'

Output

numunreadnumberNumber of unread notifications
latest_notiidnumberThe ID of the latest notification
unreadcollection[ notification ]List of unread notifications