@tgsnake/skema 2.2.0 → 2.3.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/dist/src/raw/All.d.ts +44 -5
- package/dist/src/raw/All.js +44 -5
- package/dist/src/raw/Raw.d.ts +823 -16
- package/dist/src/raw/Raw.js +2274 -96
- package/package.json +1 -1
package/dist/src/raw/Raw.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare namespace Raw {
|
|
|
39
39
|
* The highest telegram secret chat schema layer.
|
|
40
40
|
*/
|
|
41
41
|
const HighestSCLayer: number;
|
|
42
|
-
type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.auth.CheckPaidAuth | Raw.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample;
|
|
42
|
+
type TypesTLRequest = Raw.ReqPq | Raw.ReqPqMulti | Raw.ReqDhParams | Raw.SetClientDhParams | Raw.DestroyAuthKey | Raw.RpcDropAnswer | Raw.GetFutureSalts | Raw.Ping | Raw.PingDelayDisconnect | Raw.DestroySession | Raw.InvokeAfterMsg | Raw.InvokeAfterMsgs | Raw.InitConnection | Raw.InvokeWithLayer | Raw.InvokeWithoutUpdates | Raw.InvokeWithMessagesRange | Raw.InvokeWithTakeout | Raw.InvokeWithBusinessConnection | Raw.InvokeWithGooglePlayIntegrity | Raw.InvokeWithApnsSecret | Raw.InvokeWithReCaptcha | Raw.auth.SendCode | Raw.auth.SignUp | Raw.auth.SignIn | Raw.auth.LogOut | Raw.auth.ResetAuthorizations | Raw.auth.ExportAuthorization | Raw.auth.ImportAuthorization | Raw.auth.BindTempAuthKey | Raw.auth.ImportBotAuthorization | Raw.auth.CheckPassword | Raw.auth.RequestPasswordRecovery | Raw.auth.RecoverPassword | Raw.auth.ResendCode | Raw.auth.CancelCode | Raw.auth.DropTempAuthKeys | Raw.auth.ExportLoginToken | Raw.auth.ImportLoginToken | Raw.auth.AcceptLoginToken | Raw.auth.CheckRecoveryPassword | Raw.auth.ImportWebTokenAuthorization | Raw.auth.RequestFirebaseSms | Raw.auth.ResetLoginEmail | Raw.auth.ReportMissingCode | Raw.auth.CheckPaidAuth | Raw.auth.InitPasskeyLogin | Raw.auth.FinishPasskeyLogin | Raw.account.RegisterDevice | Raw.account.UnregisterDevice | Raw.account.UpdateNotifySettings | Raw.account.GetNotifySettings | Raw.account.ResetNotifySettings | Raw.account.UpdateProfile | Raw.account.UpdateStatus | Raw.account.GetWallPapers | Raw.account.ReportPeer | Raw.account.CheckUsername | Raw.account.UpdateUsername | Raw.account.GetPrivacy | Raw.account.SetPrivacy | Raw.account.DeleteAccount | Raw.account.GetAccountTTL | Raw.account.SetAccountTTL | Raw.account.SendChangePhoneCode | Raw.account.ChangePhone | Raw.account.UpdateDeviceLocked | Raw.account.GetAuthorizations | Raw.account.ResetAuthorization | Raw.account.GetPassword | Raw.account.GetPasswordSettings | Raw.account.UpdatePasswordSettings | Raw.account.SendConfirmPhoneCode | Raw.account.ConfirmPhone | Raw.account.GetTmpPassword | Raw.account.GetWebAuthorizations | Raw.account.ResetWebAuthorization | Raw.account.ResetWebAuthorizations | Raw.account.GetAllSecureValues | Raw.account.GetSecureValue | Raw.account.SaveSecureValue | Raw.account.DeleteSecureValue | Raw.account.GetAuthorizationForm | Raw.account.AcceptAuthorization | Raw.account.SendVerifyPhoneCode | Raw.account.VerifyPhone | Raw.account.SendVerifyEmailCode | Raw.account.VerifyEmail | Raw.account.InitTakeoutSession | Raw.account.FinishTakeoutSession | Raw.account.ConfirmPasswordEmail | Raw.account.ResendPasswordEmail | Raw.account.CancelPasswordEmail | Raw.account.GetContactSignUpNotification | Raw.account.SetContactSignUpNotification | Raw.account.GetNotifyExceptions | Raw.account.GetWallPaper | Raw.account.UploadWallPaper | Raw.account.SaveWallPaper | Raw.account.InstallWallPaper | Raw.account.ResetWallPapers | Raw.account.GetAutoDownloadSettings | Raw.account.SaveAutoDownloadSettings | Raw.account.UploadTheme | Raw.account.CreateTheme | Raw.account.UpdateTheme | Raw.account.SaveTheme | Raw.account.InstallTheme | Raw.account.GetTheme | Raw.account.GetThemes | Raw.account.SetContentSettings | Raw.account.GetContentSettings | Raw.account.GetMultiWallPapers | Raw.account.GetGlobalPrivacySettings | Raw.account.SetGlobalPrivacySettings | Raw.account.ReportProfilePhoto | Raw.account.ResetPassword | Raw.account.DeclinePasswordReset | Raw.account.GetChatThemes | Raw.account.SetAuthorizationTTL | Raw.account.ChangeAuthorizationSettings | Raw.account.GetSavedRingtones | Raw.account.SaveRingtone | Raw.account.UploadRingtone | Raw.account.UpdateEmojiStatus | Raw.account.GetDefaultEmojiStatuses | Raw.account.GetRecentEmojiStatuses | Raw.account.ClearRecentEmojiStatuses | Raw.account.ReorderUsernames | Raw.account.ToggleUsername | Raw.account.GetDefaultProfilePhotoEmojis | Raw.account.GetDefaultGroupPhotoEmojis | Raw.account.GetAutoSaveSettings | Raw.account.SaveAutoSaveSettings | Raw.account.DeleteAutoSaveExceptions | Raw.account.InvalidateSignInCodes | Raw.account.UpdateColor | Raw.account.GetDefaultBackgroundEmojis | Raw.account.GetChannelDefaultEmojiStatuses | Raw.account.GetChannelRestrictedStatusEmojis | Raw.account.UpdateBusinessWorkHours | Raw.account.UpdateBusinessLocation | Raw.account.UpdateBusinessGreetingMessage | Raw.account.UpdateBusinessAwayMessage | Raw.account.UpdateConnectedBot | Raw.account.GetConnectedBots | Raw.account.GetBotBusinessConnection | Raw.account.UpdateBusinessIntro | Raw.account.ToggleConnectedBotPaused | Raw.account.DisablePeerConnectedBot | Raw.account.UpdateBirthday | Raw.account.CreateBusinessChatLink | Raw.account.EditBusinessChatLink | Raw.account.DeleteBusinessChatLink | Raw.account.GetBusinessChatLinks | Raw.account.ResolveBusinessChatLink | Raw.account.UpdatePersonalChannel | Raw.account.ToggleSponsoredMessages | Raw.account.GetReactionsNotifySettings | Raw.account.SetReactionsNotifySettings | Raw.account.GetCollectibleEmojiStatuses | Raw.account.GetPaidMessagesRevenue | Raw.account.ToggleNoPaidMessagesException | Raw.account.SetMainProfileTab | Raw.account.SaveMusic | Raw.account.GetSavedMusicIds | Raw.account.GetUniqueGiftChatThemes | Raw.account.InitPasskeyRegistration | Raw.account.RegisterPasskey | Raw.account.GetPasskeys | Raw.account.DeletePasskey | Raw.account.ConfirmBotConnection | Raw.account.GetWebBrowserSettings | Raw.account.UpdateWebBrowserSettings | Raw.account.ToggleWebBrowserSettingsException | Raw.account.DeleteWebBrowserSettingsExceptions | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | Raw.users.GetSavedMusic | Raw.users.GetSavedMusicByID | Raw.users.SuggestBirthday | Raw.contacts.GetContactIDs | Raw.contacts.GetStatuses | Raw.contacts.GetContacts | Raw.contacts.ImportContacts | Raw.contacts.DeleteContacts | Raw.contacts.DeleteByPhones | Raw.contacts.Block | Raw.contacts.Unblock | Raw.contacts.GetBlocked | Raw.contacts.Search | Raw.contacts.ResolveUsername | Raw.contacts.GetTopPeers | Raw.contacts.ResetTopPeerRating | Raw.contacts.ResetSaved | Raw.contacts.GetSaved | Raw.contacts.ToggleTopPeers | Raw.contacts.AddContact | Raw.contacts.AcceptContact | Raw.contacts.GetLocated | Raw.contacts.BlockFromReplies | Raw.contacts.ResolvePhone | Raw.contacts.ExportContactToken | Raw.contacts.ImportContactToken | Raw.contacts.EditCloseFriends | Raw.contacts.SetBlocked | Raw.contacts.GetBirthdays | Raw.contacts.GetSponsoredPeers | Raw.contacts.UpdateContactNote | Raw.messages.GetMessages | Raw.messages.GetDialogs | Raw.messages.GetHistory | Raw.messages.Search | Raw.messages.ReadHistory | Raw.messages.DeleteHistory | Raw.messages.DeleteMessages | Raw.messages.ReceivedMessages | Raw.messages.SetTyping | Raw.messages.SendMessage | Raw.messages.SendMedia | Raw.messages.ForwardMessages | Raw.messages.ReportSpam | Raw.messages.GetPeerSettings | Raw.messages.Report | Raw.messages.GetChats | Raw.messages.GetFullChat | Raw.messages.EditChatTitle | Raw.messages.EditChatPhoto | Raw.messages.AddChatUser | Raw.messages.DeleteChatUser | Raw.messages.CreateChat | Raw.messages.GetDhConfig | Raw.messages.RequestEncryption | Raw.messages.AcceptEncryption | Raw.messages.DiscardEncryption | Raw.messages.SetEncryptedTyping | Raw.messages.ReadEncryptedHistory | Raw.messages.SendEncrypted | Raw.messages.SendEncryptedFile | Raw.messages.SendEncryptedService | Raw.messages.ReceivedQueue | Raw.messages.ReportEncryptedSpam | Raw.messages.ReadMessageContents | Raw.messages.GetStickers | Raw.messages.GetAllStickers | Raw.messages.GetWebPagePreview | Raw.messages.ExportChatInvite | Raw.messages.CheckChatInvite | Raw.messages.ImportChatInvite | Raw.messages.GetStickerSet | Raw.messages.InstallStickerSet | Raw.messages.UninstallStickerSet | Raw.messages.StartBot | Raw.messages.GetMessagesViews | Raw.messages.EditChatAdmin | Raw.messages.MigrateChat | Raw.messages.SearchGlobal | Raw.messages.ReorderStickerSets | Raw.messages.GetDocumentByHash | Raw.messages.GetSavedGifs | Raw.messages.SaveGif | Raw.messages.GetInlineBotResults | Raw.messages.SetInlineBotResults | Raw.messages.SendInlineBotResult | Raw.messages.GetMessageEditData | Raw.messages.EditMessage | Raw.messages.EditInlineBotMessage | Raw.messages.GetBotCallbackAnswer | Raw.messages.SetBotCallbackAnswer | Raw.messages.GetPeerDialogs | Raw.messages.SaveDraft | Raw.messages.GetAllDrafts | Raw.messages.GetFeaturedStickers | Raw.messages.ReadFeaturedStickers | Raw.messages.GetRecentStickers | Raw.messages.SaveRecentSticker | Raw.messages.ClearRecentStickers | Raw.messages.GetArchivedStickers | Raw.messages.GetMaskStickers | Raw.messages.GetAttachedStickers | Raw.messages.SetGameScore | Raw.messages.SetInlineGameScore | Raw.messages.GetGameHighScores | Raw.messages.GetInlineGameHighScores | Raw.messages.GetCommonChats | Raw.messages.GetWebPage | Raw.messages.ToggleDialogPin | Raw.messages.ReorderPinnedDialogs | Raw.messages.GetPinnedDialogs | Raw.messages.SetBotShippingResults | Raw.messages.SetBotPrecheckoutResults | Raw.messages.UploadMedia | Raw.messages.SendScreenshotNotification | Raw.messages.GetFavedStickers | Raw.messages.FaveSticker | Raw.messages.GetUnreadMentions | Raw.messages.ReadMentions | Raw.messages.GetRecentLocations | Raw.messages.SendMultiMedia | Raw.messages.UploadEncryptedFile | Raw.messages.SearchStickerSets | Raw.messages.GetSplitRanges | Raw.messages.MarkDialogUnread | Raw.messages.GetDialogUnreadMarks | Raw.messages.ClearAllDrafts | Raw.messages.UpdatePinnedMessage | Raw.messages.SendVote | Raw.messages.GetPollResults | Raw.messages.GetOnlines | Raw.messages.EditChatAbout | Raw.messages.EditChatDefaultBannedRights | Raw.messages.GetEmojiKeywords | Raw.messages.GetEmojiKeywordsDifference | Raw.messages.GetEmojiKeywordsLanguages | Raw.messages.GetEmojiURL | Raw.messages.GetSearchCounters | Raw.messages.RequestUrlAuth | Raw.messages.AcceptUrlAuth | Raw.messages.HidePeerSettingsBar | Raw.messages.GetScheduledHistory | Raw.messages.GetScheduledMessages | Raw.messages.SendScheduledMessages | Raw.messages.DeleteScheduledMessages | Raw.messages.GetPollVotes | Raw.messages.ToggleStickerSets | Raw.messages.GetDialogFilters | Raw.messages.GetSuggestedDialogFilters | Raw.messages.UpdateDialogFilter | Raw.messages.UpdateDialogFiltersOrder | Raw.messages.GetOldFeaturedStickers | Raw.messages.GetReplies | Raw.messages.GetDiscussionMessage | Raw.messages.ReadDiscussion | Raw.messages.UnpinAllMessages | Raw.messages.DeleteChat | Raw.messages.DeletePhoneCallHistory | Raw.messages.CheckHistoryImport | Raw.messages.InitHistoryImport | Raw.messages.UploadImportedMedia | Raw.messages.StartHistoryImport | Raw.messages.GetExportedChatInvites | Raw.messages.GetExportedChatInvite | Raw.messages.EditExportedChatInvite | Raw.messages.DeleteRevokedExportedChatInvites | Raw.messages.DeleteExportedChatInvite | Raw.messages.GetAdminsWithInvites | Raw.messages.GetChatInviteImporters | Raw.messages.SetHistoryTTL | Raw.messages.CheckHistoryImportPeer | Raw.messages.SetChatTheme | Raw.messages.GetMessageReadParticipants | Raw.messages.GetSearchResultsCalendar | Raw.messages.GetSearchResultsPositions | Raw.messages.HideChatJoinRequest | Raw.messages.HideAllChatJoinRequests | Raw.messages.ToggleNoForwards | Raw.messages.SaveDefaultSendAs | Raw.messages.SendReaction | Raw.messages.GetMessagesReactions | Raw.messages.GetMessageReactionsList | Raw.messages.SetChatAvailableReactions | Raw.messages.GetAvailableReactions | Raw.messages.SetDefaultReaction | Raw.messages.TranslateText | Raw.messages.GetUnreadReactions | Raw.messages.ReadReactions | Raw.messages.SearchSentMedia | Raw.messages.GetAttachMenuBots | Raw.messages.GetAttachMenuBot | Raw.messages.ToggleBotInAttachMenu | Raw.messages.RequestWebView | Raw.messages.ProlongWebView | Raw.messages.RequestSimpleWebView | Raw.messages.SendWebViewResultMessage | Raw.messages.SendWebViewData | Raw.messages.TranscribeAudio | Raw.messages.RateTranscribedAudio | Raw.messages.GetCustomEmojiDocuments | Raw.messages.GetEmojiStickers | Raw.messages.GetFeaturedEmojiStickers | Raw.messages.ReportReaction | Raw.messages.GetTopReactions | Raw.messages.GetRecentReactions | Raw.messages.ClearRecentReactions | Raw.messages.GetExtendedMedia | Raw.messages.SetDefaultHistoryTTL | Raw.messages.GetDefaultHistoryTTL | Raw.messages.SendBotRequestedPeer | Raw.messages.GetEmojiGroups | Raw.messages.GetEmojiStatusGroups | Raw.messages.GetEmojiProfilePhotoGroups | Raw.messages.SearchCustomEmoji | Raw.messages.TogglePeerTranslations | Raw.messages.GetBotApp | Raw.messages.RequestAppWebView | Raw.messages.SetChatWallPaper | Raw.messages.SearchEmojiStickerSets | Raw.messages.GetSavedDialogs | Raw.messages.GetSavedHistory | Raw.messages.DeleteSavedHistory | Raw.messages.GetPinnedSavedDialogs | Raw.messages.ToggleSavedDialogPin | Raw.messages.ReorderPinnedSavedDialogs | Raw.messages.GetSavedReactionTags | Raw.messages.UpdateSavedReactionTag | Raw.messages.GetDefaultTagReactions | Raw.messages.GetOutboxReadDate | Raw.messages.GetQuickReplies | Raw.messages.ReorderQuickReplies | Raw.messages.CheckQuickReplyShortcut | Raw.messages.EditQuickReplyShortcut | Raw.messages.DeleteQuickReplyShortcut | Raw.messages.GetQuickReplyMessages | Raw.messages.SendQuickReplyMessages | Raw.messages.DeleteQuickReplyMessages | Raw.messages.ToggleDialogFilterTags | Raw.messages.GetMyStickers | Raw.messages.GetEmojiStickerGroups | Raw.messages.GetAvailableEffects | Raw.messages.EditFactCheck | Raw.messages.DeleteFactCheck | Raw.messages.GetFactCheck | Raw.messages.RequestMainWebView | Raw.messages.SendPaidReaction | Raw.messages.TogglePaidReactionPrivacy | Raw.messages.GetPaidReactionPrivacy | Raw.messages.ViewSponsoredMessage | Raw.messages.ClickSponsoredMessage | Raw.messages.ReportSponsoredMessage | Raw.messages.GetSponsoredMessages | Raw.messages.SavePreparedInlineMessage | Raw.messages.GetPreparedInlineMessage | Raw.messages.SearchStickers | Raw.messages.ReportMessagesDelivery | Raw.messages.GetSavedDialogsByID | Raw.messages.ReadSavedHistory | Raw.messages.ToggleTodoCompleted | Raw.messages.AppendTodoList | Raw.messages.ToggleSuggestedPostApproval | Raw.messages.GetForumTopics | Raw.messages.GetForumTopicsByID | Raw.messages.EditForumTopic | Raw.messages.UpdatePinnedForumTopic | Raw.messages.ReorderPinnedForumTopics | Raw.messages.CreateForumTopic | Raw.messages.DeleteTopicHistory | Raw.messages.GetEmojiGameInfo | Raw.messages.SummarizeText | Raw.messages.EditChatCreator | Raw.messages.GetFutureChatCreatorAfterLeave | Raw.messages.EditChatParticipantRank | Raw.messages.DeclineUrlAuth | Raw.messages.CheckUrlAuthMatchCode | Raw.messages.ComposeMessageWithAI | Raw.messages.ReportReadMetrics | Raw.messages.ReportMusicListen | Raw.messages.AddPollAnswer | Raw.messages.DeletePollAnswer | Raw.messages.GetUnreadPollVotes | Raw.messages.ReadPollVotes | Raw.messages.SetBotGuestChatResult | Raw.messages.DeleteParticipantReactions | Raw.messages.DeleteParticipantReaction | Raw.messages.GetPersonalChannelHistory | Raw.messages.GetRichMessage | Raw.messages.TranslateRichMessage | Raw.messages.ComposeRichMessageWithAI | Raw.messages.RequestChatJoinWebView | Raw.updates.GetState | Raw.updates.GetDifference | Raw.updates.GetChannelDifference | Raw.photos.UpdateProfilePhoto | Raw.photos.UploadProfilePhoto | Raw.photos.DeletePhotos | Raw.photos.GetUserPhotos | Raw.photos.UploadContactProfilePhoto | Raw.upload.SaveFilePart | Raw.upload.GetFile | Raw.upload.SaveBigFilePart | Raw.upload.GetWebFile | Raw.upload.GetCdnFile | Raw.upload.ReuploadCdnFile | Raw.upload.GetCdnFileHashes | Raw.upload.GetFileHashes | Raw.help.GetConfig | Raw.help.GetNearestDc | Raw.help.GetAppUpdate | Raw.help.GetInviteText | Raw.help.GetSupport | Raw.help.SetBotUpdatesStatus | Raw.help.GetCdnConfig | Raw.help.GetRecentMeUrls | Raw.help.GetTermsOfServiceUpdate | Raw.help.AcceptTermsOfService | Raw.help.GetDeepLinkInfo | Raw.help.GetAppConfig | Raw.help.SaveAppLog | Raw.help.GetPassportConfig | Raw.help.GetSupportName | Raw.help.GetUserInfo | Raw.help.EditUserInfo | Raw.help.GetPromoData | Raw.help.HidePromoData | Raw.help.DismissSuggestion | Raw.help.GetCountriesList | Raw.help.GetPremiumPromo | Raw.help.GetPeerColors | Raw.help.GetPeerProfileColors | Raw.help.GetTimezonesList | Raw.channels.ReadHistory | Raw.channels.DeleteMessages | Raw.channels.ReportSpam | Raw.channels.GetMessages | Raw.channels.GetParticipants | Raw.channels.GetParticipant | Raw.channels.GetChannels | Raw.channels.GetFullChannel | Raw.channels.CreateChannel | Raw.channels.EditAdmin | Raw.channels.EditTitle | Raw.channels.EditPhoto | Raw.channels.CheckUsername | Raw.channels.UpdateUsername | Raw.channels.JoinChannel | Raw.channels.LeaveChannel | Raw.channels.InviteToChannel | Raw.channels.DeleteChannel | Raw.channels.ExportMessageLink | Raw.channels.ToggleSignatures | Raw.channels.GetAdminedPublicChannels | Raw.channels.EditBanned | Raw.channels.GetAdminLog | Raw.channels.SetStickers | Raw.channels.ReadMessageContents | Raw.channels.DeleteHistory | Raw.channels.TogglePreHistoryHidden | Raw.channels.GetLeftChannels | Raw.channels.GetGroupsForDiscussion | Raw.channels.SetDiscussionGroup | Raw.channels.EditLocation | Raw.channels.ToggleSlowMode | Raw.channels.GetInactiveChannels | Raw.channels.ConvertToGigagroup | Raw.channels.GetSendAs | Raw.channels.DeleteParticipantHistory | Raw.channels.ToggleJoinToSend | Raw.channels.ToggleJoinRequest | Raw.channels.ReorderUsernames | Raw.channels.ToggleUsername | Raw.channels.DeactivateAllUsernames | Raw.channels.ToggleForum | Raw.channels.ToggleAntiSpam | Raw.channels.ReportAntiSpamFalsePositive | Raw.channels.ToggleParticipantsHidden | Raw.channels.UpdateColor | Raw.channels.ToggleViewForumAsMessages | Raw.channels.GetChannelRecommendations | Raw.channels.UpdateEmojiStatus | Raw.channels.SetBoostsToUnblockRestrictions | Raw.channels.SetEmojiStickers | Raw.channels.RestrictSponsoredMessages | Raw.channels.SearchPosts | Raw.channels.UpdatePaidMessagesPrice | Raw.channels.ToggleAutotranslation | Raw.channels.GetMessageAuthor | Raw.channels.CheckSearchPostsFlood | Raw.channels.SetMainProfileTab | Raw.bots.SendCustomRequest | Raw.bots.AnswerWebhookJSONQuery | Raw.bots.SetBotCommands | Raw.bots.ResetBotCommands | Raw.bots.GetBotCommands | Raw.bots.SetBotMenuButton | Raw.bots.GetBotMenuButton | Raw.bots.SetBotBroadcastDefaultAdminRights | Raw.bots.SetBotGroupDefaultAdminRights | Raw.bots.SetBotInfo | Raw.bots.GetBotInfo | Raw.bots.ReorderUsernames | Raw.bots.ToggleUsername | Raw.bots.CanSendMessage | Raw.bots.AllowSendMessage | Raw.bots.InvokeWebViewCustomMethod | Raw.bots.GetPopularAppBots | Raw.bots.AddPreviewMedia | Raw.bots.EditPreviewMedia | Raw.bots.DeletePreviewMedia | Raw.bots.ReorderPreviewMedias | Raw.bots.GetPreviewInfo | Raw.bots.GetPreviewMedias | Raw.bots.UpdateUserEmojiStatus | Raw.bots.ToggleUserEmojiStatusPermission | Raw.bots.CheckDownloadFileParams | Raw.bots.GetAdminedBots | Raw.bots.UpdateStarRefProgram | Raw.bots.SetCustomVerification | Raw.bots.GetBotRecommendations | Raw.bots.CheckUsername | Raw.bots.CreateBot | Raw.bots.ExportBotToken | Raw.bots.RequestWebViewButton | Raw.bots.GetRequestedWebViewButton | Raw.bots.GetAccessSettings | Raw.bots.EditAccessSettings | Raw.bots.SetJoinChatResults | Raw.payments.GetPaymentForm | Raw.payments.GetPaymentReceipt | Raw.payments.ValidateRequestedInfo | Raw.payments.SendPaymentForm | Raw.payments.GetSavedInfo | Raw.payments.ClearSavedInfo | Raw.payments.GetBankCardData | Raw.payments.ExportInvoice | Raw.payments.AssignAppStoreTransaction | Raw.payments.AssignPlayMarketTransaction | Raw.payments.GetPremiumGiftCodeOptions | Raw.payments.CheckGiftCode | Raw.payments.ApplyGiftCode | Raw.payments.GetGiveawayInfo | Raw.payments.LaunchPrepaidGiveaway | Raw.payments.GetStarsTopupOptions | Raw.payments.GetStarsStatus | Raw.payments.GetStarsTransactions | Raw.payments.SendStarsForm | Raw.payments.RefundStarsCharge | Raw.payments.GetStarsRevenueStats | Raw.payments.GetStarsRevenueWithdrawalUrl | Raw.payments.GetStarsRevenueAdsAccountUrl | Raw.payments.GetStarsTransactionsByID | Raw.payments.GetStarsGiftOptions | Raw.payments.GetStarsSubscriptions | Raw.payments.ChangeStarsSubscription | Raw.payments.FulfillStarsSubscription | Raw.payments.GetStarsGiveawayOptions | Raw.payments.GetStarGifts | Raw.payments.SaveStarGift | Raw.payments.ConvertStarGift | Raw.payments.BotCancelStarsSubscription | Raw.payments.GetConnectedStarRefBots | Raw.payments.GetConnectedStarRefBot | Raw.payments.GetSuggestedStarRefBots | Raw.payments.ConnectStarRefBot | Raw.payments.EditConnectedStarRefBot | Raw.payments.GetStarGiftUpgradePreview | Raw.payments.UpgradeStarGift | Raw.payments.TransferStarGift | Raw.payments.GetUniqueStarGift | Raw.payments.GetSavedStarGifts | Raw.payments.GetSavedStarGift | Raw.payments.GetStarGiftWithdrawalUrl | Raw.payments.ToggleChatStarGiftNotifications | Raw.payments.ToggleStarGiftsPinnedToTop | Raw.payments.CanPurchaseStore | Raw.payments.GetResaleStarGifts | Raw.payments.UpdateStarGiftPrice | Raw.payments.CreateStarGiftCollection | Raw.payments.UpdateStarGiftCollection | Raw.payments.ReorderStarGiftCollections | Raw.payments.DeleteStarGiftCollection | Raw.payments.GetStarGiftCollections | Raw.payments.GetUniqueStarGiftValueInfo | Raw.payments.CheckCanSendGift | Raw.payments.GetStarGiftAuctionState | Raw.payments.GetStarGiftAuctionAcquiredGifts | Raw.payments.GetStarGiftActiveAuctions | Raw.payments.ResolveStarGiftOffer | Raw.payments.SendStarGiftOffer | Raw.payments.GetStarGiftUpgradeAttributes | Raw.payments.GetCraftStarGifts | Raw.payments.CraftStarGift | Raw.stickers.CreateStickerSet | Raw.stickers.RemoveStickerFromSet | Raw.stickers.ChangeStickerPosition | Raw.stickers.AddStickerToSet | Raw.stickers.SetStickerSetThumb | Raw.stickers.CheckShortName | Raw.stickers.SuggestShortName | Raw.stickers.ChangeSticker | Raw.stickers.RenameStickerSet | Raw.stickers.DeleteStickerSet | Raw.stickers.ReplaceSticker | Raw.phone.GetCallConfig | Raw.phone.RequestCall | Raw.phone.AcceptCall | Raw.phone.ConfirmCall | Raw.phone.ReceivedCall | Raw.phone.DiscardCall | Raw.phone.SetCallRating | Raw.phone.SaveCallDebug | Raw.phone.SendSignalingData | Raw.phone.CreateGroupCall | Raw.phone.JoinGroupCall | Raw.phone.LeaveGroupCall | Raw.phone.InviteToGroupCall | Raw.phone.DiscardGroupCall | Raw.phone.ToggleGroupCallSettings | Raw.phone.GetGroupCall | Raw.phone.GetGroupParticipants | Raw.phone.CheckGroupCall | Raw.phone.ToggleGroupCallRecord | Raw.phone.EditGroupCallParticipant | Raw.phone.EditGroupCallTitle | Raw.phone.GetGroupCallJoinAs | Raw.phone.ExportGroupCallInvite | Raw.phone.ToggleGroupCallStartSubscription | Raw.phone.StartScheduledGroupCall | Raw.phone.SaveDefaultGroupCallJoinAs | Raw.phone.JoinGroupCallPresentation | Raw.phone.LeaveGroupCallPresentation | Raw.phone.GetGroupCallStreamChannels | Raw.phone.GetGroupCallStreamRtmpUrl | Raw.phone.SaveCallLog | Raw.phone.CreateConferenceCall | Raw.phone.DeleteConferenceCallParticipants | Raw.phone.SendConferenceCallBroadcast | Raw.phone.InviteConferenceCallParticipant | Raw.phone.DeclineConferenceCallInvite | Raw.phone.GetGroupCallChainBlocks | Raw.phone.SendGroupCallMessage | Raw.phone.SendGroupCallEncryptedMessage | Raw.phone.DeleteGroupCallMessages | Raw.phone.DeleteGroupCallParticipantMessages | Raw.phone.GetGroupCallStars | Raw.phone.SaveDefaultSendAs | Raw.langpack.GetLangPack | Raw.langpack.GetStrings | Raw.langpack.GetDifference | Raw.langpack.GetLanguages | Raw.langpack.GetLanguage | Raw.folders.EditPeerFolders | Raw.stats.GetBroadcastStats | Raw.stats.LoadAsyncGraph | Raw.stats.GetMegagroupStats | Raw.stats.GetMessagePublicForwards | Raw.stats.GetMessageStats | Raw.stats.GetStoryStats | Raw.stats.GetStoryPublicForwards | Raw.stats.GetPollStats | Raw.chatlists.ExportChatlistInvite | Raw.chatlists.DeleteExportedInvite | Raw.chatlists.EditExportedInvite | Raw.chatlists.GetExportedInvites | Raw.chatlists.CheckChatlistInvite | Raw.chatlists.JoinChatlistInvite | Raw.chatlists.GetChatlistUpdates | Raw.chatlists.JoinChatlistUpdates | Raw.chatlists.HideChatlistUpdates | Raw.chatlists.GetLeaveChatlistSuggestions | Raw.chatlists.LeaveChatlist | Raw.stories.CanSendStory | Raw.stories.SendStory | Raw.stories.EditStory | Raw.stories.DeleteStories | Raw.stories.TogglePinned | Raw.stories.GetAllStories | Raw.stories.GetPinnedStories | Raw.stories.GetStoriesArchive | Raw.stories.GetStoriesByID | Raw.stories.ToggleAllStoriesHidden | Raw.stories.ReadStories | Raw.stories.IncrementStoryViews | Raw.stories.GetStoryViewsList | Raw.stories.GetStoriesViews | Raw.stories.ExportStoryLink | Raw.stories.Report | Raw.stories.ActivateStealthMode | Raw.stories.SendReaction | Raw.stories.GetPeerStories | Raw.stories.GetAllReadPeerStories | Raw.stories.GetPeerMaxIDs | Raw.stories.GetChatsToSend | Raw.stories.TogglePeerStoriesHidden | Raw.stories.GetStoryReactionsList | Raw.stories.TogglePinnedToTop | Raw.stories.SearchPosts | Raw.stories.CreateAlbum | Raw.stories.UpdateAlbum | Raw.stories.ReorderAlbums | Raw.stories.DeleteAlbum | Raw.stories.GetAlbums | Raw.stories.GetAlbumStories | Raw.stories.StartLive | Raw.premium.GetBoostsList | Raw.premium.GetMyBoosts | Raw.premium.ApplyBoost | Raw.premium.GetBoostsStatus | Raw.premium.GetUserBoosts | Raw.smsjobs.IsEligibleToJoin | Raw.smsjobs.Join | Raw.smsjobs.Leave | Raw.smsjobs.UpdateSettings | Raw.smsjobs.GetStatus | Raw.smsjobs.GetSmsJob | Raw.smsjobs.FinishJob | Raw.fragment.GetCollectibleInfo | Raw.aicompose.CreateTone | Raw.aicompose.UpdateTone | Raw.aicompose.SaveTone | Raw.aicompose.DeleteTone | Raw.aicompose.GetTone | Raw.aicompose.GetTones | Raw.aicompose.GetToneExample | Raw.communities.Create | Raw.communities.TogglePeerLink | Raw.communities.GetJoinedCommunities | Raw.communities.ToggleCommunityCollapsedInDialogs | Raw.communities.GetPeerLinkRequests | Raw.communities.TogglePeerLinkRequestApproval | Raw.communities.ToggleAllPeerLinkRequestApproval | Raw.communities.ToggleParticipantBanned | Raw.communities.GetParticipantJoinedChats | Raw.ephemeral.SendMessage | Raw.ephemeral.DeleteMessage | Raw.ephemeral.ReportMessage | Raw.ephemeral.GetCallbackAnswer;
|
|
43
43
|
type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
|
|
44
44
|
type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
|
|
45
45
|
type TypeDecryptedMessageAction = Raw.DecryptedMessageActionSetMessageTTL8 | Raw.DecryptedMessageActionReadMessages8 | Raw.DecryptedMessageActionDeleteMessages8 | Raw.DecryptedMessageActionScreenshotMessages8 | Raw.DecryptedMessageActionFlushHistory8 | Raw.DecryptedMessageActionResend17 | Raw.DecryptedMessageActionNotifyLayer17 | Raw.DecryptedMessageActionTyping17 | Raw.DecryptedMessageActionRequestKey20 | Raw.DecryptedMessageActionAcceptKey20 | Raw.DecryptedMessageActionAbortKey20 | Raw.DecryptedMessageActionCommitKey20 | Raw.DecryptedMessageActionNoop20;
|
|
@@ -71,11 +71,12 @@ export declare namespace Raw {
|
|
|
71
71
|
type TypeInputFileLocation = Raw.InputFileLocation | Raw.InputEncryptedFileLocation | Raw.InputDocumentFileLocation | Raw.InputSecureFileLocation | Raw.InputTakeoutFileLocation | Raw.InputPhotoFileLocation | Raw.InputPhotoLegacyFileLocation | Raw.InputPeerPhotoFileLocation | Raw.InputStickerSetThumb | Raw.InputGroupCallStream;
|
|
72
72
|
type TypeChannelMessagesFilter = Raw.ChannelMessagesFilterEmpty | Raw.ChannelMessagesFilter;
|
|
73
73
|
type TypeInputMessageReadMetric = Raw.InputMessageReadMetric;
|
|
74
|
-
type TypeInputAiComposeTone = Raw.InputAiComposeToneDefault | Raw.InputAiComposeToneID | Raw.InputAiComposeToneSlug;
|
|
74
|
+
type TypeInputAiComposeTone = Raw.InputAiComposeToneDefault | Raw.InputAiComposeToneID | Raw.InputAiComposeToneSlug | Raw.InputAiComposeToneSingleUse;
|
|
75
75
|
type TypeOutboxReadDate = Raw.OutboxReadDate;
|
|
76
76
|
type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
|
|
77
77
|
type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
|
|
78
78
|
type TypeWebViewMessageSent = Raw.WebViewMessageSent;
|
|
79
|
+
type TypeWebViewResult = Raw.WebViewResultUrl;
|
|
79
80
|
type TypeAttachMenuBotsBot = Raw.AttachMenuBotsBot;
|
|
80
81
|
type TypeAttachMenuBots = Raw.AttachMenuBotsNotModified | Raw.AttachMenuBots;
|
|
81
82
|
type TypeReadParticipantDate = Raw.ReadParticipantDate;
|
|
@@ -88,7 +89,7 @@ export declare namespace Raw {
|
|
|
88
89
|
type TypeChatOnlines = Raw.ChatOnlines;
|
|
89
90
|
type TypeInputSingleMedia = Raw.InputSingleMedia;
|
|
90
91
|
type TypeInputStickeredMedia = Raw.InputStickeredMediaPhoto | Raw.InputStickeredMediaDocument;
|
|
91
|
-
type TypeInputDialogPeer = Raw.InputDialogPeer | Raw.InputDialogPeerFolder;
|
|
92
|
+
type TypeInputDialogPeer = Raw.InputDialogPeer | Raw.InputDialogPeerFolder | Raw.InputDialogPeerCommunity;
|
|
92
93
|
type TypeInputBotInlineResult = Raw.InputBotInlineResult | Raw.InputBotInlineResultPhoto | Raw.InputBotInlineResultDocument | Raw.InputBotInlineResultGame;
|
|
93
94
|
type TypeInputEncryptedFile = Raw.InputEncryptedFileEmpty | Raw.InputEncryptedFileUploaded | Raw.InputEncryptedFile | Raw.InputEncryptedFileBigUploaded;
|
|
94
95
|
type TypeInputEncryptedChat = Raw.InputEncryptedChat;
|
|
@@ -120,14 +121,14 @@ export declare namespace Raw {
|
|
|
120
121
|
type TypeInputPrivacyKey = Raw.InputPrivacyKeyStatusTimestamp | Raw.InputPrivacyKeyChatInvite | Raw.InputPrivacyKeyPhoneCall | Raw.InputPrivacyKeyPhoneP2P | Raw.InputPrivacyKeyForwards | Raw.InputPrivacyKeyProfilePhoto | Raw.InputPrivacyKeyPhoneNumber | Raw.InputPrivacyKeyAddedByPhone | Raw.InputPrivacyKeyVoiceMessages | Raw.InputPrivacyKeyAbout | Raw.InputPrivacyKeyBirthday | Raw.InputPrivacyKeyStarGiftsAutoSave | Raw.InputPrivacyKeyNoPaidMessages | Raw.InputPrivacyKeySavedMusic;
|
|
121
122
|
type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
|
|
122
123
|
type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
|
|
123
|
-
type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic;
|
|
124
|
+
type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic | Raw.InputNotifyCommunity;
|
|
124
125
|
type TypeInputPasskeyCredential = Raw.InputPasskeyCredentialPublicKey | Raw.InputPasskeyCredentialFirebasePNV;
|
|
125
126
|
type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
|
|
126
127
|
type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
|
|
127
128
|
type TypeCodeSettings = Raw.CodeSettings;
|
|
128
129
|
type TypeInputClientProxy = Raw.InputClientProxy;
|
|
130
|
+
type TypeCommunityPeerRequest = Raw.CommunityPeerRequest;
|
|
129
131
|
type TypeInputRichFile = Raw.InputRichFilePhoto | Raw.InputRichFileDocument;
|
|
130
|
-
type TypeWebViewResult = Raw.WebViewResultUrl;
|
|
131
132
|
type TypeAiComposeTone = Raw.AiComposeTone | Raw.AiComposeToneDefault;
|
|
132
133
|
type TypeAiComposeToneExample = Raw.AiComposeToneExample;
|
|
133
134
|
type TypeInputPasskeyResponse = Raw.InputPasskeyResponseRegister | Raw.InputPasskeyResponseLogin;
|
|
@@ -254,10 +255,10 @@ export declare namespace Raw {
|
|
|
254
255
|
type TypePageBlock = Raw.PageBlockUnsupported | Raw.PageBlockTitle | Raw.PageBlockSubtitle | Raw.PageBlockAuthorDate | Raw.PageBlockHeader | Raw.PageBlockSubheader | Raw.PageBlockParagraph | Raw.PageBlockPreformatted | Raw.PageBlockFooter | Raw.PageBlockDivider | Raw.PageBlockAnchor | Raw.PageBlockList | Raw.PageBlockBlockquote | Raw.PageBlockPullquote | Raw.PageBlockPhoto | Raw.PageBlockVideo | Raw.PageBlockCover | Raw.PageBlockEmbed | Raw.PageBlockEmbedPost | Raw.PageBlockCollage | Raw.PageBlockSlideshow | Raw.PageBlockChannel | Raw.PageBlockAudio | Raw.PageBlockKicker | Raw.PageBlockTable | Raw.PageBlockOrderedList | Raw.PageBlockDetails | Raw.PageBlockRelatedArticles | Raw.PageBlockMap | Raw.PageBlockHeading1 | Raw.PageBlockHeading2 | Raw.PageBlockHeading3 | Raw.PageBlockHeading4 | Raw.PageBlockHeading5 | Raw.PageBlockHeading6 | Raw.PageBlockMath | Raw.PageBlockThinking | Raw.InputPageBlockMap | Raw.PageBlockBlockquoteBlocks;
|
|
255
256
|
type TypePageCaption = Raw.PageCaption;
|
|
256
257
|
type TypePageListItem = Raw.PageListItemText | Raw.PageListItemBlocks;
|
|
257
|
-
type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate;
|
|
258
|
+
type TypeRichText = Raw.TextEmpty | Raw.TextPlain | Raw.TextBold | Raw.TextItalic | Raw.TextUnderline | Raw.TextStrike | Raw.TextFixed | Raw.TextUrl | Raw.TextEmail | Raw.TextConcat | Raw.TextSubscript | Raw.TextSuperscript | Raw.TextMarked | Raw.TextPhone | Raw.TextImage | Raw.TextAnchor | Raw.TextMath | Raw.TextCustomEmoji | Raw.TextSpoiler | Raw.TextMention | Raw.TextHashtag | Raw.TextBotCommand | Raw.TextCashtag | Raw.TextAutoUrl | Raw.TextAutoEmail | Raw.TextAutoPhone | Raw.TextBankCard | Raw.TextMentionName | Raw.TextDate | Raw.TextDiff;
|
|
258
259
|
type TypeHighScore = Raw.HighScore;
|
|
259
260
|
type TypeStickerSetCovered = Raw.StickerSetCovered | Raw.StickerSetMultiCovered | Raw.StickerSetFullCovered | Raw.StickerSetNoCovered;
|
|
260
|
-
type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum;
|
|
261
|
+
type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory | Raw.InputReplyToMonoForum | Raw.InputReplyToEphemeralMessage;
|
|
261
262
|
type TypeTopPeerCategoryPeers = Raw.TopPeerCategoryPeers;
|
|
262
263
|
type TypeTopPeer = Raw.TopPeer;
|
|
263
264
|
type TypeTopPeerCategory = Raw.TopPeerCategoryBotsPM | Raw.TopPeerCategoryBotsInline | Raw.TopPeerCategoryCorrespondents | Raw.TopPeerCategoryGroups | Raw.TopPeerCategoryChannels | Raw.TopPeerCategoryPhoneCalls | Raw.TopPeerCategoryForwardUsers | Raw.TopPeerCategoryForwardChats | Raw.TopPeerCategoryBotsApp | Raw.TopPeerCategoryBotsGuestChat;
|
|
@@ -287,7 +288,8 @@ export declare namespace Raw {
|
|
|
287
288
|
type TypeInputRichMessage = Raw.InputRichMessage | Raw.InputRichMessageHTML | Raw.InputRichMessageMarkdown;
|
|
288
289
|
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
|
|
289
290
|
type TypeFileHash = Raw.FileHash;
|
|
290
|
-
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | UpdateSecretChatMessage;
|
|
291
|
+
type TypeUpdate = Raw.UpdateNewMessage | Raw.UpdateMessageID | Raw.UpdateDeleteMessages | Raw.UpdateUserTyping | Raw.UpdateChatUserTyping | Raw.UpdateChatParticipants | Raw.UpdateUserStatus | Raw.UpdateUserName | Raw.UpdateNewAuthorization | Raw.UpdateNewEncryptedMessage | Raw.UpdateEncryptedChatTyping | Raw.UpdateEncryption | Raw.UpdateEncryptedMessagesRead | Raw.UpdateChatParticipantAdd | Raw.UpdateChatParticipantDelete | Raw.UpdateDcOptions | Raw.UpdateNotifySettings | Raw.UpdateServiceNotification | Raw.UpdatePrivacy | Raw.UpdateUserPhone | Raw.UpdateReadHistoryInbox | Raw.UpdateReadHistoryOutbox | Raw.UpdateWebPage | Raw.UpdateReadMessagesContents | Raw.UpdateChannelTooLong | Raw.UpdateChannel | Raw.UpdateNewChannelMessage | Raw.UpdateReadChannelInbox | Raw.UpdateDeleteChannelMessages | Raw.UpdateChannelMessageViews | Raw.UpdateChatParticipantAdmin | Raw.UpdateNewStickerSet | Raw.UpdateStickerSetsOrder | Raw.UpdateStickerSets | Raw.UpdateSavedGifs | Raw.UpdateBotInlineQuery | Raw.UpdateBotInlineSend | Raw.UpdateEditChannelMessage | Raw.UpdateBotCallbackQuery | Raw.UpdateEditMessage | Raw.UpdateInlineBotCallbackQuery | Raw.UpdateReadChannelOutbox | Raw.UpdateDraftMessage | Raw.UpdateReadFeaturedStickers | Raw.UpdateRecentStickers | Raw.UpdateConfig | Raw.UpdatePtsChanged | Raw.UpdateChannelWebPage | Raw.UpdateDialogPinned | Raw.UpdatePinnedDialogs | Raw.UpdateBotWebhookJSON | Raw.UpdateBotWebhookJSONQuery | Raw.UpdateBotShippingQuery | Raw.UpdateBotPrecheckoutQuery | Raw.UpdatePhoneCall | Raw.UpdateLangPackTooLong | Raw.UpdateLangPack | Raw.UpdateFavedStickers | Raw.UpdateChannelReadMessagesContents | Raw.UpdateContactsReset | Raw.UpdateChannelAvailableMessages | Raw.UpdateDialogUnreadMark | Raw.UpdateMessagePoll | Raw.UpdateChatDefaultBannedRights | Raw.UpdateFolderPeers | Raw.UpdatePeerSettings | Raw.UpdatePeerLocated | Raw.UpdateNewScheduledMessage | Raw.UpdateDeleteScheduledMessages | Raw.UpdateTheme | Raw.UpdateGeoLiveViewed | Raw.UpdateLoginToken | Raw.UpdateMessagePollVote | Raw.UpdateDialogFilter | Raw.UpdateDialogFilterOrder | Raw.UpdateDialogFilters | Raw.UpdatePhoneCallSignalingData | Raw.UpdateChannelMessageForwards | Raw.UpdateReadChannelDiscussionInbox | Raw.UpdateReadChannelDiscussionOutbox | Raw.UpdatePeerBlocked | Raw.UpdateChannelUserTyping | Raw.UpdatePinnedMessages | Raw.UpdatePinnedChannelMessages | Raw.UpdateChat | Raw.UpdateGroupCallParticipants | Raw.UpdateGroupCall | Raw.UpdatePeerHistoryTTL | Raw.UpdateChatParticipant | Raw.UpdateChannelParticipant | Raw.UpdateBotStopped | Raw.UpdateGroupCallConnection | Raw.UpdateBotCommands | Raw.UpdatePendingJoinRequests | Raw.UpdateBotChatInviteRequester | Raw.UpdateMessageReactions | Raw.UpdateAttachMenuBots | Raw.UpdateWebViewResultSent | Raw.UpdateBotMenuButton | Raw.UpdateSavedRingtones | Raw.UpdateTranscribedAudio | Raw.UpdateReadFeaturedEmojiStickers | Raw.UpdateUserEmojiStatus | Raw.UpdateRecentEmojiStatuses | Raw.UpdateRecentReactions | Raw.UpdateMoveStickerSetToTop | Raw.UpdateMessageExtendedMedia | Raw.UpdateUser | Raw.UpdateAutoSaveSettings | Raw.UpdateStory | Raw.UpdateReadStories | Raw.UpdateStoryID | Raw.UpdateStoriesStealthMode | Raw.UpdateSentStoryReaction | Raw.UpdateBotChatBoost | Raw.UpdateChannelViewForumAsMessages | Raw.UpdatePeerWallpaper | Raw.UpdateBotMessageReaction | Raw.UpdateBotMessageReactions | Raw.UpdateSavedDialogPinned | Raw.UpdatePinnedSavedDialogs | Raw.UpdateSavedReactionTags | Raw.UpdateSmsJob | Raw.UpdateQuickReplies | Raw.UpdateNewQuickReply | Raw.UpdateDeleteQuickReply | Raw.UpdateQuickReplyMessage | Raw.UpdateDeleteQuickReplyMessages | Raw.UpdateBotBusinessConnect | Raw.UpdateBotNewBusinessMessage | Raw.UpdateBotEditBusinessMessage | Raw.UpdateBotDeleteBusinessMessage | Raw.UpdateNewStoryReaction | Raw.UpdateStarsBalance | Raw.UpdateBusinessBotCallbackQuery | Raw.UpdateStarsRevenueStatus | Raw.UpdateBotPurchasedPaidMedia | Raw.UpdatePaidReactionPrivacy | Raw.UpdateSentPhoneCode | Raw.UpdateGroupCallChainBlocks | Raw.UpdateReadMonoForumInbox | Raw.UpdateReadMonoForumOutbox | Raw.UpdateMonoForumNoPaidException | Raw.UpdateGroupCallMessage | Raw.UpdateGroupCallEncryptedMessage | Raw.UpdatePinnedForumTopic | Raw.UpdatePinnedForumTopics | Raw.UpdateDeleteGroupCallMessages | Raw.UpdateStarGiftAuctionState | Raw.UpdateStarGiftAuctionUserState | Raw.UpdateEmojiGameInfo | Raw.UpdateStarGiftCraftFail | Raw.UpdateChatParticipantRank | Raw.UpdateManagedBot | Raw.UpdateBotGuestChatQuery | Raw.UpdateAiComposeTones | Raw.UpdateJoinChatWebViewDecision | Raw.UpdateNewBotConnection | Raw.UpdateWebBrowserSettings | Raw.UpdateWebBrowserException | Raw.UpdateNewEphemeralMessage | Raw.UpdateDeleteEphemeralMessages | Raw.UpdateEditEphemeralMessage | Raw.UpdateBotStarsSubscription | UpdateSecretChatMessage;
|
|
292
|
+
type TypeEphemeralMessage = Raw.EphemeralMessage;
|
|
291
293
|
type TypeWebDomainException = Raw.WebDomainException;
|
|
292
294
|
type TypeJoinChatBotResult = Raw.JoinChatBotResultApproved | Raw.JoinChatBotResultDeclined | Raw.JoinChatBotResultQueued | Raw.JoinChatBotResultWebView;
|
|
293
295
|
type TypeStarGiftAuctionUserState = Raw.StarGiftAuctionUserState;
|
|
@@ -313,22 +315,22 @@ export declare namespace Raw {
|
|
|
313
315
|
type TypeLangPackDifference = Raw.LangPackDifference;
|
|
314
316
|
type TypePhoneCall = Raw.PhoneCallEmpty | Raw.PhoneCallWaiting | Raw.PhoneCallRequested | Raw.PhoneCallAccepted | Raw.PhoneCall | Raw.PhoneCallDiscarded;
|
|
315
317
|
type TypePostAddress = Raw.PostAddress;
|
|
316
|
-
type TypeDialogPeer = Raw.DialogPeer | Raw.DialogPeerFolder;
|
|
318
|
+
type TypeDialogPeer = Raw.DialogPeer | Raw.DialogPeerFolder | Raw.DialogPeerCommunity;
|
|
317
319
|
type TypeInputBotInlineMessageID = Raw.InputBotInlineMessageID | Raw.InputBotInlineMessageID64;
|
|
318
320
|
type TypeInlineQueryPeerType = Raw.InlineQueryPeerTypeSameBotPM | Raw.InlineQueryPeerTypePM | Raw.InlineQueryPeerTypeChat | Raw.InlineQueryPeerTypeMegagroup | Raw.InlineQueryPeerTypeBroadcast | Raw.InlineQueryPeerTypeBotPM;
|
|
319
321
|
type TypePrivacyRule = Raw.PrivacyValueAllowContacts | Raw.PrivacyValueAllowAll | Raw.PrivacyValueAllowUsers | Raw.PrivacyValueDisallowContacts | Raw.PrivacyValueDisallowAll | Raw.PrivacyValueDisallowUsers | Raw.PrivacyValueAllowChatParticipants | Raw.PrivacyValueDisallowChatParticipants | Raw.PrivacyValueAllowCloseFriends | Raw.PrivacyValueAllowPremium | Raw.PrivacyValueAllowBots | Raw.PrivacyValueDisallowBots;
|
|
320
322
|
type TypePrivacyKey = Raw.PrivacyKeyStatusTimestamp | Raw.PrivacyKeyChatInvite | Raw.PrivacyKeyPhoneCall | Raw.PrivacyKeyPhoneP2P | Raw.PrivacyKeyForwards | Raw.PrivacyKeyProfilePhoto | Raw.PrivacyKeyPhoneNumber | Raw.PrivacyKeyAddedByPhone | Raw.PrivacyKeyVoiceMessages | Raw.PrivacyKeyAbout | Raw.PrivacyKeyBirthday | Raw.PrivacyKeyStarGiftsAutoSave | Raw.PrivacyKeyNoPaidMessages | Raw.PrivacyKeySavedMusic;
|
|
321
|
-
type TypeNotifyPeer = Raw.NotifyPeer | Raw.NotifyUsers | Raw.NotifyChats | Raw.NotifyBroadcasts | Raw.NotifyForumTopic;
|
|
323
|
+
type TypeNotifyPeer = Raw.NotifyPeer | Raw.NotifyUsers | Raw.NotifyChats | Raw.NotifyBroadcasts | Raw.NotifyForumTopic | Raw.NotifyCommunity;
|
|
322
324
|
type TypeDcOption = Raw.DcOption;
|
|
323
325
|
type TypeEncryptedChat = Raw.EncryptedChatEmpty | Raw.EncryptedChatWaiting | Raw.EncryptedChatRequested | Raw.EncryptedChat | Raw.EncryptedChatDiscarded;
|
|
324
326
|
type TypeEncryptedMessage = Raw.EncryptedMessage | Raw.EncryptedMessageService;
|
|
325
327
|
type TypeSendMessageAction = Raw.SendMessageTypingAction | Raw.SendMessageCancelAction | Raw.SendMessageRecordVideoAction | Raw.SendMessageUploadVideoAction | Raw.SendMessageRecordAudioAction | Raw.SendMessageUploadAudioAction | Raw.SendMessageUploadPhotoAction | Raw.SendMessageUploadDocumentAction | Raw.SendMessageGeoLocationAction | Raw.SendMessageChooseContactAction | Raw.SendMessageGamePlayAction | Raw.SendMessageRecordRoundAction | Raw.SendMessageUploadRoundAction | Raw.SpeakingInGroupCallAction | Raw.SendMessageHistoryImportAction | Raw.SendMessageChooseStickerAction | Raw.SendMessageEmojiInteraction | Raw.SendMessageEmojiInteractionSeen | Raw.SendMessageTextDraftAction | Raw.InputSendMessageRichMessageDraftAction | Raw.SendMessageRichMessageDraftAction | Raw.SendMessageUploadVideoAction17 | Raw.SendMessageUploadAudioAction17 | Raw.SendMessageUploadPhotoAction17 | Raw.SendMessageUploadDocumentAction17 | Raw.SendMessageUploadRoundAction66;
|
|
326
|
-
type TypeChatFull = Raw.ChatFull | Raw.ChannelFull;
|
|
328
|
+
type TypeChatFull = Raw.ChatFull | Raw.ChannelFull | Raw.CommunityFull;
|
|
327
329
|
type TypeSearchPostsFlood = Raw.SearchPostsFlood;
|
|
328
330
|
type TypeForumTopic = Raw.ForumTopicDeleted | Raw.ForumTopic;
|
|
329
331
|
type TypeMessage = Raw.MessageEmpty | Raw.Message | Raw.MessageService;
|
|
330
|
-
type TypeDialog = Raw.Dialog | Raw.DialogFolder;
|
|
331
|
-
type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden;
|
|
332
|
+
type TypeDialog = Raw.Dialog | Raw.DialogFolder | Raw.DialogCommunity;
|
|
333
|
+
type TypeChat = Raw.ChatEmpty | Raw.Chat | Raw.ChatForbidden | Raw.Channel | Raw.ChannelForbidden | Raw.CommunityForbidden | Raw.Community;
|
|
332
334
|
type TypePeerBlocked = Raw.PeerBlocked;
|
|
333
335
|
type TypePopularContact = Raw.PopularContact;
|
|
334
336
|
type TypeImportedContact = Raw.ImportedContact;
|
|
@@ -371,7 +373,7 @@ export declare namespace Raw {
|
|
|
371
373
|
type TypeWebPage = Raw.WebPageEmpty | Raw.WebPagePending | Raw.WebPage | Raw.WebPageNotModified;
|
|
372
374
|
type TypeGeoPoint = Raw.GeoPointEmpty | Raw.GeoPoint;
|
|
373
375
|
type TypeDocument = Raw.DocumentEmpty | Raw.Document;
|
|
374
|
-
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated;
|
|
376
|
+
type TypeMessageAction = Raw.MessageActionEmpty | Raw.MessageActionChatCreate | Raw.MessageActionChatEditTitle | Raw.MessageActionChatEditPhoto | Raw.MessageActionChatDeletePhoto | Raw.MessageActionChatAddUser | Raw.MessageActionChatDeleteUser | Raw.MessageActionChatJoinedByLink | Raw.MessageActionChannelCreate | Raw.MessageActionChatMigrateTo | Raw.MessageActionChannelMigrateFrom | Raw.MessageActionPinMessage | Raw.MessageActionHistoryClear | Raw.MessageActionGameScore | Raw.MessageActionPaymentSentMe | Raw.MessageActionPaymentSent | Raw.MessageActionPhoneCall | Raw.MessageActionScreenshotTaken | Raw.MessageActionCustomAction | Raw.MessageActionBotAllowed | Raw.MessageActionSecureValuesSentMe | Raw.MessageActionSecureValuesSent | Raw.MessageActionContactSignUp | Raw.MessageActionGeoProximityReached | Raw.MessageActionGroupCall | Raw.MessageActionInviteToGroupCall | Raw.MessageActionSetMessagesTTL | Raw.MessageActionGroupCallScheduled | Raw.MessageActionSetChatTheme | Raw.MessageActionChatJoinedByRequest | Raw.MessageActionWebViewDataSentMe | Raw.MessageActionWebViewDataSent | Raw.MessageActionGiftPremium | Raw.MessageActionTopicCreate | Raw.MessageActionTopicEdit | Raw.MessageActionSuggestProfilePhoto | Raw.MessageActionRequestedPeer | Raw.MessageActionSetChatWallPaper | Raw.MessageActionGiftCode | Raw.MessageActionGiveawayLaunch | Raw.MessageActionGiveawayResults | Raw.MessageActionBoostApply | Raw.MessageActionRequestedPeerSentMe | Raw.MessageActionPaymentRefunded | Raw.MessageActionGiftStars | Raw.MessageActionPrizeStars | Raw.MessageActionStarGift | Raw.MessageActionStarGiftUnique | Raw.MessageActionPaidMessagesRefunded | Raw.MessageActionPaidMessagesPrice | Raw.MessageActionConferenceCall | Raw.MessageActionTodoCompletions | Raw.MessageActionTodoAppendTasks | Raw.MessageActionSuggestedPostApproval | Raw.MessageActionSuggestedPostSuccess | Raw.MessageActionSuggestedPostRefund | Raw.MessageActionGiftTon | Raw.MessageActionSuggestBirthday | Raw.MessageActionStarGiftPurchaseOffer | Raw.MessageActionStarGiftPurchaseOfferDeclined | Raw.MessageActionNewCreatorPending | Raw.MessageActionChangeCreator | Raw.MessageActionNoForwardsToggle | Raw.MessageActionNoForwardsRequest | Raw.MessageActionPollAppendAnswer | Raw.MessageActionPollDeleteAnswer | Raw.MessageActionManagedBotCreated | Raw.MessageActionChangeCommunity;
|
|
375
377
|
type TypeRichMessage = Raw.RichMessage;
|
|
376
378
|
type TypeSuggestedPost = Raw.SuggestedPost;
|
|
377
379
|
type TypeFactCheck = Raw.FactCheck;
|
|
@@ -382,6 +384,7 @@ export declare namespace Raw {
|
|
|
382
384
|
type TypeMessageReplyHeader = Raw.MessageReplyHeader | Raw.MessageReplyStoryHeader;
|
|
383
385
|
type TypeMessageFwdHeader = Raw.MessageFwdHeader;
|
|
384
386
|
type TypeChatParticipant = Raw.ChatParticipant | Raw.ChatParticipantCreator | Raw.ChatParticipantAdmin;
|
|
387
|
+
type TypeCommunityPeer = Raw.CommunityPeer;
|
|
385
388
|
type TypeProfileTab = Raw.ProfileTabPosts | Raw.ProfileTabGifts | Raw.ProfileTabMedia | Raw.ProfileTabFiles | Raw.ProfileTabMusic | Raw.ProfileTabVoice | Raw.ProfileTabLinks | Raw.ProfileTabGifs;
|
|
386
389
|
type TypeBotVerification = Raw.BotVerification;
|
|
387
390
|
type TypeWallPaper = Raw.WallPaper | Raw.WallPaperNoFile;
|
|
@@ -2437,6 +2440,7 @@ export declare namespace Raw {
|
|
|
2437
2440
|
botActiveUsers?: int;
|
|
2438
2441
|
botVerificationIcon?: long;
|
|
2439
2442
|
sendPaidMessagesStars?: long;
|
|
2443
|
+
linkedCommunityId?: long;
|
|
2440
2444
|
constructor(params: {
|
|
2441
2445
|
self?: boolean;
|
|
2442
2446
|
contact?: boolean;
|
|
@@ -2488,6 +2492,7 @@ export declare namespace Raw {
|
|
|
2488
2492
|
botActiveUsers?: int;
|
|
2489
2493
|
botVerificationIcon?: long;
|
|
2490
2494
|
sendPaidMessagesStars?: long;
|
|
2495
|
+
linkedCommunityId?: long;
|
|
2491
2496
|
});
|
|
2492
2497
|
/**
|
|
2493
2498
|
* Generate the TLObject from buffer.
|
|
@@ -2746,6 +2751,7 @@ export declare namespace Raw {
|
|
|
2746
2751
|
botVerificationIcon?: long;
|
|
2747
2752
|
sendPaidMessagesStars?: long;
|
|
2748
2753
|
linkedMonoforumId?: long;
|
|
2754
|
+
linkedCommunityId?: long;
|
|
2749
2755
|
constructor(params: {
|
|
2750
2756
|
creator?: boolean;
|
|
2751
2757
|
left?: boolean;
|
|
@@ -2796,6 +2802,7 @@ export declare namespace Raw {
|
|
|
2796
2802
|
botVerificationIcon?: long;
|
|
2797
2803
|
sendPaidMessagesStars?: long;
|
|
2798
2804
|
linkedMonoforumId?: long;
|
|
2805
|
+
linkedCommunityId?: long;
|
|
2799
2806
|
});
|
|
2800
2807
|
/**
|
|
2801
2808
|
* Generate the TLObject from buffer.
|
|
@@ -2834,6 +2841,60 @@ export declare namespace Raw {
|
|
|
2834
2841
|
*/
|
|
2835
2842
|
write(): Buffer;
|
|
2836
2843
|
}
|
|
2844
|
+
class CommunityForbidden extends TLObject {
|
|
2845
|
+
id: long;
|
|
2846
|
+
accessHash?: long;
|
|
2847
|
+
title: string;
|
|
2848
|
+
constructor(params: {
|
|
2849
|
+
id: long;
|
|
2850
|
+
accessHash?: long;
|
|
2851
|
+
title: string;
|
|
2852
|
+
});
|
|
2853
|
+
/**
|
|
2854
|
+
* Generate the TLObject from buffer.
|
|
2855
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
2856
|
+
*/
|
|
2857
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.CommunityForbidden>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Generate buffer from TLObject.
|
|
2860
|
+
*/
|
|
2861
|
+
write(): Buffer;
|
|
2862
|
+
}
|
|
2863
|
+
class Community extends TLObject {
|
|
2864
|
+
creator?: boolean;
|
|
2865
|
+
left?: boolean;
|
|
2866
|
+
min?: boolean;
|
|
2867
|
+
collapsedInDialogs?: boolean;
|
|
2868
|
+
id: long;
|
|
2869
|
+
accessHash?: long;
|
|
2870
|
+
title: string;
|
|
2871
|
+
photo: Raw.TypeChatPhoto;
|
|
2872
|
+
date: int;
|
|
2873
|
+
adminRights?: Raw.TypeChatAdminRights;
|
|
2874
|
+
defaultBannedRights?: Raw.TypeChatBannedRights;
|
|
2875
|
+
constructor(params: {
|
|
2876
|
+
creator?: boolean;
|
|
2877
|
+
left?: boolean;
|
|
2878
|
+
min?: boolean;
|
|
2879
|
+
collapsedInDialogs?: boolean;
|
|
2880
|
+
id: long;
|
|
2881
|
+
accessHash?: long;
|
|
2882
|
+
title: string;
|
|
2883
|
+
photo: Raw.TypeChatPhoto;
|
|
2884
|
+
date: int;
|
|
2885
|
+
adminRights?: Raw.TypeChatAdminRights;
|
|
2886
|
+
defaultBannedRights?: Raw.TypeChatBannedRights;
|
|
2887
|
+
});
|
|
2888
|
+
/**
|
|
2889
|
+
* Generate the TLObject from buffer.
|
|
2890
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
2891
|
+
*/
|
|
2892
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.Community>;
|
|
2893
|
+
/**
|
|
2894
|
+
* Generate buffer from TLObject.
|
|
2895
|
+
*/
|
|
2896
|
+
write(): Buffer;
|
|
2897
|
+
}
|
|
2837
2898
|
class ChatFull extends TLObject {
|
|
2838
2899
|
canSetUsername?: boolean;
|
|
2839
2900
|
hasScheduled?: boolean;
|
|
@@ -3034,6 +3095,33 @@ export declare namespace Raw {
|
|
|
3034
3095
|
*/
|
|
3035
3096
|
write(): Buffer;
|
|
3036
3097
|
}
|
|
3098
|
+
class CommunityFull extends TLObject {
|
|
3099
|
+
id: long;
|
|
3100
|
+
about: string;
|
|
3101
|
+
chatPhoto: Raw.TypePhoto;
|
|
3102
|
+
linkedPeers: Vector<Raw.TypeCommunityPeer>;
|
|
3103
|
+
adminsCount?: int;
|
|
3104
|
+
kickedCount?: int;
|
|
3105
|
+
peerLinkRequestsPending?: int;
|
|
3106
|
+
constructor(params: {
|
|
3107
|
+
id: long;
|
|
3108
|
+
about: string;
|
|
3109
|
+
chatPhoto: Raw.TypePhoto;
|
|
3110
|
+
linkedPeers: Vector<Raw.TypeCommunityPeer>;
|
|
3111
|
+
adminsCount?: int;
|
|
3112
|
+
kickedCount?: int;
|
|
3113
|
+
peerLinkRequestsPending?: int;
|
|
3114
|
+
});
|
|
3115
|
+
/**
|
|
3116
|
+
* Generate the TLObject from buffer.
|
|
3117
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
3118
|
+
*/
|
|
3119
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.CommunityFull>;
|
|
3120
|
+
/**
|
|
3121
|
+
* Generate buffer from TLObject.
|
|
3122
|
+
*/
|
|
3123
|
+
write(): Buffer;
|
|
3124
|
+
}
|
|
3037
3125
|
class ChatParticipant extends TLObject {
|
|
3038
3126
|
userId: long;
|
|
3039
3127
|
inviterId: long;
|
|
@@ -4996,6 +5084,21 @@ export declare namespace Raw {
|
|
|
4996
5084
|
*/
|
|
4997
5085
|
write(): Buffer;
|
|
4998
5086
|
}
|
|
5087
|
+
class MessageActionChangeCommunity extends TLObject {
|
|
5088
|
+
communityId?: long;
|
|
5089
|
+
constructor(params: {
|
|
5090
|
+
communityId?: long;
|
|
5091
|
+
});
|
|
5092
|
+
/**
|
|
5093
|
+
* Generate the TLObject from buffer.
|
|
5094
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
5095
|
+
*/
|
|
5096
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.MessageActionChangeCommunity>;
|
|
5097
|
+
/**
|
|
5098
|
+
* Generate buffer from TLObject.
|
|
5099
|
+
*/
|
|
5100
|
+
write(): Buffer;
|
|
5101
|
+
}
|
|
4999
5102
|
class Dialog extends TLObject {
|
|
5000
5103
|
pinned?: boolean;
|
|
5001
5104
|
unreadMark?: boolean;
|
|
@@ -5070,6 +5173,25 @@ export declare namespace Raw {
|
|
|
5070
5173
|
*/
|
|
5071
5174
|
write(): Buffer;
|
|
5072
5175
|
}
|
|
5176
|
+
class DialogCommunity extends TLObject {
|
|
5177
|
+
pinned?: boolean;
|
|
5178
|
+
communityId: long;
|
|
5179
|
+
notifySettings: Raw.TypePeerNotifySettings;
|
|
5180
|
+
constructor(params: {
|
|
5181
|
+
pinned?: boolean;
|
|
5182
|
+
communityId: long;
|
|
5183
|
+
notifySettings: Raw.TypePeerNotifySettings;
|
|
5184
|
+
});
|
|
5185
|
+
/**
|
|
5186
|
+
* Generate the TLObject from buffer.
|
|
5187
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
5188
|
+
*/
|
|
5189
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.DialogCommunity>;
|
|
5190
|
+
/**
|
|
5191
|
+
* Generate buffer from TLObject.
|
|
5192
|
+
*/
|
|
5193
|
+
write(): Buffer;
|
|
5194
|
+
}
|
|
5073
5195
|
class PhotoEmpty extends TLObject {
|
|
5074
5196
|
id: long;
|
|
5075
5197
|
constructor(params: {
|
|
@@ -5327,6 +5449,21 @@ export declare namespace Raw {
|
|
|
5327
5449
|
*/
|
|
5328
5450
|
write(): Buffer;
|
|
5329
5451
|
}
|
|
5452
|
+
class InputNotifyCommunity extends TLObject {
|
|
5453
|
+
community: Raw.TypeInputChannel;
|
|
5454
|
+
constructor(params: {
|
|
5455
|
+
community: Raw.TypeInputChannel;
|
|
5456
|
+
});
|
|
5457
|
+
/**
|
|
5458
|
+
* Generate the TLObject from buffer.
|
|
5459
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
5460
|
+
*/
|
|
5461
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputNotifyCommunity>;
|
|
5462
|
+
/**
|
|
5463
|
+
* Generate buffer from TLObject.
|
|
5464
|
+
*/
|
|
5465
|
+
write(): Buffer;
|
|
5466
|
+
}
|
|
5330
5467
|
class InputPeerNotifySettings extends TLObject {
|
|
5331
5468
|
showPreviews?: Bool;
|
|
5332
5469
|
silent?: Bool;
|
|
@@ -8931,6 +9068,78 @@ export declare namespace Raw {
|
|
|
8931
9068
|
*/
|
|
8932
9069
|
write(): Buffer;
|
|
8933
9070
|
}
|
|
9071
|
+
class UpdateNewEphemeralMessage extends TLObject {
|
|
9072
|
+
message: Raw.TypeEphemeralMessage;
|
|
9073
|
+
constructor(params: {
|
|
9074
|
+
message: Raw.TypeEphemeralMessage;
|
|
9075
|
+
});
|
|
9076
|
+
/**
|
|
9077
|
+
* Generate the TLObject from buffer.
|
|
9078
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
9079
|
+
*/
|
|
9080
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateNewEphemeralMessage>;
|
|
9081
|
+
/**
|
|
9082
|
+
* Generate buffer from TLObject.
|
|
9083
|
+
*/
|
|
9084
|
+
write(): Buffer;
|
|
9085
|
+
}
|
|
9086
|
+
class UpdateDeleteEphemeralMessages extends TLObject {
|
|
9087
|
+
peer: Raw.TypePeer;
|
|
9088
|
+
ids: Vector<int>;
|
|
9089
|
+
constructor(params: {
|
|
9090
|
+
peer: Raw.TypePeer;
|
|
9091
|
+
ids: Vector<int>;
|
|
9092
|
+
});
|
|
9093
|
+
/**
|
|
9094
|
+
* Generate the TLObject from buffer.
|
|
9095
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
9096
|
+
*/
|
|
9097
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateDeleteEphemeralMessages>;
|
|
9098
|
+
/**
|
|
9099
|
+
* Generate buffer from TLObject.
|
|
9100
|
+
*/
|
|
9101
|
+
write(): Buffer;
|
|
9102
|
+
}
|
|
9103
|
+
class UpdateEditEphemeralMessage extends TLObject {
|
|
9104
|
+
message: Raw.TypeEphemeralMessage;
|
|
9105
|
+
constructor(params: {
|
|
9106
|
+
message: Raw.TypeEphemeralMessage;
|
|
9107
|
+
});
|
|
9108
|
+
/**
|
|
9109
|
+
* Generate the TLObject from buffer.
|
|
9110
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
9111
|
+
*/
|
|
9112
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateEditEphemeralMessage>;
|
|
9113
|
+
/**
|
|
9114
|
+
* Generate buffer from TLObject.
|
|
9115
|
+
*/
|
|
9116
|
+
write(): Buffer;
|
|
9117
|
+
}
|
|
9118
|
+
class UpdateBotStarsSubscription extends TLObject {
|
|
9119
|
+
canceled?: boolean;
|
|
9120
|
+
paymentFailed?: boolean;
|
|
9121
|
+
restored?: boolean;
|
|
9122
|
+
userId: long;
|
|
9123
|
+
payload: bytes;
|
|
9124
|
+
qts: int;
|
|
9125
|
+
constructor(params: {
|
|
9126
|
+
canceled?: boolean;
|
|
9127
|
+
paymentFailed?: boolean;
|
|
9128
|
+
restored?: boolean;
|
|
9129
|
+
userId: long;
|
|
9130
|
+
payload: bytes;
|
|
9131
|
+
qts: int;
|
|
9132
|
+
});
|
|
9133
|
+
/**
|
|
9134
|
+
* Generate the TLObject from buffer.
|
|
9135
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
9136
|
+
*/
|
|
9137
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.UpdateBotStarsSubscription>;
|
|
9138
|
+
/**
|
|
9139
|
+
* Generate buffer from TLObject.
|
|
9140
|
+
*/
|
|
9141
|
+
write(): Buffer;
|
|
9142
|
+
}
|
|
8934
9143
|
class UpdatesTooLong extends TLObject {
|
|
8935
9144
|
constructor();
|
|
8936
9145
|
/**
|
|
@@ -9705,6 +9914,21 @@ export declare namespace Raw {
|
|
|
9705
9914
|
*/
|
|
9706
9915
|
write(): Buffer;
|
|
9707
9916
|
}
|
|
9917
|
+
class NotifyCommunity extends TLObject {
|
|
9918
|
+
communityId: long;
|
|
9919
|
+
constructor(params: {
|
|
9920
|
+
communityId: long;
|
|
9921
|
+
});
|
|
9922
|
+
/**
|
|
9923
|
+
* Generate the TLObject from buffer.
|
|
9924
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
9925
|
+
*/
|
|
9926
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.NotifyCommunity>;
|
|
9927
|
+
/**
|
|
9928
|
+
* Generate buffer from TLObject.
|
|
9929
|
+
*/
|
|
9930
|
+
write(): Buffer;
|
|
9931
|
+
}
|
|
9708
9932
|
class SendMessageTypingAction extends TLObject {
|
|
9709
9933
|
constructor();
|
|
9710
9934
|
/**
|
|
@@ -11341,9 +11565,11 @@ export declare namespace Raw {
|
|
|
11341
11565
|
write(): Buffer;
|
|
11342
11566
|
}
|
|
11343
11567
|
class BotCommand extends TLObject {
|
|
11568
|
+
ephemeral?: boolean;
|
|
11344
11569
|
command: string;
|
|
11345
11570
|
description: string;
|
|
11346
11571
|
constructor(params: {
|
|
11572
|
+
ephemeral?: boolean;
|
|
11347
11573
|
command: string;
|
|
11348
11574
|
description: string;
|
|
11349
11575
|
});
|
|
@@ -14168,6 +14394,23 @@ export declare namespace Raw {
|
|
|
14168
14394
|
*/
|
|
14169
14395
|
write(): Buffer;
|
|
14170
14396
|
}
|
|
14397
|
+
class TextDiff extends TLObject {
|
|
14398
|
+
text: Raw.TypeRichText;
|
|
14399
|
+
oldText: Raw.TypeRichText;
|
|
14400
|
+
constructor(params: {
|
|
14401
|
+
text: Raw.TypeRichText;
|
|
14402
|
+
oldText: Raw.TypeRichText;
|
|
14403
|
+
});
|
|
14404
|
+
/**
|
|
14405
|
+
* Generate the TLObject from buffer.
|
|
14406
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
14407
|
+
*/
|
|
14408
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.TextDiff>;
|
|
14409
|
+
/**
|
|
14410
|
+
* Generate buffer from TLObject.
|
|
14411
|
+
*/
|
|
14412
|
+
write(): Buffer;
|
|
14413
|
+
}
|
|
14171
14414
|
class PageBlockUnsupported extends TLObject {
|
|
14172
14415
|
constructor();
|
|
14173
14416
|
/**
|
|
@@ -16843,6 +17086,21 @@ export declare namespace Raw {
|
|
|
16843
17086
|
*/
|
|
16844
17087
|
write(): Buffer;
|
|
16845
17088
|
}
|
|
17089
|
+
class InputDialogPeerCommunity extends TLObject {
|
|
17090
|
+
community: Raw.TypeInputChannel;
|
|
17091
|
+
constructor(params: {
|
|
17092
|
+
community: Raw.TypeInputChannel;
|
|
17093
|
+
});
|
|
17094
|
+
/**
|
|
17095
|
+
* Generate the TLObject from buffer.
|
|
17096
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
17097
|
+
*/
|
|
17098
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputDialogPeerCommunity>;
|
|
17099
|
+
/**
|
|
17100
|
+
* Generate buffer from TLObject.
|
|
17101
|
+
*/
|
|
17102
|
+
write(): Buffer;
|
|
17103
|
+
}
|
|
16846
17104
|
class DialogPeer extends TLObject {
|
|
16847
17105
|
peer: Raw.TypePeer;
|
|
16848
17106
|
constructor(params: {
|
|
@@ -16873,6 +17131,21 @@ export declare namespace Raw {
|
|
|
16873
17131
|
*/
|
|
16874
17132
|
write(): Buffer;
|
|
16875
17133
|
}
|
|
17134
|
+
class DialogPeerCommunity extends TLObject {
|
|
17135
|
+
communityId: long;
|
|
17136
|
+
constructor(params: {
|
|
17137
|
+
communityId: long;
|
|
17138
|
+
});
|
|
17139
|
+
/**
|
|
17140
|
+
* Generate the TLObject from buffer.
|
|
17141
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
17142
|
+
*/
|
|
17143
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.DialogPeerCommunity>;
|
|
17144
|
+
/**
|
|
17145
|
+
* Generate buffer from TLObject.
|
|
17146
|
+
*/
|
|
17147
|
+
write(): Buffer;
|
|
17148
|
+
}
|
|
16876
17149
|
class FileHash extends TLObject {
|
|
16877
17150
|
offset: long;
|
|
16878
17151
|
limit: int;
|
|
@@ -18163,6 +18436,7 @@ export declare namespace Raw {
|
|
|
18163
18436
|
deleteStories?: boolean;
|
|
18164
18437
|
manageDirectMessages?: boolean;
|
|
18165
18438
|
manageRanks?: boolean;
|
|
18439
|
+
manageLinkedPeers?: boolean;
|
|
18166
18440
|
constructor(params: {
|
|
18167
18441
|
changeInfo?: boolean;
|
|
18168
18442
|
postMessages?: boolean;
|
|
@@ -18181,6 +18455,7 @@ export declare namespace Raw {
|
|
|
18181
18455
|
deleteStories?: boolean;
|
|
18182
18456
|
manageDirectMessages?: boolean;
|
|
18183
18457
|
manageRanks?: boolean;
|
|
18458
|
+
manageLinkedPeers?: boolean;
|
|
18184
18459
|
});
|
|
18185
18460
|
/**
|
|
18186
18461
|
* Generate the TLObject from buffer.
|
|
@@ -18215,6 +18490,7 @@ export declare namespace Raw {
|
|
|
18215
18490
|
sendPlain?: boolean;
|
|
18216
18491
|
editRank?: boolean;
|
|
18217
18492
|
sendReactions?: boolean;
|
|
18493
|
+
manageLinkedPeers?: boolean;
|
|
18218
18494
|
untilDate: int;
|
|
18219
18495
|
constructor(params: {
|
|
18220
18496
|
viewMessages?: boolean;
|
|
@@ -18239,6 +18515,7 @@ export declare namespace Raw {
|
|
|
18239
18515
|
sendPlain?: boolean;
|
|
18240
18516
|
editRank?: boolean;
|
|
18241
18517
|
sendReactions?: boolean;
|
|
18518
|
+
manageLinkedPeers?: boolean;
|
|
18242
18519
|
untilDate: int;
|
|
18243
18520
|
});
|
|
18244
18521
|
/**
|
|
@@ -22074,6 +22351,21 @@ export declare namespace Raw {
|
|
|
22074
22351
|
*/
|
|
22075
22352
|
write(): Buffer;
|
|
22076
22353
|
}
|
|
22354
|
+
class InputReplyToEphemeralMessage extends TLObject {
|
|
22355
|
+
id: int;
|
|
22356
|
+
constructor(params: {
|
|
22357
|
+
id: int;
|
|
22358
|
+
});
|
|
22359
|
+
/**
|
|
22360
|
+
* Generate the TLObject from buffer.
|
|
22361
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
22362
|
+
*/
|
|
22363
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputReplyToEphemeralMessage>;
|
|
22364
|
+
/**
|
|
22365
|
+
* Generate buffer from TLObject.
|
|
22366
|
+
*/
|
|
22367
|
+
write(): Buffer;
|
|
22368
|
+
}
|
|
22077
22369
|
class ExportedStoryLink extends TLObject {
|
|
22078
22370
|
link: string;
|
|
22079
22371
|
constructor(params: {
|
|
@@ -25626,6 +25918,21 @@ export declare namespace Raw {
|
|
|
25626
25918
|
*/
|
|
25627
25919
|
write(): Buffer;
|
|
25628
25920
|
}
|
|
25921
|
+
class InputAiComposeToneSingleUse extends TLObject {
|
|
25922
|
+
customPrompt: string;
|
|
25923
|
+
constructor(params: {
|
|
25924
|
+
customPrompt: string;
|
|
25925
|
+
});
|
|
25926
|
+
/**
|
|
25927
|
+
* Generate the TLObject from buffer.
|
|
25928
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
25929
|
+
*/
|
|
25930
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.InputAiComposeToneSingleUse>;
|
|
25931
|
+
/**
|
|
25932
|
+
* Generate buffer from TLObject.
|
|
25933
|
+
*/
|
|
25934
|
+
write(): Buffer;
|
|
25935
|
+
}
|
|
25629
25936
|
class AiComposeTone extends TLObject {
|
|
25630
25937
|
creator?: boolean;
|
|
25631
25938
|
id: long;
|
|
@@ -25891,6 +26198,83 @@ export declare namespace Raw {
|
|
|
25891
26198
|
*/
|
|
25892
26199
|
write(): Buffer;
|
|
25893
26200
|
}
|
|
26201
|
+
class CommunityPeer extends TLObject {
|
|
26202
|
+
canViewHistory?: boolean;
|
|
26203
|
+
visible?: Bool;
|
|
26204
|
+
peer: Raw.TypePeer;
|
|
26205
|
+
constructor(params: {
|
|
26206
|
+
canViewHistory?: boolean;
|
|
26207
|
+
visible?: Bool;
|
|
26208
|
+
peer: Raw.TypePeer;
|
|
26209
|
+
});
|
|
26210
|
+
/**
|
|
26211
|
+
* Generate the TLObject from buffer.
|
|
26212
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
26213
|
+
*/
|
|
26214
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.CommunityPeer>;
|
|
26215
|
+
/**
|
|
26216
|
+
* Generate buffer from TLObject.
|
|
26217
|
+
*/
|
|
26218
|
+
write(): Buffer;
|
|
26219
|
+
}
|
|
26220
|
+
class CommunityPeerRequest extends TLObject {
|
|
26221
|
+
visible?: boolean;
|
|
26222
|
+
peer: Raw.TypePeer;
|
|
26223
|
+
requestedBy: long;
|
|
26224
|
+
date: int;
|
|
26225
|
+
constructor(params: {
|
|
26226
|
+
visible?: boolean;
|
|
26227
|
+
peer: Raw.TypePeer;
|
|
26228
|
+
requestedBy: long;
|
|
26229
|
+
date: int;
|
|
26230
|
+
});
|
|
26231
|
+
/**
|
|
26232
|
+
* Generate the TLObject from buffer.
|
|
26233
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
26234
|
+
*/
|
|
26235
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.CommunityPeerRequest>;
|
|
26236
|
+
/**
|
|
26237
|
+
* Generate buffer from TLObject.
|
|
26238
|
+
*/
|
|
26239
|
+
write(): Buffer;
|
|
26240
|
+
}
|
|
26241
|
+
class EphemeralMessage extends TLObject {
|
|
26242
|
+
out?: boolean;
|
|
26243
|
+
id: int;
|
|
26244
|
+
fromId: Raw.TypePeer;
|
|
26245
|
+
peerId: Raw.TypePeer;
|
|
26246
|
+
receiverId: long;
|
|
26247
|
+
topMsgId?: int;
|
|
26248
|
+
date: int;
|
|
26249
|
+
message: string;
|
|
26250
|
+
entities?: Vector<Raw.TypeMessageEntity>;
|
|
26251
|
+
media?: Raw.TypeMessageMedia;
|
|
26252
|
+
replyMarkup?: Raw.TypeReplyMarkup;
|
|
26253
|
+
replyTo?: Raw.TypeMessageReplyHeader;
|
|
26254
|
+
constructor(params: {
|
|
26255
|
+
out?: boolean;
|
|
26256
|
+
id: int;
|
|
26257
|
+
fromId: Raw.TypePeer;
|
|
26258
|
+
peerId: Raw.TypePeer;
|
|
26259
|
+
receiverId: long;
|
|
26260
|
+
topMsgId?: int;
|
|
26261
|
+
date: int;
|
|
26262
|
+
message: string;
|
|
26263
|
+
entities?: Vector<Raw.TypeMessageEntity>;
|
|
26264
|
+
media?: Raw.TypeMessageMedia;
|
|
26265
|
+
replyMarkup?: Raw.TypeReplyMarkup;
|
|
26266
|
+
replyTo?: Raw.TypeMessageReplyHeader;
|
|
26267
|
+
});
|
|
26268
|
+
/**
|
|
26269
|
+
* Generate the TLObject from buffer.
|
|
26270
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
26271
|
+
*/
|
|
26272
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.EphemeralMessage>;
|
|
26273
|
+
/**
|
|
26274
|
+
* Generate buffer from TLObject.
|
|
26275
|
+
*/
|
|
26276
|
+
write(): Buffer;
|
|
26277
|
+
}
|
|
25894
26278
|
class InvokeAfterMsg extends TLObject {
|
|
25895
26279
|
__response__: X;
|
|
25896
26280
|
msgId: long;
|
|
@@ -29929,6 +30313,8 @@ export declare namespace Raw {
|
|
|
29929
30313
|
}
|
|
29930
30314
|
namespace messages {
|
|
29931
30315
|
type TypeInactiveChats = Raw.messages.InactiveChats;
|
|
30316
|
+
type TypeComposedRichMessageWithAI = Raw.messages.ComposedRichMessageWithAI;
|
|
30317
|
+
type TypeTranslatedRichMessage = Raw.messages.TranslatedRichMessage;
|
|
29932
30318
|
type TypeComposedMessageWithAI = Raw.messages.ComposedMessageWithAI;
|
|
29933
30319
|
type TypeForumTopics = Raw.messages.ForumTopics;
|
|
29934
30320
|
type TypeFoundStickers = Raw.messages.FoundStickersNotModified | Raw.messages.FoundStickers;
|
|
@@ -31677,11 +32063,11 @@ export declare namespace Raw {
|
|
|
31677
32063
|
}
|
|
31678
32064
|
class ChatInviteJoinResultWebView extends TLObject {
|
|
31679
32065
|
botId: long;
|
|
31680
|
-
|
|
32066
|
+
queryId: long;
|
|
31681
32067
|
users: Vector<Raw.TypeUser>;
|
|
31682
32068
|
constructor(params: {
|
|
31683
32069
|
botId: long;
|
|
31684
|
-
|
|
32070
|
+
queryId: long;
|
|
31685
32071
|
users: Vector<Raw.TypeUser>;
|
|
31686
32072
|
});
|
|
31687
32073
|
/**
|
|
@@ -31694,6 +32080,36 @@ export declare namespace Raw {
|
|
|
31694
32080
|
*/
|
|
31695
32081
|
write(): Buffer;
|
|
31696
32082
|
}
|
|
32083
|
+
class TranslatedRichMessage extends TLObject {
|
|
32084
|
+
result: Vector<Raw.TypeRichMessage>;
|
|
32085
|
+
constructor(params: {
|
|
32086
|
+
result: Vector<Raw.TypeRichMessage>;
|
|
32087
|
+
});
|
|
32088
|
+
/**
|
|
32089
|
+
* Generate the TLObject from buffer.
|
|
32090
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
32091
|
+
*/
|
|
32092
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranslatedRichMessage>;
|
|
32093
|
+
/**
|
|
32094
|
+
* Generate buffer from TLObject.
|
|
32095
|
+
*/
|
|
32096
|
+
write(): Buffer;
|
|
32097
|
+
}
|
|
32098
|
+
class ComposedRichMessageWithAI extends TLObject {
|
|
32099
|
+
result: Raw.TypeRichMessage;
|
|
32100
|
+
constructor(params: {
|
|
32101
|
+
result: Raw.TypeRichMessage;
|
|
32102
|
+
});
|
|
32103
|
+
/**
|
|
32104
|
+
* Generate the TLObject from buffer.
|
|
32105
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
32106
|
+
*/
|
|
32107
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposedRichMessageWithAI>;
|
|
32108
|
+
/**
|
|
32109
|
+
* Generate buffer from TLObject.
|
|
32110
|
+
*/
|
|
32111
|
+
write(): Buffer;
|
|
32112
|
+
}
|
|
31697
32113
|
class GetMessages extends TLObject {
|
|
31698
32114
|
__response__: Raw.messages.TypeMessages;
|
|
31699
32115
|
id: Vector<Raw.TypeInputMessage>;
|
|
@@ -32736,6 +33152,7 @@ export declare namespace Raw {
|
|
|
32736
33152
|
groupsOnly?: boolean;
|
|
32737
33153
|
usersOnly?: boolean;
|
|
32738
33154
|
folderId?: int;
|
|
33155
|
+
community?: Raw.TypeInputChannel;
|
|
32739
33156
|
q: string;
|
|
32740
33157
|
filter: Raw.TypeMessagesFilter;
|
|
32741
33158
|
minDate: int;
|
|
@@ -32749,6 +33166,7 @@ export declare namespace Raw {
|
|
|
32749
33166
|
groupsOnly?: boolean;
|
|
32750
33167
|
usersOnly?: boolean;
|
|
32751
33168
|
folderId?: int;
|
|
33169
|
+
community?: Raw.TypeInputChannel;
|
|
32752
33170
|
q: string;
|
|
32753
33171
|
filter: Raw.TypeMessagesFilter;
|
|
32754
33172
|
minDate: int;
|
|
@@ -36942,6 +37360,74 @@ export declare namespace Raw {
|
|
|
36942
37360
|
*/
|
|
36943
37361
|
write(): Buffer;
|
|
36944
37362
|
}
|
|
37363
|
+
class TranslateRichMessage extends TLObject {
|
|
37364
|
+
__response__: Raw.messages.TypeTranslatedRichMessage;
|
|
37365
|
+
peer?: Raw.TypeInputPeer;
|
|
37366
|
+
id?: Vector<int>;
|
|
37367
|
+
text?: Vector<Raw.TypeInputRichMessage>;
|
|
37368
|
+
toLang: string;
|
|
37369
|
+
tone?: string;
|
|
37370
|
+
constructor(params: {
|
|
37371
|
+
peer?: Raw.TypeInputPeer;
|
|
37372
|
+
id?: Vector<int>;
|
|
37373
|
+
text?: Vector<Raw.TypeInputRichMessage>;
|
|
37374
|
+
toLang: string;
|
|
37375
|
+
tone?: string;
|
|
37376
|
+
});
|
|
37377
|
+
/**
|
|
37378
|
+
* Generate the TLObject from buffer.
|
|
37379
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
37380
|
+
*/
|
|
37381
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.TranslateRichMessage>;
|
|
37382
|
+
/**
|
|
37383
|
+
* Generate buffer from TLObject.
|
|
37384
|
+
*/
|
|
37385
|
+
write(): Buffer;
|
|
37386
|
+
}
|
|
37387
|
+
class ComposeRichMessageWithAI extends TLObject {
|
|
37388
|
+
__response__: Raw.messages.TypeComposedRichMessageWithAI;
|
|
37389
|
+
proofread?: boolean;
|
|
37390
|
+
emojify?: boolean;
|
|
37391
|
+
text?: Raw.TypeInputRichMessage;
|
|
37392
|
+
translateToLang?: string;
|
|
37393
|
+
tone?: Raw.TypeInputAiComposeTone;
|
|
37394
|
+
constructor(params: {
|
|
37395
|
+
proofread?: boolean;
|
|
37396
|
+
emojify?: boolean;
|
|
37397
|
+
text?: Raw.TypeInputRichMessage;
|
|
37398
|
+
translateToLang?: string;
|
|
37399
|
+
tone?: Raw.TypeInputAiComposeTone;
|
|
37400
|
+
});
|
|
37401
|
+
/**
|
|
37402
|
+
* Generate the TLObject from buffer.
|
|
37403
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
37404
|
+
*/
|
|
37405
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.ComposeRichMessageWithAI>;
|
|
37406
|
+
/**
|
|
37407
|
+
* Generate buffer from TLObject.
|
|
37408
|
+
*/
|
|
37409
|
+
write(): Buffer;
|
|
37410
|
+
}
|
|
37411
|
+
class RequestChatJoinWebView extends TLObject {
|
|
37412
|
+
__response__: Raw.TypeWebViewResult;
|
|
37413
|
+
queryId: long;
|
|
37414
|
+
themeParams?: Raw.TypeDataJSON;
|
|
37415
|
+
platform: string;
|
|
37416
|
+
constructor(params: {
|
|
37417
|
+
queryId: long;
|
|
37418
|
+
themeParams?: Raw.TypeDataJSON;
|
|
37419
|
+
platform: string;
|
|
37420
|
+
});
|
|
37421
|
+
/**
|
|
37422
|
+
* Generate the TLObject from buffer.
|
|
37423
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
37424
|
+
*/
|
|
37425
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.messages.RequestChatJoinWebView>;
|
|
37426
|
+
/**
|
|
37427
|
+
* Generate buffer from TLObject.
|
|
37428
|
+
*/
|
|
37429
|
+
write(): Buffer;
|
|
37430
|
+
}
|
|
36945
37431
|
}
|
|
36946
37432
|
namespace updates {
|
|
36947
37433
|
type TypeChannelDifference = Raw.updates.ChannelDifferenceEmpty | Raw.updates.ChannelDifferenceTooLong | Raw.updates.ChannelDifference;
|
|
@@ -41023,10 +41509,12 @@ export declare namespace Raw {
|
|
|
41023
41509
|
byLocation?: boolean;
|
|
41024
41510
|
checkLimit?: boolean;
|
|
41025
41511
|
forPersonal?: boolean;
|
|
41512
|
+
forCommunityPeer?: boolean;
|
|
41026
41513
|
constructor(params: {
|
|
41027
41514
|
byLocation?: boolean;
|
|
41028
41515
|
checkLimit?: boolean;
|
|
41029
41516
|
forPersonal?: boolean;
|
|
41517
|
+
forCommunityPeer?: boolean;
|
|
41030
41518
|
});
|
|
41031
41519
|
/**
|
|
41032
41520
|
* Generate the TLObject from buffer.
|
|
@@ -48122,6 +48610,227 @@ export declare namespace Raw {
|
|
|
48122
48610
|
write(): Buffer;
|
|
48123
48611
|
}
|
|
48124
48612
|
}
|
|
48613
|
+
namespace communities {
|
|
48614
|
+
type TypeParticipantJoinedChats = Raw.communities.ParticipantJoinedChats;
|
|
48615
|
+
type TypePeerLinkRequests = Raw.communities.PeerLinkRequests;
|
|
48616
|
+
class PeerLinkRequests extends TLObject {
|
|
48617
|
+
totalCount: int;
|
|
48618
|
+
requests: Vector<Raw.TypeCommunityPeerRequest>;
|
|
48619
|
+
nextOffset?: string;
|
|
48620
|
+
chats: Vector<Raw.TypeChat>;
|
|
48621
|
+
users: Vector<Raw.TypeUser>;
|
|
48622
|
+
constructor(params: {
|
|
48623
|
+
totalCount: int;
|
|
48624
|
+
requests: Vector<Raw.TypeCommunityPeerRequest>;
|
|
48625
|
+
nextOffset?: string;
|
|
48626
|
+
chats: Vector<Raw.TypeChat>;
|
|
48627
|
+
users: Vector<Raw.TypeUser>;
|
|
48628
|
+
});
|
|
48629
|
+
/**
|
|
48630
|
+
* Generate the TLObject from buffer.
|
|
48631
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48632
|
+
*/
|
|
48633
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.PeerLinkRequests>;
|
|
48634
|
+
/**
|
|
48635
|
+
* Generate buffer from TLObject.
|
|
48636
|
+
*/
|
|
48637
|
+
write(): Buffer;
|
|
48638
|
+
}
|
|
48639
|
+
class ParticipantJoinedChats extends TLObject {
|
|
48640
|
+
creatorChatIds: Vector<long>;
|
|
48641
|
+
joinedChatIds: Vector<long>;
|
|
48642
|
+
chats: Vector<Raw.TypeChat>;
|
|
48643
|
+
users: Vector<Raw.TypeUser>;
|
|
48644
|
+
constructor(params: {
|
|
48645
|
+
creatorChatIds: Vector<long>;
|
|
48646
|
+
joinedChatIds: Vector<long>;
|
|
48647
|
+
chats: Vector<Raw.TypeChat>;
|
|
48648
|
+
users: Vector<Raw.TypeUser>;
|
|
48649
|
+
});
|
|
48650
|
+
/**
|
|
48651
|
+
* Generate the TLObject from buffer.
|
|
48652
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48653
|
+
*/
|
|
48654
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.ParticipantJoinedChats>;
|
|
48655
|
+
/**
|
|
48656
|
+
* Generate buffer from TLObject.
|
|
48657
|
+
*/
|
|
48658
|
+
write(): Buffer;
|
|
48659
|
+
}
|
|
48660
|
+
class Create extends TLObject {
|
|
48661
|
+
__response__: Raw.TypeUpdates;
|
|
48662
|
+
hidden?: boolean;
|
|
48663
|
+
title: string;
|
|
48664
|
+
about?: string;
|
|
48665
|
+
peer: Raw.TypeInputPeer;
|
|
48666
|
+
constructor(params: {
|
|
48667
|
+
hidden?: boolean;
|
|
48668
|
+
title: string;
|
|
48669
|
+
about?: string;
|
|
48670
|
+
peer: Raw.TypeInputPeer;
|
|
48671
|
+
});
|
|
48672
|
+
/**
|
|
48673
|
+
* Generate the TLObject from buffer.
|
|
48674
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48675
|
+
*/
|
|
48676
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.Create>;
|
|
48677
|
+
/**
|
|
48678
|
+
* Generate buffer from TLObject.
|
|
48679
|
+
*/
|
|
48680
|
+
write(): Buffer;
|
|
48681
|
+
}
|
|
48682
|
+
class TogglePeerLink extends TLObject {
|
|
48683
|
+
__response__: Bool;
|
|
48684
|
+
visible?: boolean;
|
|
48685
|
+
hidden?: boolean;
|
|
48686
|
+
deleted?: boolean;
|
|
48687
|
+
community: Raw.TypeInputChannel;
|
|
48688
|
+
peer: Raw.TypeInputPeer;
|
|
48689
|
+
constructor(params: {
|
|
48690
|
+
visible?: boolean;
|
|
48691
|
+
hidden?: boolean;
|
|
48692
|
+
deleted?: boolean;
|
|
48693
|
+
community: Raw.TypeInputChannel;
|
|
48694
|
+
peer: Raw.TypeInputPeer;
|
|
48695
|
+
});
|
|
48696
|
+
/**
|
|
48697
|
+
* Generate the TLObject from buffer.
|
|
48698
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48699
|
+
*/
|
|
48700
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.TogglePeerLink>;
|
|
48701
|
+
/**
|
|
48702
|
+
* Generate buffer from TLObject.
|
|
48703
|
+
*/
|
|
48704
|
+
write(): Buffer;
|
|
48705
|
+
}
|
|
48706
|
+
class GetJoinedCommunities extends TLObject {
|
|
48707
|
+
__response__: Raw.messages.TypeChats;
|
|
48708
|
+
constructor();
|
|
48709
|
+
/**
|
|
48710
|
+
* Generate the TLObject from buffer.
|
|
48711
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48712
|
+
*/
|
|
48713
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.GetJoinedCommunities>;
|
|
48714
|
+
/**
|
|
48715
|
+
* Generate buffer from TLObject.
|
|
48716
|
+
*/
|
|
48717
|
+
write(): Buffer;
|
|
48718
|
+
}
|
|
48719
|
+
class ToggleCommunityCollapsedInDialogs extends TLObject {
|
|
48720
|
+
__response__: Raw.TypeUpdates;
|
|
48721
|
+
collapsed?: boolean;
|
|
48722
|
+
community: Raw.TypeInputChannel;
|
|
48723
|
+
constructor(params: {
|
|
48724
|
+
collapsed?: boolean;
|
|
48725
|
+
community: Raw.TypeInputChannel;
|
|
48726
|
+
});
|
|
48727
|
+
/**
|
|
48728
|
+
* Generate the TLObject from buffer.
|
|
48729
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48730
|
+
*/
|
|
48731
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.ToggleCommunityCollapsedInDialogs>;
|
|
48732
|
+
/**
|
|
48733
|
+
* Generate buffer from TLObject.
|
|
48734
|
+
*/
|
|
48735
|
+
write(): Buffer;
|
|
48736
|
+
}
|
|
48737
|
+
class GetPeerLinkRequests extends TLObject {
|
|
48738
|
+
__response__: Raw.communities.TypePeerLinkRequests;
|
|
48739
|
+
community: Raw.TypeInputChannel;
|
|
48740
|
+
offset: string;
|
|
48741
|
+
limit: int;
|
|
48742
|
+
constructor(params: {
|
|
48743
|
+
community: Raw.TypeInputChannel;
|
|
48744
|
+
offset: string;
|
|
48745
|
+
limit: int;
|
|
48746
|
+
});
|
|
48747
|
+
/**
|
|
48748
|
+
* Generate the TLObject from buffer.
|
|
48749
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48750
|
+
*/
|
|
48751
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.GetPeerLinkRequests>;
|
|
48752
|
+
/**
|
|
48753
|
+
* Generate buffer from TLObject.
|
|
48754
|
+
*/
|
|
48755
|
+
write(): Buffer;
|
|
48756
|
+
}
|
|
48757
|
+
class TogglePeerLinkRequestApproval extends TLObject {
|
|
48758
|
+
__response__: Bool;
|
|
48759
|
+
reject?: boolean;
|
|
48760
|
+
community: Raw.TypeInputChannel;
|
|
48761
|
+
peer: Raw.TypeInputPeer;
|
|
48762
|
+
constructor(params: {
|
|
48763
|
+
reject?: boolean;
|
|
48764
|
+
community: Raw.TypeInputChannel;
|
|
48765
|
+
peer: Raw.TypeInputPeer;
|
|
48766
|
+
});
|
|
48767
|
+
/**
|
|
48768
|
+
* Generate the TLObject from buffer.
|
|
48769
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48770
|
+
*/
|
|
48771
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.TogglePeerLinkRequestApproval>;
|
|
48772
|
+
/**
|
|
48773
|
+
* Generate buffer from TLObject.
|
|
48774
|
+
*/
|
|
48775
|
+
write(): Buffer;
|
|
48776
|
+
}
|
|
48777
|
+
class ToggleAllPeerLinkRequestApproval extends TLObject {
|
|
48778
|
+
__response__: Bool;
|
|
48779
|
+
reject?: boolean;
|
|
48780
|
+
community: Raw.TypeInputChannel;
|
|
48781
|
+
constructor(params: {
|
|
48782
|
+
reject?: boolean;
|
|
48783
|
+
community: Raw.TypeInputChannel;
|
|
48784
|
+
});
|
|
48785
|
+
/**
|
|
48786
|
+
* Generate the TLObject from buffer.
|
|
48787
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48788
|
+
*/
|
|
48789
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.ToggleAllPeerLinkRequestApproval>;
|
|
48790
|
+
/**
|
|
48791
|
+
* Generate buffer from TLObject.
|
|
48792
|
+
*/
|
|
48793
|
+
write(): Buffer;
|
|
48794
|
+
}
|
|
48795
|
+
class ToggleParticipantBanned extends TLObject {
|
|
48796
|
+
__response__: Bool;
|
|
48797
|
+
unban?: boolean;
|
|
48798
|
+
community: Raw.TypeInputChannel;
|
|
48799
|
+
participant: Raw.TypeInputPeer;
|
|
48800
|
+
constructor(params: {
|
|
48801
|
+
unban?: boolean;
|
|
48802
|
+
community: Raw.TypeInputChannel;
|
|
48803
|
+
participant: Raw.TypeInputPeer;
|
|
48804
|
+
});
|
|
48805
|
+
/**
|
|
48806
|
+
* Generate the TLObject from buffer.
|
|
48807
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48808
|
+
*/
|
|
48809
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.ToggleParticipantBanned>;
|
|
48810
|
+
/**
|
|
48811
|
+
* Generate buffer from TLObject.
|
|
48812
|
+
*/
|
|
48813
|
+
write(): Buffer;
|
|
48814
|
+
}
|
|
48815
|
+
class GetParticipantJoinedChats extends TLObject {
|
|
48816
|
+
__response__: Raw.communities.TypeParticipantJoinedChats;
|
|
48817
|
+
community: Raw.TypeInputChannel;
|
|
48818
|
+
participant: Raw.TypeInputPeer;
|
|
48819
|
+
constructor(params: {
|
|
48820
|
+
community: Raw.TypeInputChannel;
|
|
48821
|
+
participant: Raw.TypeInputPeer;
|
|
48822
|
+
});
|
|
48823
|
+
/**
|
|
48824
|
+
* Generate the TLObject from buffer.
|
|
48825
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48826
|
+
*/
|
|
48827
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.communities.GetParticipantJoinedChats>;
|
|
48828
|
+
/**
|
|
48829
|
+
* Generate buffer from TLObject.
|
|
48830
|
+
*/
|
|
48831
|
+
write(): Buffer;
|
|
48832
|
+
}
|
|
48833
|
+
}
|
|
48125
48834
|
namespace langpack {
|
|
48126
48835
|
class GetLangPack extends TLObject {
|
|
48127
48836
|
__response__: Raw.TypeLangPackDifference;
|
|
@@ -48234,4 +48943,102 @@ export declare namespace Raw {
|
|
|
48234
48943
|
write(): Buffer;
|
|
48235
48944
|
}
|
|
48236
48945
|
}
|
|
48946
|
+
namespace ephemeral {
|
|
48947
|
+
class SendMessage extends TLObject {
|
|
48948
|
+
__response__: Raw.TypeUpdates;
|
|
48949
|
+
peer: Raw.TypeInputPeer;
|
|
48950
|
+
receiverId: Raw.TypeInputUser;
|
|
48951
|
+
queryId?: long;
|
|
48952
|
+
message: string;
|
|
48953
|
+
entities?: Vector<Raw.TypeMessageEntity>;
|
|
48954
|
+
media?: Raw.TypeInputMedia;
|
|
48955
|
+
replyMarkup?: Raw.TypeReplyMarkup;
|
|
48956
|
+
richMessage?: Raw.TypeInputRichMessage;
|
|
48957
|
+
randomId: long;
|
|
48958
|
+
replyTo?: Raw.TypeInputReplyTo;
|
|
48959
|
+
constructor(params: {
|
|
48960
|
+
peer: Raw.TypeInputPeer;
|
|
48961
|
+
receiverId: Raw.TypeInputUser;
|
|
48962
|
+
queryId?: long;
|
|
48963
|
+
message: string;
|
|
48964
|
+
entities?: Vector<Raw.TypeMessageEntity>;
|
|
48965
|
+
media?: Raw.TypeInputMedia;
|
|
48966
|
+
replyMarkup?: Raw.TypeReplyMarkup;
|
|
48967
|
+
richMessage?: Raw.TypeInputRichMessage;
|
|
48968
|
+
randomId: long;
|
|
48969
|
+
replyTo?: Raw.TypeInputReplyTo;
|
|
48970
|
+
});
|
|
48971
|
+
/**
|
|
48972
|
+
* Generate the TLObject from buffer.
|
|
48973
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48974
|
+
*/
|
|
48975
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.SendMessage>;
|
|
48976
|
+
/**
|
|
48977
|
+
* Generate buffer from TLObject.
|
|
48978
|
+
*/
|
|
48979
|
+
write(): Buffer;
|
|
48980
|
+
}
|
|
48981
|
+
class DeleteMessage extends TLObject {
|
|
48982
|
+
__response__: Bool;
|
|
48983
|
+
peer: Raw.TypeInputPeer;
|
|
48984
|
+
receiverId: Raw.TypeInputUser;
|
|
48985
|
+
id: int;
|
|
48986
|
+
constructor(params: {
|
|
48987
|
+
peer: Raw.TypeInputPeer;
|
|
48988
|
+
receiverId: Raw.TypeInputUser;
|
|
48989
|
+
id: int;
|
|
48990
|
+
});
|
|
48991
|
+
/**
|
|
48992
|
+
* Generate the TLObject from buffer.
|
|
48993
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
48994
|
+
*/
|
|
48995
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.DeleteMessage>;
|
|
48996
|
+
/**
|
|
48997
|
+
* Generate buffer from TLObject.
|
|
48998
|
+
*/
|
|
48999
|
+
write(): Buffer;
|
|
49000
|
+
}
|
|
49001
|
+
class ReportMessage extends TLObject {
|
|
49002
|
+
__response__: Raw.TypeReportResult;
|
|
49003
|
+
peer: Raw.TypeInputPeer;
|
|
49004
|
+
id: int;
|
|
49005
|
+
option: bytes;
|
|
49006
|
+
message: string;
|
|
49007
|
+
constructor(params: {
|
|
49008
|
+
peer: Raw.TypeInputPeer;
|
|
49009
|
+
id: int;
|
|
49010
|
+
option: bytes;
|
|
49011
|
+
message: string;
|
|
49012
|
+
});
|
|
49013
|
+
/**
|
|
49014
|
+
* Generate the TLObject from buffer.
|
|
49015
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
49016
|
+
*/
|
|
49017
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.ReportMessage>;
|
|
49018
|
+
/**
|
|
49019
|
+
* Generate buffer from TLObject.
|
|
49020
|
+
*/
|
|
49021
|
+
write(): Buffer;
|
|
49022
|
+
}
|
|
49023
|
+
class GetCallbackAnswer extends TLObject {
|
|
49024
|
+
__response__: Raw.messages.TypeBotCallbackAnswer;
|
|
49025
|
+
peer: Raw.TypeInputPeer;
|
|
49026
|
+
id: int;
|
|
49027
|
+
data?: bytes;
|
|
49028
|
+
constructor(params: {
|
|
49029
|
+
peer: Raw.TypeInputPeer;
|
|
49030
|
+
id: int;
|
|
49031
|
+
data?: bytes;
|
|
49032
|
+
});
|
|
49033
|
+
/**
|
|
49034
|
+
* Generate the TLObject from buffer.
|
|
49035
|
+
* @param {Object} _data - BytesIO class from TLObject will be convert to TLObject class.
|
|
49036
|
+
*/
|
|
49037
|
+
static read(_data: BytesIO, ..._args: Array<any>): Promise<Raw.ephemeral.GetCallbackAnswer>;
|
|
49038
|
+
/**
|
|
49039
|
+
* Generate buffer from TLObject.
|
|
49040
|
+
*/
|
|
49041
|
+
write(): Buffer;
|
|
49042
|
+
}
|
|
49043
|
+
}
|
|
48237
49044
|
}
|