@mtcute/tl 218.0.1 → 221.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 +42 -23
- package/binary/writer.js +75 -37
- package/compat/index.d.ts +227 -4
- package/compat/reader.js +6 -0
- package/index.d.ts +358 -75
- package/index.js +13 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _Long from 'long';
|
|
2
2
|
export declare namespace tl {
|
|
3
|
-
const LAYER =
|
|
3
|
+
const LAYER = 221;
|
|
4
4
|
|
|
5
5
|
function $extendTypes(types: Record<string, string>): void
|
|
6
6
|
|
|
@@ -3654,6 +3654,7 @@ export class RpcError extends Error {
|
|
|
3654
3654
|
*/
|
|
3655
3655
|
suggestedPost?: tl.TypeSuggestedPost;
|
|
3656
3656
|
scheduleRepeatPeriod?: number;
|
|
3657
|
+
summaryFromLanguage?: string;
|
|
3657
3658
|
}
|
|
3658
3659
|
/**
|
|
3659
3660
|
* Indicates a service message
|
|
@@ -3735,6 +3736,7 @@ export class RpcError extends Error {
|
|
|
3735
3736
|
* well.
|
|
3736
3737
|
*/
|
|
3737
3738
|
ttlPeriod?: number;
|
|
3739
|
+
legacyIos?: boolean;
|
|
3738
3740
|
}
|
|
3739
3741
|
/**
|
|
3740
3742
|
* Empty constructor.
|
|
@@ -4052,6 +4054,7 @@ export class RpcError extends Error {
|
|
|
4052
4054
|
* height="20" alt="🎯"> are supported
|
|
4053
4055
|
*/
|
|
4054
4056
|
emoticon: string;
|
|
4057
|
+
gameOutcome?: tl.messages.TypeEmojiGameOutcome;
|
|
4055
4058
|
}
|
|
4056
4059
|
/**
|
|
4057
4060
|
* Represents a forwarded
|
|
@@ -4248,6 +4251,11 @@ export class RpcError extends Error {
|
|
|
4248
4251
|
*/
|
|
4249
4252
|
completions?: tl.TypeTodoCompletion[];
|
|
4250
4253
|
}
|
|
4254
|
+
interface RawMessageMediaVideoStream {
|
|
4255
|
+
_: 'messageMediaVideoStream';
|
|
4256
|
+
rtmpStream?: boolean;
|
|
4257
|
+
call: tl.TypeInputGroupCall;
|
|
4258
|
+
}
|
|
4251
4259
|
/**
|
|
4252
4260
|
* Empty constructor.
|
|
4253
4261
|
*/
|
|
@@ -5268,6 +5276,7 @@ export class RpcError extends Error {
|
|
|
5268
5276
|
*/
|
|
5269
5277
|
giftMsgId?: number;
|
|
5270
5278
|
toId?: tl.TypePeer;
|
|
5279
|
+
giftNum?: number;
|
|
5271
5280
|
}
|
|
5272
5281
|
/**
|
|
5273
5282
|
* A <a href="https://core.telegram.org/api/gifts">gift »</a>
|
|
@@ -5311,6 +5320,7 @@ export class RpcError extends Error {
|
|
|
5311
5320
|
*/
|
|
5312
5321
|
prepaidUpgrade?: boolean;
|
|
5313
5322
|
assigned?: boolean;
|
|
5323
|
+
fromOffer?: boolean;
|
|
5314
5324
|
/**
|
|
5315
5325
|
* The collectible gift.
|
|
5316
5326
|
*/
|
|
@@ -5574,6 +5584,20 @@ export class RpcError extends Error {
|
|
|
5574
5584
|
_: 'messageActionSuggestBirthday';
|
|
5575
5585
|
birthday: tl.TypeBirthday;
|
|
5576
5586
|
}
|
|
5587
|
+
interface RawMessageActionStarGiftPurchaseOffer {
|
|
5588
|
+
_: 'messageActionStarGiftPurchaseOffer';
|
|
5589
|
+
accepted?: boolean;
|
|
5590
|
+
declined?: boolean;
|
|
5591
|
+
gift: tl.TypeStarGift;
|
|
5592
|
+
price: tl.TypeStarsAmount;
|
|
5593
|
+
expiresAt: number;
|
|
5594
|
+
}
|
|
5595
|
+
interface RawMessageActionStarGiftPurchaseOfferDeclined {
|
|
5596
|
+
_: 'messageActionStarGiftPurchaseOfferDeclined';
|
|
5597
|
+
expired?: boolean;
|
|
5598
|
+
gift: tl.TypeStarGift;
|
|
5599
|
+
price: tl.TypeStarsAmount;
|
|
5600
|
+
}
|
|
5577
5601
|
/**
|
|
5578
5602
|
* Chat
|
|
5579
5603
|
*/
|
|
@@ -9640,6 +9664,21 @@ export class RpcError extends Error {
|
|
|
9640
9664
|
peer: tl.TypePeer;
|
|
9641
9665
|
order?: number[];
|
|
9642
9666
|
}
|
|
9667
|
+
interface RawUpdateDeleteGroupCallMessages {
|
|
9668
|
+
_: 'updateDeleteGroupCallMessages';
|
|
9669
|
+
call: tl.TypeInputGroupCall;
|
|
9670
|
+
messages: number[];
|
|
9671
|
+
}
|
|
9672
|
+
interface RawUpdateStarGiftAuctionState {
|
|
9673
|
+
_: 'updateStarGiftAuctionState';
|
|
9674
|
+
giftId: Long;
|
|
9675
|
+
state: tl.TypeStarGiftAuctionState;
|
|
9676
|
+
}
|
|
9677
|
+
interface RawUpdateStarGiftAuctionUserState {
|
|
9678
|
+
_: 'updateStarGiftAuctionUserState';
|
|
9679
|
+
giftId: Long;
|
|
9680
|
+
userState: tl.TypeStarGiftAuctionUserState;
|
|
9681
|
+
}
|
|
9643
9682
|
/**
|
|
9644
9683
|
* Too many updates, it is necessary to execute
|
|
9645
9684
|
* {@link updates.RawGetDifferenceRequest}.
|
|
@@ -10916,6 +10955,9 @@ export class RpcError extends Error {
|
|
|
10916
10955
|
interface RawInputPrivacyKeyNoPaidMessages {
|
|
10917
10956
|
_: 'inputPrivacyKeyNoPaidMessages';
|
|
10918
10957
|
}
|
|
10958
|
+
interface RawInputPrivacyKeySavedMusic {
|
|
10959
|
+
_: 'inputPrivacyKeySavedMusic';
|
|
10960
|
+
}
|
|
10919
10961
|
/**
|
|
10920
10962
|
* Whether we can see the last online timestamp of this user.
|
|
10921
10963
|
*
|
|
@@ -11017,6 +11059,9 @@ export class RpcError extends Error {
|
|
|
11017
11059
|
interface RawPrivacyKeyNoPaidMessages {
|
|
11018
11060
|
_: 'privacyKeyNoPaidMessages';
|
|
11019
11061
|
}
|
|
11062
|
+
interface RawPrivacyKeySavedMusic {
|
|
11063
|
+
_: 'privacyKeySavedMusic';
|
|
11064
|
+
}
|
|
11020
11065
|
/**
|
|
11021
11066
|
* Allow only contacts
|
|
11022
11067
|
*/
|
|
@@ -19543,6 +19588,11 @@ export class RpcError extends Error {
|
|
|
19543
19588
|
*/
|
|
19544
19589
|
icons: tl.TypeDocument[];
|
|
19545
19590
|
}
|
|
19591
|
+
interface RawWebPageAttributeStarGiftAuction {
|
|
19592
|
+
_: 'webPageAttributeStarGiftAuction';
|
|
19593
|
+
gift: tl.TypeStarGift;
|
|
19594
|
+
endDate: number;
|
|
19595
|
+
}
|
|
19546
19596
|
/**
|
|
19547
19597
|
* Credit card info URL provided by the bank
|
|
19548
19598
|
*/
|
|
@@ -21609,6 +21659,15 @@ export class RpcError extends Error {
|
|
|
21609
21659
|
_: 'inputInvoiceStarGiftDropOriginalDetails';
|
|
21610
21660
|
stargift: tl.TypeInputSavedStarGift;
|
|
21611
21661
|
}
|
|
21662
|
+
interface RawInputInvoiceStarGiftAuctionBid {
|
|
21663
|
+
_: 'inputInvoiceStarGiftAuctionBid';
|
|
21664
|
+
hideName?: boolean;
|
|
21665
|
+
updateBid?: boolean;
|
|
21666
|
+
peer?: tl.TypeInputPeer;
|
|
21667
|
+
giftId: Long;
|
|
21668
|
+
bidAmount: Long;
|
|
21669
|
+
message?: tl.TypeTextWithEntities;
|
|
21670
|
+
}
|
|
21612
21671
|
/**
|
|
21613
21672
|
* Info about a Telegram Premium purchase
|
|
21614
21673
|
*/
|
|
@@ -25254,6 +25313,9 @@ export class RpcError extends Error {
|
|
|
25254
25313
|
*/
|
|
25255
25314
|
stargiftPrepaidUpgrade?: boolean;
|
|
25256
25315
|
stargiftDropOriginalDetails?: boolean;
|
|
25316
|
+
phonegroupMessage?: boolean;
|
|
25317
|
+
stargiftAuctionBid?: boolean;
|
|
25318
|
+
offer?: boolean;
|
|
25257
25319
|
/**
|
|
25258
25320
|
* Transaction ID.
|
|
25259
25321
|
*/
|
|
@@ -25401,8 +25463,6 @@ export class RpcError extends Error {
|
|
|
25401
25463
|
* specified unixtime.
|
|
25402
25464
|
*/
|
|
25403
25465
|
adsProceedsToDate?: number;
|
|
25404
|
-
phonegroupMessage?: boolean;
|
|
25405
|
-
stargiftAuctionBid?: boolean;
|
|
25406
25466
|
}
|
|
25407
25467
|
/**
|
|
25408
25468
|
* A story found using
|
|
@@ -25865,6 +25925,9 @@ export class RpcError extends Error {
|
|
|
25865
25925
|
lockedUntilDate?: number;
|
|
25866
25926
|
auctionSlug?: string;
|
|
25867
25927
|
giftsPerRound?: number;
|
|
25928
|
+
auctionStartDate?: number;
|
|
25929
|
+
upgradeVariants?: number;
|
|
25930
|
+
background?: tl.TypeStarGiftBackground;
|
|
25868
25931
|
}
|
|
25869
25932
|
/**
|
|
25870
25933
|
* Represents a
|
|
@@ -25977,6 +26040,7 @@ export class RpcError extends Error {
|
|
|
25977
26040
|
* Currency for the gift's price.
|
|
25978
26041
|
*/
|
|
25979
26042
|
valueCurrency?: string;
|
|
26043
|
+
valueUsdAmount?: Long;
|
|
25980
26044
|
/**
|
|
25981
26045
|
* The current chat where the associated
|
|
25982
26046
|
* <a href="https://core.telegram.org/api/themes#chat-themes">chat
|
|
@@ -25986,6 +26050,7 @@ export class RpcError extends Error {
|
|
|
25986
26050
|
themePeer?: tl.TypePeer;
|
|
25987
26051
|
peerColor?: tl.TypePeerColor;
|
|
25988
26052
|
hostId?: tl.TypePeer;
|
|
26053
|
+
offerMinStars?: number;
|
|
25989
26054
|
}
|
|
25990
26055
|
/**
|
|
25991
26056
|
* Report menu option
|
|
@@ -26482,6 +26547,7 @@ export class RpcError extends Error {
|
|
|
26482
26547
|
*/
|
|
26483
26548
|
prepaidUpgradeHash?: string;
|
|
26484
26549
|
dropOriginalDetailsStars?: Long;
|
|
26550
|
+
giftNum?: number;
|
|
26485
26551
|
}
|
|
26486
26552
|
/**
|
|
26487
26553
|
* A gift received in a private chat with another user.
|
|
@@ -27087,49 +27153,6 @@ export class RpcError extends Error {
|
|
|
27087
27153
|
date: number;
|
|
27088
27154
|
upgradeStars: Long;
|
|
27089
27155
|
}
|
|
27090
|
-
interface RawMessageMediaVideoStream {
|
|
27091
|
-
_: 'messageMediaVideoStream';
|
|
27092
|
-
rtmpStream?: boolean;
|
|
27093
|
-
call: tl.TypeInputGroupCall;
|
|
27094
|
-
}
|
|
27095
|
-
interface RawUpdateDeleteGroupCallMessages {
|
|
27096
|
-
_: 'updateDeleteGroupCallMessages';
|
|
27097
|
-
call: tl.TypeInputGroupCall;
|
|
27098
|
-
messages: number[];
|
|
27099
|
-
}
|
|
27100
|
-
interface RawUpdateStarGiftAuctionState {
|
|
27101
|
-
_: 'updateStarGiftAuctionState';
|
|
27102
|
-
giftId: Long;
|
|
27103
|
-
state: tl.TypeStarGiftAuctionState;
|
|
27104
|
-
}
|
|
27105
|
-
interface RawUpdateStarGiftAuctionUserState {
|
|
27106
|
-
_: 'updateStarGiftAuctionUserState';
|
|
27107
|
-
giftId: Long;
|
|
27108
|
-
userState: tl.TypeStarGiftAuctionUserState;
|
|
27109
|
-
}
|
|
27110
|
-
interface RawInputPrivacyKeySavedMusic {
|
|
27111
|
-
_: 'inputPrivacyKeySavedMusic';
|
|
27112
|
-
}
|
|
27113
|
-
interface RawPrivacyKeySavedMusic {
|
|
27114
|
-
_: 'privacyKeySavedMusic';
|
|
27115
|
-
}
|
|
27116
|
-
interface RawWebPageAttributeStarGiftAuction {
|
|
27117
|
-
_: 'webPageAttributeStarGiftAuction';
|
|
27118
|
-
gift: tl.TypeStarGift;
|
|
27119
|
-
endDate: number;
|
|
27120
|
-
centerColor: number;
|
|
27121
|
-
edgeColor: number;
|
|
27122
|
-
textColor: number;
|
|
27123
|
-
}
|
|
27124
|
-
interface RawInputInvoiceStarGiftAuctionBid {
|
|
27125
|
-
_: 'inputInvoiceStarGiftAuctionBid';
|
|
27126
|
-
hideName?: boolean;
|
|
27127
|
-
updateBid?: boolean;
|
|
27128
|
-
peer?: tl.TypeInputPeer;
|
|
27129
|
-
giftId: Long;
|
|
27130
|
-
bidAmount: Long;
|
|
27131
|
-
message?: tl.TypeTextWithEntities;
|
|
27132
|
-
}
|
|
27133
27156
|
interface RawGroupCallMessage {
|
|
27134
27157
|
_: 'groupCallMessage';
|
|
27135
27158
|
fromAdmin?: boolean;
|
|
@@ -27143,7 +27166,6 @@ export class RpcError extends Error {
|
|
|
27143
27166
|
_: 'groupCallDonor';
|
|
27144
27167
|
top?: boolean;
|
|
27145
27168
|
my?: boolean;
|
|
27146
|
-
anonymous?: boolean;
|
|
27147
27169
|
peerId?: tl.TypePeer;
|
|
27148
27170
|
stars: Long;
|
|
27149
27171
|
}
|
|
@@ -27170,15 +27192,20 @@ export class RpcError extends Error {
|
|
|
27170
27192
|
bidLevels: tl.TypeAuctionBidLevel[];
|
|
27171
27193
|
topBidders: Long[];
|
|
27172
27194
|
nextRoundAt: number;
|
|
27195
|
+
lastGiftNum: number;
|
|
27173
27196
|
giftsLeft: number;
|
|
27174
27197
|
currentRound: number;
|
|
27175
27198
|
totalRounds: number;
|
|
27199
|
+
rounds: tl.TypeStarGiftAuctionRound[];
|
|
27176
27200
|
}
|
|
27177
27201
|
interface RawStarGiftAuctionStateFinished {
|
|
27178
27202
|
_: 'starGiftAuctionStateFinished';
|
|
27179
27203
|
startDate: number;
|
|
27180
27204
|
endDate: number;
|
|
27181
27205
|
averagePrice: Long;
|
|
27206
|
+
listedCount?: number;
|
|
27207
|
+
fragmentListedCount?: number;
|
|
27208
|
+
fragmentListedUrl?: string;
|
|
27182
27209
|
}
|
|
27183
27210
|
interface RawStarGiftAuctionUserState {
|
|
27184
27211
|
_: 'starGiftAuctionUserState';
|
|
@@ -27198,6 +27225,7 @@ export class RpcError extends Error {
|
|
|
27198
27225
|
round: number;
|
|
27199
27226
|
pos: number;
|
|
27200
27227
|
message?: tl.TypeTextWithEntities;
|
|
27228
|
+
giftNum?: number;
|
|
27201
27229
|
}
|
|
27202
27230
|
interface RawStarGiftActiveAuctionState {
|
|
27203
27231
|
_: 'starGiftActiveAuctionState';
|
|
@@ -27213,6 +27241,64 @@ export class RpcError extends Error {
|
|
|
27213
27241
|
_: 'inputStarGiftAuctionSlug';
|
|
27214
27242
|
slug: string;
|
|
27215
27243
|
}
|
|
27244
|
+
interface RawPasskey {
|
|
27245
|
+
_: 'passkey';
|
|
27246
|
+
id: string;
|
|
27247
|
+
name: string;
|
|
27248
|
+
date: number;
|
|
27249
|
+
softwareEmojiId?: Long;
|
|
27250
|
+
lastUsageDate?: number;
|
|
27251
|
+
}
|
|
27252
|
+
interface RawInputPasskeyResponseRegister {
|
|
27253
|
+
_: 'inputPasskeyResponseRegister';
|
|
27254
|
+
clientData: tl.TypeDataJSON;
|
|
27255
|
+
attestationData: Uint8Array;
|
|
27256
|
+
}
|
|
27257
|
+
interface RawInputPasskeyResponseLogin {
|
|
27258
|
+
_: 'inputPasskeyResponseLogin';
|
|
27259
|
+
clientData: tl.TypeDataJSON;
|
|
27260
|
+
authenticatorData: Uint8Array;
|
|
27261
|
+
signature: Uint8Array;
|
|
27262
|
+
userHandle: string;
|
|
27263
|
+
}
|
|
27264
|
+
interface RawInputPasskeyCredentialPublicKey {
|
|
27265
|
+
_: 'inputPasskeyCredentialPublicKey';
|
|
27266
|
+
id: string;
|
|
27267
|
+
rawId: string;
|
|
27268
|
+
response: tl.TypeInputPasskeyResponse;
|
|
27269
|
+
}
|
|
27270
|
+
interface RawStarGiftBackground {
|
|
27271
|
+
_: 'starGiftBackground';
|
|
27272
|
+
centerColor: number;
|
|
27273
|
+
edgeColor: number;
|
|
27274
|
+
textColor: number;
|
|
27275
|
+
}
|
|
27276
|
+
interface RawStarGiftAuctionRound {
|
|
27277
|
+
_: 'starGiftAuctionRound';
|
|
27278
|
+
num: number;
|
|
27279
|
+
duration: number;
|
|
27280
|
+
}
|
|
27281
|
+
interface RawStarGiftAuctionRoundExtendable {
|
|
27282
|
+
_: 'starGiftAuctionRoundExtendable';
|
|
27283
|
+
num: number;
|
|
27284
|
+
duration: number;
|
|
27285
|
+
extendTop: number;
|
|
27286
|
+
extendWindow: number;
|
|
27287
|
+
}
|
|
27288
|
+
interface RawInputMediaStakeDice {
|
|
27289
|
+
_: 'inputMediaStakeDice';
|
|
27290
|
+
gameHash: string;
|
|
27291
|
+
tonAmount: Long;
|
|
27292
|
+
clientSeed: Uint8Array;
|
|
27293
|
+
}
|
|
27294
|
+
interface RawUpdateEmojiGameInfo {
|
|
27295
|
+
_: 'updateEmojiGameInfo';
|
|
27296
|
+
info: tl.messages.TypeEmojiGameInfo;
|
|
27297
|
+
}
|
|
27298
|
+
interface RawInputPasskeyCredentialFirebasePNV {
|
|
27299
|
+
_: 'inputPasskeyCredentialFirebasePNV';
|
|
27300
|
+
pnvToken: string;
|
|
27301
|
+
}
|
|
27216
27302
|
/**
|
|
27217
27303
|
* A
|
|
27218
27304
|
* <a href="https://core.telegram.org/api/forum#forum-topics">forum
|
|
@@ -27519,7 +27605,7 @@ export class RpcError extends Error {
|
|
|
27519
27605
|
/**
|
|
27520
27606
|
* Defines media content of a message.
|
|
27521
27607
|
*/
|
|
27522
|
-
type TypeInputMedia = tl.RawInputMediaEmpty | tl.RawInputMediaUploadedPhoto | tl.RawInputMediaPhoto | tl.RawInputMediaGeoPoint | tl.RawInputMediaContact | tl.RawInputMediaUploadedDocument | tl.RawInputMediaDocument | tl.RawInputMediaVenue | tl.RawInputMediaPhotoExternal | tl.RawInputMediaDocumentExternal | tl.RawInputMediaGame | tl.RawInputMediaInvoice | tl.RawInputMediaGeoLive | tl.RawInputMediaPoll | tl.RawInputMediaDice | tl.RawInputMediaStory | tl.RawInputMediaWebPage | tl.RawInputMediaPaidMedia | tl.RawInputMediaTodo
|
|
27608
|
+
type TypeInputMedia = tl.RawInputMediaEmpty | tl.RawInputMediaUploadedPhoto | tl.RawInputMediaPhoto | tl.RawInputMediaGeoPoint | tl.RawInputMediaContact | tl.RawInputMediaUploadedDocument | tl.RawInputMediaDocument | tl.RawInputMediaVenue | tl.RawInputMediaPhotoExternal | tl.RawInputMediaDocumentExternal | tl.RawInputMediaGame | tl.RawInputMediaInvoice | tl.RawInputMediaGeoLive | tl.RawInputMediaPoll | tl.RawInputMediaDice | tl.RawInputMediaStory | tl.RawInputMediaWebPage | tl.RawInputMediaPaidMedia | tl.RawInputMediaTodo | tl.RawInputMediaStakeDice
|
|
27523
27609
|
function isAnyInputMedia(o: object): o is TypeInputMedia
|
|
27524
27610
|
/**
|
|
27525
27611
|
* Defines a new group profile photo.
|
|
@@ -27602,7 +27688,7 @@ export class RpcError extends Error {
|
|
|
27602
27688
|
/**
|
|
27603
27689
|
* Object describing actions connected to a service message.
|
|
27604
27690
|
*/
|
|
27605
|
-
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply | tl.RawMessageActionRequestedPeerSentMe | tl.RawMessageActionPaymentRefunded | tl.RawMessageActionGiftStars | tl.RawMessageActionPrizeStars | tl.RawMessageActionStarGift | tl.RawMessageActionStarGiftUnique | tl.RawMessageActionPaidMessagesRefunded | tl.RawMessageActionPaidMessagesPrice | tl.RawMessageActionConferenceCall | tl.RawMessageActionTodoCompletions | tl.RawMessageActionTodoAppendTasks | tl.RawMessageActionSuggestedPostApproval | tl.RawMessageActionSuggestedPostSuccess | tl.RawMessageActionSuggestedPostRefund | tl.RawMessageActionGiftTon | tl.RawMessageActionSuggestBirthday
|
|
27691
|
+
type TypeMessageAction = tl.RawMessageActionEmpty | tl.RawMessageActionChatCreate | tl.RawMessageActionChatEditTitle | tl.RawMessageActionChatEditPhoto | tl.RawMessageActionChatDeletePhoto | tl.RawMessageActionChatAddUser | tl.RawMessageActionChatDeleteUser | tl.RawMessageActionChatJoinedByLink | tl.RawMessageActionChannelCreate | tl.RawMessageActionChatMigrateTo | tl.RawMessageActionChannelMigrateFrom | tl.RawMessageActionPinMessage | tl.RawMessageActionHistoryClear | tl.RawMessageActionGameScore | tl.RawMessageActionPaymentSentMe | tl.RawMessageActionPaymentSent | tl.RawMessageActionPhoneCall | tl.RawMessageActionScreenshotTaken | tl.RawMessageActionCustomAction | tl.RawMessageActionBotAllowed | tl.RawMessageActionSecureValuesSentMe | tl.RawMessageActionSecureValuesSent | tl.RawMessageActionContactSignUp | tl.RawMessageActionGeoProximityReached | tl.RawMessageActionGroupCall | tl.RawMessageActionInviteToGroupCall | tl.RawMessageActionSetMessagesTTL | tl.RawMessageActionGroupCallScheduled | tl.RawMessageActionSetChatTheme | tl.RawMessageActionChatJoinedByRequest | tl.RawMessageActionWebViewDataSentMe | tl.RawMessageActionWebViewDataSent | tl.RawMessageActionGiftPremium | tl.RawMessageActionTopicCreate | tl.RawMessageActionTopicEdit | tl.RawMessageActionSuggestProfilePhoto | tl.RawMessageActionRequestedPeer | tl.RawMessageActionSetChatWallPaper | tl.RawMessageActionGiftCode | tl.RawMessageActionGiveawayLaunch | tl.RawMessageActionGiveawayResults | tl.RawMessageActionBoostApply | tl.RawMessageActionRequestedPeerSentMe | tl.RawMessageActionPaymentRefunded | tl.RawMessageActionGiftStars | tl.RawMessageActionPrizeStars | tl.RawMessageActionStarGift | tl.RawMessageActionStarGiftUnique | tl.RawMessageActionPaidMessagesRefunded | tl.RawMessageActionPaidMessagesPrice | tl.RawMessageActionConferenceCall | tl.RawMessageActionTodoCompletions | tl.RawMessageActionTodoAppendTasks | tl.RawMessageActionSuggestedPostApproval | tl.RawMessageActionSuggestedPostSuccess | tl.RawMessageActionSuggestedPostRefund | tl.RawMessageActionGiftTon | tl.RawMessageActionSuggestBirthday | tl.RawMessageActionStarGiftPurchaseOffer | tl.RawMessageActionStarGiftPurchaseOfferDeclined
|
|
27606
27692
|
function isAnyMessageAction(o: object): o is TypeMessageAction
|
|
27607
27693
|
/**
|
|
27608
27694
|
* Chat info.
|
|
@@ -27685,7 +27771,7 @@ export class RpcError extends Error {
|
|
|
27685
27771
|
/**
|
|
27686
27772
|
* Object contains info on events occurred.
|
|
27687
27773
|
*/
|
|
27688
|
-
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.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.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.RawUpdateGroupCallMessage | tl.RawUpdateGroupCallEncryptedMessage | tl.RawUpdatePinnedForumTopic | tl.RawUpdatePinnedForumTopics | tl.RawUpdateDeleteGroupCallMessages | tl.RawUpdateStarGiftAuctionState | tl.RawUpdateStarGiftAuctionUserState | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.mtcute.RawDummyUpdate
|
|
27774
|
+
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.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.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.RawUpdateGroupCallMessage | tl.RawUpdateGroupCallEncryptedMessage | tl.RawUpdatePinnedForumTopic | tl.RawUpdatePinnedForumTopics | tl.RawUpdateDeleteGroupCallMessages | tl.RawUpdateStarGiftAuctionState | tl.RawUpdateStarGiftAuctionUserState | tl.RawUpdateEmojiGameInfo | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.mtcute.RawDummyUpdate
|
|
27689
27775
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
27690
27776
|
/**
|
|
27691
27777
|
* Object which is perceived by the client without a call on
|
|
@@ -29630,6 +29716,16 @@ export class RpcError extends Error {
|
|
|
29630
29716
|
function isAnyStarGiftActiveAuctionState(o: object): o is TypeStarGiftActiveAuctionState
|
|
29631
29717
|
type TypeInputStarGiftAuction = tl.RawInputStarGiftAuction | tl.RawInputStarGiftAuctionSlug
|
|
29632
29718
|
function isAnyInputStarGiftAuction(o: object): o is TypeInputStarGiftAuction
|
|
29719
|
+
type TypePasskey = tl.RawPasskey
|
|
29720
|
+
function isAnyPasskey(o: object): o is TypePasskey
|
|
29721
|
+
type TypeInputPasskeyResponse = tl.RawInputPasskeyResponseRegister | tl.RawInputPasskeyResponseLogin
|
|
29722
|
+
function isAnyInputPasskeyResponse(o: object): o is TypeInputPasskeyResponse
|
|
29723
|
+
type TypeInputPasskeyCredential = tl.RawInputPasskeyCredentialPublicKey | tl.RawInputPasskeyCredentialFirebasePNV
|
|
29724
|
+
function isAnyInputPasskeyCredential(o: object): o is TypeInputPasskeyCredential
|
|
29725
|
+
type TypeStarGiftBackground = tl.RawStarGiftBackground
|
|
29726
|
+
function isAnyStarGiftBackground(o: object): o is TypeStarGiftBackground
|
|
29727
|
+
type TypeStarGiftAuctionRound = tl.RawStarGiftAuctionRound | tl.RawStarGiftAuctionRoundExtendable
|
|
29728
|
+
function isAnyStarGiftAuctionRound(o: object): o is TypeStarGiftAuctionRound
|
|
29633
29729
|
|
|
29634
29730
|
namespace storage {
|
|
29635
29731
|
/**
|
|
@@ -30135,6 +30231,10 @@ export class RpcError extends Error {
|
|
|
30135
30231
|
*/
|
|
30136
30232
|
futureAuthToken?: Uint8Array;
|
|
30137
30233
|
}
|
|
30234
|
+
interface RawPasskeyLoginOptions {
|
|
30235
|
+
_: 'auth.passkeyLoginOptions';
|
|
30236
|
+
options: tl.TypeDataJSON;
|
|
30237
|
+
}
|
|
30138
30238
|
/**
|
|
30139
30239
|
* Send the verification code for login
|
|
30140
30240
|
*
|
|
@@ -30636,6 +30736,23 @@ export class RpcError extends Error {
|
|
|
30636
30736
|
phoneCodeHash: string;
|
|
30637
30737
|
formId: Long;
|
|
30638
30738
|
}
|
|
30739
|
+
/**
|
|
30740
|
+
* RPC method returns {@link tl.auth.TypePasskeyLoginOptions}
|
|
30741
|
+
*/
|
|
30742
|
+
interface RawInitPasskeyLoginRequest {
|
|
30743
|
+
_: 'auth.initPasskeyLogin';
|
|
30744
|
+
apiId: number;
|
|
30745
|
+
apiHash: string;
|
|
30746
|
+
}
|
|
30747
|
+
/**
|
|
30748
|
+
* RPC method returns {@link tl.auth.TypeAuthorization}
|
|
30749
|
+
*/
|
|
30750
|
+
interface RawFinishPasskeyLoginRequest {
|
|
30751
|
+
_: 'auth.finishPasskeyLogin';
|
|
30752
|
+
credential: tl.TypeInputPasskeyCredential;
|
|
30753
|
+
fromDcId?: number;
|
|
30754
|
+
fromAuthKeyId?: Long;
|
|
30755
|
+
}
|
|
30639
30756
|
interface RpcCallReturn {
|
|
30640
30757
|
'auth.sendCode': tl.auth.TypeSentCode
|
|
30641
30758
|
'auth.signUp': tl.auth.TypeAuthorization
|
|
@@ -30661,6 +30778,8 @@ export class RpcError extends Error {
|
|
|
30661
30778
|
'auth.resetLoginEmail': tl.auth.TypeSentCode
|
|
30662
30779
|
'auth.reportMissingCode': boolean
|
|
30663
30780
|
'auth.checkPaidAuth': tl.auth.TypeSentCode
|
|
30781
|
+
'auth.initPasskeyLogin': tl.auth.TypePasskeyLoginOptions
|
|
30782
|
+
'auth.finishPasskeyLogin': tl.auth.TypeAuthorization
|
|
30664
30783
|
}
|
|
30665
30784
|
/**
|
|
30666
30785
|
* Contains info on a confirmation code message sent via SMS,
|
|
@@ -30709,6 +30828,8 @@ export class RpcError extends Error {
|
|
|
30709
30828
|
*/
|
|
30710
30829
|
type TypeLoggedOut = tl.auth.RawLoggedOut
|
|
30711
30830
|
function isAnyLoggedOut(o: object): o is TypeLoggedOut
|
|
30831
|
+
type TypePasskeyLoginOptions = tl.auth.RawPasskeyLoginOptions
|
|
30832
|
+
function isAnyPasskeyLoginOptions(o: object): o is TypePasskeyLoginOptions
|
|
30712
30833
|
}
|
|
30713
30834
|
|
|
30714
30835
|
namespace contacts {
|
|
@@ -33184,6 +33305,23 @@ export class RpcError extends Error {
|
|
|
33184
33305
|
*/
|
|
33185
33306
|
users: tl.TypeUser[];
|
|
33186
33307
|
}
|
|
33308
|
+
interface RawEmojiGameOutcome {
|
|
33309
|
+
_: 'messages.emojiGameOutcome';
|
|
33310
|
+
seed: Uint8Array;
|
|
33311
|
+
stakeTonAmount: Long;
|
|
33312
|
+
tonAmount: Long;
|
|
33313
|
+
}
|
|
33314
|
+
interface RawEmojiGameUnavailable {
|
|
33315
|
+
_: 'messages.emojiGameUnavailable';
|
|
33316
|
+
}
|
|
33317
|
+
interface RawEmojiGameDiceInfo {
|
|
33318
|
+
_: 'messages.emojiGameDiceInfo';
|
|
33319
|
+
gameHash: string;
|
|
33320
|
+
prevStake: Long;
|
|
33321
|
+
currentStreak: number;
|
|
33322
|
+
params: number[];
|
|
33323
|
+
playsLeft?: number;
|
|
33324
|
+
}
|
|
33187
33325
|
/**
|
|
33188
33326
|
* Returns the list of messages by their IDs.
|
|
33189
33327
|
*
|
|
@@ -33800,6 +33938,7 @@ export class RpcError extends Error {
|
|
|
33800
33938
|
* reply shortcut »</a>, instead.
|
|
33801
33939
|
*/
|
|
33802
33940
|
quickReplyShortcut?: tl.TypeInputQuickReplyShortcut;
|
|
33941
|
+
effect?: Long;
|
|
33803
33942
|
/**
|
|
33804
33943
|
* Start playing the video at the specified timestamp
|
|
33805
33944
|
* (seconds).
|
|
@@ -39213,6 +39352,21 @@ export class RpcError extends Error {
|
|
|
39213
39352
|
peer: tl.TypeInputPeer;
|
|
39214
39353
|
topMsgId: number;
|
|
39215
39354
|
}
|
|
39355
|
+
/**
|
|
39356
|
+
* RPC method returns {@link tl.messages.TypeEmojiGameInfo}
|
|
39357
|
+
*/
|
|
39358
|
+
interface RawGetEmojiGameInfoRequest {
|
|
39359
|
+
_: 'messages.getEmojiGameInfo';
|
|
39360
|
+
}
|
|
39361
|
+
/**
|
|
39362
|
+
* RPC method returns {@link tl.TypeTextWithEntities}
|
|
39363
|
+
*/
|
|
39364
|
+
interface RawSummarizeTextRequest {
|
|
39365
|
+
_: 'messages.summarizeText';
|
|
39366
|
+
peer: tl.TypeInputPeer;
|
|
39367
|
+
id: number;
|
|
39368
|
+
toLang?: string;
|
|
39369
|
+
}
|
|
39216
39370
|
interface RpcCallReturn {
|
|
39217
39371
|
'messages.getMessages': tl.messages.TypeMessages
|
|
39218
39372
|
'messages.getDialogs': tl.messages.TypeDialogs
|
|
@@ -39451,6 +39605,8 @@ export class RpcError extends Error {
|
|
|
39451
39605
|
'messages.reorderPinnedForumTopics': tl.TypeUpdates
|
|
39452
39606
|
'messages.createForumTopic': tl.TypeUpdates
|
|
39453
39607
|
'messages.deleteTopicHistory': tl.messages.TypeAffectedHistory
|
|
39608
|
+
'messages.getEmojiGameInfo': tl.messages.TypeEmojiGameInfo
|
|
39609
|
+
'messages.summarizeText': tl.TypeTextWithEntities
|
|
39454
39610
|
}
|
|
39455
39611
|
/**
|
|
39456
39612
|
* Object contains a list of chats with messages and auxiliary
|
|
@@ -39801,6 +39957,10 @@ export class RpcError extends Error {
|
|
|
39801
39957
|
*/
|
|
39802
39958
|
type TypeWebPagePreview = tl.messages.RawWebPagePreview
|
|
39803
39959
|
function isAnyWebPagePreview(o: object): o is TypeWebPagePreview
|
|
39960
|
+
type TypeEmojiGameOutcome = tl.messages.RawEmojiGameOutcome
|
|
39961
|
+
function isAnyEmojiGameOutcome(o: object): o is TypeEmojiGameOutcome
|
|
39962
|
+
type TypeEmojiGameInfo = tl.messages.RawEmojiGameUnavailable | tl.messages.RawEmojiGameDiceInfo
|
|
39963
|
+
function isAnyEmojiGameInfo(o: object): o is TypeEmojiGameInfo
|
|
39804
39964
|
}
|
|
39805
39965
|
|
|
39806
39966
|
namespace updates {
|
|
@@ -42357,6 +42517,14 @@ export class RpcError extends Error {
|
|
|
42357
42517
|
*/
|
|
42358
42518
|
ids: Long[];
|
|
42359
42519
|
}
|
|
42520
|
+
interface RawPasskeys {
|
|
42521
|
+
_: 'account.passkeys';
|
|
42522
|
+
passkeys: tl.TypePasskey[];
|
|
42523
|
+
}
|
|
42524
|
+
interface RawPasskeyRegistrationOptions {
|
|
42525
|
+
_: 'account.passkeyRegistrationOptions';
|
|
42526
|
+
options: tl.TypeDataJSON;
|
|
42527
|
+
}
|
|
42360
42528
|
/**
|
|
42361
42529
|
* Register device to receive
|
|
42362
42530
|
* <a href="https://core.telegram.org/api/push-updates">PUSH
|
|
@@ -44478,6 +44646,33 @@ export class RpcError extends Error {
|
|
|
44478
44646
|
*/
|
|
44479
44647
|
hash: Long;
|
|
44480
44648
|
}
|
|
44649
|
+
/**
|
|
44650
|
+
* RPC method returns
|
|
44651
|
+
* {@link tl.account.TypePasskeyRegistrationOptions}
|
|
44652
|
+
*/
|
|
44653
|
+
interface RawInitPasskeyRegistrationRequest {
|
|
44654
|
+
_: 'account.initPasskeyRegistration';
|
|
44655
|
+
}
|
|
44656
|
+
/**
|
|
44657
|
+
* RPC method returns {@link tl.TypePasskey}
|
|
44658
|
+
*/
|
|
44659
|
+
interface RawRegisterPasskeyRequest {
|
|
44660
|
+
_: 'account.registerPasskey';
|
|
44661
|
+
credential: tl.TypeInputPasskeyCredential;
|
|
44662
|
+
}
|
|
44663
|
+
/**
|
|
44664
|
+
* RPC method returns {@link tl.account.TypePasskeys}
|
|
44665
|
+
*/
|
|
44666
|
+
interface RawGetPasskeysRequest {
|
|
44667
|
+
_: 'account.getPasskeys';
|
|
44668
|
+
}
|
|
44669
|
+
/**
|
|
44670
|
+
* RPC method returns boolean
|
|
44671
|
+
*/
|
|
44672
|
+
interface RawDeletePasskeyRequest {
|
|
44673
|
+
_: 'account.deletePasskey';
|
|
44674
|
+
id: string;
|
|
44675
|
+
}
|
|
44481
44676
|
interface RpcCallReturn {
|
|
44482
44677
|
'account.registerDevice': boolean
|
|
44483
44678
|
'account.unregisterDevice': boolean
|
|
@@ -44598,6 +44793,10 @@ export class RpcError extends Error {
|
|
|
44598
44793
|
'account.saveMusic': boolean
|
|
44599
44794
|
'account.getSavedMusicIds': tl.account.TypeSavedMusicIds
|
|
44600
44795
|
'account.getUniqueGiftChatThemes': tl.account.TypeChatThemes
|
|
44796
|
+
'account.initPasskeyRegistration': tl.account.TypePasskeyRegistrationOptions
|
|
44797
|
+
'account.registerPasskey': tl.TypePasskey
|
|
44798
|
+
'account.getPasskeys': tl.account.TypePasskeys
|
|
44799
|
+
'account.deletePasskey': boolean
|
|
44601
44800
|
}
|
|
44602
44801
|
/**
|
|
44603
44802
|
* Privacy rules
|
|
@@ -44751,6 +44950,10 @@ export class RpcError extends Error {
|
|
|
44751
44950
|
*/
|
|
44752
44951
|
type TypeSavedMusicIds = tl.account.RawSavedMusicIdsNotModified | tl.account.RawSavedMusicIds
|
|
44753
44952
|
function isAnySavedMusicIds(o: object): o is TypeSavedMusicIds
|
|
44953
|
+
type TypePasskeys = tl.account.RawPasskeys
|
|
44954
|
+
function isAnyPasskeys(o: object): o is TypePasskeys
|
|
44955
|
+
type TypePasskeyRegistrationOptions = tl.account.RawPasskeyRegistrationOptions
|
|
44956
|
+
function isAnyPasskeyRegistrationOptions(o: object): o is TypePasskeyRegistrationOptions
|
|
44754
44957
|
}
|
|
44755
44958
|
|
|
44756
44959
|
namespace channels {
|
|
@@ -47426,6 +47629,7 @@ export class RpcError extends Error {
|
|
|
47426
47629
|
userState: tl.TypeStarGiftAuctionUserState;
|
|
47427
47630
|
timeout: number;
|
|
47428
47631
|
users: tl.TypeUser[];
|
|
47632
|
+
chats: tl.TypeChat[];
|
|
47429
47633
|
}
|
|
47430
47634
|
interface RawStarGiftAuctionAcquiredGifts {
|
|
47431
47635
|
_: 'payments.starGiftAuctionAcquiredGifts';
|
|
@@ -47440,6 +47644,11 @@ export class RpcError extends Error {
|
|
|
47440
47644
|
_: 'payments.starGiftActiveAuctions';
|
|
47441
47645
|
auctions: tl.TypeStarGiftActiveAuctionState[];
|
|
47442
47646
|
users: tl.TypeUser[];
|
|
47647
|
+
chats: tl.TypeChat[];
|
|
47648
|
+
}
|
|
47649
|
+
interface RawStarGiftUpgradeAttributes {
|
|
47650
|
+
_: 'payments.starGiftUpgradeAttributes';
|
|
47651
|
+
attributes: tl.TypeStarGiftAttribute[];
|
|
47443
47652
|
}
|
|
47444
47653
|
/**
|
|
47445
47654
|
* Get a payment form
|
|
@@ -48759,6 +48968,34 @@ export class RpcError extends Error {
|
|
|
48759
48968
|
_: 'payments.getStarGiftActiveAuctions';
|
|
48760
48969
|
hash: Long;
|
|
48761
48970
|
}
|
|
48971
|
+
/**
|
|
48972
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
48973
|
+
*/
|
|
48974
|
+
interface RawResolveStarGiftOfferRequest {
|
|
48975
|
+
_: 'payments.resolveStarGiftOffer';
|
|
48976
|
+
decline?: boolean;
|
|
48977
|
+
offerMsgId: number;
|
|
48978
|
+
}
|
|
48979
|
+
/**
|
|
48980
|
+
* RPC method returns {@link tl.TypeUpdates}
|
|
48981
|
+
*/
|
|
48982
|
+
interface RawSendStarGiftOfferRequest {
|
|
48983
|
+
_: 'payments.sendStarGiftOffer';
|
|
48984
|
+
peer: tl.TypeInputPeer;
|
|
48985
|
+
slug: string;
|
|
48986
|
+
price: tl.TypeStarsAmount;
|
|
48987
|
+
duration: number;
|
|
48988
|
+
randomId: Long;
|
|
48989
|
+
allowPaidStars?: Long;
|
|
48990
|
+
}
|
|
48991
|
+
/**
|
|
48992
|
+
* RPC method returns
|
|
48993
|
+
* {@link tl.payments.TypeStarGiftUpgradeAttributes}
|
|
48994
|
+
*/
|
|
48995
|
+
interface RawGetStarGiftUpgradeAttributesRequest {
|
|
48996
|
+
_: 'payments.getStarGiftUpgradeAttributes';
|
|
48997
|
+
giftId: Long;
|
|
48998
|
+
}
|
|
48762
48999
|
interface RpcCallReturn {
|
|
48763
49000
|
'payments.getPaymentForm': tl.payments.TypePaymentForm
|
|
48764
49001
|
'payments.getPaymentReceipt': tl.payments.TypePaymentReceipt
|
|
@@ -48820,6 +49057,9 @@ export class RpcError extends Error {
|
|
|
48820
49057
|
'payments.getStarGiftAuctionState': tl.payments.TypeStarGiftAuctionState
|
|
48821
49058
|
'payments.getStarGiftAuctionAcquiredGifts': tl.payments.TypeStarGiftAuctionAcquiredGifts
|
|
48822
49059
|
'payments.getStarGiftActiveAuctions': tl.payments.TypeStarGiftActiveAuctions
|
|
49060
|
+
'payments.resolveStarGiftOffer': tl.TypeUpdates
|
|
49061
|
+
'payments.sendStarGiftOffer': tl.TypeUpdates
|
|
49062
|
+
'payments.getStarGiftUpgradeAttributes': tl.payments.TypeStarGiftUpgradeAttributes
|
|
48823
49063
|
}
|
|
48824
49064
|
/**
|
|
48825
49065
|
* Payment form
|
|
@@ -48984,6 +49224,8 @@ export class RpcError extends Error {
|
|
|
48984
49224
|
function isAnyStarGiftAuctionAcquiredGifts(o: object): o is TypeStarGiftAuctionAcquiredGifts
|
|
48985
49225
|
type TypeStarGiftActiveAuctions = tl.payments.RawStarGiftActiveAuctionsNotModified | tl.payments.RawStarGiftActiveAuctions
|
|
48986
49226
|
function isAnyStarGiftActiveAuctions(o: object): o is TypeStarGiftActiveAuctions
|
|
49227
|
+
type TypeStarGiftUpgradeAttributes = tl.payments.RawStarGiftUpgradeAttributes
|
|
49228
|
+
function isAnyStarGiftUpgradeAttributes(o: object): o is TypeStarGiftUpgradeAttributes
|
|
48987
49229
|
}
|
|
48988
49230
|
|
|
48989
49231
|
namespace phone {
|
|
@@ -53928,7 +54170,7 @@ export class RpcError extends Error {
|
|
|
53928
54170
|
/**
|
|
53929
54171
|
* Object contains info on events occurred.
|
|
53930
54172
|
*/
|
|
53931
|
-
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.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.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.RawUpdateGroupCallMessage | tl.RawUpdateGroupCallEncryptedMessage | tl.RawUpdatePinnedForumTopic | tl.RawUpdatePinnedForumTopics | tl.RawUpdateDeleteGroupCallMessages | tl.RawUpdateStarGiftAuctionState | tl.RawUpdateStarGiftAuctionUserState | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.mtcute.RawDummyUpdate
|
|
54173
|
+
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.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.RawUpdateStarsBalance | tl.RawUpdateBusinessBotCallbackQuery | tl.RawUpdateStarsRevenueStatus | tl.RawUpdateBotPurchasedPaidMedia | tl.RawUpdatePaidReactionPrivacy | tl.RawUpdateSentPhoneCode | tl.RawUpdateGroupCallChainBlocks | tl.RawUpdateReadMonoForumInbox | tl.RawUpdateReadMonoForumOutbox | tl.RawUpdateMonoForumNoPaidException | tl.RawUpdateGroupCallMessage | tl.RawUpdateGroupCallEncryptedMessage | tl.RawUpdatePinnedForumTopic | tl.RawUpdatePinnedForumTopics | tl.RawUpdateDeleteGroupCallMessages | tl.RawUpdateStarGiftAuctionState | tl.RawUpdateStarGiftAuctionUserState | tl.RawUpdateEmojiGameInfo | tl.RawUpdateChannelPinnedTopic | tl.RawUpdateChannelPinnedTopics | tl.mtcute.RawDummyUpdate
|
|
53932
54174
|
function isAnyUpdate(o: object): o is TypeUpdate
|
|
53933
54175
|
/**
|
|
53934
54176
|
* Peer
|
|
@@ -54103,6 +54345,8 @@ export class RpcError extends Error {
|
|
|
54103
54345
|
| tl.auth.RawResetLoginEmailRequest
|
|
54104
54346
|
| tl.auth.RawReportMissingCodeRequest
|
|
54105
54347
|
| tl.auth.RawCheckPaidAuthRequest
|
|
54348
|
+
| tl.auth.RawInitPasskeyLoginRequest
|
|
54349
|
+
| tl.auth.RawFinishPasskeyLoginRequest
|
|
54106
54350
|
| tl.account.RawRegisterDeviceRequest
|
|
54107
54351
|
| tl.account.RawUnregisterDeviceRequest
|
|
54108
54352
|
| tl.account.RawUpdateNotifySettingsRequest
|
|
@@ -54222,6 +54466,10 @@ export class RpcError extends Error {
|
|
|
54222
54466
|
| tl.account.RawSaveMusicRequest
|
|
54223
54467
|
| tl.account.RawGetSavedMusicIdsRequest
|
|
54224
54468
|
| tl.account.RawGetUniqueGiftChatThemesRequest
|
|
54469
|
+
| tl.account.RawInitPasskeyRegistrationRequest
|
|
54470
|
+
| tl.account.RawRegisterPasskeyRequest
|
|
54471
|
+
| tl.account.RawGetPasskeysRequest
|
|
54472
|
+
| tl.account.RawDeletePasskeyRequest
|
|
54225
54473
|
| tl.users.RawGetUsersRequest
|
|
54226
54474
|
| tl.users.RawGetFullUserRequest
|
|
54227
54475
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -54681,6 +54929,12 @@ export class RpcError extends Error {
|
|
|
54681
54929
|
| tl.payments.RawGetStarGiftCollectionsRequest
|
|
54682
54930
|
| tl.payments.RawGetUniqueStarGiftValueInfoRequest
|
|
54683
54931
|
| tl.payments.RawCheckCanSendGiftRequest
|
|
54932
|
+
| tl.payments.RawGetStarGiftAuctionStateRequest
|
|
54933
|
+
| tl.payments.RawGetStarGiftAuctionAcquiredGiftsRequest
|
|
54934
|
+
| tl.payments.RawGetStarGiftActiveAuctionsRequest
|
|
54935
|
+
| tl.payments.RawResolveStarGiftOfferRequest
|
|
54936
|
+
| tl.payments.RawSendStarGiftOfferRequest
|
|
54937
|
+
| tl.payments.RawGetStarGiftUpgradeAttributesRequest
|
|
54684
54938
|
| tl.stickers.RawCreateStickerSetRequest
|
|
54685
54939
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
54686
54940
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -54731,6 +54985,10 @@ export class RpcError extends Error {
|
|
|
54731
54985
|
| tl.phone.RawGetGroupCallChainBlocksRequest
|
|
54732
54986
|
| tl.phone.RawSendGroupCallMessageRequest
|
|
54733
54987
|
| tl.phone.RawSendGroupCallEncryptedMessageRequest
|
|
54988
|
+
| tl.phone.RawDeleteGroupCallMessagesRequest
|
|
54989
|
+
| tl.phone.RawDeleteGroupCallParticipantMessagesRequest
|
|
54990
|
+
| tl.phone.RawGetGroupCallStarsRequest
|
|
54991
|
+
| tl.phone.RawSaveDefaultSendAsRequest
|
|
54734
54992
|
| tl.langpack.RawGetLangPackRequest
|
|
54735
54993
|
| tl.langpack.RawGetStringsRequest
|
|
54736
54994
|
| tl.langpack.RawGetDifferenceRequest
|
|
@@ -54787,6 +55045,7 @@ export class RpcError extends Error {
|
|
|
54787
55045
|
| tl.stories.RawDeleteAlbumRequest
|
|
54788
55046
|
| tl.stories.RawGetAlbumsRequest
|
|
54789
55047
|
| tl.stories.RawGetAlbumStoriesRequest
|
|
55048
|
+
| tl.stories.RawStartLiveRequest
|
|
54790
55049
|
| tl.premium.RawGetBoostsListRequest
|
|
54791
55050
|
| tl.premium.RawGetMyBoostsRequest
|
|
54792
55051
|
| tl.premium.RawApplyBoostRequest
|
|
@@ -54800,14 +55059,8 @@ export class RpcError extends Error {
|
|
|
54800
55059
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
54801
55060
|
| tl.smsjobs.RawFinishJobRequest
|
|
54802
55061
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
54803
|
-
| tl.
|
|
54804
|
-
| tl.
|
|
54805
|
-
| tl.payments.RawGetStarGiftActiveAuctionsRequest
|
|
54806
|
-
| tl.phone.RawDeleteGroupCallMessagesRequest
|
|
54807
|
-
| tl.phone.RawDeleteGroupCallParticipantMessagesRequest
|
|
54808
|
-
| tl.phone.RawGetGroupCallStarsRequest
|
|
54809
|
-
| tl.phone.RawSaveDefaultSendAsRequest
|
|
54810
|
-
| tl.stories.RawStartLiveRequest
|
|
55062
|
+
| tl.messages.RawGetEmojiGameInfoRequest
|
|
55063
|
+
| tl.messages.RawSummarizeTextRequest
|
|
54811
55064
|
| tl.channels.RawCreateForumTopicRequest
|
|
54812
55065
|
| tl.channels.RawGetForumTopicsRequest
|
|
54813
55066
|
| tl.channels.RawGetForumTopicsByIDRequest
|
|
@@ -54930,6 +55183,7 @@ export class RpcError extends Error {
|
|
|
54930
55183
|
| tl.RawMessageMediaGiveawayResults
|
|
54931
55184
|
| tl.RawMessageMediaPaidMedia
|
|
54932
55185
|
| tl.RawMessageMediaToDo
|
|
55186
|
+
| tl.RawMessageMediaVideoStream
|
|
54933
55187
|
| tl.RawMessageActionEmpty
|
|
54934
55188
|
| tl.RawMessageActionChatCreate
|
|
54935
55189
|
| tl.RawMessageActionChatEditTitle
|
|
@@ -54988,6 +55242,8 @@ export class RpcError extends Error {
|
|
|
54988
55242
|
| tl.RawMessageActionSuggestedPostRefund
|
|
54989
55243
|
| tl.RawMessageActionGiftTon
|
|
54990
55244
|
| tl.RawMessageActionSuggestBirthday
|
|
55245
|
+
| tl.RawMessageActionStarGiftPurchaseOffer
|
|
55246
|
+
| tl.RawMessageActionStarGiftPurchaseOfferDeclined
|
|
54991
55247
|
| tl.RawDialog
|
|
54992
55248
|
| tl.RawDialogFolder
|
|
54993
55249
|
| tl.RawPhotoEmpty
|
|
@@ -55210,6 +55466,9 @@ export class RpcError extends Error {
|
|
|
55210
55466
|
| tl.RawUpdateGroupCallEncryptedMessage
|
|
55211
55467
|
| tl.RawUpdatePinnedForumTopic
|
|
55212
55468
|
| tl.RawUpdatePinnedForumTopics
|
|
55469
|
+
| tl.RawUpdateDeleteGroupCallMessages
|
|
55470
|
+
| tl.RawUpdateStarGiftAuctionState
|
|
55471
|
+
| tl.RawUpdateStarGiftAuctionUserState
|
|
55213
55472
|
| tl.updates.RawState
|
|
55214
55473
|
| tl.updates.RawDifferenceEmpty
|
|
55215
55474
|
| tl.updates.RawDifference
|
|
@@ -55294,6 +55553,7 @@ export class RpcError extends Error {
|
|
|
55294
55553
|
| tl.RawInputPrivacyKeyBirthday
|
|
55295
55554
|
| tl.RawInputPrivacyKeyStarGiftsAutoSave
|
|
55296
55555
|
| tl.RawInputPrivacyKeyNoPaidMessages
|
|
55556
|
+
| tl.RawInputPrivacyKeySavedMusic
|
|
55297
55557
|
| tl.RawPrivacyKeyStatusTimestamp
|
|
55298
55558
|
| tl.RawPrivacyKeyChatInvite
|
|
55299
55559
|
| tl.RawPrivacyKeyPhoneCall
|
|
@@ -55307,6 +55567,7 @@ export class RpcError extends Error {
|
|
|
55307
55567
|
| tl.RawPrivacyKeyBirthday
|
|
55308
55568
|
| tl.RawPrivacyKeyStarGiftsAutoSave
|
|
55309
55569
|
| tl.RawPrivacyKeyNoPaidMessages
|
|
55570
|
+
| tl.RawPrivacyKeySavedMusic
|
|
55310
55571
|
| tl.RawInputPrivacyValueAllowContacts
|
|
55311
55572
|
| tl.RawInputPrivacyValueAllowAll
|
|
55312
55573
|
| tl.RawInputPrivacyValueAllowUsers
|
|
@@ -55842,6 +56103,7 @@ export class RpcError extends Error {
|
|
|
55842
56103
|
| tl.RawWebPageAttributeStickerSet
|
|
55843
56104
|
| tl.RawWebPageAttributeUniqueStarGift
|
|
55844
56105
|
| tl.RawWebPageAttributeStarGiftCollection
|
|
56106
|
+
| tl.RawWebPageAttributeStarGiftAuction
|
|
55845
56107
|
| tl.messages.RawVotesList
|
|
55846
56108
|
| tl.RawBankCardOpenUrl
|
|
55847
56109
|
| tl.payments.RawBankCardData
|
|
@@ -55981,6 +56243,7 @@ export class RpcError extends Error {
|
|
|
55981
56243
|
| tl.RawInputInvoiceStarGiftPrepaidUpgrade
|
|
55982
56244
|
| tl.RawInputInvoicePremiumAuthCode
|
|
55983
56245
|
| tl.RawInputInvoiceStarGiftDropOriginalDetails
|
|
56246
|
+
| tl.RawInputInvoiceStarGiftAuctionBid
|
|
55984
56247
|
| tl.payments.RawExportedInvoice
|
|
55985
56248
|
| tl.messages.RawTranscribedAudio
|
|
55986
56249
|
| tl.help.RawPremiumPromo
|
|
@@ -56303,14 +56566,6 @@ export class RpcError extends Error {
|
|
|
56303
56566
|
| tl.RawInputChatTheme
|
|
56304
56567
|
| tl.RawInputChatThemeUniqueGift
|
|
56305
56568
|
| tl.RawStarGiftUpgradePrice
|
|
56306
|
-
| tl.RawMessageMediaVideoStream
|
|
56307
|
-
| tl.RawUpdateDeleteGroupCallMessages
|
|
56308
|
-
| tl.RawUpdateStarGiftAuctionState
|
|
56309
|
-
| tl.RawUpdateStarGiftAuctionUserState
|
|
56310
|
-
| tl.RawInputPrivacyKeySavedMusic
|
|
56311
|
-
| tl.RawPrivacyKeySavedMusic
|
|
56312
|
-
| tl.RawWebPageAttributeStarGiftAuction
|
|
56313
|
-
| tl.RawInputInvoiceStarGiftAuctionBid
|
|
56314
56569
|
| tl.RawGroupCallMessage
|
|
56315
56570
|
| tl.RawGroupCallDonor
|
|
56316
56571
|
| tl.phone.RawGroupCallStars
|
|
@@ -56328,6 +56583,23 @@ export class RpcError extends Error {
|
|
|
56328
56583
|
| tl.payments.RawStarGiftActiveAuctions
|
|
56329
56584
|
| tl.RawInputStarGiftAuction
|
|
56330
56585
|
| tl.RawInputStarGiftAuctionSlug
|
|
56586
|
+
| tl.RawPasskey
|
|
56587
|
+
| tl.account.RawPasskeys
|
|
56588
|
+
| tl.account.RawPasskeyRegistrationOptions
|
|
56589
|
+
| tl.auth.RawPasskeyLoginOptions
|
|
56590
|
+
| tl.RawInputPasskeyResponseRegister
|
|
56591
|
+
| tl.RawInputPasskeyResponseLogin
|
|
56592
|
+
| tl.RawInputPasskeyCredentialPublicKey
|
|
56593
|
+
| tl.RawStarGiftBackground
|
|
56594
|
+
| tl.RawStarGiftAuctionRound
|
|
56595
|
+
| tl.RawStarGiftAuctionRoundExtendable
|
|
56596
|
+
| tl.payments.RawStarGiftUpgradeAttributes
|
|
56597
|
+
| tl.RawInputMediaStakeDice
|
|
56598
|
+
| tl.RawUpdateEmojiGameInfo
|
|
56599
|
+
| tl.RawInputPasskeyCredentialFirebasePNV
|
|
56600
|
+
| tl.messages.RawEmojiGameOutcome
|
|
56601
|
+
| tl.messages.RawEmojiGameUnavailable
|
|
56602
|
+
| tl.messages.RawEmojiGameDiceInfo
|
|
56331
56603
|
| tl.RawUpdateChannelPinnedTopic
|
|
56332
56604
|
| tl.RawUpdateChannelPinnedTopics
|
|
56333
56605
|
| tl.mtcute.RawDummyUpdate
|
|
@@ -56368,6 +56640,8 @@ export class RpcError extends Error {
|
|
|
56368
56640
|
| tl.auth.RawResetLoginEmailRequest
|
|
56369
56641
|
| tl.auth.RawReportMissingCodeRequest
|
|
56370
56642
|
| tl.auth.RawCheckPaidAuthRequest
|
|
56643
|
+
| tl.auth.RawInitPasskeyLoginRequest
|
|
56644
|
+
| tl.auth.RawFinishPasskeyLoginRequest
|
|
56371
56645
|
| tl.account.RawRegisterDeviceRequest
|
|
56372
56646
|
| tl.account.RawUnregisterDeviceRequest
|
|
56373
56647
|
| tl.account.RawUpdateNotifySettingsRequest
|
|
@@ -56487,6 +56761,10 @@ export class RpcError extends Error {
|
|
|
56487
56761
|
| tl.account.RawSaveMusicRequest
|
|
56488
56762
|
| tl.account.RawGetSavedMusicIdsRequest
|
|
56489
56763
|
| tl.account.RawGetUniqueGiftChatThemesRequest
|
|
56764
|
+
| tl.account.RawInitPasskeyRegistrationRequest
|
|
56765
|
+
| tl.account.RawRegisterPasskeyRequest
|
|
56766
|
+
| tl.account.RawGetPasskeysRequest
|
|
56767
|
+
| tl.account.RawDeletePasskeyRequest
|
|
56490
56768
|
| tl.users.RawGetUsersRequest
|
|
56491
56769
|
| tl.users.RawGetFullUserRequest
|
|
56492
56770
|
| tl.users.RawSetSecureValueErrorsRequest
|
|
@@ -56946,6 +57224,12 @@ export class RpcError extends Error {
|
|
|
56946
57224
|
| tl.payments.RawGetStarGiftCollectionsRequest
|
|
56947
57225
|
| tl.payments.RawGetUniqueStarGiftValueInfoRequest
|
|
56948
57226
|
| tl.payments.RawCheckCanSendGiftRequest
|
|
57227
|
+
| tl.payments.RawGetStarGiftAuctionStateRequest
|
|
57228
|
+
| tl.payments.RawGetStarGiftAuctionAcquiredGiftsRequest
|
|
57229
|
+
| tl.payments.RawGetStarGiftActiveAuctionsRequest
|
|
57230
|
+
| tl.payments.RawResolveStarGiftOfferRequest
|
|
57231
|
+
| tl.payments.RawSendStarGiftOfferRequest
|
|
57232
|
+
| tl.payments.RawGetStarGiftUpgradeAttributesRequest
|
|
56949
57233
|
| tl.stickers.RawCreateStickerSetRequest
|
|
56950
57234
|
| tl.stickers.RawRemoveStickerFromSetRequest
|
|
56951
57235
|
| tl.stickers.RawChangeStickerPositionRequest
|
|
@@ -56996,6 +57280,10 @@ export class RpcError extends Error {
|
|
|
56996
57280
|
| tl.phone.RawGetGroupCallChainBlocksRequest
|
|
56997
57281
|
| tl.phone.RawSendGroupCallMessageRequest
|
|
56998
57282
|
| tl.phone.RawSendGroupCallEncryptedMessageRequest
|
|
57283
|
+
| tl.phone.RawDeleteGroupCallMessagesRequest
|
|
57284
|
+
| tl.phone.RawDeleteGroupCallParticipantMessagesRequest
|
|
57285
|
+
| tl.phone.RawGetGroupCallStarsRequest
|
|
57286
|
+
| tl.phone.RawSaveDefaultSendAsRequest
|
|
56999
57287
|
| tl.langpack.RawGetLangPackRequest
|
|
57000
57288
|
| tl.langpack.RawGetStringsRequest
|
|
57001
57289
|
| tl.langpack.RawGetDifferenceRequest
|
|
@@ -57052,6 +57340,7 @@ export class RpcError extends Error {
|
|
|
57052
57340
|
| tl.stories.RawDeleteAlbumRequest
|
|
57053
57341
|
| tl.stories.RawGetAlbumsRequest
|
|
57054
57342
|
| tl.stories.RawGetAlbumStoriesRequest
|
|
57343
|
+
| tl.stories.RawStartLiveRequest
|
|
57055
57344
|
| tl.premium.RawGetBoostsListRequest
|
|
57056
57345
|
| tl.premium.RawGetMyBoostsRequest
|
|
57057
57346
|
| tl.premium.RawApplyBoostRequest
|
|
@@ -57065,14 +57354,8 @@ export class RpcError extends Error {
|
|
|
57065
57354
|
| tl.smsjobs.RawGetSmsJobRequest
|
|
57066
57355
|
| tl.smsjobs.RawFinishJobRequest
|
|
57067
57356
|
| tl.fragment.RawGetCollectibleInfoRequest
|
|
57068
|
-
| tl.
|
|
57069
|
-
| tl.
|
|
57070
|
-
| tl.payments.RawGetStarGiftActiveAuctionsRequest
|
|
57071
|
-
| tl.phone.RawDeleteGroupCallMessagesRequest
|
|
57072
|
-
| tl.phone.RawDeleteGroupCallParticipantMessagesRequest
|
|
57073
|
-
| tl.phone.RawGetGroupCallStarsRequest
|
|
57074
|
-
| tl.phone.RawSaveDefaultSendAsRequest
|
|
57075
|
-
| tl.stories.RawStartLiveRequest
|
|
57357
|
+
| tl.messages.RawGetEmojiGameInfoRequest
|
|
57358
|
+
| tl.messages.RawSummarizeTextRequest
|
|
57076
57359
|
| tl.channels.RawCreateForumTopicRequest
|
|
57077
57360
|
| tl.channels.RawGetForumTopicsRequest
|
|
57078
57361
|
| tl.channels.RawGetForumTopicsByIDRequest
|