@mtcute/tl 198.0.0 → 200.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api-schema.json +1 -1
- package/binary/reader.js +25 -15
- package/binary/writer.js +50 -29
- package/compat/index.d.ts +436 -0
- package/compat/reader.d.ts +1 -0
- package/compat/reader.js +17 -0
- package/index.d.ts +202 -77
- package/index.js +6 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
1
|
import _Long from 'long';
|
|
3
|
-
|
|
4
2
|
export declare namespace tl {
|
|
5
|
-
const LAYER =
|
|
3
|
+
const LAYER = 200;
|
|
6
4
|
|
|
7
5
|
function $extendTypes(types: Record<string, string>): void
|
|
8
6
|
|
|
@@ -2128,6 +2126,7 @@ export class RpcError extends Error {
|
|
|
2128
2126
|
*/
|
|
2129
2127
|
botActiveUsers?: number;
|
|
2130
2128
|
botVerificationIcon?: Long;
|
|
2129
|
+
sendPaidMessagesStars?: Long;
|
|
2131
2130
|
}
|
|
2132
2131
|
/**
|
|
2133
2132
|
* Profile photo has not been set, or was hidden.
|
|
@@ -2661,6 +2660,7 @@ export class RpcError extends Error {
|
|
|
2661
2660
|
*/
|
|
2662
2661
|
subscriptionUntilDate?: number;
|
|
2663
2662
|
botVerificationIcon?: Long;
|
|
2663
|
+
sendPaidMessagesStars?: Long;
|
|
2664
2664
|
}
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Indicates a channel/supergroup we can't access because we
|
|
@@ -2930,6 +2930,7 @@ export class RpcError extends Error {
|
|
|
2930
2930
|
*/
|
|
2931
2931
|
paidReactionsAvailable?: boolean;
|
|
2932
2932
|
stargiftsAvailable?: boolean;
|
|
2933
|
+
paidMessagesAvailable?: boolean;
|
|
2933
2934
|
/**
|
|
2934
2935
|
* ID of the channel
|
|
2935
2936
|
*/
|
|
@@ -3500,6 +3501,7 @@ export class RpcError extends Error {
|
|
|
3500
3501
|
*/
|
|
3501
3502
|
factcheck?: tl.TypeFactCheck;
|
|
3502
3503
|
reportDeliveryUntilDate?: number;
|
|
3504
|
+
paidMessageStars?: Long;
|
|
3503
3505
|
}
|
|
3504
3506
|
/**
|
|
3505
3507
|
* Indicates a service message
|
|
@@ -5571,6 +5573,11 @@ export class RpcError extends Error {
|
|
|
5571
5573
|
* is set.
|
|
5572
5574
|
*/
|
|
5573
5575
|
businessBotManageUrl?: string;
|
|
5576
|
+
chargePaidMessageStars?: Long;
|
|
5577
|
+
registrationMonth?: string;
|
|
5578
|
+
phoneCountry?: string;
|
|
5579
|
+
nameChangeDate?: number;
|
|
5580
|
+
photoChangeDate?: number;
|
|
5574
5581
|
}
|
|
5575
5582
|
/**
|
|
5576
5583
|
* Represents a
|
|
@@ -5908,10 +5915,6 @@ export class RpcError extends Error {
|
|
|
5908
5915
|
* for more info on how to handle them »</a>.
|
|
5909
5916
|
*/
|
|
5910
5917
|
botBroadcastAdminRights?: tl.TypeChatAdminRights;
|
|
5911
|
-
/**
|
|
5912
|
-
* Telegram Premium subscriptions gift options
|
|
5913
|
-
*/
|
|
5914
|
-
premiumGifts?: tl.TypePremiumGiftOption[];
|
|
5915
5918
|
/**
|
|
5916
5919
|
* <a href="https://corefork.telegram.org/api/wallpapers">Wallpaper</a>
|
|
5917
5920
|
* to use in the private chat with the user.
|
|
@@ -5984,6 +5987,7 @@ export class RpcError extends Error {
|
|
|
5984
5987
|
*/
|
|
5985
5988
|
starrefProgram?: tl.TypeStarRefProgram;
|
|
5986
5989
|
botVerification?: tl.TypeBotVerification;
|
|
5990
|
+
sendPaidMessagesStars?: Long;
|
|
5987
5991
|
}
|
|
5988
5992
|
/**
|
|
5989
5993
|
* A contact of the current user that is registered in the
|
|
@@ -8896,7 +8900,7 @@ export class RpcError extends Error {
|
|
|
8896
8900
|
/**
|
|
8897
8901
|
* Whether paid reaction privacy is enabled or disabled.
|
|
8898
8902
|
*/
|
|
8899
|
-
private:
|
|
8903
|
+
private: tl.TypePaidReactionPrivacy;
|
|
8900
8904
|
}
|
|
8901
8905
|
/**
|
|
8902
8906
|
* Too many updates, it is necessary to execute
|
|
@@ -10161,6 +10165,9 @@ export class RpcError extends Error {
|
|
|
10161
10165
|
interface RawInputPrivacyKeyStarGiftsAutoSave {
|
|
10162
10166
|
_: 'inputPrivacyKeyStarGiftsAutoSave';
|
|
10163
10167
|
}
|
|
10168
|
+
interface RawInputPrivacyKeyNoPaidMessages {
|
|
10169
|
+
_: 'inputPrivacyKeyNoPaidMessages';
|
|
10170
|
+
}
|
|
10164
10171
|
/**
|
|
10165
10172
|
* Whether we can see the last online timestamp of this user.
|
|
10166
10173
|
*
|
|
@@ -10254,6 +10261,9 @@ export class RpcError extends Error {
|
|
|
10254
10261
|
interface RawPrivacyKeyStarGiftsAutoSave {
|
|
10255
10262
|
_: 'privacyKeyStarGiftsAutoSave';
|
|
10256
10263
|
}
|
|
10264
|
+
interface RawPrivacyKeyNoPaidMessages {
|
|
10265
|
+
_: 'privacyKeyNoPaidMessages';
|
|
10266
|
+
}
|
|
10257
10267
|
/**
|
|
10258
10268
|
* Allow only contacts
|
|
10259
10269
|
*/
|
|
@@ -10674,6 +10684,7 @@ export class RpcError extends Error {
|
|
|
10674
10684
|
* Whether the size of the media in the preview can be changed.
|
|
10675
10685
|
*/
|
|
10676
10686
|
hasLargeMedia?: boolean;
|
|
10687
|
+
videoCoverPhoto?: boolean;
|
|
10677
10688
|
/**
|
|
10678
10689
|
* Preview ID
|
|
10679
10690
|
*/
|
|
@@ -19138,6 +19149,7 @@ export class RpcError extends Error {
|
|
|
19138
19149
|
* enable this flag.
|
|
19139
19150
|
*/
|
|
19140
19151
|
newNoncontactPeersRequirePremium?: boolean;
|
|
19152
|
+
noncontactPeersPaidStars?: Long;
|
|
19141
19153
|
}
|
|
19142
19154
|
/**
|
|
19143
19155
|
* View, forward counter + info about replies of a specific
|
|
@@ -20508,6 +20520,12 @@ export class RpcError extends Error {
|
|
|
20508
20520
|
stargift: tl.TypeInputSavedStarGift;
|
|
20509
20521
|
toId: tl.TypeInputPeer;
|
|
20510
20522
|
}
|
|
20523
|
+
interface RawInputInvoicePremiumGiftStars {
|
|
20524
|
+
_: 'inputInvoicePremiumGiftStars';
|
|
20525
|
+
userId: tl.TypeInputUser;
|
|
20526
|
+
months: number;
|
|
20527
|
+
message?: tl.TypeTextWithEntities;
|
|
20528
|
+
}
|
|
20511
20529
|
/**
|
|
20512
20530
|
* Info about a Telegram Premium purchase
|
|
20513
20531
|
*/
|
|
@@ -20818,45 +20836,6 @@ export class RpcError extends Error {
|
|
|
20818
20836
|
*/
|
|
20819
20837
|
users: number;
|
|
20820
20838
|
}
|
|
20821
|
-
/**
|
|
20822
|
-
* Telegram Premium gift option
|
|
20823
|
-
*/
|
|
20824
|
-
interface RawPremiumGiftOption {
|
|
20825
|
-
_: 'premiumGiftOption';
|
|
20826
|
-
/**
|
|
20827
|
-
* Duration of gifted Telegram Premium subscription
|
|
20828
|
-
*/
|
|
20829
|
-
months: number;
|
|
20830
|
-
/**
|
|
20831
|
-
* Three-letter ISO 4217
|
|
20832
|
-
* <a href="https://corefork.telegram.org/bots/payments#supported-currencies">currency</a>
|
|
20833
|
-
* code
|
|
20834
|
-
*/
|
|
20835
|
-
currency: string;
|
|
20836
|
-
/**
|
|
20837
|
-
* Price of the product in the smallest units of the currency
|
|
20838
|
-
* (integer, not float/double). For example, for a price of
|
|
20839
|
-
* <code>US$ 1.45</code> pass <code>amount = 145</code>. See
|
|
20840
|
-
* the exp parameter in
|
|
20841
|
-
* <a href="https://corefork.telegram.org/bots/payments/currencies.json">currencies.json</a>,
|
|
20842
|
-
* it shows the number of digits past the decimal point for
|
|
20843
|
-
* each currency (2 for the majority of currencies).
|
|
20844
|
-
*/
|
|
20845
|
-
amount: Long;
|
|
20846
|
-
/**
|
|
20847
|
-
* An
|
|
20848
|
-
* <a href="https://corefork.telegram.org/api/links#invoice-links">invoice
|
|
20849
|
-
* deep link »</a> to an invoice for in-app payment, using the
|
|
20850
|
-
* official Premium bot; may be empty if direct payment isn't
|
|
20851
|
-
* available.
|
|
20852
|
-
*/
|
|
20853
|
-
botUrl: string;
|
|
20854
|
-
/**
|
|
20855
|
-
* An identifier for the App Store/Play Store product
|
|
20856
|
-
* associated with the Premium gift.
|
|
20857
|
-
*/
|
|
20858
|
-
storeProduct?: string;
|
|
20859
|
-
}
|
|
20860
20839
|
/**
|
|
20861
20840
|
* Represents an additional payment method
|
|
20862
20841
|
*/
|
|
@@ -24168,6 +24147,8 @@ export class RpcError extends Error {
|
|
|
24168
24147
|
* affiliate, can be negative for refunds.
|
|
24169
24148
|
*/
|
|
24170
24149
|
starrefAmount?: tl.TypeStarsAmount;
|
|
24150
|
+
paidMessages?: number;
|
|
24151
|
+
premiumGiftMonths?: number;
|
|
24171
24152
|
}
|
|
24172
24153
|
/**
|
|
24173
24154
|
* A story found using
|
|
@@ -24582,6 +24563,7 @@ export class RpcError extends Error {
|
|
|
24582
24563
|
attributes: tl.TypeStarGiftAttribute[];
|
|
24583
24564
|
availabilityIssued: number;
|
|
24584
24565
|
availabilityTotal: number;
|
|
24566
|
+
giftAddress?: string;
|
|
24585
24567
|
}
|
|
24586
24568
|
/**
|
|
24587
24569
|
* Report menu option
|
|
@@ -24827,6 +24809,7 @@ export class RpcError extends Error {
|
|
|
24827
24809
|
unsaved?: boolean;
|
|
24828
24810
|
refunded?: boolean;
|
|
24829
24811
|
canUpgrade?: boolean;
|
|
24812
|
+
pinnedToTop?: boolean;
|
|
24830
24813
|
fromId?: tl.TypePeer;
|
|
24831
24814
|
date: number;
|
|
24832
24815
|
gift: tl.TypeStarGift;
|
|
@@ -24847,6 +24830,65 @@ export class RpcError extends Error {
|
|
|
24847
24830
|
peer: tl.TypeInputPeer;
|
|
24848
24831
|
savedId: Long;
|
|
24849
24832
|
}
|
|
24833
|
+
interface RawPaidReactionPrivacyDefault {
|
|
24834
|
+
_: 'paidReactionPrivacyDefault';
|
|
24835
|
+
}
|
|
24836
|
+
interface RawPaidReactionPrivacyAnonymous {
|
|
24837
|
+
_: 'paidReactionPrivacyAnonymous';
|
|
24838
|
+
}
|
|
24839
|
+
interface RawPaidReactionPrivacyPeer {
|
|
24840
|
+
_: 'paidReactionPrivacyPeer';
|
|
24841
|
+
peer: tl.TypeInputPeer;
|
|
24842
|
+
}
|
|
24843
|
+
interface RawRequirementToContactEmpty {
|
|
24844
|
+
_: 'requirementToContactEmpty';
|
|
24845
|
+
}
|
|
24846
|
+
interface RawRequirementToContactPremium {
|
|
24847
|
+
_: 'requirementToContactPremium';
|
|
24848
|
+
}
|
|
24849
|
+
interface RawRequirementToContactPaidMessages {
|
|
24850
|
+
_: 'requirementToContactPaidMessages';
|
|
24851
|
+
starsAmount: Long;
|
|
24852
|
+
}
|
|
24853
|
+
/**
|
|
24854
|
+
* Telegram Premium gift option
|
|
24855
|
+
*/
|
|
24856
|
+
interface RawPremiumGiftOption {
|
|
24857
|
+
_: 'premiumGiftOption';
|
|
24858
|
+
/**
|
|
24859
|
+
* Duration of gifted Telegram Premium subscription
|
|
24860
|
+
*/
|
|
24861
|
+
months: number;
|
|
24862
|
+
/**
|
|
24863
|
+
* Three-letter ISO 4217
|
|
24864
|
+
* <a href="https://corefork.telegram.org/bots/payments#supported-currencies">currency</a>
|
|
24865
|
+
* code
|
|
24866
|
+
*/
|
|
24867
|
+
currency: string;
|
|
24868
|
+
/**
|
|
24869
|
+
* Price of the product in the smallest units of the currency
|
|
24870
|
+
* (integer, not float/double). For example, for a price of
|
|
24871
|
+
* <code>US$ 1.45</code> pass <code>amount = 145</code>. See
|
|
24872
|
+
* the exp parameter in
|
|
24873
|
+
* <a href="https://corefork.telegram.org/bots/payments/currencies.json">currencies.json</a>,
|
|
24874
|
+
* it shows the number of digits past the decimal point for
|
|
24875
|
+
* each currency (2 for the majority of currencies).
|
|
24876
|
+
*/
|
|
24877
|
+
amount: Long;
|
|
24878
|
+
/**
|
|
24879
|
+
* An
|
|
24880
|
+
* <a href="https://corefork.telegram.org/api/links#invoice-links">invoice
|
|
24881
|
+
* deep link »</a> to an invoice for in-app payment, using the
|
|
24882
|
+
* official Premium bot; may be empty if direct payment isn't
|
|
24883
|
+
* available.
|
|
24884
|
+
*/
|
|
24885
|
+
botUrl: string;
|
|
24886
|
+
/**
|
|
24887
|
+
* An identifier for the App Store/Play Store product
|
|
24888
|
+
* associated with the Premium gift.
|
|
24889
|
+
*/
|
|
24890
|
+
storeProduct?: string;
|
|
24891
|
+
}
|
|
24850
24892
|
/**
|
|
24851
24893
|
* An
|
|
24852
24894
|
* <a href="https://corefork.telegram.org/api/emoji-status">emoji
|
|
@@ -24882,8 +24924,6 @@ export class RpcError extends Error {
|
|
|
24882
24924
|
* currently hidden from our profile page.
|
|
24883
24925
|
*/
|
|
24884
24926
|
unsaved?: boolean;
|
|
24885
|
-
refunded?: boolean;
|
|
24886
|
-
canUpgrade?: boolean;
|
|
24887
24927
|
/**
|
|
24888
24928
|
* Sender of the gift (may be empty for anonymous senders; will
|
|
24889
24929
|
* always be set if this gift was sent to us).
|
|
@@ -24919,9 +24959,6 @@ export class RpcError extends Error {
|
|
|
24919
24959
|
* <code>stars</code>.
|
|
24920
24960
|
*/
|
|
24921
24961
|
convertStars?: Long;
|
|
24922
|
-
upgradeStars?: Long;
|
|
24923
|
-
canExportAt?: number;
|
|
24924
|
-
transferStars?: Long;
|
|
24925
24962
|
}
|
|
24926
24963
|
/**
|
|
24927
24964
|
* RPC method returns {@link tl.TypeError}
|
|
@@ -24946,6 +24983,13 @@ export class RpcError extends Error {
|
|
|
24946
24983
|
nonce: string;
|
|
24947
24984
|
secret: string;
|
|
24948
24985
|
}
|
|
24986
|
+
/**
|
|
24987
|
+
* RPC method returns {@link tl.TypeError}
|
|
24988
|
+
*/
|
|
24989
|
+
interface RawInvokeWithReCaptchaPrefixRequest {
|
|
24990
|
+
_: 'invokeWithReCaptchaPrefix';
|
|
24991
|
+
token: string;
|
|
24992
|
+
}
|
|
24949
24993
|
/**
|
|
24950
24994
|
* Invokes a query after successful completion of one of the
|
|
24951
24995
|
* previous queries.
|
|
@@ -25152,10 +25196,16 @@ export class RpcError extends Error {
|
|
|
25152
25196
|
*/
|
|
25153
25197
|
query: X;
|
|
25154
25198
|
}
|
|
25199
|
+
interface RawInvokeWithReCaptchaRequest<X extends tl.TlObject = tl.TlObject> {
|
|
25200
|
+
_: 'invokeWithReCaptcha';
|
|
25201
|
+
token: string;
|
|
25202
|
+
query: X;
|
|
25203
|
+
}
|
|
25155
25204
|
interface RpcCallReturn extends help.RpcCallReturn, storage.RpcCallReturn, auth.RpcCallReturn, contacts.RpcCallReturn, messages.RpcCallReturn, updates.RpcCallReturn, photos.RpcCallReturn, upload.RpcCallReturn, account.RpcCallReturn, channels.RpcCallReturn, payments.RpcCallReturn, phone.RpcCallReturn, stats.RpcCallReturn, stickers.RpcCallReturn, users.RpcCallReturn, chatlists.RpcCallReturn, bots.RpcCallReturn, stories.RpcCallReturn, premium.RpcCallReturn, smsjobs.RpcCallReturn, fragment.RpcCallReturn, mtcute.RpcCallReturn, test.RpcCallReturn, langpack.RpcCallReturn, folders.RpcCallReturn {
|
|
25156
25205
|
'invokeWithBusinessConnectionPrefix': tl.TypeError
|
|
25157
25206
|
'invokeWithGooglePlayIntegrityPrefix': tl.TypeError
|
|
25158
25207
|
'invokeWithApnsSecretPrefix': tl.TypeError
|
|
25208
|
+
'invokeWithReCaptchaPrefix': tl.TypeError
|
|
25159
25209
|
'invokeAfterMsg': any
|
|
25160
25210
|
'invokeAfterMsgs': any
|
|
25161
25211
|
'initConnection': any
|
|
@@ -25166,6 +25216,7 @@ export class RpcError extends Error {
|
|
|
25166
25216
|
'invokeWithBusinessConnection': any
|
|
25167
25217
|
'invokeWithGooglePlayIntegrity': any
|
|
25168
25218
|
'invokeWithApnsSecret': any
|
|
25219
|
+
'invokeWithReCaptcha': any
|
|
25169
25220
|
}
|
|
25170
25221
|
/**
|
|
25171
25222
|
* An object containing a query error.
|
|
@@ -25454,7 +25505,7 @@ export class RpcError extends Error {
|
|
|
25454
25505
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
25455
25506
|
* documentation »</a> for more info.
|
|
25456
25507
|
*/
|
|
25457
|
-
type TypeInputPrivacyKey = tl.RawInputPrivacyKeyStatusTimestamp | tl.RawInputPrivacyKeyChatInvite | tl.RawInputPrivacyKeyPhoneCall | tl.RawInputPrivacyKeyPhoneP2P | tl.RawInputPrivacyKeyForwards | tl.RawInputPrivacyKeyProfilePhoto | tl.RawInputPrivacyKeyPhoneNumber | tl.RawInputPrivacyKeyAddedByPhone | tl.RawInputPrivacyKeyVoiceMessages | tl.RawInputPrivacyKeyAbout | tl.RawInputPrivacyKeyBirthday | tl.RawInputPrivacyKeyStarGiftsAutoSave
|
|
25508
|
+
type TypeInputPrivacyKey = tl.RawInputPrivacyKeyStatusTimestamp | tl.RawInputPrivacyKeyChatInvite | tl.RawInputPrivacyKeyPhoneCall | tl.RawInputPrivacyKeyPhoneP2P | tl.RawInputPrivacyKeyForwards | tl.RawInputPrivacyKeyProfilePhoto | tl.RawInputPrivacyKeyPhoneNumber | tl.RawInputPrivacyKeyAddedByPhone | tl.RawInputPrivacyKeyVoiceMessages | tl.RawInputPrivacyKeyAbout | tl.RawInputPrivacyKeyBirthday | tl.RawInputPrivacyKeyStarGiftsAutoSave | tl.RawInputPrivacyKeyNoPaidMessages
|
|
25458
25509
|
function isAnyInputPrivacyKey(o: object): o is TypeInputPrivacyKey
|
|
25459
25510
|
/**
|
|
25460
25511
|
* Privacy <strong>keys</strong> together with
|
|
@@ -25469,7 +25520,7 @@ export class RpcError extends Error {
|
|
|
25469
25520
|
* <a href="https://corefork.telegram.org/api/privacy">privacy
|
|
25470
25521
|
* documentation »</a> for more info.
|
|
25471
25522
|
*/
|
|
25472
|
-
type TypePrivacyKey = tl.RawPrivacyKeyStatusTimestamp | tl.RawPrivacyKeyChatInvite | tl.RawPrivacyKeyPhoneCall | tl.RawPrivacyKeyPhoneP2P | tl.RawPrivacyKeyForwards | tl.RawPrivacyKeyProfilePhoto | tl.RawPrivacyKeyPhoneNumber | tl.RawPrivacyKeyAddedByPhone | tl.RawPrivacyKeyVoiceMessages | tl.RawPrivacyKeyAbout | tl.RawPrivacyKeyBirthday | tl.RawPrivacyKeyStarGiftsAutoSave
|
|
25523
|
+
type TypePrivacyKey = tl.RawPrivacyKeyStatusTimestamp | tl.RawPrivacyKeyChatInvite | tl.RawPrivacyKeyPhoneCall | tl.RawPrivacyKeyPhoneP2P | tl.RawPrivacyKeyForwards | tl.RawPrivacyKeyProfilePhoto | tl.RawPrivacyKeyPhoneNumber | tl.RawPrivacyKeyAddedByPhone | tl.RawPrivacyKeyVoiceMessages | tl.RawPrivacyKeyAbout | tl.RawPrivacyKeyBirthday | tl.RawPrivacyKeyStarGiftsAutoSave | tl.RawPrivacyKeyNoPaidMessages
|
|
25473
25524
|
function isAnyPrivacyKey(o: object): o is TypePrivacyKey
|
|
25474
25525
|
/**
|
|
25475
25526
|
* Privacy <strong>rules</strong> indicate <em>who</em> can or
|
|
@@ -26462,18 +26513,13 @@ export class RpcError extends Error {
|
|
|
26462
26513
|
/**
|
|
26463
26514
|
* An invoice
|
|
26464
26515
|
*/
|
|
26465
|
-
type TypeInputInvoice = tl.RawInputInvoiceMessage | tl.RawInputInvoiceSlug | tl.RawInputInvoicePremiumGiftCode | tl.RawInputInvoiceStars | tl.RawInputInvoiceChatInviteSubscription | tl.RawInputInvoiceStarGift | tl.RawInputInvoiceStarGiftUpgrade | tl.RawInputInvoiceStarGiftTransfer
|
|
26516
|
+
type TypeInputInvoice = tl.RawInputInvoiceMessage | tl.RawInputInvoiceSlug | tl.RawInputInvoicePremiumGiftCode | tl.RawInputInvoiceStars | tl.RawInputInvoiceChatInviteSubscription | tl.RawInputInvoiceStarGift | tl.RawInputInvoiceStarGiftUpgrade | tl.RawInputInvoiceStarGiftTransfer | tl.RawInputInvoicePremiumGiftStars
|
|
26466
26517
|
function isAnyInputInvoice(o: object): o is TypeInputInvoice
|
|
26467
26518
|
/**
|
|
26468
26519
|
* Info about a Telegram Premium purchase
|
|
26469
26520
|
*/
|
|
26470
26521
|
type TypeInputStorePaymentPurpose = tl.RawInputStorePaymentPremiumSubscription | tl.RawInputStorePaymentGiftPremium | tl.RawInputStorePaymentPremiumGiftCode | tl.RawInputStorePaymentPremiumGiveaway | tl.RawInputStorePaymentStarsTopup | tl.RawInputStorePaymentStarsGift | tl.RawInputStorePaymentStarsGiveaway
|
|
26471
26522
|
function isAnyInputStorePaymentPurpose(o: object): o is TypeInputStorePaymentPurpose
|
|
26472
|
-
/**
|
|
26473
|
-
* Telegram Premium gift option
|
|
26474
|
-
*/
|
|
26475
|
-
type TypePremiumGiftOption = tl.RawPremiumGiftOption
|
|
26476
|
-
function isAnyPremiumGiftOption(o: object): o is TypePremiumGiftOption
|
|
26477
26523
|
/**
|
|
26478
26524
|
* Represents a payment method
|
|
26479
26525
|
*/
|
|
@@ -27164,6 +27210,15 @@ export class RpcError extends Error {
|
|
|
27164
27210
|
function isAnySavedStarGift(o: object): o is TypeSavedStarGift
|
|
27165
27211
|
type TypeInputSavedStarGift = tl.RawInputSavedStarGiftUser | tl.RawInputSavedStarGiftChat
|
|
27166
27212
|
function isAnyInputSavedStarGift(o: object): o is TypeInputSavedStarGift
|
|
27213
|
+
type TypePaidReactionPrivacy = tl.RawPaidReactionPrivacyDefault | tl.RawPaidReactionPrivacyAnonymous | tl.RawPaidReactionPrivacyPeer
|
|
27214
|
+
function isAnyPaidReactionPrivacy(o: object): o is TypePaidReactionPrivacy
|
|
27215
|
+
type TypeRequirementToContact = tl.RawRequirementToContactEmpty | tl.RawRequirementToContactPremium | tl.RawRequirementToContactPaidMessages
|
|
27216
|
+
function isAnyRequirementToContact(o: object): o is TypeRequirementToContact
|
|
27217
|
+
/**
|
|
27218
|
+
* Telegram Premium gift option
|
|
27219
|
+
*/
|
|
27220
|
+
type TypePremiumGiftOption = tl.RawPremiumGiftOption
|
|
27221
|
+
function isAnyPremiumGiftOption(o: object): o is TypePremiumGiftOption
|
|
27167
27222
|
/**
|
|
27168
27223
|
* Represents a
|
|
27169
27224
|
* <a href="https://corefork.telegram.org/api/gifts">gift</a>,
|
|
@@ -32031,6 +32086,7 @@ export class RpcError extends Error {
|
|
|
32031
32086
|
* effect »</a> to use for the message.
|
|
32032
32087
|
*/
|
|
32033
32088
|
effect?: Long;
|
|
32089
|
+
allowPaidStars?: Long;
|
|
32034
32090
|
}
|
|
32035
32091
|
/**
|
|
32036
32092
|
* Send a media
|
|
@@ -32130,6 +32186,7 @@ export class RpcError extends Error {
|
|
|
32130
32186
|
* effect »</a> to use for the message.
|
|
32131
32187
|
*/
|
|
32132
32188
|
effect?: Long;
|
|
32189
|
+
allowPaidStars?: Long;
|
|
32133
32190
|
}
|
|
32134
32191
|
/**
|
|
32135
32192
|
* Forwards messages by their IDs.
|
|
@@ -32213,6 +32270,7 @@ export class RpcError extends Error {
|
|
|
32213
32270
|
*/
|
|
32214
32271
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
32215
32272
|
videoTimestamp?: number;
|
|
32273
|
+
allowPaidStars?: Long;
|
|
32216
32274
|
}
|
|
32217
32275
|
/**
|
|
32218
32276
|
* Report a new incoming chat for spam, if the
|
|
@@ -33175,6 +33233,7 @@ export class RpcError extends Error {
|
|
|
33175
33233
|
* reply shortcut »</a>, instead.
|
|
33176
33234
|
*/
|
|
33177
33235
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
33236
|
+
allowPaidStars?: Long;
|
|
33178
33237
|
}
|
|
33179
33238
|
/**
|
|
33180
33239
|
* Find out if a media message's caption can be edited
|
|
@@ -34064,6 +34123,7 @@ export class RpcError extends Error {
|
|
|
34064
34123
|
* effect »</a> to use for the message.
|
|
34065
34124
|
*/
|
|
34066
34125
|
effect?: Long;
|
|
34126
|
+
allowPaidStars?: Long;
|
|
34067
34127
|
}
|
|
34068
34128
|
/**
|
|
34069
34129
|
* Upload encrypted file and associate it to a secret chat
|
|
@@ -37065,7 +37125,7 @@ export class RpcError extends Error {
|
|
|
37065
37125
|
* {@link messages.RawSendPaidReactionRequest}.<code>private</code>
|
|
37066
37126
|
* flag.
|
|
37067
37127
|
*/
|
|
37068
|
-
private?:
|
|
37128
|
+
private?: tl.TypePaidReactionPrivacy;
|
|
37069
37129
|
}
|
|
37070
37130
|
/**
|
|
37071
37131
|
* Changes the privacy of already sent
|
|
@@ -37088,7 +37148,7 @@ export class RpcError extends Error {
|
|
|
37088
37148
|
* If true, makes the current anonymous in the top sender
|
|
37089
37149
|
* leaderboard for this message; otherwise, does the opposite.
|
|
37090
37150
|
*/
|
|
37091
|
-
private:
|
|
37151
|
+
private: tl.TypePaidReactionPrivacy;
|
|
37092
37152
|
}
|
|
37093
37153
|
/**
|
|
37094
37154
|
* Fetches an {@link RawUpdatePaidReactionPrivacy} update with
|
|
@@ -39291,6 +39351,10 @@ export class RpcError extends Error {
|
|
|
39291
39351
|
*/
|
|
39292
39352
|
users: tl.TypeUser[];
|
|
39293
39353
|
}
|
|
39354
|
+
interface RawPaidMessagesRevenue {
|
|
39355
|
+
_: 'account.paidMessagesRevenue';
|
|
39356
|
+
starsAmount: Long;
|
|
39357
|
+
}
|
|
39294
39358
|
/**
|
|
39295
39359
|
* Register device to receive
|
|
39296
39360
|
* <a href="https://corefork.telegram.org/api/push-updates">PUSH
|
|
@@ -41255,6 +41319,22 @@ export class RpcError extends Error {
|
|
|
41255
41319
|
_: 'account.getCollectibleEmojiStatuses';
|
|
41256
41320
|
hash: Long;
|
|
41257
41321
|
}
|
|
41322
|
+
/**
|
|
41323
|
+
* RPC method returns boolean
|
|
41324
|
+
*/
|
|
41325
|
+
interface RawAddNoPaidMessagesExceptionRequest {
|
|
41326
|
+
_: 'account.addNoPaidMessagesException';
|
|
41327
|
+
refundCharged?: boolean;
|
|
41328
|
+
userId: tl.TypeInputUser;
|
|
41329
|
+
}
|
|
41330
|
+
/**
|
|
41331
|
+
* RPC method returns
|
|
41332
|
+
* {@link tl.account.TypePaidMessagesRevenue}
|
|
41333
|
+
*/
|
|
41334
|
+
interface RawGetPaidMessagesRevenueRequest {
|
|
41335
|
+
_: 'account.getPaidMessagesRevenue';
|
|
41336
|
+
userId: tl.TypeInputUser;
|
|
41337
|
+
}
|
|
41258
41338
|
interface RpcCallReturn {
|
|
41259
41339
|
'account.registerDevice': boolean
|
|
41260
41340
|
'account.unregisterDevice': boolean
|
|
@@ -41369,6 +41449,8 @@ export class RpcError extends Error {
|
|
|
41369
41449
|
'account.getReactionsNotifySettings': tl.TypeReactionsNotifySettings
|
|
41370
41450
|
'account.setReactionsNotifySettings': tl.TypeReactionsNotifySettings
|
|
41371
41451
|
'account.getCollectibleEmojiStatuses': tl.account.TypeEmojiStatuses
|
|
41452
|
+
'account.addNoPaidMessagesException': boolean
|
|
41453
|
+
'account.getPaidMessagesRevenue': tl.account.TypePaidMessagesRevenue
|
|
41372
41454
|
}
|
|
41373
41455
|
/**
|
|
41374
41456
|
* Privacy rules
|
|
@@ -41499,6 +41581,8 @@ export class RpcError extends Error {
|
|
|
41499
41581
|
*/
|
|
41500
41582
|
type TypeResolvedBusinessChatLinks = tl.account.RawResolvedBusinessChatLinks
|
|
41501
41583
|
function isAnyResolvedBusinessChatLinks(o: object): o is TypeResolvedBusinessChatLinks
|
|
41584
|
+
type TypePaidMessagesRevenue = tl.account.RawPaidMessagesRevenue
|
|
41585
|
+
function isAnyPaidMessagesRevenue(o: object): o is TypePaidMessagesRevenue
|
|
41502
41586
|
}
|
|
41503
41587
|
|
|
41504
41588
|
namespace channels {
|
|
@@ -42363,6 +42447,7 @@ export class RpcError extends Error {
|
|
|
42363
42447
|
*/
|
|
42364
42448
|
interface RawGetSendAsRequest {
|
|
42365
42449
|
_: 'channels.getSendAs';
|
|
42450
|
+
forPaidReactions?: boolean;
|
|
42366
42451
|
/**
|
|
42367
42452
|
* The group where we intend to send messages
|
|
42368
42453
|
*/
|
|
@@ -42993,6 +43078,14 @@ export class RpcError extends Error {
|
|
|
42993
43078
|
*/
|
|
42994
43079
|
limit: number;
|
|
42995
43080
|
}
|
|
43081
|
+
/**
|
|
43082
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
43083
|
+
*/
|
|
43084
|
+
interface RawUpdatePaidMessagesPriceRequest {
|
|
43085
|
+
_: 'channels.updatePaidMessagesPrice';
|
|
43086
|
+
channel: tl.TypeInputChannel;
|
|
43087
|
+
sendPaidMessagesStars: Long;
|
|
43088
|
+
}
|
|
42996
43089
|
/**
|
|
42997
43090
|
* Mark a specific sponsored message as read
|
|
42998
43091
|
*
|
|
@@ -43028,6 +43121,8 @@ export class RpcError extends Error {
|
|
|
43028
43121
|
*/
|
|
43029
43122
|
interface RawClickSponsoredMessageRequest {
|
|
43030
43123
|
_: 'channels.clickSponsoredMessage';
|
|
43124
|
+
media?: boolean;
|
|
43125
|
+
fullscreen?: boolean;
|
|
43031
43126
|
channel: tl.TypeInputChannel;
|
|
43032
43127
|
randomId: Uint8Array;
|
|
43033
43128
|
}
|
|
@@ -43109,6 +43204,7 @@ export class RpcError extends Error {
|
|
|
43109
43204
|
'channels.setEmojiStickers': boolean
|
|
43110
43205
|
'channels.restrictSponsoredMessages': tl.TypeUpdates
|
|
43111
43206
|
'channels.searchPosts': tl.messages.TypeMessages
|
|
43207
|
+
'channels.updatePaidMessagesPrice': tl.TypeUpdates
|
|
43112
43208
|
'channels.viewSponsoredMessage': boolean
|
|
43113
43209
|
'channels.getSponsoredMessages': tl.messages.TypeSponsoredMessages
|
|
43114
43210
|
'channels.clickSponsoredMessage': boolean
|
|
@@ -44714,6 +44810,14 @@ export class RpcError extends Error {
|
|
|
44714
44810
|
enabled?: boolean;
|
|
44715
44811
|
peer: tl.TypeInputPeer;
|
|
44716
44812
|
}
|
|
44813
|
+
/**
|
|
44814
|
+
* RPC method returns boolean
|
|
44815
|
+
*/
|
|
44816
|
+
interface RawToggleStarGiftsPinnedToTopRequest {
|
|
44817
|
+
_: 'payments.toggleStarGiftsPinnedToTop';
|
|
44818
|
+
peer: tl.TypeInputPeer;
|
|
44819
|
+
stargift: tl.TypeInputSavedStarGift[];
|
|
44820
|
+
}
|
|
44717
44821
|
/**
|
|
44718
44822
|
* Get the
|
|
44719
44823
|
* <a href="https://corefork.telegram.org/api/gifts">gifts
|
|
@@ -44745,13 +44849,6 @@ export class RpcError extends Error {
|
|
|
44745
44849
|
*/
|
|
44746
44850
|
limit: number;
|
|
44747
44851
|
}
|
|
44748
|
-
/**
|
|
44749
|
-
* RPC method returns {@link tl.payments.TypeUserStarGifts}
|
|
44750
|
-
*/
|
|
44751
|
-
interface RawGetUserStarGiftRequest {
|
|
44752
|
-
_: 'payments.getUserStarGift';
|
|
44753
|
-
msgId: number[];
|
|
44754
|
-
}
|
|
44755
44852
|
interface RpcCallReturn {
|
|
44756
44853
|
'payments.getPaymentForm': tl.payments.TypePaymentForm
|
|
44757
44854
|
'payments.getPaymentReceipt': tl.payments.TypePaymentReceipt
|
|
@@ -44800,8 +44897,8 @@ export class RpcError extends Error {
|
|
|
44800
44897
|
'payments.getSavedStarGift': tl.payments.TypeSavedStarGifts
|
|
44801
44898
|
'payments.getStarGiftWithdrawalUrl': tl.payments.TypeStarGiftWithdrawalUrl
|
|
44802
44899
|
'payments.toggleChatStarGiftNotifications': boolean
|
|
44900
|
+
'payments.toggleStarGiftsPinnedToTop': boolean
|
|
44803
44901
|
'payments.getUserStarGifts': tl.payments.TypeUserStarGifts
|
|
44804
|
-
'payments.getUserStarGift': tl.payments.TypeUserStarGifts
|
|
44805
44902
|
}
|
|
44806
44903
|
/**
|
|
44807
44904
|
* Payment form
|
|
@@ -46778,6 +46875,13 @@ export class RpcError extends Error {
|
|
|
46778
46875
|
*/
|
|
46779
46876
|
errors: tl.TypeSecureValueError[];
|
|
46780
46877
|
}
|
|
46878
|
+
/**
|
|
46879
|
+
* RPC method returns {@link tl.TypeRequirementToContact} array
|
|
46880
|
+
*/
|
|
46881
|
+
interface RawGetRequirementsToContactRequest {
|
|
46882
|
+
_: 'users.getRequirementsToContact';
|
|
46883
|
+
id: tl.TypeInputUser[];
|
|
46884
|
+
}
|
|
46781
46885
|
/**
|
|
46782
46886
|
* Check whether we can write to the specified user (this
|
|
46783
46887
|
* method can only be called by
|
|
@@ -46799,6 +46903,7 @@ export class RpcError extends Error {
|
|
|
46799
46903
|
'users.getUsers': tl.TypeUser[]
|
|
46800
46904
|
'users.getFullUser': tl.users.TypeUserFull
|
|
46801
46905
|
'users.setSecureValueErrors': boolean
|
|
46906
|
+
'users.getRequirementsToContact': tl.TypeRequirementToContact[]
|
|
46802
46907
|
'users.getIsPremiumRequiredToContact': boolean[]
|
|
46803
46908
|
}
|
|
46804
46909
|
/**
|
|
@@ -49549,6 +49654,7 @@ export class RpcError extends Error {
|
|
|
49549
49654
|
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
49550
49655
|
| tl.RawInvokeWithGooglePlayIntegrityPrefixRequest
|
|
49551
49656
|
| tl.RawInvokeWithApnsSecretPrefixRequest
|
|
49657
|
+
| tl.RawInvokeWithReCaptchaPrefixRequest
|
|
49552
49658
|
| tl.RawInvokeAfterMsgRequest
|
|
49553
49659
|
| tl.RawInvokeAfterMsgsRequest
|
|
49554
49660
|
| tl.RawInitConnectionRequest
|
|
@@ -49559,6 +49665,7 @@ export class RpcError extends Error {
|
|
|
49559
49665
|
| tl.RawInvokeWithBusinessConnectionRequest
|
|
49560
49666
|
| tl.RawInvokeWithGooglePlayIntegrityRequest
|
|
49561
49667
|
| tl.RawInvokeWithApnsSecretRequest
|
|
49668
|
+
| tl.RawInvokeWithReCaptchaRequest
|
|
49562
49669
|
| tl.auth.RawSendCodeRequest
|
|
49563
49670
|
| tl.auth.RawSignUpRequest
|
|
49564
49671
|
| tl.auth.RawSignInRequest
|
|
@@ -49695,10 +49802,12 @@ export class RpcError extends Error {
|
|
|
49695
49802
|
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
49696
49803
|
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
49697
49804
|
| tl.account.RawGetCollectibleEmojiStatusesRequest
|
|
49805
|
+
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
49806
|
+
| tl.account.RawGetPaidMessagesRevenueRequest
|
|
49698
49807
|
| tl.users.RawGetUsersRequest
|
|
49699
49808
|
| tl.users.RawGetFullUserRequest
|
|
49700
49809
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
49701
|
-
| tl.users.
|
|
49810
|
+
| tl.users.RawGetRequirementsToContactRequest
|
|
49702
49811
|
| tl.contacts.RawGetContactIDsRequest
|
|
49703
49812
|
| tl.contacts.RawGetStatusesRequest
|
|
49704
49813
|
| tl.contacts.RawGetContactsRequest
|
|
@@ -50052,6 +50161,7 @@ export class RpcError extends Error {
|
|
|
50052
50161
|
| tl.channels.RawSetEmojiStickersRequest
|
|
50053
50162
|
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
50054
50163
|
| tl.channels.RawSearchPostsRequest
|
|
50164
|
+
| tl.channels.RawUpdatePaidMessagesPriceRequest
|
|
50055
50165
|
| tl.bots.RawSendCustomRequestRequest
|
|
50056
50166
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
50057
50167
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -50129,6 +50239,7 @@ export class RpcError extends Error {
|
|
|
50129
50239
|
| tl.payments.RawGetSavedStarGiftRequest
|
|
50130
50240
|
| tl.payments.RawGetStarGiftWithdrawalUrlRequest
|
|
50131
50241
|
| tl.payments.RawToggleChatStarGiftNotificationsRequest
|
|
50242
|
+
| tl.payments.RawToggleStarGiftsPinnedToTopRequest
|
|
50132
50243
|
| tl.stickers.RawCreateStickerSetRequest
|
|
50133
50244
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
50134
50245
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -50238,12 +50349,12 @@ export class RpcError extends Error {
|
|
|
50238
50349
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
50239
50350
|
| tl.smsjobs.RawFinishJobRequest
|
|
50240
50351
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
50352
|
+
| tl.users.RawGetIsPremiumRequiredToContactRequest
|
|
50241
50353
|
| tl.payments.RawGetUserStarGiftsRequest
|
|
50242
50354
|
| tl.channels.RawViewSponsoredMessageRequest
|
|
50243
50355
|
| tl.channels.RawGetSponsoredMessagesRequest
|
|
50244
50356
|
| tl.channels.RawClickSponsoredMessageRequest
|
|
50245
50357
|
| tl.channels.RawReportSponsoredMessageRequest
|
|
50246
|
-
| tl.payments.RawGetUserStarGiftRequest
|
|
50247
50358
|
| tl.mtcute.RawCustomMethodRequest
|
|
50248
50359
|
|
|
50249
50360
|
type TlObject =
|
|
@@ -50706,6 +50817,7 @@ export class RpcError extends Error {
|
|
|
50706
50817
|
| tl.RawInputPrivacyKeyAbout
|
|
50707
50818
|
| tl.RawInputPrivacyKeyBirthday
|
|
50708
50819
|
| tl.RawInputPrivacyKeyStarGiftsAutoSave
|
|
50820
|
+
| tl.RawInputPrivacyKeyNoPaidMessages
|
|
50709
50821
|
| tl.RawPrivacyKeyStatusTimestamp
|
|
50710
50822
|
| tl.RawPrivacyKeyChatInvite
|
|
50711
50823
|
| tl.RawPrivacyKeyPhoneCall
|
|
@@ -50718,6 +50830,7 @@ export class RpcError extends Error {
|
|
|
50718
50830
|
| tl.RawPrivacyKeyAbout
|
|
50719
50831
|
| tl.RawPrivacyKeyBirthday
|
|
50720
50832
|
| tl.RawPrivacyKeyStarGiftsAutoSave
|
|
50833
|
+
| tl.RawPrivacyKeyNoPaidMessages
|
|
50721
50834
|
| tl.RawInputPrivacyValueAllowContacts
|
|
50722
50835
|
| tl.RawInputPrivacyValueAllowAll
|
|
50723
50836
|
| tl.RawInputPrivacyValueAllowUsers
|
|
@@ -51377,6 +51490,7 @@ export class RpcError extends Error {
|
|
|
51377
51490
|
| tl.RawInputInvoiceStarGift
|
|
51378
51491
|
| tl.RawInputInvoiceStarGiftUpgrade
|
|
51379
51492
|
| tl.RawInputInvoiceStarGiftTransfer
|
|
51493
|
+
| tl.RawInputInvoicePremiumGiftStars
|
|
51380
51494
|
| tl.payments.RawExportedInvoice
|
|
51381
51495
|
| tl.messages.RawTranscribedAudio
|
|
51382
51496
|
| tl.help.RawPremiumPromo
|
|
@@ -51387,7 +51501,6 @@ export class RpcError extends Error {
|
|
|
51387
51501
|
| tl.RawInputStorePaymentStarsTopup
|
|
51388
51502
|
| tl.RawInputStorePaymentStarsGift
|
|
51389
51503
|
| tl.RawInputStorePaymentStarsGiveaway
|
|
51390
|
-
| tl.RawPremiumGiftOption
|
|
51391
51504
|
| tl.RawPaymentFormMethod
|
|
51392
51505
|
| tl.RawEmojiStatusEmpty
|
|
51393
51506
|
| tl.RawEmojiStatus
|
|
@@ -51650,6 +51763,14 @@ export class RpcError extends Error {
|
|
|
51650
51763
|
| tl.RawInputSavedStarGiftUser
|
|
51651
51764
|
| tl.RawInputSavedStarGiftChat
|
|
51652
51765
|
| tl.payments.RawStarGiftWithdrawalUrl
|
|
51766
|
+
| tl.RawPaidReactionPrivacyDefault
|
|
51767
|
+
| tl.RawPaidReactionPrivacyAnonymous
|
|
51768
|
+
| tl.RawPaidReactionPrivacyPeer
|
|
51769
|
+
| tl.account.RawPaidMessagesRevenue
|
|
51770
|
+
| tl.RawRequirementToContactEmpty
|
|
51771
|
+
| tl.RawRequirementToContactPremium
|
|
51772
|
+
| tl.RawRequirementToContactPaidMessages
|
|
51773
|
+
| tl.RawPremiumGiftOption
|
|
51653
51774
|
| tl.RawEmojiStatusUntil
|
|
51654
51775
|
| tl.RawUserStarGift
|
|
51655
51776
|
| tl.payments.RawUserStarGifts
|
|
@@ -51661,6 +51782,7 @@ export class RpcError extends Error {
|
|
|
51661
51782
|
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
51662
51783
|
| tl.RawInvokeWithGooglePlayIntegrityPrefixRequest
|
|
51663
51784
|
| tl.RawInvokeWithApnsSecretPrefixRequest
|
|
51785
|
+
| tl.RawInvokeWithReCaptchaPrefixRequest
|
|
51664
51786
|
| tl.RawInvokeAfterMsgRequest
|
|
51665
51787
|
| tl.RawInvokeAfterMsgsRequest
|
|
51666
51788
|
| tl.RawInitConnectionRequest
|
|
@@ -51671,6 +51793,7 @@ export class RpcError extends Error {
|
|
|
51671
51793
|
| tl.RawInvokeWithBusinessConnectionRequest
|
|
51672
51794
|
| tl.RawInvokeWithGooglePlayIntegrityRequest
|
|
51673
51795
|
| tl.RawInvokeWithApnsSecretRequest
|
|
51796
|
+
| tl.RawInvokeWithReCaptchaRequest
|
|
51674
51797
|
| tl.auth.RawSendCodeRequest
|
|
51675
51798
|
| tl.auth.RawSignUpRequest
|
|
51676
51799
|
| tl.auth.RawSignInRequest
|
|
@@ -51807,10 +51930,12 @@ export class RpcError extends Error {
|
|
|
51807
51930
|
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
51808
51931
|
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
51809
51932
|
| tl.account.RawGetCollectibleEmojiStatusesRequest
|
|
51933
|
+
| tl.account.RawAddNoPaidMessagesExceptionRequest
|
|
51934
|
+
| tl.account.RawGetPaidMessagesRevenueRequest
|
|
51810
51935
|
| tl.users.RawGetUsersRequest
|
|
51811
51936
|
| tl.users.RawGetFullUserRequest
|
|
51812
51937
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
51813
|
-
| tl.users.
|
|
51938
|
+
| tl.users.RawGetRequirementsToContactRequest
|
|
51814
51939
|
| tl.contacts.RawGetContactIDsRequest
|
|
51815
51940
|
| tl.contacts.RawGetStatusesRequest
|
|
51816
51941
|
| tl.contacts.RawGetContactsRequest
|
|
@@ -52164,6 +52289,7 @@ export class RpcError extends Error {
|
|
|
52164
52289
|
| tl.channels.RawSetEmojiStickersRequest
|
|
52165
52290
|
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
52166
52291
|
| tl.channels.RawSearchPostsRequest
|
|
52292
|
+
| tl.channels.RawUpdatePaidMessagesPriceRequest
|
|
52167
52293
|
| tl.bots.RawSendCustomRequestRequest
|
|
52168
52294
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
52169
52295
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -52241,6 +52367,7 @@ export class RpcError extends Error {
|
|
|
52241
52367
|
| tl.payments.RawGetSavedStarGiftRequest
|
|
52242
52368
|
| tl.payments.RawGetStarGiftWithdrawalUrlRequest
|
|
52243
52369
|
| tl.payments.RawToggleChatStarGiftNotificationsRequest
|
|
52370
|
+
| tl.payments.RawToggleStarGiftsPinnedToTopRequest
|
|
52244
52371
|
| tl.stickers.RawCreateStickerSetRequest
|
|
52245
52372
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
52246
52373
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -52350,18 +52477,16 @@ export class RpcError extends Error {
|
|
|
52350
52477
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
52351
52478
|
| tl.smsjobs.RawFinishJobRequest
|
|
52352
52479
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
52480
|
+
| tl.users.RawGetIsPremiumRequiredToContactRequest
|
|
52353
52481
|
| tl.payments.RawGetUserStarGiftsRequest
|
|
52354
52482
|
| tl.channels.RawViewSponsoredMessageRequest
|
|
52355
52483
|
| tl.channels.RawGetSponsoredMessagesRequest
|
|
52356
52484
|
| tl.channels.RawClickSponsoredMessageRequest
|
|
52357
52485
|
| tl.channels.RawReportSponsoredMessageRequest
|
|
52358
|
-
| tl.payments.RawGetUserStarGiftRequest
|
|
52359
52486
|
| tl.mtcute.RawCustomMethodRequest
|
|
52360
52487
|
}
|
|
52361
52488
|
|
|
52362
52489
|
|
|
52363
|
-
|
|
52364
|
-
|
|
52365
52490
|
export declare namespace mtp {
|
|
52366
52491
|
const LAYER = 0;
|
|
52367
52492
|
|