@telegram.ts/types 1.17.1 → 1.17.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegram.ts/types",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
4
4
  "description": "Comprehensive Type Declarations for Telegram Bot API with telegramsjs",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -44,7 +44,7 @@ export declare namespace InlineKeyboardButton {
44
44
  /** If set, pressing the button will prompt the user to select one of their chats of the specified type, open that chat and insert the bot's username and the specified inline query in the input field. Not supported for messages sent on behalf of a Telegram Business account. */
45
45
  switch_inline_query_chosen_chat: SwitchInlineQueryChosenChat;
46
46
  }
47
- export interface CopyTextButton extends AbstractInlineKeyboardButton {
47
+ export interface CopyTextButtonButton extends AbstractInlineKeyboardButton {
48
48
  /** Description of the button that copies the specified text to the clipboard. */
49
49
  copy_text: CopyTextButton;
50
50
  }
@@ -71,7 +71,7 @@ export type InlineKeyboardButton =
71
71
  | InlineKeyboardButton.SwitchInlineButton
72
72
  | InlineKeyboardButton.SwitchInlineCurrentChatButton
73
73
  | InlineKeyboardButton.SwitchInlineChosenChatButton
74
- | InlineKeyboardButton.CopyTextButton
74
+ | InlineKeyboardButton.CopyTextButtonButton
75
75
  | InlineKeyboardButton.UrlButton
76
76
  | InlineKeyboardButton.WebAppButton;
77
77