@mtkruto/node 0.104.0 → 0.105.0
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/client/0_utilities.d.ts +1 -1
- package/esm/client/0_utilities.d.ts.map +1 -1
- package/esm/client/2_context.d.ts +21 -17
- package/esm/client/2_context.d.ts.map +1 -1
- package/esm/client/2_context.js +8 -0
- package/esm/client/4_chat_manager.js +2 -2
- package/esm/tl/1_telegram_api.d.ts +105 -20
- package/esm/tl/1_telegram_api.d.ts.map +1 -1
- package/esm/tl/1_telegram_api.js +143 -38
- package/package.json +1 -1
- package/script/client/0_utilities.d.ts +1 -1
- package/script/client/0_utilities.d.ts.map +1 -1
- package/script/client/2_context.d.ts +21 -17
- package/script/client/2_context.d.ts.map +1 -1
- package/script/client/2_context.js +8 -0
- package/script/client/4_chat_manager.js +2 -2
- package/script/tl/1_telegram_api.d.ts +105 -20
- package/script/tl/1_telegram_api.d.ts.map +1 -1
- package/script/tl/1_telegram_api.js +143 -38
|
@@ -778,11 +778,13 @@ export interface chatParticipant {
|
|
|
778
778
|
user_id: bigint;
|
|
779
779
|
inviter_id: bigint;
|
|
780
780
|
date: number;
|
|
781
|
+
rank?: string;
|
|
781
782
|
}
|
|
782
783
|
/** https://core.telegram.org/constructor/chatParticipantCreator */
|
|
783
784
|
export interface chatParticipantCreator {
|
|
784
785
|
_: "chatParticipantCreator";
|
|
785
786
|
user_id: bigint;
|
|
787
|
+
rank?: string;
|
|
786
788
|
}
|
|
787
789
|
/** https://core.telegram.org/constructor/chatParticipantAdmin */
|
|
788
790
|
export interface chatParticipantAdmin {
|
|
@@ -790,6 +792,7 @@ export interface chatParticipantAdmin {
|
|
|
790
792
|
user_id: bigint;
|
|
791
793
|
inviter_id: bigint;
|
|
792
794
|
date: number;
|
|
795
|
+
rank?: string;
|
|
793
796
|
}
|
|
794
797
|
/** https://core.telegram.org/constructor/chatParticipantsForbidden */
|
|
795
798
|
export interface chatParticipantsForbidden {
|
|
@@ -843,6 +846,7 @@ export interface message {
|
|
|
843
846
|
id: number;
|
|
844
847
|
from_id?: Peer;
|
|
845
848
|
from_boosts_applied?: number;
|
|
849
|
+
from_rank?: string;
|
|
846
850
|
peer_id: Peer;
|
|
847
851
|
saved_peer_id?: Peer;
|
|
848
852
|
fwd_from?: MessageFwdHeader;
|
|
@@ -1481,6 +1485,19 @@ export interface messageActionChangeCreator {
|
|
|
1481
1485
|
_: "messageActionChangeCreator";
|
|
1482
1486
|
new_creator_id: bigint;
|
|
1483
1487
|
}
|
|
1488
|
+
/** https://core.telegram.org/constructor/messageActionNoForwardsToggle */
|
|
1489
|
+
export interface messageActionNoForwardsToggle {
|
|
1490
|
+
_: "messageActionNoForwardsToggle";
|
|
1491
|
+
prev_value: boolean;
|
|
1492
|
+
new_value: boolean;
|
|
1493
|
+
}
|
|
1494
|
+
/** https://core.telegram.org/constructor/messageActionNoForwardsRequest */
|
|
1495
|
+
export interface messageActionNoForwardsRequest {
|
|
1496
|
+
_: "messageActionNoForwardsRequest";
|
|
1497
|
+
expired?: true;
|
|
1498
|
+
prev_value: boolean;
|
|
1499
|
+
new_value: boolean;
|
|
1500
|
+
}
|
|
1484
1501
|
/** https://core.telegram.org/constructor/dialog */
|
|
1485
1502
|
export interface dialog {
|
|
1486
1503
|
_: "dialog";
|
|
@@ -1780,6 +1797,8 @@ export interface userFull {
|
|
|
1780
1797
|
can_view_revenue?: true;
|
|
1781
1798
|
bot_can_manage_emoji_status?: true;
|
|
1782
1799
|
display_gifts_button?: true;
|
|
1800
|
+
noforwards_my_enabled?: true;
|
|
1801
|
+
noforwards_peer_enabled?: true;
|
|
1783
1802
|
id: bigint;
|
|
1784
1803
|
about?: string;
|
|
1785
1804
|
settings: PeerSettings;
|
|
@@ -3030,6 +3049,14 @@ export interface updateEmojiGameInfo {
|
|
|
3030
3049
|
export interface updateStarGiftCraftFail {
|
|
3031
3050
|
_: "updateStarGiftCraftFail";
|
|
3032
3051
|
}
|
|
3052
|
+
/** https://core.telegram.org/constructor/updateChatParticipantRank */
|
|
3053
|
+
export interface updateChatParticipantRank {
|
|
3054
|
+
_: "updateChatParticipantRank";
|
|
3055
|
+
chat_id: bigint;
|
|
3056
|
+
user_id: bigint;
|
|
3057
|
+
rank: string;
|
|
3058
|
+
version: number;
|
|
3059
|
+
}
|
|
3033
3060
|
/** https://core.telegram.org/constructor/updates.state */
|
|
3034
3061
|
export interface updates_state {
|
|
3035
3062
|
_: "updates.state";
|
|
@@ -4451,6 +4478,19 @@ export interface messageEntityBlockquote {
|
|
|
4451
4478
|
offset: number;
|
|
4452
4479
|
length: number;
|
|
4453
4480
|
}
|
|
4481
|
+
/** https://core.telegram.org/constructor/messageEntityFormattedDate */
|
|
4482
|
+
export interface messageEntityFormattedDate {
|
|
4483
|
+
_: "messageEntityFormattedDate";
|
|
4484
|
+
relative?: true;
|
|
4485
|
+
short_time?: true;
|
|
4486
|
+
long_time?: true;
|
|
4487
|
+
short_date?: true;
|
|
4488
|
+
long_date?: true;
|
|
4489
|
+
day_of_week?: true;
|
|
4490
|
+
offset: number;
|
|
4491
|
+
length: number;
|
|
4492
|
+
date: number;
|
|
4493
|
+
}
|
|
4454
4494
|
/** https://core.telegram.org/constructor/inputChannelEmpty */
|
|
4455
4495
|
export interface inputChannelEmpty {
|
|
4456
4496
|
_: "inputChannelEmpty";
|
|
@@ -4525,6 +4565,7 @@ export interface channelParticipant {
|
|
|
4525
4565
|
user_id: bigint;
|
|
4526
4566
|
date: number;
|
|
4527
4567
|
subscription_until_date?: number;
|
|
4568
|
+
rank?: string;
|
|
4528
4569
|
}
|
|
4529
4570
|
/** https://core.telegram.org/constructor/channelParticipantSelf */
|
|
4530
4571
|
export interface channelParticipantSelf {
|
|
@@ -4534,6 +4575,7 @@ export interface channelParticipantSelf {
|
|
|
4534
4575
|
inviter_id: bigint;
|
|
4535
4576
|
date: number;
|
|
4536
4577
|
subscription_until_date?: number;
|
|
4578
|
+
rank?: string;
|
|
4537
4579
|
}
|
|
4538
4580
|
/** https://core.telegram.org/constructor/channelParticipantCreator */
|
|
4539
4581
|
export interface channelParticipantCreator {
|
|
@@ -4562,6 +4604,7 @@ export interface channelParticipantBanned {
|
|
|
4562
4604
|
kicked_by: bigint;
|
|
4563
4605
|
date: number;
|
|
4564
4606
|
banned_rights: ChatBannedRights;
|
|
4607
|
+
rank?: string;
|
|
4565
4608
|
}
|
|
4566
4609
|
/** https://core.telegram.org/constructor/channelParticipantLeft */
|
|
4567
4610
|
export interface channelParticipantLeft {
|
|
@@ -6215,6 +6258,13 @@ export interface channelAdminLogEventActionToggleAutotranslation {
|
|
|
6215
6258
|
_: "channelAdminLogEventActionToggleAutotranslation";
|
|
6216
6259
|
new_value: boolean;
|
|
6217
6260
|
}
|
|
6261
|
+
/** https://core.telegram.org/constructor/channelAdminLogEventActionParticipantEditRank */
|
|
6262
|
+
export interface channelAdminLogEventActionParticipantEditRank {
|
|
6263
|
+
_: "channelAdminLogEventActionParticipantEditRank";
|
|
6264
|
+
user_id: bigint;
|
|
6265
|
+
prev_rank: string;
|
|
6266
|
+
new_rank: string;
|
|
6267
|
+
}
|
|
6218
6268
|
/** https://core.telegram.org/constructor/channelAdminLogEvent */
|
|
6219
6269
|
export interface channelAdminLogEvent {
|
|
6220
6270
|
_: "channelAdminLogEvent";
|
|
@@ -6252,6 +6302,7 @@ export interface channelAdminLogEventsFilter {
|
|
|
6252
6302
|
send?: true;
|
|
6253
6303
|
forums?: true;
|
|
6254
6304
|
sub_extend?: true;
|
|
6305
|
+
edit_rank?: true;
|
|
6255
6306
|
}
|
|
6256
6307
|
/** https://core.telegram.org/constructor/popularContact */
|
|
6257
6308
|
export interface popularContact {
|
|
@@ -6908,6 +6959,7 @@ export interface chatAdminRights {
|
|
|
6908
6959
|
edit_stories?: true;
|
|
6909
6960
|
delete_stories?: true;
|
|
6910
6961
|
manage_direct_messages?: true;
|
|
6962
|
+
manage_ranks?: true;
|
|
6911
6963
|
}
|
|
6912
6964
|
/** https://core.telegram.org/constructor/chatBannedRights */
|
|
6913
6965
|
export interface chatBannedRights {
|
|
@@ -6932,6 +6984,7 @@ export interface chatBannedRights {
|
|
|
6932
6984
|
send_voices?: true;
|
|
6933
6985
|
send_docs?: true;
|
|
6934
6986
|
send_plain?: true;
|
|
6987
|
+
edit_rank?: true;
|
|
6935
6988
|
until_date: number;
|
|
6936
6989
|
}
|
|
6937
6990
|
/** https://core.telegram.org/constructor/inputWallPaper */
|
|
@@ -7072,12 +7125,15 @@ export interface urlAuthResultRequest {
|
|
|
7072
7125
|
_: "urlAuthResultRequest";
|
|
7073
7126
|
request_write_access?: true;
|
|
7074
7127
|
request_phone_number?: true;
|
|
7128
|
+
match_codes_first?: true;
|
|
7075
7129
|
bot: User;
|
|
7076
7130
|
domain: string;
|
|
7077
7131
|
browser?: string;
|
|
7078
7132
|
platform?: string;
|
|
7079
7133
|
ip?: string;
|
|
7080
7134
|
region?: string;
|
|
7135
|
+
match_codes?: Array<string>;
|
|
7136
|
+
user_id_hint?: bigint;
|
|
7081
7137
|
}
|
|
7082
7138
|
/** https://core.telegram.org/constructor/urlAuthResultAccepted */
|
|
7083
7139
|
export interface urlAuthResultAccepted {
|
|
@@ -12874,6 +12930,7 @@ export interface messages_requestUrlAuth {
|
|
|
12874
12930
|
msg_id?: number;
|
|
12875
12931
|
button_id?: number;
|
|
12876
12932
|
url?: string;
|
|
12933
|
+
in_app_origin?: string;
|
|
12877
12934
|
[R]?: UrlAuthResult;
|
|
12878
12935
|
}
|
|
12879
12936
|
export interface messages_acceptUrlAuth {
|
|
@@ -12884,6 +12941,7 @@ export interface messages_acceptUrlAuth {
|
|
|
12884
12941
|
msg_id?: number;
|
|
12885
12942
|
button_id?: number;
|
|
12886
12943
|
url?: string;
|
|
12944
|
+
match_code?: string;
|
|
12887
12945
|
[R]?: UrlAuthResult;
|
|
12888
12946
|
}
|
|
12889
12947
|
export interface messages_hidePeerSettingsBar {
|
|
@@ -13142,6 +13200,7 @@ export interface messages_toggleNoForwards {
|
|
|
13142
13200
|
_: "messages.toggleNoForwards";
|
|
13143
13201
|
peer: InputPeer;
|
|
13144
13202
|
enabled: boolean;
|
|
13203
|
+
request_msg_id?: number;
|
|
13145
13204
|
[R]?: Updates;
|
|
13146
13205
|
}
|
|
13147
13206
|
export interface messages_saveDefaultSendAs {
|
|
@@ -13783,6 +13842,36 @@ export interface messages_summarizeText {
|
|
|
13783
13842
|
to_lang?: string;
|
|
13784
13843
|
[R]?: TextWithEntities;
|
|
13785
13844
|
}
|
|
13845
|
+
export interface messages_editChatCreator {
|
|
13846
|
+
_: "messages.editChatCreator";
|
|
13847
|
+
peer: InputPeer;
|
|
13848
|
+
user_id: InputUser;
|
|
13849
|
+
password: InputCheckPasswordSRP;
|
|
13850
|
+
[R]?: Updates;
|
|
13851
|
+
}
|
|
13852
|
+
export interface messages_getFutureChatCreatorAfterLeave {
|
|
13853
|
+
_: "messages.getFutureChatCreatorAfterLeave";
|
|
13854
|
+
peer: InputPeer;
|
|
13855
|
+
[R]?: User;
|
|
13856
|
+
}
|
|
13857
|
+
export interface messages_editChatParticipantRank {
|
|
13858
|
+
_: "messages.editChatParticipantRank";
|
|
13859
|
+
peer: InputPeer;
|
|
13860
|
+
participant: InputPeer;
|
|
13861
|
+
rank: string;
|
|
13862
|
+
[R]?: Updates;
|
|
13863
|
+
}
|
|
13864
|
+
export interface messages_declineUrlAuth {
|
|
13865
|
+
_: "messages.declineUrlAuth";
|
|
13866
|
+
url: string;
|
|
13867
|
+
[R]?: boolean;
|
|
13868
|
+
}
|
|
13869
|
+
export interface messages_checkUrlAuthMatchCode {
|
|
13870
|
+
_: "messages.checkUrlAuthMatchCode";
|
|
13871
|
+
url: string;
|
|
13872
|
+
match_code: string;
|
|
13873
|
+
[R]?: boolean;
|
|
13874
|
+
}
|
|
13786
13875
|
export interface updates_getState {
|
|
13787
13876
|
_: "updates.getState";
|
|
13788
13877
|
[R]?: updates_State;
|
|
@@ -14092,7 +14181,7 @@ export interface channels_editAdmin {
|
|
|
14092
14181
|
channel: InputChannel;
|
|
14093
14182
|
user_id: InputUser;
|
|
14094
14183
|
admin_rights: ChatAdminRights;
|
|
14095
|
-
rank
|
|
14184
|
+
rank?: string;
|
|
14096
14185
|
[R]?: Updates;
|
|
14097
14186
|
}
|
|
14098
14187
|
export interface channels_editTitle {
|
|
@@ -14220,13 +14309,6 @@ export interface channels_setDiscussionGroup {
|
|
|
14220
14309
|
group: InputChannel;
|
|
14221
14310
|
[R]?: boolean;
|
|
14222
14311
|
}
|
|
14223
|
-
export interface channels_editCreator {
|
|
14224
|
-
_: "channels.editCreator";
|
|
14225
|
-
channel: InputChannel;
|
|
14226
|
-
user_id: InputUser;
|
|
14227
|
-
password: InputCheckPasswordSRP;
|
|
14228
|
-
[R]?: Updates;
|
|
14229
|
-
}
|
|
14230
14312
|
export interface channels_editLocation {
|
|
14231
14313
|
_: "channels.editLocation";
|
|
14232
14314
|
channel: InputChannel;
|
|
@@ -14401,11 +14483,6 @@ export interface channels_setMainProfileTab {
|
|
|
14401
14483
|
tab: ProfileTab;
|
|
14402
14484
|
[R]?: boolean;
|
|
14403
14485
|
}
|
|
14404
|
-
export interface channels_getFutureCreatorAfterLeave {
|
|
14405
|
-
_: "channels.getFutureCreatorAfterLeave";
|
|
14406
|
-
channel: InputChannel;
|
|
14407
|
-
[R]?: User;
|
|
14408
|
-
}
|
|
14409
14486
|
export interface bots_sendCustomRequest {
|
|
14410
14487
|
_: "bots.sendCustomRequest";
|
|
14411
14488
|
custom_method: string;
|
|
@@ -16020,6 +16097,8 @@ export interface Types {
|
|
|
16020
16097
|
"messageActionStarGiftPurchaseOfferDeclined": messageActionStarGiftPurchaseOfferDeclined;
|
|
16021
16098
|
"messageActionNewCreatorPending": messageActionNewCreatorPending;
|
|
16022
16099
|
"messageActionChangeCreator": messageActionChangeCreator;
|
|
16100
|
+
"messageActionNoForwardsToggle": messageActionNoForwardsToggle;
|
|
16101
|
+
"messageActionNoForwardsRequest": messageActionNoForwardsRequest;
|
|
16023
16102
|
"dialog": dialog;
|
|
16024
16103
|
"dialogFolder": dialogFolder;
|
|
16025
16104
|
"photoEmpty": photoEmpty;
|
|
@@ -16247,6 +16326,7 @@ export interface Types {
|
|
|
16247
16326
|
"updateStarGiftAuctionUserState": updateStarGiftAuctionUserState;
|
|
16248
16327
|
"updateEmojiGameInfo": updateEmojiGameInfo;
|
|
16249
16328
|
"updateStarGiftCraftFail": updateStarGiftCraftFail;
|
|
16329
|
+
"updateChatParticipantRank": updateChatParticipantRank;
|
|
16250
16330
|
"updates.state": updates_state;
|
|
16251
16331
|
"updates.differenceEmpty": updates_differenceEmpty;
|
|
16252
16332
|
"updates.difference": updates_difference;
|
|
@@ -16463,6 +16543,7 @@ export interface Types {
|
|
|
16463
16543
|
"messageEntitySpoiler": messageEntitySpoiler;
|
|
16464
16544
|
"messageEntityCustomEmoji": messageEntityCustomEmoji;
|
|
16465
16545
|
"messageEntityBlockquote": messageEntityBlockquote;
|
|
16546
|
+
"messageEntityFormattedDate": messageEntityFormattedDate;
|
|
16466
16547
|
"inputChannelEmpty": inputChannelEmpty;
|
|
16467
16548
|
"inputChannel": inputChannel;
|
|
16468
16549
|
"inputChannelFromMessage": inputChannelFromMessage;
|
|
@@ -16725,6 +16806,7 @@ export interface Types {
|
|
|
16725
16806
|
"channelAdminLogEventActionToggleSignatureProfiles": channelAdminLogEventActionToggleSignatureProfiles;
|
|
16726
16807
|
"channelAdminLogEventActionParticipantSubExtend": channelAdminLogEventActionParticipantSubExtend;
|
|
16727
16808
|
"channelAdminLogEventActionToggleAutotranslation": channelAdminLogEventActionToggleAutotranslation;
|
|
16809
|
+
"channelAdminLogEventActionParticipantEditRank": channelAdminLogEventActionParticipantEditRank;
|
|
16728
16810
|
"channelAdminLogEvent": channelAdminLogEvent;
|
|
16729
16811
|
"channels.adminLogResults": channels_adminLogResults;
|
|
16730
16812
|
"channelAdminLogEventsFilter": channelAdminLogEventsFilter;
|
|
@@ -17822,6 +17904,11 @@ export interface Functions<T = Function> {
|
|
|
17822
17904
|
"messages.deleteTopicHistory": messages_deleteTopicHistory;
|
|
17823
17905
|
"messages.getEmojiGameInfo": messages_getEmojiGameInfo;
|
|
17824
17906
|
"messages.summarizeText": messages_summarizeText;
|
|
17907
|
+
"messages.editChatCreator": messages_editChatCreator;
|
|
17908
|
+
"messages.getFutureChatCreatorAfterLeave": messages_getFutureChatCreatorAfterLeave;
|
|
17909
|
+
"messages.editChatParticipantRank": messages_editChatParticipantRank;
|
|
17910
|
+
"messages.declineUrlAuth": messages_declineUrlAuth;
|
|
17911
|
+
"messages.checkUrlAuthMatchCode": messages_checkUrlAuthMatchCode;
|
|
17825
17912
|
"updates.getState": updates_getState;
|
|
17826
17913
|
"updates.getDifference": updates_getDifference;
|
|
17827
17914
|
"updates.getChannelDifference": updates_getChannelDifference;
|
|
@@ -17893,7 +17980,6 @@ export interface Functions<T = Function> {
|
|
|
17893
17980
|
"channels.getLeftChannels": channels_getLeftChannels;
|
|
17894
17981
|
"channels.getGroupsForDiscussion": channels_getGroupsForDiscussion;
|
|
17895
17982
|
"channels.setDiscussionGroup": channels_setDiscussionGroup;
|
|
17896
|
-
"channels.editCreator": channels_editCreator;
|
|
17897
17983
|
"channels.editLocation": channels_editLocation;
|
|
17898
17984
|
"channels.toggleSlowMode": channels_toggleSlowMode;
|
|
17899
17985
|
"channels.getInactiveChannels": channels_getInactiveChannels;
|
|
@@ -17922,7 +18008,6 @@ export interface Functions<T = Function> {
|
|
|
17922
18008
|
"channels.getMessageAuthor": channels_getMessageAuthor;
|
|
17923
18009
|
"channels.checkSearchPostsFlood": channels_checkSearchPostsFlood;
|
|
17924
18010
|
"channels.setMainProfileTab": channels_setMainProfileTab;
|
|
17925
|
-
"channels.getFutureCreatorAfterLeave": channels_getFutureCreatorAfterLeave;
|
|
17926
18011
|
"bots.sendCustomRequest": bots_sendCustomRequest;
|
|
17927
18012
|
"bots.answerWebhookJSONQuery": bots_answerWebhookJSONQuery;
|
|
17928
18013
|
"bots.setBotCommands": bots_setBotCommands;
|
|
@@ -18760,7 +18845,7 @@ export type ChatParticipants = chatParticipantsForbidden | chatParticipants;
|
|
|
18760
18845
|
export type ChatPhoto = chatPhotoEmpty | chatPhoto;
|
|
18761
18846
|
export type Message = messageEmpty | message | messageService;
|
|
18762
18847
|
export type MessageMedia = messageMediaEmpty | messageMediaPhoto | messageMediaGeo | messageMediaContact | messageMediaUnsupported | messageMediaDocument | messageMediaWebPage | messageMediaVenue | messageMediaGame | messageMediaInvoice | messageMediaGeoLive | messageMediaPoll | messageMediaDice | messageMediaStory | messageMediaGiveaway | messageMediaGiveawayResults | messageMediaPaidMedia | messageMediaToDo | messageMediaVideoStream;
|
|
18763
|
-
export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars | messageActionStarGift | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall | messageActionTodoCompletions | messageActionTodoAppendTasks | messageActionSuggestedPostApproval | messageActionSuggestedPostSuccess | messageActionSuggestedPostRefund | messageActionGiftTon | messageActionSuggestBirthday | messageActionStarGiftPurchaseOffer | messageActionStarGiftPurchaseOfferDeclined | messageActionNewCreatorPending | messageActionChangeCreator;
|
|
18848
|
+
export type MessageAction = messageActionEmpty | messageActionChatCreate | messageActionChatEditTitle | messageActionChatEditPhoto | messageActionChatDeletePhoto | messageActionChatAddUser | messageActionChatDeleteUser | messageActionChatJoinedByLink | messageActionChannelCreate | messageActionChatMigrateTo | messageActionChannelMigrateFrom | messageActionPinMessage | messageActionHistoryClear | messageActionGameScore | messageActionPaymentSentMe | messageActionPaymentSent | messageActionPhoneCall | messageActionScreenshotTaken | messageActionCustomAction | messageActionBotAllowed | messageActionSecureValuesSentMe | messageActionSecureValuesSent | messageActionContactSignUp | messageActionGeoProximityReached | messageActionGroupCall | messageActionInviteToGroupCall | messageActionSetMessagesTTL | messageActionGroupCallScheduled | messageActionSetChatTheme | messageActionChatJoinedByRequest | messageActionWebViewDataSentMe | messageActionWebViewDataSent | messageActionGiftPremium | messageActionTopicCreate | messageActionTopicEdit | messageActionSuggestProfilePhoto | messageActionRequestedPeer | messageActionSetChatWallPaper | messageActionGiftCode | messageActionGiveawayLaunch | messageActionGiveawayResults | messageActionBoostApply | messageActionRequestedPeerSentMe | messageActionPaymentRefunded | messageActionGiftStars | messageActionPrizeStars | messageActionStarGift | messageActionStarGiftUnique | messageActionPaidMessagesRefunded | messageActionPaidMessagesPrice | messageActionConferenceCall | messageActionTodoCompletions | messageActionTodoAppendTasks | messageActionSuggestedPostApproval | messageActionSuggestedPostSuccess | messageActionSuggestedPostRefund | messageActionGiftTon | messageActionSuggestBirthday | messageActionStarGiftPurchaseOffer | messageActionStarGiftPurchaseOfferDeclined | messageActionNewCreatorPending | messageActionChangeCreator | messageActionNoForwardsToggle | messageActionNoForwardsRequest;
|
|
18764
18849
|
export type Dialog = dialog | dialogFolder;
|
|
18765
18850
|
export type Photo = photoEmpty | photo;
|
|
18766
18851
|
export type PhotoSize = photoSizeEmpty | photoSize | photoCachedSize | photoStrippedSize | photoSizeProgressive | photoPathSize;
|
|
@@ -18787,7 +18872,7 @@ export type messages_Chats = messages_chats | messages_chatsSlice;
|
|
|
18787
18872
|
export type messages_ChatFull = messages_chatFull;
|
|
18788
18873
|
export type messages_AffectedHistory = messages_affectedHistory;
|
|
18789
18874
|
export type MessagesFilter = inputMessagesFilterEmpty | inputMessagesFilterPhotos | inputMessagesFilterVideo | inputMessagesFilterPhotoVideo | inputMessagesFilterDocument | inputMessagesFilterUrl | inputMessagesFilterGif | inputMessagesFilterVoice | inputMessagesFilterMusic | inputMessagesFilterChatPhotos | inputMessagesFilterPhoneCalls | inputMessagesFilterRoundVoice | inputMessagesFilterRoundVideo | inputMessagesFilterMyMentions | inputMessagesFilterGeo | inputMessagesFilterContacts | inputMessagesFilterPinned;
|
|
18790
|
-
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 | 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 | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail;
|
|
18875
|
+
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 | 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 | updateStarsBalance | updateBusinessBotCallbackQuery | updateStarsRevenueStatus | updateBotPurchasedPaidMedia | updatePaidReactionPrivacy | updateSentPhoneCode | updateGroupCallChainBlocks | updateReadMonoForumInbox | updateReadMonoForumOutbox | updateMonoForumNoPaidException | updateGroupCallMessage | updateGroupCallEncryptedMessage | updatePinnedForumTopic | updatePinnedForumTopics | updateDeleteGroupCallMessages | updateStarGiftAuctionState | updateStarGiftAuctionUserState | updateEmojiGameInfo | updateStarGiftCraftFail | updateChatParticipantRank;
|
|
18791
18876
|
export type updates_State = updates_state;
|
|
18792
18877
|
export type updates_Difference = updates_differenceEmpty | updates_difference | updates_differenceSlice | updates_differenceTooLong;
|
|
18793
18878
|
export type Updates = updatesTooLong | updateShortMessage | updateShortChatMessage | updateShort | updatesCombined | updates | updateShortSentMessage;
|
|
@@ -18841,7 +18926,7 @@ export type BotInfo = botInfo;
|
|
|
18841
18926
|
export type KeyboardButton = keyboardButton | keyboardButtonUrl | keyboardButtonCallback | keyboardButtonRequestPhone | keyboardButtonRequestGeoLocation | keyboardButtonSwitchInline | keyboardButtonGame | keyboardButtonBuy | keyboardButtonUrlAuth | inputKeyboardButtonUrlAuth | keyboardButtonRequestPoll | inputKeyboardButtonUserProfile | keyboardButtonUserProfile | keyboardButtonWebView | keyboardButtonSimpleWebView | keyboardButtonRequestPeer | inputKeyboardButtonRequestPeer | keyboardButtonCopy;
|
|
18842
18927
|
export type KeyboardButtonRow = keyboardButtonRow;
|
|
18843
18928
|
export type ReplyMarkup = replyKeyboardHide | replyKeyboardForceReply | replyKeyboardMarkup | replyInlineMarkup;
|
|
18844
|
-
export type MessageEntity = messageEntityUnknown | messageEntityMention | messageEntityHashtag | messageEntityBotCommand | messageEntityUrl | messageEntityEmail | messageEntityBold | messageEntityItalic | messageEntityCode | messageEntityPre | messageEntityTextUrl | messageEntityMentionName | inputMessageEntityMentionName | messageEntityPhone | messageEntityCashtag | messageEntityUnderline | messageEntityStrike | messageEntityBankCard | messageEntitySpoiler | messageEntityCustomEmoji | messageEntityBlockquote;
|
|
18929
|
+
export type MessageEntity = messageEntityUnknown | messageEntityMention | messageEntityHashtag | messageEntityBotCommand | messageEntityUrl | messageEntityEmail | messageEntityBold | messageEntityItalic | messageEntityCode | messageEntityPre | messageEntityTextUrl | messageEntityMentionName | inputMessageEntityMentionName | messageEntityPhone | messageEntityCashtag | messageEntityUnderline | messageEntityStrike | messageEntityBankCard | messageEntitySpoiler | messageEntityCustomEmoji | messageEntityBlockquote | messageEntityFormattedDate;
|
|
18845
18930
|
export type InputChannel = inputChannelEmpty | inputChannel | inputChannelFromMessage;
|
|
18846
18931
|
export type contacts_ResolvedPeer = contacts_resolvedPeer;
|
|
18847
18932
|
export type MessageRange = messageRange;
|
|
@@ -18917,7 +19002,7 @@ export type CdnConfig = cdnConfig;
|
|
|
18917
19002
|
export type LangPackString = langPackString | langPackStringPluralized | langPackStringDeleted;
|
|
18918
19003
|
export type LangPackDifference = langPackDifference;
|
|
18919
19004
|
export type LangPackLanguage = langPackLanguage;
|
|
18920
|
-
export type ChannelAdminLogEventAction = channelAdminLogEventActionChangeTitle | channelAdminLogEventActionChangeAbout | channelAdminLogEventActionChangeUsername | channelAdminLogEventActionChangePhoto | channelAdminLogEventActionToggleInvites | channelAdminLogEventActionToggleSignatures | channelAdminLogEventActionUpdatePinned | channelAdminLogEventActionEditMessage | channelAdminLogEventActionDeleteMessage | channelAdminLogEventActionParticipantJoin | channelAdminLogEventActionParticipantLeave | channelAdminLogEventActionParticipantInvite | channelAdminLogEventActionParticipantToggleBan | channelAdminLogEventActionParticipantToggleAdmin | channelAdminLogEventActionChangeStickerSet | channelAdminLogEventActionTogglePreHistoryHidden | channelAdminLogEventActionDefaultBannedRights | channelAdminLogEventActionStopPoll | channelAdminLogEventActionChangeLinkedChat | channelAdminLogEventActionChangeLocation | channelAdminLogEventActionToggleSlowMode | channelAdminLogEventActionStartGroupCall | channelAdminLogEventActionDiscardGroupCall | channelAdminLogEventActionParticipantMute | channelAdminLogEventActionParticipantUnmute | channelAdminLogEventActionToggleGroupCallSetting | channelAdminLogEventActionParticipantJoinByInvite | channelAdminLogEventActionExportedInviteDelete | channelAdminLogEventActionExportedInviteRevoke | channelAdminLogEventActionExportedInviteEdit | channelAdminLogEventActionParticipantVolume | channelAdminLogEventActionChangeHistoryTTL | channelAdminLogEventActionParticipantJoinByRequest | channelAdminLogEventActionToggleNoForwards | channelAdminLogEventActionSendMessage | channelAdminLogEventActionChangeAvailableReactions | channelAdminLogEventActionChangeUsernames | channelAdminLogEventActionToggleForum | channelAdminLogEventActionCreateTopic | channelAdminLogEventActionEditTopic | channelAdminLogEventActionDeleteTopic | channelAdminLogEventActionPinTopic | channelAdminLogEventActionToggleAntiSpam | channelAdminLogEventActionChangePeerColor | channelAdminLogEventActionChangeProfilePeerColor | channelAdminLogEventActionChangeWallpaper | channelAdminLogEventActionChangeEmojiStatus | channelAdminLogEventActionChangeEmojiStickerSet | channelAdminLogEventActionToggleSignatureProfiles | channelAdminLogEventActionParticipantSubExtend | channelAdminLogEventActionToggleAutotranslation;
|
|
19005
|
+
export type ChannelAdminLogEventAction = channelAdminLogEventActionChangeTitle | channelAdminLogEventActionChangeAbout | channelAdminLogEventActionChangeUsername | channelAdminLogEventActionChangePhoto | channelAdminLogEventActionToggleInvites | channelAdminLogEventActionToggleSignatures | channelAdminLogEventActionUpdatePinned | channelAdminLogEventActionEditMessage | channelAdminLogEventActionDeleteMessage | channelAdminLogEventActionParticipantJoin | channelAdminLogEventActionParticipantLeave | channelAdminLogEventActionParticipantInvite | channelAdminLogEventActionParticipantToggleBan | channelAdminLogEventActionParticipantToggleAdmin | channelAdminLogEventActionChangeStickerSet | channelAdminLogEventActionTogglePreHistoryHidden | channelAdminLogEventActionDefaultBannedRights | channelAdminLogEventActionStopPoll | channelAdminLogEventActionChangeLinkedChat | channelAdminLogEventActionChangeLocation | channelAdminLogEventActionToggleSlowMode | channelAdminLogEventActionStartGroupCall | channelAdminLogEventActionDiscardGroupCall | channelAdminLogEventActionParticipantMute | channelAdminLogEventActionParticipantUnmute | channelAdminLogEventActionToggleGroupCallSetting | channelAdminLogEventActionParticipantJoinByInvite | channelAdminLogEventActionExportedInviteDelete | channelAdminLogEventActionExportedInviteRevoke | channelAdminLogEventActionExportedInviteEdit | channelAdminLogEventActionParticipantVolume | channelAdminLogEventActionChangeHistoryTTL | channelAdminLogEventActionParticipantJoinByRequest | channelAdminLogEventActionToggleNoForwards | channelAdminLogEventActionSendMessage | channelAdminLogEventActionChangeAvailableReactions | channelAdminLogEventActionChangeUsernames | channelAdminLogEventActionToggleForum | channelAdminLogEventActionCreateTopic | channelAdminLogEventActionEditTopic | channelAdminLogEventActionDeleteTopic | channelAdminLogEventActionPinTopic | channelAdminLogEventActionToggleAntiSpam | channelAdminLogEventActionChangePeerColor | channelAdminLogEventActionChangeProfilePeerColor | channelAdminLogEventActionChangeWallpaper | channelAdminLogEventActionChangeEmojiStatus | channelAdminLogEventActionChangeEmojiStickerSet | channelAdminLogEventActionToggleSignatureProfiles | channelAdminLogEventActionParticipantSubExtend | channelAdminLogEventActionToggleAutotranslation | channelAdminLogEventActionParticipantEditRank;
|
|
18921
19006
|
export type ChannelAdminLogEvent = channelAdminLogEvent;
|
|
18922
19007
|
export type channels_AdminLogResults = channels_adminLogResults;
|
|
18923
19008
|
export type ChannelAdminLogEventsFilter = channelAdminLogEventsFilter;
|
|
@@ -19320,6 +19405,6 @@ export type messages_EmojiGameInfo = messages_emojiGameUnavailable | messages_em
|
|
|
19320
19405
|
export type StarGiftAttributeRarity = starGiftAttributeRarity | starGiftAttributeRarityUncommon | starGiftAttributeRarityRare | starGiftAttributeRarityEpic | starGiftAttributeRarityLegendary;
|
|
19321
19406
|
export type KeyboardButtonStyle = keyboardButtonStyle;
|
|
19322
19407
|
export declare const schema: Schema;
|
|
19323
|
-
export declare const LAYER =
|
|
19408
|
+
export declare const LAYER = 223;
|
|
19324
19409
|
export {};
|
|
19325
19410
|
//# sourceMappingURL=1_telegram_api.d.ts.map
|