@mtcute/tl 220.0.0 → 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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import _Long from 'long';
2
2
  export declare namespace tl {
3
- const LAYER = 220;
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
@@ -5581,6 +5584,20 @@ export class RpcError extends Error {
5581
5584
  _: 'messageActionSuggestBirthday';
5582
5585
  birthday: tl.TypeBirthday;
5583
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
+ }
5584
5601
  /**
5585
5602
  * Chat
5586
5603
  */
@@ -25298,6 +25315,7 @@ export class RpcError extends Error {
25298
25315
  stargiftDropOriginalDetails?: boolean;
25299
25316
  phonegroupMessage?: boolean;
25300
25317
  stargiftAuctionBid?: boolean;
25318
+ offer?: boolean;
25301
25319
  /**
25302
25320
  * Transaction ID.
25303
25321
  */
@@ -25445,7 +25463,6 @@ export class RpcError extends Error {
25445
25463
  * specified unixtime.
25446
25464
  */
25447
25465
  adsProceedsToDate?: number;
25448
- offer?: boolean;
25449
25466
  }
25450
25467
  /**
25451
25468
  * A story found using
@@ -27150,7 +27167,6 @@ export class RpcError extends Error {
27150
27167
  top?: boolean;
27151
27168
  my?: boolean;
27152
27169
  peerId?: tl.TypePeer;
27153
- anonymous?: boolean;
27154
27170
  stars: Long;
27155
27171
  }
27156
27172
  interface RawRecentStory {
@@ -27225,20 +27241,6 @@ export class RpcError extends Error {
27225
27241
  _: 'inputStarGiftAuctionSlug';
27226
27242
  slug: string;
27227
27243
  }
27228
- interface RawMessageActionStarGiftPurchaseOffer {
27229
- _: 'messageActionStarGiftPurchaseOffer';
27230
- accepted?: boolean;
27231
- declined?: boolean;
27232
- gift: tl.TypeStarGift;
27233
- price: tl.TypeStarsAmount;
27234
- expiresAt: number;
27235
- }
27236
- interface RawMessageActionStarGiftPurchaseOfferDeclined {
27237
- _: 'messageActionStarGiftPurchaseOfferDeclined';
27238
- expired?: boolean;
27239
- gift: tl.TypeStarGift;
27240
- price: tl.TypeStarsAmount;
27241
- }
27242
27244
  interface RawPasskey {
27243
27245
  _: 'passkey';
27244
27246
  id: string;
@@ -27283,6 +27285,20 @@ export class RpcError extends Error {
27283
27285
  extendTop: number;
27284
27286
  extendWindow: number;
27285
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
+ }
27286
27302
  /**
27287
27303
  * A
27288
27304
  * <a href="https://core.telegram.org/api/forum#forum-topics">forum
@@ -27589,7 +27605,7 @@ export class RpcError extends Error {
27589
27605
  /**
27590
27606
  * Defines media content of a message.
27591
27607
  */
27592
- 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
27593
27609
  function isAnyInputMedia(o: object): o is TypeInputMedia
27594
27610
  /**
27595
27611
  * Defines a new group profile photo.
@@ -27755,7 +27771,7 @@ export class RpcError extends Error {
27755
27771
  /**
27756
27772
  * Object contains info on events occurred.
27757
27773
  */
27758
- 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
27759
27775
  function isAnyUpdate(o: object): o is TypeUpdate
27760
27776
  /**
27761
27777
  * Object which is perceived by the client without a call on
@@ -29704,7 +29720,7 @@ export class RpcError extends Error {
29704
29720
  function isAnyPasskey(o: object): o is TypePasskey
29705
29721
  type TypeInputPasskeyResponse = tl.RawInputPasskeyResponseRegister | tl.RawInputPasskeyResponseLogin
29706
29722
  function isAnyInputPasskeyResponse(o: object): o is TypeInputPasskeyResponse
29707
- type TypeInputPasskeyCredential = tl.RawInputPasskeyCredentialPublicKey
29723
+ type TypeInputPasskeyCredential = tl.RawInputPasskeyCredentialPublicKey | tl.RawInputPasskeyCredentialFirebasePNV
29708
29724
  function isAnyInputPasskeyCredential(o: object): o is TypeInputPasskeyCredential
29709
29725
  type TypeStarGiftBackground = tl.RawStarGiftBackground
29710
29726
  function isAnyStarGiftBackground(o: object): o is TypeStarGiftBackground
@@ -33289,6 +33305,23 @@ export class RpcError extends Error {
33289
33305
  */
33290
33306
  users: tl.TypeUser[];
33291
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
+ }
33292
33325
  /**
33293
33326
  * Returns the list of messages by their IDs.
33294
33327
  *
@@ -39319,6 +39352,21 @@ export class RpcError extends Error {
39319
39352
  peer: tl.TypeInputPeer;
39320
39353
  topMsgId: number;
39321
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
+ }
39322
39370
  interface RpcCallReturn {
39323
39371
  'messages.getMessages': tl.messages.TypeMessages
39324
39372
  'messages.getDialogs': tl.messages.TypeDialogs
@@ -39557,6 +39605,8 @@ export class RpcError extends Error {
39557
39605
  'messages.reorderPinnedForumTopics': tl.TypeUpdates
39558
39606
  'messages.createForumTopic': tl.TypeUpdates
39559
39607
  'messages.deleteTopicHistory': tl.messages.TypeAffectedHistory
39608
+ 'messages.getEmojiGameInfo': tl.messages.TypeEmojiGameInfo
39609
+ 'messages.summarizeText': tl.TypeTextWithEntities
39560
39610
  }
39561
39611
  /**
39562
39612
  * Object contains a list of chats with messages and auxiliary
@@ -39907,6 +39957,10 @@ export class RpcError extends Error {
39907
39957
  */
39908
39958
  type TypeWebPagePreview = tl.messages.RawWebPagePreview
39909
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
39910
39964
  }
