Skip to main content

ChatInfo

Defined in: js-api/src/dapi.ts:2693

A chat: a discussion attached to entities (visible to whoever can view one of them), or a private conversation of a group.

Properties​

PropertyTypeDescriptionDefined in
author?ChatUserThe user who started it.js-api/src/dapi.ts:2703
commentsCount?numberThe number of its comments.js-api/src/dapi.ts:2707
entities?object[]The entities it is attached to.js-api/src/dapi.ts:2701
firstTimestamp?stringWhen its first comment was posted, ISO 8601.js-api/src/dapi.ts:2711
friendlyName?stringIts name.js-api/src/dapi.ts:2697
idstringThe chat's id.js-api/src/dapi.ts:2695
isWatched?booleanWhether the current user watches it.js-api/src/dapi.ts:2715
lastTimestamp?stringWhen its last comment was posted, ISO 8601.js-api/src/dapi.ts:2713
participants?ChatUser[]The users who have posted to it.js-api/src/dapi.ts:2705
private?booleanWhether it is a private conversation of a group.js-api/src/dapi.ts:2699
unreadCommentsCount?numberThe number of its comments the current user has not read.js-api/src/dapi.ts:2709