GetNotifications

@Serializable
data class GetNotifications(val from: String? = null, val limit: Long? = null, val only: String? = null, val asUserId: UserId? = null) : MatrixEndpoint<Unit, GetNotifications.Response>

See also

Constructors

Link copied to clipboard
fun GetNotifications(from: String? = null, limit: Long? = null, only: String? = null, asUserId: UserId? = null)

Types

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

Functions

Link copied to clipboard
open fun requestSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<Unit>?
Link copied to clipboard
open fun responseSerializerBuilder(mappings: EventContentSerializerMappings, json: Json): KSerializer<GetNotifications.Response>?

Properties

Link copied to clipboard
val asUserId: UserId? = null
Link copied to clipboard
val from: String? = null
Link copied to clipboard
val limit: Long? = null
Link copied to clipboard
val only: String? = null
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?