@grammyjs/types 3.4.2 → 3.4.3

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/manage.d.ts +4 -0
  2. package/package.json +1 -1
package/manage.d.ts CHANGED
@@ -488,6 +488,10 @@ export interface ChatBoostSourceGiveaway {
488
488
  source: "giveaway";
489
489
  /** Identifier of a message in the chat with the giveaway; the message could have been deleted already */
490
490
  giveaway_message_id: number;
491
+ /** User that won the prize in the giveaway if any */
492
+ user?: User;
493
+ /** True, if the giveaway was completed, but there was no user to win the prize */
494
+ is_unclaimed?: true;
491
495
  }
492
496
  /** This object contains information about a chat boost. */
493
497
  export interface ChatBoost {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grammyjs/types",
3
- "version": "3.4.2",
3
+ "version": "3.4.3",
4
4
  "description": "Telegram Bot API type declarations for grammY",
5
5
  "main": "mod.js",
6
6
  "repository": {