Skip to main content

ChatMessageReaction

A type representing a message reaction. ChatMessageReaction is an immutable snapshot of a message reaction entity at the given time.

public struct ChatMessageReaction: Hashable 

Inheritance

Hashable

Properties

type

The reaction type.

public let type: MessageReactionType

score

The reaction score.

public let score: Int

createdAt

The date the reaction was created.

public let createdAt: Date

updatedAt

The date the reaction was last updated.

public let updatedAt: Date

extraData

Custom data

public let extraData: [String: RawJSON]

author

The author.

public let author: ChatUser

Did you find this page helpful?