NotificationService

class NotificationService(client: <Error class: unknown class>)

Constructors

Link copied to clipboard
constructor(client: <Error class: unknown class>)

Functions

Link copied to clipboard
suspend fun getUnreadCount(request: GetUnreadCountRequest = GetUnreadCountRequest()): GetUnreadCountResponse

Count the number of unread notifications for the requesting account. Requires auth.

Link copied to clipboard
suspend fun listNotifications(request: ListNotificationsRequest = ListNotificationsRequest()): ListNotificationsResponse

Enumerate notifications for the requesting account. Requires auth.

Link copied to clipboard
fun NotificationService.listNotificationsFlow(request: ListNotificationsRequest = ListNotificationsRequest()): <Error class: unknown class><ListNotificationsNotification>

Enumerate notifications for the requesting account. Requires auth.

Link copied to clipboard
fun NotificationService.listNotificationsPageFlow(request: ListNotificationsRequest = ListNotificationsRequest()): <Error class: unknown class><List<ListNotificationsNotification>>

Enumerate notifications for the requesting account. Requires auth.

Link copied to clipboard
suspend fun updateSeen(request: UpdateSeenRequest)

Notify server that the requesting account has seen notifications. Requires auth.