ReactionType

@Serializable
sealed class ReactionType

This object describes the type of a reaction. Currently, it can be one of

  • ReactionTypeEmoji

  • ReactionTypeCustomEmoji

  • ReactionTypePaid

Api reference

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "custom_emoji")
data class CustomEmoji(val customEmojiId: String) : ReactionType
Link copied to clipboard
@Serializable
@SerialName(value = "emoji")
data class Emoji(val emoji: EmojiType) : ReactionType
Link copied to clipboard
@Serializable
@SerialName(value = "paid")
class Paid : ReactionType

Properties

Link copied to clipboard