@telegram.ts/types 1.15.0 → 1.15.1

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.15.0",
3
+ "version": "1.15.1",
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",
@@ -559,6 +559,10 @@ export interface ChatInviteLink {
559
559
  member_limit?: number;
560
560
  /** Number of pending join requests created using this link */
561
561
  pending_join_request_count?: number;
562
+ /** The number of seconds the subscription will be active for before the next payment */
563
+ subscription_period?: number;
564
+ /** The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat using the link */
565
+ subscription_price?: number;
562
566
  }
563
567
 
564
568
  /** Represents the rights of an administrator in a chat. */