@grammyjs/types 2.10.1 → 2.10.2

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/proxied.d.ts +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "index.js",
6
6
  "repository": {
package/proxied.d.ts CHANGED
@@ -995,7 +995,13 @@ export interface InputFileProxy<F> {
995
995
  /** Topic name, 1-128 characters */
996
996
  name: string;
997
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;
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;