itd-api / ChatSummary
Interface: ChatSummary
Defined in: models/chats.ts:16
Сводка чата. Тип 0 обозначает личный диалог.
Properties
avatar?
ts
optional avatar?: string | null;Defined in: models/chats.ts:20
chatId
ts
chatId: string;Defined in: models/chats.ts:17
chatType
ts
chatType: number;Defined in: models/chats.ts:18
isMuted?
ts
optional isMuted?: boolean;Defined in: models/chats.ts:29
isPinned?
ts
optional isPinned?: boolean;Defined in: models/chats.ts:28
isRequest?
ts
optional isRequest?: boolean;Defined in: models/chats.ts:27
lastMessage?
ts
optional lastMessage?: ChatPreview | null;Defined in: models/chats.ts:30
markedUnread?
ts
optional markedUnread?: boolean;Defined in: models/chats.ts:26
myReadMessageId?
ts
optional myReadMessageId?: string | null;Defined in: models/chats.ts:24
otherReadMessageId?
ts
optional otherReadMessageId?: string | null;Defined in: models/chats.ts:23
otherUserDeleted?
ts
optional otherUserDeleted?: boolean;Defined in: models/chats.ts:22
otherUserId?
ts
optional otherUserId?: string | null;Defined in: models/chats.ts:21
title?
ts
optional title?: string | null;Defined in: models/chats.ts:19
unreadCount
ts
unreadCount: number;Defined in: models/chats.ts:25