ReactionData

data class ReactionData(val type: String, val user: User, val emoji: String?, val custom: Map<String, Any?>?)

Represents the information about a successfully sent reaction.

Parameters

type

The type of reaction.

user

The User who sent the reaction.

emoji

Code of the emoji, if it exists.

custom

Custom extra data to enrich the reaction.

Constructors

Link copied to clipboard
constructor(type: String, user: User, emoji: String?, custom: Map<String, Any?>?)

Properties

Link copied to clipboard
val custom: Map<String, Any?>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val user: User