NotificationsApi

Receive notifications for activity on the account or statuses.

See also

Functions

Link copied to clipboard
abstract suspend fun dismissAllNotifications()

Clears all notifications for the account.

Link copied to clipboard
abstract suspend fun dismissNotification(notificationId: String)

Clears a single notification.

Link copied to clipboard
abstract suspend fun getNotification(notificationId: String): Notification?

Gets information about a notification.

Link copied to clipboard
abstract suspend fun getNotifications(excludeTypes: List<NotificationType>? = null, accountId: String? = null, limit: Int? = null, pageInfo: PageInfo? = null): Page<List<Notification>>

Gets notifications concerning the account.