Get conversation read state

conversationReadState(conversationId: ID!): ConversationReadState!

Arguments

ArgumentTypeRequired
conversationIdID!Yes

Response

Returns ConversationReadState!. Open the type for its fields and nested types.

FieldType
conversationIdID!
lastReadMessageIdID
unreadCountInt!

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
query ConversationReadState($conversationId: ID!) {
  conversationReadState(conversationId: $conversationId) {
    conversationId
    lastReadMessageId
    unreadCount
  }
}
json
{
  "conversationId": "00000000-0000-4000-8000-000000000001"
}