Marketplace API / Types

ChatMessageViewerState

Object

The authenticated user's relationship to a chat message.

type ChatMessageViewerState

Fields

FieldTypeDescription
canBanAuthorBoolean!
Whether the caller can ban the author: the caller holds the MODERATOR role or higher and ranks above the author. False for the caller's own messages and for direct messages.
canDeleteBoolean!
Whether the caller can delete this message: the caller is the author, or holds chat moderation rights and ranks above the author. A direct message is deletable by its author only.
isUnreadBoolean!
True when another user posted this message after the caller's read position in its channel or conversation.
reactions[Reaction!]!
The emoji the caller put on this message. Empty when the message is deleted.

Returned by