@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 +1 -1
- package/src/markupTypes.d.ts +2 -2
package/package.json
CHANGED
package/src/markupTypes.d.ts
CHANGED
|
@@ -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
|
|
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.
|
|
74
|
+
| InlineKeyboardButton.CopyTextButtonButton
|
|
75
75
|
| InlineKeyboardButton.UrlButton
|
|
76
76
|
| InlineKeyboardButton.WebAppButton;
|
|
77
77
|
|