@mtkruto/node 0.1.157 → 0.1.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/4_constants.d.ts +2 -2
- package/esm/4_constants.js +2 -2
- package/esm/client/1_composer.d.ts +2 -2
- package/esm/client/1_composer.js +4 -4
- package/esm/client/1_file_manager.js +53 -56
- package/esm/client/2_message_manager.js +8 -11
- package/esm/client/4_client.d.ts +2 -2
- package/esm/client/4_client.js +4 -4
- package/esm/tl/2_types.d.ts +596 -1
- package/esm/tl/2_types.js +1824 -319
- package/esm/tl/3_functions.d.ts +374 -2
- package/esm/tl/3_functions.js +943 -31
- package/esm/types/0__file_id.d.ts +79 -54
- package/esm/types/0__file_id.js +259 -277
- package/esm/types/0_chat_photo.js +15 -21
- package/esm/types/0_giveaway_parameters.d.ts +5 -0
- package/esm/types/0_login_url.d.ts +4 -0
- package/esm/types/0_message_reference.d.ts +2 -0
- package/esm/types/0_price_tag.d.ts +2 -0
- package/esm/types/0_thumbnail.js +16 -14
- package/esm/types/1_giveaway.d.ts +2 -0
- package/esm/types/1_inline_query_result_button.d.ts +3 -0
- package/esm/types/1_photo.js +20 -14
- package/esm/types/1_poll.d.ts +13 -0
- package/esm/types/1_reaction_count.d.ts +2 -0
- package/esm/types/1_reply_quote.d.ts +3 -0
- package/esm/types/1_user.d.ts +13 -13
- package/esm/types/2_chosen_inline_result.d.ts +5 -0
- package/esm/types/2_game.d.ts +6 -0
- package/esm/types/2_game.js +11 -7
- package/esm/types/2_inactive_chat.d.ts +3 -0
- package/esm/types/2_inline_query.d.ts +6 -0
- package/esm/types/2_message_interactions.d.ts +5 -0
- package/esm/types/2_message_reaction_count.d.ts +4 -0
- package/esm/types/2_message_reactions.d.ts +7 -0
- package/esm/types/2_story_content.js +4 -7
- package/esm/types/4_inline_query_result.js +5 -5
- package/esm/types/4_message.js +24 -19
- package/esm/types/5_callback_query.d.ts +7 -0
- package/esm/utilities/0_buffer.d.ts +1 -1
- package/esm/utilities/0_buffer.js +26 -24
- package/package.json +1 -1
- package/script/4_constants.d.ts +2 -2
- package/script/4_constants.js +2 -2
- package/script/client/1_composer.d.ts +2 -2
- package/script/client/1_composer.js +4 -4
- package/script/client/1_file_manager.js +52 -55
- package/script/client/2_message_manager.js +6 -9
- package/script/client/4_client.d.ts +2 -2
- package/script/client/4_client.js +4 -4
- package/script/tl/2_types.d.ts +596 -1
- package/script/tl/2_types.js +1904 -345
- package/script/tl/3_functions.d.ts +374 -2
- package/script/tl/3_functions.js +977 -41
- package/script/types/0__file_id.d.ts +79 -54
- package/script/types/0__file_id.js +263 -280
- package/script/types/0_chat_photo.js +14 -20
- package/script/types/0_giveaway_parameters.d.ts +5 -0
- package/script/types/0_login_url.d.ts +4 -0
- package/script/types/0_message_reference.d.ts +2 -0
- package/script/types/0_price_tag.d.ts +2 -0
- package/script/types/0_thumbnail.js +15 -13
- package/script/types/1_giveaway.d.ts +2 -0
- package/script/types/1_inline_query_result_button.d.ts +3 -0
- package/script/types/1_photo.js +19 -13
- package/script/types/1_poll.d.ts +13 -0
- package/script/types/1_reaction_count.d.ts +2 -0
- package/script/types/1_reply_quote.d.ts +3 -0
- package/script/types/1_user.d.ts +13 -13
- package/script/types/2_chosen_inline_result.d.ts +5 -0
- package/script/types/2_game.d.ts +6 -0
- package/script/types/2_game.js +10 -6
- package/script/types/2_inactive_chat.d.ts +3 -0
- package/script/types/2_inline_query.d.ts +6 -0
- package/script/types/2_message_interactions.d.ts +5 -0
- package/script/types/2_message_reaction_count.d.ts +4 -0
- package/script/types/2_message_reactions.d.ts +7 -0
- package/script/types/2_story_content.js +3 -6
- package/script/types/4_inline_query_result.js +4 -4
- package/script/types/4_message.js +23 -18
- package/script/types/5_callback_query.d.ts +7 -0
- package/script/utilities/0_buffer.d.ts +1 -1
- package/script/utilities/0_buffer.js +26 -24
package/esm/tl/3_functions.js
CHANGED
|
@@ -5758,6 +5758,245 @@ Object.defineProperty(account_getChannelRestrictedStatusEmojis_, "__F", {
|
|
|
5758
5758
|
writable: true,
|
|
5759
5759
|
value: null
|
|
5760
5760
|
});
|
|
5761
|
+
export class account_updateBusinessWorkHours_ extends Function_ {
|
|
5762
|
+
get [id]() {
|
|
5763
|
+
return 0x4B00E066;
|
|
5764
|
+
}
|
|
5765
|
+
static get [name]() {
|
|
5766
|
+
return "account.updateBusinessWorkHours";
|
|
5767
|
+
}
|
|
5768
|
+
static get [paramDesc]() {
|
|
5769
|
+
return [
|
|
5770
|
+
["flags", flags, "#"],
|
|
5771
|
+
["business_work_hours", types._BusinessWorkHours, "flags.0?BusinessWorkHours"],
|
|
5772
|
+
];
|
|
5773
|
+
}
|
|
5774
|
+
get [params]() {
|
|
5775
|
+
return [
|
|
5776
|
+
["flags", flags, "#"],
|
|
5777
|
+
[this.business_work_hours ?? null, types._BusinessWorkHours, "flags.0?BusinessWorkHours"],
|
|
5778
|
+
];
|
|
5779
|
+
}
|
|
5780
|
+
constructor(params) {
|
|
5781
|
+
super();
|
|
5782
|
+
Object.defineProperty(this, "business_work_hours", {
|
|
5783
|
+
enumerable: true,
|
|
5784
|
+
configurable: true,
|
|
5785
|
+
writable: true,
|
|
5786
|
+
value: void 0
|
|
5787
|
+
});
|
|
5788
|
+
this.business_work_hours = params?.business_work_hours;
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
Object.defineProperty(account_updateBusinessWorkHours_, "__F", {
|
|
5792
|
+
enumerable: true,
|
|
5793
|
+
configurable: true,
|
|
5794
|
+
writable: true,
|
|
5795
|
+
value: null
|
|
5796
|
+
});
|
|
5797
|
+
export class account_updateBusinessLocation_ extends Function_ {
|
|
5798
|
+
get [id]() {
|
|
5799
|
+
return 0x9E6B131A;
|
|
5800
|
+
}
|
|
5801
|
+
static get [name]() {
|
|
5802
|
+
return "account.updateBusinessLocation";
|
|
5803
|
+
}
|
|
5804
|
+
static get [paramDesc]() {
|
|
5805
|
+
return [
|
|
5806
|
+
["flags", flags, "#"],
|
|
5807
|
+
["geo_point", types._InputGeoPoint, "flags.1?InputGeoPoint"],
|
|
5808
|
+
["address", "string", "flags.0?string"],
|
|
5809
|
+
];
|
|
5810
|
+
}
|
|
5811
|
+
get [params]() {
|
|
5812
|
+
return [
|
|
5813
|
+
["flags", flags, "#"],
|
|
5814
|
+
[this.geo_point ?? null, types._InputGeoPoint, "flags.1?InputGeoPoint"],
|
|
5815
|
+
[this.address ?? null, "string", "flags.0?string"],
|
|
5816
|
+
];
|
|
5817
|
+
}
|
|
5818
|
+
constructor(params) {
|
|
5819
|
+
super();
|
|
5820
|
+
Object.defineProperty(this, "geo_point", {
|
|
5821
|
+
enumerable: true,
|
|
5822
|
+
configurable: true,
|
|
5823
|
+
writable: true,
|
|
5824
|
+
value: void 0
|
|
5825
|
+
});
|
|
5826
|
+
Object.defineProperty(this, "address", {
|
|
5827
|
+
enumerable: true,
|
|
5828
|
+
configurable: true,
|
|
5829
|
+
writable: true,
|
|
5830
|
+
value: void 0
|
|
5831
|
+
});
|
|
5832
|
+
this.geo_point = params?.geo_point;
|
|
5833
|
+
this.address = params?.address;
|
|
5834
|
+
}
|
|
5835
|
+
}
|
|
5836
|
+
Object.defineProperty(account_updateBusinessLocation_, "__F", {
|
|
5837
|
+
enumerable: true,
|
|
5838
|
+
configurable: true,
|
|
5839
|
+
writable: true,
|
|
5840
|
+
value: null
|
|
5841
|
+
});
|
|
5842
|
+
export class account_updateBusinessGreetingMessage_ extends Function_ {
|
|
5843
|
+
get [id]() {
|
|
5844
|
+
return 0x66CDAFC4;
|
|
5845
|
+
}
|
|
5846
|
+
static get [name]() {
|
|
5847
|
+
return "account.updateBusinessGreetingMessage";
|
|
5848
|
+
}
|
|
5849
|
+
static get [paramDesc]() {
|
|
5850
|
+
return [
|
|
5851
|
+
["flags", flags, "#"],
|
|
5852
|
+
["message", types._InputBusinessGreetingMessage, "flags.0?InputBusinessGreetingMessage"],
|
|
5853
|
+
];
|
|
5854
|
+
}
|
|
5855
|
+
get [params]() {
|
|
5856
|
+
return [
|
|
5857
|
+
["flags", flags, "#"],
|
|
5858
|
+
[this.message ?? null, types._InputBusinessGreetingMessage, "flags.0?InputBusinessGreetingMessage"],
|
|
5859
|
+
];
|
|
5860
|
+
}
|
|
5861
|
+
constructor(params) {
|
|
5862
|
+
super();
|
|
5863
|
+
Object.defineProperty(this, "message", {
|
|
5864
|
+
enumerable: true,
|
|
5865
|
+
configurable: true,
|
|
5866
|
+
writable: true,
|
|
5867
|
+
value: void 0
|
|
5868
|
+
});
|
|
5869
|
+
this.message = params?.message;
|
|
5870
|
+
}
|
|
5871
|
+
}
|
|
5872
|
+
Object.defineProperty(account_updateBusinessGreetingMessage_, "__F", {
|
|
5873
|
+
enumerable: true,
|
|
5874
|
+
configurable: true,
|
|
5875
|
+
writable: true,
|
|
5876
|
+
value: null
|
|
5877
|
+
});
|
|
5878
|
+
export class account_updateBusinessAwayMessage_ extends Function_ {
|
|
5879
|
+
get [id]() {
|
|
5880
|
+
return 0xA26A7FA5;
|
|
5881
|
+
}
|
|
5882
|
+
static get [name]() {
|
|
5883
|
+
return "account.updateBusinessAwayMessage";
|
|
5884
|
+
}
|
|
5885
|
+
static get [paramDesc]() {
|
|
5886
|
+
return [
|
|
5887
|
+
["flags", flags, "#"],
|
|
5888
|
+
["message", types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
5889
|
+
];
|
|
5890
|
+
}
|
|
5891
|
+
get [params]() {
|
|
5892
|
+
return [
|
|
5893
|
+
["flags", flags, "#"],
|
|
5894
|
+
[this.message ?? null, types._InputBusinessAwayMessage, "flags.0?InputBusinessAwayMessage"],
|
|
5895
|
+
];
|
|
5896
|
+
}
|
|
5897
|
+
constructor(params) {
|
|
5898
|
+
super();
|
|
5899
|
+
Object.defineProperty(this, "message", {
|
|
5900
|
+
enumerable: true,
|
|
5901
|
+
configurable: true,
|
|
5902
|
+
writable: true,
|
|
5903
|
+
value: void 0
|
|
5904
|
+
});
|
|
5905
|
+
this.message = params?.message;
|
|
5906
|
+
}
|
|
5907
|
+
}
|
|
5908
|
+
Object.defineProperty(account_updateBusinessAwayMessage_, "__F", {
|
|
5909
|
+
enumerable: true,
|
|
5910
|
+
configurable: true,
|
|
5911
|
+
writable: true,
|
|
5912
|
+
value: null
|
|
5913
|
+
});
|
|
5914
|
+
export class account_updateConnectedBot_ extends Function_ {
|
|
5915
|
+
get [id]() {
|
|
5916
|
+
return 0x9C2D527D;
|
|
5917
|
+
}
|
|
5918
|
+
static get [name]() {
|
|
5919
|
+
return "account.updateConnectedBot";
|
|
5920
|
+
}
|
|
5921
|
+
static get [paramDesc]() {
|
|
5922
|
+
return [
|
|
5923
|
+
["flags", flags, "#"],
|
|
5924
|
+
["can_reply", "true", "flags.0?true"],
|
|
5925
|
+
["deleted", "true", "flags.1?true"],
|
|
5926
|
+
["bot", types._InputUser, "InputUser"],
|
|
5927
|
+
["recipients", types._InputBusinessRecipients, "InputBusinessRecipients"],
|
|
5928
|
+
];
|
|
5929
|
+
}
|
|
5930
|
+
get [params]() {
|
|
5931
|
+
return [
|
|
5932
|
+
["flags", flags, "#"],
|
|
5933
|
+
[this.can_reply ?? null, "true", "flags.0?true"],
|
|
5934
|
+
[this.deleted ?? null, "true", "flags.1?true"],
|
|
5935
|
+
[this.bot, types._InputUser, "InputUser"],
|
|
5936
|
+
[this.recipients, types._InputBusinessRecipients, "InputBusinessRecipients"],
|
|
5937
|
+
];
|
|
5938
|
+
}
|
|
5939
|
+
constructor(params) {
|
|
5940
|
+
super();
|
|
5941
|
+
Object.defineProperty(this, "can_reply", {
|
|
5942
|
+
enumerable: true,
|
|
5943
|
+
configurable: true,
|
|
5944
|
+
writable: true,
|
|
5945
|
+
value: void 0
|
|
5946
|
+
});
|
|
5947
|
+
Object.defineProperty(this, "deleted", {
|
|
5948
|
+
enumerable: true,
|
|
5949
|
+
configurable: true,
|
|
5950
|
+
writable: true,
|
|
5951
|
+
value: void 0
|
|
5952
|
+
});
|
|
5953
|
+
Object.defineProperty(this, "bot", {
|
|
5954
|
+
enumerable: true,
|
|
5955
|
+
configurable: true,
|
|
5956
|
+
writable: true,
|
|
5957
|
+
value: void 0
|
|
5958
|
+
});
|
|
5959
|
+
Object.defineProperty(this, "recipients", {
|
|
5960
|
+
enumerable: true,
|
|
5961
|
+
configurable: true,
|
|
5962
|
+
writable: true,
|
|
5963
|
+
value: void 0
|
|
5964
|
+
});
|
|
5965
|
+
this.can_reply = params.can_reply;
|
|
5966
|
+
this.deleted = params.deleted;
|
|
5967
|
+
this.bot = params.bot;
|
|
5968
|
+
this.recipients = params.recipients;
|
|
5969
|
+
}
|
|
5970
|
+
}
|
|
5971
|
+
Object.defineProperty(account_updateConnectedBot_, "__F", {
|
|
5972
|
+
enumerable: true,
|
|
5973
|
+
configurable: true,
|
|
5974
|
+
writable: true,
|
|
5975
|
+
value: null
|
|
5976
|
+
});
|
|
5977
|
+
export class account_getConnectedBots_ extends Function_ {
|
|
5978
|
+
get [id]() {
|
|
5979
|
+
return 0x4EA4C80F;
|
|
5980
|
+
}
|
|
5981
|
+
static get [name]() {
|
|
5982
|
+
return "account.getConnectedBots";
|
|
5983
|
+
}
|
|
5984
|
+
static get [paramDesc]() {
|
|
5985
|
+
return [];
|
|
5986
|
+
}
|
|
5987
|
+
get [params]() {
|
|
5988
|
+
return [];
|
|
5989
|
+
}
|
|
5990
|
+
constructor() {
|
|
5991
|
+
super();
|
|
5992
|
+
}
|
|
5993
|
+
}
|
|
5994
|
+
Object.defineProperty(account_getConnectedBots_, "__F", {
|
|
5995
|
+
enumerable: true,
|
|
5996
|
+
configurable: true,
|
|
5997
|
+
writable: true,
|
|
5998
|
+
value: null
|
|
5999
|
+
});
|
|
5761
6000
|
/** Returns basic user info according to their identifiers. */
|
|
5762
6001
|
export class users_getUsers_ extends Function_ {
|
|
5763
6002
|
get [id]() {
|
|
@@ -7746,7 +7985,7 @@ Object.defineProperty(messages_setTyping_, "__F", {
|
|
|
7746
7985
|
/** Sends a message to a chat */
|
|
7747
7986
|
export class messages_sendMessage_ extends Function_ {
|
|
7748
7987
|
get [id]() {
|
|
7749
|
-
return
|
|
7988
|
+
return 0xDFF8042C;
|
|
7750
7989
|
}
|
|
7751
7990
|
static get [name]() {
|
|
7752
7991
|
return "messages.sendMessage";
|
|
@@ -7769,6 +8008,7 @@ export class messages_sendMessage_ extends Function_ {
|
|
|
7769
8008
|
["entities", [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
7770
8009
|
["schedule_date", "number", "flags.10?int"],
|
|
7771
8010
|
["send_as", types._InputPeer, "flags.13?InputPeer"],
|
|
8011
|
+
["quick_reply_shortcut", types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
7772
8012
|
];
|
|
7773
8013
|
}
|
|
7774
8014
|
get [params]() {
|
|
@@ -7789,6 +8029,7 @@ export class messages_sendMessage_ extends Function_ {
|
|
|
7789
8029
|
[this.entities ?? null, [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
7790
8030
|
[this.schedule_date ?? null, "number", "flags.10?int"],
|
|
7791
8031
|
[this.send_as ?? null, types._InputPeer, "flags.13?InputPeer"],
|
|
8032
|
+
[this.quick_reply_shortcut ?? null, types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
7792
8033
|
];
|
|
7793
8034
|
}
|
|
7794
8035
|
constructor(params) {
|
|
@@ -7898,6 +8139,12 @@ export class messages_sendMessage_ extends Function_ {
|
|
|
7898
8139
|
writable: true,
|
|
7899
8140
|
value: void 0
|
|
7900
8141
|
});
|
|
8142
|
+
Object.defineProperty(this, "quick_reply_shortcut", {
|
|
8143
|
+
enumerable: true,
|
|
8144
|
+
configurable: true,
|
|
8145
|
+
writable: true,
|
|
8146
|
+
value: void 0
|
|
8147
|
+
});
|
|
7901
8148
|
this.no_webpage = params.no_webpage;
|
|
7902
8149
|
this.silent = params.silent;
|
|
7903
8150
|
this.background = params.background;
|
|
@@ -7913,6 +8160,7 @@ export class messages_sendMessage_ extends Function_ {
|
|
|
7913
8160
|
this.entities = params.entities;
|
|
7914
8161
|
this.schedule_date = params.schedule_date;
|
|
7915
8162
|
this.send_as = params.send_as;
|
|
8163
|
+
this.quick_reply_shortcut = params.quick_reply_shortcut;
|
|
7916
8164
|
}
|
|
7917
8165
|
}
|
|
7918
8166
|
Object.defineProperty(messages_sendMessage_, "__F", {
|
|
@@ -7924,7 +8172,7 @@ Object.defineProperty(messages_sendMessage_, "__F", {
|
|
|
7924
8172
|
/** Send a media */
|
|
7925
8173
|
export class messages_sendMedia_ extends Function_ {
|
|
7926
8174
|
get [id]() {
|
|
7927
|
-
return
|
|
8175
|
+
return 0x7BD66041;
|
|
7928
8176
|
}
|
|
7929
8177
|
static get [name]() {
|
|
7930
8178
|
return "messages.sendMedia";
|
|
@@ -7947,6 +8195,7 @@ export class messages_sendMedia_ extends Function_ {
|
|
|
7947
8195
|
["entities", [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
7948
8196
|
["schedule_date", "number", "flags.10?int"],
|
|
7949
8197
|
["send_as", types._InputPeer, "flags.13?InputPeer"],
|
|
8198
|
+
["quick_reply_shortcut", types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
7950
8199
|
];
|
|
7951
8200
|
}
|
|
7952
8201
|
get [params]() {
|
|
@@ -7967,6 +8216,7 @@ export class messages_sendMedia_ extends Function_ {
|
|
|
7967
8216
|
[this.entities ?? null, [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
7968
8217
|
[this.schedule_date ?? null, "number", "flags.10?int"],
|
|
7969
8218
|
[this.send_as ?? null, types._InputPeer, "flags.13?InputPeer"],
|
|
8219
|
+
[this.quick_reply_shortcut ?? null, types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
7970
8220
|
];
|
|
7971
8221
|
}
|
|
7972
8222
|
constructor(params) {
|
|
@@ -8076,6 +8326,12 @@ export class messages_sendMedia_ extends Function_ {
|
|
|
8076
8326
|
writable: true,
|
|
8077
8327
|
value: void 0
|
|
8078
8328
|
});
|
|
8329
|
+
Object.defineProperty(this, "quick_reply_shortcut", {
|
|
8330
|
+
enumerable: true,
|
|
8331
|
+
configurable: true,
|
|
8332
|
+
writable: true,
|
|
8333
|
+
value: void 0
|
|
8334
|
+
});
|
|
8079
8335
|
this.silent = params.silent;
|
|
8080
8336
|
this.background = params.background;
|
|
8081
8337
|
this.clear_draft = params.clear_draft;
|
|
@@ -8091,6 +8347,7 @@ export class messages_sendMedia_ extends Function_ {
|
|
|
8091
8347
|
this.entities = params.entities;
|
|
8092
8348
|
this.schedule_date = params.schedule_date;
|
|
8093
8349
|
this.send_as = params.send_as;
|
|
8350
|
+
this.quick_reply_shortcut = params.quick_reply_shortcut;
|
|
8094
8351
|
}
|
|
8095
8352
|
}
|
|
8096
8353
|
Object.defineProperty(messages_sendMedia_, "__F", {
|
|
@@ -8102,7 +8359,7 @@ Object.defineProperty(messages_sendMedia_, "__F", {
|
|
|
8102
8359
|
/** Forwards messages by their IDs. */
|
|
8103
8360
|
export class messages_forwardMessages_ extends Function_ {
|
|
8104
8361
|
get [id]() {
|
|
8105
|
-
return
|
|
8362
|
+
return 0xD5039208;
|
|
8106
8363
|
}
|
|
8107
8364
|
static get [name]() {
|
|
8108
8365
|
return "messages.forwardMessages";
|
|
@@ -8123,6 +8380,7 @@ export class messages_forwardMessages_ extends Function_ {
|
|
|
8123
8380
|
["top_msg_id", "number", "flags.9?int"],
|
|
8124
8381
|
["schedule_date", "number", "flags.10?int"],
|
|
8125
8382
|
["send_as", types._InputPeer, "flags.13?InputPeer"],
|
|
8383
|
+
["quick_reply_shortcut", types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
8126
8384
|
];
|
|
8127
8385
|
}
|
|
8128
8386
|
get [params]() {
|
|
@@ -8141,6 +8399,7 @@ export class messages_forwardMessages_ extends Function_ {
|
|
|
8141
8399
|
[this.top_msg_id ?? null, "number", "flags.9?int"],
|
|
8142
8400
|
[this.schedule_date ?? null, "number", "flags.10?int"],
|
|
8143
8401
|
[this.send_as ?? null, types._InputPeer, "flags.13?InputPeer"],
|
|
8402
|
+
[this.quick_reply_shortcut ?? null, types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
8144
8403
|
];
|
|
8145
8404
|
}
|
|
8146
8405
|
constructor(params) {
|
|
@@ -8236,6 +8495,12 @@ export class messages_forwardMessages_ extends Function_ {
|
|
|
8236
8495
|
writable: true,
|
|
8237
8496
|
value: void 0
|
|
8238
8497
|
});
|
|
8498
|
+
Object.defineProperty(this, "quick_reply_shortcut", {
|
|
8499
|
+
enumerable: true,
|
|
8500
|
+
configurable: true,
|
|
8501
|
+
writable: true,
|
|
8502
|
+
value: void 0
|
|
8503
|
+
});
|
|
8239
8504
|
this.silent = params.silent;
|
|
8240
8505
|
this.background = params.background;
|
|
8241
8506
|
this.with_my_score = params.with_my_score;
|
|
@@ -8249,6 +8514,7 @@ export class messages_forwardMessages_ extends Function_ {
|
|
|
8249
8514
|
this.top_msg_id = params.top_msg_id;
|
|
8250
8515
|
this.schedule_date = params.schedule_date;
|
|
8251
8516
|
this.send_as = params.send_as;
|
|
8517
|
+
this.quick_reply_shortcut = params.quick_reply_shortcut;
|
|
8252
8518
|
}
|
|
8253
8519
|
}
|
|
8254
8520
|
Object.defineProperty(messages_forwardMessages_, "__F", {
|
|
@@ -10478,7 +10744,7 @@ Object.defineProperty(messages_setInlineBotResults_, "__F", {
|
|
|
10478
10744
|
/** Send a result obtained using [messages.getInlineBotResults](https://core.telegram.org/method/messages.getInlineBotResults). */
|
|
10479
10745
|
export class messages_sendInlineBotResult_ extends Function_ {
|
|
10480
10746
|
get [id]() {
|
|
10481
|
-
return
|
|
10747
|
+
return 0x3EBEE86A;
|
|
10482
10748
|
}
|
|
10483
10749
|
static get [name]() {
|
|
10484
10750
|
return "messages.sendInlineBotResult";
|
|
@@ -10497,6 +10763,7 @@ export class messages_sendInlineBotResult_ extends Function_ {
|
|
|
10497
10763
|
["id", "string", "string"],
|
|
10498
10764
|
["schedule_date", "number", "flags.10?int"],
|
|
10499
10765
|
["send_as", types._InputPeer, "flags.13?InputPeer"],
|
|
10766
|
+
["quick_reply_shortcut", types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
10500
10767
|
];
|
|
10501
10768
|
}
|
|
10502
10769
|
get [params]() {
|
|
@@ -10513,6 +10780,7 @@ export class messages_sendInlineBotResult_ extends Function_ {
|
|
|
10513
10780
|
[this.id, "string", "string"],
|
|
10514
10781
|
[this.schedule_date ?? null, "number", "flags.10?int"],
|
|
10515
10782
|
[this.send_as ?? null, types._InputPeer, "flags.13?InputPeer"],
|
|
10783
|
+
[this.quick_reply_shortcut ?? null, types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
10516
10784
|
];
|
|
10517
10785
|
}
|
|
10518
10786
|
constructor(params) {
|
|
@@ -10594,6 +10862,12 @@ export class messages_sendInlineBotResult_ extends Function_ {
|
|
|
10594
10862
|
writable: true,
|
|
10595
10863
|
value: void 0
|
|
10596
10864
|
});
|
|
10865
|
+
Object.defineProperty(this, "quick_reply_shortcut", {
|
|
10866
|
+
enumerable: true,
|
|
10867
|
+
configurable: true,
|
|
10868
|
+
writable: true,
|
|
10869
|
+
value: void 0
|
|
10870
|
+
});
|
|
10597
10871
|
this.silent = params.silent;
|
|
10598
10872
|
this.background = params.background;
|
|
10599
10873
|
this.clear_draft = params.clear_draft;
|
|
@@ -10605,6 +10879,7 @@ export class messages_sendInlineBotResult_ extends Function_ {
|
|
|
10605
10879
|
this.id = params.id;
|
|
10606
10880
|
this.schedule_date = params.schedule_date;
|
|
10607
10881
|
this.send_as = params.send_as;
|
|
10882
|
+
this.quick_reply_shortcut = params.quick_reply_shortcut;
|
|
10608
10883
|
}
|
|
10609
10884
|
}
|
|
10610
10885
|
Object.defineProperty(messages_sendInlineBotResult_, "__F", {
|
|
@@ -10662,7 +10937,7 @@ Object.defineProperty(messages_getMessageEditData_, "__F", {
|
|
|
10662
10937
|
/** Edit message */
|
|
10663
10938
|
export class messages_editMessage_ extends Function_ {
|
|
10664
10939
|
get [id]() {
|
|
10665
|
-
return
|
|
10940
|
+
return 0xDFD14005;
|
|
10666
10941
|
}
|
|
10667
10942
|
static get [name]() {
|
|
10668
10943
|
return "messages.editMessage";
|
|
@@ -10679,6 +10954,7 @@ export class messages_editMessage_ extends Function_ {
|
|
|
10679
10954
|
["reply_markup", types._ReplyMarkup, "flags.2?ReplyMarkup"],
|
|
10680
10955
|
["entities", [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
10681
10956
|
["schedule_date", "number", "flags.15?int"],
|
|
10957
|
+
["quick_reply_shortcut_id", "number", "flags.17?int"],
|
|
10682
10958
|
];
|
|
10683
10959
|
}
|
|
10684
10960
|
get [params]() {
|
|
@@ -10693,6 +10969,7 @@ export class messages_editMessage_ extends Function_ {
|
|
|
10693
10969
|
[this.reply_markup ?? null, types._ReplyMarkup, "flags.2?ReplyMarkup"],
|
|
10694
10970
|
[this.entities ?? null, [types._MessageEntity], "flags.3?Vector<MessageEntity>"],
|
|
10695
10971
|
[this.schedule_date ?? null, "number", "flags.15?int"],
|
|
10972
|
+
[this.quick_reply_shortcut_id ?? null, "number", "flags.17?int"],
|
|
10696
10973
|
];
|
|
10697
10974
|
}
|
|
10698
10975
|
constructor(params) {
|
|
@@ -10760,6 +11037,12 @@ export class messages_editMessage_ extends Function_ {
|
|
|
10760
11037
|
writable: true,
|
|
10761
11038
|
value: void 0
|
|
10762
11039
|
});
|
|
11040
|
+
Object.defineProperty(this, "quick_reply_shortcut_id", {
|
|
11041
|
+
enumerable: true,
|
|
11042
|
+
configurable: true,
|
|
11043
|
+
writable: true,
|
|
11044
|
+
value: void 0
|
|
11045
|
+
});
|
|
10763
11046
|
this.no_webpage = params.no_webpage;
|
|
10764
11047
|
this.invert_media = params.invert_media;
|
|
10765
11048
|
this.peer = params.peer;
|
|
@@ -10769,6 +11052,7 @@ export class messages_editMessage_ extends Function_ {
|
|
|
10769
11052
|
this.reply_markup = params.reply_markup;
|
|
10770
11053
|
this.entities = params.entities;
|
|
10771
11054
|
this.schedule_date = params.schedule_date;
|
|
11055
|
+
this.quick_reply_shortcut_id = params.quick_reply_shortcut_id;
|
|
10772
11056
|
}
|
|
10773
11057
|
}
|
|
10774
11058
|
Object.defineProperty(messages_editMessage_, "__F", {
|
|
@@ -12565,7 +12849,7 @@ Object.defineProperty(messages_getRecentLocations_, "__F", {
|
|
|
12565
12849
|
/** Send an [album or grouped media](https://core.telegram.org/api/files#albums-grouped-media) */
|
|
12566
12850
|
export class messages_sendMultiMedia_ extends Function_ {
|
|
12567
12851
|
get [id]() {
|
|
12568
|
-
return
|
|
12852
|
+
return 0x0C964709;
|
|
12569
12853
|
}
|
|
12570
12854
|
static get [name]() {
|
|
12571
12855
|
return "messages.sendMultiMedia";
|
|
@@ -12584,6 +12868,7 @@ export class messages_sendMultiMedia_ extends Function_ {
|
|
|
12584
12868
|
["multi_media", [types._InputSingleMedia], "Vector<InputSingleMedia>"],
|
|
12585
12869
|
["schedule_date", "number", "flags.10?int"],
|
|
12586
12870
|
["send_as", types._InputPeer, "flags.13?InputPeer"],
|
|
12871
|
+
["quick_reply_shortcut", types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
12587
12872
|
];
|
|
12588
12873
|
}
|
|
12589
12874
|
get [params]() {
|
|
@@ -12600,6 +12885,7 @@ export class messages_sendMultiMedia_ extends Function_ {
|
|
|
12600
12885
|
[this.multi_media, [types._InputSingleMedia], "Vector<InputSingleMedia>"],
|
|
12601
12886
|
[this.schedule_date ?? null, "number", "flags.10?int"],
|
|
12602
12887
|
[this.send_as ?? null, types._InputPeer, "flags.13?InputPeer"],
|
|
12888
|
+
[this.quick_reply_shortcut ?? null, types._InputQuickReplyShortcut, "flags.17?InputQuickReplyShortcut"],
|
|
12603
12889
|
];
|
|
12604
12890
|
}
|
|
12605
12891
|
constructor(params) {
|
|
@@ -12681,6 +12967,12 @@ export class messages_sendMultiMedia_ extends Function_ {
|
|
|
12681
12967
|
writable: true,
|
|
12682
12968
|
value: void 0
|
|
12683
12969
|
});
|
|
12970
|
+
Object.defineProperty(this, "quick_reply_shortcut", {
|
|
12971
|
+
enumerable: true,
|
|
12972
|
+
configurable: true,
|
|
12973
|
+
writable: true,
|
|
12974
|
+
value: void 0
|
|
12975
|
+
});
|
|
12684
12976
|
this.silent = params.silent;
|
|
12685
12977
|
this.background = params.background;
|
|
12686
12978
|
this.clear_draft = params.clear_draft;
|
|
@@ -12692,6 +12984,7 @@ export class messages_sendMultiMedia_ extends Function_ {
|
|
|
12692
12984
|
this.multi_media = params.multi_media;
|
|
12693
12985
|
this.schedule_date = params.schedule_date;
|
|
12694
12986
|
this.send_as = params.send_as;
|
|
12987
|
+
this.quick_reply_shortcut = params.quick_reply_shortcut;
|
|
12695
12988
|
}
|
|
12696
12989
|
}
|
|
12697
12990
|
Object.defineProperty(messages_sendMultiMedia_, "__F", {
|
|
@@ -13970,7 +14263,7 @@ Object.defineProperty(messages_toggleStickerSets_, "__F", {
|
|
|
13970
14263
|
/** Get [folders](https://core.telegram.org/api/folders) */
|
|
13971
14264
|
export class messages_getDialogFilters_ extends Function_ {
|
|
13972
14265
|
get [id]() {
|
|
13973
|
-
return
|
|
14266
|
+
return 0xEFD48C89;
|
|
13974
14267
|
}
|
|
13975
14268
|
static get [name]() {
|
|
13976
14269
|
return "messages.getDialogFilters";
|
|
@@ -18438,56 +18731,409 @@ Object.defineProperty(messages_getOutboxReadDate_, "__F", {
|
|
|
18438
18731
|
writable: true,
|
|
18439
18732
|
value: null
|
|
18440
18733
|
});
|
|
18441
|
-
|
|
18442
|
-
export class updates_getState_ extends Function_ {
|
|
18734
|
+
export class messages_getQuickReplies_ extends Function_ {
|
|
18443
18735
|
get [id]() {
|
|
18444
|
-
return
|
|
18736
|
+
return 0xD483F2A8;
|
|
18445
18737
|
}
|
|
18446
18738
|
static get [name]() {
|
|
18447
|
-
return "
|
|
18739
|
+
return "messages.getQuickReplies";
|
|
18448
18740
|
}
|
|
18449
18741
|
static get [paramDesc]() {
|
|
18450
|
-
return [
|
|
18742
|
+
return [
|
|
18743
|
+
["hash", "bigint", "long"],
|
|
18744
|
+
];
|
|
18451
18745
|
}
|
|
18452
18746
|
get [params]() {
|
|
18453
|
-
return [
|
|
18747
|
+
return [
|
|
18748
|
+
[this.hash, "bigint", "long"],
|
|
18749
|
+
];
|
|
18454
18750
|
}
|
|
18455
|
-
constructor() {
|
|
18751
|
+
constructor(params) {
|
|
18456
18752
|
super();
|
|
18753
|
+
Object.defineProperty(this, "hash", {
|
|
18754
|
+
enumerable: true,
|
|
18755
|
+
configurable: true,
|
|
18756
|
+
writable: true,
|
|
18757
|
+
value: void 0
|
|
18758
|
+
});
|
|
18759
|
+
this.hash = params.hash;
|
|
18457
18760
|
}
|
|
18458
18761
|
}
|
|
18459
|
-
Object.defineProperty(
|
|
18762
|
+
Object.defineProperty(messages_getQuickReplies_, "__F", {
|
|
18460
18763
|
enumerable: true,
|
|
18461
18764
|
configurable: true,
|
|
18462
18765
|
writable: true,
|
|
18463
18766
|
value: null
|
|
18464
18767
|
});
|
|
18465
|
-
|
|
18466
|
-
export class updates_getDifference_ extends Function_ {
|
|
18768
|
+
export class messages_reorderQuickReplies_ extends Function_ {
|
|
18467
18769
|
get [id]() {
|
|
18468
|
-
return
|
|
18770
|
+
return 0x60331907;
|
|
18469
18771
|
}
|
|
18470
18772
|
static get [name]() {
|
|
18471
|
-
return "
|
|
18773
|
+
return "messages.reorderQuickReplies";
|
|
18472
18774
|
}
|
|
18473
18775
|
static get [paramDesc]() {
|
|
18474
18776
|
return [
|
|
18475
|
-
["
|
|
18476
|
-
["pts", "number", "int"],
|
|
18477
|
-
["pts_limit", "number", "flags.1?int"],
|
|
18478
|
-
["pts_total_limit", "number", "flags.0?int"],
|
|
18479
|
-
["date", "number", "int"],
|
|
18480
|
-
["qts", "number", "int"],
|
|
18481
|
-
["qts_limit", "number", "flags.2?int"],
|
|
18777
|
+
["order", ["number"], "Vector<int>"],
|
|
18482
18778
|
];
|
|
18483
18779
|
}
|
|
18484
18780
|
get [params]() {
|
|
18485
18781
|
return [
|
|
18486
|
-
["
|
|
18487
|
-
|
|
18488
|
-
|
|
18489
|
-
|
|
18490
|
-
|
|
18782
|
+
[this.order, ["number"], "Vector<int>"],
|
|
18783
|
+
];
|
|
18784
|
+
}
|
|
18785
|
+
constructor(params) {
|
|
18786
|
+
super();
|
|
18787
|
+
Object.defineProperty(this, "order", {
|
|
18788
|
+
enumerable: true,
|
|
18789
|
+
configurable: true,
|
|
18790
|
+
writable: true,
|
|
18791
|
+
value: void 0
|
|
18792
|
+
});
|
|
18793
|
+
this.order = params.order;
|
|
18794
|
+
}
|
|
18795
|
+
}
|
|
18796
|
+
Object.defineProperty(messages_reorderQuickReplies_, "__F", {
|
|
18797
|
+
enumerable: true,
|
|
18798
|
+
configurable: true,
|
|
18799
|
+
writable: true,
|
|
18800
|
+
value: null
|
|
18801
|
+
});
|
|
18802
|
+
export class messages_checkQuickReplyShortcut_ extends Function_ {
|
|
18803
|
+
get [id]() {
|
|
18804
|
+
return 0xF1D0FBD3;
|
|
18805
|
+
}
|
|
18806
|
+
static get [name]() {
|
|
18807
|
+
return "messages.checkQuickReplyShortcut";
|
|
18808
|
+
}
|
|
18809
|
+
static get [paramDesc]() {
|
|
18810
|
+
return [
|
|
18811
|
+
["shortcut", "string", "string"],
|
|
18812
|
+
];
|
|
18813
|
+
}
|
|
18814
|
+
get [params]() {
|
|
18815
|
+
return [
|
|
18816
|
+
[this.shortcut, "string", "string"],
|
|
18817
|
+
];
|
|
18818
|
+
}
|
|
18819
|
+
constructor(params) {
|
|
18820
|
+
super();
|
|
18821
|
+
Object.defineProperty(this, "shortcut", {
|
|
18822
|
+
enumerable: true,
|
|
18823
|
+
configurable: true,
|
|
18824
|
+
writable: true,
|
|
18825
|
+
value: void 0
|
|
18826
|
+
});
|
|
18827
|
+
this.shortcut = params.shortcut;
|
|
18828
|
+
}
|
|
18829
|
+
}
|
|
18830
|
+
Object.defineProperty(messages_checkQuickReplyShortcut_, "__F", {
|
|
18831
|
+
enumerable: true,
|
|
18832
|
+
configurable: true,
|
|
18833
|
+
writable: true,
|
|
18834
|
+
value: null
|
|
18835
|
+
});
|
|
18836
|
+
export class messages_editQuickReplyShortcut_ extends Function_ {
|
|
18837
|
+
get [id]() {
|
|
18838
|
+
return 0x5C003CEF;
|
|
18839
|
+
}
|
|
18840
|
+
static get [name]() {
|
|
18841
|
+
return "messages.editQuickReplyShortcut";
|
|
18842
|
+
}
|
|
18843
|
+
static get [paramDesc]() {
|
|
18844
|
+
return [
|
|
18845
|
+
["shortcut_id", "number", "int"],
|
|
18846
|
+
["shortcut", "string", "string"],
|
|
18847
|
+
];
|
|
18848
|
+
}
|
|
18849
|
+
get [params]() {
|
|
18850
|
+
return [
|
|
18851
|
+
[this.shortcut_id, "number", "int"],
|
|
18852
|
+
[this.shortcut, "string", "string"],
|
|
18853
|
+
];
|
|
18854
|
+
}
|
|
18855
|
+
constructor(params) {
|
|
18856
|
+
super();
|
|
18857
|
+
Object.defineProperty(this, "shortcut_id", {
|
|
18858
|
+
enumerable: true,
|
|
18859
|
+
configurable: true,
|
|
18860
|
+
writable: true,
|
|
18861
|
+
value: void 0
|
|
18862
|
+
});
|
|
18863
|
+
Object.defineProperty(this, "shortcut", {
|
|
18864
|
+
enumerable: true,
|
|
18865
|
+
configurable: true,
|
|
18866
|
+
writable: true,
|
|
18867
|
+
value: void 0
|
|
18868
|
+
});
|
|
18869
|
+
this.shortcut_id = params.shortcut_id;
|
|
18870
|
+
this.shortcut = params.shortcut;
|
|
18871
|
+
}
|
|
18872
|
+
}
|
|
18873
|
+
Object.defineProperty(messages_editQuickReplyShortcut_, "__F", {
|
|
18874
|
+
enumerable: true,
|
|
18875
|
+
configurable: true,
|
|
18876
|
+
writable: true,
|
|
18877
|
+
value: null
|
|
18878
|
+
});
|
|
18879
|
+
export class messages_deleteQuickReplyShortcut_ extends Function_ {
|
|
18880
|
+
get [id]() {
|
|
18881
|
+
return 0x3CC04740;
|
|
18882
|
+
}
|
|
18883
|
+
static get [name]() {
|
|
18884
|
+
return "messages.deleteQuickReplyShortcut";
|
|
18885
|
+
}
|
|
18886
|
+
static get [paramDesc]() {
|
|
18887
|
+
return [
|
|
18888
|
+
["shortcut_id", "number", "int"],
|
|
18889
|
+
];
|
|
18890
|
+
}
|
|
18891
|
+
get [params]() {
|
|
18892
|
+
return [
|
|
18893
|
+
[this.shortcut_id, "number", "int"],
|
|
18894
|
+
];
|
|
18895
|
+
}
|
|
18896
|
+
constructor(params) {
|
|
18897
|
+
super();
|
|
18898
|
+
Object.defineProperty(this, "shortcut_id", {
|
|
18899
|
+
enumerable: true,
|
|
18900
|
+
configurable: true,
|
|
18901
|
+
writable: true,
|
|
18902
|
+
value: void 0
|
|
18903
|
+
});
|
|
18904
|
+
this.shortcut_id = params.shortcut_id;
|
|
18905
|
+
}
|
|
18906
|
+
}
|
|
18907
|
+
Object.defineProperty(messages_deleteQuickReplyShortcut_, "__F", {
|
|
18908
|
+
enumerable: true,
|
|
18909
|
+
configurable: true,
|
|
18910
|
+
writable: true,
|
|
18911
|
+
value: null
|
|
18912
|
+
});
|
|
18913
|
+
export class messages_getQuickReplyMessages_ extends Function_ {
|
|
18914
|
+
get [id]() {
|
|
18915
|
+
return 0x94A495C3;
|
|
18916
|
+
}
|
|
18917
|
+
static get [name]() {
|
|
18918
|
+
return "messages.getQuickReplyMessages";
|
|
18919
|
+
}
|
|
18920
|
+
static get [paramDesc]() {
|
|
18921
|
+
return [
|
|
18922
|
+
["flags", flags, "#"],
|
|
18923
|
+
["shortcut_id", "number", "int"],
|
|
18924
|
+
["id", ["number"], "flags.0?Vector<int>"],
|
|
18925
|
+
["hash", "bigint", "long"],
|
|
18926
|
+
];
|
|
18927
|
+
}
|
|
18928
|
+
get [params]() {
|
|
18929
|
+
return [
|
|
18930
|
+
["flags", flags, "#"],
|
|
18931
|
+
[this.shortcut_id, "number", "int"],
|
|
18932
|
+
[this.id ?? null, ["number"], "flags.0?Vector<int>"],
|
|
18933
|
+
[this.hash, "bigint", "long"],
|
|
18934
|
+
];
|
|
18935
|
+
}
|
|
18936
|
+
constructor(params) {
|
|
18937
|
+
super();
|
|
18938
|
+
Object.defineProperty(this, "shortcut_id", {
|
|
18939
|
+
enumerable: true,
|
|
18940
|
+
configurable: true,
|
|
18941
|
+
writable: true,
|
|
18942
|
+
value: void 0
|
|
18943
|
+
});
|
|
18944
|
+
Object.defineProperty(this, "id", {
|
|
18945
|
+
enumerable: true,
|
|
18946
|
+
configurable: true,
|
|
18947
|
+
writable: true,
|
|
18948
|
+
value: void 0
|
|
18949
|
+
});
|
|
18950
|
+
Object.defineProperty(this, "hash", {
|
|
18951
|
+
enumerable: true,
|
|
18952
|
+
configurable: true,
|
|
18953
|
+
writable: true,
|
|
18954
|
+
value: void 0
|
|
18955
|
+
});
|
|
18956
|
+
this.shortcut_id = params.shortcut_id;
|
|
18957
|
+
this.id = params.id;
|
|
18958
|
+
this.hash = params.hash;
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
Object.defineProperty(messages_getQuickReplyMessages_, "__F", {
|
|
18962
|
+
enumerable: true,
|
|
18963
|
+
configurable: true,
|
|
18964
|
+
writable: true,
|
|
18965
|
+
value: null
|
|
18966
|
+
});
|
|
18967
|
+
export class messages_sendQuickReplyMessages_ extends Function_ {
|
|
18968
|
+
get [id]() {
|
|
18969
|
+
return 0x33153AD4;
|
|
18970
|
+
}
|
|
18971
|
+
static get [name]() {
|
|
18972
|
+
return "messages.sendQuickReplyMessages";
|
|
18973
|
+
}
|
|
18974
|
+
static get [paramDesc]() {
|
|
18975
|
+
return [
|
|
18976
|
+
["peer", types._InputPeer, "InputPeer"],
|
|
18977
|
+
["shortcut_id", "number", "int"],
|
|
18978
|
+
];
|
|
18979
|
+
}
|
|
18980
|
+
get [params]() {
|
|
18981
|
+
return [
|
|
18982
|
+
[this.peer, types._InputPeer, "InputPeer"],
|
|
18983
|
+
[this.shortcut_id, "number", "int"],
|
|
18984
|
+
];
|
|
18985
|
+
}
|
|
18986
|
+
constructor(params) {
|
|
18987
|
+
super();
|
|
18988
|
+
Object.defineProperty(this, "peer", {
|
|
18989
|
+
enumerable: true,
|
|
18990
|
+
configurable: true,
|
|
18991
|
+
writable: true,
|
|
18992
|
+
value: void 0
|
|
18993
|
+
});
|
|
18994
|
+
Object.defineProperty(this, "shortcut_id", {
|
|
18995
|
+
enumerable: true,
|
|
18996
|
+
configurable: true,
|
|
18997
|
+
writable: true,
|
|
18998
|
+
value: void 0
|
|
18999
|
+
});
|
|
19000
|
+
this.peer = params.peer;
|
|
19001
|
+
this.shortcut_id = params.shortcut_id;
|
|
19002
|
+
}
|
|
19003
|
+
}
|
|
19004
|
+
Object.defineProperty(messages_sendQuickReplyMessages_, "__F", {
|
|
19005
|
+
enumerable: true,
|
|
19006
|
+
configurable: true,
|
|
19007
|
+
writable: true,
|
|
19008
|
+
value: null
|
|
19009
|
+
});
|
|
19010
|
+
export class messages_deleteQuickReplyMessages_ extends Function_ {
|
|
19011
|
+
get [id]() {
|
|
19012
|
+
return 0xE105E910;
|
|
19013
|
+
}
|
|
19014
|
+
static get [name]() {
|
|
19015
|
+
return "messages.deleteQuickReplyMessages";
|
|
19016
|
+
}
|
|
19017
|
+
static get [paramDesc]() {
|
|
19018
|
+
return [
|
|
19019
|
+
["shortcut_id", "number", "int"],
|
|
19020
|
+
["id", ["number"], "Vector<int>"],
|
|
19021
|
+
];
|
|
19022
|
+
}
|
|
19023
|
+
get [params]() {
|
|
19024
|
+
return [
|
|
19025
|
+
[this.shortcut_id, "number", "int"],
|
|
19026
|
+
[this.id, ["number"], "Vector<int>"],
|
|
19027
|
+
];
|
|
19028
|
+
}
|
|
19029
|
+
constructor(params) {
|
|
19030
|
+
super();
|
|
19031
|
+
Object.defineProperty(this, "shortcut_id", {
|
|
19032
|
+
enumerable: true,
|
|
19033
|
+
configurable: true,
|
|
19034
|
+
writable: true,
|
|
19035
|
+
value: void 0
|
|
19036
|
+
});
|
|
19037
|
+
Object.defineProperty(this, "id", {
|
|
19038
|
+
enumerable: true,
|
|
19039
|
+
configurable: true,
|
|
19040
|
+
writable: true,
|
|
19041
|
+
value: void 0
|
|
19042
|
+
});
|
|
19043
|
+
this.shortcut_id = params.shortcut_id;
|
|
19044
|
+
this.id = params.id;
|
|
19045
|
+
}
|
|
19046
|
+
}
|
|
19047
|
+
Object.defineProperty(messages_deleteQuickReplyMessages_, "__F", {
|
|
19048
|
+
enumerable: true,
|
|
19049
|
+
configurable: true,
|
|
19050
|
+
writable: true,
|
|
19051
|
+
value: null
|
|
19052
|
+
});
|
|
19053
|
+
export class messages_toggleDialogFilterTags_ extends Function_ {
|
|
19054
|
+
get [id]() {
|
|
19055
|
+
return 0xFD2DDA49;
|
|
19056
|
+
}
|
|
19057
|
+
static get [name]() {
|
|
19058
|
+
return "messages.toggleDialogFilterTags";
|
|
19059
|
+
}
|
|
19060
|
+
static get [paramDesc]() {
|
|
19061
|
+
return [
|
|
19062
|
+
["enabled", "boolean", "Bool"],
|
|
19063
|
+
];
|
|
19064
|
+
}
|
|
19065
|
+
get [params]() {
|
|
19066
|
+
return [
|
|
19067
|
+
[this.enabled, "boolean", "Bool"],
|
|
19068
|
+
];
|
|
19069
|
+
}
|
|
19070
|
+
constructor(params) {
|
|
19071
|
+
super();
|
|
19072
|
+
Object.defineProperty(this, "enabled", {
|
|
19073
|
+
enumerable: true,
|
|
19074
|
+
configurable: true,
|
|
19075
|
+
writable: true,
|
|
19076
|
+
value: void 0
|
|
19077
|
+
});
|
|
19078
|
+
this.enabled = params.enabled;
|
|
19079
|
+
}
|
|
19080
|
+
}
|
|
19081
|
+
Object.defineProperty(messages_toggleDialogFilterTags_, "__F", {
|
|
19082
|
+
enumerable: true,
|
|
19083
|
+
configurable: true,
|
|
19084
|
+
writable: true,
|
|
19085
|
+
value: null
|
|
19086
|
+
});
|
|
19087
|
+
/** Returns a current state of updates. */
|
|
19088
|
+
export class updates_getState_ extends Function_ {
|
|
19089
|
+
get [id]() {
|
|
19090
|
+
return 0xEDD4882A;
|
|
19091
|
+
}
|
|
19092
|
+
static get [name]() {
|
|
19093
|
+
return "updates.getState";
|
|
19094
|
+
}
|
|
19095
|
+
static get [paramDesc]() {
|
|
19096
|
+
return [];
|
|
19097
|
+
}
|
|
19098
|
+
get [params]() {
|
|
19099
|
+
return [];
|
|
19100
|
+
}
|
|
19101
|
+
constructor() {
|
|
19102
|
+
super();
|
|
19103
|
+
}
|
|
19104
|
+
}
|
|
19105
|
+
Object.defineProperty(updates_getState_, "__F", {
|
|
19106
|
+
enumerable: true,
|
|
19107
|
+
configurable: true,
|
|
19108
|
+
writable: true,
|
|
19109
|
+
value: null
|
|
19110
|
+
});
|
|
19111
|
+
/** Get new [updates](https://core.telegram.org/api/updates). */
|
|
19112
|
+
export class updates_getDifference_ extends Function_ {
|
|
19113
|
+
get [id]() {
|
|
19114
|
+
return 0x19C2F763;
|
|
19115
|
+
}
|
|
19116
|
+
static get [name]() {
|
|
19117
|
+
return "updates.getDifference";
|
|
19118
|
+
}
|
|
19119
|
+
static get [paramDesc]() {
|
|
19120
|
+
return [
|
|
19121
|
+
["flags", flags, "#"],
|
|
19122
|
+
["pts", "number", "int"],
|
|
19123
|
+
["pts_limit", "number", "flags.1?int"],
|
|
19124
|
+
["pts_total_limit", "number", "flags.0?int"],
|
|
19125
|
+
["date", "number", "int"],
|
|
19126
|
+
["qts", "number", "int"],
|
|
19127
|
+
["qts_limit", "number", "flags.2?int"],
|
|
19128
|
+
];
|
|
19129
|
+
}
|
|
19130
|
+
get [params]() {
|
|
19131
|
+
return [
|
|
19132
|
+
["flags", flags, "#"],
|
|
19133
|
+
[this.pts, "number", "int"],
|
|
19134
|
+
[this.pts_limit ?? null, "number", "flags.1?int"],
|
|
19135
|
+
[this.pts_total_limit ?? null, "number", "flags.0?int"],
|
|
19136
|
+
[this.date, "number", "int"],
|
|
18491
19137
|
[this.qts, "number", "int"],
|
|
18492
19138
|
[this.qts_limit ?? null, "number", "flags.2?int"],
|
|
18493
19139
|
];
|
|
@@ -20233,6 +20879,40 @@ Object.defineProperty(help_getPeerProfileColors_, "__F", {
|
|
|
20233
20879
|
writable: true,
|
|
20234
20880
|
value: null
|
|
20235
20881
|
});
|
|
20882
|
+
export class help_getTimezonesList_ extends Function_ {
|
|
20883
|
+
get [id]() {
|
|
20884
|
+
return 0x49B30240;
|
|
20885
|
+
}
|
|
20886
|
+
static get [name]() {
|
|
20887
|
+
return "help.getTimezonesList";
|
|
20888
|
+
}
|
|
20889
|
+
static get [paramDesc]() {
|
|
20890
|
+
return [
|
|
20891
|
+
["hash", "number", "int"],
|
|
20892
|
+
];
|
|
20893
|
+
}
|
|
20894
|
+
get [params]() {
|
|
20895
|
+
return [
|
|
20896
|
+
[this.hash, "number", "int"],
|
|
20897
|
+
];
|
|
20898
|
+
}
|
|
20899
|
+
constructor(params) {
|
|
20900
|
+
super();
|
|
20901
|
+
Object.defineProperty(this, "hash", {
|
|
20902
|
+
enumerable: true,
|
|
20903
|
+
configurable: true,
|
|
20904
|
+
writable: true,
|
|
20905
|
+
value: void 0
|
|
20906
|
+
});
|
|
20907
|
+
this.hash = params.hash;
|
|
20908
|
+
}
|
|
20909
|
+
}
|
|
20910
|
+
Object.defineProperty(help_getTimezonesList_, "__F", {
|
|
20911
|
+
enumerable: true,
|
|
20912
|
+
configurable: true,
|
|
20913
|
+
writable: true,
|
|
20914
|
+
value: null
|
|
20915
|
+
});
|
|
20236
20916
|
/** Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read */
|
|
20237
20917
|
export class channels_readHistory_ extends Function_ {
|
|
20238
20918
|
get [id]() {
|
|
@@ -29812,6 +30492,213 @@ Object.defineProperty(premium_getUserBoosts_, "__F", {
|
|
|
29812
30492
|
writable: true,
|
|
29813
30493
|
value: null
|
|
29814
30494
|
});
|
|
30495
|
+
export class smsjobs_isEligibleToJoin_ extends Function_ {
|
|
30496
|
+
get [id]() {
|
|
30497
|
+
return 0x0EDC39D0;
|
|
30498
|
+
}
|
|
30499
|
+
static get [name]() {
|
|
30500
|
+
return "smsjobs.isEligibleToJoin";
|
|
30501
|
+
}
|
|
30502
|
+
static get [paramDesc]() {
|
|
30503
|
+
return [];
|
|
30504
|
+
}
|
|
30505
|
+
get [params]() {
|
|
30506
|
+
return [];
|
|
30507
|
+
}
|
|
30508
|
+
constructor() {
|
|
30509
|
+
super();
|
|
30510
|
+
}
|
|
30511
|
+
}
|
|
30512
|
+
Object.defineProperty(smsjobs_isEligibleToJoin_, "__F", {
|
|
30513
|
+
enumerable: true,
|
|
30514
|
+
configurable: true,
|
|
30515
|
+
writable: true,
|
|
30516
|
+
value: null
|
|
30517
|
+
});
|
|
30518
|
+
export class smsjobs_join_ extends Function_ {
|
|
30519
|
+
get [id]() {
|
|
30520
|
+
return 0xA74ECE2D;
|
|
30521
|
+
}
|
|
30522
|
+
static get [name]() {
|
|
30523
|
+
return "smsjobs.join";
|
|
30524
|
+
}
|
|
30525
|
+
static get [paramDesc]() {
|
|
30526
|
+
return [];
|
|
30527
|
+
}
|
|
30528
|
+
get [params]() {
|
|
30529
|
+
return [];
|
|
30530
|
+
}
|
|
30531
|
+
constructor() {
|
|
30532
|
+
super();
|
|
30533
|
+
}
|
|
30534
|
+
}
|
|
30535
|
+
Object.defineProperty(smsjobs_join_, "__F", {
|
|
30536
|
+
enumerable: true,
|
|
30537
|
+
configurable: true,
|
|
30538
|
+
writable: true,
|
|
30539
|
+
value: null
|
|
30540
|
+
});
|
|
30541
|
+
export class smsjobs_leave_ extends Function_ {
|
|
30542
|
+
get [id]() {
|
|
30543
|
+
return 0x9898AD73;
|
|
30544
|
+
}
|
|
30545
|
+
static get [name]() {
|
|
30546
|
+
return "smsjobs.leave";
|
|
30547
|
+
}
|
|
30548
|
+
static get [paramDesc]() {
|
|
30549
|
+
return [];
|
|
30550
|
+
}
|
|
30551
|
+
get [params]() {
|
|
30552
|
+
return [];
|
|
30553
|
+
}
|
|
30554
|
+
constructor() {
|
|
30555
|
+
super();
|
|
30556
|
+
}
|
|
30557
|
+
}
|
|
30558
|
+
Object.defineProperty(smsjobs_leave_, "__F", {
|
|
30559
|
+
enumerable: true,
|
|
30560
|
+
configurable: true,
|
|
30561
|
+
writable: true,
|
|
30562
|
+
value: null
|
|
30563
|
+
});
|
|
30564
|
+
export class smsjobs_updateSettings_ extends Function_ {
|
|
30565
|
+
get [id]() {
|
|
30566
|
+
return 0x093FA0BF;
|
|
30567
|
+
}
|
|
30568
|
+
static get [name]() {
|
|
30569
|
+
return "smsjobs.updateSettings";
|
|
30570
|
+
}
|
|
30571
|
+
static get [paramDesc]() {
|
|
30572
|
+
return [
|
|
30573
|
+
["flags", flags, "#"],
|
|
30574
|
+
["allow_international", "true", "flags.0?true"],
|
|
30575
|
+
];
|
|
30576
|
+
}
|
|
30577
|
+
get [params]() {
|
|
30578
|
+
return [
|
|
30579
|
+
["flags", flags, "#"],
|
|
30580
|
+
[this.allow_international ?? null, "true", "flags.0?true"],
|
|
30581
|
+
];
|
|
30582
|
+
}
|
|
30583
|
+
constructor(params) {
|
|
30584
|
+
super();
|
|
30585
|
+
Object.defineProperty(this, "allow_international", {
|
|
30586
|
+
enumerable: true,
|
|
30587
|
+
configurable: true,
|
|
30588
|
+
writable: true,
|
|
30589
|
+
value: void 0
|
|
30590
|
+
});
|
|
30591
|
+
this.allow_international = params?.allow_international;
|
|
30592
|
+
}
|
|
30593
|
+
}
|
|
30594
|
+
Object.defineProperty(smsjobs_updateSettings_, "__F", {
|
|
30595
|
+
enumerable: true,
|
|
30596
|
+
configurable: true,
|
|
30597
|
+
writable: true,
|
|
30598
|
+
value: null
|
|
30599
|
+
});
|
|
30600
|
+
export class smsjobs_getStatus_ extends Function_ {
|
|
30601
|
+
get [id]() {
|
|
30602
|
+
return 0x10A698E8;
|
|
30603
|
+
}
|
|
30604
|
+
static get [name]() {
|
|
30605
|
+
return "smsjobs.getStatus";
|
|
30606
|
+
}
|
|
30607
|
+
static get [paramDesc]() {
|
|
30608
|
+
return [];
|
|
30609
|
+
}
|
|
30610
|
+
get [params]() {
|
|
30611
|
+
return [];
|
|
30612
|
+
}
|
|
30613
|
+
constructor() {
|
|
30614
|
+
super();
|
|
30615
|
+
}
|
|
30616
|
+
}
|
|
30617
|
+
Object.defineProperty(smsjobs_getStatus_, "__F", {
|
|
30618
|
+
enumerable: true,
|
|
30619
|
+
configurable: true,
|
|
30620
|
+
writable: true,
|
|
30621
|
+
value: null
|
|
30622
|
+
});
|
|
30623
|
+
export class smsjobs_getSmsJob_ extends Function_ {
|
|
30624
|
+
get [id]() {
|
|
30625
|
+
return 0x778D902F;
|
|
30626
|
+
}
|
|
30627
|
+
static get [name]() {
|
|
30628
|
+
return "smsjobs.getSmsJob";
|
|
30629
|
+
}
|
|
30630
|
+
static get [paramDesc]() {
|
|
30631
|
+
return [
|
|
30632
|
+
["job_id", "string", "string"],
|
|
30633
|
+
];
|
|
30634
|
+
}
|
|
30635
|
+
get [params]() {
|
|
30636
|
+
return [
|
|
30637
|
+
[this.job_id, "string", "string"],
|
|
30638
|
+
];
|
|
30639
|
+
}
|
|
30640
|
+
constructor(params) {
|
|
30641
|
+
super();
|
|
30642
|
+
Object.defineProperty(this, "job_id", {
|
|
30643
|
+
enumerable: true,
|
|
30644
|
+
configurable: true,
|
|
30645
|
+
writable: true,
|
|
30646
|
+
value: void 0
|
|
30647
|
+
});
|
|
30648
|
+
this.job_id = params.job_id;
|
|
30649
|
+
}
|
|
30650
|
+
}
|
|
30651
|
+
Object.defineProperty(smsjobs_getSmsJob_, "__F", {
|
|
30652
|
+
enumerable: true,
|
|
30653
|
+
configurable: true,
|
|
30654
|
+
writable: true,
|
|
30655
|
+
value: null
|
|
30656
|
+
});
|
|
30657
|
+
export class smsjobs_finishJob_ extends Function_ {
|
|
30658
|
+
get [id]() {
|
|
30659
|
+
return 0x4F1EBF24;
|
|
30660
|
+
}
|
|
30661
|
+
static get [name]() {
|
|
30662
|
+
return "smsjobs.finishJob";
|
|
30663
|
+
}
|
|
30664
|
+
static get [paramDesc]() {
|
|
30665
|
+
return [
|
|
30666
|
+
["flags", flags, "#"],
|
|
30667
|
+
["job_id", "string", "string"],
|
|
30668
|
+
["error", "string", "flags.0?string"],
|
|
30669
|
+
];
|
|
30670
|
+
}
|
|
30671
|
+
get [params]() {
|
|
30672
|
+
return [
|
|
30673
|
+
["flags", flags, "#"],
|
|
30674
|
+
[this.job_id, "string", "string"],
|
|
30675
|
+
[this.error ?? null, "string", "flags.0?string"],
|
|
30676
|
+
];
|
|
30677
|
+
}
|
|
30678
|
+
constructor(params) {
|
|
30679
|
+
super();
|
|
30680
|
+
Object.defineProperty(this, "job_id", {
|
|
30681
|
+
enumerable: true,
|
|
30682
|
+
configurable: true,
|
|
30683
|
+
writable: true,
|
|
30684
|
+
value: void 0
|
|
30685
|
+
});
|
|
30686
|
+
Object.defineProperty(this, "error", {
|
|
30687
|
+
enumerable: true,
|
|
30688
|
+
configurable: true,
|
|
30689
|
+
writable: true,
|
|
30690
|
+
value: void 0
|
|
30691
|
+
});
|
|
30692
|
+
this.job_id = params.job_id;
|
|
30693
|
+
this.error = params.error;
|
|
30694
|
+
}
|
|
30695
|
+
}
|
|
30696
|
+
Object.defineProperty(smsjobs_finishJob_, "__F", {
|
|
30697
|
+
enumerable: true,
|
|
30698
|
+
configurable: true,
|
|
30699
|
+
writable: true,
|
|
30700
|
+
value: null
|
|
30701
|
+
});
|
|
29815
30702
|
export const functions = {
|
|
29816
30703
|
Function: Function_,
|
|
29817
30704
|
req_pq_multi: req_pq_multi_,
|
|
@@ -29947,6 +30834,12 @@ export const functions = {
|
|
|
29947
30834
|
getDefaultBackgroundEmojis: account_getDefaultBackgroundEmojis_,
|
|
29948
30835
|
getChannelDefaultEmojiStatuses: account_getChannelDefaultEmojiStatuses_,
|
|
29949
30836
|
getChannelRestrictedStatusEmojis: account_getChannelRestrictedStatusEmojis_,
|
|
30837
|
+
updateBusinessWorkHours: account_updateBusinessWorkHours_,
|
|
30838
|
+
updateBusinessLocation: account_updateBusinessLocation_,
|
|
30839
|
+
updateBusinessGreetingMessage: account_updateBusinessGreetingMessage_,
|
|
30840
|
+
updateBusinessAwayMessage: account_updateBusinessAwayMessage_,
|
|
30841
|
+
updateConnectedBot: account_updateConnectedBot_,
|
|
30842
|
+
getConnectedBots: account_getConnectedBots_,
|
|
29950
30843
|
},
|
|
29951
30844
|
users: {
|
|
29952
30845
|
getUsers: users_getUsers_,
|
|
@@ -30180,6 +31073,15 @@ export const functions = {
|
|
|
30180
31073
|
updateSavedReactionTag: messages_updateSavedReactionTag_,
|
|
30181
31074
|
getDefaultTagReactions: messages_getDefaultTagReactions_,
|
|
30182
31075
|
getOutboxReadDate: messages_getOutboxReadDate_,
|
|
31076
|
+
getQuickReplies: messages_getQuickReplies_,
|
|
31077
|
+
reorderQuickReplies: messages_reorderQuickReplies_,
|
|
31078
|
+
checkQuickReplyShortcut: messages_checkQuickReplyShortcut_,
|
|
31079
|
+
editQuickReplyShortcut: messages_editQuickReplyShortcut_,
|
|
31080
|
+
deleteQuickReplyShortcut: messages_deleteQuickReplyShortcut_,
|
|
31081
|
+
getQuickReplyMessages: messages_getQuickReplyMessages_,
|
|
31082
|
+
sendQuickReplyMessages: messages_sendQuickReplyMessages_,
|
|
31083
|
+
deleteQuickReplyMessages: messages_deleteQuickReplyMessages_,
|
|
31084
|
+
toggleDialogFilterTags: messages_toggleDialogFilterTags_,
|
|
30183
31085
|
},
|
|
30184
31086
|
updates: {
|
|
30185
31087
|
getState: updates_getState_,
|
|
@@ -30228,6 +31130,7 @@ export const functions = {
|
|
|
30228
31130
|
getPremiumPromo: help_getPremiumPromo_,
|
|
30229
31131
|
getPeerColors: help_getPeerColors_,
|
|
30230
31132
|
getPeerProfileColors: help_getPeerProfileColors_,
|
|
31133
|
+
getTimezonesList: help_getTimezonesList_,
|
|
30231
31134
|
},
|
|
30232
31135
|
channels: {
|
|
30233
31136
|
readHistory: channels_readHistory_,
|
|
@@ -30439,4 +31342,13 @@ export const functions = {
|
|
|
30439
31342
|
getBoostsStatus: premium_getBoostsStatus_,
|
|
30440
31343
|
getUserBoosts: premium_getUserBoosts_,
|
|
30441
31344
|
},
|
|
31345
|
+
smsjobs: {
|
|
31346
|
+
isEligibleToJoin: smsjobs_isEligibleToJoin_,
|
|
31347
|
+
join: smsjobs_join_,
|
|
31348
|
+
leave: smsjobs_leave_,
|
|
31349
|
+
updateSettings: smsjobs_updateSettings_,
|
|
31350
|
+
getStatus: smsjobs_getStatus_,
|
|
31351
|
+
getSmsJob: smsjobs_getSmsJob_,
|
|
31352
|
+
finishJob: smsjobs_finishJob_,
|
|
31353
|
+
},
|
|
30442
31354
|
};
|