@telegram.ts/types 1.21.0 → 1.21.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telegram.ts/types",
3
- "version": "1.21.0",
3
+ "version": "1.21.2",
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",
@@ -186,6 +186,7 @@ export interface AffiliateInfo {
186
186
  - TransactionPartnerOther */
187
187
  export type TransactionPartner =
188
188
  | TransactionPartnerUser
189
+ | TransactionPartnerChat
189
190
  | TransactionPartnerFragment
190
191
  | TransactionPartnerAffiliateProgram
191
192
  | TransactionPartnerTelegramAds
@@ -209,6 +209,8 @@ export declare namespace ChatFullInfo {
209
209
  pinned_message?: Message;
210
210
  /** Default chat member permissions, for groups and supergroups */
211
211
  permissions?: undefined;
212
+ /** True, if gifts can be sent to the chat */
213
+ can_send_gift?: true;
212
214
  /** For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds */
213
215
  slow_mode_delay?: undefined;
214
216
  /** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */
@@ -300,6 +302,8 @@ export declare namespace ChatFullInfo {
300
302
  pinned_message?: Message;
301
303
  /** Default chat member permissions, for groups and supergroups */
302
304
  permissions?: ChatPermissions;
305
+ /** True, if gifts can be sent to the chat */
306
+ can_send_gift?: true;
303
307
  /** For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds */
304
308
  slow_mode_delay?: undefined;
305
309
  /** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */
@@ -391,6 +395,8 @@ export declare namespace ChatFullInfo {
391
395
  pinned_message?: Message;
392
396
  /** Default chat member permissions, for groups and supergroups */
393
397
  permissions?: ChatPermissions;
398
+ /** True, if gifts can be sent to the chat */
399
+ can_send_gift?: true;
394
400
  /** For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds */
395
401
  slow_mode_delay?: number;
396
402
  /** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */
@@ -482,6 +488,8 @@ export declare namespace ChatFullInfo {
482
488
  pinned_message?: Message;
483
489
  /** Default chat member permissions, for groups and supergroups */
484
490
  permissions?: undefined;
491
+ /** True, if gifts can be sent to the chat */
492
+ can_send_gift?: true;
485
493
  /** For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user; in seconds */
486
494
  slow_mode_delay?: undefined;
487
495
  /** For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to ignore slow mode and chat permissions */