OBJECT

WhisperThread

A conversation between two users.

link GraphQL Schema definition

1type WhisperThread {
2
3# ID of the whisper thread.
4id: ID!
5
6# Whether the thread has been archived.
7isArchived: Boolean!
8
9# Whether the user has muted the thread.
10isMuted: Boolean!
11
12# The last message sent in this thread. Null if no messages in this thread.
13lastMessage: WhisperMessage
14
15# List of messages in the thread.
16messages(first: Int, after: Cursor): WhisperMessageConnection
17
18# List of users in the thread.
19participants: [User]!
20
21# Spam data about the thread.
22spamInfo: WhisperSpamInfo
23
24# Number of whispers that have not been read by the user in the thread.
25unreadMessagesCount: Int!
26
27# Last message read by the user in the thread.
28userLastMessageRead: WhisperMessage @deprecated( reason: "Not used. Use lastMessage to get the last message. " )
29
30# Timestamp of when the other participant may message the user in the thread.
31whitelistedUntil: Time
32
33}