Skip to main content

ChatInfo

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

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:2702
commentsCount?numberThe number of its comments.js-api/src/dapi.ts:2706
entities?object[]The entities it is attached to.js-api/src/dapi.ts:2700
firstTimestamp?stringWhen its first comment was posted, ISO 8601.js-api/src/dapi.ts:2710
friendlyName?stringIts name.js-api/src/dapi.ts:2696
idstringThe chat's id.js-api/src/dapi.ts:2694
isWatched?booleanWhether the current user watches it.js-api/src/dapi.ts:2714
lastTimestamp?stringWhen its last comment was posted, ISO 8601.js-api/src/dapi.ts:2712
participants?ChatUser[]The users who have posted to it.js-api/src/dapi.ts:2704
private?booleanWhether it is a private conversation of a group.js-api/src/dapi.ts:2698
unreadCommentsCount?numberThe number of its comments the current user has not read.js-api/src/dapi.ts:2708