Admin API / Queries

chatMessage

Finds a chat message by ID. A deleted message returns as a tombstone with text null. Null when the caller sees no message with this ID: another store, a channel the caller cannot read, a livestream that is not visible to the caller, a message past retention, a message by another member when the caller has no moderation rights, or a direct message when the client lacks admin:chat:read or the conversation is not in directConversation.

Requires a client key with one of these scopes: admin:chat:read admin:moderation:readRequires this member role or higher: SELLER
chatMessage(
  id: ID!
): ChatMessage

Arguments

ArgumentTypeDescription
idID!The ID of the message.

Return type

ChatMessage