@mtkruto/node 0.1.191 → 0.1.200

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 (173) hide show
  1. package/esm/1_utilities.d.ts +1 -1
  2. package/esm/1_utilities.js +1 -1
  3. package/esm/2_tl.d.ts +6 -6
  4. package/esm/2_tl.js +6 -6
  5. package/esm/3_storage.d.ts +5 -5
  6. package/esm/3_storage.js +5 -5
  7. package/esm/3_types.d.ts +6 -5
  8. package/esm/3_types.js +6 -5
  9. package/esm/4_constants.d.ts +2 -2
  10. package/esm/4_constants.js +2 -2
  11. package/esm/5_client.d.ts +1 -1
  12. package/esm/5_client.js +1 -1
  13. package/esm/client/0_params.d.ts +7 -1
  14. package/esm/client/0_types.d.ts +1 -0
  15. package/esm/client/0_utilities.d.ts +0 -3
  16. package/esm/client/0_utilities.js +0 -20
  17. package/esm/client/1_business_connection_manager.d.ts +11 -0
  18. package/esm/client/1_business_connection_manager.js +47 -0
  19. package/esm/client/1_update_manager.d.ts +8 -1
  20. package/esm/client/1_update_manager.js +88 -8
  21. package/esm/client/2_message_manager.d.ts +7 -6
  22. package/esm/client/2_message_manager.js +48 -31
  23. package/esm/client/4_client.d.ts +421 -420
  24. package/esm/client/4_client.js +565 -516
  25. package/esm/storage/0_storage.d.ts +5 -0
  26. package/esm/storage/0_storage.js +20 -0
  27. package/esm/storage/{1_storage_indexed_db.js → 2_storage_indexed_db.js} +1 -1
  28. package/esm/storage/{1_storage_local_storage.js → 2_storage_local_storage.js} +1 -1
  29. package/{script/storage/1_storage_memory.d.ts → esm/storage/2_storage_memory.d.ts} +1 -4
  30. package/esm/storage/{1_storage_memory.js → 2_storage_memory.js} +8 -28
  31. package/esm/storage/{1_storage_session_storage.js → 2_storage_session_storage.js} +1 -1
  32. package/esm/tl/2_types.d.ts +1071 -183
  33. package/esm/tl/2_types.js +2916 -464
  34. package/esm/tl/3_functions.d.ts +381 -17
  35. package/esm/tl/3_functions.js +1002 -120
  36. package/{script/tl/4_tl_writer.d.ts → esm/tl/5_tl_writer.d.ts} +1 -1
  37. package/{script/tl/4_rpc_result.d.ts → esm/tl/6_rpc_result.d.ts} +1 -1
  38. package/esm/tl/{4_rpc_result.js → 6_rpc_result.js} +1 -1
  39. package/esm/tl/{6_message.d.ts → 7_message.d.ts} +2 -2
  40. package/esm/tl/{6_message.js → 7_message.js} +3 -3
  41. package/esm/tl/{7_message_container.d.ts → 8_message_container.d.ts} +1 -1
  42. package/esm/tl/{7_message_container.js → 8_message_container.js} +3 -3
  43. package/esm/types/0_chat_photo.js +1 -1
  44. package/esm/types/0_message_entity.d.ts +1 -1
  45. package/esm/types/0_thumbnail.js +1 -1
  46. package/esm/types/1_bot_command_scope.d.ts +1 -1
  47. package/esm/types/1_photo.js +2 -2
  48. package/esm/types/1_story_privacy.d.ts +1 -1
  49. package/esm/types/2_business_connection.d.ts +11 -0
  50. package/esm/types/2_business_connection.js +12 -0
  51. package/esm/types/2_chat_member.d.ts +1 -1
  52. package/esm/types/2_chosen_inline_result.d.ts +1 -1
  53. package/esm/types/2_game.js +1 -1
  54. package/esm/types/2_inline_keyboard_button.d.ts +1 -1
  55. package/esm/types/2_inline_query.d.ts +1 -1
  56. package/esm/types/2_invite_link.d.ts +1 -1
  57. package/esm/types/2_message_reaction_count.d.ts +1 -1
  58. package/esm/types/2_message_reactions.d.ts +1 -1
  59. package/esm/types/2_story_content.js +1 -1
  60. package/{script/types/1_story_interactive_area.d.ts → esm/types/2_story_interactive_area.d.ts} +2 -2
  61. package/esm/types/{1_story_interactive_area.js → 2_story_interactive_area.js} +1 -1
  62. package/esm/types/3_chat_member_updated.d.ts +1 -1
  63. package/esm/types/3_reply_markup.d.ts +1 -1
  64. package/esm/types/3_story.d.ts +2 -2
  65. package/esm/types/3_story.js +1 -1
  66. package/esm/types/4_inline_query_result.d.ts +1 -1
  67. package/esm/types/4_inline_query_result.js +1 -1
  68. package/esm/types/4_message.d.ts +9 -3
  69. package/esm/types/4_message.js +22 -5
  70. package/esm/types/5_callback_query.d.ts +1 -1
  71. package/esm/types/5_chat.d.ts +1 -1
  72. package/esm/types/6_update.d.ts +12 -2
  73. package/package.json +1 -1
  74. package/script/1_utilities.d.ts +1 -1
  75. package/script/1_utilities.js +1 -1
  76. package/script/2_tl.d.ts +6 -6
  77. package/script/2_tl.js +6 -6
  78. package/script/3_storage.d.ts +5 -5
  79. package/script/3_storage.js +5 -5
  80. package/script/3_types.d.ts +6 -5
  81. package/script/3_types.js +6 -5
  82. package/script/4_constants.d.ts +2 -2
  83. package/script/4_constants.js +2 -2
  84. package/script/5_client.d.ts +1 -1
  85. package/script/5_client.js +1 -1
  86. package/script/client/0_params.d.ts +7 -1
  87. package/script/client/0_types.d.ts +1 -0
  88. package/script/client/0_utilities.d.ts +0 -3
  89. package/script/client/0_utilities.js +1 -23
  90. package/script/client/1_business_connection_manager.d.ts +11 -0
  91. package/script/client/1_business_connection_manager.js +51 -0
  92. package/script/client/1_update_manager.d.ts +8 -1
  93. package/script/client/1_update_manager.js +88 -8
  94. package/script/client/2_message_manager.d.ts +7 -6
  95. package/script/client/2_message_manager.js +47 -30
  96. package/script/client/4_client.d.ts +421 -420
  97. package/script/client/4_client.js +565 -516
  98. package/script/storage/0_storage.d.ts +5 -0
  99. package/script/storage/0_storage.js +20 -0
  100. package/script/storage/{1_storage_indexed_db.js → 2_storage_indexed_db.js} +7 -7
  101. package/script/storage/{1_storage_local_storage.js → 2_storage_local_storage.js} +10 -10
  102. package/{esm/storage/1_storage_memory.d.ts → script/storage/2_storage_memory.d.ts} +1 -4
  103. package/script/storage/{1_storage_memory.js → 2_storage_memory.js} +12 -32
  104. package/script/storage/{1_storage_session_storage.js → 2_storage_session_storage.js} +10 -10
  105. package/script/tl/2_types.d.ts +1071 -183
  106. package/script/tl/2_types.js +3028 -504
  107. package/script/tl/3_functions.d.ts +381 -17
  108. package/script/tl/3_functions.js +1047 -143
  109. package/{esm/tl/4_tl_writer.d.ts → script/tl/5_tl_writer.d.ts} +1 -1
  110. package/{esm/tl/4_rpc_result.d.ts → script/tl/6_rpc_result.d.ts} +1 -1
  111. package/script/tl/{4_rpc_result.js → 6_rpc_result.js} +2 -2
  112. package/script/tl/{6_message.d.ts → 7_message.d.ts} +2 -2
  113. package/script/tl/{6_message.js → 7_message.js} +8 -8
  114. package/script/tl/{7_message_container.d.ts → 8_message_container.d.ts} +1 -1
  115. package/script/tl/{7_message_container.js → 8_message_container.js} +7 -7
  116. package/script/types/0_chat_photo.js +9 -9
  117. package/script/types/0_message_entity.d.ts +1 -1
  118. package/script/types/0_thumbnail.js +6 -6
  119. package/script/types/1_bot_command_scope.d.ts +1 -1
  120. package/script/types/1_photo.js +7 -7
  121. package/script/types/1_story_privacy.d.ts +1 -1
  122. package/script/types/2_business_connection.d.ts +11 -0
  123. package/script/types/2_business_connection.js +16 -0
  124. package/script/types/2_chat_member.d.ts +1 -1
  125. package/script/types/2_chosen_inline_result.d.ts +1 -1
  126. package/script/types/2_game.js +3 -3
  127. package/script/types/2_inline_keyboard_button.d.ts +1 -1
  128. package/script/types/2_inline_query.d.ts +1 -1
  129. package/script/types/2_invite_link.d.ts +1 -1
  130. package/script/types/2_message_reaction_count.d.ts +1 -1
  131. package/script/types/2_message_reactions.d.ts +1 -1
  132. package/script/types/2_story_content.js +4 -4
  133. package/{esm/types/1_story_interactive_area.d.ts → script/types/2_story_interactive_area.d.ts} +2 -2
  134. package/script/types/{1_story_interactive_area.js → 2_story_interactive_area.js} +2 -2
  135. package/script/types/3_chat_member_updated.d.ts +1 -1
  136. package/script/types/3_reply_markup.d.ts +1 -1
  137. package/script/types/3_story.d.ts +2 -2
  138. package/script/types/3_story.js +2 -2
  139. package/script/types/4_inline_query_result.d.ts +1 -1
  140. package/script/types/4_inline_query_result.js +2 -2
  141. package/script/types/4_message.d.ts +9 -3
  142. package/script/types/4_message.js +37 -20
  143. package/script/types/5_callback_query.d.ts +1 -1
  144. package/script/types/5_chat.d.ts +1 -1
  145. package/script/types/6_update.d.ts +12 -2
  146. /package/esm/storage/{0_utilities.d.ts → 1_utilities.d.ts} +0 -0
  147. /package/esm/storage/{0_utilities.js → 1_utilities.js} +0 -0
  148. /package/esm/storage/{1_storage_indexed_db.d.ts → 2_storage_indexed_db.d.ts} +0 -0
  149. /package/esm/storage/{1_storage_local_storage.d.ts → 2_storage_local_storage.d.ts} +0 -0
  150. /package/esm/storage/{1_storage_session_storage.d.ts → 2_storage_session_storage.d.ts} +0 -0
  151. /package/esm/tl/{3_tl_reader.d.ts → 4_tl_reader.d.ts} +0 -0
  152. /package/esm/tl/{3_tl_reader.js → 4_tl_reader.js} +0 -0
  153. /package/esm/tl/{4_tl_writer.js → 5_tl_writer.js} +0 -0
  154. /package/esm/types/{0_venue.d.ts → 1_venue.d.ts} +0 -0
  155. /package/esm/types/{0_venue.js → 1_venue.js} +0 -0
  156. /package/esm/types/{0__file_id.d.ts → _file_id.d.ts} +0 -0
  157. /package/esm/types/{0__file_id.js → _file_id.js} +0 -0
  158. /package/esm/types/{1__getters.d.ts → _getters.d.ts} +0 -0
  159. /package/esm/types/{1__getters.js → _getters.js} +0 -0
  160. /package/script/storage/{0_utilities.d.ts → 1_utilities.d.ts} +0 -0
  161. /package/script/storage/{0_utilities.js → 1_utilities.js} +0 -0
  162. /package/script/storage/{1_storage_indexed_db.d.ts → 2_storage_indexed_db.d.ts} +0 -0
  163. /package/script/storage/{1_storage_local_storage.d.ts → 2_storage_local_storage.d.ts} +0 -0
  164. /package/script/storage/{1_storage_session_storage.d.ts → 2_storage_session_storage.d.ts} +0 -0
  165. /package/script/tl/{3_tl_reader.d.ts → 4_tl_reader.d.ts} +0 -0
  166. /package/script/tl/{3_tl_reader.js → 4_tl_reader.js} +0 -0
  167. /package/script/tl/{4_tl_writer.js → 5_tl_writer.js} +0 -0
  168. /package/script/types/{0_venue.d.ts → 1_venue.d.ts} +0 -0
  169. /package/script/types/{0_venue.js → 1_venue.js} +0 -0
  170. /package/script/types/{0__file_id.d.ts → _file_id.d.ts} +0 -0
  171. /package/script/types/{0__file_id.js → _file_id.js} +0 -0
  172. /package/script/types/{1__getters.d.ts → _getters.d.ts} +0 -0
  173. /package/script/types/{1__getters.js → _getters.js} +0 -0
@@ -56,7 +56,13 @@ export declare abstract class _True_ extends Type_ {
56
56
  }
57
57
  export declare abstract class _Error_ extends Type_ {
58
58
  }
