@imessaging/core 0.8.9 → 0.8.10

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 +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imessaging/core",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "description": "Core messaging transport contracts and Telegram peer storage",
5
5
  "keywords": [
6
6
  "messaging",
package/src/types.ts CHANGED
@@ -84,6 +84,11 @@ export type OutboundMessage = {
84
84
  threadId?: number;
85
85
  documents?: OutboundDocument[];
86
86
  buttons?: OutboundButton[][];
87
+ /**
88
+ * Снять постоянную клавиатуру (ReplyKeyboardMarkup) у собеседника. Действует без `buttons`;
89
+ * канал без такой клавиатуры поле не замечает.
90
+ */
91
+ removeKeyboard?: boolean;
87
92
  /**
88
93
  * Как написан `text`: транспорт сам переводит разметку в формат своего канала — Telegram и MAX
89
94
  * получают выделения, почта HTML и простой текст, hh простой текст. Не задан — прежнее поведение