@mtkruto/node 0.6.3 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +4 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/0_utilities.d.ts +2 -2
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/2_account_manager.d.ts +4 -0
- package/esm/client/2_account_manager.d.ts.map +1 -1
- package/esm/client/2_account_manager.js +34 -0
- package/esm/client/5_client.d.ts +16 -1
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +19 -0
- package/esm/tl/0_api.d.ts +119 -5
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +188 -17
- package/esm/tl/1_utilities.d.ts +1 -0
- package/esm/tl/1_utilities.d.ts.map +1 -1
- package/esm/tl/1_utilities.js +6 -3
- package/esm/tl/2_deserialize.d.ts.map +1 -1
- package/esm/tl/2_deserialize.js +3 -2
- package/package.json +1 -1
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +4 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/0_utilities.d.ts +2 -2
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/2_account_manager.d.ts +4 -0
- package/script/client/2_account_manager.d.ts.map +1 -1
- package/script/client/2_account_manager.js +34 -0
- package/script/client/5_client.d.ts +16 -1
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +19 -0
- package/script/tl/0_api.d.ts +119 -5
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +188 -17
- package/script/tl/1_utilities.d.ts +1 -0
- package/script/tl/1_utilities.d.ts.map +1 -1
- package/script/tl/1_utilities.js +5 -2
- package/script/tl/2_deserialize.d.ts.map +1 -1
- package/script/tl/2_deserialize.js +3 -2
package/script/tl/0_api.d.ts
CHANGED
|
@@ -1108,6 +1108,7 @@ export interface messageActionPaymentSentMe {
|
|
|
1108
1108
|
info?: PaymentRequestedInfo;
|
|
1109
1109
|
shipping_option_id?: string;
|
|
1110
1110
|
charge: PaymentCharge;
|
|
1111
|
+
subscription_until_date?: number;
|
|
1111
1112
|
}
|
|
1112
1113
|
export interface messageActionPaymentSent {
|
|
1113
1114
|
_: "messageActionPaymentSent";
|
|
@@ -1116,6 +1117,7 @@ export interface messageActionPaymentSent {
|
|
|
1116
1117
|
currency: string;
|
|
1117
1118
|
total_amount: bigint;
|
|
1118
1119
|
invoice_slug?: string;
|
|
1120
|
+
subscription_until_date?: number;
|
|
1119
1121
|
}
|
|
1120
1122
|
export interface messageActionPhoneCall {
|
|
1121
1123
|
_: "messageActionPhoneCall";
|
|
@@ -1293,7 +1295,7 @@ export interface messageActionStarGift {
|
|
|
1293
1295
|
converted?: true;
|
|
1294
1296
|
gift: StarGift;
|
|
1295
1297
|
message?: TextWithEntities;
|
|
1296
|
-
convert_stars
|
|
1298
|
+
convert_stars?: bigint;
|
|
1297
1299
|
}
|
|
1298
1300
|
export interface dialog {
|
|
1299
1301
|
_: "dialog";
|
|
@@ -1539,6 +1541,7 @@ export interface userFull {
|
|
|
1539
1541
|
read_dates_private?: true;
|
|
1540
1542
|
sponsored_enabled?: true;
|
|
1541
1543
|
can_view_revenue?: true;
|
|
1544
|
+
bot_can_manage_emoji_status?: true;
|
|
1542
1545
|
id: bigint;
|
|
1543
1546
|
about?: string;
|
|
1544
1547
|
settings: PeerSettings;
|
|
@@ -3012,6 +3015,9 @@ export interface inputPrivacyKeyAbout {
|
|
|
3012
3015
|
export interface inputPrivacyKeyBirthday {
|
|
3013
3016
|
_: "inputPrivacyKeyBirthday";
|
|
3014
3017
|
}
|
|
3018
|
+
export interface inputPrivacyKeyStarGiftsAutoSave {
|
|
3019
|
+
_: "inputPrivacyKeyStarGiftsAutoSave";
|
|
3020
|
+
}
|
|
3015
3021
|
export interface privacyKeyStatusTimestamp {
|
|
3016
3022
|
_: "privacyKeyStatusTimestamp";
|
|
3017
3023
|
}
|
|
@@ -3045,6 +3051,9 @@ export interface privacyKeyAbout {
|
|
|
3045
3051
|
export interface privacyKeyBirthday {
|
|
3046
3052
|
_: "privacyKeyBirthday";
|
|
3047
3053
|
}
|
|
3054
|
+
export interface privacyKeyStarGiftsAutoSave {
|
|
3055
|
+
_: "privacyKeyStarGiftsAutoSave";
|
|
3056
|
+
}
|
|
3048
3057
|
export interface inputPrivacyValueAllowContacts {
|
|
3049
3058
|
_: "inputPrivacyValueAllowContacts";
|
|
3050
3059
|
}
|
|
@@ -3079,6 +3088,12 @@ export interface inputPrivacyValueAllowCloseFriends {
|
|
|
3079
3088
|
export interface inputPrivacyValueAllowPremium {
|
|
3080
3089
|
_: "inputPrivacyValueAllowPremium";
|
|
3081
3090
|
}
|
|
3091
|
+
export interface inputPrivacyValueAllowBots {
|
|
3092
|
+
_: "inputPrivacyValueAllowBots";
|
|
3093
|
+
}
|
|
3094
|
+
export interface inputPrivacyValueDisallowBots {
|
|
3095
|
+
_: "inputPrivacyValueDisallowBots";
|
|
3096
|
+
}
|
|
3082
3097
|
export interface privacyValueAllowContacts {
|
|
3083
3098
|
_: "privacyValueAllowContacts";
|
|
3084
3099
|
}
|
|
@@ -3113,6 +3128,12 @@ export interface privacyValueAllowCloseFriends {
|
|
|
3113
3128
|
export interface privacyValueAllowPremium {
|
|
3114
3129
|
_: "privacyValueAllowPremium";
|
|
3115
3130
|
}
|
|
3131
|
+
export interface privacyValueAllowBots {
|
|
3132
|
+
_: "privacyValueAllowBots";
|
|
3133
|
+
}
|
|
3134
|
+
export interface privacyValueDisallowBots {
|
|
3135
|
+
_: "privacyValueDisallowBots";
|
|
3136
|
+
}
|
|
3116
3137
|
export interface account_privacyRules {
|
|
3117
3138
|
_: "account.privacyRules";
|
|
3118
3139
|
rules: Array<PrivacyRule>;
|
|
@@ -3431,6 +3452,7 @@ export interface botInfo {
|
|
|
3431
3452
|
commands?: Array<BotCommand>;
|
|
3432
3453
|
menu_button?: BotMenuButton;
|
|
3433
3454
|
privacy_policy_url?: string;
|
|
3455
|
+
app_settings?: BotAppSettings;
|
|
3434
3456
|
}
|
|
3435
3457
|
export interface keyboardButton {
|
|
3436
3458
|
_: "keyboardButton";
|
|
@@ -4584,6 +4606,7 @@ export interface invoice {
|
|
|
4584
4606
|
max_tip_amount?: bigint;
|
|
4585
4607
|
suggested_tip_amounts?: Array<bigint>;
|
|
4586
4608
|
terms_url?: string;
|
|
4609
|
+
subscription_period?: number;
|
|
4587
4610
|
}
|
|
4588
4611
|
export interface paymentCharge {
|
|
4589
4612
|
_: "paymentCharge";
|
|
@@ -6702,6 +6725,7 @@ export interface attachMenuBotsBot {
|
|
|
6702
6725
|
export interface webViewResultUrl {
|
|
6703
6726
|
_: "webViewResultUrl";
|
|
6704
6727
|
fullsize?: true;
|
|
6728
|
+
fullscreen?: true;
|
|
6705
6729
|
query_id?: bigint;
|
|
6706
6730
|
url: string;
|
|
6707
6731
|
}
|
|
@@ -8240,11 +8264,15 @@ export interface starsSubscription {
|
|
|
8240
8264
|
canceled?: true;
|
|
8241
8265
|
can_refulfill?: true;
|
|
8242
8266
|
missing_balance?: true;
|
|
8267
|
+
bot_canceled?: true;
|
|
8243
8268
|
id: string;
|
|
8244
8269
|
peer: Peer;
|
|
8245
8270
|
until_date: number;
|
|
8246
8271
|
pricing: StarsSubscriptionPricing;
|
|
8247
8272
|
chat_invite_hash?: string;
|
|
8273
|
+
title?: string;
|
|
8274
|
+
photo?: WebDocument;
|
|
8275
|
+
invoice_slug?: string;
|
|
8248
8276
|
}
|
|
8249
8277
|
export interface messageReactor {
|
|
8250
8278
|
_: "messageReactor";
|
|
@@ -8275,6 +8303,7 @@ export interface starGift {
|
|
|
8275
8303
|
_: "starGift";
|
|
8276
8304
|
limited?: true;
|
|
8277
8305
|
sold_out?: true;
|
|
8306
|
+
birthday?: true;
|
|
8278
8307
|
id: bigint;
|
|
8279
8308
|
sticker: Document;
|
|
8280
8309
|
stars: bigint;
|
|
@@ -8328,6 +8357,27 @@ export interface reportResultAddComment {
|
|
|
8328
8357
|
export interface reportResultReported {
|
|
8329
8358
|
_: "reportResultReported";
|
|
8330
8359
|
}
|
|
8360
|
+
export interface messages_botPreparedInlineMessage {
|
|
8361
|
+
_: "messages.botPreparedInlineMessage";
|
|
8362
|
+
id: string;
|
|
8363
|
+
expire_date: number;
|
|
8364
|
+
}
|
|
8365
|
+
export interface messages_preparedInlineMessage {
|
|
8366
|
+
_: "messages.preparedInlineMessage";
|
|
8367
|
+
query_id: bigint;
|
|
8368
|
+
result: BotInlineResult;
|
|
8369
|
+
peer_types: Array<InlineQueryPeerType>;
|
|
8370
|
+
cache_time: number;
|
|
8371
|
+
users: Array<User>;
|
|
8372
|
+
}
|
|
8373
|
+
export interface botAppSettings {
|
|
8374
|
+
_: "botAppSettings";
|
|
8375
|
+
placeholder_path?: Uint8Array;
|
|
8376
|
+
background_color?: number;
|
|
8377
|
+
background_dark_color?: number;
|
|
8378
|
+
header_color?: number;
|
|
8379
|
+
header_dark_color?: number;
|
|
8380
|
+
}
|
|
8331
8381
|
export interface req_pq_multi {
|
|
8332
8382
|
_: "req_pq_multi";
|
|
8333
8383
|
nonce: bigint;
|
|
@@ -10585,6 +10635,7 @@ export interface messages_requestWebView {
|
|
|
10585
10635
|
from_bot_menu?: true;
|
|
10586
10636
|
silent?: true;
|
|
10587
10637
|
compact?: true;
|
|
10638
|
+
fullscreen?: true;
|
|
10588
10639
|
peer: InputPeer;
|
|
10589
10640
|
bot: InputUser;
|
|
10590
10641
|
url?: string;
|
|
@@ -10610,6 +10661,7 @@ export interface messages_requestSimpleWebView {
|
|
|
10610
10661
|
from_switch_webview?: true;
|
|
10611
10662
|
from_side_menu?: true;
|
|
10612
10663
|
compact?: true;
|
|
10664
|
+
fullscreen?: true;
|
|
10613
10665
|
bot: InputUser;
|
|
10614
10666
|
url?: string;
|
|
10615
10667
|
start_param?: string;
|
|
@@ -10743,6 +10795,7 @@ export interface messages_requestAppWebView {
|
|
|
10743
10795
|
_: "messages.requestAppWebView";
|
|
10744
10796
|
write_allowed?: true;
|
|
10745
10797
|
compact?: true;
|
|
10798
|
+
fullscreen?: true;
|
|
10746
10799
|
peer: InputPeer;
|
|
10747
10800
|
app: InputBotApp;
|
|
10748
10801
|
start_param?: string;
|
|
@@ -10926,6 +10979,7 @@ export interface messages_getFactCheck {
|
|
|
10926
10979
|
export interface messages_requestMainWebView {
|
|
10927
10980
|
_: "messages.requestMainWebView";
|
|
10928
10981
|
compact?: true;
|
|
10982
|
+
fullscreen?: true;
|
|
10929
10983
|
peer: InputPeer;
|
|
10930
10984
|
bot: InputUser;
|
|
10931
10985
|
start_param?: string;
|
|
@@ -10979,6 +11033,19 @@ export interface messages_getSponsoredMessages {
|
|
|
10979
11033
|
peer: InputPeer;
|
|
10980
11034
|
[R]?: messages_SponsoredMessages;
|
|
10981
11035
|
}
|
|
11036
|
+
export interface messages_savePreparedInlineMessage {
|
|
11037
|
+
_: "messages.savePreparedInlineMessage";
|
|
11038
|
+
result: InputBotInlineResult;
|
|
11039
|
+
user_id: InputUser;
|
|
11040
|
+
peer_types?: Array<InlineQueryPeerType>;
|
|
11041
|
+
[R]?: messages_BotPreparedInlineMessage;
|
|
11042
|
+
}
|
|
11043
|
+
export interface messages_getPreparedInlineMessage {
|
|
11044
|
+
_: "messages.getPreparedInlineMessage";
|
|
11045
|
+
bot: InputUser;
|
|
11046
|
+
id: string;
|
|
11047
|
+
[R]?: messages_PreparedInlineMessage;
|
|
11048
|
+
}
|
|
10982
11049
|
export interface updates_getState {
|
|
10983
11050
|
_: "updates.getState";
|
|
10984
11051
|
[R]?: updates_State;
|
|
@@ -11761,6 +11828,25 @@ export interface bots_getPreviewMedias {
|
|
|
11761
11828
|
bot: InputUser;
|
|
11762
11829
|
[R]?: Array<BotPreviewMedia>;
|
|
11763
11830
|
}
|
|
11831
|
+
export interface bots_updateUserEmojiStatus {
|
|
11832
|
+
_: "bots.updateUserEmojiStatus";
|
|
11833
|
+
user_id: InputUser;
|
|
11834
|
+
emoji_status: EmojiStatus;
|
|
11835
|
+
[R]?: boolean;
|
|
11836
|
+
}
|
|
11837
|
+
export interface bots_toggleUserEmojiStatusPermission {
|
|
11838
|
+
_: "bots.toggleUserEmojiStatusPermission";
|
|
11839
|
+
bot: InputUser;
|
|
11840
|
+
enabled: boolean;
|
|
11841
|
+
[R]?: boolean;
|
|
11842
|
+
}
|
|
11843
|
+
export interface bots_checkDownloadFileParams {
|
|
11844
|
+
_: "bots.checkDownloadFileParams";
|
|
11845
|
+
bot: InputUser;
|
|
11846
|
+
file_name: string;
|
|
11847
|
+
url: string;
|
|
11848
|
+
[R]?: boolean;
|
|
11849
|
+
}
|
|
11764
11850
|
export interface payments_getPaymentForm {
|
|
11765
11851
|
_: "payments.getPaymentForm";
|
|
11766
11852
|
invoice: InputInvoice;
|
|
@@ -11965,6 +12051,13 @@ export interface payments_convertStarGift {
|
|
|
11965
12051
|
msg_id: number;
|
|
11966
12052
|
[R]?: boolean;
|
|
11967
12053
|
}
|
|
12054
|
+
export interface payments_botCancelStarsSubscription {
|
|
12055
|
+
_: "payments.botCancelStarsSubscription";
|
|
12056
|
+
restore?: true;
|
|
12057
|
+
user_id: InputUser;
|
|
12058
|
+
charge_id: string;
|
|
12059
|
+
[R]?: boolean;
|
|
12060
|
+
}
|
|
11968
12061
|
export interface stickers_createStickerSet {
|
|
11969
12062
|
_: "stickers.createStickerSet";
|
|
11970
12063
|
masks?: true;
|
|
@@ -13157,6 +13250,7 @@ export interface Types {
|
|
|
13157
13250
|
"inputPrivacyKeyVoiceMessages": inputPrivacyKeyVoiceMessages;
|
|
13158
13251
|
"inputPrivacyKeyAbout": inputPrivacyKeyAbout;
|
|
13159
13252
|
"inputPrivacyKeyBirthday": inputPrivacyKeyBirthday;
|
|
13253
|
+
"inputPrivacyKeyStarGiftsAutoSave": inputPrivacyKeyStarGiftsAutoSave;
|
|
13160
13254
|
"privacyKeyStatusTimestamp": privacyKeyStatusTimestamp;
|
|
13161
13255
|
"privacyKeyChatInvite": privacyKeyChatInvite;
|
|
13162
13256
|
"privacyKeyPhoneCall": privacyKeyPhoneCall;
|
|
@@ -13168,6 +13262,7 @@ export interface Types {
|
|
|
13168
13262
|
"privacyKeyVoiceMessages": privacyKeyVoiceMessages;
|
|
13169
13263
|
"privacyKeyAbout": privacyKeyAbout;
|
|
13170
13264
|
"privacyKeyBirthday": privacyKeyBirthday;
|
|
13265
|
+
"privacyKeyStarGiftsAutoSave": privacyKeyStarGiftsAutoSave;
|
|
13171
13266
|
"inputPrivacyValueAllowContacts": inputPrivacyValueAllowContacts;
|
|
13172
13267
|
"inputPrivacyValueAllowAll": inputPrivacyValueAllowAll;
|
|
13173
13268
|
"inputPrivacyValueAllowUsers": inputPrivacyValueAllowUsers;
|
|
@@ -13178,6 +13273,8 @@ export interface Types {
|
|
|
13178
13273
|
"inputPrivacyValueDisallowChatParticipants": inputPrivacyValueDisallowChatParticipants;
|
|
13179
13274
|
"inputPrivacyValueAllowCloseFriends": inputPrivacyValueAllowCloseFriends;
|
|
13180
13275
|
"inputPrivacyValueAllowPremium": inputPrivacyValueAllowPremium;
|
|
13276
|
+
"inputPrivacyValueAllowBots": inputPrivacyValueAllowBots;
|
|
13277
|
+
"inputPrivacyValueDisallowBots": inputPrivacyValueDisallowBots;
|
|
13181
13278
|
"privacyValueAllowContacts": privacyValueAllowContacts;
|
|
13182
13279
|
"privacyValueAllowAll": privacyValueAllowAll;
|
|
13183
13280
|
"privacyValueAllowUsers": privacyValueAllowUsers;
|
|
@@ -13188,6 +13285,8 @@ export interface Types {
|
|
|
13188
13285
|
"privacyValueDisallowChatParticipants": privacyValueDisallowChatParticipants;
|
|
13189
13286
|
"privacyValueAllowCloseFriends": privacyValueAllowCloseFriends;
|
|
13190
13287
|
"privacyValueAllowPremium": privacyValueAllowPremium;
|
|
13288
|
+
"privacyValueAllowBots": privacyValueAllowBots;
|
|
13289
|
+
"privacyValueDisallowBots": privacyValueDisallowBots;
|
|
13191
13290
|
"account.privacyRules": account_privacyRules;
|
|
13192
13291
|
"accountDaysTTL": accountDaysTTL;
|
|
13193
13292
|
"documentAttributeImageSize": documentAttributeImageSize;
|
|
@@ -14065,6 +14164,9 @@ export interface Types {
|
|
|
14065
14164
|
"reportResultChooseOption": reportResultChooseOption;
|
|
14066
14165
|
"reportResultAddComment": reportResultAddComment;
|
|
14067
14166
|
"reportResultReported": reportResultReported;
|
|
14167
|
+
"messages.botPreparedInlineMessage": messages_botPreparedInlineMessage;
|
|
14168
|
+
"messages.preparedInlineMessage": messages_preparedInlineMessage;
|
|
14169
|
+
"botAppSettings": botAppSettings;
|
|
14068
14170
|
}
|
|
14069
14171
|
export interface Functions<T = Function> {
|
|
14070
14172
|
"req_pq_multi": req_pq_multi;
|
|
@@ -14475,6 +14577,8 @@ export interface Functions<T = Function> {
|
|
|
14475
14577
|
"messages.clickSponsoredMessage": messages_clickSponsoredMessage;
|
|
14476
14578
|
"messages.reportSponsoredMessage": messages_reportSponsoredMessage;
|
|
14477
14579
|
"messages.getSponsoredMessages": messages_getSponsoredMessages;
|
|
14580
|
+
"messages.savePreparedInlineMessage": messages_savePreparedInlineMessage;
|
|
14581
|
+
"messages.getPreparedInlineMessage": messages_getPreparedInlineMessage;
|
|
14478
14582
|
"updates.getState": updates_getState;
|
|
14479
14583
|
"updates.getDifference": updates_getDifference;
|
|
14480
14584
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -14600,6 +14704,9 @@ export interface Functions<T = Function> {
|
|
|
14600
14704
|
"bots.reorderPreviewMedias": bots_reorderPreviewMedias;
|
|
14601
14705
|
"bots.getPreviewInfo": bots_getPreviewInfo;
|
|
14602
14706
|
"bots.getPreviewMedias": bots_getPreviewMedias;
|
|
14707
|
+
"bots.updateUserEmojiStatus": bots_updateUserEmojiStatus;
|
|
14708
|
+
"bots.toggleUserEmojiStatusPermission": bots_toggleUserEmojiStatusPermission;
|
|
14709
|
+
"bots.checkDownloadFileParams": bots_checkDownloadFileParams;
|
|
14603
14710
|
"payments.getPaymentForm": payments_getPaymentForm;
|
|
14604
14711
|
"payments.getPaymentReceipt": payments_getPaymentReceipt;
|
|
14605
14712
|
"payments.validateRequestedInfo": payments_validateRequestedInfo;
|
|
@@ -14634,6 +14741,7 @@ export interface Functions<T = Function> {
|
|
|
14634
14741
|
"payments.getUserStarGifts": payments_getUserStarGifts;
|
|
14635
14742
|
"payments.saveStarGift": payments_saveStarGift;
|
|
14636
14743
|
"payments.convertStarGift": payments_convertStarGift;
|
|
14744
|
+
"payments.botCancelStarsSubscription": payments_botCancelStarsSubscription;
|
|
14637
14745
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
14638
14746
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
14639
14747
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -15284,6 +15392,9 @@ export interface Enums {
|
|
|
15284
15392
|
"payments.UserStarGifts": payments_UserStarGifts;
|
|
15285
15393
|
"MessageReportOption": MessageReportOption;
|
|
15286
15394
|
"ReportResult": ReportResult;
|
|
15395
|
+
"messages.BotPreparedInlineMessage": messages_BotPreparedInlineMessage;
|
|
15396
|
+
"messages.PreparedInlineMessage": messages_PreparedInlineMessage;
|
|
15397
|
+
"BotAppSettings": BotAppSettings;
|
|
15287
15398
|
}
|
|
15288
15399
|
export type AnyType = Types[keyof Types];
|
|
15289
15400
|
export type AnyFunction<T = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -15391,10 +15502,10 @@ export type help_Support = help_support;
|
|
|
15391
15502
|
export type NotifyPeer = notifyPeer | notifyUsers | notifyChats | notifyBroadcasts | notifyForumTopic;
|
|
15392
15503
|
export type SendMessageAction = sendMessageTypingAction | sendMessageCancelAction | sendMessageRecordVideoAction | sendMessageUploadVideoAction | sendMessageRecordAudioAction | sendMessageUploadAudioAction | sendMessageUploadPhotoAction | sendMessageUploadDocumentAction | sendMessageGeoLocationAction | sendMessageChooseContactAction | sendMessageGamePlayAction | sendMessageRecordRoundAction | sendMessageUploadRoundAction | speakingInGroupCallAction | sendMessageHistoryImportAction | sendMessageChooseStickerAction | sendMessageEmojiInteraction | sendMessageEmojiInteractionSeen;
|
|
15393
15504
|
export type contacts_Found = contacts_found;
|
|
15394
|
-
export type InputPrivacyKey = inputPrivacyKeyStatusTimestamp | inputPrivacyKeyChatInvite | inputPrivacyKeyPhoneCall | inputPrivacyKeyPhoneP2P | inputPrivacyKeyForwards | inputPrivacyKeyProfilePhoto | inputPrivacyKeyPhoneNumber | inputPrivacyKeyAddedByPhone | inputPrivacyKeyVoiceMessages | inputPrivacyKeyAbout | inputPrivacyKeyBirthday;
|
|
15395
|
-
export type PrivacyKey = privacyKeyStatusTimestamp | privacyKeyChatInvite | privacyKeyPhoneCall | privacyKeyPhoneP2P | privacyKeyForwards | privacyKeyProfilePhoto | privacyKeyPhoneNumber | privacyKeyAddedByPhone | privacyKeyVoiceMessages | privacyKeyAbout | privacyKeyBirthday;
|
|
15396
|
-
export type InputPrivacyRule = inputPrivacyValueAllowContacts | inputPrivacyValueAllowAll | inputPrivacyValueAllowUsers | inputPrivacyValueDisallowContacts | inputPrivacyValueDisallowAll | inputPrivacyValueDisallowUsers | inputPrivacyValueAllowChatParticipants | inputPrivacyValueDisallowChatParticipants | inputPrivacyValueAllowCloseFriends | inputPrivacyValueAllowPremium;
|
|
15397
|
-
export type PrivacyRule = privacyValueAllowContacts | privacyValueAllowAll | privacyValueAllowUsers | privacyValueDisallowContacts | privacyValueDisallowAll | privacyValueDisallowUsers | privacyValueAllowChatParticipants | privacyValueDisallowChatParticipants | privacyValueAllowCloseFriends | privacyValueAllowPremium;
|
|
15505
|
+
export type InputPrivacyKey = inputPrivacyKeyStatusTimestamp | inputPrivacyKeyChatInvite | inputPrivacyKeyPhoneCall | inputPrivacyKeyPhoneP2P | inputPrivacyKeyForwards | inputPrivacyKeyProfilePhoto | inputPrivacyKeyPhoneNumber | inputPrivacyKeyAddedByPhone | inputPrivacyKeyVoiceMessages | inputPrivacyKeyAbout | inputPrivacyKeyBirthday | inputPrivacyKeyStarGiftsAutoSave;
|
|
15506
|
+
export type PrivacyKey = privacyKeyStatusTimestamp | privacyKeyChatInvite | privacyKeyPhoneCall | privacyKeyPhoneP2P | privacyKeyForwards | privacyKeyProfilePhoto | privacyKeyPhoneNumber | privacyKeyAddedByPhone | privacyKeyVoiceMessages | privacyKeyAbout | privacyKeyBirthday | privacyKeyStarGiftsAutoSave;
|
|
15507
|
+
export type InputPrivacyRule = inputPrivacyValueAllowContacts | inputPrivacyValueAllowAll | inputPrivacyValueAllowUsers | inputPrivacyValueDisallowContacts | inputPrivacyValueDisallowAll | inputPrivacyValueDisallowUsers | inputPrivacyValueAllowChatParticipants | inputPrivacyValueDisallowChatParticipants | inputPrivacyValueAllowCloseFriends | inputPrivacyValueAllowPremium | inputPrivacyValueAllowBots | inputPrivacyValueDisallowBots;
|
|
15508
|
+
export type PrivacyRule = privacyValueAllowContacts | privacyValueAllowAll | privacyValueAllowUsers | privacyValueDisallowContacts | privacyValueDisallowAll | privacyValueDisallowUsers | privacyValueAllowChatParticipants | privacyValueDisallowChatParticipants | privacyValueAllowCloseFriends | privacyValueAllowPremium | privacyValueAllowBots | privacyValueDisallowBots;
|
|
15398
15509
|
export type account_PrivacyRules = account_privacyRules;
|
|
15399
15510
|
export type AccountDaysTTL = accountDaysTTL;
|
|
15400
15511
|
export type DocumentAttribute = documentAttributeImageSize | documentAttributeAnimated | documentAttributeSticker | documentAttributeVideo | documentAttributeAudio | documentAttributeFilename | documentAttributeHasStickers | documentAttributeCustomEmoji;
|
|
@@ -15829,6 +15940,9 @@ export type UserStarGift = userStarGift;
|
|
|
15829
15940
|
export type payments_UserStarGifts = payments_userStarGifts;
|
|
15830
15941
|
export type MessageReportOption = messageReportOption;
|
|
15831
15942
|
export type ReportResult = reportResultChooseOption | reportResultAddComment | reportResultReported;
|
|
15943
|
+
export type messages_BotPreparedInlineMessage = messages_botPreparedInlineMessage;
|
|
15944
|
+
export type messages_PreparedInlineMessage = messages_preparedInlineMessage;
|
|
15945
|
+
export type BotAppSettings = botAppSettings;
|
|
15832
15946
|
export declare const getTypeName: (id: number) => string | undefined;
|
|
15833
15947
|
export declare const flags: symbol;
|
|
15834
15948
|
export type Parameters = [number, [string, unknown, string][]];
|