59
- export declare abstract class _Null_ extends Type_ {
59
+ export declare abstract class _IpPort_ extends Type_ {
60
+ }
61
+ export declare abstract class _AccessPointRule_ extends Type_ {
62
+ }
63
+ export declare abstract class _help_ConfigSimple_ extends Type_ {
64
+ }
65
+ export declare abstract class _InputFileLocation_ extends Type_ {
60
66
  }
61
67
  export declare abstract class _InputPeer_ extends Type_ {
62
68
  }
@@ -74,8 +80,6 @@ export declare abstract class _InputGeoPoint_ extends Type_ {
74
80
  }
75
81
  export declare abstract class _InputPhoto_ extends Type_ {
76
82
  }
77
- export declare abstract class _InputFileLocation_ extends Type_ {
78
- }
79
83
  export declare abstract class _Peer_ extends Type_ {
80
84
  }
81
85
  export declare abstract class _storage_FileType_ extends Type_ {
@@ -972,6 +976,54 @@ export declare abstract class _account_ConnectedBots_ extends Type_ {
972
976
  }
973
977
  export declare abstract class _messages_DialogFilters_ extends Type_ {
974
978
  }
979
+ export declare abstract class _Birthday_ extends Type_ {
980
+ }
981
+ export declare abstract class _BotBusinessConnection_ extends Type_ {
982
+ }
983
+ export declare abstract class _InputBusinessIntro_ extends Type_ {
984
+ }
985
+ export declare abstract class _BusinessIntro_ extends Type_ {
986
+ }
987
+ export declare abstract class _messages_MyStickers_ extends Type_ {
988
+ }
989
+ export declare abstract class _InputCollectible_ extends Type_ {
990
+ }
991
+ export declare abstract class _fragment_CollectibleInfo_ extends Type_ {
992
+ }
993
+ export declare abstract class _InputBusinessBotRecipients_ extends Type_ {
994
+ }
995
+ export declare abstract class _BusinessBotRecipients_ extends Type_ {
996
+ }
997
+ export declare abstract class _ContactBirthday_ extends Type_ {
998
+ }
999
+ export declare abstract class _contacts_ContactBirthdays_ extends Type_ {
1000
+ }
1001
+ export declare abstract class _MissingInvitee_ extends Type_ {
1002
+ }
1003
+ export declare abstract class _messages_InvitedUsers_ extends Type_ {
1004
+ }
1005
+ export declare abstract class _InputBusinessChatLink_ extends Type_ {
1006
+ }
1007
+ export declare abstract class _BusinessChatLink_ extends Type_ {
1008
+ }
1009
+ export declare abstract class _account_BusinessChatLinks_ extends Type_ {
1010
+ }
1011
+ export declare abstract class _account_ResolvedBusinessChatLinks_ extends Type_ {
1012
+ }
1013
+ export declare abstract class _RequestedPeer_ extends Type_ {
1014
+ }
1015
+ export declare abstract class _SponsoredMessageReportOption_ extends Type_ {
1016
+ }
1017
+ export declare abstract class _channels_SponsoredMessageReportResult_ extends Type_ {
1018
+ }
1019
+ export declare abstract class _stats_BroadcastRevenueStats_ extends Type_ {
1020
+ }
1021
+ export declare abstract class _stats_BroadcastRevenueWithdrawalUrl_ extends Type_ {
1022
+ }
1023
+ export declare abstract class _BroadcastRevenueTransaction_ extends Type_ {
1024
+ }
1025
+ export declare abstract class _stats_BroadcastRevenueTransactions_ extends Type_ {
1026
+ }
975
1027
  export declare class ResPQ_ extends _ResPQ_ {
976
1028
  nonce: bigint;
977
1029
  server_nonce: bigint;
@@ -1440,13 +1492,89 @@ export declare class Error_ extends _Error_ {
1440
1492
  text: string;
1441
1493
  });
1442
1494
  }
1443
- /** Corresponds to an arbitrary empty object. */
1444
- export declare class Null_ extends _Null_ {
1495
+ export declare class IpPort_ extends _IpPort_ {
1496
+ ipv4: number;
1497
+ port: number;
1445
1498
  protected get [id](): number;
1446
1499
  static get [name](): string;
1447
1500
  static get [paramDesc](): ParamDesc;
1448
1501
  protected get [params](): Params;
1449
- constructor();
1502
+ constructor(params: {
1503
+ ipv4: number;
1504
+ port: number;
1505
+ });
1506
+ }
1507
+ export declare class IpPortSecret_ extends _IpPort_ {
1508
+ ipv4: number;
1509
+ port: number;
1510
+ secret: Uint8Array;
1511
+ protected get [id](): number;
1512
+ static get [name](): string;
1513
+ static get [paramDesc](): ParamDesc;
1514
+ protected get [params](): Params;
1515
+ constructor(params: {
1516
+ ipv4: number;
1517
+ port: number;
1518
+ secret: Uint8Array;
1519
+ });
1520
+ }
1521
+ export declare class AccessPointRule_ extends _AccessPointRule_ {
1522
+ phone_prefix_rules: string;
1523
+ dc_id: number;
1524
+ ips: Array<enums.IpPort>;
1525
+ protected get [id](): number;
1526
+ static get [name](): string;
1527
+ static get [paramDesc](): ParamDesc;
1528
+ protected get [params](): Params;
1529
+ constructor(params: {
1530
+ phone_prefix_rules: string;
1531
+ dc_id: number;
1532
+ ips: Array<enums.IpPort>;
1533
+ });
1534
+ }
1535
+ export declare class help_ConfigSimple_ extends _help_ConfigSimple_ {
1536
+ date: number;
1537
+ expires: number;
1538
+ rules: Array<enums.AccessPointRule>;
1539
+ protected get [id](): number;
1540
+ static get [name](): string;
1541
+ static get [paramDesc](): ParamDesc;
1542
+ protected get [params](): Params;
1543
+ constructor(params: {
1544
+ date: number;
1545
+ expires: number;
1546
+ rules: Array<enums.AccessPointRule>;
1547
+ });
1548
+ }
1549
+ export declare class InputPeerPhotoFileLocationLegacy_ extends _InputFileLocation_ {
1550
+ big?: true;
1551
+ peer: enums.InputPeer;
1552
+ volume_id: bigint;
1553
+ local_id: number;
1554
+ protected get [id](): number;
1555
+ static get [name](): string;
1556
+ static get [paramDesc](): ParamDesc;
1557
+ protected get [params](): Params;
1558
+ constructor(params: {
1559
+ big?: true;
1560
+ peer: enums.InputPeer;
1561
+ volume_id: bigint;
1562
+ local_id: number;
1563
+ });
1564
+ }
1565
+ export declare class InputStickerSetThumbLegacy_ extends _InputFileLocation_ {
1566
+ stickerset: enums.InputStickerSet;
1567
+ volume_id: bigint;
1568
+ local_id: number;
1569
+ protected get [id](): number;
1570
+ static get [name](): string;
1571
+ static get [paramDesc](): ParamDesc;
1572
+ protected get [params](): Params;
1573
+ constructor(params: {
1574
+ stickerset: enums.InputStickerSet;
1575
+ volume_id: bigint;
1576
+ local_id: number;
1577
+ });
1450
1578
  }
1451
1579
  /** An empty constructor, no user or chat is defined. */
1452
1580
  export declare class InputPeerEmpty_ extends _InputPeer_ {
@@ -2445,6 +2573,7 @@ export declare class User_ extends _User_ {
2445
2573
  /** No stories from this user are visible. */
2446
2574
  stories_unavailable?: true;
2447
2575
  contact_require_premium?: true;
2576
+ bot_business?: true;
2448
2577
  /** ID of the user */
2449
2578
  id: bigint;
2450
2579
  /** Access hash of the user */
@@ -2507,6 +2636,7 @@ export declare class User_ extends _User_ {
2507
2636
  stories_hidden?: true;
2508
2637
  stories_unavailable?: true;
2509
2638
  contact_require_premium?: true;
2639
+ bot_business?: true;
2510
2640
  id: bigint;
2511
2641
  access_hash?: bigint;
2512
2642
  first_name?: string;
@@ -2957,6 +3087,8 @@ export declare class ChannelFull_ extends _ChatFull_ {
2957
3087
  /** Users may also choose to display messages from all topics of a [forum](https://core.telegram.org/api/forum) as if they were sent to a normal group, using a "View as messages" setting in the local client.
2958
3088
  This setting only affects the current account, and is synced to other logged in sessions using the [channels.toggleViewForumAsMessages](https://core.telegram.org/method/channels.toggleViewForumAsMessages) method; invoking this method will update the value of this flag. */
2959
3089
  view_forum_as_messages?: true;
3090
+ restricted_sponsored?: true;
3091
+ can_view_revenue?: true;
2960
3092
  /** ID of the channel */
2961
3093
  id: bigint;
2962
3094
  /** Info about the channel */
@@ -3053,6 +3185,8 @@ export declare class ChannelFull_ extends _ChatFull_ {
3053
3185
  translations_disabled?: true;
3054
3186
  stories_pinned_available?: true;
3055
3187
  view_forum_as_messages?: true;
3188
+ restricted_sponsored?: true;
3189
+ can_view_revenue?: true;
3056
3190
  id: bigint;
3057
3191
  about: string;
3058
3192
  participants_count?: number;
@@ -3244,6 +3378,7 @@ export declare class Message_ extends _Message_ {
3244
3378
  noforwards?: true;
3245
3379
  /** If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. */
3246
3380
  invert_media?: true;
3381
+ offline?: true;
3247
3382
  /** ID of the message */
3248
3383
  id: number;
3249
3384
  /** ID of the sender of the message */
@@ -3257,6 +3392,7 @@ export declare class Message_ extends _Message_ {
3257
3392
  fwd_from?: enums.MessageFwdHeader;
3258
3393
  /** ID of the inline bot that generated the message */
3259
3394
  via_bot_id?: bigint;
3395
+ via_business_bot_id?: bigint;
3260
3396
  /** Reply information */
3261
3397
  reply_to?: enums.MessageReplyHeader;
3262
3398
  /** Date of the message */
@@ -3304,6 +3440,7 @@ export declare class Message_ extends _Message_ {
3304
3440
  pinned?: true;
3305
3441
  noforwards?: true;
3306
3442
  invert_media?: true;
3443
+ offline?: true;
3307
3444
  id: number;
3308
3445
  from_id?: enums.Peer;
3309
3446
  from_boosts_applied?: number;
@@ -3311,6 +3448,7 @@ export declare class Message_ extends _Message_ {
3311
3448
  saved_peer_id?: enums.Peer;
3312
3449
  fwd_from?: enums.MessageFwdHeader;
3313
3450
  via_bot_id?: bigint;
3451
+ via_business_bot_id?: bigint;
3314
3452
  reply_to?: enums.MessageReplyHeader;
3315
3453
  date: number;
3316
3454
  message: string;
@@ -4347,6 +4485,18 @@ export declare class MessageActionBoostApply_ extends _MessageAction_ {
4347
4485
  boosts: number;
4348
4486
  });
4349
4487
  }
4488
+ export declare class MessageActionRequestedPeerSentMe_ extends _MessageAction_ {
4489
+ button_id: number;
4490
+ peers: Array<enums.RequestedPeer>;
4491
+ protected get [id](): number;
4492
+ static get [name](): string;
4493
+ static get [paramDesc](): ParamDesc;
4494
+ protected get [params](): Params;
4495
+ constructor(params: {
4496
+ button_id: number;
4497
+ peers: Array<enums.RequestedPeer>;
4498
+ });
4499
+ }
4350
4500
  /** Chat */
4351
4501
  export declare class Dialog_ extends _Dialog_ {
4352
4502
  /** Is the dialog pinned */
@@ -4841,12 +4991,16 @@ export declare class PeerSettings_ extends _PeerSettings_ {
4841
4991
  invite_members?: true;
4842
4992
  /** This flag is set if `request_chat_title` and `request_chat_date` fields are set and the [join request »](https://core.telegram.org/api/invites#join-requests) is related to a channel (otherwise if only the request fields are set, the [join request »](https://core.telegram.org/api/invites#join-requests) is related to a chat). */
4843
4993
  request_chat_broadcast?: true;
4994
+ business_bot_paused?: true;
4995
+ business_bot_can_reply?: true;
4844
4996
  /** Distance in meters between us and this peer */
4845
4997
  geo_distance?: number;
4846
4998
  /** If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the chat/channel's title. */
4847
4999
  request_chat_title?: string;
4848
5000
  /** If set, this is a private chat with an administrator of a chat or channel to which the user sent a join request, and this field contains the timestamp when the [join request »](https://core.telegram.org/api/invites#join-requests) was sent. */
4849
5001
  request_chat_date?: number;
5002
+ business_bot_id?: bigint;
5003
+ business_bot_manage_url?: string;
4850
5004
  protected get [id](): number;
4851
5005
  static get [name](): string;
4852
5006
  static get [paramDesc](): ParamDesc;
@@ -4861,9 +5015,13 @@ export declare class PeerSettings_ extends _PeerSettings_ {
4861
5015
  autoarchived?: true;
4862
5016
  invite_members?: true;
4863
5017
  request_chat_broadcast?: true;
5018
+ business_bot_paused?: true;
5019
+ business_bot_can_reply?: true;
4864
5020
  geo_distance?: number;
4865
5021
  request_chat_title?: string;
4866
5022
  request_chat_date?: number;
5023
+ business_bot_id?: bigint;
5024
+ business_bot_manage_url?: string;
4867
5025
  });
4868
5026
  }
4869
5027
  /** Represents a [wallpaper](https://core.telegram.org/api/wallpapers) based on an image. */
@@ -5071,6 +5229,10 @@ export declare class UserFull_ extends _UserFull_ {
5071
5229
  business_location?: enums.BusinessLocation;
5072
5230
  business_greeting_message?: enums.BusinessGreetingMessage;
5073
5231
  business_away_message?: enums.BusinessAwayMessage;
5232
+ business_intro?: enums.BusinessIntro;
5233
+ birthday?: enums.Birthday;
5234
+ personal_channel_id?: bigint;
5235
+ personal_channel_message?: number;
5074
5236
  protected get [id](): number;
5075
5237
  static get [name](): string;
5076
5238
  static get [paramDesc](): ParamDesc;
@@ -5112,6 +5274,10 @@ export declare class UserFull_ extends _UserFull_ {
5112
5274
  business_location?: enums.BusinessLocation;
5113
5275
  business_greeting_message?: enums.BusinessGreetingMessage;
5114
5276
  business_away_message?: enums.BusinessAwayMessage;
5277
+ business_intro?: enums.BusinessIntro;
5278
+ birthday?: enums.Birthday;
5279
+ personal_channel_id?: bigint;
5280
+ personal_channel_message?: number;
5115
5281
  });
5116
5282
  }
5117
5283
  /** A contact of the current user that is registered in the system. */
@@ -7465,18 +7631,6 @@ export declare class UpdateAutoSaveSettings_ extends _Update_ {
7465
7631
  protected get [params](): Params;
7466
7632
  constructor();
7467
7633
  }
7468
- /** 0-N updates of this type may be returned only when invoking [messages.addChatUser](https://core.telegram.org/method/messages.addChatUser), [channels.inviteToChannel](https://core.telegram.org/method/channels.inviteToChannel) or [messages.createChat](https://core.telegram.org/method/messages.createChat): it indicates we couldn't add a user to a chat because of their privacy settings; if required, an [invite link](https://core.telegram.org/api/invites) can be shared with the user, instead. */
7469
- export declare class UpdateGroupInvitePrivacyForbidden_ extends _Update_ {
7470
- /** ID of the user we couldn't add. */
7471
- user_id: bigint;
7472
- protected get [id](): number;
7473
- static get [name](): string;
7474
- static get [paramDesc](): ParamDesc;
7475
- protected get [params](): Params;
7476
- constructor(params: {
7477
- user_id: bigint;
7478
- });
7479
- }
7480
7634
  /** A new story was posted. */
7481
7635
  export declare class UpdateStory_ extends _Update_ {
7482
7636
  /** ID of the poster. */
@@ -7754,6 +7908,66 @@ export declare class UpdateDeleteQuickReplyMessages_ extends _Update_ {
7754
7908
  messages: Array<number>;
7755
7909
  });
7756
7910
  }
7911
+ export declare class UpdateBotBusinessConnect_ extends _Update_ {
7912
+ connection: enums.BotBusinessConnection;
7913
+ qts: number;
7914
+ protected get [id](): number;
7915
+ static get [name](): string;
7916
+ static get [paramDesc](): ParamDesc;
7917
+ protected get [params](): Params;
7918
+ constructor(params: {
7919
+ connection: enums.BotBusinessConnection;
7920
+ qts: number;
7921
+ });
7922
+ }
7923
+ export declare class UpdateBotNewBusinessMessage_ extends _Update_ {
7924
+ connection_id: string;
7925
+ message: enums.Message;
7926
+ reply_to_message?: enums.Message;
7927
+ qts: number;
7928
+ protected get [id](): number;
7929
+ static get [name](): string;
7930
+ static get [paramDesc](): ParamDesc;
7931
+ protected get [params](): Params;
7932
+ constructor(params: {
7933
+ connection_id: string;
7934
+ message: enums.Message;
7935
+ reply_to_message?: enums.Message;
7936
+ qts: number;
7937
+ });
7938
+ }
7939
+ export declare class UpdateBotEditBusinessMessage_ extends _Update_ {
7940
+ connection_id: string;
7941
+ message: enums.Message;
7942
+ reply_to_message?: enums.Message;
7943
+ qts: number;
7944
+ protected get [id](): number;
7945
+ static get [name](): string;
7946
+ static get [paramDesc](): ParamDesc;
7947
+ protected get [params](): Params;
7948
+ constructor(params: {
7949
+ connection_id: string;
7950
+ message: enums.Message;
7951
+ reply_to_message?: enums.Message;
7952
+ qts: number;
7953
+ });
7954
+ }
7955
+ export declare class UpdateBotDeleteBusinessMessage_ extends _Update_ {
7956
+ connection_id: string;
7957
+ peer: enums.Peer;
7958
+ messages: Array<number>;
7959
+ qts: number;
7960
+ protected get [id](): number;
7961
+ static get [name](): string;
7962
+ static get [paramDesc](): ParamDesc;
7963
+ protected get [params](): Params;
7964
+ constructor(params: {
7965
+ connection_id: string;
7966
+ peer: enums.Peer;
7967
+ messages: Array<number>;
7968
+ qts: number;
7969
+ });
7970
+ }
7757
7971
  /** Updates state. */
7758
7972
  export declare class updates_State_ extends _updates_State_ {
7759
7973
  /** Number of events occurred in a text box */
@@ -9180,6 +9394,13 @@ export declare class InputPrivacyKeyAbout_ extends _InputPrivacyKey_ {
9180
9394
  protected get [params](): Params;
9181
9395
  constructor();
9182
9396
  }
9397
+ export declare class InputPrivacyKeyBirthday_ extends _InputPrivacyKey_ {
9398
+ protected get [id](): number;
9399
+ static get [name](): string;
9400
+ static get [paramDesc](): ParamDesc;
9401
+ protected get [params](): Params;
9402
+ constructor();
9403
+ }
9183
9404
  /** Whether we can see the last online timestamp of this user */
9184
9405
  export declare class PrivacyKeyStatusTimestamp_ extends _PrivacyKey_ {
9185
9406
  protected get [id](): number;
@@ -9260,6 +9481,13 @@ export declare class PrivacyKeyAbout_ extends _PrivacyKey_ {
9260
9481
  protected get [params](): Params;
9261
9482
  constructor();
9262
9483
  }
9484
+ export declare class PrivacyKeyBirthday_ extends _PrivacyKey_ {
9485
+ protected get [id](): number;
9486
+ static get [name](): string;
9487
+ static get [paramDesc](): ParamDesc;
9488
+ protected get [params](): Params;
9489
+ constructor();
9490
+ }
9263
9491
  /** Allow only contacts */
9264
9492
  export declare class InputPrivacyValueAllowContacts_ extends _InputPrivacyRule_ {
9265
9493
  protected get [id](): number;
@@ -9348,6 +9576,13 @@ export declare class InputPrivacyValueAllowCloseFriends_ extends _InputPrivacyRu
9348
9576
  protected get [params](): Params;
9349
9577
  constructor();
9350
9578
  }
9579
+ export declare class InputPrivacyValueAllowPremium_ extends _InputPrivacyRule_ {
9580
+ protected get [id](): number;
9581
+ static get [name](): string;
9582
+ static get [paramDesc](): ParamDesc;
9583
+ protected get [params](): Params;
9584
+ constructor();
9585
+ }
9351
9586
  /** Allow all contacts */
9352
9587
  export declare class PrivacyValueAllowContacts_ extends _PrivacyRule_ {
9353
9588
  protected get [id](): number;
@@ -9436,6 +9671,13 @@ export declare class PrivacyValueAllowCloseFriends_ extends _PrivacyRule_ {
9436
9671
  protected get [params](): Params;
9437
9672
  constructor();
9438
9673
  }
9674
+ export declare class PrivacyValueAllowPremium_ extends _PrivacyRule_ {
9675
+ protected get [id](): number;
9676
+ static get [name](): string;
9677
+ static get [paramDesc](): ParamDesc;
9678
+ protected get [params](): Params;
9679
+ constructor();
9680
+ }
9439
9681
  /** Privacy rules */
9440
9682
  export declare class account_PrivacyRules_ extends _account_PrivacyRules_ {
9441
9683
  /** Privacy rules */
@@ -10228,16 +10470,13 @@ export declare class StickerSet_ extends _StickerSet_ {
10228
10470
  official?: true;
10229
10471
  /** Is this a mask stickerset */
10230
10472
  masks?: true;
10231
- /** Is this an animated stickerpack */
10232
- animated?: true;
10233
- /** Is this a video stickerpack */
10234
- videos?: true;
10235
10473
  /** This is a custom emoji stickerset */
10236
10474
  emojis?: true;
10237
10475
  /** Whether the color of this TGS custom emoji stickerset should be changed to the text color when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context. */
10238
10476
  text_color?: true;
10239
10477
  /** If set, this custom emoji stickerset can be used in [channel emoji statuses](https://core.telegram.org/api/emoji-status). */
10240
10478
  channel_emoji_status?: true;
10479
+ creator?: true;
10241
10480
  /** When was this stickerset installed */
10242
10481
  installed_date?: number;
10243
10482
  /** ID of the stickerset */
@@ -10268,11 +10507,10 @@ export declare class StickerSet_ extends _StickerSet_ {
10268
10507
  archived?: true;
10269
10508
  official?: true;
10270
10509
  masks?: true;
10271
- animated?: true;
10272
- videos?: true;
10273
10510
  emojis?: true;
10274
10511
  text_color?: true;
10275
10512
  channel_emoji_status?: true;
10513
+ creator?: true;
10276
10514
  installed_date?: number;
10277
10515
  id: bigint;
10278
10516
  access_hash: bigint;
@@ -10616,6 +10854,28 @@ export declare class KeyboardButtonRequestPeer_ extends _KeyboardButton_ {
10616
10854
  max_quantity: number;
10617
10855
  });
10618
10856
  }
10857
+ export declare class InputKeyboardButtonRequestPeer_ extends _KeyboardButton_ {
10858
+ name_requested?: true;
10859
+ username_requested?: true;
10860
+ photo_requested?: true;
10861
+ text: string;
10862
+ button_id: number;
10863
+ peer_type: enums.RequestPeerType;
10864
+ max_quantity: number;
10865
+ protected get [id](): number;
10866
+ static get [name](): string;
10867
+ static get [paramDesc](): ParamDesc;
10868
+ protected get [params](): Params;
10869
+ constructor(params: {
10870
+ name_requested?: true;
10871
+ username_requested?: true;
10872
+ photo_requested?: true;
10873
+ text: string;
10874
+ button_id: number;
10875
+ peer_type: enums.RequestPeerType;
10876
+ max_quantity: number;
10877
+ });
10878
+ }
10619
10879
  /** Inline keyboard row */
10620
10880
  export declare class KeyboardButtonRow_ extends _KeyboardButtonRow_ {
10621
10881
  /** Bot or inline keyboard buttons */
@@ -14363,6 +14623,7 @@ export declare class PhoneCall_ extends _PhoneCall_ {
14363
14623
  connections: Array<enums.PhoneConnection>;
14364
14624
  /** When was the call actually started */
14365
14625
  start_date: number;
14626
+ custom_parameters?: enums.DataJSON;
14366
14627
  protected get [id](): number;
14367
14628
  static get [name](): string;
14368
14629
  static get [paramDesc](): ParamDesc;
@@ -14380,6 +14641,7 @@ export declare class PhoneCall_ extends _PhoneCall_ {
14380
14641
  protocol: enums.PhoneCallProtocol;
14381
14642
  connections: Array<enums.PhoneConnection>;
14382
14643
  start_date: number;
14644
+ custom_parameters?: enums.DataJSON;
14383
14645
  });
14384
14646
  }
14385
14647
  /** Indicates a discarded phone call */
@@ -19324,6 +19586,7 @@ export declare class SponsoredMessage_ extends _SponsoredMessage_ {
19324
19586
  recommended?: true;
19325
19587
  /** Whether a profile photo bubble should be displayed for this message, like for messages sent in groups. The photo shown in the bubble is obtained either from the peer contained in `from_id`, or from `chat_invite`. */
19326
19588
  show_peer_photo?: true;
19589
+ can_report?: true;
19327
19590
  /** Message ID */
19328
19591
  random_id: Uint8Array;
19329
19592
  /** ID of the sender of the message */
@@ -19357,6 +19620,7 @@ export declare class SponsoredMessage_ extends _SponsoredMessage_ {
19357
19620
  constructor(params: {
19358
19621
  recommended?: true;
19359
19622
  show_peer_photo?: true;
19623
+ can_report?: true;
19360
19624
  random_id: Uint8Array;
19361
19625
  from_id?: enums.Peer;
19362
19626
  chat_invite?: enums.ChatInvite;
@@ -22978,7 +23242,7 @@ export declare class messages_QuickRepliesNotModified_ extends _messages_QuickRe
22978
23242
  export declare class ConnectedBot_ extends _ConnectedBot_ {
22979
23243
  can_reply?: true;
22980
23244
  bot_id: bigint;
22981
- recipients: enums.BusinessRecipients;
23245
+ recipients: enums.BusinessBotRecipients;
22982
23246
  protected get [id](): number;
22983
23247
  static get [name](): string;
22984
23248
  static get [paramDesc](): ParamDesc;
@@ -22986,7 +23250,7 @@ export declare class ConnectedBot_ extends _ConnectedBot_ {
22986
23250
  constructor(params: {
22987
23251
  can_reply?: true;
22988
23252
  bot_id: bigint;
22989
- recipients: enums.BusinessRecipients;
23253
+ recipients: enums.BusinessBotRecipients;
22990
23254
  });
22991
23255
  }
22992
23256
  export declare class account_ConnectedBots_ extends _account_ConnectedBots_ {
@@ -23013,60 +23277,512 @@ export declare class messages_DialogFilters_ extends _messages_DialogFilters_ {
23013
23277
  filters: Array<enums.DialogFilter>;
23014
23278
  });
23015
23279
  }
23016
- export declare const types: {
23017
- Type: typeof Type_;
23018
- TypeX: typeof TypeX_;
23019
- _ResPQ: typeof _ResPQ_;
23020
- _P_Q_inner_data: typeof _P_Q_inner_data_;
23021
- _Server_DH_Params: typeof _Server_DH_Params_;
23022
- _Server_DH_inner_data: typeof _Server_DH_inner_data_;
23023
- _Client_DH_Inner_Data: typeof _Client_DH_Inner_Data_;
23024
- _Set_client_DH_params_answer: typeof _Set_client_DH_params_answer_;
23025
- _BindAuthKeyInner: typeof _BindAuthKeyInner_;
23026
- _RpcError: typeof _RpcError_;
23027
- _RpcDropAnswer: typeof _RpcDropAnswer_;
23028
- _FutureSalt: typeof _FutureSalt_;
23029
- _FutureSalts: typeof _FutureSalts_;
23030
- _Pong: typeof _Pong_;
23031
- _DestroySessionRes: typeof _DestroySessionRes_;
23032
- _NewSession: typeof _NewSession_;
23033
- _Object: typeof _Object_;
23034
- _MsgsAck: typeof _MsgsAck_;
23035
- _BadMsgNotification: typeof _BadMsgNotification_;
23036
- _MsgResendReq: typeof _MsgResendReq_;
23037
- _MsgsStateReq: typeof _MsgsStateReq_;
23038
- _MsgsStateInfo: typeof _MsgsStateInfo_;
23039
- _MsgsAllInfo: typeof _MsgsAllInfo_;
23040
- _MsgDetailedInfo: typeof _MsgDetailedInfo_;
23041
- _DestroyAuthKeyRes: typeof _DestroyAuthKeyRes_;
23042
- _HttpWait: typeof _HttpWait_;
23043
- _True: typeof _True_;
23044
- _Error: typeof _Error_;
23045
- _Null: typeof _Null_;
23046
- _InputPeer: typeof _InputPeer_;
23047
- _InputUser: typeof _InputUser_;
23048
- _InputContact: typeof _InputContact_;
23049
- _InputFile: typeof _InputFile_;
23050
- _InputMedia: typeof _InputMedia_;
23051
- _InputChatPhoto: typeof _InputChatPhoto_;
23052
- _InputGeoPoint: typeof _InputGeoPoint_;
23053
- _InputPhoto: typeof _InputPhoto_;
23054
- _InputFileLocation: typeof _InputFileLocation_;
23055
- _Peer: typeof _Peer_;
23056
- _storage_FileType: typeof _storage_FileType_;
23057
- _User: typeof _User_;
23058
- _UserProfilePhoto: typeof _UserProfilePhoto_;
23059
- _UserStatus: typeof _UserStatus_;
23060
- _Chat: typeof _Chat_;
23061
- _ChatFull: typeof _ChatFull_;
23062
- _ChatParticipant: typeof _ChatParticipant_;
23063
- _ChatParticipants: typeof _ChatParticipants_;
23064
- _ChatPhoto: typeof _ChatPhoto_;
23065
- _Message: typeof _Message_;
23066
- _MessageMedia: typeof _MessageMedia_;
23067
- _MessageAction: typeof _MessageAction_;
23068
- _Dialog: typeof _Dialog_;
23069
- _Photo: typeof _Photo_;
23280
+ export declare class Birthday_ extends _Birthday_ {
23281
+ day: number;
23282
+ month: number;
23283
+ year?: number;
23284
+ protected get [id](): number;
23285
+ static get [name](): string;
23286
+ static get [paramDesc](): ParamDesc;
23287
+ protected get [params](): Params;
23288
+ constructor(params: {
23289
+ day: number;
23290
+ month: number;
23291
+ year?: number;
23292
+ });
23293
+ }
23294
+ export declare class BotBusinessConnection_ extends _BotBusinessConnection_ {
23295
+ can_reply?: true;
23296
+ disabled?: true;
23297
+ connection_id: string;
23298
+ user_id: bigint;
23299
+ dc_id: number;
23300
+ date: number;
23301
+ protected get [id](): number;
23302
+ static get [name](): string;
23303
+ static get [paramDesc](): ParamDesc;
23304
+ protected get [params](): Params;
23305
+ constructor(params: {
23306
+ can_reply?: true;
23307
+ disabled?: true;
23308
+ connection_id: string;
23309
+ user_id: bigint;
23310
+ dc_id: number;
23311
+ date: number;
23312
+ });
23313
+ }
23314
+ export declare class InputBusinessIntro_ extends _InputBusinessIntro_ {
23315
+ title: string;
23316
+ description: string;
23317
+ sticker?: enums.InputDocument;
23318
+ protected get [id](): number;
23319
+ static get [name](): string;
23320
+ static get [paramDesc](): ParamDesc;
23321
+ protected get [params](): Params;
23322
+ constructor(params: {
23323
+ title: string;
23324
+ description: string;
23325
+ sticker?: enums.InputDocument;
23326
+ });
23327
+ }
23328
+ export declare class BusinessIntro_ extends _BusinessIntro_ {
23329
+ title: string;
23330
+ description: string;
23331
+ sticker?: enums.Document;
23332
+ protected get [id](): number;
23333
+ static get [name](): string;
23334
+ static get [paramDesc](): ParamDesc;
23335
+ protected get [params](): Params;
23336
+ constructor(params: {
23337
+ title: string;
23338
+ description: string;
23339
+ sticker?: enums.Document;
23340
+ });
23341
+ }
23342
+ export declare class messages_MyStickers_ extends _messages_MyStickers_ {
23343
+ count: number;
23344
+ sets: Array<enums.StickerSetCovered>;
23345
+ protected get [id](): number;
23346
+ static get [name](): string;
23347
+ static get [paramDesc](): ParamDesc;
23348
+ protected get [params](): Params;
23349
+ constructor(params: {
23350
+ count: number;
23351
+ sets: Array<enums.StickerSetCovered>;
23352
+ });
23353
+ }
23354
+ export declare class InputCollectibleUsername_ extends _InputCollectible_ {
23355
+ username: string;
23356
+ protected get [id](): number;
23357
+ static get [name](): string;
23358
+ static get [paramDesc](): ParamDesc;
23359
+ protected get [params](): Params;
23360
+ constructor(params: {
23361
+ username: string;
23362
+ });
23363
+ }
23364
+ export declare class InputCollectiblePhone_ extends _InputCollectible_ {
23365
+ phone: string;
23366
+ protected get [id](): number;
23367
+ static get [name](): string;
23368
+ static get [paramDesc](): ParamDesc;
23369
+ protected get [params](): Params;
23370
+ constructor(params: {
23371
+ phone: string;
23372
+ });
23373
+ }
23374
+ export declare class fragment_CollectibleInfo_ extends _fragment_CollectibleInfo_ {
23375
+ purchase_date: number;
23376
+ currency: string;
23377
+ amount: bigint;
23378
+ crypto_currency: string;
23379
+ crypto_amount: bigint;
23380
+ url: string;
23381
+ protected get [id](): number;
23382
+ static get [name](): string;
23383
+ static get [paramDesc](): ParamDesc;
23384
+ protected get [params](): Params;
23385
+ constructor(params: {
23386
+ purchase_date: number;
23387
+ currency: string;
23388
+ amount: bigint;
23389
+ crypto_currency: string;
23390
+ crypto_amount: bigint;
23391
+ url: string;
23392
+ });
23393
+ }
23394
+ export declare class InputBusinessBotRecipients_ extends _InputBusinessBotRecipients_ {
23395
+ existing_chats?: true;
23396
+ new_chats?: true;
23397
+ contacts?: true;
23398
+ non_contacts?: true;
23399
+ exclude_selected?: true;
23400
+ users?: Array<enums.InputUser>;
23401
+ exclude_users?: Array<enums.InputUser>;
23402
+ protected get [id](): number;
23403
+ static get [name](): string;
23404
+ static get [paramDesc](): ParamDesc;
23405
+ protected get [params](): Params;
23406
+ constructor(params?: {
23407
+ existing_chats?: true;
23408
+ new_chats?: true;
23409
+ contacts?: true;
23410
+ non_contacts?: true;
23411
+ exclude_selected?: true;
23412
+ users?: Array<enums.InputUser>;
23413
+ exclude_users?: Array<enums.InputUser>;
23414
+ });
23415
+ }
23416
+ export declare class BusinessBotRecipients_ extends _BusinessBotRecipients_ {
23417
+ existing_chats?: true;
23418
+ new_chats?: true;
23419
+ contacts?: true;
23420
+ non_contacts?: true;
23421
+ exclude_selected?: true;
23422
+ users?: Array<bigint>;
23423
+ exclude_users?: Array<bigint>;
23424
+ protected get [id](): number;
23425
+ static get [name](): string;
23426
+ static get [paramDesc](): ParamDesc;
23427
+ protected get [params](): Params;
23428
+ constructor(params?: {
23429
+ existing_chats?: true;
23430
+ new_chats?: true;
23431
+ contacts?: true;
23432
+ non_contacts?: true;
23433
+ exclude_selected?: true;
23434
+ users?: Array<bigint>;
23435
+ exclude_users?: Array<bigint>;
23436
+ });
23437
+ }
23438
+ export declare class ContactBirthday_ extends _ContactBirthday_ {
23439
+ contact_id: bigint;
23440
+ birthday: enums.Birthday;
23441
+ protected get [id](): number;
23442
+ static get [name](): string;
23443
+ static get [paramDesc](): ParamDesc;
23444
+ protected get [params](): Params;
23445
+ constructor(params: {
23446
+ contact_id: bigint;
23447
+ birthday: enums.Birthday;
23448
+ });
23449
+ }
23450
+ export declare class contacts_ContactBirthdays_ extends _contacts_ContactBirthdays_ {
23451
+ contacts: Array<enums.ContactBirthday>;
23452
+ users: Array<enums.User>;
23453
+ protected get [id](): number;
23454
+ static get [name](): string;
23455
+ static get [paramDesc](): ParamDesc;
23456
+ protected get [params](): Params;
23457
+ constructor(params: {
23458
+ contacts: Array<enums.ContactBirthday>;
23459
+ users: Array<enums.User>;
23460
+ });
23461
+ }
23462
+ export declare class MissingInvitee_ extends _MissingInvitee_ {
23463
+ premium_would_allow_invite?: true;
23464
+ premium_required_for_pm?: true;
23465
+ user_id: bigint;
23466
+ protected get [id](): number;
23467
+ static get [name](): string;
23468
+ static get [paramDesc](): ParamDesc;
23469
+ protected get [params](): Params;
23470
+ constructor(params: {
23471
+ premium_would_allow_invite?: true;
23472
+ premium_required_for_pm?: true;
23473
+ user_id: bigint;
23474
+ });
23475
+ }
23476
+ export declare class messages_InvitedUsers_ extends _messages_InvitedUsers_ {
23477
+ updates: enums.Updates;
23478
+ missing_invitees: Array<enums.MissingInvitee>;
23479
+ protected get [id](): number;
23480
+ static get [name](): string;
23481
+ static get [paramDesc](): ParamDesc;
23482
+ protected get [params](): Params;
23483
+ constructor(params: {
23484
+ updates: enums.Updates;
23485
+ missing_invitees: Array<enums.MissingInvitee>;
23486
+ });
23487
+ }
23488
+ export declare class InputBusinessChatLink_ extends _InputBusinessChatLink_ {
23489
+ message: string;
23490
+ entities?: Array<enums.MessageEntity>;
23491
+ title?: string;
23492
+ protected get [id](): number;
23493
+ static get [name](): string;
23494
+ static get [paramDesc](): ParamDesc;
23495
+ protected get [params](): Params;
23496
+ constructor(params: {
23497
+ message: string;
23498
+ entities?: Array<enums.MessageEntity>;
23499
+ title?: string;
23500
+ });
23501
+ }
23502
+ export declare class BusinessChatLink_ extends _BusinessChatLink_ {
23503
+ link: string;
23504
+ message: string;
23505
+ entities?: Array<enums.MessageEntity>;
23506
+ title?: string;
23507
+ views: number;
23508
+ protected get [id](): number;
23509
+ static get [name](): string;
23510
+ static get [paramDesc](): ParamDesc;
23511
+ protected get [params](): Params;
23512
+ constructor(params: {
23513
+ link: string;
23514
+ message: string;
23515
+ entities?: Array<enums.MessageEntity>;
23516
+ title?: string;
23517
+ views: number;
23518
+ });
23519
+ }
23520
+ export declare class account_BusinessChatLinks_ extends _account_BusinessChatLinks_ {
23521
+ links: Array<enums.BusinessChatLink>;
23522
+ chats: Array<enums.Chat>;
23523
+ users: Array<enums.User>;
23524
+ protected get [id](): number;
23525
+ static get [name](): string;
23526
+ static get [paramDesc](): ParamDesc;
23527
+ protected get [params](): Params;
23528
+ constructor(params: {
23529
+ links: Array<enums.BusinessChatLink>;
23530
+ chats: Array<enums.Chat>;
23531
+ users: Array<enums.User>;
23532
+ });
23533
+ }
23534
+ export declare class account_ResolvedBusinessChatLinks_ extends _account_ResolvedBusinessChatLinks_ {
23535
+ peer: enums.Peer;
23536
+ message: string;
23537
+ entities?: Array<enums.MessageEntity>;
23538
+ chats: Array<enums.Chat>;
23539
+ users: Array<enums.User>;
23540
+ protected get [id](): number;
23541
+ static get [name](): string;
23542
+ static get [paramDesc](): ParamDesc;
23543
+ protected get [params](): Params;
23544
+ constructor(params: {
23545
+ peer: enums.Peer;
23546
+ message: string;
23547
+ entities?: Array<enums.MessageEntity>;
23548
+ chats: Array<enums.Chat>;
23549
+ users: Array<enums.User>;
23550
+ });
23551
+ }
23552
+ export declare class RequestedPeerUser_ extends _RequestedPeer_ {
23553
+ user_id: bigint;
23554
+ first_name?: string;
23555
+ last_name?: string;
23556
+ username?: string;
23557
+ photo?: enums.Photo;
23558
+ protected get [id](): number;
23559
+ static get [name](): string;
23560
+ static get [paramDesc](): ParamDesc;
23561
+ protected get [params](): Params;
23562
+ constructor(params: {
23563
+ user_id: bigint;
23564
+ first_name?: string;
23565
+ last_name?: string;
23566
+ username?: string;
23567
+ photo?: enums.Photo;
23568
+ });
23569
+ }
23570
+ export declare class RequestedPeerChat_ extends _RequestedPeer_ {
23571
+ chat_id: bigint;
23572
+ title?: string;
23573
+ photo?: enums.Photo;
23574
+ protected get [id](): number;
23575
+ static get [name](): string;
23576
+ static get [paramDesc](): ParamDesc;
23577
+ protected get [params](): Params;
23578
+ constructor(params: {
23579
+ chat_id: bigint;
23580
+ title?: string;
23581
+ photo?: enums.Photo;
23582
+ });
23583
+ }
23584
+ export declare class RequestedPeerChannel_ extends _RequestedPeer_ {
23585
+ channel_id: bigint;
23586
+ title?: string;
23587
+ username?: string;
23588
+ photo?: enums.Photo;
23589
+ protected get [id](): number;
23590
+ static get [name](): string;
23591
+ static get [paramDesc](): ParamDesc;
23592
+ protected get [params](): Params;
23593
+ constructor(params: {
23594
+ channel_id: bigint;
23595
+ title?: string;
23596
+ username?: string;
23597
+ photo?: enums.Photo;
23598
+ });
23599
+ }
23600
+ export declare class SponsoredMessageReportOption_ extends _SponsoredMessageReportOption_ {
23601
+ text: string;
23602
+ option: Uint8Array;
23603
+ protected get [id](): number;
23604
+ static get [name](): string;
23605
+ static get [paramDesc](): ParamDesc;
23606
+ protected get [params](): Params;
23607
+ constructor(params: {
23608
+ text: string;
23609
+ option: Uint8Array;
23610
+ });
23611
+ }
23612
+ export declare class channels_SponsoredMessageReportResultChooseOption_ extends _channels_SponsoredMessageReportResult_ {
23613
+ title: string;
23614
+ options: Array<enums.SponsoredMessageReportOption>;
23615
+ protected get [id](): number;
23616
+ static get [name](): string;
23617
+ static get [paramDesc](): ParamDesc;
23618
+ protected get [params](): Params;
23619
+ constructor(params: {
23620
+ title: string;
23621
+ options: Array<enums.SponsoredMessageReportOption>;
23622
+ });
23623
+ }
23624
+ export declare class channels_SponsoredMessageReportResultAdsHidden_ extends _channels_SponsoredMessageReportResult_ {
23625
+ protected get [id](): number;
23626
+ static get [name](): string;
23627
+ static get [paramDesc](): ParamDesc;
23628
+ protected get [params](): Params;
23629
+ constructor();
23630
+ }
23631
+ export declare class channels_SponsoredMessageReportResultReported_ extends _channels_SponsoredMessageReportResult_ {
23632
+ protected get [id](): number;
23633
+ static get [name](): string;
23634
+ static get [paramDesc](): ParamDesc;
23635
+ protected get [params](): Params;
23636
+ constructor();
23637
+ }
23638
+ export declare class stats_BroadcastRevenueStats_ extends _stats_BroadcastRevenueStats_ {
23639
+ top_hours_graph: enums.StatsGraph;
23640
+ revenue_graph: enums.StatsGraph;
23641
+ current_balance: bigint;
23642
+ available_balance: bigint;
23643
+ overall_revenue: bigint;
23644
+ usd_rate: number;
23645
+ protected get [id](): number;
23646
+ static get [name](): string;
23647
+ static get [paramDesc](): ParamDesc;
23648
+ protected get [params](): Params;
23649
+ constructor(params: {
23650
+ top_hours_graph: enums.StatsGraph;
23651
+ revenue_graph: enums.StatsGraph;
23652
+ current_balance: bigint;
23653
+ available_balance: bigint;
23654
+ overall_revenue: bigint;
23655
+ usd_rate: number;
23656
+ });
23657
+ }
23658
+ export declare class stats_BroadcastRevenueWithdrawalUrl_ extends _stats_BroadcastRevenueWithdrawalUrl_ {
23659
+ url: string;
23660
+ protected get [id](): number;
23661
+ static get [name](): string;
23662
+ static get [paramDesc](): ParamDesc;
23663
+ protected get [params](): Params;
23664
+ constructor(params: {
23665
+ url: string;
23666
+ });
23667
+ }
23668
+ export declare class BroadcastRevenueTransactionProceeds_ extends _BroadcastRevenueTransaction_ {
23669
+ amount: bigint;
23670
+ from_date: number;
23671
+ to_date: number;
23672
+ protected get [id](): number;
23673
+ static get [name](): string;
23674
+ static get [paramDesc](): ParamDesc;
23675
+ protected get [params](): Params;
23676
+ constructor(params: {
23677
+ amount: bigint;
23678
+ from_date: number;
23679
+ to_date: number;
23680
+ });
23681
+ }
23682
+ export declare class BroadcastRevenueTransactionWithdrawal_ extends _BroadcastRevenueTransaction_ {
23683
+ pending?: true;
23684
+ failed?: true;
23685
+ amount: bigint;
23686
+ date: number;
23687
+ provider: string;
23688
+ transaction_date?: number;
23689
+ transaction_url?: string;
23690
+ protected get [id](): number;
23691
+ static get [name](): string;
23692
+ static get [paramDesc](): ParamDesc;
23693
+ protected get [params](): Params;
23694
+ constructor(params: {
23695
+ pending?: true;
23696
+ failed?: true;
23697
+ amount: bigint;
23698
+ date: number;
23699
+ provider: string;
23700
+ transaction_date?: number;
23701
+ transaction_url?: string;
23702
+ });
23703
+ }
23704
+ export declare class BroadcastRevenueTransactionRefund_ extends _BroadcastRevenueTransaction_ {
23705
+ amount: bigint;
23706
+ date: number;
23707
+ provider: string;
23708
+ protected get [id](): number;
23709
+ static get [name](): string;
23710
+ static get [paramDesc](): ParamDesc;
23711
+ protected get [params](): Params;
23712
+ constructor(params: {
23713
+ amount: bigint;
23714
+ date: number;
23715
+ provider: string;
23716
+ });
23717
+ }
23718
+ export declare class stats_BroadcastRevenueTransactions_ extends _stats_BroadcastRevenueTransactions_ {
23719
+ count: number;
23720
+ transactions: Array<enums.BroadcastRevenueTransaction>;
23721
+ protected get [id](): number;
23722
+ static get [name](): string;
23723
+ static get [paramDesc](): ParamDesc;
23724
+ protected get [params](): Params;
23725
+ constructor(params: {
23726
+ count: number;
23727
+ transactions: Array<enums.BroadcastRevenueTransaction>;
23728
+ });
23729
+ }
23730
+ export declare const types: {
23731
+ Type: typeof Type_;
23732
+ TypeX: typeof TypeX_;
23733
+ _ResPQ: typeof _ResPQ_;
23734
+ _P_Q_inner_data: typeof _P_Q_inner_data_;
23735
+ _Server_DH_Params: typeof _Server_DH_Params_;
23736
+ _Server_DH_inner_data: typeof _Server_DH_inner_data_;
23737
+ _Client_DH_Inner_Data: typeof _Client_DH_Inner_Data_;
23738
+ _Set_client_DH_params_answer: typeof _Set_client_DH_params_answer_;
23739
+ _BindAuthKeyInner: typeof _BindAuthKeyInner_;
23740
+ _RpcError: typeof _RpcError_;
23741
+ _RpcDropAnswer: typeof _RpcDropAnswer_;
23742
+ _FutureSalt: typeof _FutureSalt_;
23743
+ _FutureSalts: typeof _FutureSalts_;
23744
+ _Pong: typeof _Pong_;
23745
+ _DestroySessionRes: typeof _DestroySessionRes_;
23746
+ _NewSession: typeof _NewSession_;
23747
+ _Object: typeof _Object_;
23748
+ _MsgsAck: typeof _MsgsAck_;
23749
+ _BadMsgNotification: typeof _BadMsgNotification_;
23750
+ _MsgResendReq: typeof _MsgResendReq_;
23751
+ _MsgsStateReq: typeof _MsgsStateReq_;
23752
+ _MsgsStateInfo: typeof _MsgsStateInfo_;
23753
+ _MsgsAllInfo: typeof _MsgsAllInfo_;
23754
+ _MsgDetailedInfo: typeof _MsgDetailedInfo_;
23755
+ _DestroyAuthKeyRes: typeof _DestroyAuthKeyRes_;
23756
+ _HttpWait: typeof _HttpWait_;
23757
+ _True: typeof _True_;
23758
+ _Error: typeof _Error_;
23759
+ _IpPort: typeof _IpPort_;
23760
+ _AccessPointRule: typeof _AccessPointRule_;
23761
+ _help_ConfigSimple: typeof _help_ConfigSimple_;
23762
+ _InputFileLocation: typeof _InputFileLocation_;
23763
+ _InputPeer: typeof _InputPeer_;
23764
+ _InputUser: typeof _InputUser_;
23765
+ _InputContact: typeof _InputContact_;
23766
+ _InputFile: typeof _InputFile_;
23767
+ _InputMedia: typeof _InputMedia_;
23768
+ _InputChatPhoto: typeof _InputChatPhoto_;
23769
+ _InputGeoPoint: typeof _InputGeoPoint_;
23770
+ _InputPhoto: typeof _InputPhoto_;
23771
+ _Peer: typeof _Peer_;
23772
+ _storage_FileType: typeof _storage_FileType_;
23773
+ _User: typeof _User_;
23774
+ _UserProfilePhoto: typeof _UserProfilePhoto_;
23775
+ _UserStatus: typeof _UserStatus_;
23776
+ _Chat: typeof _Chat_;
23777
+ _ChatFull: typeof _ChatFull_;
23778
+ _ChatParticipant: typeof _ChatParticipant_;
23779
+ _ChatParticipants: typeof _ChatParticipants_;
23780
+ _ChatPhoto: typeof _ChatPhoto_;
23781
+ _Message: typeof _Message_;
23782
+ _MessageMedia: typeof _MessageMedia_;
23783
+ _MessageAction: typeof _MessageAction_;
23784
+ _Dialog: typeof _Dialog_;
23785
+ _Photo: typeof _Photo_;
23070
23786
  _PhotoSize: typeof _PhotoSize_;
23071
23787
  _GeoPoint: typeof _GeoPoint_;
23072
23788
  _auth_SentCode: typeof _auth_SentCode_;
@@ -23500,6 +24216,30 @@ export declare const types: {
23500
24216
  _ConnectedBot: typeof _ConnectedBot_;
23501
24217
  _account_ConnectedBots: typeof _account_ConnectedBots_;
23502
24218
  _messages_DialogFilters: typeof _messages_DialogFilters_;
24219
+ _Birthday: typeof _Birthday_;
24220
+ _BotBusinessConnection: typeof _BotBusinessConnection_;
24221
+ _InputBusinessIntro: typeof _InputBusinessIntro_;
24222
+ _BusinessIntro: typeof _BusinessIntro_;
24223
+ _messages_MyStickers: typeof _messages_MyStickers_;
24224
+ _InputCollectible: typeof _InputCollectible_;
24225
+ _fragment_CollectibleInfo: typeof _fragment_CollectibleInfo_;
24226
+ _InputBusinessBotRecipients: typeof _InputBusinessBotRecipients_;
24227
+ _BusinessBotRecipients: typeof _BusinessBotRecipients_;
24228
+ _ContactBirthday: typeof _ContactBirthday_;
24229
+ _contacts_ContactBirthdays: typeof _contacts_ContactBirthdays_;
24230
+ _MissingInvitee: typeof _MissingInvitee_;
24231
+ _messages_InvitedUsers: typeof _messages_InvitedUsers_;
24232
+ _InputBusinessChatLink: typeof _InputBusinessChatLink_;
24233
+ _BusinessChatLink: typeof _BusinessChatLink_;
24234
+ _account_BusinessChatLinks: typeof _account_BusinessChatLinks_;
24235
+ _account_ResolvedBusinessChatLinks: typeof _account_ResolvedBusinessChatLinks_;
24236
+ _RequestedPeer: typeof _RequestedPeer_;
24237
+ _SponsoredMessageReportOption: typeof _SponsoredMessageReportOption_;
24238
+ _channels_SponsoredMessageReportResult: typeof _channels_SponsoredMessageReportResult_;
24239
+ _stats_BroadcastRevenueStats: typeof _stats_BroadcastRevenueStats_;
24240
+ _stats_BroadcastRevenueWithdrawalUrl: typeof _stats_BroadcastRevenueWithdrawalUrl_;
24241
+ _BroadcastRevenueTransaction: typeof _BroadcastRevenueTransaction_;
24242
+ _stats_BroadcastRevenueTransactions: typeof _stats_BroadcastRevenueTransactions_;
23503
24243
  ResPQ: typeof ResPQ_;
23504
24244
  P_q_inner_data_dc: typeof P_q_inner_data_dc_;
23505
24245
  P_q_inner_data_temp_dc: typeof P_q_inner_data_temp_dc_;
@@ -23536,7 +24276,11 @@ export declare const types: {
23536
24276
  Http_wait: typeof Http_wait_;
23537
24277
  True: typeof True_;
23538
24278
  Error: typeof Error_;
23539
- Null: typeof Null_;
24279
+ IpPort: typeof IpPort_;
24280
+ IpPortSecret: typeof IpPortSecret_;
24281
+ AccessPointRule: typeof AccessPointRule_;
24282
+ InputPeerPhotoFileLocationLegacy: typeof InputPeerPhotoFileLocationLegacy_;
24283
+ InputStickerSetThumbLegacy: typeof InputStickerSetThumbLegacy_;
23540
24284
  InputPeerEmpty: typeof InputPeerEmpty_;
23541
24285
  InputPeerSelf: typeof InputPeerSelf_;
23542
24286
  InputPeerChat: typeof InputPeerChat_;
@@ -23673,6 +24417,7 @@ export declare const types: {
23673
24417
  MessageActionGiveawayLaunch: typeof MessageActionGiveawayLaunch_;
23674
24418
  MessageActionGiveawayResults: typeof MessageActionGiveawayResults_;
23675
24419
  MessageActionBoostApply: typeof MessageActionBoostApply_;
24420
+ MessageActionRequestedPeerSentMe: typeof MessageActionRequestedPeerSentMe_;
23676
24421
  Dialog: typeof Dialog_;
23677
24422
  DialogFolder: typeof DialogFolder_;
23678
24423
  PhotoEmpty: typeof PhotoEmpty_;
@@ -23837,7 +24582,6 @@ export declare const types: {
23837
24582
  UpdateChannelPinnedTopics: typeof UpdateChannelPinnedTopics_;
23838
24583
  UpdateUser: typeof UpdateUser_;
23839
24584
  UpdateAutoSaveSettings: typeof UpdateAutoSaveSettings_;
23840
- UpdateGroupInvitePrivacyForbidden: typeof UpdateGroupInvitePrivacyForbidden_;
23841
24585
  UpdateStory: typeof UpdateStory_;
23842
24586
  UpdateReadStories: typeof UpdateReadStories_;
23843
24587
  UpdateStoryID: typeof UpdateStoryID_;
@@ -23857,6 +24601,10 @@ export declare const types: {
23857
24601
  UpdateDeleteQuickReply: typeof UpdateDeleteQuickReply_;
23858
24602
  UpdateQuickReplyMessage: typeof UpdateQuickReplyMessage_;
23859
24603
  UpdateDeleteQuickReplyMessages: typeof UpdateDeleteQuickReplyMessages_;
24604
+ UpdateBotBusinessConnect: typeof UpdateBotBusinessConnect_;
24605
+ UpdateBotNewBusinessMessage: typeof UpdateBotNewBusinessMessage_;
24606
+ UpdateBotEditBusinessMessage: typeof UpdateBotEditBusinessMessage_;
24607
+ UpdateBotDeleteBusinessMessage: typeof UpdateBotDeleteBusinessMessage_;
23860
24608
  UpdatesTooLong: typeof UpdatesTooLong_;
23861
24609
  UpdateShortMessage: typeof UpdateShortMessage_;
23862
24610
  UpdateShortChatMessage: typeof UpdateShortChatMessage_;
@@ -23918,6 +24666,7 @@ export declare const types: {
23918
24666
  InputPrivacyKeyAddedByPhone: typeof InputPrivacyKeyAddedByPhone_;
23919
24667
  InputPrivacyKeyVoiceMessages: typeof InputPrivacyKeyVoiceMessages_;
23920
24668
  InputPrivacyKeyAbout: typeof InputPrivacyKeyAbout_;
24669
+ InputPrivacyKeyBirthday: typeof InputPrivacyKeyBirthday_;
23921
24670
  PrivacyKeyStatusTimestamp: typeof PrivacyKeyStatusTimestamp_;
23922
24671
  PrivacyKeyChatInvite: typeof PrivacyKeyChatInvite_;
23923
24672
  PrivacyKeyPhoneCall: typeof PrivacyKeyPhoneCall_;
@@ -23928,6 +24677,7 @@ export declare const types: {
23928
24677
  PrivacyKeyAddedByPhone: typeof PrivacyKeyAddedByPhone_;
23929
24678
  PrivacyKeyVoiceMessages: typeof PrivacyKeyVoiceMessages_;
23930
24679
  PrivacyKeyAbout: typeof PrivacyKeyAbout_;
24680
+ PrivacyKeyBirthday: typeof PrivacyKeyBirthday_;
23931
24681
  InputPrivacyValueAllowContacts: typeof InputPrivacyValueAllowContacts_;
23932
24682
  InputPrivacyValueAllowAll: typeof InputPrivacyValueAllowAll_;
23933
24683
  InputPrivacyValueAllowUsers: typeof InputPrivacyValueAllowUsers_;
@@ -23937,6 +24687,7 @@ export declare const types: {
23937
24687
  InputPrivacyValueAllowChatParticipants: typeof InputPrivacyValueAllowChatParticipants_;
23938
24688
  InputPrivacyValueDisallowChatParticipants: typeof InputPrivacyValueDisallowChatParticipants_;
23939
24689
  InputPrivacyValueAllowCloseFriends: typeof InputPrivacyValueAllowCloseFriends_;
24690
+ InputPrivacyValueAllowPremium: typeof InputPrivacyValueAllowPremium_;
23940
24691
  PrivacyValueAllowContacts: typeof PrivacyValueAllowContacts_;
23941
24692
  PrivacyValueAllowAll: typeof PrivacyValueAllowAll_;
23942
24693
  PrivacyValueAllowUsers: typeof PrivacyValueAllowUsers_;
@@ -23946,6 +24697,7 @@ export declare const types: {
23946
24697
  PrivacyValueAllowChatParticipants: typeof PrivacyValueAllowChatParticipants_;
23947
24698
  PrivacyValueDisallowChatParticipants: typeof PrivacyValueDisallowChatParticipants_;
23948
24699
  PrivacyValueAllowCloseFriends: typeof PrivacyValueAllowCloseFriends_;
24700
+ PrivacyValueAllowPremium: typeof PrivacyValueAllowPremium_;
23949
24701
  AccountDaysTTL: typeof AccountDaysTTL_;
23950
24702
  DocumentAttributeImageSize: typeof DocumentAttributeImageSize_;
23951
24703
  DocumentAttributeAnimated: typeof DocumentAttributeAnimated_;
@@ -23997,6 +24749,7 @@ export declare const types: {
23997
24749
  KeyboardButtonWebView: typeof KeyboardButtonWebView_;
23998
24750
  KeyboardButtonSimpleWebView: typeof KeyboardButtonSimpleWebView_;
23999
24751
  KeyboardButtonRequestPeer: typeof KeyboardButtonRequestPeer_;
24752
+ InputKeyboardButtonRequestPeer: typeof InputKeyboardButtonRequestPeer_;
24000
24753
  KeyboardButtonRow: typeof KeyboardButtonRow_;
24001
24754
  ReplyKeyboardHide: typeof ReplyKeyboardHide_;
24002
24755
  ReplyKeyboardForceReply: typeof ReplyKeyboardForceReply_;
@@ -24530,6 +25283,59 @@ export declare const types: {
24530
25283
  InputQuickReplyShortcut: typeof InputQuickReplyShortcut_;
24531
25284
  InputQuickReplyShortcutId: typeof InputQuickReplyShortcutId_;
24532
25285
  ConnectedBot: typeof ConnectedBot_;
25286
+ Birthday: typeof Birthday_;
25287
+ BotBusinessConnection: typeof BotBusinessConnection_;
25288
+ InputBusinessIntro: typeof InputBusinessIntro_;
25289
+ BusinessIntro: typeof BusinessIntro_;
25290
+ InputCollectibleUsername: typeof InputCollectibleUsername_;
25291
+ InputCollectiblePhone: typeof InputCollectiblePhone_;
25292
+ InputBusinessBotRecipients: typeof InputBusinessBotRecipients_;
25293
+ BusinessBotRecipients: typeof BusinessBotRecipients_;
25294
+ ContactBirthday: typeof ContactBirthday_;
25295
+ MissingInvitee: typeof MissingInvitee_;
25296
+ InputBusinessChatLink: typeof InputBusinessChatLink_;
25297
+ BusinessChatLink: typeof BusinessChatLink_;
25298
+ RequestedPeerUser: typeof RequestedPeerUser_;
25299
+ RequestedPeerChat: typeof RequestedPeerChat_;
25300
+ RequestedPeerChannel: typeof RequestedPeerChannel_;
25301
+ SponsoredMessageReportOption: typeof SponsoredMessageReportOption_;
25302
+ BroadcastRevenueTransactionProceeds: typeof BroadcastRevenueTransactionProceeds_;
25303
+ BroadcastRevenueTransactionWithdrawal: typeof BroadcastRevenueTransactionWithdrawal_;
25304
+ BroadcastRevenueTransactionRefund: typeof BroadcastRevenueTransactionRefund_;
25305
+ help: {
25306
+ ConfigSimple: typeof help_ConfigSimple_;
25307
+ AppUpdate: typeof help_AppUpdate_;
25308
+ NoAppUpdate: typeof help_NoAppUpdate_;
25309
+ InviteText: typeof help_InviteText_;
25310
+ Support: typeof help_Support_;
25311
+ TermsOfService: typeof help_TermsOfService_;
25312
+ RecentMeUrls: typeof help_RecentMeUrls_;
25313
+ TermsOfServiceUpdateEmpty: typeof help_TermsOfServiceUpdateEmpty_;
25314
+ TermsOfServiceUpdate: typeof help_TermsOfServiceUpdate_;
25315
+ DeepLinkInfoEmpty: typeof help_DeepLinkInfoEmpty_;
25316
+ DeepLinkInfo: typeof help_DeepLinkInfo_;
25317
+ PassportConfigNotModified: typeof help_PassportConfigNotModified_;
25318
+ PassportConfig: typeof help_PassportConfig_;
25319
+ SupportName: typeof help_SupportName_;
25320
+ UserInfoEmpty: typeof help_UserInfoEmpty_;
25321
+ UserInfo: typeof help_UserInfo_;
25322
+ PromoDataEmpty: typeof help_PromoDataEmpty_;
25323
+ PromoData: typeof help_PromoData_;
25324
+ CountryCode: typeof help_CountryCode_;
25325
+ Country: typeof help_Country_;
25326
+ CountriesListNotModified: typeof help_CountriesListNotModified_;
25327
+ CountriesList: typeof help_CountriesList_;
25328
+ PremiumPromo: typeof help_PremiumPromo_;
25329
+ AppConfigNotModified: typeof help_AppConfigNotModified_;
25330
+ AppConfig: typeof help_AppConfig_;
25331
+ PeerColorSet: typeof help_PeerColorSet_;
25332
+ PeerColorProfileSet: typeof help_PeerColorProfileSet_;
25333
+ PeerColorOption: typeof help_PeerColorOption_;
25334
+ PeerColorsNotModified: typeof help_PeerColorsNotModified_;
25335
+ PeerColors: typeof help_PeerColors_;
25336
+ TimezonesListNotModified: typeof help_TimezonesListNotModified_;
25337
+ TimezonesList: typeof help_TimezonesList_;
25338
+ };
24533
25339
  storage: {
24534
25340
  FileUnknown: typeof storage_FileUnknown_;
24535
25341
  FilePartial: typeof storage_FilePartial_;
@@ -24579,6 +25385,7 @@ export declare const types: {
24579
25385
  TopPeersNotModified: typeof contacts_TopPeersNotModified_;
24580
25386
  TopPeers: typeof contacts_TopPeers_;
24581
25387
  TopPeersDisabled: typeof contacts_TopPeersDisabled_;
25388
+ ContactBirthdays: typeof contacts_ContactBirthdays_;
24582
25389
  };
24583
25390
  messages: {
24584
25391
  Dialogs: typeof messages_Dialogs_;
@@ -24660,6 +25467,8 @@ export declare const types: {
24660
25467
  QuickReplies: typeof messages_QuickReplies_;
24661
25468
  QuickRepliesNotModified: typeof messages_QuickRepliesNotModified_;
24662
25469
  DialogFilters: typeof messages_DialogFilters_;
25470
+ MyStickers: typeof messages_MyStickers_;
25471
+ InvitedUsers: typeof messages_InvitedUsers_;
24663
25472
  };
24664
25473
  updates: {
24665
25474
  State: typeof updates_State_;
@@ -24683,39 +25492,6 @@ export declare const types: {
24683
25492
  CdnFileReuploadNeeded: typeof upload_CdnFileReuploadNeeded_;
24684
25493
  CdnFile: typeof upload_CdnFile_;
24685
25494
  };
24686
- help: {
24687
- AppUpdate: typeof help_AppUpdate_;
24688
- NoAppUpdate: typeof help_NoAppUpdate_;
24689
- InviteText: typeof help_InviteText_;
24690
- Support: typeof help_Support_;
24691
- TermsOfService: typeof help_TermsOfService_;
24692
- RecentMeUrls: typeof help_RecentMeUrls_;
24693
- TermsOfServiceUpdateEmpty: typeof help_TermsOfServiceUpdateEmpty_;
24694
- TermsOfServiceUpdate: typeof help_TermsOfServiceUpdate_;
24695
- DeepLinkInfoEmpty: typeof help_DeepLinkInfoEmpty_;
24696
- DeepLinkInfo: typeof help_DeepLinkInfo_;
24697
- PassportConfigNotModified: typeof help_PassportConfigNotModified_;
24698
- PassportConfig: typeof help_PassportConfig_;
24699
- SupportName: typeof help_SupportName_;
24700
- UserInfoEmpty: typeof help_UserInfoEmpty_;
24701
- UserInfo: typeof help_UserInfo_;
24702
- PromoDataEmpty: typeof help_PromoDataEmpty_;
24703
- PromoData: typeof help_PromoData_;
24704
- CountryCode: typeof help_CountryCode_;
24705
- Country: typeof help_Country_;
24706
- CountriesListNotModified: typeof help_CountriesListNotModified_;
24707
- CountriesList: typeof help_CountriesList_;
24708
- PremiumPromo: typeof help_PremiumPromo_;
24709
- AppConfigNotModified: typeof help_AppConfigNotModified_;
24710
- AppConfig: typeof help_AppConfig_;
24711
- PeerColorSet: typeof help_PeerColorSet_;
24712
- PeerColorProfileSet: typeof help_PeerColorProfileSet_;
24713
- PeerColorOption: typeof help_PeerColorOption_;
24714
- PeerColorsNotModified: typeof help_PeerColorsNotModified_;
24715
- PeerColors: typeof help_PeerColors_;
24716
- TimezonesListNotModified: typeof help_TimezonesListNotModified_;
24717
- TimezonesList: typeof help_TimezonesList_;
24718
- };
24719
25495
  account: {
24720
25496
  PrivacyRules: typeof account_PrivacyRules_;
24721
25497
  Authorizations: typeof account_Authorizations_;
@@ -24746,6 +25522,8 @@ export declare const types: {
24746
25522
  EmailVerifiedLogin: typeof account_EmailVerifiedLogin_;
24747
25523
  AutoSaveSettings: typeof account_AutoSaveSettings_;
24748
25524
  ConnectedBots: typeof account_ConnectedBots_;
25525
+ BusinessChatLinks: typeof account_BusinessChatLinks_;
25526
+ ResolvedBusinessChatLinks: typeof account_ResolvedBusinessChatLinks_;
24749
25527
  };
24750
25528
  channels: {
24751
25529
  ChannelParticipants: typeof channels_ChannelParticipants_;
@@ -24753,6 +25531,9 @@ export declare const types: {
24753
25531
  ChannelParticipant: typeof channels_ChannelParticipant_;
24754
25532
  AdminLogResults: typeof channels_AdminLogResults_;
24755
25533
  SendAsPeers: typeof channels_SendAsPeers_;
25534
+ SponsoredMessageReportResultChooseOption: typeof channels_SponsoredMessageReportResultChooseOption_;
25535
+ SponsoredMessageReportResultAdsHidden: typeof channels_SponsoredMessageReportResultAdsHidden_;
25536
+ SponsoredMessageReportResultReported: typeof channels_SponsoredMessageReportResultReported_;
24756
25537
  };
24757
25538
  payments: {
24758
25539
  PaymentForm: typeof payments_PaymentForm_;
@@ -24782,6 +25563,9 @@ export declare const types: {
24782
25563
  MessageStats: typeof stats_MessageStats_;
24783
25564
  StoryStats: typeof stats_StoryStats_;
24784
25565
  PublicForwards: typeof stats_PublicForwards_;
25566
+ BroadcastRevenueStats: typeof stats_BroadcastRevenueStats_;
25567
+ BroadcastRevenueWithdrawalUrl: typeof stats_BroadcastRevenueWithdrawalUrl_;
25568
+ BroadcastRevenueTransactions: typeof stats_BroadcastRevenueTransactions_;
24785
25569
  };
24786
25570
  stickers: {
24787
25571
  SuggestedShortName: typeof stickers_SuggestedShortName_;
@@ -24817,6 +25601,9 @@ export declare const types: {
24817
25601
  EligibleToJoin: typeof smsjobs_EligibleToJoin_;
24818
25602
  Status: typeof smsjobs_Status_;
24819
25603
  };
25604
+ fragment: {
25605
+ CollectibleInfo: typeof fragment_CollectibleInfo_;
25606
+ };
24820
25607
  };
24821
25608
  export declare namespace types {
24822
25609
  type Type = Type_;
@@ -24847,7 +25634,10 @@ export declare namespace types {
24847
25634
  type _HttpWait = _HttpWait_;
24848
25635
  type _True = _True_;
24849
25636
  type _Error = _Error_;
24850
- type _Null = _Null_;
25637
+ type _IpPort = _IpPort_;
25638
+ type _AccessPointRule = _AccessPointRule_;
25639
+ type _help_ConfigSimple = _help_ConfigSimple_;
25640
+ type _InputFileLocation = _InputFileLocation_;
24851
25641
  type _InputPeer = _InputPeer_;
24852
25642
  type _InputUser = _InputUser_;
24853
25643
  type _InputContact = _InputContact_;
@@ -24856,7 +25646,6 @@ export declare namespace types {
24856
25646
  type _InputChatPhoto = _InputChatPhoto_;
24857
25647
  type _InputGeoPoint = _InputGeoPoint_;
24858
25648
  type _InputPhoto = _InputPhoto_;
24859
- type _InputFileLocation = _InputFileLocation_;
24860
25649
  type _Peer = _Peer_;
24861
25650
  type _storage_FileType = _storage_FileType_;
24862
25651
  type _User = _User_;
@@ -25305,6 +26094,30 @@ export declare namespace types {
25305
26094
  type _ConnectedBot = _ConnectedBot_;
25306
26095
  type _account_ConnectedBots = _account_ConnectedBots_;
25307
26096
  type _messages_DialogFilters = _messages_DialogFilters_;
26097
+ type _Birthday = _Birthday_;
26098
+ type _BotBusinessConnection = _BotBusinessConnection_;
26099
+ type _InputBusinessIntro = _InputBusinessIntro_;
26100
+ type _BusinessIntro = _BusinessIntro_;
26101
+ type _messages_MyStickers = _messages_MyStickers_;
26102
+ type _InputCollectible = _InputCollectible_;
26103
+ type _fragment_CollectibleInfo = _fragment_CollectibleInfo_;
26104
+ type _InputBusinessBotRecipients = _InputBusinessBotRecipients_;
26105
+ type _BusinessBotRecipients = _BusinessBotRecipients_;
26106
+ type _ContactBirthday = _ContactBirthday_;
26107
+ type _contacts_ContactBirthdays = _contacts_ContactBirthdays_;
26108
+ type _MissingInvitee = _MissingInvitee_;
26109
+ type _messages_InvitedUsers = _messages_InvitedUsers_;
26110
+ type _InputBusinessChatLink = _InputBusinessChatLink_;
26111
+ type _BusinessChatLink = _BusinessChatLink_;
26112
+ type _account_BusinessChatLinks = _account_BusinessChatLinks_;
26113
+ type _account_ResolvedBusinessChatLinks = _account_ResolvedBusinessChatLinks_;
26114
+ type _RequestedPeer = _RequestedPeer_;
26115
+ type _SponsoredMessageReportOption = _SponsoredMessageReportOption_;
26116
+ type _channels_SponsoredMessageReportResult = _channels_SponsoredMessageReportResult_;
26117
+ type _stats_BroadcastRevenueStats = _stats_BroadcastRevenueStats_;
26118
+ type _stats_BroadcastRevenueWithdrawalUrl = _stats_BroadcastRevenueWithdrawalUrl_;
26119
+ type _BroadcastRevenueTransaction = _BroadcastRevenueTransaction_;
26120
+ type _stats_BroadcastRevenueTransactions = _stats_BroadcastRevenueTransactions_;
25308
26121
  type ResPQ = ResPQ_;
25309
26122
  type P_q_inner_data_dc = P_q_inner_data_dc_;
25310
26123
  type P_q_inner_data_temp_dc = P_q_inner_data_temp_dc_;
@@ -25341,7 +26154,11 @@ export declare namespace types {
25341
26154
  type Http_wait = Http_wait_;
25342
26155
  type True = True_;
25343
26156
  type Error = Error_;
25344
- type Null = Null_;
26157
+ type IpPort = IpPort_;
26158
+ type IpPortSecret = IpPortSecret_;
26159
+ type AccessPointRule = AccessPointRule_;
26160
+ type InputPeerPhotoFileLocationLegacy = InputPeerPhotoFileLocationLegacy_;
26161
+ type InputStickerSetThumbLegacy = InputStickerSetThumbLegacy_;
25345
26162
  type InputPeerEmpty = InputPeerEmpty_;
25346
26163
  type InputPeerSelf = InputPeerSelf_;
25347
26164
  type InputPeerChat = InputPeerChat_;
@@ -25478,6 +26295,7 @@ export declare namespace types {
25478
26295
  type MessageActionGiveawayLaunch = MessageActionGiveawayLaunch_;
25479
26296
  type MessageActionGiveawayResults = MessageActionGiveawayResults_;
25480
26297
  type MessageActionBoostApply = MessageActionBoostApply_;
26298
+ type MessageActionRequestedPeerSentMe = MessageActionRequestedPeerSentMe_;
25481
26299
  type Dialog = Dialog_;
25482
26300
  type DialogFolder = DialogFolder_;
25483
26301
  type PhotoEmpty = PhotoEmpty_;
@@ -25642,7 +26460,6 @@ export declare namespace types {
25642
26460
  type UpdateChannelPinnedTopics = UpdateChannelPinnedTopics_;
25643
26461
  type UpdateUser = UpdateUser_;
25644
26462
  type UpdateAutoSaveSettings = UpdateAutoSaveSettings_;
25645
- type UpdateGroupInvitePrivacyForbidden = UpdateGroupInvitePrivacyForbidden_;
25646
26463
  type UpdateStory = UpdateStory_;
25647
26464
  type UpdateReadStories = UpdateReadStories_;
25648
26465
  type UpdateStoryID = UpdateStoryID_;
@@ -25662,6 +26479,10 @@ export declare namespace types {
25662
26479
  type UpdateDeleteQuickReply = UpdateDeleteQuickReply_;
25663
26480
  type UpdateQuickReplyMessage = UpdateQuickReplyMessage_;
25664
26481
  type UpdateDeleteQuickReplyMessages = UpdateDeleteQuickReplyMessages_;
26482
+ type UpdateBotBusinessConnect = UpdateBotBusinessConnect_;
26483
+ type UpdateBotNewBusinessMessage = UpdateBotNewBusinessMessage_;
26484
+ type UpdateBotEditBusinessMessage = UpdateBotEditBusinessMessage_;
26485
+ type UpdateBotDeleteBusinessMessage = UpdateBotDeleteBusinessMessage_;
25665
26486
  type UpdatesTooLong = UpdatesTooLong_;
25666
26487
  type UpdateShortMessage = UpdateShortMessage_;
25667
26488
  type UpdateShortChatMessage = UpdateShortChatMessage_;
@@ -25723,6 +26544,7 @@ export declare namespace types {
25723
26544
  type InputPrivacyKeyAddedByPhone = InputPrivacyKeyAddedByPhone_;
25724
26545
  type InputPrivacyKeyVoiceMessages = InputPrivacyKeyVoiceMessages_;
25725
26546
  type InputPrivacyKeyAbout = InputPrivacyKeyAbout_;
26547
+ type InputPrivacyKeyBirthday = InputPrivacyKeyBirthday_;
25726
26548
  type PrivacyKeyStatusTimestamp = PrivacyKeyStatusTimestamp_;
25727
26549
  type PrivacyKeyChatInvite = PrivacyKeyChatInvite_;
25728
26550
  type PrivacyKeyPhoneCall = PrivacyKeyPhoneCall_;
@@ -25733,6 +26555,7 @@ export declare namespace types {
25733
26555
  type PrivacyKeyAddedByPhone = PrivacyKeyAddedByPhone_;
25734
26556
  type PrivacyKeyVoiceMessages = PrivacyKeyVoiceMessages_;
25735
26557
  type PrivacyKeyAbout = PrivacyKeyAbout_;
26558
+ type PrivacyKeyBirthday = PrivacyKeyBirthday_;
25736
26559
  type InputPrivacyValueAllowContacts = InputPrivacyValueAllowContacts_;
25737
26560
  type InputPrivacyValueAllowAll = InputPrivacyValueAllowAll_;
25738
26561
  type InputPrivacyValueAllowUsers = InputPrivacyValueAllowUsers_;
@@ -25742,6 +26565,7 @@ export declare namespace types {
25742
26565
  type InputPrivacyValueAllowChatParticipants = InputPrivacyValueAllowChatParticipants_;
25743
26566
  type InputPrivacyValueDisallowChatParticipants = InputPrivacyValueDisallowChatParticipants_;
25744
26567
  type InputPrivacyValueAllowCloseFriends = InputPrivacyValueAllowCloseFriends_;
26568
+ type InputPrivacyValueAllowPremium = InputPrivacyValueAllowPremium_;
25745
26569
  type PrivacyValueAllowContacts = PrivacyValueAllowContacts_;
25746
26570
  type PrivacyValueAllowAll = PrivacyValueAllowAll_;
25747
26571
  type PrivacyValueAllowUsers = PrivacyValueAllowUsers_;
@@ -25751,6 +26575,7 @@ export declare namespace types {
25751
26575
  type PrivacyValueAllowChatParticipants = PrivacyValueAllowChatParticipants_;
25752
26576
  type PrivacyValueDisallowChatParticipants = PrivacyValueDisallowChatParticipants_;
25753
26577
  type PrivacyValueAllowCloseFriends = PrivacyValueAllowCloseFriends_;
26578
+ type PrivacyValueAllowPremium = PrivacyValueAllowPremium_;
25754
26579
  type AccountDaysTTL = AccountDaysTTL_;
25755
26580
  type DocumentAttributeImageSize = DocumentAttributeImageSize_;
25756
26581
  type DocumentAttributeAnimated = DocumentAttributeAnimated_;
@@ -25802,6 +26627,7 @@ export declare namespace types {
25802
26627
  type KeyboardButtonWebView = KeyboardButtonWebView_;
25803
26628
  type KeyboardButtonSimpleWebView = KeyboardButtonSimpleWebView_;
25804
26629
  type KeyboardButtonRequestPeer = KeyboardButtonRequestPeer_;
26630
+ type InputKeyboardButtonRequestPeer = InputKeyboardButtonRequestPeer_;
25805
26631
  type KeyboardButtonRow = KeyboardButtonRow_;
25806
26632
  type ReplyKeyboardHide = ReplyKeyboardHide_;
25807
26633
  type ReplyKeyboardForceReply = ReplyKeyboardForceReply_;
@@ -26335,6 +27161,59 @@ export declare namespace types {
26335
27161
  type InputQuickReplyShortcut = InputQuickReplyShortcut_;
26336
27162
  type InputQuickReplyShortcutId = InputQuickReplyShortcutId_;
26337
27163
  type ConnectedBot = ConnectedBot_;
27164
+ type Birthday = Birthday_;
27165
+ type BotBusinessConnection = BotBusinessConnection_;
27166
+ type InputBusinessIntro = InputBusinessIntro_;
27167
+ type BusinessIntro = BusinessIntro_;
27168
+ type InputCollectibleUsername = InputCollectibleUsername_;
27169
+ type InputCollectiblePhone = InputCollectiblePhone_;
27170
+ type InputBusinessBotRecipients = InputBusinessBotRecipients_;
27171
+ type BusinessBotRecipients = BusinessBotRecipients_;
27172
+ type ContactBirthday = ContactBirthday_;
27173
+ type MissingInvitee = MissingInvitee_;
27174
+ type InputBusinessChatLink = InputBusinessChatLink_;
27175
+ type BusinessChatLink = BusinessChatLink_;
27176
+ type RequestedPeerUser = RequestedPeerUser_;
27177
+ type RequestedPeerChat = RequestedPeerChat_;
27178
+ type RequestedPeerChannel = RequestedPeerChannel_;
27179
+ type SponsoredMessageReportOption = SponsoredMessageReportOption_;
27180
+ type BroadcastRevenueTransactionProceeds = BroadcastRevenueTransactionProceeds_;
27181
+ type BroadcastRevenueTransactionWithdrawal = BroadcastRevenueTransactionWithdrawal_;
27182
+ type BroadcastRevenueTransactionRefund = BroadcastRevenueTransactionRefund_;
27183
+ namespace help {
27184
+ type ConfigSimple = help_ConfigSimple_;
27185
+ type AppUpdate = help_AppUpdate_;
27186
+ type NoAppUpdate = help_NoAppUpdate_;
27187
+ type InviteText = help_InviteText_;
27188
+ type Support = help_Support_;
27189
+ type TermsOfService = help_TermsOfService_;
27190
+ type RecentMeUrls = help_RecentMeUrls_;
27191
+ type TermsOfServiceUpdateEmpty = help_TermsOfServiceUpdateEmpty_;
27192
+ type TermsOfServiceUpdate = help_TermsOfServiceUpdate_;
27193
+ type DeepLinkInfoEmpty = help_DeepLinkInfoEmpty_;
27194
+ type DeepLinkInfo = help_DeepLinkInfo_;
27195
+ type PassportConfigNotModified = help_PassportConfigNotModified_;
27196
+ type PassportConfig = help_PassportConfig_;
27197
+ type SupportName = help_SupportName_;
27198
+ type UserInfoEmpty = help_UserInfoEmpty_;
27199
+ type UserInfo = help_UserInfo_;
27200
+ type PromoDataEmpty = help_PromoDataEmpty_;
27201
+ type PromoData = help_PromoData_;
27202
+ type CountryCode = help_CountryCode_;
27203
+ type Country = help_Country_;
27204
+ type CountriesListNotModified = help_CountriesListNotModified_;
27205
+ type CountriesList = help_CountriesList_;
27206
+ type PremiumPromo = help_PremiumPromo_;
27207
+ type AppConfigNotModified = help_AppConfigNotModified_;
27208
+ type AppConfig = help_AppConfig_;
27209
+ type PeerColorSet = help_PeerColorSet_;
27210
+ type PeerColorProfileSet = help_PeerColorProfileSet_;
27211
+ type PeerColorOption = help_PeerColorOption_;
27212
+ type PeerColorsNotModified = help_PeerColorsNotModified_;
27213
+ type PeerColors = help_PeerColors_;
27214
+ type TimezonesListNotModified = help_TimezonesListNotModified_;
27215
+ type TimezonesList = help_TimezonesList_;
27216
+ }
26338
27217
  namespace storage {
26339
27218
  type FileUnknown = storage_FileUnknown_;
26340
27219
  type FilePartial = storage_FilePartial_;
@@ -26384,6 +27263,7 @@ export declare namespace types {
26384
27263
  type TopPeersNotModified = contacts_TopPeersNotModified_;
26385
27264
  type TopPeers = contacts_TopPeers_;
26386
27265
  type TopPeersDisabled = contacts_TopPeersDisabled_;
27266
+ type ContactBirthdays = contacts_ContactBirthdays_;
26387
27267
  }
26388
27268
  namespace messages {
26389
27269
  type Dialogs = messages_Dialogs_;
@@ -26465,6 +27345,8 @@ export declare namespace types {
26465
27345
  type QuickReplies = messages_QuickReplies_;
26466
27346
  type QuickRepliesNotModified = messages_QuickRepliesNotModified_;
26467
27347
  type DialogFilters = messages_DialogFilters_;
27348
+ type MyStickers = messages_MyStickers_;
27349
+ type InvitedUsers = messages_InvitedUsers_;
26468
27350
  }
26469
27351
  namespace updates {
26470
27352
  type State = updates_State_;
@@ -26488,39 +27370,6 @@ export declare namespace types {
26488
27370
  type CdnFileReuploadNeeded = upload_CdnFileReuploadNeeded_;
26489
27371
  type CdnFile = upload_CdnFile_;
26490
27372
  }
26491
- namespace help {
26492
- type AppUpdate = help_AppUpdate_;
26493
- type NoAppUpdate = help_NoAppUpdate_;
26494
- type InviteText = help_InviteText_;
26495
- type Support = help_Support_;
26496
- type TermsOfService = help_TermsOfService_;
26497
- type RecentMeUrls = help_RecentMeUrls_;
26498
- type TermsOfServiceUpdateEmpty = help_TermsOfServiceUpdateEmpty_;
26499
- type TermsOfServiceUpdate = help_TermsOfServiceUpdate_;
26500
- type DeepLinkInfoEmpty = help_DeepLinkInfoEmpty_;
26501
- type DeepLinkInfo = help_DeepLinkInfo_;
26502
- type PassportConfigNotModified = help_PassportConfigNotModified_;
26503
- type PassportConfig = help_PassportConfig_;
26504
- type SupportName = help_SupportName_;
26505
- type UserInfoEmpty = help_UserInfoEmpty_;
26506
- type UserInfo = help_UserInfo_;
26507
- type PromoDataEmpty = help_PromoDataEmpty_;
26508
- type PromoData = help_PromoData_;
26509
- type CountryCode = help_CountryCode_;
26510
- type Country = help_Country_;
26511
- type CountriesListNotModified = help_CountriesListNotModified_;
26512
- type CountriesList = help_CountriesList_;
26513
- type PremiumPromo = help_PremiumPromo_;
26514
- type AppConfigNotModified = help_AppConfigNotModified_;
26515
- type AppConfig = help_AppConfig_;
26516
- type PeerColorSet = help_PeerColorSet_;
26517
- type PeerColorProfileSet = help_PeerColorProfileSet_;
26518
- type PeerColorOption = help_PeerColorOption_;
26519
- type PeerColorsNotModified = help_PeerColorsNotModified_;
26520
- type PeerColors = help_PeerColors_;
26521
- type TimezonesListNotModified = help_TimezonesListNotModified_;
26522
- type TimezonesList = help_TimezonesList_;
26523
- }
26524
27373
  namespace account {
26525
27374
  type PrivacyRules = account_PrivacyRules_;
26526
27375
  type Authorizations = account_Authorizations_;
@@ -26551,6 +27400,8 @@ export declare namespace types {
26551
27400
  type EmailVerifiedLogin = account_EmailVerifiedLogin_;
26552
27401
  type AutoSaveSettings = account_AutoSaveSettings_;
26553
27402
  type ConnectedBots = account_ConnectedBots_;
27403
+ type BusinessChatLinks = account_BusinessChatLinks_;
27404
+ type ResolvedBusinessChatLinks = account_ResolvedBusinessChatLinks_;
26554
27405
  }
26555
27406
  namespace channels {
26556
27407
  type ChannelParticipants = channels_ChannelParticipants_;
@@ -26558,6 +27409,9 @@ export declare namespace types {
26558
27409
  type ChannelParticipant = channels_ChannelParticipant_;
26559
27410
  type AdminLogResults = channels_AdminLogResults_;
26560
27411
  type SendAsPeers = channels_SendAsPeers_;
27412
+ type SponsoredMessageReportResultChooseOption = channels_SponsoredMessageReportResultChooseOption_;
27413
+ type SponsoredMessageReportResultAdsHidden = channels_SponsoredMessageReportResultAdsHidden_;
27414
+ type SponsoredMessageReportResultReported = channels_SponsoredMessageReportResultReported_;
26561
27415
  }
26562
27416
  namespace payments {
26563
27417
  type PaymentForm = payments_PaymentForm_;
@@ -26587,6 +27441,9 @@ export declare namespace types {
26587
27441
  type MessageStats = stats_MessageStats_;
26588
27442
  type StoryStats = stats_StoryStats_;
26589
27443
  type PublicForwards = stats_PublicForwards_;
27444
+ type BroadcastRevenueStats = stats_BroadcastRevenueStats_;
27445
+ type BroadcastRevenueWithdrawalUrl = stats_BroadcastRevenueWithdrawalUrl_;
27446
+ type BroadcastRevenueTransactions = stats_BroadcastRevenueTransactions_;
26590
27447
  }
26591
27448
  namespace stickers {
26592
27449
  type SuggestedShortName = stickers_SuggestedShortName_;
@@ -26622,6 +27479,9 @@ export declare namespace types {
26622
27479
  type EligibleToJoin = smsjobs_EligibleToJoin_;
26623
27480
  type Status = smsjobs_Status_;
26624
27481
  }
27482
+ namespace fragment {
27483
+ type CollectibleInfo = fragment_CollectibleInfo_;
27484
+ }
26625
27485
  }
26626
27486
  export declare const map: Map<number, TLObjectConstructor<TLObject>>;
26627
27487
  export declare namespace enums {
@@ -26651,7 +27511,9 @@ export declare namespace enums {
26651
27511
  type HttpWait = types.Http_wait;
26652
27512
  type True = types.True;
26653
27513
  type Error = types.Error;
26654
- type Null = types.Null;
27514
+ type IpPort = types.IpPort | types.IpPortSecret;
27515
+ type AccessPointRule = types.AccessPointRule;
27516
+ type InputFileLocation = types.InputPeerPhotoFileLocationLegacy | types.InputStickerSetThumbLegacy | types.InputFileLocation | types.InputEncryptedFileLocation | types.InputDocumentFileLocation | types.InputSecureFileLocation | types.InputTakeoutFileLocation | types.InputPhotoFileLocation | types.InputPhotoLegacyFileLocation | types.InputPeerPhotoFileLocation | types.InputStickerSetThumb | types.InputGroupCallStream;
26655
27517
  type InputPeer = types.InputPeerEmpty | types.InputPeerSelf | types.InputPeerChat | types.InputPeerUser | types.InputPeerChannel | types.InputPeerUserFromMessage | types.InputPeerChannelFromMessage;
26656
27518
  type InputUser = types.InputUserEmpty | types.InputUserSelf | types.InputUser | types.InputUserFromMessage;
26657
27519
  type InputContact = types.InputPhoneContact;
@@ -26660,7 +27522,6 @@ export declare namespace enums {
26660
27522
  type InputChatPhoto = types.InputChatPhotoEmpty | types.InputChatUploadedPhoto | types.InputChatPhoto;
26661
27523
  type InputGeoPoint = types.InputGeoPointEmpty | types.InputGeoPoint;
26662
27524
  type InputPhoto = types.InputPhotoEmpty | types.InputPhoto;
26663
- type InputFileLocation = types.InputFileLocation | types.InputEncryptedFileLocation | types.InputDocumentFileLocation | types.InputSecureFileLocation | types.InputTakeoutFileLocation | types.InputPhotoFileLocation | types.InputPhotoLegacyFileLocation | types.InputPeerPhotoFileLocation | types.InputStickerSetThumb | types.InputGroupCallStream;
26664
27525
  type Peer = types.PeerUser | types.PeerChat | types.PeerChannel;
26665
27526
  type User = types.UserEmpty | types.User;
26666
27527
  type UserProfilePhoto = types.UserProfilePhotoEmpty | types.UserProfilePhoto;
@@ -26672,7 +27533,7 @@ export declare namespace enums {
26672
27533
  type ChatPhoto = types.ChatPhotoEmpty | types.ChatPhoto;
26673
27534
  type Message = types.MessageEmpty | types.Message | types.MessageService;
26674
27535
  type MessageMedia = types.MessageMediaEmpty | types.MessageMediaPhoto | types.MessageMediaGeo | types.MessageMediaContact | types.MessageMediaUnsupported | types.MessageMediaDocument | types.MessageMediaWebPage | types.MessageMediaVenue | types.MessageMediaGame | types.MessageMediaInvoice | types.MessageMediaGeoLive | types.MessageMediaPoll | types.MessageMediaDice | types.MessageMediaStory | types.MessageMediaGiveaway | types.MessageMediaGiveawayResults;
26675
- type MessageAction = types.MessageActionEmpty | types.MessageActionChatCreate | types.MessageActionChatEditTitle | types.MessageActionChatEditPhoto | types.MessageActionChatDeletePhoto | types.MessageActionChatAddUser | types.MessageActionChatDeleteUser | types.MessageActionChatJoinedByLink | types.MessageActionChannelCreate | types.MessageActionChatMigrateTo | types.MessageActionChannelMigrateFrom | types.MessageActionPinMessage | types.MessageActionHistoryClear | types.MessageActionGameScore | types.MessageActionPaymentSentMe | types.MessageActionPaymentSent | types.MessageActionPhoneCall | types.MessageActionScreenshotTaken | types.MessageActionCustomAction | types.MessageActionBotAllowed | types.MessageActionSecureValuesSentMe | types.MessageActionSecureValuesSent | types.MessageActionContactSignUp | types.MessageActionGeoProximityReached | types.MessageActionGroupCall | types.MessageActionInviteToGroupCall | types.MessageActionSetMessagesTTL | types.MessageActionGroupCallScheduled | types.MessageActionSetChatTheme | types.MessageActionChatJoinedByRequest | types.MessageActionWebViewDataSentMe | types.MessageActionWebViewDataSent | types.MessageActionGiftPremium | types.MessageActionTopicCreate | types.MessageActionTopicEdit | types.MessageActionSuggestProfilePhoto | types.MessageActionRequestedPeer | types.MessageActionSetChatWallPaper | types.MessageActionGiftCode | types.MessageActionGiveawayLaunch | types.MessageActionGiveawayResults | types.MessageActionBoostApply;
27536
+ type MessageAction = types.MessageActionEmpty | types.MessageActionChatCreate | types.MessageActionChatEditTitle | types.MessageActionChatEditPhoto | types.MessageActionChatDeletePhoto | types.MessageActionChatAddUser | types.MessageActionChatDeleteUser | types.MessageActionChatJoinedByLink | types.MessageActionChannelCreate | types.MessageActionChatMigrateTo | types.MessageActionChannelMigrateFrom | types.MessageActionPinMessage | types.MessageActionHistoryClear | types.MessageActionGameScore | types.MessageActionPaymentSentMe | types.MessageActionPaymentSent | types.MessageActionPhoneCall | types.MessageActionScreenshotTaken | types.MessageActionCustomAction | types.MessageActionBotAllowed | types.MessageActionSecureValuesSentMe | types.MessageActionSecureValuesSent | types.MessageActionContactSignUp | types.MessageActionGeoProximityReached | types.MessageActionGroupCall | types.MessageActionInviteToGroupCall | types.MessageActionSetMessagesTTL | types.MessageActionGroupCallScheduled | types.MessageActionSetChatTheme | types.MessageActionChatJoinedByRequest | types.MessageActionWebViewDataSentMe | types.MessageActionWebViewDataSent | types.MessageActionGiftPremium | types.MessageActionTopicCreate | types.MessageActionTopicEdit | types.MessageActionSuggestProfilePhoto | types.MessageActionRequestedPeer | types.MessageActionSetChatWallPaper | types.MessageActionGiftCode | types.MessageActionGiveawayLaunch | types.MessageActionGiveawayResults | types.MessageActionBoostApply | types.MessageActionRequestedPeerSentMe;
26676
27537
  type Dialog = types.Dialog | types.DialogFolder;
26677
27538
  type Photo = types.PhotoEmpty | types.Photo;
26678
27539
  type PhotoSize = types.PhotoSizeEmpty | types.PhotoSize | types.PhotoCachedSize | types.PhotoStrippedSize | types.PhotoSizeProgressive | types.PhotoPathSize;
@@ -26688,7 +27549,7 @@ export declare namespace enums {
26688
27549
  type ImportedContact = types.ImportedContact;
26689
27550
  type ContactStatus = types.ContactStatus;
26690
27551
  type MessagesFilter = types.InputMessagesFilterEmpty | types.InputMessagesFilterPhotos | types.InputMessagesFilterVideo | types.InputMessagesFilterPhotoVideo | types.InputMessagesFilterDocument | types.InputMessagesFilterUrl | types.InputMessagesFilterGif | types.InputMessagesFilterVoice | types.InputMessagesFilterMusic | types.InputMessagesFilterChatPhotos | types.InputMessagesFilterPhoneCalls | types.InputMessagesFilterRoundVoice | types.InputMessagesFilterRoundVideo | types.InputMessagesFilterMyMentions | types.InputMessagesFilterGeo | types.InputMessagesFilterContacts | types.InputMessagesFilterPinned;
26691
- type Update = types.UpdateNewMessage | types.UpdateMessageID | types.UpdateDeleteMessages | types.UpdateUserTyping | types.UpdateChatUserTyping | types.UpdateChatParticipants | types.UpdateUserStatus | types.UpdateUserName | types.UpdateNewAuthorization | types.UpdateNewEncryptedMessage | types.UpdateEncryptedChatTyping | types.UpdateEncryption | types.UpdateEncryptedMessagesRead | types.UpdateChatParticipantAdd | types.UpdateChatParticipantDelete | types.UpdateDcOptions | types.UpdateNotifySettings | types.UpdateServiceNotification | types.UpdatePrivacy | types.UpdateUserPhone | types.UpdateReadHistoryInbox | types.UpdateReadHistoryOutbox | types.UpdateWebPage | types.UpdateReadMessagesContents | types.UpdateChannelTooLong | types.UpdateChannel | types.UpdateNewChannelMessage | types.UpdateReadChannelInbox | types.UpdateDeleteChannelMessages | types.UpdateChannelMessageViews | types.UpdateChatParticipantAdmin | types.UpdateNewStickerSet | types.UpdateStickerSetsOrder | types.UpdateStickerSets | types.UpdateSavedGifs | types.UpdateBotInlineQuery | types.UpdateBotInlineSend | types.UpdateEditChannelMessage | types.UpdateBotCallbackQuery | types.UpdateEditMessage | types.UpdateInlineBotCallbackQuery | types.UpdateReadChannelOutbox | types.UpdateDraftMessage | types.UpdateReadFeaturedStickers | types.UpdateRecentStickers | types.UpdateConfig | types.UpdatePtsChanged | types.UpdateChannelWebPage | types.UpdateDialogPinned | types.UpdatePinnedDialogs | types.UpdateBotWebhookJSON | types.UpdateBotWebhookJSONQuery | types.UpdateBotShippingQuery | types.UpdateBotPrecheckoutQuery | types.UpdatePhoneCall | types.UpdateLangPackTooLong | types.UpdateLangPack | types.UpdateFavedStickers | types.UpdateChannelReadMessagesContents | types.UpdateContactsReset | types.UpdateChannelAvailableMessages | types.UpdateDialogUnreadMark | types.UpdateMessagePoll | types.UpdateChatDefaultBannedRights | types.UpdateFolderPeers | types.UpdatePeerSettings | types.UpdatePeerLocated | types.UpdateNewScheduledMessage | types.UpdateDeleteScheduledMessages | types.UpdateTheme | types.UpdateGeoLiveViewed | types.UpdateLoginToken | types.UpdateMessagePollVote | types.UpdateDialogFilter | types.UpdateDialogFilterOrder | types.UpdateDialogFilters | types.UpdatePhoneCallSignalingData | types.UpdateChannelMessageForwards | types.UpdateReadChannelDiscussionInbox | types.UpdateReadChannelDiscussionOutbox | types.UpdatePeerBlocked | types.UpdateChannelUserTyping | types.UpdatePinnedMessages | types.UpdatePinnedChannelMessages | types.UpdateChat | types.UpdateGroupCallParticipants | types.UpdateGroupCall | types.UpdatePeerHistoryTTL | types.UpdateChatParticipant | types.UpdateChannelParticipant | types.UpdateBotStopped | types.UpdateGroupCallConnection | types.UpdateBotCommands | types.UpdatePendingJoinRequests | types.UpdateBotChatInviteRequester | types.UpdateMessageReactions | types.UpdateAttachMenuBots | types.UpdateWebViewResultSent | types.UpdateBotMenuButton | types.UpdateSavedRingtones | types.UpdateTranscribedAudio | types.UpdateReadFeaturedEmojiStickers | types.UpdateUserEmojiStatus | types.UpdateRecentEmojiStatuses | types.UpdateRecentReactions | types.UpdateMoveStickerSetToTop | types.UpdateMessageExtendedMedia | types.UpdateChannelPinnedTopic | types.UpdateChannelPinnedTopics | types.UpdateUser | types.UpdateAutoSaveSettings | types.UpdateGroupInvitePrivacyForbidden | types.UpdateStory | types.UpdateReadStories | types.UpdateStoryID | types.UpdateStoriesStealthMode | types.UpdateSentStoryReaction | types.UpdateBotChatBoost | types.UpdateChannelViewForumAsMessages | types.UpdatePeerWallpaper | types.UpdateBotMessageReaction | types.UpdateBotMessageReactions | types.UpdateSavedDialogPinned | types.UpdatePinnedSavedDialogs | types.UpdateSavedReactionTags | types.UpdateSmsJob | types.UpdateQuickReplies | types.UpdateNewQuickReply | types.UpdateDeleteQuickReply | types.UpdateQuickReplyMessage | types.UpdateDeleteQuickReplyMessages;
27552
+ type Update = types.UpdateNewMessage | types.UpdateMessageID | types.UpdateDeleteMessages | types.UpdateUserTyping | types.UpdateChatUserTyping | types.UpdateChatParticipants | types.UpdateUserStatus | types.UpdateUserName | types.UpdateNewAuthorization | types.UpdateNewEncryptedMessage | types.UpdateEncryptedChatTyping | types.UpdateEncryption | types.UpdateEncryptedMessagesRead | types.UpdateChatParticipantAdd | types.UpdateChatParticipantDelete | types.UpdateDcOptions | types.UpdateNotifySettings | types.UpdateServiceNotification | types.UpdatePrivacy | types.UpdateUserPhone | types.UpdateReadHistoryInbox | types.UpdateReadHistoryOutbox | types.UpdateWebPage | types.UpdateReadMessagesContents | types.UpdateChannelTooLong | types.UpdateChannel | types.UpdateNewChannelMessage | types.UpdateReadChannelInbox | types.UpdateDeleteChannelMessages | types.UpdateChannelMessageViews | types.UpdateChatParticipantAdmin | types.UpdateNewStickerSet | types.UpdateStickerSetsOrder | types.UpdateStickerSets | types.UpdateSavedGifs | types.UpdateBotInlineQuery | types.UpdateBotInlineSend | types.UpdateEditChannelMessage | types.UpdateBotCallbackQuery | types.UpdateEditMessage | types.UpdateInlineBotCallbackQuery | types.UpdateReadChannelOutbox | types.UpdateDraftMessage | types.UpdateReadFeaturedStickers | types.UpdateRecentStickers | types.UpdateConfig | types.UpdatePtsChanged | types.UpdateChannelWebPage | types.UpdateDialogPinned | types.UpdatePinnedDialogs | types.UpdateBotWebhookJSON | types.UpdateBotWebhookJSONQuery | types.UpdateBotShippingQuery | types.UpdateBotPrecheckoutQuery | types.UpdatePhoneCall | types.UpdateLangPackTooLong | types.UpdateLangPack | types.UpdateFavedStickers | types.UpdateChannelReadMessagesContents | types.UpdateContactsReset | types.UpdateChannelAvailableMessages | types.UpdateDialogUnreadMark | types.UpdateMessagePoll | types.UpdateChatDefaultBannedRights | types.UpdateFolderPeers | types.UpdatePeerSettings | types.UpdatePeerLocated | types.UpdateNewScheduledMessage | types.UpdateDeleteScheduledMessages | types.UpdateTheme | types.UpdateGeoLiveViewed | types.UpdateLoginToken | types.UpdateMessagePollVote | types.UpdateDialogFilter | types.UpdateDialogFilterOrder | types.UpdateDialogFilters | types.UpdatePhoneCallSignalingData | types.UpdateChannelMessageForwards | types.UpdateReadChannelDiscussionInbox | types.UpdateReadChannelDiscussionOutbox | types.UpdatePeerBlocked | types.UpdateChannelUserTyping | types.UpdatePinnedMessages | types.UpdatePinnedChannelMessages | types.UpdateChat | types.UpdateGroupCallParticipants | types.UpdateGroupCall | types.UpdatePeerHistoryTTL | types.UpdateChatParticipant | types.UpdateChannelParticipant | types.UpdateBotStopped | types.UpdateGroupCallConnection | types.UpdateBotCommands | types.UpdatePendingJoinRequests | types.UpdateBotChatInviteRequester | types.UpdateMessageReactions | types.UpdateAttachMenuBots | types.UpdateWebViewResultSent | types.UpdateBotMenuButton | types.UpdateSavedRingtones | types.UpdateTranscribedAudio | types.UpdateReadFeaturedEmojiStickers | types.UpdateUserEmojiStatus | types.UpdateRecentEmojiStatuses | types.UpdateRecentReactions | types.UpdateMoveStickerSetToTop | types.UpdateMessageExtendedMedia | types.UpdateChannelPinnedTopic | types.UpdateChannelPinnedTopics | types.UpdateUser | types.UpdateAutoSaveSettings | types.UpdateStory | types.UpdateReadStories | types.UpdateStoryID | types.UpdateStoriesStealthMode | types.UpdateSentStoryReaction | types.UpdateBotChatBoost | types.UpdateChannelViewForumAsMessages | types.UpdatePeerWallpaper | types.UpdateBotMessageReaction | types.UpdateBotMessageReactions | types.UpdateSavedDialogPinned | types.UpdatePinnedSavedDialogs | types.UpdateSavedReactionTags | types.UpdateSmsJob | types.UpdateQuickReplies | types.UpdateNewQuickReply | types.UpdateDeleteQuickReply | types.UpdateQuickReplyMessage | types.UpdateDeleteQuickReplyMessages | types.UpdateBotBusinessConnect | types.UpdateBotNewBusinessMessage | types.UpdateBotEditBusinessMessage | types.UpdateBotDeleteBusinessMessage;
26692
27553
  type Updates = types.UpdatesTooLong | types.UpdateShortMessage | types.UpdateShortChatMessage | types.UpdateShort | types.UpdatesCombined | types.Updates | types.UpdateShortSentMessage;
26693
27554
  type DcOption = types.DcOption;
26694
27555
  type Config = types.Config;
@@ -26702,10 +27563,10 @@ export declare namespace enums {
26702
27563
  type Document = types.DocumentEmpty | types.Document;
26703
27564
  type NotifyPeer = types.NotifyPeer | types.NotifyUsers | types.NotifyChats | types.NotifyBroadcasts | types.NotifyForumTopic;
26704
27565
  type SendMessageAction = types.SendMessageTypingAction | types.SendMessageCancelAction | types.SendMessageRecordVideoAction | types.SendMessageUploadVideoAction | types.SendMessageRecordAudioAction | types.SendMessageUploadAudioAction | types.SendMessageUploadPhotoAction | types.SendMessageUploadDocumentAction | types.SendMessageGeoLocationAction | types.SendMessageChooseContactAction | types.SendMessageGamePlayAction | types.SendMessageRecordRoundAction | types.SendMessageUploadRoundAction | types.SpeakingInGroupCallAction | types.SendMessageHistoryImportAction | types.SendMessageChooseStickerAction | types.SendMessageEmojiInteraction | types.SendMessageEmojiInteractionSeen;
26705
- type InputPrivacyKey = types.InputPrivacyKeyStatusTimestamp | types.InputPrivacyKeyChatInvite | types.InputPrivacyKeyPhoneCall | types.InputPrivacyKeyPhoneP2P | types.InputPrivacyKeyForwards | types.InputPrivacyKeyProfilePhoto | types.InputPrivacyKeyPhoneNumber | types.InputPrivacyKeyAddedByPhone | types.InputPrivacyKeyVoiceMessages | types.InputPrivacyKeyAbout;
26706
- type PrivacyKey = types.PrivacyKeyStatusTimestamp | types.PrivacyKeyChatInvite | types.PrivacyKeyPhoneCall | types.PrivacyKeyPhoneP2P | types.PrivacyKeyForwards | types.PrivacyKeyProfilePhoto | types.PrivacyKeyPhoneNumber | types.PrivacyKeyAddedByPhone | types.PrivacyKeyVoiceMessages | types.PrivacyKeyAbout;
26707
- type InputPrivacyRule = types.InputPrivacyValueAllowContacts | types.InputPrivacyValueAllowAll | types.InputPrivacyValueAllowUsers | types.InputPrivacyValueDisallowContacts | types.InputPrivacyValueDisallowAll | types.InputPrivacyValueDisallowUsers | types.InputPrivacyValueAllowChatParticipants | types.InputPrivacyValueDisallowChatParticipants | types.InputPrivacyValueAllowCloseFriends;
26708
- type PrivacyRule = types.PrivacyValueAllowContacts | types.PrivacyValueAllowAll | types.PrivacyValueAllowUsers | types.PrivacyValueDisallowContacts | types.PrivacyValueDisallowAll | types.PrivacyValueDisallowUsers | types.PrivacyValueAllowChatParticipants | types.PrivacyValueDisallowChatParticipants | types.PrivacyValueAllowCloseFriends;
27566
+ type InputPrivacyKey = types.InputPrivacyKeyStatusTimestamp | types.InputPrivacyKeyChatInvite | types.InputPrivacyKeyPhoneCall | types.InputPrivacyKeyPhoneP2P | types.InputPrivacyKeyForwards | types.InputPrivacyKeyProfilePhoto | types.InputPrivacyKeyPhoneNumber | types.InputPrivacyKeyAddedByPhone | types.InputPrivacyKeyVoiceMessages | types.InputPrivacyKeyAbout | types.InputPrivacyKeyBirthday;
27567
+ type PrivacyKey = types.PrivacyKeyStatusTimestamp | types.PrivacyKeyChatInvite | types.PrivacyKeyPhoneCall | types.PrivacyKeyPhoneP2P | types.PrivacyKeyForwards | types.PrivacyKeyProfilePhoto | types.PrivacyKeyPhoneNumber | types.PrivacyKeyAddedByPhone | types.PrivacyKeyVoiceMessages | types.PrivacyKeyAbout | types.PrivacyKeyBirthday;
27568
+ type InputPrivacyRule = types.InputPrivacyValueAllowContacts | types.InputPrivacyValueAllowAll | types.InputPrivacyValueAllowUsers | types.InputPrivacyValueDisallowContacts | types.InputPrivacyValueDisallowAll | types.InputPrivacyValueDisallowUsers | types.InputPrivacyValueAllowChatParticipants | types.InputPrivacyValueDisallowChatParticipants | types.InputPrivacyValueAllowCloseFriends | types.InputPrivacyValueAllowPremium;
27569
+ type PrivacyRule = types.PrivacyValueAllowContacts | types.PrivacyValueAllowAll | types.PrivacyValueAllowUsers | types.PrivacyValueDisallowContacts | types.PrivacyValueDisallowAll | types.PrivacyValueDisallowUsers | types.PrivacyValueAllowChatParticipants | types.PrivacyValueDisallowChatParticipants | types.PrivacyValueAllowCloseFriends | types.PrivacyValueAllowPremium;
26709
27570
  type AccountDaysTTL = types.AccountDaysTTL;
26710
27571
  type DocumentAttribute = types.DocumentAttributeImageSize | types.DocumentAttributeAnimated | types.DocumentAttributeSticker | types.DocumentAttributeVideo | types.DocumentAttributeAudio | types.DocumentAttributeFilename | types.DocumentAttributeHasStickers | types.DocumentAttributeCustomEmoji;
26711
27572
  type StickerPack = types.StickerPack;
@@ -26718,7 +27579,7 @@ export declare namespace enums {
26718
27579
  type StickerSet = types.StickerSet;
26719
27580
  type BotCommand = types.BotCommand;
26720
27581
  type BotInfo = types.BotInfo;
26721
- type KeyboardButton = types.KeyboardButton | types.KeyboardButtonUrl | types.KeyboardButtonCallback | types.KeyboardButtonRequestPhone | types.KeyboardButtonRequestGeoLocation | types.KeyboardButtonSwitchInline | types.KeyboardButtonGame | types.KeyboardButtonBuy | types.KeyboardButtonUrlAuth | types.InputKeyboardButtonUrlAuth | types.KeyboardButtonRequestPoll | types.InputKeyboardButtonUserProfile | types.KeyboardButtonUserProfile | types.KeyboardButtonWebView | types.KeyboardButtonSimpleWebView | types.KeyboardButtonRequestPeer;
27582
+ type KeyboardButton = types.KeyboardButton | types.KeyboardButtonUrl | types.KeyboardButtonCallback | types.KeyboardButtonRequestPhone | types.KeyboardButtonRequestGeoLocation | types.KeyboardButtonSwitchInline | types.KeyboardButtonGame | types.KeyboardButtonBuy | types.KeyboardButtonUrlAuth | types.InputKeyboardButtonUrlAuth | types.KeyboardButtonRequestPoll | types.InputKeyboardButtonUserProfile | types.KeyboardButtonUserProfile | types.KeyboardButtonWebView | types.KeyboardButtonSimpleWebView | types.KeyboardButtonRequestPeer | types.InputKeyboardButtonRequestPeer;
26722
27583
  type KeyboardButtonRow = types.KeyboardButtonRow;
26723
27584
  type ReplyMarkup = types.ReplyKeyboardHide | types.ReplyKeyboardForceReply | types.ReplyKeyboardMarkup | types.ReplyInlineMarkup;
26724
27585
  type MessageEntity = types.MessageEntityUnknown | types.MessageEntityMention | types.MessageEntityHashtag | types.MessageEntityBotCommand | types.MessageEntityUrl | types.MessageEntityEmail | types.MessageEntityBold | types.MessageEntityItalic | types.MessageEntityCode | types.MessageEntityPre | types.MessageEntityTextUrl | types.MessageEntityMentionName | types.InputMessageEntityMentionName | types.MessageEntityPhone | types.MessageEntityCashtag | types.MessageEntityUnderline | types.MessageEntityStrike | types.MessageEntityBankCard | types.MessageEntitySpoiler | types.MessageEntityCustomEmoji | types.MessageEntityBlockquote;
@@ -26949,6 +27810,43 @@ export declare namespace enums {
26949
27810
  type QuickReply = types.QuickReply;
26950
27811
  type InputQuickReplyShortcut = types.InputQuickReplyShortcut | types.InputQuickReplyShortcutId;
26951
27812
  type ConnectedBot = types.ConnectedBot;
27813
+ type Birthday = types.Birthday;
27814
+ type BotBusinessConnection = types.BotBusinessConnection;
27815
+ type InputBusinessIntro = types.InputBusinessIntro;
27816
+ type BusinessIntro = types.BusinessIntro;
27817
+ type InputCollectible = types.InputCollectibleUsername | types.InputCollectiblePhone;
27818
+ type InputBusinessBotRecipients = types.InputBusinessBotRecipients;
27819
+ type BusinessBotRecipients = types.BusinessBotRecipients;
27820
+ type ContactBirthday = types.ContactBirthday;
27821
+ type MissingInvitee = types.MissingInvitee;
27822
+ type InputBusinessChatLink = types.InputBusinessChatLink;
27823
+ type BusinessChatLink = types.BusinessChatLink;
27824
+ type RequestedPeer = types.RequestedPeerUser | types.RequestedPeerChat | types.RequestedPeerChannel;
27825
+ type SponsoredMessageReportOption = types.SponsoredMessageReportOption;
27826
+ type BroadcastRevenueTransaction = types.BroadcastRevenueTransactionProceeds | types.BroadcastRevenueTransactionWithdrawal | types.BroadcastRevenueTransactionRefund;
27827
+ namespace help {
27828
+ type ConfigSimple = types.help.ConfigSimple;
27829
+ type AppUpdate = types.help.AppUpdate | types.help.NoAppUpdate;
27830
+ type InviteText = types.help.InviteText;
27831
+ type Support = types.help.Support;
27832
+ type TermsOfService = types.help.TermsOfService;
27833
+ type RecentMeUrls = types.help.RecentMeUrls;
27834
+ type TermsOfServiceUpdate = types.help.TermsOfServiceUpdateEmpty | types.help.TermsOfServiceUpdate;
27835
+ type DeepLinkInfo = types.help.DeepLinkInfoEmpty | types.help.DeepLinkInfo;
27836
+ type PassportConfig = types.help.PassportConfigNotModified | types.help.PassportConfig;
27837
+ type SupportName = types.help.SupportName;
27838
+ type UserInfo = types.help.UserInfoEmpty | types.help.UserInfo;
27839
+ type PromoData = types.help.PromoDataEmpty | types.help.PromoData;
27840
+ type CountryCode = types.help.CountryCode;
27841
+ type Country = types.help.Country;
27842
+ type CountriesList = types.help.CountriesListNotModified | types.help.CountriesList;
27843
+ type PremiumPromo = types.help.PremiumPromo;
27844
+ type AppConfig = types.help.AppConfigNotModified | types.help.AppConfig;
27845
+ type PeerColorSet = types.help.PeerColorSet | types.help.PeerColorProfileSet;
27846
+ type PeerColorOption = types.help.PeerColorOption;
27847
+ type PeerColors = types.help.PeerColorsNotModified | types.help.PeerColors;
27848
+ type TimezonesList = types.help.TimezonesListNotModified | types.help.TimezonesList;
27849
+ }
26952
27850
  namespace storage {
26953
27851
  type FileType = types.storage.FileUnknown | types.storage.FilePartial | types.storage.FileJpeg | types.storage.FileGif | types.storage.FilePng | types.storage.FilePdf | types.storage.FileMp3 | types.storage.FileMov | types.storage.FileMp4 | types.storage.FileWebp;
26954
27852
  }
@@ -26969,6 +27867,7 @@ export declare namespace enums {
26969
27867
  type Found = types.contacts.Found;
26970
27868
  type ResolvedPeer = types.contacts.ResolvedPeer;
26971
27869
  type TopPeers = types.contacts.TopPeersNotModified | types.contacts.TopPeers | types.contacts.TopPeersDisabled;
27870
+ type ContactBirthdays = types.contacts.ContactBirthdays;
26972
27871
  }
26973
27872
  namespace messages {
26974
27873
  type Dialogs = types.messages.Dialogs | types.messages.DialogsSlice | types.messages.DialogsNotModified;
@@ -27024,6 +27923,8 @@ export declare namespace enums {
27024
27923
  type SavedReactionTags = types.messages.SavedReactionTagsNotModified | types.messages.SavedReactionTags;
27025
27924
  type QuickReplies = types.messages.QuickReplies | types.messages.QuickRepliesNotModified;
27026
27925
  type DialogFilters = types.messages.DialogFilters;
27926
+ type MyStickers = types.messages.MyStickers;
27927
+ type InvitedUsers = types.messages.InvitedUsers;
27027
27928
  }
27028
27929
  namespace updates {
27029
27930
  type State = types.updates.State;
@@ -27039,28 +27940,6 @@ export declare namespace enums {
27039
27940
  type WebFile = types.upload.WebFile;
27040
27941
  type CdnFile = types.upload.CdnFileReuploadNeeded | types.upload.CdnFile;
27041
27942
  }
27042
- namespace help {
27043
- type AppUpdate = types.help.AppUpdate | types.help.NoAppUpdate;
27044
- type InviteText = types.help.InviteText;
27045
- type Support = types.help.Support;
27046
- type TermsOfService = types.help.TermsOfService;
27047
- type RecentMeUrls = types.help.RecentMeUrls;
27048
- type TermsOfServiceUpdate = types.help.TermsOfServiceUpdateEmpty | types.help.TermsOfServiceUpdate;
27049
- type DeepLinkInfo = types.help.DeepLinkInfoEmpty | types.help.DeepLinkInfo;
27050
- type PassportConfig = types.help.PassportConfigNotModified | types.help.PassportConfig;
27051
- type SupportName = types.help.SupportName;
27052
- type UserInfo = types.help.UserInfoEmpty | types.help.UserInfo;
27053
- type PromoData = types.help.PromoDataEmpty | types.help.PromoData;
27054
- type CountryCode = types.help.CountryCode;
27055
- type Country = types.help.Country;
27056
- type CountriesList = types.help.CountriesListNotModified | types.help.CountriesList;
27057
- type PremiumPromo = types.help.PremiumPromo;
27058
- type AppConfig = types.help.AppConfigNotModified | types.help.AppConfig;
27059
- type PeerColorSet = types.help.PeerColorSet | types.help.PeerColorProfileSet;
27060
- type PeerColorOption = types.help.PeerColorOption;
27061
- type PeerColors = types.help.PeerColorsNotModified | types.help.PeerColors;
27062
- type TimezonesList = types.help.TimezonesListNotModified | types.help.TimezonesList;
27063
- }
27064
27943
  namespace account {
27065
27944
  type PrivacyRules = types.account.PrivacyRules;
27066
27945
  type Authorizations = types.account.Authorizations;
@@ -27083,12 +27962,15 @@ export declare namespace enums {
27083
27962
  type EmailVerified = types.account.EmailVerified | types.account.EmailVerifiedLogin;
27084
27963
  type AutoSaveSettings = types.account.AutoSaveSettings;
27085
27964
  type ConnectedBots = types.account.ConnectedBots;
27965
+ type BusinessChatLinks = types.account.BusinessChatLinks;
27966
+ type ResolvedBusinessChatLinks = types.account.ResolvedBusinessChatLinks;
27086
27967
  }
27087
27968
  namespace channels {
27088
27969
  type ChannelParticipants = types.channels.ChannelParticipants | types.channels.ChannelParticipantsNotModified;
27089
27970
  type ChannelParticipant = types.channels.ChannelParticipant;
27090
27971
  type AdminLogResults = types.channels.AdminLogResults;
27091
27972
  type SendAsPeers = types.channels.SendAsPeers;
27973
+ type SponsoredMessageReportResult = types.channels.SponsoredMessageReportResultChooseOption | types.channels.SponsoredMessageReportResultAdsHidden | types.channels.SponsoredMessageReportResultReported;
27092
27974
  }
27093
27975
  namespace payments {
27094
27976
  type PaymentForm = types.payments.PaymentForm;
@@ -27116,6 +27998,9 @@ export declare namespace enums {
27116
27998
  type MessageStats = types.stats.MessageStats;
27117
27999
  type StoryStats = types.stats.StoryStats;
27118
28000
  type PublicForwards = types.stats.PublicForwards;
28001
+ type BroadcastRevenueStats = types.stats.BroadcastRevenueStats;
28002
+ type BroadcastRevenueWithdrawalUrl = types.stats.BroadcastRevenueWithdrawalUrl;
28003
+ type BroadcastRevenueTransactions = types.stats.BroadcastRevenueTransactions;
27119
28004
  }
27120
28005
  namespace stickers {
27121
28006
  type SuggestedShortName = types.stickers.SuggestedShortName;
@@ -27149,4 +28034,7 @@ export declare namespace enums {
27149
28034
  type EligibilityToJoin = types.smsjobs.EligibleToJoin;
27150
28035
  type Status = types.smsjobs.Status;
27151
28036
  }
28037
+ namespace fragment {
28038
+ type CollectibleInfo = types.fragment.CollectibleInfo;
28039
+ }
27152
28040
  }