@grammyjs/types 3.4.4 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021-2023 KnorpelSenf
3
+ Copyright (c) 2021-2024 KnorpelSenf
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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 applies various transformations to make them usable for grammY. It contains no runnable code.
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?: boolean;
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "mod.js",
6
6
  "repository": {