Skip to main content
interfacePrivateConversation

Implements

Fields

avatarUrls
[String!]!

Avatar image URLs representing the conversation — member avatars for direct messages, the space image for space chats

bookmarkedAt
ISO8601DateTime

When the viewer bookmarked this conversation, or null when it is not bookmarked

id
ID!

ID of the object.

lastChatAt
ISO8601DateTime

When the most recent message was sent

lastMessage

The most recent message in the conversation

lastReadMessage

The most recent message the viewer has read in this conversation

memberCount
Int!

Number of members in the conversation

Messages in this conversation, newest first. System messages (renames, member changes) are excluded unless includeSystemMessages is true.

Arguments
after
String

Returns the elements in the list that come after the specified cursor.

before
String

Returns the elements in the list that come before the specified cursor.

first
Int

Returns the first n elements from the list.

includeSystemMessages
Boolean
default:false

Include system lifecycle messages (renames, member adds and removes). Defaults to false.

last
Int

Returns the last n elements from the list.

muted
Boolean!

Whether the viewer has muted notifications for this conversation

participants
[User!]

Members of the conversation

title
String

Display title — the group name or member names for direct messages, the space title for space chats, or a preview of the parent message for threads

unreadCount
Int!

Number of messages the viewer has not read in this conversation

Possible types