teamChatMarkAsRead
Advance the caller’s read cursor for a chat, clearing its unread count.
Omit lastReadMessageId to mark the chat read up to its latest message.
Auth · x-app-token · authenticated
Related: teamChatUnreadCount, TeamChatMember
MUTATION
teamChatMarkAsRead(teamChatId: String!, lastReadMessageId: String): TeamChatMemberArguments
teamChatId
String!
required
Team chat id to mark read.
lastReadMessageId
String
Message id to mark read up to. Omit to use the chat's latest message.
Returns
_id
String!
teamChatId
String!
userId
String!
lastReadAt
Date
lastReadMessageId
String
unreadCount
Int!
isMuted
Boolean!
isPinned
Boolean!
role
String!
joinedAt
Date!
followedThreadIds
[String]
user
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