GetNotifications

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

See also

Constructors

Link copied to clipboard
constructor(from: String? = null, limit: Long? = null, only: String? = null)

Types

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

Properties

Link copied to clipboard
@SerialName(value = "from")
val from: String?
Link copied to clipboard
@SerialName(value = "limit")
val limit: Long?
Link copied to clipboard
@SerialName(value = "only")
val only: String?
Link copied to clipboard
open val requestContentType: ContentType?
Link copied to clipboard
open val responseContentType: ContentType?

Functions

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