telegram-tghub-better-new 0.3.2 → 0.3.4
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/Version.d.ts +1 -1
- package/Version.js +1 -1
- package/package.json +1 -1
- package/tl/AllTLObjects.d.ts +1 -1
- package/tl/AllTLObjects.js +1 -1
- package/tl/api.d.ts +501 -33
- package/tl/apiTl.js +50 -19
package/Version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.3.
|
|
1
|
+
export declare const version = "0.3.4";
|
package/Version.js
CHANGED
package/package.json
CHANGED
package/tl/AllTLObjects.d.ts
CHANGED
package/tl/AllTLObjects.js
CHANGED
package/tl/api.d.ts
CHANGED
|
@@ -1887,8 +1887,9 @@ export namespace Api {
|
|
|
1887
1887
|
info?: Api.TypePaymentRequestedInfo;
|
|
1888
1888
|
shippingOptionId?: string;
|
|
1889
1889
|
charge: Api.TypePaymentCharge;
|
|
1890
|
+
subscriptionUntilDate?: int;
|
|
1890
1891
|
}> {
|
|
1891
|
-
CONSTRUCTOR_ID:
|
|
1892
|
+
CONSTRUCTOR_ID: 4288679116;
|
|
1892
1893
|
SUBCLASS_OF_ID: 2256589094;
|
|
1893
1894
|
classType: "constructor";
|
|
1894
1895
|
className: "MessageActionPaymentSentMe";
|
|
@@ -1902,6 +1903,7 @@ export namespace Api {
|
|
|
1902
1903
|
info?: Api.TypePaymentRequestedInfo;
|
|
1903
1904
|
shippingOptionId?: string;
|
|
1904
1905
|
charge: Api.TypePaymentCharge;
|
|
1906
|
+
subscriptionUntilDate?: int;
|
|
1905
1907
|
}
|
|
1906
1908
|
export class MessageActionPaymentSent extends VirtualClass<{
|
|
1907
1909
|
// flags: null;
|
|
@@ -1910,8 +1912,9 @@ export namespace Api {
|
|
|
1910
1912
|
currency: string;
|
|
1911
1913
|
totalAmount: long;
|
|
1912
1914
|
invoiceSlug?: string;
|
|
1915
|
+
subscriptionUntilDate?: int;
|
|
1913
1916
|
}> {
|
|
1914
|
-
CONSTRUCTOR_ID:
|
|
1917
|
+
CONSTRUCTOR_ID: 3324293486;
|
|
1915
1918
|
SUBCLASS_OF_ID: 2256589094;
|
|
1916
1919
|
classType: "constructor";
|
|
1917
1920
|
className: "MessageActionPaymentSent";
|
|
@@ -1922,6 +1925,7 @@ export namespace Api {
|
|
|
1922
1925
|
currency: string;
|
|
1923
1926
|
totalAmount: long;
|
|
1924
1927
|
invoiceSlug?: string;
|
|
1928
|
+
subscriptionUntilDate?: int;
|
|
1925
1929
|
}
|
|
1926
1930
|
export class MessageActionPhoneCall extends VirtualClass<{
|
|
1927
1931
|
// flags: null;
|
|
@@ -2353,9 +2357,9 @@ export namespace Api {
|
|
|
2353
2357
|
converted?: boolean;
|
|
2354
2358
|
gift: Api.TypeStarGift;
|
|
2355
2359
|
message?: Api.TypeTextWithEntities;
|
|
2356
|
-
convertStars
|
|
2360
|
+
convertStars?: long;
|
|
2357
2361
|
}> {
|
|
2358
|
-
CONSTRUCTOR_ID:
|
|
2362
|
+
CONSTRUCTOR_ID: 139818551;
|
|
2359
2363
|
SUBCLASS_OF_ID: 2256589094;
|
|
2360
2364
|
classType: "constructor";
|
|
2361
2365
|
className: "MessageActionStarGift";
|
|
@@ -2366,7 +2370,7 @@ export namespace Api {
|
|
|
2366
2370
|
converted?: boolean;
|
|
2367
2371
|
gift: Api.TypeStarGift;
|
|
2368
2372
|
message?: Api.TypeTextWithEntities;
|
|
2369
|
-
convertStars
|
|
2373
|
+
convertStars?: long;
|
|
2370
2374
|
}
|
|
2371
2375
|
export class Dialog extends VirtualClass<{
|
|
2372
2376
|
// flags: null;
|
|
@@ -2852,6 +2856,7 @@ export namespace Api {
|
|
|
2852
2856
|
// flags2: null;
|
|
2853
2857
|
sponsoredEnabled?: boolean;
|
|
2854
2858
|
canViewRevenue?: boolean;
|
|
2859
|
+
botCanManageEmojiStatus?: boolean;
|
|
2855
2860
|
id: long;
|
|
2856
2861
|
about?: string;
|
|
2857
2862
|
settings: Api.TypePeerSettings;
|
|
@@ -2880,8 +2885,9 @@ export namespace Api {
|
|
|
2880
2885
|
personalChannelId?: long;
|
|
2881
2886
|
personalChannelMessage?: int;
|
|
2882
2887
|
stargiftsCount?: int;
|
|
2888
|
+
starrefProgram?: Api.TypeStarRefProgram;
|
|
2883
2889
|
}> {
|
|
2884
|
-
CONSTRUCTOR_ID:
|
|
2890
|
+
CONSTRUCTOR_ID: 2543657846;
|
|
2885
2891
|
SUBCLASS_OF_ID: 524706233;
|
|
2886
2892
|
classType: "constructor";
|
|
2887
2893
|
className: "UserFull";
|
|
@@ -2903,6 +2909,7 @@ export namespace Api {
|
|
|
2903
2909
|
// flags2: null;
|
|
2904
2910
|
sponsoredEnabled?: boolean;
|
|
2905
2911
|
canViewRevenue?: boolean;
|
|
2912
|
+
botCanManageEmojiStatus?: boolean;
|
|
2906
2913
|
id: long;
|
|
2907
2914
|
about?: string;
|
|
2908
2915
|
settings: Api.TypePeerSettings;
|
|
@@ -2931,6 +2938,7 @@ export namespace Api {
|
|
|
2931
2938
|
personalChannelId?: long;
|
|
2932
2939
|
personalChannelMessage?: int;
|
|
2933
2940
|
stargiftsCount?: int;
|
|
2941
|
+
starrefProgram?: Api.TypeStarRefProgram;
|
|
2934
2942
|
}
|
|
2935
2943
|
export class Contact extends VirtualClass<{
|
|
2936
2944
|
userId: long;
|
|
@@ -4951,14 +4959,14 @@ export namespace Api {
|
|
|
4951
4959
|
balances: Api.TypeBroadcastRevenueBalances;
|
|
4952
4960
|
}
|
|
4953
4961
|
export class UpdateStarsBalance extends VirtualClass<{
|
|
4954
|
-
balance:
|
|
4962
|
+
balance: Api.TypeStarsAmount;
|
|
4955
4963
|
}> {
|
|
4956
|
-
CONSTRUCTOR_ID:
|
|
4964
|
+
CONSTRUCTOR_ID: 1317053305;
|
|
4957
4965
|
SUBCLASS_OF_ID: 2676568142;
|
|
4958
4966
|
classType: "constructor";
|
|
4959
4967
|
className: "UpdateStarsBalance";
|
|
4960
4968
|
static fromReader(reader: Reader): UpdateStarsBalance;
|
|
4961
|
-
balance:
|
|
4969
|
+
balance: Api.TypeStarsAmount;
|
|
4962
4970
|
}
|
|
4963
4971
|
export class UpdateBusinessBotCallbackQuery extends VirtualClass<{
|
|
4964
4972
|
// flags: null;
|
|
@@ -5875,6 +5883,13 @@ export namespace Api {
|
|
|
5875
5883
|
classType: "constructor";
|
|
5876
5884
|
className: "InputPrivacyKeyBirthday";
|
|
5877
5885
|
static fromReader(reader: Reader): InputPrivacyKeyBirthday;
|
|
5886
|
+
}
|
|
5887
|
+
export class InputPrivacyKeyStarGiftsAutoSave extends VirtualClass<void> {
|
|
5888
|
+
CONSTRUCTOR_ID: 3782419265;
|
|
5889
|
+
SUBCLASS_OF_ID: 87435256;
|
|
5890
|
+
classType: "constructor";
|
|
5891
|
+
className: "InputPrivacyKeyStarGiftsAutoSave";
|
|
5892
|
+
static fromReader(reader: Reader): InputPrivacyKeyStarGiftsAutoSave;
|
|
5878
5893
|
}
|
|
5879
5894
|
export class PrivacyKeyStatusTimestamp extends VirtualClass<void> {
|
|
5880
5895
|
CONSTRUCTOR_ID: 3157175088;
|
|
@@ -5952,6 +5967,13 @@ export namespace Api {
|
|
|
5952
5967
|
classType: "constructor";
|
|
5953
5968
|
className: "PrivacyKeyBirthday";
|
|
5954
5969
|
static fromReader(reader: Reader): PrivacyKeyBirthday;
|
|
5970
|
+
}
|
|
5971
|
+
export class PrivacyKeyStarGiftsAutoSave extends VirtualClass<void> {
|
|
5972
|
+
CONSTRUCTOR_ID: 749010424;
|
|
5973
|
+
SUBCLASS_OF_ID: 2185646531;
|
|
5974
|
+
classType: "constructor";
|
|
5975
|
+
className: "PrivacyKeyStarGiftsAutoSave";
|
|
5976
|
+
static fromReader(reader: Reader): PrivacyKeyStarGiftsAutoSave;
|
|
5955
5977
|
}
|
|
5956
5978
|
export class InputPrivacyValueAllowContacts extends VirtualClass<void> {
|
|
5957
5979
|
CONSTRUCTOR_ID: 218751099;
|
|
@@ -6034,6 +6056,20 @@ export namespace Api {
|
|
|
6034
6056
|
classType: "constructor";
|
|
6035
6057
|
className: "InputPrivacyValueAllowPremium";
|
|
6036
6058
|
static fromReader(reader: Reader): InputPrivacyValueAllowPremium;
|
|
6059
|
+
}
|
|
6060
|
+
export class InputPrivacyValueAllowBots extends VirtualClass<void> {
|
|
6061
|
+
CONSTRUCTOR_ID: 1515179237;
|
|
6062
|
+
SUBCLASS_OF_ID: 1513843490;
|
|
6063
|
+
classType: "constructor";
|
|
6064
|
+
className: "InputPrivacyValueAllowBots";
|
|
6065
|
+
static fromReader(reader: Reader): InputPrivacyValueAllowBots;
|
|
6066
|
+
}
|
|
6067
|
+
export class InputPrivacyValueDisallowBots extends VirtualClass<void> {
|
|
6068
|
+
CONSTRUCTOR_ID: 3303373077;
|
|
6069
|
+
SUBCLASS_OF_ID: 1513843490;
|
|
6070
|
+
classType: "constructor";
|
|
6071
|
+
className: "InputPrivacyValueDisallowBots";
|
|
6072
|
+
static fromReader(reader: Reader): InputPrivacyValueDisallowBots;
|
|
6037
6073
|
}
|
|
6038
6074
|
export class PrivacyValueAllowContacts extends VirtualClass<void> {
|
|
6039
6075
|
CONSTRUCTOR_ID: 4294843308;
|
|
@@ -6116,6 +6152,20 @@ export namespace Api {
|
|
|
6116
6152
|
classType: "constructor";
|
|
6117
6153
|
className: "PrivacyValueAllowPremium";
|
|
6118
6154
|
static fromReader(reader: Reader): PrivacyValueAllowPremium;
|
|
6155
|
+
}
|
|
6156
|
+
export class PrivacyValueAllowBots extends VirtualClass<void> {
|
|
6157
|
+
CONSTRUCTOR_ID: 558242653;
|
|
6158
|
+
SUBCLASS_OF_ID: 3954700912;
|
|
6159
|
+
classType: "constructor";
|
|
6160
|
+
className: "PrivacyValueAllowBots";
|
|
6161
|
+
static fromReader(reader: Reader): PrivacyValueAllowBots;
|
|
6162
|
+
}
|
|
6163
|
+
export class PrivacyValueDisallowBots extends VirtualClass<void> {
|
|
6164
|
+
CONSTRUCTOR_ID: 4138072111;
|
|
6165
|
+
SUBCLASS_OF_ID: 3954700912;
|
|
6166
|
+
classType: "constructor";
|
|
6167
|
+
className: "PrivacyValueDisallowBots";
|
|
6168
|
+
static fromReader(reader: Reader): PrivacyValueDisallowBots;
|
|
6119
6169
|
}
|
|
6120
6170
|
export class AccountDaysTTL extends VirtualClass<{
|
|
6121
6171
|
days: int;
|
|
@@ -6674,8 +6724,9 @@ export namespace Api {
|
|
|
6674
6724
|
commands?: Api.TypeBotCommand[];
|
|
6675
6725
|
menuButton?: Api.TypeBotMenuButton;
|
|
6676
6726
|
privacyPolicyUrl?: string;
|
|
6727
|
+
appSettings?: Api.TypeBotAppSettings;
|
|
6677
6728
|
}> {
|
|
6678
|
-
CONSTRUCTOR_ID:
|
|
6729
|
+
CONSTRUCTOR_ID: 912290611;
|
|
6679
6730
|
SUBCLASS_OF_ID: 4059496923;
|
|
6680
6731
|
classType: "constructor";
|
|
6681
6732
|
className: "BotInfo";
|
|
@@ -6689,6 +6740,7 @@ export namespace Api {
|
|
|
6689
6740
|
commands?: Api.TypeBotCommand[];
|
|
6690
6741
|
menuButton?: Api.TypeBotMenuButton;
|
|
6691
6742
|
privacyPolicyUrl?: string;
|
|
6743
|
+
appSettings?: Api.TypeBotAppSettings;
|
|
6692
6744
|
}
|
|
6693
6745
|
export class KeyboardButton extends VirtualClass<{
|
|
6694
6746
|
text: string;
|
|
@@ -8941,8 +8993,9 @@ export namespace Api {
|
|
|
8941
8993
|
maxTipAmount?: long;
|
|
8942
8994
|
suggestedTipAmounts?: long[];
|
|
8943
8995
|
termsUrl?: string;
|
|
8996
|
+
subscriptionPeriod?: int;
|
|
8944
8997
|
}> {
|
|
8945
|
-
CONSTRUCTOR_ID:
|
|
8998
|
+
CONSTRUCTOR_ID: 77522308;
|
|
8946
8999
|
SUBCLASS_OF_ID: 1608003288;
|
|
8947
9000
|
classType: "constructor";
|
|
8948
9001
|
className: "Invoice";
|
|
@@ -8962,6 +9015,7 @@ export namespace Api {
|
|
|
8962
9015
|
maxTipAmount?: long;
|
|
8963
9016
|
suggestedTipAmounts?: long[];
|
|
8964
9017
|
termsUrl?: string;
|
|
9018
|
+
subscriptionPeriod?: int;
|
|
8965
9019
|
}
|
|
8966
9020
|
export class PaymentCharge extends VirtualClass<{
|
|
8967
9021
|
id: string;
|
|
@@ -12738,6 +12792,7 @@ export namespace Api {
|
|
|
12738
12792
|
export class WebViewResultUrl extends VirtualClass<{
|
|
12739
12793
|
// flags: null;
|
|
12740
12794
|
fullsize?: boolean;
|
|
12795
|
+
fullscreen?: boolean;
|
|
12741
12796
|
queryId?: long;
|
|
12742
12797
|
url: string;
|
|
12743
12798
|
}> {
|
|
@@ -12748,6 +12803,7 @@ export namespace Api {
|
|
|
12748
12803
|
static fromReader(reader: Reader): WebViewResultUrl;
|
|
12749
12804
|
// flags: null;
|
|
12750
12805
|
fullsize?: boolean;
|
|
12806
|
+
fullscreen?: boolean;
|
|
12751
12807
|
queryId?: long;
|
|
12752
12808
|
url: string;
|
|
12753
12809
|
}
|
|
@@ -15133,7 +15189,7 @@ export namespace Api {
|
|
|
15133
15189
|
gift?: boolean;
|
|
15134
15190
|
reaction?: boolean;
|
|
15135
15191
|
id: string;
|
|
15136
|
-
stars:
|
|
15192
|
+
stars: Api.TypeStarsAmount;
|
|
15137
15193
|
date: int;
|
|
15138
15194
|
peer: Api.TypeStarsTransactionPeer;
|
|
15139
15195
|
title?: string;
|
|
@@ -15148,8 +15204,11 @@ export namespace Api {
|
|
|
15148
15204
|
giveawayPostId?: int;
|
|
15149
15205
|
stargift?: Api.TypeStarGift;
|
|
15150
15206
|
floodskipNumber?: int;
|
|
15207
|
+
starrefCommissionPermille?: int;
|
|
15208
|
+
starrefPeer?: Api.TypePeer;
|
|
15209
|
+
starrefAmount?: Api.TypeStarsAmount;
|
|
15151
15210
|
}> {
|
|
15152
|
-
CONSTRUCTOR_ID:
|
|
15211
|
+
CONSTRUCTOR_ID: 1692387622;
|
|
15153
15212
|
SUBCLASS_OF_ID: 2257078130;
|
|
15154
15213
|
classType: "constructor";
|
|
15155
15214
|
className: "StarsTransaction";
|
|
@@ -15161,7 +15220,7 @@ export namespace Api {
|
|
|
15161
15220
|
gift?: boolean;
|
|
15162
15221
|
reaction?: boolean;
|
|
15163
15222
|
id: string;
|
|
15164
|
-
stars:
|
|
15223
|
+
stars: Api.TypeStarsAmount;
|
|
15165
15224
|
date: int;
|
|
15166
15225
|
peer: Api.TypeStarsTransactionPeer;
|
|
15167
15226
|
title?: string;
|
|
@@ -15176,6 +15235,9 @@ export namespace Api {
|
|
|
15176
15235
|
giveawayPostId?: int;
|
|
15177
15236
|
stargift?: Api.TypeStarGift;
|
|
15178
15237
|
floodskipNumber?: int;
|
|
15238
|
+
starrefCommissionPermille?: int;
|
|
15239
|
+
starrefPeer?: Api.TypePeer;
|
|
15240
|
+
starrefAmount?: Api.TypeStarsAmount;
|
|
15179
15241
|
}
|
|
15180
15242
|
export class FoundStory extends VirtualClass<{
|
|
15181
15243
|
peer: Api.TypePeer;
|
|
@@ -15210,21 +15272,21 @@ export namespace Api {
|
|
|
15210
15272
|
export class StarsRevenueStatus extends VirtualClass<{
|
|
15211
15273
|
// flags: null;
|
|
15212
15274
|
withdrawalEnabled?: boolean;
|
|
15213
|
-
currentBalance:
|
|
15214
|
-
availableBalance:
|
|
15215
|
-
overallRevenue:
|
|
15275
|
+
currentBalance: Api.TypeStarsAmount;
|
|
15276
|
+
availableBalance: Api.TypeStarsAmount;
|
|
15277
|
+
overallRevenue: Api.TypeStarsAmount;
|
|
15216
15278
|
nextWithdrawalAt?: int;
|
|
15217
15279
|
}> {
|
|
15218
|
-
CONSTRUCTOR_ID:
|
|
15280
|
+
CONSTRUCTOR_ID: 4273886353;
|
|
15219
15281
|
SUBCLASS_OF_ID: 1031643121;
|
|
15220
15282
|
classType: "constructor";
|
|
15221
15283
|
className: "StarsRevenueStatus";
|
|
15222
15284
|
static fromReader(reader: Reader): StarsRevenueStatus;
|
|
15223
15285
|
// flags: null;
|
|
15224
15286
|
withdrawalEnabled?: boolean;
|
|
15225
|
-
currentBalance:
|
|
15226
|
-
availableBalance:
|
|
15227
|
-
overallRevenue:
|
|
15287
|
+
currentBalance: Api.TypeStarsAmount;
|
|
15288
|
+
availableBalance: Api.TypeStarsAmount;
|
|
15289
|
+
overallRevenue: Api.TypeStarsAmount;
|
|
15228
15290
|
nextWithdrawalAt?: int;
|
|
15229
15291
|
}
|
|
15230
15292
|
export class InputStarsTransaction extends VirtualClass<{
|
|
@@ -15290,13 +15352,17 @@ export namespace Api {
|
|
|
15290
15352
|
canceled?: boolean;
|
|
15291
15353
|
canRefulfill?: boolean;
|
|
15292
15354
|
missingBalance?: boolean;
|
|
15355
|
+
botCanceled?: boolean;
|
|
15293
15356
|
id: string;
|
|
15294
15357
|
peer: Api.TypePeer;
|
|
15295
15358
|
untilDate: int;
|
|
15296
15359
|
pricing: Api.TypeStarsSubscriptionPricing;
|
|
15297
15360
|
chatInviteHash?: string;
|
|
15361
|
+
title?: string;
|
|
15362
|
+
photo?: Api.TypeWebDocument;
|
|
15363
|
+
invoiceSlug?: string;
|
|
15298
15364
|
}> {
|
|
15299
|
-
CONSTRUCTOR_ID:
|
|
15365
|
+
CONSTRUCTOR_ID: 779004698;
|
|
15300
15366
|
SUBCLASS_OF_ID: 3974965699;
|
|
15301
15367
|
classType: "constructor";
|
|
15302
15368
|
className: "StarsSubscription";
|
|
@@ -15305,11 +15371,15 @@ export namespace Api {
|
|
|
15305
15371
|
canceled?: boolean;
|
|
15306
15372
|
canRefulfill?: boolean;
|
|
15307
15373
|
missingBalance?: boolean;
|
|
15374
|
+
botCanceled?: boolean;
|
|
15308
15375
|
id: string;
|
|
15309
15376
|
peer: Api.TypePeer;
|
|
15310
15377
|
untilDate: int;
|
|
15311
15378
|
pricing: Api.TypeStarsSubscriptionPricing;
|
|
15312
15379
|
chatInviteHash?: string;
|
|
15380
|
+
title?: string;
|
|
15381
|
+
photo?: Api.TypeWebDocument;
|
|
15382
|
+
invoiceSlug?: string;
|
|
15313
15383
|
}
|
|
15314
15384
|
export class MessageReactor extends VirtualClass<{
|
|
15315
15385
|
// flags: null;
|
|
@@ -15377,6 +15447,7 @@ export namespace Api {
|
|
|
15377
15447
|
// flags: null;
|
|
15378
15448
|
limited?: boolean;
|
|
15379
15449
|
soldOut?: boolean;
|
|
15450
|
+
birthday?: boolean;
|
|
15380
15451
|
id: long;
|
|
15381
15452
|
sticker: Api.TypeDocument;
|
|
15382
15453
|
stars: long;
|
|
@@ -15394,6 +15465,7 @@ export namespace Api {
|
|
|
15394
15465
|
// flags: null;
|
|
15395
15466
|
limited?: boolean;
|
|
15396
15467
|
soldOut?: boolean;
|
|
15468
|
+
birthday?: boolean;
|
|
15397
15469
|
id: long;
|
|
15398
15470
|
sticker: Api.TypeDocument;
|
|
15399
15471
|
stars: long;
|
|
@@ -15474,6 +15546,84 @@ export namespace Api {
|
|
|
15474
15546
|
className: "ReportResultReported";
|
|
15475
15547
|
static fromReader(reader: Reader): ReportResultReported;
|
|
15476
15548
|
}
|
|
15549
|
+
export class BotAppSettings extends VirtualClass<{
|
|
15550
|
+
// flags: null;
|
|
15551
|
+
placeholderPath?: bytes;
|
|
15552
|
+
backgroundColor?: int;
|
|
15553
|
+
backgroundDarkColor?: int;
|
|
15554
|
+
headerColor?: int;
|
|
15555
|
+
headerDarkColor?: int;
|
|
15556
|
+
}> {
|
|
15557
|
+
CONSTRUCTOR_ID: 3382384976;
|
|
15558
|
+
SUBCLASS_OF_ID: 396255971;
|
|
15559
|
+
classType: "constructor";
|
|
15560
|
+
className: "BotAppSettings";
|
|
15561
|
+
static fromReader(reader: Reader): BotAppSettings;
|
|
15562
|
+
// flags: null;
|
|
15563
|
+
placeholderPath?: bytes;
|
|
15564
|
+
backgroundColor?: int;
|
|
15565
|
+
backgroundDarkColor?: int;
|
|
15566
|
+
headerColor?: int;
|
|
15567
|
+
headerDarkColor?: int;
|
|
15568
|
+
}
|
|
15569
|
+
export class StarRefProgram extends VirtualClass<{
|
|
15570
|
+
// flags: null;
|
|
15571
|
+
botId: long;
|
|
15572
|
+
commissionPermille: int;
|
|
15573
|
+
durationMonths?: int;
|
|
15574
|
+
endDate?: int;
|
|
15575
|
+
dailyRevenuePerUser?: Api.TypeStarsAmount;
|
|
15576
|
+
}> {
|
|
15577
|
+
CONSTRUCTOR_ID: 3708577522;
|
|
15578
|
+
SUBCLASS_OF_ID: 2559107074;
|
|
15579
|
+
classType: "constructor";
|
|
15580
|
+
className: "StarRefProgram";
|
|
15581
|
+
static fromReader(reader: Reader): StarRefProgram;
|
|
15582
|
+
// flags: null;
|
|
15583
|
+
botId: long;
|
|
15584
|
+
commissionPermille: int;
|
|
15585
|
+
durationMonths?: int;
|
|
15586
|
+
endDate?: int;
|
|
15587
|
+
dailyRevenuePerUser?: Api.TypeStarsAmount;
|
|
15588
|
+
}
|
|
15589
|
+
export class ConnectedBotStarRef extends VirtualClass<{
|
|
15590
|
+
// flags: null;
|
|
15591
|
+
revoked?: boolean;
|
|
15592
|
+
url: string;
|
|
15593
|
+
date: int;
|
|
15594
|
+
botId: long;
|
|
15595
|
+
commissionPermille: int;
|
|
15596
|
+
durationMonths?: int;
|
|
15597
|
+
participants: long;
|
|
15598
|
+
revenue: long;
|
|
15599
|
+
}> {
|
|
15600
|
+
CONSTRUCTOR_ID: 429997937;
|
|
15601
|
+
SUBCLASS_OF_ID: 2689765260;
|
|
15602
|
+
classType: "constructor";
|
|
15603
|
+
className: "ConnectedBotStarRef";
|
|
15604
|
+
static fromReader(reader: Reader): ConnectedBotStarRef;
|
|
15605
|
+
// flags: null;
|
|
15606
|
+
revoked?: boolean;
|
|
15607
|
+
url: string;
|
|
15608
|
+
date: int;
|
|
15609
|
+
botId: long;
|
|
15610
|
+
commissionPermille: int;
|
|
15611
|
+
durationMonths?: int;
|
|
15612
|
+
participants: long;
|
|
15613
|
+
revenue: long;
|
|
15614
|
+
}
|
|
15615
|
+
export class StarsAmount extends VirtualClass<{
|
|
15616
|
+
amount: long;
|
|
15617
|
+
nanos: int;
|
|
15618
|
+
}> {
|
|
15619
|
+
CONSTRUCTOR_ID: 3149313187;
|
|
15620
|
+
SUBCLASS_OF_ID: 895169088;
|
|
15621
|
+
classType: "constructor";
|
|
15622
|
+
className: "StarsAmount";
|
|
15623
|
+
static fromReader(reader: Reader): StarsAmount;
|
|
15624
|
+
amount: long;
|
|
15625
|
+
nanos: int;
|
|
15626
|
+
}
|
|
15477
15627
|
export class ResPQ extends VirtualClass<{
|
|
15478
15628
|
nonce: int128;
|
|
15479
15629
|
serverNonce: int128;
|
|
@@ -17984,6 +18134,64 @@ export namespace Api {
|
|
|
17984
18134
|
effects: Api.TypeAvailableEffect[];
|
|
17985
18135
|
documents: Api.TypeDocument[];
|
|
17986
18136
|
}
|
|
18137
|
+
export class BotPreparedInlineMessage extends VirtualClass<{
|
|
18138
|
+
id: string;
|
|
18139
|
+
expireDate: int;
|
|
18140
|
+
}> {
|
|
18141
|
+
CONSTRUCTOR_ID: 2395931921;
|
|
18142
|
+
SUBCLASS_OF_ID: 4019263931;
|
|
18143
|
+
classType: "constructor";
|
|
18144
|
+
className: "messages.BotPreparedInlineMessage";
|
|
18145
|
+
static fromReader(reader: Reader): BotPreparedInlineMessage;
|
|
18146
|
+
id: string;
|
|
18147
|
+
expireDate: int;
|
|
18148
|
+
}
|
|
18149
|
+
export class PreparedInlineMessage extends VirtualClass<{
|
|
18150
|
+
queryId: long;
|
|
18151
|
+
result: Api.TypeBotInlineResult;
|
|
18152
|
+
peerTypes: Api.TypeInlineQueryPeerType[];
|
|
18153
|
+
cacheTime: int;
|
|
18154
|
+
users: Api.TypeUser[];
|
|
18155
|
+
}> {
|
|
18156
|
+
CONSTRUCTOR_ID: 4283920525;
|
|
18157
|
+
SUBCLASS_OF_ID: 1225645901;
|
|
18158
|
+
classType: "constructor";
|
|
18159
|
+
className: "messages.PreparedInlineMessage";
|
|
18160
|
+
static fromReader(reader: Reader): PreparedInlineMessage;
|
|
18161
|
+
queryId: long;
|
|
18162
|
+
result: Api.TypeBotInlineResult;
|
|
18163
|
+
peerTypes: Api.TypeInlineQueryPeerType[];
|
|
18164
|
+
cacheTime: int;
|
|
18165
|
+
users: Api.TypeUser[];
|
|
18166
|
+
}
|
|
18167
|
+
export class FoundStickersNotModified extends VirtualClass<{
|
|
18168
|
+
// flags: null;
|
|
18169
|
+
nextOffset?: int;
|
|
18170
|
+
}> {
|
|
18171
|
+
CONSTRUCTOR_ID: 1611711796;
|
|
18172
|
+
SUBCLASS_OF_ID: 104866129;
|
|
18173
|
+
classType: "constructor";
|
|
18174
|
+
className: "messages.FoundStickersNotModified";
|
|
18175
|
+
static fromReader(reader: Reader): FoundStickersNotModified;
|
|
18176
|
+
// flags: null;
|
|
18177
|
+
nextOffset?: int;
|
|
18178
|
+
}
|
|
18179
|
+
export class FoundStickers extends VirtualClass<{
|
|
18180
|
+
// flags: null;
|
|
18181
|
+
nextOffset?: int;
|
|
18182
|
+
hash: long;
|
|
18183
|
+
stickers: Api.TypeDocument[];
|
|
18184
|
+
}> {
|
|
18185
|
+
CONSTRUCTOR_ID: 2194268816;
|
|
18186
|
+
SUBCLASS_OF_ID: 104866129;
|
|
18187
|
+
classType: "constructor";
|
|
18188
|
+
className: "messages.FoundStickers";
|
|
18189
|
+
static fromReader(reader: Reader): FoundStickers;
|
|
18190
|
+
// flags: null;
|
|
18191
|
+
nextOffset?: int;
|
|
18192
|
+
hash: long;
|
|
18193
|
+
stickers: Api.TypeDocument[];
|
|
18194
|
+
}
|
|
17987
18195
|
}
|
|
17988
18196
|
|
|
17989
18197
|
export namespace updates {
|
|
@@ -19450,7 +19658,7 @@ export namespace Api {
|
|
|
19450
19658
|
}
|
|
19451
19659
|
export class StarsStatus extends VirtualClass<{
|
|
19452
19660
|
// flags: null;
|
|
19453
|
-
balance:
|
|
19661
|
+
balance: Api.TypeStarsAmount;
|
|
19454
19662
|
subscriptions?: Api.TypeStarsSubscription[];
|
|
19455
19663
|
subscriptionsNextOffset?: string;
|
|
19456
19664
|
subscriptionsMissingBalance?: long;
|
|
@@ -19459,13 +19667,13 @@ export namespace Api {
|
|
|
19459
19667
|
chats: Api.TypeChat[];
|
|
19460
19668
|
users: Api.TypeUser[];
|
|
19461
19669
|
}> {
|
|
19462
|
-
CONSTRUCTOR_ID:
|
|
19670
|
+
CONSTRUCTOR_ID: 1822222573;
|
|
19463
19671
|
SUBCLASS_OF_ID: 1855724911;
|
|
19464
19672
|
classType: "constructor";
|
|
19465
19673
|
className: "payments.StarsStatus";
|
|
19466
19674
|
static fromReader(reader: Reader): StarsStatus;
|
|
19467
19675
|
// flags: null;
|
|
19468
|
-
balance:
|
|
19676
|
+
balance: Api.TypeStarsAmount;
|
|
19469
19677
|
subscriptions?: Api.TypeStarsSubscription[];
|
|
19470
19678
|
subscriptionsNextOffset?: string;
|
|
19471
19679
|
subscriptionsMissingBalance?: long;
|
|
@@ -19545,6 +19753,38 @@ export namespace Api {
|
|
|
19545
19753
|
nextOffset?: string;
|
|
19546
19754
|
users: Api.TypeUser[];
|
|
19547
19755
|
}
|
|
19756
|
+
export class ConnectedStarRefBots extends VirtualClass<{
|
|
19757
|
+
count: int;
|
|
19758
|
+
connectedBots: Api.TypeConnectedBotStarRef[];
|
|
19759
|
+
users: Api.TypeUser[];
|
|
19760
|
+
}> {
|
|
19761
|
+
CONSTRUCTOR_ID: 2564155933;
|
|
19762
|
+
SUBCLASS_OF_ID: 593369703;
|
|
19763
|
+
classType: "constructor";
|
|
19764
|
+
className: "payments.ConnectedStarRefBots";
|
|
19765
|
+
static fromReader(reader: Reader): ConnectedStarRefBots;
|
|
19766
|
+
count: int;
|
|
19767
|
+
connectedBots: Api.TypeConnectedBotStarRef[];
|
|
19768
|
+
users: Api.TypeUser[];
|
|
19769
|
+
}
|
|
19770
|
+
export class SuggestedStarRefBots extends VirtualClass<{
|
|
19771
|
+
// flags: null;
|
|
19772
|
+
count: int;
|
|
19773
|
+
suggestedBots: Api.TypeStarRefProgram[];
|
|
19774
|
+
users: Api.TypeUser[];
|
|
19775
|
+
nextOffset?: string;
|
|
19776
|
+
}> {
|
|
19777
|
+
CONSTRUCTOR_ID: 3033913433;
|
|
19778
|
+
SUBCLASS_OF_ID: 1880658499;
|
|
19779
|
+
classType: "constructor";
|
|
19780
|
+
className: "payments.SuggestedStarRefBots";
|
|
19781
|
+
static fromReader(reader: Reader): SuggestedStarRefBots;
|
|
19782
|
+
// flags: null;
|
|
19783
|
+
count: int;
|
|
19784
|
+
suggestedBots: Api.TypeStarRefProgram[];
|
|
19785
|
+
users: Api.TypeUser[];
|
|
19786
|
+
nextOffset?: string;
|
|
19787
|
+
}
|
|
19548
19788
|
}
|
|
19549
19789
|
|
|
19550
19790
|
export namespace phone {
|
|
@@ -20344,6 +20584,9 @@ export namespace Api {
|
|
|
20344
20584
|
export type TypeMyStickers = messages.MyStickers;
|
|
20345
20585
|
export type TypeInvitedUsers = messages.InvitedUsers;
|
|
20346
20586
|
export type TypeAvailableEffects = messages.AvailableEffectsNotModified | messages.AvailableEffects;
|
|
20587
|
+
export type TypeBotPreparedInlineMessage = messages.BotPreparedInlineMessage;
|
|
20588
|
+
export type TypePreparedInlineMessage = messages.PreparedInlineMessage;
|
|
20589
|
+
export type TypeFoundStickers = messages.FoundStickersNotModified | messages.FoundStickers;
|
|
20347
20590
|
}
|
|
20348
20591
|
|
|
20349
20592
|
export namespace updates {
|
|
@@ -20437,6 +20680,8 @@ export namespace Api {
|
|
|
20437
20680
|
export type TypeStarsRevenueAdsAccountUrl = payments.StarsRevenueAdsAccountUrl;
|
|
20438
20681
|
export type TypeStarGifts = payments.StarGiftsNotModified | payments.StarGifts;
|
|
20439
20682
|
export type TypeUserStarGifts = payments.UserStarGifts;
|
|
20683
|
+
export type TypeConnectedStarRefBots = payments.ConnectedStarRefBots;
|
|
20684
|
+
export type TypeSuggestedStarRefBots = payments.SuggestedStarRefBots;
|
|
20440
20685
|
}
|
|
20441
20686
|
|
|
20442
20687
|
export namespace phone {
|
|
@@ -22244,14 +22489,18 @@ export namespace Api {
|
|
|
22244
22489
|
limit: int;
|
|
22245
22490
|
}
|
|
22246
22491
|
export class ResolveUsername extends Request<Partial<{
|
|
22492
|
+
// flags: null;
|
|
22247
22493
|
username: string;
|
|
22494
|
+
referer?: string;
|
|
22248
22495
|
}>, contacts.TypeResolvedPeer> {
|
|
22249
|
-
CONSTRUCTOR_ID:
|
|
22496
|
+
CONSTRUCTOR_ID: 1918565308;
|
|
22250
22497
|
SUBCLASS_OF_ID: 4033196968;
|
|
22251
22498
|
classType: "request";
|
|
22252
22499
|
className: "contacts.ResolveUsername";
|
|
22253
22500
|
static fromReader(reader: Reader): ResolveUsername;
|
|
22501
|
+
// flags: null;
|
|
22254
22502
|
username: string;
|
|
22503
|
+
referer?: string;
|
|
22255
22504
|
}
|
|
22256
22505
|
export class GetTopPeers extends Request<Partial<{
|
|
22257
22506
|
// flags: null;
|
|
@@ -24917,6 +25166,7 @@ export namespace Api {
|
|
|
24917
25166
|
fromBotMenu?: boolean;
|
|
24918
25167
|
silent?: boolean;
|
|
24919
25168
|
compact?: boolean;
|
|
25169
|
+
fullscreen?: boolean;
|
|
24920
25170
|
peer: Api.TypeEntityLike;
|
|
24921
25171
|
bot: Api.TypeEntityLike;
|
|
24922
25172
|
url?: string;
|
|
@@ -24935,6 +25185,7 @@ export namespace Api {
|
|
|
24935
25185
|
fromBotMenu?: boolean;
|
|
24936
25186
|
silent?: boolean;
|
|
24937
25187
|
compact?: boolean;
|
|
25188
|
+
fullscreen?: boolean;
|
|
24938
25189
|
peer: Api.TypeEntityLike;
|
|
24939
25190
|
bot: Api.TypeEntityLike;
|
|
24940
25191
|
url?: string;
|
|
@@ -24971,6 +25222,7 @@ export namespace Api {
|
|
|
24971
25222
|
fromSwitchWebview?: boolean;
|
|
24972
25223
|
fromSideMenu?: boolean;
|
|
24973
25224
|
compact?: boolean;
|
|
25225
|
+
fullscreen?: boolean;
|
|
24974
25226
|
bot: Api.TypeEntityLike;
|
|
24975
25227
|
url?: string;
|
|
24976
25228
|
startParam?: string;
|
|
@@ -24986,6 +25238,7 @@ export namespace Api {
|
|
|
24986
25238
|
fromSwitchWebview?: boolean;
|
|
24987
25239
|
fromSideMenu?: boolean;
|
|
24988
25240
|
compact?: boolean;
|
|
25241
|
+
fullscreen?: boolean;
|
|
24989
25242
|
bot: Api.TypeEntityLike;
|
|
24990
25243
|
url?: string;
|
|
24991
25244
|
startParam?: string;
|
|
@@ -25240,6 +25493,7 @@ export namespace Api {
|
|
|
25240
25493
|
// flags: null;
|
|
25241
25494
|
writeAllowed?: boolean;
|
|
25242
25495
|
compact?: boolean;
|
|
25496
|
+
fullscreen?: boolean;
|
|
25243
25497
|
peer: Api.TypeEntityLike;
|
|
25244
25498
|
app: Api.TypeInputBotApp;
|
|
25245
25499
|
startParam?: string;
|
|
@@ -25254,6 +25508,7 @@ export namespace Api {
|
|
|
25254
25508
|
// flags: null;
|
|
25255
25509
|
writeAllowed?: boolean;
|
|
25256
25510
|
compact?: boolean;
|
|
25511
|
+
fullscreen?: boolean;
|
|
25257
25512
|
peer: Api.TypeEntityLike;
|
|
25258
25513
|
app: Api.TypeInputBotApp;
|
|
25259
25514
|
startParam?: string;
|
|
@@ -25626,6 +25881,7 @@ export namespace Api {
|
|
|
25626
25881
|
export class RequestMainWebView extends Request<Partial<{
|
|
25627
25882
|
// flags: null;
|
|
25628
25883
|
compact?: boolean;
|
|
25884
|
+
fullscreen?: boolean;
|
|
25629
25885
|
peer: Api.TypeEntityLike;
|
|
25630
25886
|
bot: Api.TypeEntityLike;
|
|
25631
25887
|
startParam?: string;
|
|
@@ -25639,6 +25895,7 @@ export namespace Api {
|
|
|
25639
25895
|
static fromReader(reader: Reader): RequestMainWebView;
|
|
25640
25896
|
// flags: null;
|
|
25641
25897
|
compact?: boolean;
|
|
25898
|
+
fullscreen?: boolean;
|
|
25642
25899
|
peer: Api.TypeEntityLike;
|
|
25643
25900
|
bot: Api.TypeEntityLike;
|
|
25644
25901
|
startParam?: string;
|
|
@@ -25740,6 +25997,58 @@ export namespace Api {
|
|
|
25740
25997
|
static fromReader(reader: Reader): GetSponsoredMessages;
|
|
25741
25998
|
peer: Api.TypeEntityLike;
|
|
25742
25999
|
}
|
|
26000
|
+
export class SavePreparedInlineMessage extends Request<Partial<{
|
|
26001
|
+
// flags: null;
|
|
26002
|
+
result: Api.TypeInputBotInlineResult;
|
|
26003
|
+
userId: Api.TypeEntityLike;
|
|
26004
|
+
peerTypes?: Api.TypeInlineQueryPeerType[];
|
|
26005
|
+
}>, messages.TypeBotPreparedInlineMessage> {
|
|
26006
|
+
CONSTRUCTOR_ID: 4062150447;
|
|
26007
|
+
SUBCLASS_OF_ID: 4019263931;
|
|
26008
|
+
classType: "request";
|
|
26009
|
+
className: "messages.SavePreparedInlineMessage";
|
|
26010
|
+
static fromReader(reader: Reader): SavePreparedInlineMessage;
|
|
26011
|
+
// flags: null;
|
|
26012
|
+
result: Api.TypeInputBotInlineResult;
|
|
26013
|
+
userId: Api.TypeEntityLike;
|
|
26014
|
+
peerTypes?: Api.TypeInlineQueryPeerType[];
|
|
26015
|
+
}
|
|
26016
|
+
export class GetPreparedInlineMessage extends Request<Partial<{
|
|
26017
|
+
bot: Api.TypeEntityLike;
|
|
26018
|
+
id: string;
|
|
26019
|
+
}>, messages.TypePreparedInlineMessage> {
|
|
26020
|
+
CONSTRUCTOR_ID: 2239675832;
|
|
26021
|
+
SUBCLASS_OF_ID: 1225645901;
|
|
26022
|
+
classType: "request";
|
|
26023
|
+
className: "messages.GetPreparedInlineMessage";
|
|
26024
|
+
static fromReader(reader: Reader): GetPreparedInlineMessage;
|
|
26025
|
+
bot: Api.TypeEntityLike;
|
|
26026
|
+
id: string;
|
|
26027
|
+
}
|
|
26028
|
+
export class SearchStickers extends Request<Partial<{
|
|
26029
|
+
// flags: null;
|
|
26030
|
+
emojis?: boolean;
|
|
26031
|
+
q: string;
|
|
26032
|
+
emoticon: string;
|
|
26033
|
+
langCode: string[];
|
|
26034
|
+
offset: int;
|
|
26035
|
+
limit: int;
|
|
26036
|
+
hash: long;
|
|
26037
|
+
}>, messages.TypeFoundStickers> {
|
|
26038
|
+
CONSTRUCTOR_ID: 699516522;
|
|
26039
|
+
SUBCLASS_OF_ID: 104866129;
|
|
26040
|
+
classType: "request";
|
|
26041
|
+
className: "messages.SearchStickers";
|
|
26042
|
+
static fromReader(reader: Reader): SearchStickers;
|
|
26043
|
+
// flags: null;
|
|
26044
|
+
emojis?: boolean;
|
|
26045
|
+
q: string;
|
|
26046
|
+
emoticon: string;
|
|
26047
|
+
langCode: string[];
|
|
26048
|
+
offset: int;
|
|
26049
|
+
limit: int;
|
|
26050
|
+
hash: long;
|
|
26051
|
+
}
|
|
25743
26052
|
}
|
|
25744
26053
|
|
|
25745
26054
|
export namespace updates {
|
|
@@ -27350,6 +27659,67 @@ export namespace Api {
|
|
|
27350
27659
|
static fromReader(reader: Reader): GetPreviewMedias;
|
|
27351
27660
|
bot: Api.TypeEntityLike;
|
|
27352
27661
|
}
|
|
27662
|
+
export class UpdateUserEmojiStatus extends Request<Partial<{
|
|
27663
|
+
userId: Api.TypeEntityLike;
|
|
27664
|
+
emojiStatus: Api.TypeEmojiStatus;
|
|
27665
|
+
}>, Bool> {
|
|
27666
|
+
CONSTRUCTOR_ID: 3986632901;
|
|
27667
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
27668
|
+
classType: "request";
|
|
27669
|
+
className: "bots.UpdateUserEmojiStatus";
|
|
27670
|
+
static fromReader(reader: Reader): UpdateUserEmojiStatus;
|
|
27671
|
+
userId: Api.TypeEntityLike;
|
|
27672
|
+
emojiStatus: Api.TypeEmojiStatus;
|
|
27673
|
+
}
|
|
27674
|
+
export class ToggleUserEmojiStatusPermission extends Request<Partial<{
|
|
27675
|
+
bot: Api.TypeEntityLike;
|
|
27676
|
+
enabled: Bool;
|
|
27677
|
+
}>, Bool> {
|
|
27678
|
+
CONSTRUCTOR_ID: 115237778;
|
|
27679
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
27680
|
+
classType: "request";
|
|
27681
|
+
className: "bots.ToggleUserEmojiStatusPermission";
|
|
27682
|
+
static fromReader(reader: Reader): ToggleUserEmojiStatusPermission;
|
|
27683
|
+
bot: Api.TypeEntityLike;
|
|
27684
|
+
enabled: Bool;
|
|
27685
|
+
}
|
|
27686
|
+
export class CheckDownloadFileParams extends Request<Partial<{
|
|
27687
|
+
bot: Api.TypeEntityLike;
|
|
27688
|
+
fileName: string;
|
|
27689
|
+
url: string;
|
|
27690
|
+
}>, Bool> {
|
|
27691
|
+
CONSTRUCTOR_ID: 1342666121;
|
|
27692
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
27693
|
+
classType: "request";
|
|
27694
|
+
className: "bots.CheckDownloadFileParams";
|
|
27695
|
+
static fromReader(reader: Reader): CheckDownloadFileParams;
|
|
27696
|
+
bot: Api.TypeEntityLike;
|
|
27697
|
+
fileName: string;
|
|
27698
|
+
url: string;
|
|
27699
|
+
}
|
|
27700
|
+
export class GetAdminedBots extends Request<void, Api.TypeUser[]> {
|
|
27701
|
+
CONSTRUCTOR_ID: 2960203139;
|
|
27702
|
+
SUBCLASS_OF_ID: 67557965;
|
|
27703
|
+
classType: "request";
|
|
27704
|
+
className: "bots.GetAdminedBots";
|
|
27705
|
+
static fromReader(reader: Reader): GetAdminedBots;
|
|
27706
|
+
}
|
|
27707
|
+
export class UpdateStarRefProgram extends Request<Partial<{
|
|
27708
|
+
// flags: null;
|
|
27709
|
+
bot: Api.TypeEntityLike;
|
|
27710
|
+
commissionPermille: int;
|
|
27711
|
+
durationMonths?: int;
|
|
27712
|
+
}>, Api.TypeStarRefProgram> {
|
|
27713
|
+
CONSTRUCTOR_ID: 2005621427;
|
|
27714
|
+
SUBCLASS_OF_ID: 2559107074;
|
|
27715
|
+
classType: "request";
|
|
27716
|
+
className: "bots.UpdateStarRefProgram";
|
|
27717
|
+
static fromReader(reader: Reader): UpdateStarRefProgram;
|
|
27718
|
+
// flags: null;
|
|
27719
|
+
bot: Api.TypeEntityLike;
|
|
27720
|
+
commissionPermille: int;
|
|
27721
|
+
durationMonths?: int;
|
|
27722
|
+
}
|
|
27353
27723
|
}
|
|
27354
27724
|
|
|
27355
27725
|
export namespace payments {
|
|
@@ -27780,6 +28150,100 @@ export namespace Api {
|
|
|
27780
28150
|
userId: Api.TypeEntityLike;
|
|
27781
28151
|
msgId: MessageIDLike;
|
|
27782
28152
|
}
|
|
28153
|
+
export class BotCancelStarsSubscription extends Request<Partial<{
|
|
28154
|
+
// flags: null;
|
|
28155
|
+
restore?: boolean;
|
|
28156
|
+
userId: Api.TypeEntityLike;
|
|
28157
|
+
chargeId: string;
|
|
28158
|
+
}>, Bool> {
|
|
28159
|
+
CONSTRUCTOR_ID: 1845102114;
|
|
28160
|
+
SUBCLASS_OF_ID: 4122188204;
|
|
28161
|
+
classType: "request";
|
|
28162
|
+
className: "payments.BotCancelStarsSubscription";
|
|
28163
|
+
static fromReader(reader: Reader): BotCancelStarsSubscription;
|
|
28164
|
+
// flags: null;
|
|
28165
|
+
restore?: boolean;
|
|
28166
|
+
userId: Api.TypeEntityLike;
|
|
28167
|
+
chargeId: string;
|
|
28168
|
+
}
|
|
28169
|
+
export class GetConnectedStarRefBots extends Request<Partial<{
|
|
28170
|
+
// flags: null;
|
|
28171
|
+
peer: Api.TypeEntityLike;
|
|
28172
|
+
offsetDate?: int;
|
|
28173
|
+
offsetLink?: string;
|
|
28174
|
+
limit: int;
|
|
28175
|
+
}>, payments.TypeConnectedStarRefBots> {
|
|
28176
|
+
CONSTRUCTOR_ID: 1483318611;
|
|
28177
|
+
SUBCLASS_OF_ID: 593369703;
|
|
28178
|
+
classType: "request";
|
|
28179
|
+
className: "payments.GetConnectedStarRefBots";
|
|
28180
|
+
static fromReader(reader: Reader): GetConnectedStarRefBots;
|
|
28181
|
+
// flags: null;
|
|
28182
|
+
peer: Api.TypeEntityLike;
|
|
28183
|
+
offsetDate?: int;
|
|
28184
|
+
offsetLink?: string;
|
|
28185
|
+
limit: int;
|
|
28186
|
+
}
|
|
28187
|
+
export class GetConnectedStarRefBot extends Request<Partial<{
|
|
28188
|
+
peer: Api.TypeEntityLike;
|
|
28189
|
+
bot: Api.TypeEntityLike;
|
|
28190
|
+
}>, payments.TypeConnectedStarRefBots> {
|
|
28191
|
+
CONSTRUCTOR_ID: 3084490992;
|
|
28192
|
+
SUBCLASS_OF_ID: 593369703;
|
|
28193
|
+
classType: "request";
|
|
28194
|
+
className: "payments.GetConnectedStarRefBot";
|
|
28195
|
+
static fromReader(reader: Reader): GetConnectedStarRefBot;
|
|
28196
|
+
peer: Api.TypeEntityLike;
|
|
28197
|
+
bot: Api.TypeEntityLike;
|
|
28198
|
+
}
|
|
28199
|
+
export class GetSuggestedStarRefBots extends Request<Partial<{
|
|
28200
|
+
// flags: null;
|
|
28201
|
+
orderByRevenue?: boolean;
|
|
28202
|
+
orderByDate?: boolean;
|
|
28203
|
+
peer: Api.TypeEntityLike;
|
|
28204
|
+
offset: string;
|
|
28205
|
+
limit: int;
|
|
28206
|
+
}>, payments.TypeSuggestedStarRefBots> {
|
|
28207
|
+
CONSTRUCTOR_ID: 225134839;
|
|
28208
|
+
SUBCLASS_OF_ID: 1880658499;
|
|
28209
|
+
classType: "request";
|
|
28210
|
+
className: "payments.GetSuggestedStarRefBots";
|
|
28211
|
+
static fromReader(reader: Reader): GetSuggestedStarRefBots;
|
|
28212
|
+
// flags: null;
|
|
28213
|
+
orderByRevenue?: boolean;
|
|
28214
|
+
orderByDate?: boolean;
|
|
28215
|
+
peer: Api.TypeEntityLike;
|
|
28216
|
+
offset: string;
|
|
28217
|
+
limit: int;
|
|
28218
|
+
}
|
|
28219
|
+
export class ConnectStarRefBot extends Request<Partial<{
|
|
28220
|
+
peer: Api.TypeEntityLike;
|
|
28221
|
+
bot: Api.TypeEntityLike;
|
|
28222
|
+
}>, payments.TypeConnectedStarRefBots> {
|
|
28223
|
+
CONSTRUCTOR_ID: 2127901834;
|
|
28224
|
+
SUBCLASS_OF_ID: 593369703;
|
|
28225
|
+
classType: "request";
|
|
28226
|
+
className: "payments.ConnectStarRefBot";
|
|
28227
|
+
static fromReader(reader: Reader): ConnectStarRefBot;
|
|
28228
|
+
peer: Api.TypeEntityLike;
|
|
28229
|
+
bot: Api.TypeEntityLike;
|
|
28230
|
+
}
|
|
28231
|
+
export class EditConnectedStarRefBot extends Request<Partial<{
|
|
28232
|
+
// flags: null;
|
|
28233
|
+
revoked?: boolean;
|
|
28234
|
+
peer: Api.TypeEntityLike;
|
|
28235
|
+
link: string;
|
|
28236
|
+
}>, payments.TypeConnectedStarRefBots> {
|
|
28237
|
+
CONSTRUCTOR_ID: 3841762467;
|
|
28238
|
+
SUBCLASS_OF_ID: 593369703;
|
|
28239
|
+
classType: "request";
|
|
28240
|
+
className: "payments.EditConnectedStarRefBot";
|
|
28241
|
+
static fromReader(reader: Reader): EditConnectedStarRefBot;
|
|
28242
|
+
// flags: null;
|
|
28243
|
+
revoked?: boolean;
|
|
28244
|
+
peer: Api.TypeEntityLike;
|
|
28245
|
+
link: string;
|
|
28246
|
+
}
|
|
27783
28247
|
}
|
|
27784
28248
|
|
|
27785
28249
|
export namespace stickers {
|
|
@@ -29315,10 +29779,10 @@ export namespace Api {
|
|
|
29315
29779
|
export type TypeDocument = DocumentEmpty | Document;
|
|
29316
29780
|
export type TypeNotifyPeer = NotifyPeer | NotifyUsers | NotifyChats | NotifyBroadcasts | NotifyForumTopic;
|
|
29317
29781
|
export type TypeSendMessageAction = SendMessageTypingAction | SendMessageCancelAction | SendMessageRecordVideoAction | SendMessageUploadVideoAction | SendMessageRecordAudioAction | SendMessageUploadAudioAction | SendMessageUploadPhotoAction | SendMessageUploadDocumentAction | SendMessageGeoLocationAction | SendMessageChooseContactAction | SendMessageGamePlayAction | SendMessageRecordRoundAction | SendMessageUploadRoundAction | SpeakingInGroupCallAction | SendMessageHistoryImportAction | SendMessageChooseStickerAction | SendMessageEmojiInteraction | SendMessageEmojiInteractionSeen;
|
|
29318
|
-
export type TypeInputPrivacyKey = InputPrivacyKeyStatusTimestamp | InputPrivacyKeyChatInvite | InputPrivacyKeyPhoneCall | InputPrivacyKeyPhoneP2P | InputPrivacyKeyForwards | InputPrivacyKeyProfilePhoto | InputPrivacyKeyPhoneNumber | InputPrivacyKeyAddedByPhone | InputPrivacyKeyVoiceMessages | InputPrivacyKeyAbout | InputPrivacyKeyBirthday;
|
|
29319
|
-
export type TypePrivacyKey = PrivacyKeyStatusTimestamp | PrivacyKeyChatInvite | PrivacyKeyPhoneCall | PrivacyKeyPhoneP2P | PrivacyKeyForwards | PrivacyKeyProfilePhoto | PrivacyKeyPhoneNumber | PrivacyKeyAddedByPhone | PrivacyKeyVoiceMessages | PrivacyKeyAbout | PrivacyKeyBirthday;
|
|
29320
|
-
export type TypeInputPrivacyRule = InputPrivacyValueAllowContacts | InputPrivacyValueAllowAll | InputPrivacyValueAllowUsers | InputPrivacyValueDisallowContacts | InputPrivacyValueDisallowAll | InputPrivacyValueDisallowUsers | InputPrivacyValueAllowChatParticipants | InputPrivacyValueDisallowChatParticipants | InputPrivacyValueAllowCloseFriends | InputPrivacyValueAllowPremium;
|
|
29321
|
-
export type TypePrivacyRule = PrivacyValueAllowContacts | PrivacyValueAllowAll | PrivacyValueAllowUsers | PrivacyValueDisallowContacts | PrivacyValueDisallowAll | PrivacyValueDisallowUsers | PrivacyValueAllowChatParticipants | PrivacyValueDisallowChatParticipants | PrivacyValueAllowCloseFriends | PrivacyValueAllowPremium;
|
|
29782
|
+
export type TypeInputPrivacyKey = InputPrivacyKeyStatusTimestamp | InputPrivacyKeyChatInvite | InputPrivacyKeyPhoneCall | InputPrivacyKeyPhoneP2P | InputPrivacyKeyForwards | InputPrivacyKeyProfilePhoto | InputPrivacyKeyPhoneNumber | InputPrivacyKeyAddedByPhone | InputPrivacyKeyVoiceMessages | InputPrivacyKeyAbout | InputPrivacyKeyBirthday | InputPrivacyKeyStarGiftsAutoSave;
|
|
29783
|
+
export type TypePrivacyKey = PrivacyKeyStatusTimestamp | PrivacyKeyChatInvite | PrivacyKeyPhoneCall | PrivacyKeyPhoneP2P | PrivacyKeyForwards | PrivacyKeyProfilePhoto | PrivacyKeyPhoneNumber | PrivacyKeyAddedByPhone | PrivacyKeyVoiceMessages | PrivacyKeyAbout | PrivacyKeyBirthday | PrivacyKeyStarGiftsAutoSave;
|
|
29784
|
+
export type TypeInputPrivacyRule = InputPrivacyValueAllowContacts | InputPrivacyValueAllowAll | InputPrivacyValueAllowUsers | InputPrivacyValueDisallowContacts | InputPrivacyValueDisallowAll | InputPrivacyValueDisallowUsers | InputPrivacyValueAllowChatParticipants | InputPrivacyValueDisallowChatParticipants | InputPrivacyValueAllowCloseFriends | InputPrivacyValueAllowPremium | InputPrivacyValueAllowBots | InputPrivacyValueDisallowBots;
|
|
29785
|
+
export type TypePrivacyRule = PrivacyValueAllowContacts | PrivacyValueAllowAll | PrivacyValueAllowUsers | PrivacyValueDisallowContacts | PrivacyValueDisallowAll | PrivacyValueDisallowUsers | PrivacyValueAllowChatParticipants | PrivacyValueDisallowChatParticipants | PrivacyValueAllowCloseFriends | PrivacyValueAllowPremium | PrivacyValueAllowBots | PrivacyValueDisallowBots;
|
|
29322
29786
|
export type TypeAccountDaysTTL = AccountDaysTTL;
|
|
29323
29787
|
export type TypeDocumentAttribute = DocumentAttributeImageSize | DocumentAttributeAnimated | DocumentAttributeSticker | DocumentAttributeVideo | DocumentAttributeAudio | DocumentAttributeFilename | DocumentAttributeHasStickers | DocumentAttributeCustomEmoji;
|
|
29324
29788
|
export type TypeStickerPack = StickerPack;
|
|
@@ -29596,6 +30060,10 @@ export namespace Api {
|
|
|
29596
30060
|
export type TypeUserStarGift = UserStarGift;
|
|
29597
30061
|
export type TypeMessageReportOption = MessageReportOption;
|
|
29598
30062
|
export type TypeReportResult = ReportResultChooseOption | ReportResultAddComment | ReportResultReported;
|
|
30063
|
+
export type TypeBotAppSettings = BotAppSettings;
|
|
30064
|
+
export type TypeStarRefProgram = StarRefProgram;
|
|
30065
|
+
export type TypeConnectedBotStarRef = ConnectedBotStarRef;
|
|
30066
|
+
export type TypeStarsAmount = StarsAmount;
|
|
29599
30067
|
export type TypeResPQ = ResPQ;
|
|
29600
30068
|
export type TypeP_Q_inner_data = PQInnerData | PQInnerDataDc | PQInnerDataTemp | PQInnerDataTempDc;
|
|
29601
30069
|
export type TypeBindAuthKeyInner = BindAuthKeyInner;
|
|
@@ -29629,14 +30097,14 @@ export namespace Api {
|
|
|
29629
30097
|
| account.RegisterDevice | account.UnregisterDevice | account.UpdateNotifySettings | account.GetNotifySettings | account.ResetNotifySettings | account.UpdateProfile | account.UpdateStatus | account.GetWallPapers | account.ReportPeer | account.CheckUsername | account.UpdateUsername | account.GetPrivacy | account.SetPrivacy | account.DeleteAccount | account.GetAccountTTL | account.SetAccountTTL | account.SendChangePhoneCode | account.ChangePhone | account.UpdateDeviceLocked | account.GetAuthorizations | account.ResetAuthorization | account.GetPassword | account.GetPasswordSettings | account.UpdatePasswordSettings | account.SendConfirmPhoneCode | account.ConfirmPhone | account.GetTmpPassword | account.GetWebAuthorizations | account.ResetWebAuthorization | account.ResetWebAuthorizations | account.GetAllSecureValues | account.GetSecureValue | account.SaveSecureValue | account.DeleteSecureValue | account.GetAuthorizationForm | account.AcceptAuthorization | account.SendVerifyPhoneCode | account.VerifyPhone | account.SendVerifyEmailCode | account.VerifyEmail | account.InitTakeoutSession | account.FinishTakeoutSession | account.ConfirmPasswordEmail | account.ResendPasswordEmail | account.CancelPasswordEmail | account.GetContactSignUpNotification | account.SetContactSignUpNotification | account.GetNotifyExceptions | account.GetWallPaper | account.UploadWallPaper | account.SaveWallPaper | account.InstallWallPaper | account.ResetWallPapers | account.GetAutoDownloadSettings | account.SaveAutoDownloadSettings | account.UploadTheme | account.CreateTheme | account.UpdateTheme | account.SaveTheme | account.InstallTheme | account.GetTheme | account.GetThemes | account.SetContentSettings | account.GetContentSettings | account.GetMultiWallPapers | account.GetGlobalPrivacySettings | account.SetGlobalPrivacySettings | account.ReportProfilePhoto | account.ResetPassword | account.DeclinePasswordReset | account.GetChatThemes | account.SetAuthorizationTTL | account.ChangeAuthorizationSettings | account.GetSavedRingtones | account.SaveRingtone | account.UploadRingtone | account.UpdateEmojiStatus | account.GetDefaultEmojiStatuses | account.GetRecentEmojiStatuses | account.ClearRecentEmojiStatuses | account.ReorderUsernames | account.ToggleUsername | account.GetDefaultProfilePhotoEmojis | account.GetDefaultGroupPhotoEmojis | account.GetAutoSaveSettings | account.SaveAutoSaveSettings | account.DeleteAutoSaveExceptions | account.InvalidateSignInCodes | account.UpdateColor | account.GetDefaultBackgroundEmojis | account.GetChannelDefaultEmojiStatuses | account.GetChannelRestrictedStatusEmojis | account.UpdateBusinessWorkHours | account.UpdateBusinessLocation | account.UpdateBusinessGreetingMessage | account.UpdateBusinessAwayMessage | account.UpdateConnectedBot | account.GetConnectedBots | account.GetBotBusinessConnection | account.UpdateBusinessIntro | account.ToggleConnectedBotPaused | account.DisablePeerConnectedBot | account.UpdateBirthday | account.CreateBusinessChatLink | account.EditBusinessChatLink | account.DeleteBusinessChatLink | account.GetBusinessChatLinks | account.ResolveBusinessChatLink | account.UpdatePersonalChannel | account.ToggleSponsoredMessages | account.GetReactionsNotifySettings | account.SetReactionsNotifySettings
|
|
29630
30098
|
| users.GetUsers | users.GetFullUser | users.SetSecureValueErrors | users.GetIsPremiumRequiredToContact
|
|
29631
30099
|
| contacts.GetContactIDs | contacts.GetStatuses | contacts.GetContacts | contacts.ImportContacts | contacts.DeleteContacts | contacts.DeleteByPhones | contacts.Block | contacts.Unblock | contacts.GetBlocked | contacts.Search | contacts.ResolveUsername | contacts.GetTopPeers | contacts.ResetTopPeerRating | contacts.ResetSaved | contacts.GetSaved | contacts.ToggleTopPeers | contacts.AddContact | contacts.AcceptContact | contacts.GetLocated | contacts.BlockFromReplies | contacts.ResolvePhone | contacts.ExportContactToken | contacts.ImportContactToken | contacts.EditCloseFriends | contacts.SetBlocked | contacts.GetBirthdays
|
|
29632
|
-
| messages.GetMessages | messages.GetDialogs | messages.GetHistory | messages.Search | messages.ReadHistory | messages.DeleteHistory | messages.DeleteMessages | messages.ReceivedMessages | messages.SetTyping | messages.SendMessage | messages.SendMedia | messages.ForwardMessages | messages.ReportSpam | messages.GetPeerSettings | messages.Report | messages.GetChats | messages.GetFullChat | messages.EditChatTitle | messages.EditChatPhoto | messages.AddChatUser | messages.DeleteChatUser | messages.CreateChat | messages.GetDhConfig | messages.RequestEncryption | messages.AcceptEncryption | messages.DiscardEncryption | messages.SetEncryptedTyping | messages.ReadEncryptedHistory | messages.SendEncrypted | messages.SendEncryptedFile | messages.SendEncryptedService | messages.ReceivedQueue | messages.ReportEncryptedSpam | messages.ReadMessageContents | messages.GetStickers | messages.GetAllStickers | messages.GetWebPagePreview | messages.ExportChatInvite | messages.CheckChatInvite | messages.ImportChatInvite | messages.GetStickerSet | messages.InstallStickerSet | messages.UninstallStickerSet | messages.StartBot | messages.GetMessagesViews | messages.EditChatAdmin | messages.MigrateChat | messages.SearchGlobal | messages.ReorderStickerSets | messages.GetDocumentByHash | messages.GetSavedGifs | messages.SaveGif | messages.GetInlineBotResults | messages.SetInlineBotResults | messages.SendInlineBotResult | messages.GetMessageEditData | messages.EditMessage | messages.EditInlineBotMessage | messages.GetBotCallbackAnswer | messages.SetBotCallbackAnswer | messages.GetPeerDialogs | messages.SaveDraft | messages.GetAllDrafts | messages.GetFeaturedStickers | messages.ReadFeaturedStickers | messages.GetRecentStickers | messages.SaveRecentSticker | messages.ClearRecentStickers | messages.GetArchivedStickers | messages.GetMaskStickers | messages.GetAttachedStickers | messages.SetGameScore | messages.SetInlineGameScore | messages.GetGameHighScores | messages.GetInlineGameHighScores | messages.GetCommonChats | messages.GetWebPage | messages.ToggleDialogPin | messages.ReorderPinnedDialogs | messages.GetPinnedDialogs | messages.SetBotShippingResults | messages.SetBotPrecheckoutResults | messages.UploadMedia | messages.SendScreenshotNotification | messages.GetFavedStickers | messages.FaveSticker | messages.GetUnreadMentions | messages.ReadMentions | messages.GetRecentLocations | messages.SendMultiMedia | messages.UploadEncryptedFile | messages.SearchStickerSets | messages.GetSplitRanges | messages.MarkDialogUnread | messages.GetDialogUnreadMarks | messages.ClearAllDrafts | messages.UpdatePinnedMessage | messages.SendVote | messages.GetPollResults | messages.GetOnlines | messages.EditChatAbout | messages.EditChatDefaultBannedRights | messages.GetEmojiKeywords | messages.GetEmojiKeywordsDifference | messages.GetEmojiKeywordsLanguages | messages.GetEmojiURL | messages.GetSearchCounters | messages.RequestUrlAuth | messages.AcceptUrlAuth | messages.HidePeerSettingsBar | messages.GetScheduledHistory | messages.GetScheduledMessages | messages.SendScheduledMessages | messages.DeleteScheduledMessages | messages.GetPollVotes | messages.ToggleStickerSets | messages.GetDialogFilters | messages.GetSuggestedDialogFilters | messages.UpdateDialogFilter | messages.UpdateDialogFiltersOrder | messages.GetOldFeaturedStickers | messages.GetReplies | messages.GetDiscussionMessage | messages.ReadDiscussion | messages.UnpinAllMessages | messages.DeleteChat | messages.DeletePhoneCallHistory | messages.CheckHistoryImport | messages.InitHistoryImport | messages.UploadImportedMedia | messages.StartHistoryImport | messages.GetExportedChatInvites | messages.GetExportedChatInvite | messages.EditExportedChatInvite | messages.DeleteRevokedExportedChatInvites | messages.DeleteExportedChatInvite | messages.GetAdminsWithInvites | messages.GetChatInviteImporters | messages.SetHistoryTTL | messages.CheckHistoryImportPeer | messages.SetChatTheme | messages.GetMessageReadParticipants | messages.GetSearchResultsCalendar | messages.GetSearchResultsPositions | messages.HideChatJoinRequest | messages.HideAllChatJoinRequests | messages.ToggleNoForwards | messages.SaveDefaultSendAs | messages.SendReaction | messages.GetMessagesReactions | messages.GetMessageReactionsList | messages.SetChatAvailableReactions | messages.GetAvailableReactions | messages.SetDefaultReaction | messages.TranslateText | messages.GetUnreadReactions | messages.ReadReactions | messages.SearchSentMedia | messages.GetAttachMenuBots | messages.GetAttachMenuBot | messages.ToggleBotInAttachMenu | messages.RequestWebView | messages.ProlongWebView | messages.RequestSimpleWebView | messages.SendWebViewResultMessage | messages.SendWebViewData | messages.TranscribeAudio | messages.RateTranscribedAudio | messages.GetCustomEmojiDocuments | messages.GetEmojiStickers | messages.GetFeaturedEmojiStickers | messages.ReportReaction | messages.GetTopReactions | messages.GetRecentReactions | messages.ClearRecentReactions | messages.GetExtendedMedia | messages.SetDefaultHistoryTTL | messages.GetDefaultHistoryTTL | messages.SendBotRequestedPeer | messages.GetEmojiGroups | messages.GetEmojiStatusGroups | messages.GetEmojiProfilePhotoGroups | messages.SearchCustomEmoji | messages.TogglePeerTranslations | messages.GetBotApp | messages.RequestAppWebView | messages.SetChatWallPaper | messages.SearchEmojiStickerSets | messages.GetSavedDialogs | messages.GetSavedHistory | messages.DeleteSavedHistory | messages.GetPinnedSavedDialogs | messages.ToggleSavedDialogPin | messages.ReorderPinnedSavedDialogs | messages.GetSavedReactionTags | messages.UpdateSavedReactionTag | messages.GetDefaultTagReactions | messages.GetOutboxReadDate | messages.GetQuickReplies | messages.ReorderQuickReplies | messages.CheckQuickReplyShortcut | messages.EditQuickReplyShortcut | messages.DeleteQuickReplyShortcut | messages.GetQuickReplyMessages | messages.SendQuickReplyMessages | messages.DeleteQuickReplyMessages | messages.ToggleDialogFilterTags | messages.GetMyStickers | messages.GetEmojiStickerGroups | messages.GetAvailableEffects | messages.EditFactCheck | messages.DeleteFactCheck | messages.GetFactCheck | messages.RequestMainWebView | messages.SendPaidReaction | messages.TogglePaidReactionPrivacy | messages.GetPaidReactionPrivacy | messages.ViewSponsoredMessage | messages.ClickSponsoredMessage | messages.ReportSponsoredMessage | messages.GetSponsoredMessages
|
|
30100
|
+
| messages.GetMessages | messages.GetDialogs | messages.GetHistory | messages.Search | messages.ReadHistory | messages.DeleteHistory | messages.DeleteMessages | messages.ReceivedMessages | messages.SetTyping | messages.SendMessage | messages.SendMedia | messages.ForwardMessages | messages.ReportSpam | messages.GetPeerSettings | messages.Report | messages.GetChats | messages.GetFullChat | messages.EditChatTitle | messages.EditChatPhoto | messages.AddChatUser | messages.DeleteChatUser | messages.CreateChat | messages.GetDhConfig | messages.RequestEncryption | messages.AcceptEncryption | messages.DiscardEncryption | messages.SetEncryptedTyping | messages.ReadEncryptedHistory | messages.SendEncrypted | messages.SendEncryptedFile | messages.SendEncryptedService | messages.ReceivedQueue | messages.ReportEncryptedSpam | messages.ReadMessageContents | messages.GetStickers | messages.GetAllStickers | messages.GetWebPagePreview | messages.ExportChatInvite | messages.CheckChatInvite | messages.ImportChatInvite | messages.GetStickerSet | messages.InstallStickerSet | messages.UninstallStickerSet | messages.StartBot | messages.GetMessagesViews | messages.EditChatAdmin | messages.MigrateChat | messages.SearchGlobal | messages.ReorderStickerSets | messages.GetDocumentByHash | messages.GetSavedGifs | messages.SaveGif | messages.GetInlineBotResults | messages.SetInlineBotResults | messages.SendInlineBotResult | messages.GetMessageEditData | messages.EditMessage | messages.EditInlineBotMessage | messages.GetBotCallbackAnswer | messages.SetBotCallbackAnswer | messages.GetPeerDialogs | messages.SaveDraft | messages.GetAllDrafts | messages.GetFeaturedStickers | messages.ReadFeaturedStickers | messages.GetRecentStickers | messages.SaveRecentSticker | messages.ClearRecentStickers | messages.GetArchivedStickers | messages.GetMaskStickers | messages.GetAttachedStickers | messages.SetGameScore | messages.SetInlineGameScore | messages.GetGameHighScores | messages.GetInlineGameHighScores | messages.GetCommonChats | messages.GetWebPage | messages.ToggleDialogPin | messages.ReorderPinnedDialogs | messages.GetPinnedDialogs | messages.SetBotShippingResults | messages.SetBotPrecheckoutResults | messages.UploadMedia | messages.SendScreenshotNotification | messages.GetFavedStickers | messages.FaveSticker | messages.GetUnreadMentions | messages.ReadMentions | messages.GetRecentLocations | messages.SendMultiMedia | messages.UploadEncryptedFile | messages.SearchStickerSets | messages.GetSplitRanges | messages.MarkDialogUnread | messages.GetDialogUnreadMarks | messages.ClearAllDrafts | messages.UpdatePinnedMessage | messages.SendVote | messages.GetPollResults | messages.GetOnlines | messages.EditChatAbout | messages.EditChatDefaultBannedRights | messages.GetEmojiKeywords | messages.GetEmojiKeywordsDifference | messages.GetEmojiKeywordsLanguages | messages.GetEmojiURL | messages.GetSearchCounters | messages.RequestUrlAuth | messages.AcceptUrlAuth | messages.HidePeerSettingsBar | messages.GetScheduledHistory | messages.GetScheduledMessages | messages.SendScheduledMessages | messages.DeleteScheduledMessages | messages.GetPollVotes | messages.ToggleStickerSets | messages.GetDialogFilters | messages.GetSuggestedDialogFilters | messages.UpdateDialogFilter | messages.UpdateDialogFiltersOrder | messages.GetOldFeaturedStickers | messages.GetReplies | messages.GetDiscussionMessage | messages.ReadDiscussion | messages.UnpinAllMessages | messages.DeleteChat | messages.DeletePhoneCallHistory | messages.CheckHistoryImport | messages.InitHistoryImport | messages.UploadImportedMedia | messages.StartHistoryImport | messages.GetExportedChatInvites | messages.GetExportedChatInvite | messages.EditExportedChatInvite | messages.DeleteRevokedExportedChatInvites | messages.DeleteExportedChatInvite | messages.GetAdminsWithInvites | messages.GetChatInviteImporters | messages.SetHistoryTTL | messages.CheckHistoryImportPeer | messages.SetChatTheme | messages.GetMessageReadParticipants | messages.GetSearchResultsCalendar | messages.GetSearchResultsPositions | messages.HideChatJoinRequest | messages.HideAllChatJoinRequests | messages.ToggleNoForwards | messages.SaveDefaultSendAs | messages.SendReaction | messages.GetMessagesReactions | messages.GetMessageReactionsList | messages.SetChatAvailableReactions | messages.GetAvailableReactions | messages.SetDefaultReaction | messages.TranslateText | messages.GetUnreadReactions | messages.ReadReactions | messages.SearchSentMedia | messages.GetAttachMenuBots | messages.GetAttachMenuBot | messages.ToggleBotInAttachMenu | messages.RequestWebView | messages.ProlongWebView | messages.RequestSimpleWebView | messages.SendWebViewResultMessage | messages.SendWebViewData | messages.TranscribeAudio | messages.RateTranscribedAudio | messages.GetCustomEmojiDocuments | messages.GetEmojiStickers | messages.GetFeaturedEmojiStickers | messages.ReportReaction | messages.GetTopReactions | messages.GetRecentReactions | messages.ClearRecentReactions | messages.GetExtendedMedia | messages.SetDefaultHistoryTTL | messages.GetDefaultHistoryTTL | messages.SendBotRequestedPeer | messages.GetEmojiGroups | messages.GetEmojiStatusGroups | messages.GetEmojiProfilePhotoGroups | messages.SearchCustomEmoji | messages.TogglePeerTranslations | messages.GetBotApp | messages.RequestAppWebView | messages.SetChatWallPaper | messages.SearchEmojiStickerSets | messages.GetSavedDialogs | messages.GetSavedHistory | messages.DeleteSavedHistory | messages.GetPinnedSavedDialogs | messages.ToggleSavedDialogPin | messages.ReorderPinnedSavedDialogs | messages.GetSavedReactionTags | messages.UpdateSavedReactionTag | messages.GetDefaultTagReactions | messages.GetOutboxReadDate | messages.GetQuickReplies | messages.ReorderQuickReplies | messages.CheckQuickReplyShortcut | messages.EditQuickReplyShortcut | messages.DeleteQuickReplyShortcut | messages.GetQuickReplyMessages | messages.SendQuickReplyMessages | messages.DeleteQuickReplyMessages | messages.ToggleDialogFilterTags | messages.GetMyStickers | messages.GetEmojiStickerGroups | messages.GetAvailableEffects | messages.EditFactCheck | messages.DeleteFactCheck | messages.GetFactCheck | messages.RequestMainWebView | messages.SendPaidReaction | messages.TogglePaidReactionPrivacy | messages.GetPaidReactionPrivacy | messages.ViewSponsoredMessage | messages.ClickSponsoredMessage | messages.ReportSponsoredMessage | messages.GetSponsoredMessages | messages.SavePreparedInlineMessage | messages.GetPreparedInlineMessage | messages.SearchStickers
|
|
29633
30101
|
| updates.GetState | updates.GetDifference | updates.GetChannelDifference
|
|
29634
30102
|
| photos.UpdateProfilePhoto | photos.UploadProfilePhoto | photos.DeletePhotos | photos.GetUserPhotos | photos.UploadContactProfilePhoto
|
|
29635
30103
|
| upload.SaveFilePart | upload.GetFile | upload.SaveBigFilePart | upload.GetWebFile | upload.GetCdnFile | upload.ReuploadCdnFile | upload.GetCdnFileHashes | upload.GetFileHashes
|
|
29636
30104
|
| help.GetConfig | help.GetNearestDc | help.GetAppUpdate | help.GetInviteText | help.GetSupport | help.SetBotUpdatesStatus | help.GetCdnConfig | help.GetRecentMeUrls | help.GetTermsOfServiceUpdate | help.AcceptTermsOfService | help.GetDeepLinkInfo | help.GetAppConfig | help.SaveAppLog | help.GetPassportConfig | help.GetSupportName | help.GetUserInfo | help.EditUserInfo | help.GetPromoData | help.HidePromoData | help.DismissSuggestion | help.GetCountriesList | help.GetPremiumPromo | help.GetPeerColors | help.GetPeerProfileColors | help.GetTimezonesList
|
|
29637
30105
|
| channels.ReadHistory | channels.DeleteMessages | channels.ReportSpam | channels.GetMessages | channels.GetParticipants | channels.GetParticipant | channels.GetChannels | channels.GetFullChannel | channels.CreateChannel | channels.EditAdmin | channels.EditTitle | channels.EditPhoto | channels.CheckUsername | channels.UpdateUsername | channels.JoinChannel | channels.LeaveChannel | channels.InviteToChannel | channels.DeleteChannel | channels.ExportMessageLink | channels.ToggleSignatures | channels.GetAdminedPublicChannels | channels.EditBanned | channels.GetAdminLog | channels.SetStickers | channels.ReadMessageContents | channels.DeleteHistory | channels.TogglePreHistoryHidden | channels.GetLeftChannels | channels.GetGroupsForDiscussion | channels.SetDiscussionGroup | channels.EditCreator | channels.EditLocation | channels.ToggleSlowMode | channels.GetInactiveChannels | channels.ConvertToGigagroup | channels.GetSendAs | channels.DeleteParticipantHistory | channels.ToggleJoinToSend | channels.ToggleJoinRequest | channels.ReorderUsernames | channels.ToggleUsername | channels.DeactivateAllUsernames | channels.ToggleForum | channels.CreateForumTopic | channels.GetForumTopics | channels.GetForumTopicsByID | channels.EditForumTopic | channels.UpdatePinnedForumTopic | channels.DeleteTopicHistory | channels.ReorderPinnedForumTopics | channels.ToggleAntiSpam | channels.ReportAntiSpamFalsePositive | channels.ToggleParticipantsHidden | channels.UpdateColor | channels.ToggleViewForumAsMessages | channels.GetChannelRecommendations | channels.UpdateEmojiStatus | channels.SetBoostsToUnblockRestrictions | channels.SetEmojiStickers | channels.RestrictSponsoredMessages | channels.SearchPosts
|
|
29638
|
-
| bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands | bots.ResetBotCommands | bots.GetBotCommands | bots.SetBotMenuButton | bots.GetBotMenuButton | bots.SetBotBroadcastDefaultAdminRights | bots.SetBotGroupDefaultAdminRights | bots.SetBotInfo | bots.GetBotInfo | bots.ReorderUsernames | bots.ToggleUsername | bots.CanSendMessage | bots.AllowSendMessage | bots.InvokeWebViewCustomMethod | bots.GetPopularAppBots | bots.AddPreviewMedia | bots.EditPreviewMedia | bots.DeletePreviewMedia | bots.ReorderPreviewMedias | bots.GetPreviewInfo | bots.GetPreviewMedias
|
|
29639
|
-
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift
|
|
30106
|
+
| bots.SendCustomRequest | bots.AnswerWebhookJSONQuery | bots.SetBotCommands | bots.ResetBotCommands | bots.GetBotCommands | bots.SetBotMenuButton | bots.GetBotMenuButton | bots.SetBotBroadcastDefaultAdminRights | bots.SetBotGroupDefaultAdminRights | bots.SetBotInfo | bots.GetBotInfo | bots.ReorderUsernames | bots.ToggleUsername | bots.CanSendMessage | bots.AllowSendMessage | bots.InvokeWebViewCustomMethod | bots.GetPopularAppBots | bots.AddPreviewMedia | bots.EditPreviewMedia | bots.DeletePreviewMedia | bots.ReorderPreviewMedias | bots.GetPreviewInfo | bots.GetPreviewMedias | bots.UpdateUserEmojiStatus | bots.ToggleUserEmojiStatusPermission | bots.CheckDownloadFileParams | bots.GetAdminedBots | bots.UpdateStarRefProgram
|
|
30107
|
+
| payments.GetPaymentForm | payments.GetPaymentReceipt | payments.ValidateRequestedInfo | payments.SendPaymentForm | payments.GetSavedInfo | payments.ClearSavedInfo | payments.GetBankCardData | payments.ExportInvoice | payments.AssignAppStoreTransaction | payments.AssignPlayMarketTransaction | payments.CanPurchasePremium | payments.GetPremiumGiftCodeOptions | payments.CheckGiftCode | payments.ApplyGiftCode | payments.GetGiveawayInfo | payments.LaunchPrepaidGiveaway | payments.GetStarsTopupOptions | payments.GetStarsStatus | payments.GetStarsTransactions | payments.SendStarsForm | payments.RefundStarsCharge | payments.GetStarsRevenueStats | payments.GetStarsRevenueWithdrawalUrl | payments.GetStarsRevenueAdsAccountUrl | payments.GetStarsTransactionsByID | payments.GetStarsGiftOptions | payments.GetStarsSubscriptions | payments.ChangeStarsSubscription | payments.FulfillStarsSubscription | payments.GetStarsGiveawayOptions | payments.GetStarGifts | payments.GetUserStarGifts | payments.SaveStarGift | payments.ConvertStarGift | payments.BotCancelStarsSubscription | payments.GetConnectedStarRefBots | payments.GetConnectedStarRefBot | payments.GetSuggestedStarRefBots | payments.ConnectStarRefBot | payments.EditConnectedStarRefBot
|
|
29640
30108
|
| stickers.CreateStickerSet | stickers.RemoveStickerFromSet | stickers.ChangeStickerPosition | stickers.AddStickerToSet | stickers.SetStickerSetThumb | stickers.CheckShortName | stickers.SuggestShortName | stickers.ChangeSticker | stickers.RenameStickerSet | stickers.DeleteStickerSet | stickers.ReplaceSticker
|
|
29641
30109
|
| phone.GetCallConfig | phone.RequestCall | phone.AcceptCall | phone.ConfirmCall | phone.ReceivedCall | phone.DiscardCall | phone.SetCallRating | phone.SaveCallDebug | phone.SendSignalingData | phone.CreateGroupCall | phone.JoinGroupCall | phone.LeaveGroupCall | phone.InviteToGroupCall | phone.DiscardGroupCall | phone.ToggleGroupCallSettings | phone.GetGroupCall | phone.GetGroupParticipants | phone.CheckGroupCall | phone.ToggleGroupCallRecord | phone.EditGroupCallParticipant | phone.EditGroupCallTitle | phone.GetGroupCallJoinAs | phone.ExportGroupCallInvite | phone.ToggleGroupCallStartSubscription | phone.StartScheduledGroupCall | phone.SaveDefaultGroupCallJoinAs | phone.JoinGroupCallPresentation | phone.LeaveGroupCallPresentation | phone.GetGroupCallStreamChannels | phone.GetGroupCallStreamRtmpUrl | phone.SaveCallLog
|
|
29642
30110
|
| langpack.GetLangPack | langpack.GetStrings | langpack.GetDifference | langpack.GetLanguages | langpack.GetLanguage
|
package/tl/apiTl.js
CHANGED
|
@@ -126,8 +126,8 @@ messageActionChannelMigrateFrom#ea3948e9 title:string chat_id:long = MessageActi
|
|
|
126
126
|
messageActionPinMessage#94bd38ed = MessageAction;
|
|
127
127
|
messageActionHistoryClear#9fbab604 = MessageAction;
|
|
128
128
|
messageActionGameScore#92a72876 game_id:long score:int = MessageAction;
|
|
129
|
-
messageActionPaymentSentMe#
|
|
130
|
-
messageActionPaymentSent#
|
|
129
|
+
messageActionPaymentSentMe#ffa00ccc flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge subscription_until_date:flags.4?int = MessageAction;
|
|
130
|
+
messageActionPaymentSent#c624b16e flags:# recurring_init:flags.2?true recurring_used:flags.3?true currency:string total_amount:long invoice_slug:flags.0?string subscription_until_date:flags.4?int = MessageAction;
|
|
131
131
|
messageActionPhoneCall#80e11a7f flags:# video:flags.2?true call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;
|
|
132
132
|
messageActionScreenshotTaken#4792929b = MessageAction;
|
|
133
133
|
messageActionCustomAction#fae69f56 message:string = MessageAction;
|
|
@@ -158,7 +158,7 @@ messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPe
|
|
|
158
158
|
messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction;
|
|
159
159
|
messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction;
|
|
160
160
|
messageActionPrizeStars#b00c47a2 flags:# unclaimed:flags.0?true stars:long transaction_id:string boost_peer:Peer giveaway_msg_id:int = MessageAction;
|
|
161
|
-
messageActionStarGift#
|
|
161
|
+
messageActionStarGift#8557637 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:flags.4?long = MessageAction;
|
|
162
162
|
dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog;
|
|
163
163
|
dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog;
|
|
164
164
|
photoEmpty#2331b22d id:long = Photo;
|
|
@@ -196,7 +196,7 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;
|
|
|
196
196
|
inputReportReasonFake#f5ddd6e7 = ReportReason;
|
|
197
197
|
inputReportReasonIllegalDrugs#a8eb2be = ReportReason;
|
|
198
198
|
inputReportReasonPersonalDetails#9ec7863d = ReportReason;
|
|
199
|
-
userFull#
|
|
199
|
+
userFull#979d2376 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int starref_program:flags2.11?StarRefProgram = UserFull;
|
|
200
200
|
contact#145ade0b user_id:long mutual:Bool = Contact;
|
|
201
201
|
importedContact#c13e3c50 user_id:long client_id:long = ImportedContact;
|
|
202
202
|
contactStatus#16d9703b user_id:long status:UserStatus = ContactStatus;
|
|
@@ -369,7 +369,7 @@ updateBotEditBusinessMessage#7df587c flags:# connection_id:string message:Messag
|
|
|
369
369
|
updateBotDeleteBusinessMessage#a02a982e connection_id:string peer:Peer messages:Vector<int> qts:int = Update;
|
|
370
370
|
updateNewStoryReaction#1824e40b story_id:int peer:Peer reaction:Reaction = Update;
|
|
371
371
|
updateBroadcastRevenueTransactions#dfd961f5 peer:Peer balances:BroadcastRevenueBalances = Update;
|
|
372
|
-
updateStarsBalance#
|
|
372
|
+
updateStarsBalance#4e80a379 balance:StarsAmount = Update;
|
|
373
373
|
updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long connection_id:string message:Message reply_to_message:flags.2?Message chat_instance:long data:flags.0?bytes = Update;
|
|
374
374
|
updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
|
|
375
375
|
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
|
|
@@ -455,6 +455,7 @@ inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey;
|
|
|
455
455
|
inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey;
|
|
456
456
|
inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey;
|
|
457
457
|
inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey;
|
|
458
|
+
inputPrivacyKeyStarGiftsAutoSave#e1732341 = InputPrivacyKey;
|
|
458
459
|
privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;
|
|
459
460
|
privacyKeyChatInvite#500e6dfa = PrivacyKey;
|
|
460
461
|
privacyKeyPhoneCall#3d662b7b = PrivacyKey;
|
|
@@ -466,6 +467,7 @@ privacyKeyAddedByPhone#42ffd42b = PrivacyKey;
|
|
|
466
467
|
privacyKeyVoiceMessages#697f414 = PrivacyKey;
|
|
467
468
|
privacyKeyAbout#a486b761 = PrivacyKey;
|
|
468
469
|
privacyKeyBirthday#2000a518 = PrivacyKey;
|
|
470
|
+
privacyKeyStarGiftsAutoSave#2ca4fdf8 = PrivacyKey;
|
|
469
471
|
inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;
|
|
470
472
|
inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;
|
|
471
473
|
inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;
|
|
@@ -476,6 +478,8 @@ inputPrivacyValueAllowChatParticipants#840649cf chats:Vector<long> = InputPrivac
|
|
|
476
478
|
inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector<long> = InputPrivacyRule;
|
|
477
479
|
inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule;
|
|
478
480
|
inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule;
|
|
481
|
+
inputPrivacyValueAllowBots#5a4fcce5 = InputPrivacyRule;
|
|
482
|
+
inputPrivacyValueDisallowBots#c4e57915 = InputPrivacyRule;
|
|
479
483
|
privacyValueAllowContacts#fffe1bac = PrivacyRule;
|
|
480
484
|
privacyValueAllowAll#65427b82 = PrivacyRule;
|
|
481
485
|
privacyValueAllowUsers#b8905fb2 users:Vector<long> = PrivacyRule;
|
|
@@ -486,6 +490,8 @@ privacyValueAllowChatParticipants#6b134e8e chats:Vector<long> = PrivacyRule;
|
|
|
486
490
|
privacyValueDisallowChatParticipants#41c87565 chats:Vector<long> = PrivacyRule;
|
|
487
491
|
privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule;
|
|
488
492
|
privacyValueAllowPremium#ece9814b = PrivacyRule;
|
|
493
|
+
privacyValueAllowBots#21461b5d = PrivacyRule;
|
|
494
|
+
privacyValueDisallowBots#f6a5f82f = PrivacyRule;
|
|
489
495
|
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
|
|
490
496
|
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
|
|
491
497
|
documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;
|
|
@@ -533,7 +539,7 @@ stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:fl
|
|
|
533
539
|
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
|
|
534
540
|
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
|
|
535
541
|
botCommand#c27ac8c7 command:string description:string = BotCommand;
|
|
536
|
-
botInfo#
|
|
542
|
+
botInfo#36607333 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings = BotInfo;
|
|
537
543
|
keyboardButton#a2fa4880 text:string = KeyboardButton;
|
|
538
544
|
keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;
|
|
539
545
|
keyboardButtonCallback#35bbdb6b flags:# requires_password:flags.0?true text:string data:bytes = KeyboardButton;
|
|
@@ -740,7 +746,7 @@ phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;
|
|
|
740
746
|
phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;
|
|
741
747
|
dataJSON#7d748d04 data:string = DataJSON;
|
|
742
748
|
labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;
|
|
743
|
-
invoice#
|
|
749
|
+
invoice#49ee584 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector<LabeledPrice> max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector<long> terms_url:flags.10?string subscription_period:flags.11?int = Invoice;
|
|
744
750
|
paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;
|
|
745
751
|
postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;
|
|
746
752
|
paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;
|
|
@@ -1093,7 +1099,7 @@ attachMenuBot#d90d8dfe flags:# inactive:flags.0?true has_settings:flags.1?true r
|
|
|
1093
1099
|
attachMenuBotsNotModified#f1d88a5c = AttachMenuBots;
|
|
1094
1100
|
attachMenuBots#3c4301c0 hash:long bots:Vector<AttachMenuBot> users:Vector<User> = AttachMenuBots;
|
|
1095
1101
|
attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector<User> = AttachMenuBotsBot;
|
|
1096
|
-
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true query_id:flags.0?long url:string = WebViewResult;
|
|
1102
|
+
webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true fullscreen:flags.2?true query_id:flags.0?long url:string = WebViewResult;
|
|
1097
1103
|
webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent;
|
|
1098
1104
|
botMenuButtonDefault#7533a588 = BotMenuButton;
|
|
1099
1105
|
botMenuButtonCommands#4258c205 = BotMenuButton;
|
|
@@ -1335,12 +1341,12 @@ starsTransactionPeer#d80da15d peer:Peer = StarsTransactionPeer;
|
|
|
1335
1341
|
starsTransactionPeerAds#60682812 = StarsTransactionPeer;
|
|
1336
1342
|
starsTransactionPeerAPI#f9677aad = StarsTransactionPeer;
|
|
1337
1343
|
starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption;
|
|
1338
|
-
starsTransaction#
|
|
1339
|
-
payments.starsStatus#
|
|
1344
|
+
starsTransaction#64dfc926 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:StarsAmount date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift floodskip_number:flags.15?int starref_commission_permille:flags.16?int starref_peer:flags.17?Peer starref_amount:flags.17?StarsAmount = StarsTransaction;
|
|
1345
|
+
payments.starsStatus#6c9ce8ed flags:# balance:StarsAmount subscriptions:flags.1?Vector<StarsSubscription> subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus;
|
|
1340
1346
|
foundStory#e87acbc0 peer:Peer story:StoryItem = FoundStory;
|
|
1341
1347
|
stories.foundStories#e2de7737 flags:# count:int stories:Vector<FoundStory> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = stories.FoundStories;
|
|
1342
1348
|
geoPointAddress#de4c5d93 flags:# country_iso2:string state:flags.0?string city:flags.1?string street:flags.2?string = GeoPointAddress;
|
|
1343
|
-
starsRevenueStatus#
|
|
1349
|
+
starsRevenueStatus#febe5491 flags:# withdrawal_enabled:flags.0?true current_balance:StarsAmount available_balance:StarsAmount overall_revenue:StarsAmount next_withdrawal_at:flags.1?int = StarsRevenueStatus;
|
|
1344
1350
|
payments.starsRevenueStats#c92bb73b revenue_graph:StatsGraph status:StarsRevenueStatus usd_rate:double = payments.StarsRevenueStats;
|
|
1345
1351
|
payments.starsRevenueWithdrawalUrl#1dab80b7 url:string = payments.StarsRevenueWithdrawalUrl;
|
|
1346
1352
|
payments.starsRevenueAdsAccountUrl#394e7f21 url:string = payments.StarsRevenueAdsAccountUrl;
|
|
@@ -1350,11 +1356,11 @@ bots.popularAppBots#1991b13b flags:# next_offset:flags.0?string users:Vector<Use
|
|
|
1350
1356
|
botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia;
|
|
1351
1357
|
bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo;
|
|
1352
1358
|
starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing;
|
|
1353
|
-
starsSubscription#
|
|
1359
|
+
starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true bot_canceled:flags.7?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string title:flags.4?string photo:flags.5?WebDocument invoice_slug:flags.6?string = StarsSubscription;
|
|
1354
1360
|
messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor;
|
|
1355
1361
|
starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true stars:long yearly_boosts:int store_product:flags.2?string currency:string amount:long winners:Vector<StarsGiveawayWinnersOption> = StarsGiveawayOption;
|
|
1356
1362
|
starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption;
|
|
1357
|
-
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
|
1363
|
+
starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift;
|
|
1358
1364
|
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
|
|
1359
1365
|
payments.starGifts#901689ea hash:int gifts:Vector<StarGift> = payments.StarGifts;
|
|
1360
1366
|
userStarGift#eea49a6e flags:# name_hidden:flags.0?true unsaved:flags.5?true from_id:flags.1?long date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int convert_stars:flags.4?long = UserStarGift;
|
|
@@ -1363,6 +1369,16 @@ messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption;
|
|
|
1363
1369
|
reportResultChooseOption#f0e4e0b6 title:string options:Vector<MessageReportOption> = ReportResult;
|
|
1364
1370
|
reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult;
|
|
1365
1371
|
reportResultReported#8db33c4b = ReportResult;
|
|
1372
|
+
messages.botPreparedInlineMessage#8ecf0511 id:string expire_date:int = messages.BotPreparedInlineMessage;
|
|
1373
|
+
messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector<InlineQueryPeerType> cache_time:int users:Vector<User> = messages.PreparedInlineMessage;
|
|
1374
|
+
botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettings;
|
|
1375
|
+
starRefProgram#dd0c66f2 flags:# bot_id:long commission_permille:int duration_months:flags.0?int end_date:flags.1?int daily_revenue_per_user:flags.2?StarsAmount = StarRefProgram;
|
|
1376
|
+
connectedBotStarRef#19a13f71 flags:# revoked:flags.1?true url:string date:int bot_id:long commission_permille:int duration_months:flags.0?int participants:long revenue:long = ConnectedBotStarRef;
|
|
1377
|
+
payments.connectedStarRefBots#98d5ea1d count:int connected_bots:Vector<ConnectedBotStarRef> users:Vector<User> = payments.ConnectedStarRefBots;
|
|
1378
|
+
payments.suggestedStarRefBots#b4d5d859 flags:# count:int suggested_bots:Vector<StarRefProgram> users:Vector<User> next_offset:flags.0?string = payments.SuggestedStarRefBots;
|
|
1379
|
+
starsAmount#bbb6b4a3 amount:long nanos:int = StarsAmount;
|
|
1380
|
+
messages.foundStickersNotModified#6010c534 flags:# next_offset:flags.0?int = messages.FoundStickers;
|
|
1381
|
+
messages.foundStickers#82c9e290 flags:# next_offset:flags.0?int hash:long stickers:Vector<Document> = messages.FoundStickers;
|
|
1366
1382
|
---functions---
|
|
1367
1383
|
invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;
|
|
1368
1384
|
invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;
|
|
@@ -1523,7 +1539,7 @@ contacts.block#2e2e8734 flags:# my_stories_from:flags.0?true id:InputPeer = Bool
|
|
|
1523
1539
|
contacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bool;
|
|
1524
1540
|
contacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0?true offset:int limit:int = contacts.Blocked;
|
|
1525
1541
|
contacts.search#11f812d8 q:string limit:int = contacts.Found;
|
|
1526
|
-
contacts.resolveUsername#
|
|
1542
|
+
contacts.resolveUsername#725afbbc flags:# username:string referer:flags.0?string = contacts.ResolvedPeer;
|
|
1527
1543
|
contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true bots_app:flags.16?true offset:int limit:int hash:long = contacts.TopPeers;
|
|
1528
1544
|
contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;
|
|
1529
1545
|
contacts.resetSaved#879537f1 = Bool;
|
|
@@ -1700,9 +1716,9 @@ messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = mes
|
|
|
1700
1716
|
messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots;
|
|
1701
1717
|
messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot;
|
|
1702
1718
|
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;
|
|
1703
|
-
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
|
1719
|
+
messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult;
|
|
1704
1720
|
messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool;
|
|
1705
|
-
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
|
1721
|
+
messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true fullscreen:flags.8?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
|
1706
1722
|
messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent;
|
|
1707
1723
|
messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates;
|
|
1708
1724
|
messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio;
|
|
@@ -1724,7 +1740,7 @@ messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups;
|
|
|
1724
1740
|
messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList;
|
|
1725
1741
|
messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool;
|
|
1726
1742
|
messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp;
|
|
1727
|
-
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
|
1743
|
+
messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult;
|
|
1728
1744
|
messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates;
|
|
1729
1745
|
messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets;
|
|
1730
1746
|
messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs;
|
|
@@ -1752,7 +1768,7 @@ messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects;
|
|
|
1752
1768
|
messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates;
|
|
1753
1769
|
messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates;
|
|
1754
1770
|
messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>;
|
|
1755
|
-
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
|
1771
|
+
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
|
|
1756
1772
|
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
|
|
1757
1773
|
messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool;
|
|
1758
1774
|
messages.getPaidReactionPrivacy#472455aa = Updates;
|
|
@@ -1760,6 +1776,9 @@ messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool;
|
|
|
1760
1776
|
messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool;
|
|
1761
1777
|
messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
|
|
1762
1778
|
messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages;
|
|
1779
|
+
messages.savePreparedInlineMessage#f21f7f2f flags:# result:InputBotInlineResult user_id:InputUser peer_types:flags.0?Vector<InlineQueryPeerType> = messages.BotPreparedInlineMessage;
|
|
1780
|
+
messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage;
|
|
1781
|
+
messages.searchStickers#29b1c66a flags:# emojis:flags.0?true q:string emoticon:string lang_code:Vector<string> offset:int limit:int hash:long = messages.FoundStickers;
|
|
1763
1782
|
updates.getState#edd4882a = updates.State;
|
|
1764
1783
|
updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
|
|
1765
1784
|
updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
|
|
@@ -1885,6 +1904,11 @@ bots.deletePreviewMedia#2d0135b3 bot:InputUser lang_code:string media:Vector<Inp
|
|
|
1885
1904
|
bots.reorderPreviewMedias#b627f3aa bot:InputUser lang_code:string order:Vector<InputMedia> = Bool;
|
|
1886
1905
|
bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo;
|
|
1887
1906
|
bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>;
|
|
1907
|
+
bots.updateUserEmojiStatus#ed9f30c5 user_id:InputUser emoji_status:EmojiStatus = Bool;
|
|
1908
|
+
bots.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool;
|
|
1909
|
+
bots.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool;
|
|
1910
|
+
bots.getAdminedBots#b0711d83 = Vector<User>;
|
|
1911
|
+
bots.updateStarRefProgram#778b5ab3 flags:# bot:InputUser commission_permille:int duration_months:flags.0?int = StarRefProgram;
|
|
1888
1912
|
payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;
|
|
1889
1913
|
payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
|
|
1890
1914
|
payments.validateRequestedInfo#b6c8f12b flags:# save:flags.0?true invoice:InputInvoice info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
|
|
@@ -1919,6 +1943,12 @@ payments.getStarGifts#c4563590 hash:int = payments.StarGifts;
|
|
|
1919
1943
|
payments.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = payments.UserStarGifts;
|
|
1920
1944
|
payments.saveStarGift#87acf08e flags:# unsave:flags.0?true user_id:InputUser msg_id:int = Bool;
|
|
1921
1945
|
payments.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool;
|
|
1946
|
+
payments.botCancelStarsSubscription#6dfa0622 flags:# restore:flags.0?true user_id:InputUser charge_id:string = Bool;
|
|
1947
|
+
payments.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2?int offset_link:flags.2?string limit:int = payments.ConnectedStarRefBots;
|
|
1948
|
+
payments.getConnectedStarRefBot#b7d998f0 peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
|
|
1949
|
+
payments.getSuggestedStarRefBots#d6b48f7 flags:# order_by_revenue:flags.0?true order_by_date:flags.1?true peer:InputPeer offset:string limit:int = payments.SuggestedStarRefBots;
|
|
1950
|
+
payments.connectStarRefBot#7ed5348a peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
|
|
1951
|
+
payments.editConnectedStarRefBot#e4fca4a3 flags:# revoked:flags.0?true peer:InputPeer link:string = payments.ConnectedStarRefBots;
|
|
1922
1952
|
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
|
|
1923
1953
|
stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
|
|
1924
1954
|
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
|
|
@@ -2026,4 +2056,5 @@ smsjobs.updateSettings#93fa0bf flags:# allow_international:flags.0?true = Bool;
|
|
|
2026
2056
|
smsjobs.getStatus#10a698e8 = smsjobs.Status;
|
|
2027
2057
|
smsjobs.getSmsJob#778d902f job_id:string = SmsJob;
|
|
2028
2058
|
smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
|
|
2029
|
-
fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo
|
|
2059
|
+
fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo;
|
|
2060
|
+
`;
|