@mtcute/tl 179.0.0 → 181.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 +32 -13
- package/binary/writer.js +71 -27
- package/index.d.ts +391 -84
- package/index.js +10 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _Long from 'long';
|
|
3
3
|
|
|
4
4
|
export declare namespace tl {
|
|
5
|
-
const LAYER =
|
|
5
|
+
const LAYER = 181;
|
|
6
6
|
|
|
7
7
|
function $extendTypes(types: Record<string, string>): void
|
|
8
8
|
|
|
@@ -1136,7 +1136,7 @@ export class RpcError extends Error {
|
|
|
1136
1136
|
* Payments provider token, obtained via
|
|
1137
1137
|
* <a href="https://t.me/botfather">Botfather</a>
|
|
1138
1138
|
*/
|
|
1139
|
-
provider
|
|
1139
|
+
provider?: string;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* JSON-encoded data about the invoice, which will be shared
|
|
1142
1142
|
* with the payment provider. A detailed description of
|
|
@@ -2889,6 +2889,8 @@ export class RpcError extends Error {
|
|
|
2889
2889
|
*/
|
|
2890
2890
|
ttlPeriod?: number;
|
|
2891
2891
|
quickReplyShortcutId?: number;
|
|
2892
|
+
effect?: Long;
|
|
2893
|
+
factcheck?: tl.TypeFactCheck;
|
|
2892
2894
|
}
|
|
2893
2895
|
/**
|
|
2894
2896
|
* Indicates a service message
|
|
@@ -7532,6 +7534,21 @@ export class RpcError extends Error {
|
|
|
7532
7534
|
messages: number[];
|
|
7533
7535
|
qts: number;
|
|
7534
7536
|
}
|
|
7537
|
+
interface RawUpdateNewStoryReaction {
|
|
7538
|
+
_: 'updateNewStoryReaction';
|
|
7539
|
+
storyId: number;
|
|
7540
|
+
peer: tl.TypePeer;
|
|
7541
|
+
reaction: tl.TypeReaction;
|
|
7542
|
+
}
|
|
7543
|
+
interface RawUpdateBroadcastRevenueTransactions {
|
|
7544
|
+
_: 'updateBroadcastRevenueTransactions';
|
|
7545
|
+
peer: tl.TypePeer;
|
|
7546
|
+
balances: tl.TypeBroadcastRevenueBalances;
|
|
7547
|
+
}
|
|
7548
|
+
interface RawUpdateStarsBalance {
|
|
7549
|
+
_: 'updateStarsBalance';
|
|
7550
|
+
balance: Long;
|
|
7551
|
+
}
|
|
7535
7552
|
/**
|
|
7536
7553
|
* Too many updates, it is necessary to execute
|
|
7537
7554
|
* {@link updates.RawGetDifferenceRequest}.
|
|
@@ -10695,6 +10712,7 @@ export class RpcError extends Error {
|
|
|
10695
10712
|
*/
|
|
10696
10713
|
interface RawMessageEntityBlockquote {
|
|
10697
10714
|
_: 'messageEntityBlockquote';
|
|
10715
|
+
collapsed?: boolean;
|
|
10698
10716
|
/**
|
|
10699
10717
|
* Offset of message entity within message (in
|
|
10700
10718
|
* <a href="https://corefork.telegram.org/api/entities#entity-length">UTF-16
|
|
@@ -16252,6 +16270,7 @@ export class RpcError extends Error {
|
|
|
16252
16270
|
* Whether Firebase auth is supported
|
|
16253
16271
|
*/
|
|
16254
16272
|
allowFirebase?: boolean;
|
|
16273
|
+
unknownNumber?: boolean;
|
|
16255
16274
|
/**
|
|
16256
16275
|
* Previously stored future auth tokens, see
|
|
16257
16276
|
* <a href="https://corefork.telegram.org/api/auth#future-auth-tokens">the
|
|
@@ -16269,7 +16288,6 @@ export class RpcError extends Error {
|
|
|
16269
16288
|
* push notification.
|
|
16270
16289
|
*/
|
|
16271
16290
|
appSandbox?: boolean;
|
|
16272
|
-
unknownNumber?: boolean;
|
|
16273
16291
|
}
|
|
16274
16292
|
/**
|
|
16275
16293
|
* <a href="https://corefork.telegram.org/api/wallpapers">Wallpaper</a>
|
|
@@ -16896,6 +16914,12 @@ export class RpcError extends Error {
|
|
|
16896
16914
|
*/
|
|
16897
16915
|
story?: tl.TypeStoryItem;
|
|
16898
16916
|
}
|
|
16917
|
+
interface RawWebPageAttributeStickerSet {
|
|
16918
|
+
_: 'webPageAttributeStickerSet';
|
|
16919
|
+
emojis?: boolean;
|
|
16920
|
+
textColor?: boolean;
|
|
16921
|
+
stickers: tl.TypeDocument[];
|
|
16922
|
+
}
|
|
16899
16923
|
/**
|
|
16900
16924
|
* Credit card info URL provided by the bank
|
|
16901
16925
|
*/
|
|
@@ -18562,6 +18586,10 @@ export class RpcError extends Error {
|
|
|
18562
18586
|
*/
|
|
18563
18587
|
option: tl.TypePremiumGiftCodeOption;
|
|
18564
18588
|
}
|
|
18589
|
+
interface RawInputInvoiceStars {
|
|
18590
|
+
_: 'inputInvoiceStars';
|
|
18591
|
+
option: tl.TypeStarsTopupOption;
|
|
18592
|
+
}
|
|
18565
18593
|
/**
|
|
18566
18594
|
* Info about a Telegram Premium purchase
|
|
18567
18595
|
*/
|
|
@@ -18724,6 +18752,12 @@ export class RpcError extends Error {
|
|
|
18724
18752
|
*/
|
|
18725
18753
|
amount: Long;
|
|
18726
18754
|
}
|
|
18755
|
+
interface RawInputStorePaymentStars {
|
|
18756
|
+
_: 'inputStorePaymentStars';
|
|
18757
|
+
stars: Long;
|
|
18758
|
+
currency: string;
|
|
18759
|
+
amount: Long;
|
|
18760
|
+
}
|
|
18727
18761
|
/**
|
|
18728
18762
|
* Telegram Premium gift option
|
|
18729
18763
|
*/
|
|
@@ -19342,6 +19376,17 @@ export class RpcError extends Error {
|
|
|
19342
19376
|
*/
|
|
19343
19377
|
emoticons: string[];
|
|
19344
19378
|
}
|
|
19379
|
+
interface RawEmojiGroupGreeting {
|
|
19380
|
+
_: 'emojiGroupGreeting';
|
|
19381
|
+
title: string;
|
|
19382
|
+
iconEmojiId: Long;
|
|
19383
|
+
emoticons: string[];
|
|
19384
|
+
}
|
|
19385
|
+
interface RawEmojiGroupPremium {
|
|
19386
|
+
_: 'emojiGroupPremium';
|
|
19387
|
+
title: string;
|
|
19388
|
+
iconEmojiId: Long;
|
|
19389
|
+
}
|
|
19345
19390
|
/**
|
|
19346
19391
|
* Styled text with
|
|
19347
19392
|
* <a href="https://corefork.telegram.org/api/entities">message
|
|
@@ -19605,24 +19650,6 @@ export class RpcError extends Error {
|
|
|
19605
19650
|
*/
|
|
19606
19651
|
date: number;
|
|
19607
19652
|
}
|
|
19608
|
-
/**
|
|
19609
|
-
* Represents a sponsored website.
|
|
19610
|
-
*/
|
|
19611
|
-
interface RawSponsoredWebPage {
|
|
19612
|
-
_: 'sponsoredWebPage';
|
|
19613
|
-
/**
|
|
19614
|
-
* Web page URL.
|
|
19615
|
-
*/
|
|
19616
|
-
url: string;
|
|
19617
|
-
/**
|
|
19618
|
-
* Website name.
|
|
19619
|
-
*/
|
|
19620
|
-
siteName: string;
|
|
19621
|
-
/**
|
|
19622
|
-
* Optional image preview.
|
|
19623
|
-
*/
|
|
19624
|
-
photo?: tl.TypePhoto;
|
|
19625
|
-
}
|
|
19626
19653
|
/**
|
|
19627
19654
|
* Aggregated view and reaction information of a
|
|
19628
19655
|
* <a href="https://corefork.telegram.org/api/stories">story</a>.
|
|
@@ -20737,7 +20764,7 @@ export class RpcError extends Error {
|
|
|
20737
20764
|
}
|
|
20738
20765
|
interface RawRequestedPeerChannel {
|
|
20739
20766
|
_: 'requestedPeerChannel';
|
|
20740
|
-
channelId:
|
|
20767
|
+
channelId: number;
|
|
20741
20768
|
title?: string;
|
|
20742
20769
|
username?: string;
|
|
20743
20770
|
photo?: tl.TypePhoto;
|
|
@@ -20769,29 +20796,6 @@ export class RpcError extends Error {
|
|
|
20769
20796
|
date: number;
|
|
20770
20797
|
provider: string;
|
|
20771
20798
|
}
|
|
20772
|
-
interface RawUpdateNewStoryReaction {
|
|
20773
|
-
_: 'updateNewStoryReaction';
|
|
20774
|
-
storyId: number;
|
|
20775
|
-
peer: tl.TypePeer;
|
|
20776
|
-
reaction: tl.TypeReaction;
|
|
20777
|
-
}
|
|
20778
|
-
interface RawWebPageAttributeStickerSet {
|
|
20779
|
-
_: 'webPageAttributeStickerSet';
|
|
20780
|
-
emojis?: boolean;
|
|
20781
|
-
textColor?: boolean;
|
|
20782
|
-
stickers: tl.TypeDocument[];
|
|
20783
|
-
}
|
|
20784
|
-
interface RawEmojiGroupGreeting {
|
|
20785
|
-
_: 'emojiGroupGreeting';
|
|
20786
|
-
title: string;
|
|
20787
|
-
iconEmojiId: Long;
|
|
20788
|
-
emoticons: string[];
|
|
20789
|
-
}
|
|
20790
|
-
interface RawEmojiGroupPremium {
|
|
20791
|
-
_: 'emojiGroupPremium';
|
|
20792
|
-
title: string;
|
|
20793
|
-
iconEmojiId: Long;
|
|
20794
|
-
}
|
|
20795
20799
|
interface RawReactionNotificationsFromContacts {
|
|
20796
20800
|
_: 'reactionNotificationsFromContacts';
|
|
20797
20801
|
}
|
|
@@ -20811,6 +20815,60 @@ export class RpcError extends Error {
|
|
|
20811
20815
|
availableBalance: Long;
|
|
20812
20816
|
overallRevenue: Long;
|
|
20813
20817
|
}
|
|
20818
|
+
interface RawAvailableEffect {
|
|
20819
|
+
_: 'availableEffect';
|
|
20820
|
+
premiumRequired?: boolean;
|
|
20821
|
+
id: Long;
|
|
20822
|
+
emoticon: string;
|
|
20823
|
+
staticIconId?: Long;
|
|
20824
|
+
effectStickerId: Long;
|
|
20825
|
+
effectAnimationId?: Long;
|
|
20826
|
+
}
|
|
20827
|
+
interface RawFactCheck {
|
|
20828
|
+
_: 'factCheck';
|
|
20829
|
+
needCheck?: boolean;
|
|
20830
|
+
country?: string;
|
|
20831
|
+
text?: tl.TypeTextWithEntities;
|
|
20832
|
+
hash: Long;
|
|
20833
|
+
}
|
|
20834
|
+
interface RawStarsTransactionPeerUnsupported {
|
|
20835
|
+
_: 'starsTransactionPeerUnsupported';
|
|
20836
|
+
}
|
|
20837
|
+
interface RawStarsTransactionPeerAppStore {
|
|
20838
|
+
_: 'starsTransactionPeerAppStore';
|
|
20839
|
+
}
|
|
20840
|
+
interface RawStarsTransactionPeerPlayMarket {
|
|
20841
|
+
_: 'starsTransactionPeerPlayMarket';
|
|
20842
|
+
}
|
|
20843
|
+
interface RawStarsTransactionPeerPremiumBot {
|
|
20844
|
+
_: 'starsTransactionPeerPremiumBot';
|
|
20845
|
+
}
|
|
20846
|
+
interface RawStarsTransactionPeerFragment {
|
|
20847
|
+
_: 'starsTransactionPeerFragment';
|
|
20848
|
+
}
|
|
20849
|
+
interface RawStarsTransactionPeer {
|
|
20850
|
+
_: 'starsTransactionPeer';
|
|
20851
|
+
peer: tl.TypePeer;
|
|
20852
|
+
}
|
|
20853
|
+
interface RawStarsTopupOption {
|
|
20854
|
+
_: 'starsTopupOption';
|
|
20855
|
+
extended?: boolean;
|
|
20856
|
+
stars: Long;
|
|
20857
|
+
storeProduct?: string;
|
|
20858
|
+
currency: string;
|
|
20859
|
+
amount: Long;
|
|
20860
|
+
}
|
|
20861
|
+
interface RawStarsTransaction {
|
|
20862
|
+
_: 'starsTransaction';
|
|
20863
|
+
refund?: boolean;
|
|
20864
|
+
id: string;
|
|
20865
|
+
stars: Long;
|
|
20866
|
+
date: number;
|
|
20867
|
+
peer: tl.TypeStarsTransactionPeer;
|
|
20868
|
+
title?: string;
|
|
20869
|
+
description?: string;
|
|
20870
|
+
photo?: tl.TypeWebDocument;
|
|
20871
|
+
}
|
|
20814
20872
|
/**
|
|
20815
20873
|
* 0-N updates of this type may be returned only when invoking
|
|
20816
20874
|
* {@link messages.RawAddChatUserRequest},
|
|
@@ -20828,6 +20886,24 @@ export class RpcError extends Error {
|
|
|
20828
20886
|
*/
|
|
20829
20887
|
userId: number;
|
|
20830
20888
|
}
|
|
20889
|
+
/**
|
|
20890
|
+
* Represents a sponsored website.
|
|
20891
|
+
*/
|
|
20892
|
+
interface RawSponsoredWebPage {
|
|
20893
|
+
_: 'sponsoredWebPage';
|
|
20894
|
+
/**
|
|
20895
|
+
* Web page URL.
|
|
20896
|
+
*/
|
|
20897
|
+
url: string;
|
|
20898
|
+
/**
|
|
20899
|
+
* Website name.
|
|
20900
|
+
*/
|
|
20901
|
+
siteName: string;
|
|
20902
|
+
/**
|
|
20903
|
+
* Optional image preview.
|
|
20904
|
+
*/
|
|
20905
|
+
photo?: tl.TypePhoto;
|
|
20906
|
+
}
|
|
20831
20907
|
/**
|
|
20832
20908
|
* RPC method returns {@link tl.TypeError}
|
|
20833
20909
|
*/
|
|
@@ -20835,6 +20911,22 @@ export class RpcError extends Error {
|
|
|
20835
20911
|
_: 'invokeWithBusinessConnectionPrefix';
|
|
20836
20912
|
connectionId: string;
|
|
20837
20913
|
}
|
|
20914
|
+
/**
|
|
20915
|
+
* RPC method returns {@link tl.TypeError}
|
|
20916
|
+
*/
|
|
20917
|
+
interface RawInvokeWithGooglePlayIntegrityPrefixRequest {
|
|
20918
|
+
_: 'invokeWithGooglePlayIntegrityPrefix';
|
|
20919
|
+
nonce: string;
|
|
20920
|
+
token: string;
|
|
20921
|
+
}
|
|
20922
|
+
/**
|
|
20923
|
+
* RPC method returns {@link tl.TypeError}
|
|
20924
|
+
*/
|
|
20925
|
+
interface RawInvokeWithApnsSecretPrefixRequest {
|
|
20926
|
+
_: 'invokeWithApnsSecretPrefix';
|
|
20927
|
+
nonce: string;
|
|
20928
|
+
secret: string;
|
|
20929
|
+
}
|
|
20838
20930
|
/**
|
|
20839
20931
|
* Invokes a query after successful completion of one of the
|
|
20840
20932
|
* previous queries.
|
|
@@ -20982,8 +21074,22 @@ export class RpcError extends Error {
|
|
|
20982
21074
|
connectionId: string;
|
|
20983
21075
|
query: X;
|
|
20984
21076
|
}
|
|
21077
|
+
interface RawInvokeWithGooglePlayIntegrityRequest<X extends tl.TlObject = tl.TlObject> {
|
|
21078
|
+
_: 'invokeWithGooglePlayIntegrity';
|
|
21079
|
+
nonce: string;
|
|
21080
|
+
token: string;
|
|
21081
|
+
query: X;
|
|
21082
|
+
}
|
|
21083
|
+
interface RawInvokeWithApnsSecretRequest<X extends tl.TlObject = tl.TlObject> {
|
|
21084
|
+
_: 'invokeWithApnsSecret';
|
|
21085
|
+
nonce: string;
|
|
21086
|
+
secret: string;
|
|
21087
|
+
query: X;
|
|
21088
|
+
}
|
|
20985
21089
|
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 {
|
|
20986
21090
|
'invokeWithBusinessConnectionPrefix': tl.TypeError
|
|
21091
|
+
'invokeWithGooglePlayIntegrityPrefix': tl.TypeError
|
|
21092
|
+
'invokeWithApnsSecretPrefix': tl.TypeError
|
|
20987
21093
|
'invokeAfterMsg': any
|
|
20988
21094
|
'invokeAfterMsgs': any
|
|
20989
21095
|
'initConnection': any
|
|
@@ -20992,6 +21098,8 @@ export class RpcError extends Error {
|
|
|
20992
21098
|
'invokeWithMessagesRange': any
|
|
20993
21099
|
'invokeWithTakeout': any
|
|
20994
21100
|
'invokeWithBusinessConnection': any
|
|
21101
|
+
'invokeWithGooglePlayIntegrity': any
|
|
21102
|
+
'invokeWithApnsSecret': any
|
|
20995
21103
|
}
|
|
20996
21104
|
/**
|
|
20997
21105
|
* An object containing a query error.
|
|
@@ -21194,7 +21302,7 @@ export class RpcError extends Error {
|
|
|
21194
21302
|
/**
|
|
21195
21303
|
* Object contains info on events occurred.
|
|
21196
21304
|
*/
|
|
21197
|
-
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
21305
|
+
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
21198
21306
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
21199
21307
|
/**
|
|
21200
21308
|
* Object which is perceived by the client without a call on
|
|
@@ -22287,12 +22395,12 @@ export class RpcError extends Error {
|
|
|
22287
22395
|
/**
|
|
22288
22396
|
* An invoice
|
|
22289
22397
|
*/
|
|
22290
|
-
type TypeInputInvoice = tl.RawInputInvoiceMessage | tl.RawInputInvoiceSlug | tl.RawInputInvoicePremiumGiftCode
|
|
22398
|
+
type TypeInputInvoice = tl.RawInputInvoiceMessage | tl.RawInputInvoiceSlug | tl.RawInputInvoicePremiumGiftCode | tl.RawInputInvoiceStars
|
|
22291
22399
|
function isAnyInputInvoice(o: object): o is TypeInputInvoice
|
|
22292
22400
|
/**
|
|
22293
22401
|
* Info about a Telegram Premium purchase
|
|
22294
22402
|
*/
|
|
22295
|
-
type TypeInputStorePaymentPurpose = tl.RawInputStorePaymentPremiumSubscription | tl.RawInputStorePaymentGiftPremium | tl.RawInputStorePaymentPremiumGiftCode | tl.RawInputStorePaymentPremiumGiveaway
|
|
22403
|
+
type TypeInputStorePaymentPurpose = tl.RawInputStorePaymentPremiumSubscription | tl.RawInputStorePaymentGiftPremium | tl.RawInputStorePaymentPremiumGiftCode | tl.RawInputStorePaymentPremiumGiveaway | tl.RawInputStorePaymentStars
|
|
22296
22404
|
function isAnyInputStorePaymentPurpose(o: object): o is TypeInputStorePaymentPurpose
|
|
22297
22405
|
/**
|
|
22298
22406
|
* Telegram Premium gift option
|
|
@@ -22465,11 +22573,6 @@ export class RpcError extends Error {
|
|
|
22465
22573
|
*/
|
|
22466
22574
|
type TypeMessagePeerVote = tl.RawMessagePeerVote | tl.RawMessagePeerVoteInputOption | tl.RawMessagePeerVoteMultiple
|
|
22467
22575
|
function isAnyMessagePeerVote(o: object): o is TypeMessagePeerVote
|
|
22468
|
-
/**
|
|
22469
|
-
* Represents a sponsored website.
|
|
22470
|
-
*/
|
|
22471
|
-
type TypeSponsoredWebPage = tl.RawSponsoredWebPage
|
|
22472
|
-
function isAnySponsoredWebPage(o: object): o is TypeSponsoredWebPage
|
|
22473
22576
|
/**
|
|
22474
22577
|
* Aggregated view and reaction information of a
|
|
22475
22578
|
* <a href="https://corefork.telegram.org/api/stories">story</a>
|
|
@@ -22657,6 +22760,21 @@ export class RpcError extends Error {
|
|
|
22657
22760
|
function isAnyReactionsNotifySettings(o: object): o is TypeReactionsNotifySettings
|
|
22658
22761
|
type TypeBroadcastRevenueBalances = tl.RawBroadcastRevenueBalances
|
|
22659
22762
|
function isAnyBroadcastRevenueBalances(o: object): o is TypeBroadcastRevenueBalances
|
|
22763
|
+
type TypeAvailableEffect = tl.RawAvailableEffect
|
|
22764
|
+
function isAnyAvailableEffect(o: object): o is TypeAvailableEffect
|
|
22765
|
+
type TypeFactCheck = tl.RawFactCheck
|
|
22766
|
+
function isAnyFactCheck(o: object): o is TypeFactCheck
|
|
22767
|
+
type TypeStarsTransactionPeer = tl.RawStarsTransactionPeerUnsupported | tl.RawStarsTransactionPeerAppStore | tl.RawStarsTransactionPeerPlayMarket | tl.RawStarsTransactionPeerPremiumBot | tl.RawStarsTransactionPeerFragment | tl.RawStarsTransactionPeer
|
|
22768
|
+
function isAnyStarsTransactionPeer(o: object): o is TypeStarsTransactionPeer
|
|
22769
|
+
type TypeStarsTopupOption = tl.RawStarsTopupOption
|
|
22770
|
+
function isAnyStarsTopupOption(o: object): o is TypeStarsTopupOption
|
|
22771
|
+
type TypeStarsTransaction = tl.RawStarsTransaction
|
|
22772
|
+
function isAnyStarsTransaction(o: object): o is TypeStarsTransaction
|
|
22773
|
+
/**
|
|
22774
|
+
* Represents a sponsored website.
|
|
22775
|
+
*/
|
|
22776
|
+
type TypeSponsoredWebPage = tl.RawSponsoredWebPage
|
|
22777
|
+
function isAnySponsoredWebPage(o: object): o is TypeSponsoredWebPage
|
|
22660
22778
|
|
|
22661
22779
|
namespace help {
|
|
22662
22780
|
interface RawConfigSimple {
|
|
@@ -24037,6 +24155,7 @@ export class RpcError extends Error {
|
|
|
24037
24155
|
* documentation »</a>
|
|
24038
24156
|
*/
|
|
24039
24157
|
nonce?: Uint8Array;
|
|
24158
|
+
playIntegrityNonce?: Uint8Array;
|
|
24040
24159
|
/**
|
|
24041
24160
|
* On iOS, must be compared with the <code>receipt</code>
|
|
24042
24161
|
* extracted from the received push notification.
|
|
@@ -24055,6 +24174,14 @@ export class RpcError extends Error {
|
|
|
24055
24174
|
*/
|
|
24056
24175
|
length: number;
|
|
24057
24176
|
}
|
|
24177
|
+
interface RawSentCodeTypeSmsWord {
|
|
24178
|
+
_: 'auth.sentCodeTypeSmsWord';
|
|
24179
|
+
beginning?: string;
|
|
24180
|
+
}
|
|
24181
|
+
interface RawSentCodeTypeSmsPhrase {
|
|
24182
|
+
_: 'auth.sentCodeTypeSmsPhrase';
|
|
24183
|
+
beginning?: string;
|
|
24184
|
+
}
|
|
24058
24185
|
/**
|
|
24059
24186
|
* Login token (for
|
|
24060
24187
|
* <a href="https://corefork.telegram.org/api/qr-login">QR code
|
|
@@ -24107,14 +24234,6 @@ export class RpcError extends Error {
|
|
|
24107
24234
|
*/
|
|
24108
24235
|
futureAuthToken?: Uint8Array;
|
|
24109
24236
|
}
|
|
24110
|
-
interface RawSentCodeTypeSmsWord {
|
|
24111
|
-
_: 'auth.sentCodeTypeSmsWord';
|
|
24112
|
-
beginning?: string;
|
|
24113
|
-
}
|
|
24114
|
-
interface RawSentCodeTypeSmsPhrase {
|
|
24115
|
-
_: 'auth.sentCodeTypeSmsPhrase';
|
|
24116
|
-
beginning?: string;
|
|
24117
|
-
}
|
|
24118
24237
|
/**
|
|
24119
24238
|
* Send the verification code for login
|
|
24120
24239
|
*
|
|
@@ -24375,6 +24494,7 @@ export class RpcError extends Error {
|
|
|
24375
24494
|
* {@link auth.RawSendCodeRequest}
|
|
24376
24495
|
*/
|
|
24377
24496
|
phoneCodeHash: string;
|
|
24497
|
+
reason?: string;
|
|
24378
24498
|
}
|
|
24379
24499
|
/**
|
|
24380
24500
|
* Cancel the login verification code
|
|
@@ -24542,6 +24662,7 @@ export class RpcError extends Error {
|
|
|
24542
24662
|
* documentation »</a>
|
|
24543
24663
|
*/
|
|
24544
24664
|
safetyNetToken?: string;
|
|
24665
|
+
playIntegrityToken?: string;
|
|
24545
24666
|
/**
|
|
24546
24667
|
* Secret token received via an apple push notification
|
|
24547
24668
|
*/
|
|
@@ -26793,6 +26914,15 @@ export class RpcError extends Error {
|
|
|
26793
26914
|
updates: tl.TypeUpdates;
|
|
26794
26915
|
missingInvitees: tl.TypeMissingInvitee[];
|
|
26795
26916
|
}
|
|
26917
|
+
interface RawAvailableEffectsNotModified {
|
|
26918
|
+
_: 'messages.availableEffectsNotModified';
|
|
26919
|
+
}
|
|
26920
|
+
interface RawAvailableEffects {
|
|
26921
|
+
_: 'messages.availableEffects';
|
|
26922
|
+
hash: number;
|
|
26923
|
+
effects: tl.TypeAvailableEffect[];
|
|
26924
|
+
documents: tl.TypeDocument[];
|
|
26925
|
+
}
|
|
26796
26926
|
/**
|
|
26797
26927
|
* Returns the list of messages by their IDs.
|
|
26798
26928
|
*
|
|
@@ -27159,6 +27289,7 @@ export class RpcError extends Error {
|
|
|
27159
27289
|
*/
|
|
27160
27290
|
sendAs?: tl.TypeInputPeer;
|
|
27161
27291
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
27292
|
+
effect?: Long;
|
|
27162
27293
|
}
|
|
27163
27294
|
/**
|
|
27164
27295
|
* Send a media
|
|
@@ -27239,6 +27370,7 @@ export class RpcError extends Error {
|
|
|
27239
27370
|
*/
|
|
27240
27371
|
sendAs?: tl.TypeInputPeer;
|
|
27241
27372
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
27373
|
+
effect?: Long;
|
|
27242
27374
|
}
|
|
27243
27375
|
/**
|
|
27244
27376
|
* Forwards messages by their IDs.
|
|
@@ -28001,12 +28133,12 @@ export class RpcError extends Error {
|
|
|
28001
28133
|
*/
|
|
28002
28134
|
interface RawSearchGlobalRequest {
|
|
28003
28135
|
_: 'messages.searchGlobal';
|
|
28136
|
+
broadcastsOnly?: boolean;
|
|
28004
28137
|
/**
|
|
28005
28138
|
* <a href="https://corefork.telegram.org/api/folders#peer-folders">Peer
|
|
28006
28139
|
* folder ID, for more info click here</a>
|
|
28007
28140
|
*/
|
|
28008
28141
|
folderId?: number;
|
|
28009
|
-
broadcastsOnly?: boolean;
|
|
28010
28142
|
/**
|
|
28011
28143
|
* Query
|
|
28012
28144
|
*/
|
|
@@ -29105,6 +29237,7 @@ export class RpcError extends Error {
|
|
|
29105
29237
|
*/
|
|
29106
29238
|
sendAs?: tl.TypeInputPeer;
|
|
29107
29239
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
29240
|
+
effect?: Long;
|
|
29108
29241
|
}
|
|
29109
29242
|
/**
|
|
29110
29243
|
* Upload encrypted file and associate it to a secret chat
|
|
@@ -31641,6 +31774,38 @@ export class RpcError extends Error {
|
|
|
31641
31774
|
_: 'messages.getEmojiStickerGroups';
|
|
31642
31775
|
hash: number;
|
|
31643
31776
|
}
|
|
31777
|
+
/**
|
|
31778
|
+
* RPC method returns {@link tl.messages.TypeAvailableEffects}
|
|
31779
|
+
*/
|
|
31780
|
+
interface RawGetAvailableEffectsRequest {
|
|
31781
|
+
_: 'messages.getAvailableEffects';
|
|
31782
|
+
hash: number;
|
|
31783
|
+
}
|
|
31784
|
+
/**
|
|
31785
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
31786
|
+
*/
|
|
31787
|
+
interface RawEditFactCheckRequest {
|
|
31788
|
+
_: 'messages.editFactCheck';
|
|
31789
|
+
peer: tl.TypeInputPeer;
|
|
31790
|
+
msgId: number;
|
|
31791
|
+
text: tl.TypeTextWithEntities;
|
|
31792
|
+
}
|
|
31793
|
+
/**
|
|
31794
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
31795
|
+
*/
|
|
31796
|
+
interface RawDeleteFactCheckRequest {
|
|
31797
|
+
_: 'messages.deleteFactCheck';
|
|
31798
|
+
peer: tl.TypeInputPeer;
|
|
31799
|
+
msgId: number;
|
|
31800
|
+
}
|
|
31801
|
+
/**
|
|
31802
|
+
* RPC method returns {@link tl.TypeFactCheck} array
|
|
31803
|
+
*/
|
|
31804
|
+
interface RawGetFactCheckRequest {
|
|
31805
|
+
_: 'messages.getFactCheck';
|
|
31806
|
+
peer: tl.TypeInputPeer;
|
|
31807
|
+
msgId: number[];
|
|
31808
|
+
}
|
|
31644
31809
|
interface RpcCallReturn {
|
|
31645
31810
|
'messages.getMessages': tl.messages.TypeMessages
|
|
31646
31811
|
'messages.getDialogs': tl.messages.TypeDialogs
|
|
@@ -31851,6 +32016,10 @@ export class RpcError extends Error {
|
|
|
31851
32016
|
'messages.toggleDialogFilterTags': boolean
|
|
31852
32017
|
'messages.getMyStickers': tl.messages.TypeMyStickers
|
|
31853
32018
|
'messages.getEmojiStickerGroups': tl.messages.TypeEmojiGroups
|
|
32019
|
+
'messages.getAvailableEffects': tl.messages.TypeAvailableEffects
|
|
32020
|
+
'messages.editFactCheck': tl.TypeUpdates
|
|
32021
|
+
'messages.deleteFactCheck': tl.TypeUpdates
|
|
32022
|
+
'messages.getFactCheck': tl.TypeFactCheck[]
|
|
31854
32023
|
}
|
|
31855
32024
|
/**
|
|
31856
32025
|
* Object contains a list of chats with messages and auxiliary
|
|
@@ -32143,6 +32312,8 @@ export class RpcError extends Error {
|
|
|
32143
32312
|
function isAnyMyStickers(o: object): o is TypeMyStickers
|
|
32144
32313
|
type TypeInvitedUsers = tl.messages.RawInvitedUsers
|
|
32145
32314
|
function isAnyInvitedUsers(o: object): o is TypeInvitedUsers
|
|
32315
|
+
type TypeAvailableEffects = tl.messages.RawAvailableEffectsNotModified | tl.messages.RawAvailableEffects
|
|
32316
|
+
function isAnyAvailableEffects(o: object): o is TypeAvailableEffects
|
|
32146
32317
|
}
|
|
32147
32318
|
|
|
32148
32319
|
namespace updates {
|
|
@@ -36907,6 +37078,17 @@ export class RpcError extends Error {
|
|
|
36907
37078
|
channel: tl.TypeInputChannel;
|
|
36908
37079
|
restricted: boolean;
|
|
36909
37080
|
}
|
|
37081
|
+
/**
|
|
37082
|
+
* RPC method returns {@link tl.messages.TypeMessages}
|
|
37083
|
+
*/
|
|
37084
|
+
interface RawSearchPostsRequest {
|
|
37085
|
+
_: 'channels.searchPosts';
|
|
37086
|
+
hashtag: string;
|
|
37087
|
+
offsetRate: number;
|
|
37088
|
+
offsetPeer: tl.TypeInputPeer;
|
|
37089
|
+
offsetId: number;
|
|
37090
|
+
limit: number;
|
|
37091
|
+
}
|
|
36910
37092
|
interface RpcCallReturn {
|
|
36911
37093
|
'channels.readHistory': boolean
|
|
36912
37094
|
'channels.deleteMessages': tl.messages.TypeAffectedMessages
|
|
@@ -36972,6 +37154,7 @@ export class RpcError extends Error {
|
|
|
36972
37154
|
'channels.setEmojiStickers': boolean
|
|
36973
37155
|
'channels.reportSponsoredMessage': tl.channels.TypeSponsoredMessageReportResult
|
|
36974
37156
|
'channels.restrictSponsoredMessages': tl.TypeUpdates
|
|
37157
|
+
'channels.searchPosts': tl.messages.TypeMessages
|
|
36975
37158
|
}
|
|
36976
37159
|
/**
|
|
36977
37160
|
* Channel/supergroup participants
|
|
@@ -37099,6 +37282,16 @@ export class RpcError extends Error {
|
|
|
37099
37282
|
*/
|
|
37100
37283
|
users: tl.TypeUser[];
|
|
37101
37284
|
}
|
|
37285
|
+
interface RawPaymentFormStars {
|
|
37286
|
+
_: 'payments.paymentFormStars';
|
|
37287
|
+
formId: Long;
|
|
37288
|
+
botId: number;
|
|
37289
|
+
title: string;
|
|
37290
|
+
description: string;
|
|
37291
|
+
photo?: tl.TypeWebDocument;
|
|
37292
|
+
invoice: tl.TypeInvoice;
|
|
37293
|
+
users: tl.TypeUser[];
|
|
37294
|
+
}
|
|
37102
37295
|
/**
|
|
37103
37296
|
* Validated user-provided info
|
|
37104
37297
|
*/
|
|
@@ -37204,6 +37397,19 @@ export class RpcError extends Error {
|
|
|
37204
37397
|
*/
|
|
37205
37398
|
users: tl.TypeUser[];
|
|
37206
37399
|
}
|
|
37400
|
+
interface RawPaymentReceiptStars {
|
|
37401
|
+
_: 'payments.paymentReceiptStars';
|
|
37402
|
+
date: number;
|
|
37403
|
+
botId: number;
|
|
37404
|
+
title: string;
|
|
37405
|
+
description: string;
|
|
37406
|
+
photo?: tl.TypeWebDocument;
|
|
37407
|
+
invoice: tl.TypeInvoice;
|
|
37408
|
+
currency: string;
|
|
37409
|
+
totalAmount: Long;
|
|
37410
|
+
transactionId: string;
|
|
37411
|
+
users: tl.TypeUser[];
|
|
37412
|
+
}
|
|
37207
37413
|
/**
|
|
37208
37414
|
* Saved server-side order information
|
|
37209
37415
|
*/
|
|
@@ -37385,6 +37591,14 @@ export class RpcError extends Error {
|
|
|
37385
37591
|
*/
|
|
37386
37592
|
activatedCount: number;
|
|
37387
37593
|
}
|
|
37594
|
+
interface RawStarsStatus {
|
|
37595
|
+
_: 'payments.starsStatus';
|
|
37596
|
+
balance: Long;
|
|
37597
|
+
history: tl.TypeStarsTransaction[];
|
|
37598
|
+
nextOffset?: string;
|
|
37599
|
+
chats: tl.TypeChat[];
|
|
37600
|
+
users: tl.TypeUser[];
|
|
37601
|
+
}
|
|
37388
37602
|
/**
|
|
37389
37603
|
* Get a payment form
|
|
37390
37604
|
*
|
|
@@ -37673,6 +37887,45 @@ export class RpcError extends Error {
|
|
|
37673
37887
|
*/
|
|
37674
37888
|
purpose: tl.TypeInputStorePaymentPurpose;
|
|
37675
37889
|
}
|
|
37890
|
+
/**
|
|
37891
|
+
* RPC method returns {@link tl.TypeStarsTopupOption} array
|
|
37892
|
+
*/
|
|
37893
|
+
interface RawGetStarsTopupOptionsRequest {
|
|
37894
|
+
_: 'payments.getStarsTopupOptions';
|
|
37895
|
+
}
|
|
37896
|
+
/**
|
|
37897
|
+
* RPC method returns {@link tl.payments.TypeStarsStatus}
|
|
37898
|
+
*/
|
|
37899
|
+
interface RawGetStarsStatusRequest {
|
|
37900
|
+
_: 'payments.getStarsStatus';
|
|
37901
|
+
peer: tl.TypeInputPeer;
|
|
37902
|
+
}
|
|
37903
|
+
/**
|
|
37904
|
+
* RPC method returns {@link tl.payments.TypeStarsStatus}
|
|
37905
|
+
*/
|
|
37906
|
+
interface RawGetStarsTransactionsRequest {
|
|
37907
|
+
_: 'payments.getStarsTransactions';
|
|
37908
|
+
inbound?: boolean;
|
|
37909
|
+
outbound?: boolean;
|
|
37910
|
+
peer: tl.TypeInputPeer;
|
|
37911
|
+
offset: string;
|
|
37912
|
+
}
|
|
37913
|
+
/**
|
|
37914
|
+
* RPC method returns {@link tl.payments.TypePaymentResult}
|
|
37915
|
+
*/
|
|
37916
|
+
interface RawSendStarsFormRequest {
|
|
37917
|
+
_: 'payments.sendStarsForm';
|
|
37918
|
+
formId: Long;
|
|
37919
|
+
invoice: tl.TypeInputInvoice;
|
|
37920
|
+
}
|
|
37921
|
+
/**
|
|
37922
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
37923
|
+
*/
|
|
37924
|
+
interface RawRefundStarsChargeRequest {
|
|
37925
|
+
_: 'payments.refundStarsCharge';
|
|
37926
|
+
userId: tl.TypeInputUser;
|
|
37927
|
+
chargeId: string;
|
|
37928
|
+
}
|
|
37676
37929
|
interface RpcCallReturn {
|
|
37677
37930
|
'payments.getPaymentForm': tl.payments.TypePaymentForm
|
|
37678
37931
|
'payments.getPaymentReceipt': tl.payments.TypePaymentReceipt
|
|
@@ -37690,11 +37943,16 @@ export class RpcError extends Error {
|
|
|
37690
37943
|
'payments.applyGiftCode': tl.TypeUpdates
|
|
37691
37944
|
'payments.getGiveawayInfo': tl.payments.TypeGiveawayInfo
|
|
37692
37945
|
'payments.launchPrepaidGiveaway': tl.TypeUpdates
|
|
37946
|
+
'payments.getStarsTopupOptions': tl.TypeStarsTopupOption[]
|
|
37947
|
+
'payments.getStarsStatus': tl.payments.TypeStarsStatus
|
|
37948
|
+
'payments.getStarsTransactions': tl.payments.TypeStarsStatus
|
|
37949
|
+
'payments.sendStarsForm': tl.payments.TypePaymentResult
|
|
37950
|
+
'payments.refundStarsCharge': tl.TypeUpdates
|
|
37693
37951
|
}
|
|
37694
37952
|
/**
|
|
37695
37953
|
* Payment form
|
|
37696
37954
|
*/
|
|
37697
|
-
type TypePaymentForm = tl.payments.RawPaymentForm
|
|
37955
|
+
type TypePaymentForm = tl.payments.RawPaymentForm | tl.payments.RawPaymentFormStars
|
|
37698
37956
|
function isAnyPaymentForm(o: object): o is TypePaymentForm
|
|
37699
37957
|
/**
|
|
37700
37958
|
* Validated requested info
|
|
@@ -37709,7 +37967,7 @@ export class RpcError extends Error {
|
|
|
37709
37967
|
/**
|
|
37710
37968
|
* Payment receipt
|
|
37711
37969
|
*/
|
|
37712
|
-
type TypePaymentReceipt = tl.payments.RawPaymentReceipt
|
|
37970
|
+
type TypePaymentReceipt = tl.payments.RawPaymentReceipt | tl.payments.RawPaymentReceiptStars
|
|
37713
37971
|
function isAnyPaymentReceipt(o: object): o is TypePaymentReceipt
|
|
37714
37972
|
/**
|
|
37715
37973
|
* Saved payment info
|
|
@@ -37740,6 +37998,8 @@ export class RpcError extends Error {
|
|
|
37740
37998
|
*/
|
|
37741
37999
|
type TypeGiveawayInfo = tl.payments.RawGiveawayInfo | tl.payments.RawGiveawayInfoResults
|
|
37742
38000
|
function isAnyGiveawayInfo(o: object): o is TypeGiveawayInfo
|
|
38001
|
+
type TypeStarsStatus = tl.payments.RawStarsStatus
|
|
38002
|
+
function isAnyStarsStatus(o: object): o is TypeStarsStatus
|
|
37743
38003
|
}
|
|
37744
38004
|
|
|
37745
38005
|
namespace phone {
|
|
@@ -41452,7 +41712,7 @@ export class RpcError extends Error {
|
|
|
41452
41712
|
/**
|
|
41453
41713
|
* Object contains info on events occurred.
|
|
41454
41714
|
*/
|
|
41455
|
-
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
41715
|
+
type TypeUpdate = tl.RawUpdateNewMessage | tl.RawUpdateMessageID | tl.RawUpdateDeleteMessages | tl.RawUpdateUserTyping | tl.RawUpdateChatUserTyping | tl.RawUpdateChatParticipants | tl.RawUpdateUserStatus | tl.RawUpdateUserName | tl.RawUpdateNewAuthorization | tl.RawUpdateNewEncryptedMessage | tl.RawUpdateEncryptedChatTyping | tl.RawUpdateEncryption | tl.RawUpdateEncryptedMessagesRead | tl.RawUpdateChatParticipantAdd | tl.RawUpdateChatParticipantDelete | tl.RawUpdateDcOptions | tl.RawUpdateNotifySettings | tl.RawUpdateServiceNotification | tl.RawUpdatePrivacy | tl.RawUpdateUserPhone | tl.RawUpdateReadHistoryInbox | tl.RawUpdateReadHistoryOutbox | tl.RawUpdateWebPage | tl.RawUpdateReadMessagesContents | tl.RawUpdateChannelTooLong | tl.RawUpdateChannel | tl.RawUpdateNewChannelMessage | tl.RawUpdateReadChannelInbox | tl.RawUpdateDeleteChannelMessages | tl.RawUpdateChannelMessageViews | tl.RawUpdateChatParticipantAdmin | tl.RawUpdateNewStickerSet | tl.RawUpdateStickerSetsOrder | tl.RawUpdateStickerSets | tl.RawUpdateSavedGifs | tl.RawUpdateBotInlineQuery | tl.RawUpdateBotInlineSend | tl.RawUpdateEditChannelMessage | tl.RawUpdateBotCallbackQuery | tl.RawUpdateEditMessage | tl.RawUpdateInlineBotCallbackQuery | tl.RawUpdateReadChannelOutbox | tl.RawUpdateDraftMessage | tl.RawUpdateReadFeaturedStickers | tl.RawUpdateRecentStickers | tl.RawUpdateConfig | tl.RawUpdatePtsChanged | tl.RawUpdateChannelWebPage | tl.RawUpdateDialogPinned | tl.RawUpdatePinnedDialogs | tl.RawUpdateBotWebhookJSON | tl.RawUpdateBotWebhookJSONQuery | tl.RawUpdateBotShippingQuery | tl.RawUpdateBotPrecheckoutQuery | tl.RawUpdatePhoneCall | tl.RawUpdateLangPackTooLong | tl.RawUpdateLangPack | tl.RawUpdateFavedStickers | tl.RawUpdateChannelReadMessagesContents | tl.RawUpdateContactsReset | tl.RawUpdateChannelAvailableMessages | tl.RawUpdateDialogUnreadMark | tl.RawUpdateMessagePoll | tl.RawUpdateChatDefaultBannedRights | tl.RawUpdateFolderPeers | tl.RawUpdatePeerSettings | tl.RawUpdatePeerLocated | tl.RawUpdateNewScheduledMessage | tl.RawUpdateDeleteScheduledMessages | tl.RawUpdateTheme | tl.RawUpdateGeoLiveViewed | tl.RawUpdateLoginToken | tl.RawUpdateMessagePollVote | tl.RawUpdateDialogFilter | tl.RawUpdateDialogFilterOrder | tl.RawUpdateDialogFilters | tl.RawUpdatePhoneCallSignalingData | tl.RawUpdateChannelMessageForwards | tl.RawUpdateReadChannelDiscussionInbox | tl.RawUpdateReadChannelDiscussionOutbox | tl.RawUpdatePeerBlocked | tl.RawUpdateChannelUserTyping | tl.RawUpdatePinnedMessages | tl.RawUpdatePinnedChannelMessages | tl.RawUpdateChat | tl.RawUpdateGroupCallParticipants | tl.RawUpdateGroupCall | tl.RawUpdatePeerHistoryTTL | tl.RawUpdateChatParticipant | tl.RawUpdateChannelParticipant | tl.RawUpdateBotStopped | tl.RawUpdateGroupCallConnection | tl.RawUpdateBotCommands | tl.RawUpdatePendingJoinRequests | tl.RawUpdateBotChatInviteRequester | tl.RawUpdateMessageReactions | tl.RawUpdateAttachMenuBots | tl.RawUpdateWebViewResultSent | tl.RawUpdateBotMenuButton | tl.RawUpdateSavedRingtones | tl.RawUpdateTranscribedAudio | tl.RawUpdateReadFeaturedEmojiStickers | tl.RawUpdateUserEmojiStatus | tl.RawUpdateRecentEmojiStatuses | tl.RawUpdateRecentReactions | tl.RawUpdateMoveStickerSetToTop | tl.RawUpdateMessageExtendedMedia | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.RawUpdateUser | tl.RawUpdateAutoSaveSettings | tl.RawUpdateStory | tl.RawUpdateReadStories | tl.RawUpdateStoryID | tl.RawUpdateStoriesStealthMode | tl.RawUpdateSentStoryReaction | tl.RawUpdateBotChatBoost | tl.RawUpdateChannelViewForumAsMessages | tl.RawUpdatePeerWallpaper | tl.RawUpdateBotMessageReaction | tl.RawUpdateBotMessageReactions | tl.RawUpdateSavedDialogPinned | tl.RawUpdatePinnedSavedDialogs | tl.RawUpdateSavedReactionTags | tl.RawUpdateSmsJob | tl.RawUpdateQuickReplies | tl.RawUpdateNewQuickReply | tl.RawUpdateDeleteQuickReply | tl.RawUpdateQuickReplyMessage | tl.RawUpdateDeleteQuickReplyMessages | tl.RawUpdateBotBusinessConnect | tl.RawUpdateBotNewBusinessMessage | tl.RawUpdateBotEditBusinessMessage | tl.RawUpdateBotDeleteBusinessMessage | tl.RawUpdateNewStoryReaction | tl.RawUpdateBroadcastRevenueTransactions | tl.RawUpdateStarsBalance | tl.RawUpdateGroupInvitePrivacyForbidden | tl.mtcute.RawDummyUpdate
|
|
41456
41716
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
41457
41717
|
/**
|
|
41458
41718
|
* Peer
|
|
@@ -41603,6 +41863,8 @@ export class RpcError extends Error {
|
|
|
41603
41863
|
| tl.test.RawUseConfigSimpleRequest
|
|
41604
41864
|
| tl.test.RawParseInputAppEventRequest
|
|
41605
41865
|
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
41866
|
+
| tl.RawInvokeWithGooglePlayIntegrityPrefixRequest
|
|
41867
|
+
| tl.RawInvokeWithApnsSecretPrefixRequest
|
|
41606
41868
|
| tl.RawInvokeAfterMsgRequest
|
|
41607
41869
|
| tl.RawInvokeAfterMsgsRequest
|
|
41608
41870
|
| tl.RawInitConnectionRequest
|
|
@@ -41611,6 +41873,8 @@ export class RpcError extends Error {
|
|
|
41611
41873
|
| tl.RawInvokeWithMessagesRangeRequest
|
|
41612
41874
|
| tl.RawInvokeWithTakeoutRequest
|
|
41613
41875
|
| tl.RawInvokeWithBusinessConnectionRequest
|
|
41876
|
+
| tl.RawInvokeWithGooglePlayIntegrityRequest
|
|
41877
|
+
| tl.RawInvokeWithApnsSecretRequest
|
|
41614
41878
|
| tl.auth.RawSendCodeRequest
|
|
41615
41879
|
| tl.auth.RawSignUpRequest
|
|
41616
41880
|
| tl.auth.RawSignInRequest
|
|
@@ -41633,6 +41897,7 @@ export class RpcError extends Error {
|
|
|
41633
41897
|
| tl.auth.RawImportWebTokenAuthorizationRequest
|
|
41634
41898
|
| tl.auth.RawRequestFirebaseSmsRequest
|
|
41635
41899
|
| tl.auth.RawResetLoginEmailRequest
|
|
41900
|
+
| tl.auth.RawReportMissingCodeRequest
|
|
41636
41901
|
| tl.account.RawRegisterDeviceRequest
|
|
41637
41902
|
| tl.account.RawUnregisterDeviceRequest
|
|
41638
41903
|
| tl.account.RawUpdateNotifySettingsRequest
|
|
@@ -41742,6 +42007,9 @@ export class RpcError extends Error {
|
|
|
41742
42007
|
| tl.account.RawGetBusinessChatLinksRequest
|
|
41743
42008
|
| tl.account.RawResolveBusinessChatLinkRequest
|
|
41744
42009
|
| tl.account.RawUpdatePersonalChannelRequest
|
|
42010
|
+
| tl.account.RawToggleSponsoredMessagesRequest
|
|
42011
|
+
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
42012
|
+
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
41745
42013
|
| tl.users.RawGetUsersRequest
|
|
41746
42014
|
| tl.users.RawGetFullUserRequest
|
|
41747
42015
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -41980,6 +42248,11 @@ export class RpcError extends Error {
|
|
|
41980
42248
|
| tl.messages.RawDeleteQuickReplyMessagesRequest
|
|
41981
42249
|
| tl.messages.RawToggleDialogFilterTagsRequest
|
|
41982
42250
|
| tl.messages.RawGetMyStickersRequest
|
|
42251
|
+
| tl.messages.RawGetEmojiStickerGroupsRequest
|
|
42252
|
+
| tl.messages.RawGetAvailableEffectsRequest
|
|
42253
|
+
| tl.messages.RawEditFactCheckRequest
|
|
42254
|
+
| tl.messages.RawDeleteFactCheckRequest
|
|
42255
|
+
| tl.messages.RawGetFactCheckRequest
|
|
41983
42256
|
| tl.updates.RawGetStateRequest
|
|
41984
42257
|
| tl.updates.RawGetDifferenceRequest
|
|
41985
42258
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -42085,6 +42358,7 @@ export class RpcError extends Error {
|
|
|
42085
42358
|
| tl.channels.RawSetEmojiStickersRequest
|
|
42086
42359
|
| tl.channels.RawReportSponsoredMessageRequest
|
|
42087
42360
|
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
42361
|
+
| tl.channels.RawSearchPostsRequest
|
|
42088
42362
|
| tl.bots.RawSendCustomRequestRequest
|
|
42089
42363
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
42090
42364
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -42117,6 +42391,11 @@ export class RpcError extends Error {
|
|
|
42117
42391
|
| tl.payments.RawApplyGiftCodeRequest
|
|
42118
42392
|
| tl.payments.RawGetGiveawayInfoRequest
|
|
42119
42393
|
| tl.payments.RawLaunchPrepaidGiveawayRequest
|
|
42394
|
+
| tl.payments.RawGetStarsTopupOptionsRequest
|
|
42395
|
+
| tl.payments.RawGetStarsStatusRequest
|
|
42396
|
+
| tl.payments.RawGetStarsTransactionsRequest
|
|
42397
|
+
| tl.payments.RawSendStarsFormRequest
|
|
42398
|
+
| tl.payments.RawRefundStarsChargeRequest
|
|
42120
42399
|
| tl.stickers.RawCreateStickerSetRequest
|
|
42121
42400
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
42122
42401
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -42210,6 +42489,7 @@ export class RpcError extends Error {
|
|
|
42210
42489
|
| tl.stories.RawGetChatsToSendRequest
|
|
42211
42490
|
| tl.stories.RawTogglePeerStoriesHiddenRequest
|
|
42212
42491
|
| tl.stories.RawGetStoryReactionsListRequest
|
|
42492
|
+
| tl.stories.RawTogglePinnedToTopRequest
|
|
42213
42493
|
| tl.premium.RawGetBoostsListRequest
|
|
42214
42494
|
| tl.premium.RawGetMyBoostsRequest
|
|
42215
42495
|
| tl.premium.RawApplyBoostRequest
|
|
@@ -42223,12 +42503,6 @@ export class RpcError extends Error {
|
|
|
42223
42503
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
42224
42504
|
| tl.smsjobs.RawFinishJobRequest
|
|
42225
42505
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
42226
|
-
| tl.auth.RawReportMissingCodeRequest
|
|
42227
|
-
| tl.account.RawToggleSponsoredMessagesRequest
|
|
42228
|
-
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
42229
|
-
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
42230
|
-
| tl.messages.RawGetEmojiStickerGroupsRequest
|
|
42231
|
-
| tl.stories.RawTogglePinnedToTopRequest
|
|
42232
42506
|
|
|
42233
42507
|
type TlObject =
|
|
42234
42508
|
| tl.RawError
|
|
@@ -42593,6 +42867,9 @@ export class RpcError extends Error {
|
|
|
42593
42867
|
| tl.RawUpdateBotNewBusinessMessage
|
|
42594
42868
|
| tl.RawUpdateBotEditBusinessMessage
|
|
42595
42869
|
| tl.RawUpdateBotDeleteBusinessMessage
|
|
42870
|
+
| tl.RawUpdateNewStoryReaction
|
|
42871
|
+
| tl.RawUpdateBroadcastRevenueTransactions
|
|
42872
|
+
| tl.RawUpdateStarsBalance
|
|
42596
42873
|
| tl.updates.RawState
|
|
42597
42874
|
| tl.updates.RawDifferenceEmpty
|
|
42598
42875
|
| tl.updates.RawDifference
|
|
@@ -42864,6 +43141,8 @@ export class RpcError extends Error {
|
|
|
42864
43141
|
| tl.auth.RawSentCodeTypeSetUpEmailRequired
|
|
42865
43142
|
| tl.auth.RawSentCodeTypeFragmentSms
|
|
42866
43143
|
| tl.auth.RawSentCodeTypeFirebaseSms
|
|
43144
|
+
| tl.auth.RawSentCodeTypeSmsWord
|
|
43145
|
+
| tl.auth.RawSentCodeTypeSmsPhrase
|
|
42867
43146
|
| tl.messages.RawBotCallbackAnswer
|
|
42868
43147
|
| tl.messages.RawMessageEditData
|
|
42869
43148
|
| tl.RawInputBotInlineMessageID
|
|
@@ -42968,10 +43247,12 @@ export class RpcError extends Error {
|
|
|
42968
43247
|
| tl.RawInputWebFileAudioAlbumThumbLocation
|
|
42969
43248
|
| tl.upload.RawWebFile
|
|
42970
43249
|
| tl.payments.RawPaymentForm
|
|
43250
|
+
| tl.payments.RawPaymentFormStars
|
|
42971
43251
|
| tl.payments.RawValidatedRequestedInfo
|
|
42972
43252
|
| tl.payments.RawPaymentResult
|
|
42973
43253
|
| tl.payments.RawPaymentVerificationNeeded
|
|
42974
43254
|
| tl.payments.RawPaymentReceipt
|
|
43255
|
+
| tl.payments.RawPaymentReceiptStars
|
|
42975
43256
|
| tl.payments.RawSavedInfo
|
|
42976
43257
|
| tl.RawInputPaymentCredentialsSaved
|
|
42977
43258
|
| tl.RawInputPaymentCredentials
|
|
@@ -43201,6 +43482,7 @@ export class RpcError extends Error {
|
|
|
43201
43482
|
| tl.RawThemeSettings
|
|
43202
43483
|
| tl.RawWebPageAttributeTheme
|
|
43203
43484
|
| tl.RawWebPageAttributeStory
|
|
43485
|
+
| tl.RawWebPageAttributeStickerSet
|
|
43204
43486
|
| tl.messages.RawVotesList
|
|
43205
43487
|
| tl.RawBankCardOpenUrl
|
|
43206
43488
|
| tl.payments.RawBankCardData
|
|
@@ -43324,6 +43606,7 @@ export class RpcError extends Error {
|
|
|
43324
43606
|
| tl.RawInputInvoiceMessage
|
|
43325
43607
|
| tl.RawInputInvoiceSlug
|
|
43326
43608
|
| tl.RawInputInvoicePremiumGiftCode
|
|
43609
|
+
| tl.RawInputInvoiceStars
|
|
43327
43610
|
| tl.payments.RawExportedInvoice
|
|
43328
43611
|
| tl.messages.RawTranscribedAudio
|
|
43329
43612
|
| tl.help.RawPremiumPromo
|
|
@@ -43331,6 +43614,7 @@ export class RpcError extends Error {
|
|
|
43331
43614
|
| tl.RawInputStorePaymentGiftPremium
|
|
43332
43615
|
| tl.RawInputStorePaymentPremiumGiftCode
|
|
43333
43616
|
| tl.RawInputStorePaymentPremiumGiveaway
|
|
43617
|
+
| tl.RawInputStorePaymentStars
|
|
43334
43618
|
| tl.RawPremiumGiftOption
|
|
43335
43619
|
| tl.RawPaymentFormMethod
|
|
43336
43620
|
| tl.RawEmojiStatusEmpty
|
|
@@ -43371,6 +43655,8 @@ export class RpcError extends Error {
|
|
|
43371
43655
|
| tl.RawEmojiListNotModified
|
|
43372
43656
|
| tl.RawEmojiList
|
|
43373
43657
|
| tl.RawEmojiGroup
|
|
43658
|
+
| tl.RawEmojiGroupGreeting
|
|
43659
|
+
| tl.RawEmojiGroupPremium
|
|
43374
43660
|
| tl.messages.RawEmojiGroupsNotModified
|
|
43375
43661
|
| tl.messages.RawEmojiGroups
|
|
43376
43662
|
| tl.RawTextWithEntities
|
|
@@ -43399,7 +43685,6 @@ export class RpcError extends Error {
|
|
|
43399
43685
|
| tl.RawMessagePeerVote
|
|
43400
43686
|
| tl.RawMessagePeerVoteInputOption
|
|
43401
43687
|
| tl.RawMessagePeerVoteMultiple
|
|
43402
|
-
| tl.RawSponsoredWebPage
|
|
43403
43688
|
| tl.RawStoryViews
|
|
43404
43689
|
| tl.RawStoryItemDeleted
|
|
43405
43690
|
| tl.RawStoryItemSkipped
|
|
@@ -43518,23 +43803,33 @@ export class RpcError extends Error {
|
|
|
43518
43803
|
| tl.RawBroadcastRevenueTransactionWithdrawal
|
|
43519
43804
|
| tl.RawBroadcastRevenueTransactionRefund
|
|
43520
43805
|
| tl.stats.RawBroadcastRevenueTransactions
|
|
43521
|
-
| tl.RawUpdateNewStoryReaction
|
|
43522
|
-
| tl.auth.RawSentCodeTypeSmsWord
|
|
43523
|
-
| tl.auth.RawSentCodeTypeSmsPhrase
|
|
43524
|
-
| tl.RawWebPageAttributeStickerSet
|
|
43525
|
-
| tl.RawEmojiGroupGreeting
|
|
43526
|
-
| tl.RawEmojiGroupPremium
|
|
43527
43806
|
| tl.RawReactionNotificationsFromContacts
|
|
43528
43807
|
| tl.RawReactionNotificationsFromAll
|
|
43529
43808
|
| tl.RawReactionsNotifySettings
|
|
43530
43809
|
| tl.RawBroadcastRevenueBalances
|
|
43810
|
+
| tl.RawAvailableEffect
|
|
43811
|
+
| tl.messages.RawAvailableEffectsNotModified
|
|
43812
|
+
| tl.messages.RawAvailableEffects
|
|
43813
|
+
| tl.RawFactCheck
|
|
43814
|
+
| tl.RawStarsTransactionPeerUnsupported
|
|
43815
|
+
| tl.RawStarsTransactionPeerAppStore
|
|
43816
|
+
| tl.RawStarsTransactionPeerPlayMarket
|
|
43817
|
+
| tl.RawStarsTransactionPeerPremiumBot
|
|
43818
|
+
| tl.RawStarsTransactionPeerFragment
|
|
43819
|
+
| tl.RawStarsTransactionPeer
|
|
43820
|
+
| tl.RawStarsTopupOption
|
|
43821
|
+
| tl.RawStarsTransaction
|
|
43822
|
+
| tl.payments.RawStarsStatus
|
|
43531
43823
|
| tl.RawUpdateGroupInvitePrivacyForbidden
|
|
43824
|
+
| tl.RawSponsoredWebPage
|
|
43532
43825
|
| tl.mtcute.RawDummyUpdate
|
|
43533
43826
|
| tl.mtcute.RawDummyInputPeerMinUser
|
|
43534
43827
|
| tl.mtcute.RawDummyInputPeerMinChannel
|
|
43535
43828
|
| tl.test.RawUseConfigSimpleRequest
|
|
43536
43829
|
| tl.test.RawParseInputAppEventRequest
|
|
43537
43830
|
| tl.RawInvokeWithBusinessConnectionPrefixRequest
|
|
43831
|
+
| tl.RawInvokeWithGooglePlayIntegrityPrefixRequest
|
|
43832
|
+
| tl.RawInvokeWithApnsSecretPrefixRequest
|
|
43538
43833
|
| tl.RawInvokeAfterMsgRequest
|
|
43539
43834
|
| tl.RawInvokeAfterMsgsRequest
|
|
43540
43835
|
| tl.RawInitConnectionRequest
|
|
@@ -43543,6 +43838,8 @@ export class RpcError extends Error {
|
|
|
43543
43838
|
| tl.RawInvokeWithMessagesRangeRequest
|
|
43544
43839
|
| tl.RawInvokeWithTakeoutRequest
|
|
43545
43840
|
| tl.RawInvokeWithBusinessConnectionRequest
|
|
43841
|
+
| tl.RawInvokeWithGooglePlayIntegrityRequest
|
|
43842
|
+
| tl.RawInvokeWithApnsSecretRequest
|
|
43546
43843
|
| tl.auth.RawSendCodeRequest
|
|
43547
43844
|
| tl.auth.RawSignUpRequest
|
|
43548
43845
|
| tl.auth.RawSignInRequest
|
|
@@ -43565,6 +43862,7 @@ export class RpcError extends Error {
|
|
|
43565
43862
|
| tl.auth.RawImportWebTokenAuthorizationRequest
|
|
43566
43863
|
| tl.auth.RawRequestFirebaseSmsRequest
|
|
43567
43864
|
| tl.auth.RawResetLoginEmailRequest
|
|
43865
|
+
| tl.auth.RawReportMissingCodeRequest
|
|
43568
43866
|
| tl.account.RawRegisterDeviceRequest
|
|
43569
43867
|
| tl.account.RawUnregisterDeviceRequest
|
|
43570
43868
|
| tl.account.RawUpdateNotifySettingsRequest
|
|
@@ -43674,6 +43972,9 @@ export class RpcError extends Error {
|
|
|
43674
43972
|
| tl.account.RawGetBusinessChatLinksRequest
|
|
43675
43973
|
| tl.account.RawResolveBusinessChatLinkRequest
|
|
43676
43974
|
| tl.account.RawUpdatePersonalChannelRequest
|
|
43975
|
+
| tl.account.RawToggleSponsoredMessagesRequest
|
|
43976
|
+
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
43977
|
+
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
43677
43978
|
| tl.users.RawGetUsersRequest
|
|
43678
43979
|
| tl.users.RawGetFullUserRequest
|
|
43679
43980
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -43912,6 +44213,11 @@ export class RpcError extends Error {
|
|
|
43912
44213
|
| tl.messages.RawDeleteQuickReplyMessagesRequest
|
|
43913
44214
|
| tl.messages.RawToggleDialogFilterTagsRequest
|
|
43914
44215
|
| tl.messages.RawGetMyStickersRequest
|
|
44216
|
+
| tl.messages.RawGetEmojiStickerGroupsRequest
|
|
44217
|
+
| tl.messages.RawGetAvailableEffectsRequest
|
|
44218
|
+
| tl.messages.RawEditFactCheckRequest
|
|
44219
|
+
| tl.messages.RawDeleteFactCheckRequest
|
|
44220
|
+
| tl.messages.RawGetFactCheckRequest
|
|
43915
44221
|
| tl.updates.RawGetStateRequest
|
|
43916
44222
|
| tl.updates.RawGetDifferenceRequest
|
|
43917
44223
|
| tl.updates.RawGetChannelDifferenceRequest
|
|
@@ -44017,6 +44323,7 @@ export class RpcError extends Error {
|
|
|
44017
44323
|
| tl.channels.RawSetEmojiStickersRequest
|
|
44018
44324
|
| tl.channels.RawReportSponsoredMessageRequest
|
|
44019
44325
|
| tl.channels.RawRestrictSponsoredMessagesRequest
|
|
44326
|
+
| tl.channels.RawSearchPostsRequest
|
|
44020
44327
|
| tl.bots.RawSendCustomRequestRequest
|
|
44021
44328
|
| tl.bots.RawAnswerWebhookJSONQueryRequest
|
|
44022
44329
|
| tl.bots.RawSetBotCommandsRequest
|
|
@@ -44049,6 +44356,11 @@ export class RpcError extends Error {
|
|
|
44049
44356
|
| tl.payments.RawApplyGiftCodeRequest
|
|
44050
44357
|
| tl.payments.RawGetGiveawayInfoRequest
|
|
44051
44358
|
| tl.payments.RawLaunchPrepaidGiveawayRequest
|
|
44359
|
+
| tl.payments.RawGetStarsTopupOptionsRequest
|
|
44360
|
+
| tl.payments.RawGetStarsStatusRequest
|
|
44361
|
+
| tl.payments.RawGetStarsTransactionsRequest
|
|
44362
|
+
| tl.payments.RawSendStarsFormRequest
|
|
44363
|
+
| tl.payments.RawRefundStarsChargeRequest
|
|
44052
44364
|
| tl.stickers.RawCreateStickerSetRequest
|
|
44053
44365
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
44054
44366
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -44142,6 +44454,7 @@ export class RpcError extends Error {
|
|
|
44142
44454
|
| tl.stories.RawGetChatsToSendRequest
|
|
44143
44455
|
| tl.stories.RawTogglePeerStoriesHiddenRequest
|
|
44144
44456
|
| tl.stories.RawGetStoryReactionsListRequest
|
|
44457
|
+
| tl.stories.RawTogglePinnedToTopRequest
|
|
44145
44458
|
| tl.premium.RawGetBoostsListRequest
|
|
44146
44459
|
| tl.premium.RawGetMyBoostsRequest
|
|
44147
44460
|
| tl.premium.RawApplyBoostRequest
|
|
@@ -44155,12 +44468,6 @@ export class RpcError extends Error {
|
|
|
44155
44468
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
44156
44469
|
| tl.smsjobs.RawFinishJobRequest
|
|
44157
44470
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
44158
|
-
| tl.auth.RawReportMissingCodeRequest
|
|
44159
|
-
| tl.account.RawToggleSponsoredMessagesRequest
|
|
44160
|
-
| tl.account.RawGetReactionsNotifySettingsRequest
|
|
44161
|
-
| tl.account.RawSetReactionsNotifySettingsRequest
|
|
44162
|
-
| tl.messages.RawGetEmojiStickerGroupsRequest
|
|
44163
|
-
| tl.stories.RawTogglePinnedToTopRequest
|
|
44164
44471
|
}
|
|
44165
44472
|
|
|
44166
44473
|
|