Response

@Serializable
data class Response(val nextToken: String? = null, val notifications: List<GetNotifications.Response.Notification>)

Constructors

Link copied to clipboard
constructor(nextToken: String? = null, notifications: List<GetNotifications.Response.Notification>)

Types

Link copied to clipboard
@Serializable
data class Notification(val actions: Set<PushAction>, val event: ClientEvent.RoomEvent<*>, val profileTag: String? = null, val read: Boolean, val roomId: RoomId, val timestamp: Long)

Properties

Link copied to clipboard
@SerialName(value = "next_token")
val nextToken: String?
Link copied to clipboard
@SerialName(value = "notifications")
val notifications: List<GetNotifications.Response.Notification>