@grammyjs/types 3.4.3 → 3.4.5
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/LICENSE +1 -1
- package/README.md +1 -1
- package/markup.d.ts +1 -1
- package/message.d.ts +1 -1
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[grammY](https://github.com/grammyjs/grammY) makes writing Telegram bots easy. Check it out!
|
|
4
4
|
|
|
5
|
-
This package just provides type annotations for the complete Telegram Bot API, and
|
|
5
|
+
This package just provides type annotations for the complete Telegram Bot API, and aims at making them usable for grammY. It contains no runnable code.
|
|
6
6
|
|
|
7
7
|
Originally, this package is based on `typegram`, but since the update to Telegram Bot API 5.1, `typegram` is no longer directly updated. Instead, this package is maintained and its updates are backported to `typegram`. Hence, both packages are kept up to date with the Telegram Bot API for now.
|
|
8
8
|
|
package/markup.d.ts
CHANGED
|
@@ -198,7 +198,7 @@ export interface KeyboardButtonRequestUsers {
|
|
|
198
198
|
/** Pass True to request premium users, pass False to request non-premium users. If not specified, no additional restrictions are applied. */
|
|
199
199
|
user_is_premium?: boolean;
|
|
200
200
|
/** The maximum number of users to be selected; 1-10. Defaults to 1. */
|
|
201
|
-
max_quantity?:
|
|
201
|
+
max_quantity?: number;
|
|
202
202
|
}
|
|
203
203
|
/** This object defines the criteria used to request a suitable chat. The identifier of the selected chat will be shared with the bot when the corresponding button is pressed. */
|
|
204
204
|
export interface KeyboardButtonRequestChat {
|
package/message.d.ts
CHANGED
|
@@ -991,7 +991,7 @@ export interface ReactionTypeCustomEmoji {
|
|
|
991
991
|
/** Type of the reaction, always “custom_emoji” */
|
|
992
992
|
type: "custom_emoji";
|
|
993
993
|
/** Custom emoji identifier */
|
|
994
|
-
|
|
994
|
+
custom_emoji_id: string;
|
|
995
995
|
}
|
|
996
996
|
/** Represents a reaction added to a message along with the number of times it was added. */
|
|
997
997
|
export interface ReactionCount {
|