39911
39965
 
39912
39966
  namespace updates {
@@ -54116,7 +54170,7 @@ export class RpcError extends Error {
54116
54170
  /**
54117
54171
  * Object contains info on events occurred.
54118
54172
  */
54119
- 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
54120
54174
  function isAnyUpdate(o: object): o is TypeUpdate
54121
54175
  /**
54122
54176
  * Peer
@@ -54291,6 +54345,8 @@ export class RpcError extends Error {
54291
54345
  | tl.auth.RawResetLoginEmailRequest
54292
54346
  | tl.auth.RawReportMissingCodeRequest
54293
54347
  | tl.auth.RawCheckPaidAuthRequest
54348
+ | tl.auth.RawInitPasskeyLoginRequest
54349
+ | tl.auth.RawFinishPasskeyLoginRequest
54294
54350
  | tl.account.RawRegisterDeviceRequest
54295
54351
  | tl.account.RawUnregisterDeviceRequest
54296
54352
  | tl.account.RawUpdateNotifySettingsRequest
@@ -54410,6 +54466,10 @@ export class RpcError extends Error {
54410
54466
  | tl.account.RawSaveMusicRequest
54411
54467
  | tl.account.RawGetSavedMusicIdsRequest
54412
54468
  | tl.account.RawGetUniqueGiftChatThemesRequest
54469
+ | tl.account.RawInitPasskeyRegistrationRequest
54470
+ | tl.account.RawRegisterPasskeyRequest
54471
+ | tl.account.RawGetPasskeysRequest
54472
+ | tl.account.RawDeletePasskeyRequest
54413
54473
  | tl.users.RawGetUsersRequest
54414
54474
  | tl.users.RawGetFullUserRequest
54415
54475
  | tl.users.RawSetSecureValueErrorsRequest
@@ -54872,6 +54932,9 @@ export class RpcError extends Error {
54872
54932
  | tl.payments.RawGetStarGiftAuctionStateRequest
54873
54933
  | tl.payments.RawGetStarGiftAuctionAcquiredGiftsRequest
54874
54934
  | tl.payments.RawGetStarGiftActiveAuctionsRequest
54935
+ | tl.payments.RawResolveStarGiftOfferRequest
54936
+ | tl.payments.RawSendStarGiftOfferRequest
54937
+ | tl.payments.RawGetStarGiftUpgradeAttributesRequest
54875
54938
  | tl.stickers.RawCreateStickerSetRequest
54876
54939
  | tl.stickers.RawRemoveStickerFromSetRequest
54877
54940
  | tl.stickers.RawChangeStickerPositionRequest
@@ -54996,15 +55059,8 @@ export class RpcError extends Error {
54996
55059
  | tl.smsjobs.RawGetSmsJobRequest
54997
55060
  | tl.smsjobs.RawFinishJobRequest
54998
55061
  | tl.fragment.RawGetCollectibleInfoRequest
54999
- | tl.auth.RawInitPasskeyLoginRequest
55000
- | tl.auth.RawFinishPasskeyLoginRequest
55001
- | tl.account.RawInitPasskeyRegistrationRequest
55002
- | tl.account.RawRegisterPasskeyRequest
55003
- | tl.account.RawGetPasskeysRequest
55004
- | tl.account.RawDeletePasskeyRequest
55005
- | tl.payments.RawResolveStarGiftOfferRequest
55006
- | tl.payments.RawSendStarGiftOfferRequest
55007
- | tl.payments.RawGetStarGiftUpgradeAttributesRequest
55062
+ | tl.messages.RawGetEmojiGameInfoRequest
55063
+ | tl.messages.RawSummarizeTextRequest
55008
55064
  | tl.channels.RawCreateForumTopicRequest
55009
55065
  | tl.channels.RawGetForumTopicsRequest
55010
55066
  | tl.channels.RawGetForumTopicsByIDRequest
@@ -55186,6 +55242,8 @@ export class RpcError extends Error {
55186
55242
  | tl.RawMessageActionSuggestedPostRefund
55187
55243
  | tl.RawMessageActionGiftTon
55188
55244
  | tl.RawMessageActionSuggestBirthday
55245
+ | tl.RawMessageActionStarGiftPurchaseOffer
55246
+ | tl.RawMessageActionStarGiftPurchaseOfferDeclined
55189
55247
  | tl.RawDialog
55190
55248
  | tl.RawDialogFolder
55191
55249
  | tl.RawPhotoEmpty
@@ -56525,8 +56583,6 @@ export class RpcError extends Error {
56525
56583
  | tl.payments.RawStarGiftActiveAuctions
56526
56584
  | tl.RawInputStarGiftAuction
56527
56585
  | tl.RawInputStarGiftAuctionSlug
56528
- | tl.RawMessageActionStarGiftPurchaseOffer
56529
- | tl.RawMessageActionStarGiftPurchaseOfferDeclined
56530
56586
  | tl.RawPasskey
56531
56587
  | tl.account.RawPasskeys
56532
56588
  | tl.account.RawPasskeyRegistrationOptions
@@ -56538,6 +56594,12 @@ export class RpcError extends Error {
56538
56594
  | tl.RawStarGiftAuctionRound
56539
56595
  | tl.RawStarGiftAuctionRoundExtendable
56540
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
56541
56603
  | tl.RawUpdateChannelPinnedTopic
56542
56604
  | tl.RawUpdateChannelPinnedTopics
56543
56605
  | tl.mtcute.RawDummyUpdate
@@ -56578,6 +56640,8 @@ export class RpcError extends Error {
56578
56640
  | tl.auth.RawResetLoginEmailRequest
56579
56641
  | tl.auth.RawReportMissingCodeRequest
56580
56642
  | tl.auth.RawCheckPaidAuthRequest
56643
+ | tl.auth.RawInitPasskeyLoginRequest
56644
+ | tl.auth.RawFinishPasskeyLoginRequest
56581
56645
  | tl.account.RawRegisterDeviceRequest
56582
56646
  | tl.account.RawUnregisterDeviceRequest
56583
56647
  | tl.account.RawUpdateNotifySettingsRequest
@@ -56697,6 +56761,10 @@ export class RpcError extends Error {
56697
56761
  | tl.account.RawSaveMusicRequest
56698
56762
  | tl.account.RawGetSavedMusicIdsRequest
56699
56763
  | tl.account.RawGetUniqueGiftChatThemesRequest
56764
+ | tl.account.RawInitPasskeyRegistrationRequest
56765
+ | tl.account.RawRegisterPasskeyRequest
56766
+ | tl.account.RawGetPasskeysRequest
56767
+ | tl.account.RawDeletePasskeyRequest
56700
56768
  | tl.users.RawGetUsersRequest
56701
56769
  | tl.users.RawGetFullUserRequest
56702
56770
  | tl.users.RawSetSecureValueErrorsRequest
@@ -57159,6 +57227,9 @@ export class RpcError extends Error {
57159
57227
  | tl.payments.RawGetStarGiftAuctionStateRequest
57160
57228
  | tl.payments.RawGetStarGiftAuctionAcquiredGiftsRequest
57161
57229
  | tl.payments.RawGetStarGiftActiveAuctionsRequest
57230
+ | tl.payments.RawResolveStarGiftOfferRequest
57231
+ | tl.payments.RawSendStarGiftOfferRequest
57232
+ | tl.payments.RawGetStarGiftUpgradeAttributesRequest
57162
57233
  | tl.stickers.RawCreateStickerSetRequest
57163
57234
  | tl.stickers.RawRemoveStickerFromSetRequest
57164
57235
  | tl.stickers.RawChangeStickerPositionRequest
@@ -57283,15 +57354,8 @@ export class RpcError extends Error {
57283
57354
  | tl.smsjobs.RawGetSmsJobRequest
57284
57355
  | tl.smsjobs.RawFinishJobRequest
57285
57356
  | tl.fragment.RawGetCollectibleInfoRequest
57286
- | tl.auth.RawInitPasskeyLoginRequest
57287
- | tl.auth.RawFinishPasskeyLoginRequest
57288
- | tl.account.RawInitPasskeyRegistrationRequest
57289
- | tl.account.RawRegisterPasskeyRequest
57290
- | tl.account.RawGetPasskeysRequest
57291
- | tl.account.RawDeletePasskeyRequest
57292
- | tl.payments.RawResolveStarGiftOfferRequest
57293
- | tl.payments.RawSendStarGiftOfferRequest
57294
- | tl.payments.RawGetStarGiftUpgradeAttributesRequest
57357
+ | tl.messages.RawGetEmojiGameInfoRequest
57358
+ | tl.messages.RawSummarizeTextRequest
57295
57359
  | tl.channels.RawCreateForumTopicRequest
57296
57360
  | tl.channels.RawGetForumTopicsRequest
57297
57361
  | tl.channels.RawGetForumTopicsByIDRequest