PushMessage

@Immutable
data class PushMessage(val messageId: String, val channelId: String, val channelType: String, val getstream: Map<String, Any?>, val extraData: Map<String, Any?>, val metadata: Map<String, Any?>)

Model holding data for a push message.

Parameters

messageId

The id of the message.

channelId

The id of the channel.

channelType

The type of the channel.

getstream

Custom 'Stream' data.

extraData

Custom extra (not pre-reserved) data.

metadata

Notification metadata.

Constructors

Link copied to clipboard
constructor(messageId: String, channelId: String, channelType: String, getstream: Map<String, Any?>, extraData: Map<String, Any?>, metadata: Map<String, Any?>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?

Returns the type of the push message (if present).