@imessaging/core 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imessaging/core",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Core messaging transport contracts and Telegram peer storage",
5
5
  "keywords": [
6
6
  "messaging",
package/src/types.ts CHANGED
@@ -283,6 +283,8 @@ export type IncomingMessage = {
283
283
  sentAt?: Date;
284
284
  /** Когда правили последний раз. Нет — не правили. */
285
285
  editedAt?: Date;
286
+ /** В сообщении упомянут аккаунт или это ответ на его сообщение (так Telegram определяет упоминание); нет — канал не сообщает. */
287
+ mentionsMe?: boolean;
286
288
  attachments: IncomingAttachment[];
287
289
  /**
288
290
  * Адреса из сообщения, в порядке появления.