@grammyjs/types 2.10.1 → 2.10.3

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.
package/README.md CHANGED
@@ -89,3 +89,5 @@ The actual type definitions themselves are never different.
89
89
  4. No `More info on Sending Files »`.
90
90
  File handling is abstracted away by the underlying library.
91
91
  Also, without the links, it's useless anyway.
92
+ 5. No images.
93
+ Documentation strings containing an image are adjusted to make sense without the images, too.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "2.10.1",
3
+ "version": "2.10.3",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "index.js",
6
6
  "repository": {
package/proxied.d.ts CHANGED
@@ -994,8 +994,14 @@ export interface InputFileProxy<F> {
994
994
  chat_id: number | string;
995
995
  /** Topic name, 1-128 characters */
996
996
  name: string;
997
- /** Color of the topic icon in RGB format. Currently, must be one of 0x6FB9F0, 0xFFD67E, 0xCB86DB, 0x8EEE98, 0xFF93B2, or 0xFB6F5F */
998
- icon_color?: number;
997
+ /** Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F) */
998
+ icon_color?:
999
+ | 0x6FB9F0
1000
+ | 0xFFD67E
1001
+ | 0xCB86DB
1002
+ | 0x8EEE98
1003
+ | 0xFF93B2
1004
+ | 0xFB6F5F;
999
1005
  /** Unique identifier of the custom emoji shown as the topic icon. Use getForumTopicIconStickers to get all allowed custom emoji identifiers. */
1000
1006
  icon_custom_emoji_id?: string;
1001
1007
  }): ForumTopic;