Admin API / Types

ChatMessageWhereInput

Input

Filters for a chat message list. Fields combine with AND. A list matches any of its values. An omitted field or an empty list matches every message.

input ChatMessageWhereInput

Input fields

FieldTypeDescription
authorIds[ID!]Messages by these authors.
chatChannelIds[ID!]Messages in these channels. A channel the caller cannot read matches nothing.
createdAtDateTimeRangeInputWhen the message was posted.
type[ChatMessageType!]The kind of message. Channel messages are USER messages, so SOCIAL and SYSTEM match nothing.