@mtkruto/node 0.2.7 → 0.2.10
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/3_types.d.ts +4 -3
- package/esm/3_types.d.ts.map +1 -1
- package/esm/3_types.js +4 -3
- package/esm/4_constants.d.ts +1 -1
- package/esm/4_constants.js +1 -1
- package/esm/client/0_params.d.ts +24 -0
- package/esm/client/0_params.d.ts.map +1 -1
- package/esm/client/3_message_manager.d.ts +4 -3
- package/esm/client/3_message_manager.d.ts.map +1 -1
- package/esm/client/3_message_manager.js +61 -3
- package/esm/client/5_client.d.ts +15 -2
- package/esm/client/5_client.d.ts.map +1 -1
- package/esm/client/5_client.js +15 -0
- package/esm/connection/1_connection_tcp.node.d.ts +12 -0
- package/esm/connection/1_connection_tcp.node.d.ts.map +1 -0
- package/esm/connection/1_connection_tcp.node.js +122 -0
- package/esm/tl/0_api.d.ts +386 -33
- package/esm/tl/0_api.d.ts.map +1 -1
- package/esm/tl/0_api.js +621 -66
- package/esm/transport/3_transport_provider_tcp.js +1 -1
- package/esm/types/0_invoice.d.ts +10 -0
- package/esm/types/0_invoice.d.ts.map +1 -0
- package/esm/types/0_invoice.js +9 -0
- package/{script/types/0_poll_option.d.ts → esm/types/1_poll_option.d.ts} +4 -1
- package/esm/types/1_poll_option.d.ts.map +1 -0
- package/esm/types/{0_poll_option.js → 1_poll_option.js} +3 -1
- package/esm/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
- package/esm/types/2_poll.d.ts.map +1 -0
- package/esm/types/{1_poll.js → 2_poll.js} +3 -2
- package/esm/types/4_message.d.ts +15 -2
- package/esm/types/4_message.d.ts.map +1 -1
- package/esm/types/4_message.js +7 -1
- package/package.json +1 -1
- package/script/3_types.d.ts +4 -3
- package/script/3_types.d.ts.map +1 -1
- package/script/3_types.js +4 -3
- package/script/4_constants.d.ts +1 -1
- package/script/4_constants.js +1 -1
- package/script/client/0_params.d.ts +24 -0
- package/script/client/0_params.d.ts.map +1 -1
- package/script/client/3_message_manager.d.ts +4 -3
- package/script/client/3_message_manager.d.ts.map +1 -1
- package/script/client/3_message_manager.js +61 -3
- package/script/client/5_client.d.ts +15 -2
- package/script/client/5_client.d.ts.map +1 -1
- package/script/client/5_client.js +15 -0
- package/script/connection/1_connection_tcp.node.d.ts +12 -0
- package/script/connection/1_connection_tcp.node.d.ts.map +1 -0
- package/script/connection/1_connection_tcp.node.js +126 -0
- package/script/tl/0_api.d.ts +386 -33
- package/script/tl/0_api.d.ts.map +1 -1
- package/script/tl/0_api.js +621 -66
- package/script/transport/3_transport_provider_tcp.js +2 -2
- package/script/types/0_invoice.d.ts +10 -0
- package/script/types/0_invoice.d.ts.map +1 -0
- package/script/types/0_invoice.js +13 -0
- package/{esm/types/0_poll_option.d.ts → script/types/1_poll_option.d.ts} +4 -1
- package/script/types/1_poll_option.d.ts.map +1 -0
- package/script/types/{0_poll_option.js → 1_poll_option.js} +3 -1
- package/script/types/{1_poll.d.ts → 2_poll.d.ts} +4 -2
- package/script/types/2_poll.d.ts.map +1 -0
- package/script/types/{1_poll.js → 2_poll.js} +4 -3
- package/script/types/4_message.d.ts +15 -2
- package/script/types/4_message.d.ts.map +1 -1
- package/script/types/4_message.js +8 -2
- package/esm/connection/1_connection_tcp.d.ts +0 -34
- package/esm/connection/1_connection_tcp.d.ts.map +0 -1
- package/esm/connection/1_connection_tcp.js +0 -173
- package/esm/types/0_poll_option.d.ts.map +0 -1
- package/esm/types/1_poll.d.ts.map +0 -1
- package/script/connection/1_connection_tcp.d.ts +0 -34
- package/script/connection/1_connection_tcp.d.ts.map +0 -1
- package/script/connection/1_connection_tcp.js +0 -200
- package/script/types/0_poll_option.d.ts.map +0 -1
- package/script/types/1_poll.d.ts.map +0 -1
package/script/tl/0_api.d.ts
CHANGED
|
@@ -385,7 +385,7 @@ export interface inputMediaInvoice {
|
|
|
385
385
|
photo?: InputWebDocument;
|
|
386
386
|
invoice: Invoice;
|
|
387
387
|
payload: Uint8Array;
|
|
388
|
-
provider
|
|
388
|
+
provider?: string;
|
|
389
389
|
provider_data: DataJSON;
|
|
390
390
|
start_param?: string;
|
|
391
391
|
extended_media?: InputMedia;
|
|
@@ -739,6 +739,7 @@ export interface chatFull {
|
|
|
739
739
|
requests_pending?: number;
|
|
740
740
|
recent_requesters?: Array<bigint>;
|
|
741
741
|
available_reactions?: ChatReactions;
|
|
742
|
+
reactions_limit?: number;
|
|
742
743
|
}
|
|
743
744
|
export interface channelFull {
|
|
744
745
|
_: "channelFull";
|
|
@@ -793,6 +794,7 @@ export interface channelFull {
|
|
|
793
794
|
recent_requesters?: Array<bigint>;
|
|
794
795
|
default_send_as?: Peer;
|
|
795
796
|
available_reactions?: ChatReactions;
|
|
797
|
+
reactions_limit?: number;
|
|
796
798
|
stories?: PeerStories;
|
|
797
799
|
wallpaper?: WallPaper;
|
|
798
800
|
boosts_applied?: number;
|
|
@@ -879,6 +881,8 @@ export interface message {
|
|
|
879
881
|
restriction_reason?: Array<RestrictionReason>;
|
|
880
882
|
ttl_period?: number;
|
|
881
883
|
quick_reply_shortcut_id?: number;
|
|
884
|
+
effect?: bigint;
|
|
885
|
+
factcheck?: FactCheck;
|
|
882
886
|
}
|
|
883
887
|
export interface messageService {
|
|
884
888
|
_: "messageService";
|
|
@@ -1470,6 +1474,7 @@ export interface userFull {
|
|
|
1470
1474
|
wallpaper_overridden?: true;
|
|
1471
1475
|
contact_require_premium?: true;
|
|
1472
1476
|
read_dates_private?: true;
|
|
1477
|
+
sponsored_enabled?: true;
|
|
1473
1478
|
id: bigint;
|
|
1474
1479
|
about?: string;
|
|
1475
1480
|
settings: PeerSettings;
|
|
@@ -2414,6 +2419,21 @@ export interface updateBotDeleteBusinessMessage {
|
|
|
2414
2419
|
messages: Array<number>;
|
|
2415
2420
|
qts: number;
|
|
2416
2421
|
}
|
|
2422
|
+
export interface updateNewStoryReaction {
|
|
2423
|
+
_: "updateNewStoryReaction";
|
|
2424
|
+
story_id: number;
|
|
2425
|
+
peer: Peer;
|
|
2426
|
+
reaction: Reaction;
|
|
2427
|
+
}
|
|
2428
|
+
export interface updateBroadcastRevenueTransactions {
|
|
2429
|
+
_: "updateBroadcastRevenueTransactions";
|
|
2430
|
+
peer: Peer;
|
|
2431
|
+
balances: BroadcastRevenueBalances;
|
|
2432
|
+
}
|
|
2433
|
+
export interface updateStarsBalance {
|
|
2434
|
+
_: "updateStarsBalance";
|
|
2435
|
+
balance: bigint;
|
|
2436
|
+
}
|
|
2417
2437
|
export interface updates_state {
|
|
2418
2438
|
_: "updates.state";
|
|
2419
2439
|
pts: number;
|
|
@@ -3541,6 +3561,7 @@ export interface messageEntityCustomEmoji {
|
|
|
3541
3561
|
}
|
|
3542
3562
|
export interface messageEntityBlockquote {
|
|
3543
3563
|
_: "messageEntityBlockquote";
|
|
3564
|
+
collapsed?: true;
|
|
3544
3565
|
offset: number;
|
|
3545
3566
|
length: number;
|
|
3546
3567
|
}
|
|
@@ -3980,10 +4001,19 @@ export interface auth_sentCodeTypeFragmentSms {
|
|
|
3980
4001
|
export interface auth_sentCodeTypeFirebaseSms {
|
|
3981
4002
|
_: "auth.sentCodeTypeFirebaseSms";
|
|
3982
4003
|
nonce?: Uint8Array;
|
|
4004
|
+
play_integrity_nonce?: Uint8Array;
|
|
3983
4005
|
receipt?: string;
|
|
3984
4006
|
push_timeout?: number;
|
|
3985
4007
|
length: number;
|
|
3986
4008
|
}
|
|
4009
|
+
export interface auth_sentCodeTypeSmsWord {
|
|
4010
|
+
_: "auth.sentCodeTypeSmsWord";
|
|
4011
|
+
beginning?: string;
|
|
4012
|
+
}
|
|
4013
|
+
export interface auth_sentCodeTypeSmsPhrase {
|
|
4014
|
+
_: "auth.sentCodeTypeSmsPhrase";
|
|
4015
|
+
beginning?: string;
|
|
4016
|
+
}
|
|
3987
4017
|
export interface messages_botCallbackAnswer {
|
|
3988
4018
|
_: "messages.botCallbackAnswer";
|
|
3989
4019
|
alert?: true;
|
|
@@ -4539,6 +4569,16 @@ export interface payments_paymentForm {
|
|
|
4539
4569
|
saved_credentials?: Array<PaymentSavedCredentials>;
|
|
4540
4570
|
users: Array<User>;
|
|
4541
4571
|
}
|
|
4572
|
+
export interface payments_paymentFormStars {
|
|
4573
|
+
_: "payments.paymentFormStars";
|
|
4574
|
+
form_id: bigint;
|
|
4575
|
+
bot_id: bigint;
|
|
4576
|
+
title: string;
|
|
4577
|
+
description: string;
|
|
4578
|
+
photo?: WebDocument;
|
|
4579
|
+
invoice: Invoice;
|
|
4580
|
+
users: Array<User>;
|
|
4581
|
+
}
|
|
4542
4582
|
export interface payments_validatedRequestedInfo {
|
|
4543
4583
|
_: "payments.validatedRequestedInfo";
|
|
4544
4584
|
id?: string;
|
|
@@ -4569,6 +4609,19 @@ export interface payments_paymentReceipt {
|
|
|
4569
4609
|
credentials_title: string;
|
|
4570
4610
|
users: Array<User>;
|
|
4571
4611
|
}
|
|
4612
|
+
export interface payments_paymentReceiptStars {
|
|
4613
|
+
_: "payments.paymentReceiptStars";
|
|
4614
|
+
date: number;
|
|
4615
|
+
bot_id: bigint;
|
|
4616
|
+
title: string;
|
|
4617
|
+
description: string;
|
|
4618
|
+
photo?: WebDocument;
|
|
4619
|
+
invoice: Invoice;
|
|
4620
|
+
currency: string;
|
|
4621
|
+
total_amount: bigint;
|
|
4622
|
+
transaction_id: string;
|
|
4623
|
+
users: Array<User>;
|
|
4624
|
+
}
|
|
4572
4625
|
export interface payments_savedInfo {
|
|
4573
4626
|
_: "payments.savedInfo";
|
|
4574
4627
|
has_saved_credentials?: true;
|
|
@@ -5510,7 +5563,7 @@ export interface help_userInfo {
|
|
|
5510
5563
|
}
|
|
5511
5564
|
export interface pollAnswer {
|
|
5512
5565
|
_: "pollAnswer";
|
|
5513
|
-
text:
|
|
5566
|
+
text: TextWithEntities;
|
|
5514
5567
|
option: Uint8Array;
|
|
5515
5568
|
}
|
|
5516
5569
|
export interface poll {
|
|
@@ -5520,7 +5573,7 @@ export interface poll {
|
|
|
5520
5573
|
public_voters?: true;
|
|
5521
5574
|
multiple_choice?: true;
|
|
5522
5575
|
quiz?: true;
|
|
5523
|
-
question:
|
|
5576
|
+
question: TextWithEntities;
|
|
5524
5577
|
answers: Array<PollAnswer>;
|
|
5525
5578
|
close_period?: number;
|
|
5526
5579
|
close_date?: number;
|
|
@@ -5619,6 +5672,7 @@ export interface codeSettings {
|
|
|
5619
5672
|
allow_app_hash?: true;
|
|
5620
5673
|
allow_missed_call?: true;
|
|
5621
5674
|
allow_firebase?: true;
|
|
5675
|
+
unknown_number?: true;
|
|
5622
5676
|
logout_tokens?: Array<Uint8Array>;
|
|
5623
5677
|
token?: string;
|
|
5624
5678
|
app_sandbox?: boolean;
|
|
@@ -5843,6 +5897,12 @@ export interface webPageAttributeStory {
|
|
|
5843
5897
|
id: number;
|
|
5844
5898
|
story?: StoryItem;
|
|
5845
5899
|
}
|
|
5900
|
+
export interface webPageAttributeStickerSet {
|
|
5901
|
+
_: "webPageAttributeStickerSet";
|
|
5902
|
+
emojis?: true;
|
|
5903
|
+
text_color?: true;
|
|
5904
|
+
stickers: Array<Document>;
|
|
5905
|
+
}
|
|
5846
5906
|
export interface messages_votesList {
|
|
5847
5907
|
_: "messages.votesList";
|
|
5848
5908
|
count: number;
|
|
@@ -6330,19 +6390,15 @@ export interface account_resetPasswordOk {
|
|
|
6330
6390
|
export interface sponsoredMessage {
|
|
6331
6391
|
_: "sponsoredMessage";
|
|
6332
6392
|
recommended?: true;
|
|
6333
|
-
show_peer_photo?: true;
|
|
6334
6393
|
can_report?: true;
|
|
6335
6394
|
random_id: Uint8Array;
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
chat_invite_hash?: string;
|
|
6339
|
-
channel_post?: number;
|
|
6340
|
-
start_param?: string;
|
|
6341
|
-
webpage?: SponsoredWebPage;
|
|
6342
|
-
app?: BotApp;
|
|
6395
|
+
url: string;
|
|
6396
|
+
title: string;
|
|
6343
6397
|
message: string;
|
|
6344
6398
|
entities?: Array<MessageEntity>;
|
|
6345
|
-
|
|
6399
|
+
photo?: Photo;
|
|
6400
|
+
color?: PeerColor;
|
|
6401
|
+
button_text: string;
|
|
6346
6402
|
sponsor_info?: string;
|
|
6347
6403
|
additional_info?: string;
|
|
6348
6404
|
}
|
|
@@ -6597,6 +6653,10 @@ export interface inputInvoicePremiumGiftCode {
|
|
|
6597
6653
|
purpose: InputStorePaymentPurpose;
|
|
6598
6654
|
option: PremiumGiftCodeOption;
|
|
6599
6655
|
}
|
|
6656
|
+
export interface inputInvoiceStars {
|
|
6657
|
+
_: "inputInvoiceStars";
|
|
6658
|
+
option: StarsTopupOption;
|
|
6659
|
+
}
|
|
6600
6660
|
export interface payments_exportedInvoice {
|
|
6601
6661
|
_: "payments.exportedInvoice";
|
|
6602
6662
|
url: string;
|
|
@@ -6649,6 +6709,12 @@ export interface inputStorePaymentPremiumGiveaway {
|
|
|
6649
6709
|
currency: string;
|
|
6650
6710
|
amount: bigint;
|
|
6651
6711
|
}
|
|
6712
|
+
export interface inputStorePaymentStars {
|
|
6713
|
+
_: "inputStorePaymentStars";
|
|
6714
|
+
stars: bigint;
|
|
6715
|
+
currency: string;
|
|
6716
|
+
amount: bigint;
|
|
6717
|
+
}
|
|
6652
6718
|
export interface premiumGiftOption {
|
|
6653
6719
|
_: "premiumGiftOption";
|
|
6654
6720
|
months: number;
|
|
@@ -6862,6 +6928,17 @@ export interface emojiGroup {
|
|
|
6862
6928
|
icon_emoji_id: bigint;
|
|
6863
6929
|
emoticons: Array<string>;
|
|
6864
6930
|
}
|
|
6931
|
+
export interface emojiGroupGreeting {
|
|
6932
|
+
_: "emojiGroupGreeting";
|
|
6933
|
+
title: string;
|
|
6934
|
+
icon_emoji_id: bigint;
|
|
6935
|
+
emoticons: Array<string>;
|
|
6936
|
+
}
|
|
6937
|
+
export interface emojiGroupPremium {
|
|
6938
|
+
_: "emojiGroupPremium";
|
|
6939
|
+
title: string;
|
|
6940
|
+
icon_emoji_id: bigint;
|
|
6941
|
+
}
|
|
6865
6942
|
export interface messages_emojiGroupsNotModified {
|
|
6866
6943
|
_: "messages.emojiGroupsNotModified";
|
|
6867
6944
|
}
|
|
@@ -7018,12 +7095,6 @@ export interface messagePeerVoteMultiple {
|
|
|
7018
7095
|
options: Array<Uint8Array>;
|
|
7019
7096
|
date: number;
|
|
7020
7097
|
}
|
|
7021
|
-
export interface sponsoredWebPage {
|
|
7022
|
-
_: "sponsoredWebPage";
|
|
7023
|
-
url: string;
|
|
7024
|
-
site_name: string;
|
|
7025
|
-
photo?: Photo;
|
|
7026
|
-
}
|
|
7027
7098
|
export interface storyViews {
|
|
7028
7099
|
_: "storyViews";
|
|
7029
7100
|
has_viewers?: true;
|
|
@@ -7087,6 +7158,7 @@ export interface stories_stories {
|
|
|
7087
7158
|
_: "stories.stories";
|
|
7088
7159
|
count: number;
|
|
7089
7160
|
stories: Array<StoryItem>;
|
|
7161
|
+
pinned_to_top?: Array<number>;
|
|
7090
7162
|
chats: Array<Chat>;
|
|
7091
7163
|
users: Array<User>;
|
|
7092
7164
|
}
|
|
@@ -7758,9 +7830,7 @@ export interface stats_broadcastRevenueStats {
|
|
|
7758
7830
|
_: "stats.broadcastRevenueStats";
|
|
7759
7831
|
top_hours_graph: StatsGraph;
|
|
7760
7832
|
revenue_graph: StatsGraph;
|
|
7761
|
-
|
|
7762
|
-
available_balance: bigint;
|
|
7763
|
-
overall_revenue: bigint;
|
|
7833
|
+
balances: BroadcastRevenueBalances;
|
|
7764
7834
|
usd_rate: number;
|
|
7765
7835
|
}
|
|
7766
7836
|
export interface stats_broadcastRevenueWithdrawalUrl {
|
|
@@ -7794,6 +7864,96 @@ export interface stats_broadcastRevenueTransactions {
|
|
|
7794
7864
|
count: number;
|
|
7795
7865
|
transactions: Array<BroadcastRevenueTransaction>;
|
|
7796
7866
|
}
|
|
7867
|
+
export interface reactionNotificationsFromContacts {
|
|
7868
|
+
_: "reactionNotificationsFromContacts";
|
|
7869
|
+
}
|
|
7870
|
+
export interface reactionNotificationsFromAll {
|
|
7871
|
+
_: "reactionNotificationsFromAll";
|
|
7872
|
+
}
|
|
7873
|
+
export interface reactionsNotifySettings {
|
|
7874
|
+
_: "reactionsNotifySettings";
|
|
7875
|
+
messages_notify_from?: ReactionNotificationsFrom;
|
|
7876
|
+
stories_notify_from?: ReactionNotificationsFrom;
|
|
7877
|
+
sound: NotificationSound;
|
|
7878
|
+
show_previews: boolean;
|
|
7879
|
+
}
|
|
7880
|
+
export interface broadcastRevenueBalances {
|
|
7881
|
+
_: "broadcastRevenueBalances";
|
|
7882
|
+
current_balance: bigint;
|
|
7883
|
+
available_balance: bigint;
|
|
7884
|
+
overall_revenue: bigint;
|
|
7885
|
+
}
|
|
7886
|
+
export interface availableEffect {
|
|
7887
|
+
_: "availableEffect";
|
|
7888
|
+
premium_required?: true;
|
|
7889
|
+
id: bigint;
|
|
7890
|
+
emoticon: string;
|
|
7891
|
+
static_icon_id?: bigint;
|
|
7892
|
+
effect_sticker_id: bigint;
|
|
7893
|
+
effect_animation_id?: bigint;
|
|
7894
|
+
}
|
|
7895
|
+
export interface messages_availableEffectsNotModified {
|
|
7896
|
+
_: "messages.availableEffectsNotModified";
|
|
7897
|
+
}
|
|
7898
|
+
export interface messages_availableEffects {
|
|
7899
|
+
_: "messages.availableEffects";
|
|
7900
|
+
hash: number;
|
|
7901
|
+
effects: Array<AvailableEffect>;
|
|
7902
|
+
documents: Array<Document>;
|
|
7903
|
+
}
|
|
7904
|
+
export interface factCheck {
|
|
7905
|
+
_: "factCheck";
|
|
7906
|
+
need_check?: true;
|
|
7907
|
+
country?: string;
|
|
7908
|
+
text?: TextWithEntities;
|
|
7909
|
+
hash: bigint;
|
|
7910
|
+
}
|
|
7911
|
+
export interface starsTransactionPeerUnsupported {
|
|
7912
|
+
_: "starsTransactionPeerUnsupported";
|
|
7913
|
+
}
|
|
7914
|
+
export interface starsTransactionPeerAppStore {
|
|
7915
|
+
_: "starsTransactionPeerAppStore";
|
|
7916
|
+
}
|
|
7917
|
+
export interface starsTransactionPeerPlayMarket {
|
|
7918
|
+
_: "starsTransactionPeerPlayMarket";
|
|
7919
|
+
}
|
|
7920
|
+
export interface starsTransactionPeerPremiumBot {
|
|
7921
|
+
_: "starsTransactionPeerPremiumBot";
|
|
7922
|
+
}
|
|
7923
|
+
export interface starsTransactionPeerFragment {
|
|
7924
|
+
_: "starsTransactionPeerFragment";
|
|
7925
|
+
}
|
|
7926
|
+
export interface starsTransactionPeer {
|
|
7927
|
+
_: "starsTransactionPeer";
|
|
7928
|
+
peer: Peer;
|
|
7929
|
+
}
|
|
7930
|
+
export interface starsTopupOption {
|
|
7931
|
+
_: "starsTopupOption";
|
|
7932
|
+
extended?: true;
|
|
7933
|
+
stars: bigint;
|
|
7934
|
+
store_product?: string;
|
|
7935
|
+
currency: string;
|
|
7936
|
+
amount: bigint;
|
|
7937
|
+
}
|
|
7938
|
+
export interface starsTransaction {
|
|
7939
|
+
_: "starsTransaction";
|
|
7940
|
+
refund?: true;
|
|
7941
|
+
id: string;
|
|
7942
|
+
stars: bigint;
|
|
7943
|
+
date: number;
|
|
7944
|
+
peer: StarsTransactionPeer;
|
|
7945
|
+
title?: string;
|
|
7946
|
+
description?: string;
|
|
7947
|
+
photo?: WebDocument;
|
|
7948
|
+
}
|
|
7949
|
+
export interface payments_starsStatus {
|
|
7950
|
+
_: "payments.starsStatus";
|
|
7951
|
+
balance: bigint;
|
|
7952
|
+
history: Array<StarsTransaction>;
|
|
7953
|
+
next_offset?: string;
|
|
7954
|
+
chats: Array<Chat>;
|
|
7955
|
+
users: Array<User>;
|
|
7956
|
+
}
|
|
7797
7957
|
export interface req_pq_multi {
|
|
7798
7958
|
_: "req_pq_multi";
|
|
7799
7959
|
nonce: bigint;
|
|
@@ -7851,6 +8011,18 @@ export interface invokeWithBusinessConnectionPrefix {
|
|
|
7851
8011
|
connection_id: string;
|
|
7852
8012
|
[R]?: Error;
|
|
7853
8013
|
}
|
|
8014
|
+
export interface invokeWithGooglePlayIntegrityPrefix {
|
|
8015
|
+
_: "invokeWithGooglePlayIntegrityPrefix";
|
|
8016
|
+
nonce: string;
|
|
8017
|
+
token: string;
|
|
8018
|
+
[R]?: Error;
|
|
8019
|
+
}
|
|
8020
|
+
export interface invokeWithApnsSecretPrefix {
|
|
8021
|
+
_: "invokeWithApnsSecretPrefix";
|
|
8022
|
+
nonce: string;
|
|
8023
|
+
secret: string;
|
|
8024
|
+
[R]?: Error;
|
|
8025
|
+
}
|
|
7854
8026
|
export interface invokeAfterMsg<T extends Function> {
|
|
7855
8027
|
_: "invokeAfterMsg";
|
|
7856
8028
|
msg_id: bigint;
|
|
@@ -7906,6 +8078,20 @@ export interface invokeWithBusinessConnection<T extends Function> {
|
|
|
7906
8078
|
query: T;
|
|
7907
8079
|
[R]?: ReturnType<T>;
|
|
7908
8080
|
}
|
|
8081
|
+
export interface invokeWithGooglePlayIntegrity<T extends Function> {
|
|
8082
|
+
_: "invokeWithGooglePlayIntegrity";
|
|
8083
|
+
nonce: string;
|
|
8084
|
+
token: string;
|
|
8085
|
+
query: T;
|
|
8086
|
+
[R]?: ReturnType<T>;
|
|
8087
|
+
}
|
|
8088
|
+
export interface invokeWithApnsSecret<T extends Function> {
|
|
8089
|
+
_: "invokeWithApnsSecret";
|
|
8090
|
+
nonce: string;
|
|
8091
|
+
secret: string;
|
|
8092
|
+
query: T;
|
|
8093
|
+
[R]?: ReturnType<T>;
|
|
8094
|
+
}
|
|
7909
8095
|
export interface auth_sendCode {
|
|
7910
8096
|
_: "auth.sendCode";
|
|
7911
8097
|
phone_number: string;
|
|
@@ -7985,6 +8171,7 @@ export interface auth_resendCode {
|
|
|
7985
8171
|
_: "auth.resendCode";
|
|
7986
8172
|
phone_number: string;
|
|
7987
8173
|
phone_code_hash: string;
|
|
8174
|
+
reason?: string;
|
|
7988
8175
|
[R]?: auth_SentCode;
|
|
7989
8176
|
}
|
|
7990
8177
|
export interface auth_cancelCode {
|
|
@@ -8032,6 +8219,7 @@ export interface auth_requestFirebaseSms {
|
|
|
8032
8219
|
phone_number: string;
|
|
8033
8220
|
phone_code_hash: string;
|
|
8034
8221
|
safety_net_token?: string;
|
|
8222
|
+
play_integrity_token?: string;
|
|
8035
8223
|
ios_push_secret?: string;
|
|
8036
8224
|
[R]?: boolean;
|
|
8037
8225
|
}
|
|
@@ -8041,6 +8229,13 @@ export interface auth_resetLoginEmail {
|
|
|
8041
8229
|
phone_code_hash: string;
|
|
8042
8230
|
[R]?: auth_SentCode;
|
|
8043
8231
|
}
|
|
8232
|
+
export interface auth_reportMissingCode {
|
|
8233
|
+
_: "auth.reportMissingCode";
|
|
8234
|
+
phone_number: string;
|
|
8235
|
+
phone_code_hash: string;
|
|
8236
|
+
mnc: string;
|
|
8237
|
+
[R]?: boolean;
|
|
8238
|
+
}
|
|
8044
8239
|
export interface account_registerDevice {
|
|
8045
8240
|
_: "account.registerDevice";
|
|
8046
8241
|
no_muted?: true;
|
|
@@ -8653,6 +8848,20 @@ export interface account_updatePersonalChannel {
|
|
|
8653
8848
|
channel: InputChannel;
|
|
8654
8849
|
[R]?: boolean;
|
|
8655
8850
|
}
|
|
8851
|
+
export interface account_toggleSponsoredMessages {
|
|
8852
|
+
_: "account.toggleSponsoredMessages";
|
|
8853
|
+
enabled: boolean;
|
|
8854
|
+
[R]?: boolean;
|
|
8855
|
+
}
|
|
8856
|
+
export interface account_getReactionsNotifySettings {
|
|
8857
|
+
_: "account.getReactionsNotifySettings";
|
|
8858
|
+
[R]?: ReactionsNotifySettings;
|
|
8859
|
+
}
|
|
8860
|
+
export interface account_setReactionsNotifySettings {
|
|
8861
|
+
_: "account.setReactionsNotifySettings";
|
|
8862
|
+
settings: ReactionsNotifySettings;
|
|
8863
|
+
[R]?: ReactionsNotifySettings;
|
|
8864
|
+
}
|
|
8656
8865
|
export interface users_getUsers {
|
|
8657
8866
|
_: "users.getUsers";
|
|
8658
8867
|
id: Array<InputUser>;
|
|
@@ -8925,6 +9134,7 @@ export interface messages_sendMessage {
|
|
|
8925
9134
|
schedule_date?: number;
|
|
8926
9135
|
send_as?: InputPeer;
|
|
8927
9136
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9137
|
+
effect?: bigint;
|
|
8928
9138
|
[R]?: Updates;
|
|
8929
9139
|
}
|
|
8930
9140
|
export interface messages_sendMedia {
|
|
@@ -8945,6 +9155,7 @@ export interface messages_sendMedia {
|
|
|
8945
9155
|
schedule_date?: number;
|
|
8946
9156
|
send_as?: InputPeer;
|
|
8947
9157
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9158
|
+
effect?: bigint;
|
|
8948
9159
|
[R]?: Updates;
|
|
8949
9160
|
}
|
|
8950
9161
|
export interface messages_forwardMessages {
|
|
@@ -9186,6 +9397,7 @@ export interface messages_migrateChat {
|
|
|
9186
9397
|
}
|
|
9187
9398
|
export interface messages_searchGlobal {
|
|
9188
9399
|
_: "messages.searchGlobal";
|
|
9400
|
+
broadcasts_only?: true;
|
|
9189
9401
|
folder_id?: number;
|
|
9190
9402
|
q: string;
|
|
9191
9403
|
filter: MessagesFilter;
|
|
@@ -9514,6 +9726,7 @@ export interface messages_sendMultiMedia {
|
|
|
9514
9726
|
schedule_date?: number;
|
|
9515
9727
|
send_as?: InputPeer;
|
|
9516
9728
|
quick_reply_shortcut?: InputQuickReplyShortcut;
|
|
9729
|
+
effect?: bigint;
|
|
9517
9730
|
[R]?: Updates;
|
|
9518
9731
|
}
|
|
9519
9732
|
export interface messages_uploadEncryptedFile {
|
|
@@ -9922,6 +10135,7 @@ export interface messages_setChatAvailableReactions {
|
|
|
9922
10135
|
_: "messages.setChatAvailableReactions";
|
|
9923
10136
|
peer: InputPeer;
|
|
9924
10137
|
available_reactions: ChatReactions;
|
|
10138
|
+
reactions_limit?: number;
|
|
9925
10139
|
[R]?: Updates;
|
|
9926
10140
|
}
|
|
9927
10141
|
export interface messages_getAvailableReactions {
|
|
@@ -10294,6 +10508,35 @@ export interface messages_getMyStickers {
|
|
|
10294
10508
|
limit: number;
|
|
10295
10509
|
[R]?: messages_MyStickers;
|
|
10296
10510
|
}
|
|
10511
|
+
export interface messages_getEmojiStickerGroups {
|
|
10512
|
+
_: "messages.getEmojiStickerGroups";
|
|
10513
|
+
hash: number;
|
|
10514
|
+
[R]?: messages_EmojiGroups;
|
|
10515
|
+
}
|
|
10516
|
+
export interface messages_getAvailableEffects {
|
|
10517
|
+
_: "messages.getAvailableEffects";
|
|
10518
|
+
hash: number;
|
|
10519
|
+
[R]?: messages_AvailableEffects;
|
|
10520
|
+
}
|
|
10521
|
+
export interface messages_editFactCheck {
|
|
10522
|
+
_: "messages.editFactCheck";
|
|
10523
|
+
peer: InputPeer;
|
|
10524
|
+
msg_id: number;
|
|
10525
|
+
text: TextWithEntities;
|
|
10526
|
+
[R]?: Updates;
|
|
10527
|
+
}
|
|
10528
|
+
export interface messages_deleteFactCheck {
|
|
10529
|
+
_: "messages.deleteFactCheck";
|
|
10530
|
+
peer: InputPeer;
|
|
10531
|
+
msg_id: number;
|
|
10532
|
+
[R]?: Updates;
|
|
10533
|
+
}
|
|
10534
|
+
export interface messages_getFactCheck {
|
|
10535
|
+
_: "messages.getFactCheck";
|
|
10536
|
+
peer: InputPeer;
|
|
10537
|
+
msg_id: Array<number>;
|
|
10538
|
+
[R]?: Array<FactCheck>;
|
|
10539
|
+
}
|
|
10297
10540
|
export interface updates_getState {
|
|
10298
10541
|
_: "updates.getState";
|
|
10299
10542
|
[R]?: updates_State;
|
|
@@ -10913,7 +11156,7 @@ export interface channels_toggleViewForumAsMessages {
|
|
|
10913
11156
|
}
|
|
10914
11157
|
export interface channels_getChannelRecommendations {
|
|
10915
11158
|
_: "channels.getChannelRecommendations";
|
|
10916
|
-
channel
|
|
11159
|
+
channel?: InputChannel;
|
|
10917
11160
|
[R]?: messages_Chats;
|
|
10918
11161
|
}
|
|
10919
11162
|
export interface channels_updateEmojiStatus {
|
|
@@ -10947,6 +11190,15 @@ export interface channels_restrictSponsoredMessages {
|
|
|
10947
11190
|
restricted: boolean;
|
|
10948
11191
|
[R]?: Updates;
|
|
10949
11192
|
}
|
|
11193
|
+
export interface channels_searchPosts {
|
|
11194
|
+
_: "channels.searchPosts";
|
|
11195
|
+
hashtag: string;
|
|
11196
|
+
offset_rate: number;
|
|
11197
|
+
offset_peer: InputPeer;
|
|
11198
|
+
offset_id: number;
|
|
11199
|
+
limit: number;
|
|
11200
|
+
[R]?: messages_Messages;
|
|
11201
|
+
}
|
|
10950
11202
|
export interface bots_sendCustomRequest {
|
|
10951
11203
|
_: "bots.sendCustomRequest";
|
|
10952
11204
|
custom_method: string;
|
|
@@ -11138,6 +11390,35 @@ export interface payments_launchPrepaidGiveaway {
|
|
|
11138
11390
|
purpose: InputStorePaymentPurpose;
|
|
11139
11391
|
[R]?: Updates;
|
|
11140
11392
|
}
|
|
11393
|
+
export interface payments_getStarsTopupOptions {
|
|
11394
|
+
_: "payments.getStarsTopupOptions";
|
|
11395
|
+
[R]?: Array<StarsTopupOption>;
|
|
11396
|
+
}
|
|
11397
|
+
export interface payments_getStarsStatus {
|
|
11398
|
+
_: "payments.getStarsStatus";
|
|
11399
|
+
peer: InputPeer;
|
|
11400
|
+
[R]?: payments_StarsStatus;
|
|
11401
|
+
}
|
|
11402
|
+
export interface payments_getStarsTransactions {
|
|
11403
|
+
_: "payments.getStarsTransactions";
|
|
11404
|
+
inbound?: true;
|
|
11405
|
+
outbound?: true;
|
|
11406
|
+
peer: InputPeer;
|
|
11407
|
+
offset: string;
|
|
11408
|
+
[R]?: payments_StarsStatus;
|
|
11409
|
+
}
|
|
11410
|
+
export interface payments_sendStarsForm {
|
|
11411
|
+
_: "payments.sendStarsForm";
|
|
11412
|
+
form_id: bigint;
|
|
11413
|
+
invoice: InputInvoice;
|
|
11414
|
+
[R]?: payments_PaymentResult;
|
|
11415
|
+
}
|
|
11416
|
+
export interface payments_refundStarsCharge {
|
|
11417
|
+
_: "payments.refundStarsCharge";
|
|
11418
|
+
user_id: InputUser;
|
|
11419
|
+
charge_id: string;
|
|
11420
|
+
[R]?: Updates;
|
|
11421
|
+
}
|
|
11141
11422
|
export interface stickers_createStickerSet {
|
|
11142
11423
|
_: "stickers.createStickerSet";
|
|
11143
11424
|
masks?: true;
|
|
@@ -11756,6 +12037,12 @@ export interface stories_getStoryReactionsList {
|
|
|
11756
12037
|
limit: number;
|
|
11757
12038
|
[R]?: stories_StoryReactionsList;
|
|
11758
12039
|
}
|
|
12040
|
+
export interface stories_togglePinnedToTop {
|
|
12041
|
+
_: "stories.togglePinnedToTop";
|
|
12042
|
+
peer: InputPeer;
|
|
12043
|
+
id: Array<number>;
|
|
12044
|
+
[R]?: boolean;
|
|
12045
|
+
}
|
|
11759
12046
|
export interface premium_getBoostsList {
|
|
11760
12047
|
_: "premium.getBoostsList";
|
|
11761
12048
|
gifts?: true;
|
|
@@ -12220,6 +12507,9 @@ export interface Types {
|
|
|
12220
12507
|
"updateBotNewBusinessMessage": updateBotNewBusinessMessage;
|
|
12221
12508
|
"updateBotEditBusinessMessage": updateBotEditBusinessMessage;
|
|
12222
12509
|
"updateBotDeleteBusinessMessage": updateBotDeleteBusinessMessage;
|
|
12510
|
+
"updateNewStoryReaction": updateNewStoryReaction;
|
|
12511
|
+
"updateBroadcastRevenueTransactions": updateBroadcastRevenueTransactions;
|
|
12512
|
+
"updateStarsBalance": updateStarsBalance;
|
|
12223
12513
|
"updates.state": updates_state;
|
|
12224
12514
|
"updates.differenceEmpty": updates_differenceEmpty;
|
|
12225
12515
|
"updates.difference": updates_difference;
|
|
@@ -12491,6 +12781,8 @@ export interface Types {
|
|
|
12491
12781
|
"auth.sentCodeTypeSetUpEmailRequired": auth_sentCodeTypeSetUpEmailRequired;
|
|
12492
12782
|
"auth.sentCodeTypeFragmentSms": auth_sentCodeTypeFragmentSms;
|
|
12493
12783
|
"auth.sentCodeTypeFirebaseSms": auth_sentCodeTypeFirebaseSms;
|
|
12784
|
+
"auth.sentCodeTypeSmsWord": auth_sentCodeTypeSmsWord;
|
|
12785
|
+
"auth.sentCodeTypeSmsPhrase": auth_sentCodeTypeSmsPhrase;
|
|
12494
12786
|
"messages.botCallbackAnswer": messages_botCallbackAnswer;
|
|
12495
12787
|
"messages.messageEditData": messages_messageEditData;
|
|
12496
12788
|
"inputBotInlineMessageID": inputBotInlineMessageID;
|
|
@@ -12595,10 +12887,12 @@ export interface Types {
|
|
|
12595
12887
|
"inputWebFileAudioAlbumThumbLocation": inputWebFileAudioAlbumThumbLocation;
|
|
12596
12888
|
"upload.webFile": upload_webFile;
|
|
12597
12889
|
"payments.paymentForm": payments_paymentForm;
|
|
12890
|
+
"payments.paymentFormStars": payments_paymentFormStars;
|
|
12598
12891
|
"payments.validatedRequestedInfo": payments_validatedRequestedInfo;
|
|
12599
12892
|
"payments.paymentResult": payments_paymentResult;
|
|
12600
12893
|
"payments.paymentVerificationNeeded": payments_paymentVerificationNeeded;
|
|
12601
12894
|
"payments.paymentReceipt": payments_paymentReceipt;
|
|
12895
|
+
"payments.paymentReceiptStars": payments_paymentReceiptStars;
|
|
12602
12896
|
"payments.savedInfo": payments_savedInfo;
|
|
12603
12897
|
"inputPaymentCredentialsSaved": inputPaymentCredentialsSaved;
|
|
12604
12898
|
"inputPaymentCredentials": inputPaymentCredentials;
|
|
@@ -12828,6 +13122,7 @@ export interface Types {
|
|
|
12828
13122
|
"themeSettings": themeSettings;
|
|
12829
13123
|
"webPageAttributeTheme": webPageAttributeTheme;
|
|
12830
13124
|
"webPageAttributeStory": webPageAttributeStory;
|
|
13125
|
+
"webPageAttributeStickerSet": webPageAttributeStickerSet;
|
|
12831
13126
|
"messages.votesList": messages_votesList;
|
|
12832
13127
|
"bankCardOpenUrl": bankCardOpenUrl;
|
|
12833
13128
|
"payments.bankCardData": payments_bankCardData;
|
|
@@ -12951,6 +13246,7 @@ export interface Types {
|
|
|
12951
13246
|
"inputInvoiceMessage": inputInvoiceMessage;
|
|
12952
13247
|
"inputInvoiceSlug": inputInvoiceSlug;
|
|
12953
13248
|
"inputInvoicePremiumGiftCode": inputInvoicePremiumGiftCode;
|
|
13249
|
+
"inputInvoiceStars": inputInvoiceStars;
|
|
12954
13250
|
"payments.exportedInvoice": payments_exportedInvoice;
|
|
12955
13251
|
"messages.transcribedAudio": messages_transcribedAudio;
|
|
12956
13252
|
"help.premiumPromo": help_premiumPromo;
|
|
@@ -12958,6 +13254,7 @@ export interface Types {
|
|
|
12958
13254
|
"inputStorePaymentGiftPremium": inputStorePaymentGiftPremium;
|
|
12959
13255
|
"inputStorePaymentPremiumGiftCode": inputStorePaymentPremiumGiftCode;
|
|
12960
13256
|
"inputStorePaymentPremiumGiveaway": inputStorePaymentPremiumGiveaway;
|
|
13257
|
+
"inputStorePaymentStars": inputStorePaymentStars;
|
|
12961
13258
|
"premiumGiftOption": premiumGiftOption;
|
|
12962
13259
|
"paymentFormMethod": paymentFormMethod;
|
|
12963
13260
|
"emojiStatusEmpty": emojiStatusEmpty;
|
|
@@ -12998,6 +13295,8 @@ export interface Types {
|
|
|
12998
13295
|
"emojiListNotModified": emojiListNotModified;
|
|
12999
13296
|
"emojiList": emojiList;
|
|
13000
13297
|
"emojiGroup": emojiGroup;
|
|
13298
|
+
"emojiGroupGreeting": emojiGroupGreeting;
|
|
13299
|
+
"emojiGroupPremium": emojiGroupPremium;
|
|
13001
13300
|
"messages.emojiGroupsNotModified": messages_emojiGroupsNotModified;
|
|
13002
13301
|
"messages.emojiGroups": messages_emojiGroups;
|
|
13003
13302
|
"textWithEntities": textWithEntities;
|
|
@@ -13026,7 +13325,6 @@ export interface Types {
|
|
|
13026
13325
|
"messagePeerVote": messagePeerVote;
|
|
13027
13326
|
"messagePeerVoteInputOption": messagePeerVoteInputOption;
|
|
13028
13327
|
"messagePeerVoteMultiple": messagePeerVoteMultiple;
|
|
13029
|
-
"sponsoredWebPage": sponsoredWebPage;
|
|
13030
13328
|
"storyViews": storyViews;
|
|
13031
13329
|
"storyItemDeleted": storyItemDeleted;
|
|
13032
13330
|
"storyItemSkipped": storyItemSkipped;
|
|
@@ -13145,6 +13443,23 @@ export interface Types {
|
|
|
13145
13443
|
"broadcastRevenueTransactionWithdrawal": broadcastRevenueTransactionWithdrawal;
|
|
13146
13444
|
"broadcastRevenueTransactionRefund": broadcastRevenueTransactionRefund;
|
|
13147
13445
|
"stats.broadcastRevenueTransactions": stats_broadcastRevenueTransactions;
|
|
13446
|
+
"reactionNotificationsFromContacts": reactionNotificationsFromContacts;
|
|
13447
|
+
"reactionNotificationsFromAll": reactionNotificationsFromAll;
|
|
13448
|
+
"reactionsNotifySettings": reactionsNotifySettings;
|
|
13449
|
+
"broadcastRevenueBalances": broadcastRevenueBalances;
|
|
13450
|
+
"availableEffect": availableEffect;
|
|
13451
|
+
"messages.availableEffectsNotModified": messages_availableEffectsNotModified;
|
|
13452
|
+
"messages.availableEffects": messages_availableEffects;
|
|
13453
|
+
"factCheck": factCheck;
|
|
13454
|
+
"starsTransactionPeerUnsupported": starsTransactionPeerUnsupported;
|
|
13455
|
+
"starsTransactionPeerAppStore": starsTransactionPeerAppStore;
|
|
13456
|
+
"starsTransactionPeerPlayMarket": starsTransactionPeerPlayMarket;
|
|
13457
|
+
"starsTransactionPeerPremiumBot": starsTransactionPeerPremiumBot;
|
|
13458
|
+
"starsTransactionPeerFragment": starsTransactionPeerFragment;
|
|
13459
|
+
"starsTransactionPeer": starsTransactionPeer;
|
|
13460
|
+
"starsTopupOption": starsTopupOption;
|
|
13461
|
+
"starsTransaction": starsTransaction;
|
|
13462
|
+
"payments.starsStatus": payments_starsStatus;
|
|
13148
13463
|
}
|
|
13149
13464
|
export interface Functions<T extends Function = Function> {
|
|
13150
13465
|
"req_pq_multi": req_pq_multi;
|
|
@@ -13157,6 +13472,8 @@ export interface Functions<T extends Function = Function> {
|
|
|
13157
13472
|
"destroy_session": destroy_session;
|
|
13158
13473
|
"destroy_auth_key": destroy_auth_key;
|
|
13159
13474
|
"invokeWithBusinessConnectionPrefix": invokeWithBusinessConnectionPrefix;
|
|
13475
|
+
"invokeWithGooglePlayIntegrityPrefix": invokeWithGooglePlayIntegrityPrefix;
|
|
13476
|
+
"invokeWithApnsSecretPrefix": invokeWithApnsSecretPrefix;
|
|
13160
13477
|
"invokeAfterMsg": invokeAfterMsg<T>;
|
|
13161
13478
|
"invokeAfterMsgs": invokeAfterMsgs<T>;
|
|
13162
13479
|
"initConnection": initConnection<T>;
|
|
@@ -13165,6 +13482,8 @@ export interface Functions<T extends Function = Function> {
|
|
|
13165
13482
|
"invokeWithMessagesRange": invokeWithMessagesRange<T>;
|
|
13166
13483
|
"invokeWithTakeout": invokeWithTakeout<T>;
|
|
13167
13484
|
"invokeWithBusinessConnection": invokeWithBusinessConnection<T>;
|
|
13485
|
+
"invokeWithGooglePlayIntegrity": invokeWithGooglePlayIntegrity<T>;
|
|
13486
|
+
"invokeWithApnsSecret": invokeWithApnsSecret<T>;
|
|
13168
13487
|
"auth.sendCode": auth_sendCode;
|
|
13169
13488
|
"auth.signUp": auth_signUp;
|
|
13170
13489
|
"auth.signIn": auth_signIn;
|
|
@@ -13187,6 +13506,7 @@ export interface Functions<T extends Function = Function> {
|
|
|
13187
13506
|
"auth.importWebTokenAuthorization": auth_importWebTokenAuthorization;
|
|
13188
13507
|
"auth.requestFirebaseSms": auth_requestFirebaseSms;
|
|
13189
13508
|
"auth.resetLoginEmail": auth_resetLoginEmail;
|
|
13509
|
+
"auth.reportMissingCode": auth_reportMissingCode;
|
|
13190
13510
|
"account.registerDevice": account_registerDevice;
|
|
13191
13511
|
"account.unregisterDevice": account_unregisterDevice;
|
|
13192
13512
|
"account.updateNotifySettings": account_updateNotifySettings;
|
|
@@ -13296,6 +13616,9 @@ export interface Functions<T extends Function = Function> {
|
|
|
13296
13616
|
"account.getBusinessChatLinks": account_getBusinessChatLinks;
|
|
13297
13617
|
"account.resolveBusinessChatLink": account_resolveBusinessChatLink;
|
|
13298
13618
|
"account.updatePersonalChannel": account_updatePersonalChannel;
|
|
13619
|
+
"account.toggleSponsoredMessages": account_toggleSponsoredMessages;
|
|
13620
|
+
"account.getReactionsNotifySettings": account_getReactionsNotifySettings;
|
|
13621
|
+
"account.setReactionsNotifySettings": account_setReactionsNotifySettings;
|
|
13299
13622
|
"users.getUsers": users_getUsers;
|
|
13300
13623
|
"users.getFullUser": users_getFullUser;
|
|
13301
13624
|
"users.setSecureValueErrors": users_setSecureValueErrors;
|
|
@@ -13534,6 +13857,11 @@ export interface Functions<T extends Function = Function> {
|
|
|
13534
13857
|
"messages.deleteQuickReplyMessages": messages_deleteQuickReplyMessages;
|
|
13535
13858
|
"messages.toggleDialogFilterTags": messages_toggleDialogFilterTags;
|
|
13536
13859
|
"messages.getMyStickers": messages_getMyStickers;
|
|
13860
|
+
"messages.getEmojiStickerGroups": messages_getEmojiStickerGroups;
|
|
13861
|
+
"messages.getAvailableEffects": messages_getAvailableEffects;
|
|
13862
|
+
"messages.editFactCheck": messages_editFactCheck;
|
|
13863
|
+
"messages.deleteFactCheck": messages_deleteFactCheck;
|
|
13864
|
+
"messages.getFactCheck": messages_getFactCheck;
|
|
13537
13865
|
"updates.getState": updates_getState;
|
|
13538
13866
|
"updates.getDifference": updates_getDifference;
|
|
13539
13867
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -13639,6 +13967,7 @@ export interface Functions<T extends Function = Function> {
|
|
|
13639
13967
|
"channels.setEmojiStickers": channels_setEmojiStickers;
|
|
13640
13968
|
"channels.reportSponsoredMessage": channels_reportSponsoredMessage;
|
|
13641
13969
|
"channels.restrictSponsoredMessages": channels_restrictSponsoredMessages;
|
|
13970
|
+
"channels.searchPosts": channels_searchPosts;
|
|
13642
13971
|
"bots.sendCustomRequest": bots_sendCustomRequest;
|
|
13643
13972
|
"bots.answerWebhookJSONQuery": bots_answerWebhookJSONQuery;
|
|
13644
13973
|
"bots.setBotCommands": bots_setBotCommands;
|
|
@@ -13671,6 +14000,11 @@ export interface Functions<T extends Function = Function> {
|
|
|
13671
14000
|
"payments.applyGiftCode": payments_applyGiftCode;
|
|
13672
14001
|
"payments.getGiveawayInfo": payments_getGiveawayInfo;
|
|
13673
14002
|
"payments.launchPrepaidGiveaway": payments_launchPrepaidGiveaway;
|
|
14003
|
+
"payments.getStarsTopupOptions": payments_getStarsTopupOptions;
|
|
14004
|
+
"payments.getStarsStatus": payments_getStarsStatus;
|
|
14005
|
+
"payments.getStarsTransactions": payments_getStarsTransactions;
|
|
14006
|
+
"payments.sendStarsForm": payments_sendStarsForm;
|
|
14007
|
+
"payments.refundStarsCharge": payments_refundStarsCharge;
|
|
13674
14008
|
"stickers.createStickerSet": stickers_createStickerSet;
|
|
13675
14009
|
"stickers.removeStickerFromSet": stickers_removeStickerFromSet;
|
|
13676
14010
|
"stickers.changeStickerPosition": stickers_changeStickerPosition;
|
|
@@ -13764,6 +14098,7 @@ export interface Functions<T extends Function = Function> {
|
|
|
13764
14098
|
"stories.getChatsToSend": stories_getChatsToSend;
|
|
13765
14099
|
"stories.togglePeerStoriesHidden": stories_togglePeerStoriesHidden;
|
|
13766
14100
|
"stories.getStoryReactionsList": stories_getStoryReactionsList;
|
|
14101
|
+
"stories.togglePinnedToTop": stories_togglePinnedToTop;
|
|
13767
14102
|
"premium.getBoostsList": premium_getBoostsList;
|
|
13768
14103
|
"premium.getMyBoosts": premium_getMyBoosts;
|
|
13769
14104
|
"premium.applyBoost": premium_applyBoost;
|
|
@@ -14203,7 +14538,6 @@ export interface Enums {
|
|
|
14203
14538
|
"chatlists.ChatlistUpdates": chatlists_ChatlistUpdates;
|
|
14204
14539
|
"bots.BotInfo": bots_BotInfo;
|
|
14205
14540
|
"MessagePeerVote": MessagePeerVote;
|
|
14206
|
-
"SponsoredWebPage": SponsoredWebPage;
|
|
14207
14541
|
"StoryViews": StoryViews;
|
|
14208
14542
|
"StoryItem": StoryItem;
|
|
14209
14543
|
"stories.AllStories": stories_AllStories;
|
|
@@ -14289,6 +14623,16 @@ export interface Enums {
|
|
|
14289
14623
|
"stats.BroadcastRevenueWithdrawalUrl": stats_BroadcastRevenueWithdrawalUrl;
|
|
14290
14624
|
"BroadcastRevenueTransaction": BroadcastRevenueTransaction;
|
|
14291
14625
|
"stats.BroadcastRevenueTransactions": stats_BroadcastRevenueTransactions;
|
|
14626
|
+
"ReactionNotificationsFrom": ReactionNotificationsFrom;
|
|
14627
|
+
"ReactionsNotifySettings": ReactionsNotifySettings;
|
|
14628
|
+
"BroadcastRevenueBalances": BroadcastRevenueBalances;
|
|
14629
|
+
"AvailableEffect": AvailableEffect;
|
|
14630
|
+
"messages.AvailableEffects": messages_AvailableEffects;
|
|
14631
|
+
"FactCheck": FactCheck;
|
|
14632
|
+
"StarsTransactionPeer": StarsTransactionPeer;
|
|
14633
|
+
"StarsTopupOption": StarsTopupOption;
|
|
14634
|
+
"StarsTransaction": StarsTransaction;
|
|
14635
|
+
"payments.StarsStatus": payments_StarsStatus;
|
|
14292
14636
|
}
|
|
14293
14637
|
export type AnyType = Types[keyof Types];
|
|
14294
14638
|
export type AnyFunction<T extends Function = Function> = Functions<T>[keyof Functions<T>];
|
|
@@ -14370,7 +14714,7 @@ export type messages_Chats = messages_chats | messages_chatsSlice;
|
|
|
14370
14714
|
export type messages_ChatFull = messages_chatFull;
|
|
14371
14715
|
export type messages_AffectedHistory = messages_affectedHistory;
|
|
14372
14716
|
export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned;
|
|
14373
|
-
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage;
|
|
14717
|
+
export type Update = updateNewMessage | updateMessageID | updateDeleteMessages | updateUserTyping | updateChatUserTyping | updateChatParticipants | updateUserStatus | updateUserName | updateNewAuthorization | updateNewEncryptedMessage | updateEncryptedChatTyping | updateEncryption | updateEncryptedMessagesRead | updateChatParticipantAdd | updateChatParticipantDelete | updateDcOptions | updateNotifySettings | updateServiceNotification | updatePrivacy | updateUserPhone | updateReadHistoryInbox | updateReadHistoryOutbox | updateWebPage | updateReadMessagesContents | updateChannelTooLong | updateChannel | updateNewChannelMessage | updateReadChannelInbox | updateDeleteChannelMessages | updateChannelMessageViews | updateChatParticipantAdmin | updateNewStickerSet | updateStickerSetsOrder | updateStickerSets | updateSavedGifs | updateBotInlineQuery | updateBotInlineSend | updateEditChannelMessage | updateBotCallbackQuery | updateEditMessage | updateInlineBotCallbackQuery | updateReadChannelOutbox | updateDraftMessage | updateReadFeaturedStickers | updateRecentStickers | updateConfig | updatePtsChanged | updateChannelWebPage | updateDialogPinned | updatePinnedDialogs | updateBotWebhookJSON | updateBotWebhookJSONQuery | updateBotShippingQuery | updateBotPrecheckoutQuery | updatePhoneCall | updateLangPackTooLong | updateLangPack | updateFavedStickers | updateChannelReadMessagesContents | updateContactsReset | updateChannelAvailableMessages | updateDialogUnreadMark | updateMessagePoll | updateChatDefaultBannedRights | updateFolderPeers | updatePeerSettings | updatePeerLocated | updateNewScheduledMessage | updateDeleteScheduledMessages | updateTheme | updateGeoLiveViewed | updateLoginToken | updateMessagePollVote | updateDialogFilter | updateDialogFilterOrder | updateDialogFilters | updatePhoneCallSignalingData | updateChannelMessageForwards | updateReadChannelDiscussionInbox | updateReadChannelDiscussionOutbox | updatePeerBlocked | updateChannelUserTyping | updatePinnedMessages | updatePinnedChannelMessages | updateChat | updateGroupCallParticipants | updateGroupCall | updatePeerHistoryTTL | updateChatParticipant | updateChannelParticipant | updateBotStopped | updateGroupCallConnection | updateBotCommands | updatePendingJoinRequests | updateBotChatInviteRequester | updateMessageReactions | updateAttachMenuBots | updateWebViewResultSent | updateBotMenuButton | updateSavedRingtones | updateTranscribedAudio | updateReadFeaturedEmojiStickers | updateUserEmojiStatus | updateRecentEmojiStatuses | updateRecentReactions | updateMoveStickerSetToTop | updateMessageExtendedMedia | updateChannelPinnedTopic | updateChannelPinnedTopics | updateUser | updateAutoSaveSettings | updateStory | updateReadStories | updateStoryID | updateStoriesStealthMode | updateSentStoryReaction | updateBotChatBoost | updateChannelViewForumAsMessages | updatePeerWallpaper | updateBotMessageReaction | updateBotMessageReactions | updateSavedDialogPinned | updatePinnedSavedDialogs | updateSavedReactionTags | updateSmsJob | updateQuickReplies | updateNewQuickReply | updateDeleteQuickReply | updateQuickReplyMessage | updateDeleteQuickReplyMessages | updateBotBusinessConnect | updateBotNewBusinessMessage | updateBotEditBusinessMessage | updateBotDeleteBusinessMessage | updateNewStoryReaction | updateBroadcastRevenueTransactions | updateStarsBalance;
|
|
14374
14718
|
export type updates_State = updates_state;
|
|
14375
14719
|
export type updates_Difference = updates_differenceEmpty | updates_difference | updates_differenceSlice | updates_differenceTooLong;
|
|
14376
14720
|
export type Updates = updatesTooLong | updateShortMessage | updateShortChatMessage | updateShort | updatesCombined | updates | updateShortSentMessage;
|
|
@@ -14444,7 +14788,7 @@ export type messages_BotResults = messages_botResults;
|
|
|
14444
14788
|
export type ExportedMessageLink = exportedMessageLink;
|
|
14445
14789
|
export type MessageFwdHeader = messageFwdHeader;
|
|
14446
14790
|
export type auth_CodeType = auth_codeTypeSms | auth_codeTypeCall | auth_codeTypeFlashCall | auth_codeTypeMissedCall | auth_codeTypeFragmentSms;
|
|
14447
|
-
export type auth_SentCodeType = auth_sentCodeTypeApp | auth_sentCodeTypeSms | auth_sentCodeTypeCall | auth_sentCodeTypeFlashCall | auth_sentCodeTypeMissedCall | auth_sentCodeTypeEmailCode | auth_sentCodeTypeSetUpEmailRequired | auth_sentCodeTypeFragmentSms | auth_sentCodeTypeFirebaseSms;
|
|
14791
|
+
export type auth_SentCodeType = auth_sentCodeTypeApp | auth_sentCodeTypeSms | auth_sentCodeTypeCall | auth_sentCodeTypeFlashCall | auth_sentCodeTypeMissedCall | auth_sentCodeTypeEmailCode | auth_sentCodeTypeSetUpEmailRequired | auth_sentCodeTypeFragmentSms | auth_sentCodeTypeFirebaseSms | auth_sentCodeTypeSmsWord | auth_sentCodeTypeSmsPhrase;
|
|
14448
14792
|
export type messages_BotCallbackAnswer = messages_botCallbackAnswer;
|
|
14449
14793
|
export type messages_MessageEditData = messages_messageEditData;
|
|
14450
14794
|
export type InputBotInlineMessageID = inputBotInlineMessageID | inputBotInlineMessageID64;
|
|
@@ -14480,10 +14824,10 @@ export type WebDocument = webDocument | webDocumentNoProxy;
|
|
|
14480
14824
|
export type InputWebDocument = inputWebDocument;
|
|
14481
14825
|
export type InputWebFileLocation = inputWebFileLocation | inputWebFileGeoPointLocation | inputWebFileAudioAlbumThumbLocation;
|
|
14482
14826
|
export type upload_WebFile = upload_webFile;
|
|
14483
|
-
export type payments_PaymentForm = payments_paymentForm;
|
|
14827
|
+
export type payments_PaymentForm = payments_paymentForm | payments_paymentFormStars;
|
|
14484
14828
|
export type payments_ValidatedRequestedInfo = payments_validatedRequestedInfo;
|
|
14485
14829
|
export type payments_PaymentResult = payments_paymentResult | payments_paymentVerificationNeeded;
|
|
14486
|
-
export type payments_PaymentReceipt = payments_paymentReceipt;
|
|
14830
|
+
export type payments_PaymentReceipt = payments_paymentReceipt | payments_paymentReceiptStars;
|
|
14487
14831
|
export type payments_SavedInfo = payments_savedInfo;
|
|
14488
14832
|
export type InputPaymentCredentials = inputPaymentCredentialsSaved | inputPaymentCredentials | inputPaymentCredentialsApplePay | inputPaymentCredentialsGooglePay;
|
|
14489
14833
|
export type account_TmpPassword = account_tmpPassword;
|
|
@@ -14586,7 +14930,7 @@ export type messages_InactiveChats = messages_inactiveChats;
|
|
|
14586
14930
|
export type BaseTheme = baseThemeClassic | baseThemeDay | baseThemeNight | baseThemeTinted | baseThemeArctic;
|
|
14587
14931
|
export type InputThemeSettings = inputThemeSettings;
|
|
14588
14932
|
export type ThemeSettings = themeSettings;
|
|
14589
|
-
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory;
|
|
14933
|
+
export type WebPageAttribute = webPageAttributeTheme | webPageAttributeStory | webPageAttributeStickerSet;
|
|
14590
14934
|
export type messages_VotesList = messages_votesList;
|
|
14591
14935
|
export type BankCardOpenUrl = bankCardOpenUrl;
|
|
14592
14936
|
export type payments_BankCardData = payments_bankCardData;
|
|
@@ -14669,11 +15013,11 @@ export type account_SavedRingtones = account_savedRingtonesNotModified | account
|
|
|
14669
15013
|
export type NotificationSound = notificationSoundDefault | notificationSoundNone | notificationSoundLocal | notificationSoundRingtone;
|
|
14670
15014
|
export type account_SavedRingtone = account_savedRingtone | account_savedRingtoneConverted;
|
|
14671
15015
|
export type AttachMenuPeerType = attachMenuPeerTypeSameBotPM | attachMenuPeerTypeBotPM | attachMenuPeerTypePM | attachMenuPeerTypeChat | attachMenuPeerTypeBroadcast;
|
|
14672
|
-
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode;
|
|
15016
|
+
export type InputInvoice = inputInvoiceMessage | inputInvoiceSlug | inputInvoicePremiumGiftCode | inputInvoiceStars;
|
|
14673
15017
|
export type payments_ExportedInvoice = payments_exportedInvoice;
|
|
14674
15018
|
export type messages_TranscribedAudio = messages_transcribedAudio;
|
|
14675
15019
|
export type help_PremiumPromo = help_premiumPromo;
|
|
14676
|
-
export type InputStorePaymentPurpose = inputStorePaymentPremiumSubscription | inputStorePaymentGiftPremium | inputStorePaymentPremiumGiftCode | inputStorePaymentPremiumGiveaway;
|
|
15020
|
+
export type InputStorePaymentPurpose = inputStorePaymentPremiumSubscription | inputStorePaymentGiftPremium | inputStorePaymentPremiumGiftCode | inputStorePaymentPremiumGiveaway | inputStorePaymentStars;
|
|
14677
15021
|
export type PremiumGiftOption = premiumGiftOption;
|
|
14678
15022
|
export type PaymentFormMethod = paymentFormMethod;
|
|
14679
15023
|
export type EmojiStatus = emojiStatusEmpty | emojiStatus | emojiStatusUntil;
|
|
@@ -14695,7 +15039,7 @@ export type DefaultHistoryTTL = defaultHistoryTTL;
|
|
|
14695
15039
|
export type ExportedContactToken = exportedContactToken;
|
|
14696
15040
|
export type RequestPeerType = requestPeerTypeUser | requestPeerTypeChat | requestPeerTypeBroadcast;
|
|
14697
15041
|
export type EmojiList = emojiListNotModified | emojiList;
|
|
14698
|
-
export type EmojiGroup = emojiGroup;
|
|
15042
|
+
export type EmojiGroup = emojiGroup | emojiGroupGreeting | emojiGroupPremium;
|
|
14699
15043
|
export type messages_EmojiGroups = messages_emojiGroupsNotModified | messages_emojiGroups;
|
|
14700
15044
|
export type TextWithEntities = textWithEntities;
|
|
14701
15045
|
export type messages_TranslatedText = messages_translateResult;
|
|
@@ -14717,7 +15061,6 @@ export type chatlists_ChatlistInvite = chatlists_chatlistInviteAlready | chatlis
|
|
|
14717
15061
|
export type chatlists_ChatlistUpdates = chatlists_chatlistUpdates;
|
|
14718
15062
|
export type bots_BotInfo = bots_botInfo;
|
|
14719
15063
|
export type MessagePeerVote = messagePeerVote | messagePeerVoteInputOption | messagePeerVoteMultiple;
|
|
14720
|
-
export type SponsoredWebPage = sponsoredWebPage;
|
|
14721
15064
|
export type StoryViews = storyViews;
|
|
14722
15065
|
export type StoryItem = storyItemDeleted | storyItemSkipped | storyItem;
|
|
14723
15066
|
export type stories_AllStories = stories_allStoriesNotModified | stories_allStories;
|
|
@@ -14803,6 +15146,16 @@ export type stats_BroadcastRevenueStats = stats_broadcastRevenueStats;
|
|
|
14803
15146
|
export type stats_BroadcastRevenueWithdrawalUrl = stats_broadcastRevenueWithdrawalUrl;
|
|
14804
15147
|
export type BroadcastRevenueTransaction = broadcastRevenueTransactionProceeds | broadcastRevenueTransactionWithdrawal | broadcastRevenueTransactionRefund;
|
|
14805
15148
|
export type stats_BroadcastRevenueTransactions = stats_broadcastRevenueTransactions;
|
|
15149
|
+
export type ReactionNotificationsFrom = reactionNotificationsFromContacts | reactionNotificationsFromAll;
|
|
15150
|
+
export type ReactionsNotifySettings = reactionsNotifySettings;
|
|
15151
|
+
export type BroadcastRevenueBalances = broadcastRevenueBalances;
|
|
15152
|
+
export type AvailableEffect = availableEffect;
|
|
15153
|
+
export type messages_AvailableEffects = messages_availableEffectsNotModified | messages_availableEffects;
|
|
15154
|
+
export type FactCheck = factCheck;
|
|
15155
|
+
export type StarsTransactionPeer = starsTransactionPeerUnsupported | starsTransactionPeerAppStore | starsTransactionPeerPlayMarket | starsTransactionPeerPremiumBot | starsTransactionPeerFragment | starsTransactionPeer;
|
|
15156
|
+
export type StarsTopupOption = starsTopupOption;
|
|
15157
|
+
export type StarsTransaction = starsTransaction;
|
|
15158
|
+
export type payments_StarsStatus = payments_starsStatus;
|
|
14806
15159
|
export declare const getTypeName: (id: number) => string | undefined;
|
|
14807
15160
|
export declare const flags: symbol;
|
|
14808
15161
|
export type Parameters = [number, [string, unknown, string][]];
|