itd-api / ChatMessage
Interface: ChatMessage
Defined in: models/chats.ts:140
Сообщение из истории чата.
Properties
attachments?
ts
optional attachments?: ChatAttachment[];Defined in: models/chats.ts:145
clientMessageId?
ts
optional clientMessageId?: string;Defined in: models/chats.ts:157
createdAt
ts
createdAt: string;Defined in: models/chats.ts:143
editedAt?
ts
optional editedAt?: string | null;Defined in: models/chats.ts:156
entities?
ts
optional entities?: ChatTextEntity[] | null;Defined in: models/chats.ts:149
forwardedFromChatId?
ts
optional forwardedFromChatId?: string | null;Defined in: models/chats.ts:152
forwardedFromMessageId?
ts
optional forwardedFromMessageId?: string | null;Defined in: models/chats.ts:153
forwardedFromName?
ts
optional forwardedFromName?: string | null;Defined in: models/chats.ts:155
forwardedFromSenderId?
ts
optional forwardedFromSenderId?: string | null;Defined in: models/chats.ts:154
isDeleted?
ts
optional isDeleted?: boolean;Defined in: models/chats.ts:150
messageId
ts
messageId: string;Defined in: models/chats.ts:141
reactions?
ts
optional reactions?: ChatReactionCount[];Defined in: models/chats.ts:146
reactionVersion?
ts
optional reactionVersion?: string | null;Defined in: models/chats.ts:147
replyTo?
ts
optional replyTo?: ChatReply | null;Defined in: models/chats.ts:148
senderId
ts
senderId: string;Defined in: models/chats.ts:142
text?
ts
optional text?: string | null;Defined in: models/chats.ts:144
unavailable?
ts
optional unavailable?: boolean;Defined in: models/chats.ts:151