@tgsnake/core
Version:
Pure Telegram MTProto library for nodejs
242 lines • 1.04 MB
TypeScript
import { TLObject, BytesIO, type UpdateSecretChatMessage } from './core/index.js';
import { Buffer } from '../platform.node.js';
export declare namespace Raw {
type X = TLObject;
type Type = TLObject;
type Bool = boolean;
type int = number;
type double = number;
type float = number;
type int128 = bigint;
type int256 = bigint;
type long = bigint;
type bytes = Buffer;
type Vector<T> = Array<T>;
const Layer: number;
const HighestSCLayer: number;
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.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.AddNoPaidMessagesException | Raw.account.GetPaidMessagesRevenue | Raw.users.GetUsers | Raw.users.GetFullUser | Raw.users.SetSecureValueErrors | Raw.users.GetRequirementsToContact | 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.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.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.EditCreator | 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.CreateForumTopic | Raw.channels.GetForumTopics | Raw.channels.GetForumTopicsByID | Raw.channels.EditForumTopic | Raw.channels.UpdatePinnedForumTopic | Raw.channels.DeleteTopicHistory | Raw.channels.ReorderPinnedForumTopics | 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.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.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.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.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.GetBroadcastRevenueStats | Raw.stats.GetBroadcastRevenueWithdrawalUrl | Raw.stats.GetBroadcastRevenueTransactions | 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.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;
type TypeFileLocation = Raw.FileLocationUnavailable23 | Raw.FileLocation23;
type TypeDecryptedMessage = Raw.DecryptedMessage8 | Raw.DecryptedMessageService8 | Raw.DecryptedMessage17 | Raw.DecryptedMessageService17 | Raw.DecryptedMessage45 | Raw.DecryptedMessage73;
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;
type TypeDecryptedMessageMedia = Raw.DecryptedMessageMediaEmpty8 | Raw.DecryptedMessageMediaPhoto8 | Raw.DecryptedMessageMediaVideo8 | Raw.DecryptedMessageMediaGeoPoint8 | Raw.DecryptedMessageMediaContact8 | Raw.DecryptedMessageMediaDocument8 | Raw.DecryptedMessageMediaAudio8 | Raw.DecryptedMessageMediaVideo17 | Raw.DecryptedMessageMediaAudio17 | Raw.DecryptedMessageMediaExternalDocument23 | Raw.DecryptedMessageMediaPhoto45 | Raw.DecryptedMessageMediaVideo45 | Raw.DecryptedMessageMediaDocument45 | Raw.DecryptedMessageMediaVenue45 | Raw.DecryptedMessageMediaWebPage45 | Raw.DecryptedMessageMediaDocument143;
type TypeInputCollectible = Raw.InputCollectibleUsername | Raw.InputCollectiblePhone;
type TypeSmsJob = Raw.SmsJob;
type TypeExportedStoryLink = Raw.ExportedStoryLink;
type TypeInputChatlist = Raw.InputChatlistDialogFilter;
type TypeInputFolderPeer = Raw.InputFolderPeer;
type TypeLangPackLanguage = Raw.LangPackLanguage;
type TypeInputPhoneCall = Raw.InputPhoneCall;
type TypeInputStickerSetItem = Raw.InputStickerSetItem;
type TypeStarsGiveawayOption = Raw.StarsGiveawayOption;
type TypeStarsGiftOption = Raw.StarsGiftOption;
type TypeInputStarsTransaction = Raw.InputStarsTransaction;
type TypeStarsTopupOption = Raw.StarsTopupOption;
type TypeInputPaymentCredentials = Raw.InputPaymentCredentialsSaved | Raw.InputPaymentCredentials | Raw.InputPaymentCredentialsApplePay | Raw.InputPaymentCredentialsGooglePay;
type TypeInputInvoice = Raw.InputInvoiceMessage | Raw.InputInvoiceSlug | Raw.InputInvoicePremiumGiftCode | Raw.InputInvoiceStars | Raw.InputInvoiceChatInviteSubscription | Raw.InputInvoiceStarGift | Raw.InputInvoiceStarGiftUpgrade | Raw.InputInvoiceStarGiftTransfer | Raw.InputInvoicePremiumGiftStars;
type TypeBotCommandScope = Raw.BotCommandScopeDefault | Raw.BotCommandScopeUsers | Raw.BotCommandScopeChats | Raw.BotCommandScopeChatAdmins | Raw.BotCommandScopePeer | Raw.BotCommandScopePeerAdmins | Raw.BotCommandScopePeerUser;
type TypeChannelAdminLogEventsFilter = Raw.ChannelAdminLogEventsFilter;
type TypeExportedMessageLink = Raw.ExportedMessageLink;
type TypeChannelParticipantsFilter = Raw.ChannelParticipantsRecent | Raw.ChannelParticipantsAdmins | Raw.ChannelParticipantsKicked | Raw.ChannelParticipantsBots | Raw.ChannelParticipantsBanned | Raw.ChannelParticipantsSearch | Raw.ChannelParticipantsContacts | Raw.ChannelParticipantsMentions;
type TypeInputAppEvent = Raw.InputAppEvent;
type TypeCdnConfig = Raw.CdnConfig;
type TypeNearestDc = Raw.NearestDc;
type TypeConfig = Raw.Config;
type TypeInputWebFileLocation = Raw.InputWebFileLocation | Raw.InputWebFileGeoPointLocation | Raw.InputWebFileAudioAlbumThumbLocation;
type TypeInputFileLocation = Raw.InputFileLocation | Raw.InputEncryptedFileLocation | Raw.InputDocumentFileLocation | Raw.InputSecureFileLocation | Raw.InputTakeoutFileLocation | Raw.InputPhotoFileLocation | Raw.InputPhotoLegacyFileLocation | Raw.InputPeerPhotoFileLocation | Raw.InputStickerSetThumb | Raw.InputGroupCallStream;
type TypeChannelMessagesFilter = Raw.ChannelMessagesFilterEmpty | Raw.ChannelMessagesFilter;
type TypeOutboxReadDate = Raw.OutboxReadDate;
type TypeInputBotApp = Raw.InputBotAppID | Raw.InputBotAppShortName;
type TypeDefaultHistoryTTL = Raw.DefaultHistoryTTL;
type TypeWebViewMessageSent = Raw.WebViewMessageSent;
type TypeWebViewResult = Raw.WebViewResultUrl;
type TypeAttachMenuBotsBot = Raw.AttachMenuBotsBot;
type TypeAttachMenuBots = Raw.AttachMenuBotsNotModified | Raw.AttachMenuBots;
type TypeReadParticipantDate = Raw.ReadParticipantDate;
type TypeDialogFilterSuggested = Raw.DialogFilterSuggested;
type TypeUrlAuthResult = Raw.UrlAuthResultRequest | Raw.UrlAuthResultAccepted | Raw.UrlAuthResultDefault;
type TypeEmojiURL = Raw.EmojiURL;
type TypeEmojiLanguage = Raw.EmojiLanguage;
type TypeEmojiKeywordsDifference = Raw.EmojiKeywordsDifference;
type TypeChatOnlines = Raw.ChatOnlines;
type TypeInputSingleMedia = Raw.InputSingleMedia;
type TypeInputStickeredMedia = Raw.InputStickeredMediaPhoto | Raw.InputStickeredMediaDocument;
type TypeInputDialogPeer = Raw.InputDialogPeer | Raw.InputDialogPeerFolder;
type TypeInputBotInlineResult = Raw.InputBotInlineResult | Raw.InputBotInlineResultPhoto | Raw.InputBotInlineResultDocument | Raw.InputBotInlineResultGame;
type TypeInputEncryptedFile = Raw.InputEncryptedFileEmpty | Raw.InputEncryptedFileUploaded | Raw.InputEncryptedFile | Raw.InputEncryptedFileBigUploaded;
type TypeInputEncryptedChat = Raw.InputEncryptedChat;
type TypeInputChatPhoto = Raw.InputChatPhotoEmpty | Raw.InputChatUploadedPhoto | Raw.InputChatPhoto;
type TypeReportResult = Raw.ReportResultChooseOption | Raw.ReportResultAddComment | Raw.ReportResultReported;
type TypeInputQuickReplyShortcut = Raw.InputQuickReplyShortcut | Raw.InputQuickReplyShortcutId;
type TypeReceivedNotifyMessage = Raw.ReceivedNotifyMessage;
type TypeInputMessage = Raw.InputMessageID | Raw.InputMessageReplyTo | Raw.InputMessagePinned | Raw.InputMessageCallbackQuery;
type TypeExportedContactToken = Raw.ExportedContactToken;
type TypeSavedContact = Raw.SavedPhoneContact;
type TypeInputContact = Raw.InputPhoneContact;
type TypeContactStatus = Raw.ContactStatus;
type TypeRequirementToContact = Raw.RequirementToContactEmpty | Raw.RequirementToContactPremium | Raw.RequirementToContactPaidMessages;
type TypeReactionsNotifySettings = Raw.ReactionsNotifySettings;
type TypeInputBusinessChatLink = Raw.InputBusinessChatLink;
type TypeInputBusinessIntro = Raw.InputBusinessIntro;
type TypeInputBusinessBotRecipients = Raw.InputBusinessBotRecipients;
type TypeInputBusinessAwayMessage = Raw.InputBusinessAwayMessage;
type TypeInputBusinessGreetingMessage = Raw.InputBusinessGreetingMessage;
type TypeEmojiList = Raw.EmojiListNotModified | Raw.EmojiList;
type TypeGlobalPrivacySettings = Raw.GlobalPrivacySettings;
type TypeInputTheme = Raw.InputTheme | Raw.InputThemeSlug;
type TypeInputThemeSettings = Raw.InputThemeSettings;
type TypeEmailVerifyPurpose = Raw.EmailVerifyPurposeLoginSetup | Raw.EmailVerifyPurposeLoginChange | Raw.EmailVerifyPurposePassport;
type TypeSecureValueHash = Raw.SecureValueHash;
type TypeInputSecureValue = Raw.InputSecureValue;
type TypeAccountDaysTTL = Raw.AccountDaysTTL;
type TypeInputPrivacyRule = Raw.InputPrivacyValueAllowContacts | Raw.InputPrivacyValueAllowAll | Raw.InputPrivacyValueAllowUsers | Raw.InputPrivacyValueDisallowContacts | Raw.InputPrivacyValueDisallowAll | Raw.InputPrivacyValueDisallowUsers | Raw.InputPrivacyValueAllowChatParticipants | Raw.InputPrivacyValueDisallowChatParticipants | Raw.InputPrivacyValueAllowCloseFriends | Raw.InputPrivacyValueAllowPremium | Raw.InputPrivacyValueAllowBots | Raw.InputPrivacyValueDisallowBots;
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;
type TypeReportReason = Raw.InputReportReasonSpam | Raw.InputReportReasonViolence | Raw.InputReportReasonPornography | Raw.InputReportReasonChildAbuse | Raw.InputReportReasonOther | Raw.InputReportReasonCopyright | Raw.InputReportReasonGeoIrrelevant | Raw.InputReportReasonFake | Raw.InputReportReasonIllegalDrugs | Raw.InputReportReasonPersonalDetails;
type TypeInputPeerNotifySettings = Raw.InputPeerNotifySettings;
type TypeInputNotifyPeer = Raw.InputNotifyPeer | Raw.InputNotifyUsers | Raw.InputNotifyChats | Raw.InputNotifyBroadcasts | Raw.InputNotifyForumTopic;
type TypeInputCheckPasswordSRP = Raw.InputCheckPasswordEmpty | Raw.InputCheckPasswordSRP;
type TypeEmailVerification = Raw.EmailVerificationCode | Raw.EmailVerificationGoogle | Raw.EmailVerificationApple;
type TypeCodeSettings = Raw.CodeSettings;
type TypeInputClientProxy = Raw.InputClientProxy;
type TypeSponsoredPeer = Raw.SponsoredPeer;
type TypeSavedStarGift = Raw.SavedStarGift;
type TypeConnectedBotStarRef = Raw.ConnectedBotStarRef;
type TypeMessageReportOption = Raw.MessageReportOption;
type TypeStarGiftAttribute = Raw.StarGiftAttributeModel | Raw.StarGiftAttributePattern | Raw.StarGiftAttributeBackdrop | Raw.StarGiftAttributeOriginalDetails;
type TypeStarsGiveawayWinnersOption = Raw.StarsGiveawayWinnersOption;
type TypeBotPreviewMedia = Raw.BotPreviewMedia;
type TypeFoundStory = Raw.FoundStory;
type TypeStarsTransaction = Raw.StarsTransaction;
type TypeStarsSubscription = Raw.StarsSubscription;
type TypeStarsTransactionPeer = Raw.StarsTransactionPeerUnsupported | Raw.StarsTransactionPeerAppStore | Raw.StarsTransactionPeerPlayMarket | Raw.StarsTransactionPeerPremiumBot | Raw.StarsTransactionPeerFragment | Raw.StarsTransactionPeer | Raw.StarsTransactionPeerAds | Raw.StarsTransactionPeerAPI;
type TypeAvailableEffect = Raw.AvailableEffect;
type TypeReactionNotificationsFrom = Raw.ReactionNotificationsFromContacts | Raw.ReactionNotificationsFromAll;
type TypeBroadcastRevenueTransaction = Raw.BroadcastRevenueTransactionProceeds | Raw.BroadcastRevenueTransactionWithdrawal | Raw.BroadcastRevenueTransactionRefund;
type TypeSponsoredMessageReportOption = Raw.SponsoredMessageReportOption;
type TypeBusinessChatLink = Raw.BusinessChatLink;
type TypeMissingInvitee = Raw.MissingInvitee;
type TypeContactBirthday = Raw.ContactBirthday;
type TypeConnectedBot = Raw.ConnectedBot;
type TypeBusinessBotRights = Raw.BusinessBotRights;
type TypeBusinessBotRecipients = Raw.BusinessBotRecipients;
type TypeTimezone = Raw.Timezone;
type TypeBusinessAwayMessageSchedule = Raw.BusinessAwayMessageScheduleAlways | Raw.BusinessAwayMessageScheduleOutsideWorkHours | Raw.BusinessAwayMessageScheduleCustom;
type TypeBusinessRecipients = Raw.BusinessRecipients;
type TypeInputBusinessRecipients = Raw.InputBusinessRecipients;
type TypeBusinessWeeklyOpen = Raw.BusinessWeeklyOpen;
type TypeSavedReactionTag = Raw.SavedReactionTag;
type TypeSavedDialog = Raw.SavedDialog;
type TypeStoryReaction = Raw.StoryReaction | Raw.StoryReactionPublicForward | Raw.StoryReactionPublicRepost;
type TypePublicForward = Raw.PublicForwardMessage | Raw.PublicForwardStory;
type TypePrepaidGiveaway = Raw.PrepaidGiveaway | Raw.PrepaidStarsGiveaway;
type TypeMyBoost = Raw.MyBoost;
type TypeGeoPointAddress = Raw.GeoPointAddress;
type TypeMediaAreaCoordinates = Raw.MediaAreaCoordinates;
type TypeStoryView = Raw.StoryView | Raw.StoryViewPublicForward | Raw.StoryViewPublicRepost;
type TypeStoryViews = Raw.StoryViews;
type TypeMediaArea = Raw.MediaAreaVenue | Raw.InputMediaAreaVenue | Raw.MediaAreaGeoPoint | Raw.MediaAreaSuggestedReaction | Raw.MediaAreaChannelPost | Raw.InputMediaAreaChannelPost | Raw.MediaAreaUrl | Raw.MediaAreaWeather | Raw.MediaAreaStarGift;
type TypeStoryFwdHeader = Raw.StoryFwdHeader;
type TypeExportedChatlistInvite = Raw.ExportedChatlistInvite;
type TypeAutoSaveException = Raw.AutoSaveException;
type TypeAutoSaveSettings = Raw.AutoSaveSettings;
type TypeEmojiGroup = Raw.EmojiGroup | Raw.EmojiGroupGreeting | Raw.EmojiGroupPremium;
type TypePremiumSubscriptionOption = Raw.PremiumSubscriptionOption;
type TypeInputSavedStarGift = Raw.InputSavedStarGiftUser | Raw.InputSavedStarGiftChat;
type TypePremiumGiftCodeOption = Raw.PremiumGiftCodeOption;
type TypeInputStorePaymentPurpose = Raw.InputStorePaymentPremiumSubscription | Raw.InputStorePaymentGiftPremium | Raw.InputStorePaymentPremiumGiftCode | Raw.InputStorePaymentPremiumGiveaway | Raw.InputStorePaymentStarsTopup | Raw.InputStorePaymentStarsGift | Raw.InputStorePaymentStarsGiveaway | Raw.InputStorePaymentAuthCode;
type TypeAttachMenuBot = Raw.AttachMenuBot;
type TypeAttachMenuBotIcon = Raw.AttachMenuBotIcon;
type TypeAttachMenuPeerType = Raw.AttachMenuPeerTypeSameBotPM | Raw.AttachMenuPeerTypeBotPM | Raw.AttachMenuPeerTypePM | Raw.AttachMenuPeerTypeChat | Raw.AttachMenuPeerTypeBroadcast;
type TypeAttachMenuBotIconColor = Raw.AttachMenuBotIconColor;
type TypeGroupCallStreamChannel = Raw.GroupCallStreamChannel;
type TypeAvailableReaction = Raw.AvailableReaction;
type TypeMessageReactor = Raw.MessageReactor;
type TypeMessagePeerReaction = Raw.MessagePeerReaction;
type TypeUserFull = Raw.UserFull;
type TypeSendAsPeer = Raw.SendAsPeer;
type TypeSearchResultsPosition = Raw.SearchResultPosition;
type TypeSearchResultsCalendarPeriod = Raw.SearchResultsCalendarPeriod;
type TypeSponsoredMessage = Raw.SponsoredMessage;
type TypeGroupCallParticipantVideoSourceGroup = Raw.GroupCallParticipantVideoSourceGroup;
type TypeChatAdminWithInvites = Raw.ChatAdminWithInvites;
type TypeChatInviteImporter = Raw.ChatInviteImporter;
type TypeGroupCallParticipantVideo = Raw.GroupCallParticipantVideo;
type TypeMessageViews = Raw.MessageViews;
type TypeStatsGroupTopInviter = Raw.StatsGroupTopInviter;
type TypeStatsGroupTopAdmin = Raw.StatsGroupTopAdmin;
type TypeStatsGroupTopPoster = Raw.StatsGroupTopPoster;
type TypePostInteractionCounters = Raw.PostInteractionCountersMessage | Raw.PostInteractionCountersStory;
type TypeStatsGraph = Raw.StatsGraphAsync | Raw.StatsGraphError | Raw.StatsGraph;
type TypeStatsPercentValue = Raw.StatsPercentValue;
type TypeStatsAbsValueAndPrev = Raw.StatsAbsValueAndPrev;
type TypeStatsDateRangeDays = Raw.StatsDateRangeDays;
type TypeBankCardOpenUrl = Raw.BankCardOpenUrl;
type TypeMessagePeerVote = Raw.MessagePeerVote | Raw.MessagePeerVoteInputOption | Raw.MessagePeerVoteMultiple;
type TypeInputWallPaper = Raw.InputWallPaper | Raw.InputWallPaperSlug | Raw.InputWallPaperNoFile;
type TypeBaseTheme = Raw.BaseThemeClassic | Raw.BaseThemeDay | Raw.BaseThemeNight | Raw.BaseThemeTinted | Raw.BaseThemeArctic;
type TypeThemeSettings = Raw.ThemeSettings;
type TypeMessagesFilter = Raw.InputMessagesFilterEmpty | Raw.InputMessagesFilterPhotos | Raw.InputMessagesFilterVideo | Raw.InputMessagesFilterPhotoVideo | Raw.InputMessagesFilterDocument | Raw.InputMessagesFilterUrl | Raw.InputMessagesFilterGif | Raw.InputMessagesFilterVoice | Raw.InputMessagesFilterMusic | Raw.InputMessagesFilterChatPhotos | Raw.InputMessagesFilterPhoneCalls | Raw.InputMessagesFilterRoundVoice | Raw.InputMessagesFilterRoundVideo | Raw.InputMessagesFilterMyMentions | Raw.InputMessagesFilterGeo | Raw.InputMessagesFilterContacts | Raw.InputMessagesFilterPinned;
type TypeEmojiKeyword = Raw.EmojiKeyword | Raw.EmojiKeywordDeleted;
type TypeAutoDownloadSettings = Raw.AutoDownloadSettings;
type TypePollAnswerVoters = Raw.PollAnswerVoters;
type TypePollAnswer = Raw.PollAnswer;
type TypePageTableCell = Raw.PageTableCell;
type TypeJSONObjectValue = Raw.JsonObjectValue;
type TypeJSONValue = Raw.JsonNull | Raw.JsonBool | Raw.JsonNumber | Raw.JsonString | Raw.JsonArray | Raw.JsonObject;
type TypeSecureValueError = Raw.SecureValueErrorData | Raw.SecureValueErrorFrontSide | Raw.SecureValueErrorReverseSide | Raw.SecureValueErrorSelfie | Raw.SecureValueErrorFile | Raw.SecureValueErrorFiles | Raw.SecureValueError | Raw.SecureValueErrorTranslationFile | Raw.SecureValueErrorTranslationFiles;
type TypeSecureRequiredType = Raw.SecureRequiredType | Raw.SecureRequiredTypeOneOf;
type TypeInputSecureFile = Raw.InputSecureFileUploaded | Raw.InputSecureFile;
type TypeSecurePlainData = Raw.SecurePlainPhone | Raw.SecurePlainEmail;
type TypeSecureFile = Raw.SecureFileEmpty | Raw.SecureFile;
type TypeSecureData = Raw.SecureData;
type TypeWebAuthorization = Raw.WebAuthorization;
type TypeRecentMeUrl = Raw.RecentMeUrlUnknown | Raw.RecentMeUrlUser | Raw.RecentMeUrlChat | Raw.RecentMeUrlChatInvite | Raw.RecentMeUrlStickerSet;
type TypeChatInvite = Raw.ChatInviteAlready | Raw.ChatInvite | Raw.ChatInvitePeek;
type TypeChannelAdminLogEvent = Raw.ChannelAdminLogEvent;
type TypeChannelAdminLogEventAction = Raw.ChannelAdminLogEventActionChangeTitle | Raw.ChannelAdminLogEventActionChangeAbout | Raw.ChannelAdminLogEventActionChangeUsername | Raw.ChannelAdminLogEventActionChangePhoto | Raw.ChannelAdminLogEventActionToggleInvites | Raw.ChannelAdminLogEventActionToggleSignatures | Raw.ChannelAdminLogEventActionUpdatePinned | Raw.ChannelAdminLogEventActionEditMessage | Raw.ChannelAdminLogEventActionDeleteMessage | Raw.ChannelAdminLogEventActionParticipantJoin | Raw.ChannelAdminLogEventActionParticipantLeave | Raw.ChannelAdminLogEventActionParticipantInvite | Raw.ChannelAdminLogEventActionParticipantToggleBan | Raw.ChannelAdminLogEventActionParticipantToggleAdmin | Raw.ChannelAdminLogEventActionChangeStickerSet | Raw.ChannelAdminLogEventActionTogglePreHistoryHidden | Raw.ChannelAdminLogEventActionDefaultBannedRights | Raw.ChannelAdminLogEventActionStopPoll | Raw.ChannelAdminLogEventActionChangeLinkedChat | Raw.ChannelAdminLogEventActionChangeLocation | Raw.ChannelAdminLogEventActionToggleSlowMode | Raw.ChannelAdminLogEventActionStartGroupCall | Raw.ChannelAdminLogEventActionDiscardGroupCall | Raw.ChannelAdminLogEventActionParticipantMute | Raw.ChannelAdminLogEventActionParticipantUnmute | Raw.ChannelAdminLogEventActionToggleGroupCallSetting | Raw.ChannelAdminLogEventActionParticipantJoinByInvite | Raw.ChannelAdminLogEventActionExportedInviteDelete | Raw.ChannelAdminLogEventActionExportedInviteRevoke | Raw.ChannelAdminLogEventActionExportedInviteEdit | Raw.ChannelAdminLogEventActionParticipantVolume | Raw.ChannelAdminLogEventActionChangeHistoryTTL | Raw.ChannelAdminLogEventActionParticipantJoinByRequest | Raw.ChannelAdminLogEventActionToggleNoForwards | Raw.ChannelAdminLogEventActionSendMessage | Raw.ChannelAdminLogEventActionChangeAvailableReactions | Raw.ChannelAdminLogEventActionChangeUsernames | Raw.ChannelAdminLogEventActionToggleForum | Raw.ChannelAdminLogEventActionCreateTopic | Raw.ChannelAdminLogEventActionEditTopic | Raw.ChannelAdminLogEventActionDeleteTopic | Raw.ChannelAdminLogEventActionPinTopic | Raw.ChannelAdminLogEventActionToggleAntiSpam | Raw.ChannelAdminLogEventActionChangePeerColor | Raw.ChannelAdminLogEventActionChangeProfilePeerColor | Raw.ChannelAdminLogEventActionChangeWallpaper | Raw.ChannelAdminLogEventActionChangeEmojiStatus | Raw.ChannelAdminLogEventActionChangeEmojiStickerSet | Raw.ChannelAdminLogEventActionToggleSignatureProfiles | Raw.ChannelAdminLogEventActionParticipantSubExtend;
type TypeLangPackString = Raw.LangPackString | Raw.LangPackStringPluralized | Raw.LangPackStringDeleted;
type TypeCdnPublicKey = Raw.CdnPublicKey;
type TypePhoneConnection = Raw.PhoneConnection | Raw.PhoneConnectionWebrtc;
type TypePhoneCallProtocol = Raw.PhoneCallProtocol;
type TypeUpdates = Raw.UpdatesTooLong | Raw.UpdateShortMessage | Raw.UpdateShortChatMessage | Raw.UpdateShort | Raw.UpdatesCombined | Raw.Updates | Raw.UpdateShortSentMessage;
type TypeShippingOption = Raw.ShippingOption;
type TypePaymentSavedCredentials = Raw.PaymentSavedCredentialsCard;
type TypePaymentFormMethod = Raw.PaymentFormMethod;
type TypeLabeledPrice = Raw.LabeledPrice;
type TypePageRelatedArticle = Raw.PageRelatedArticle;
type TypePageListOrderedItem = Raw.PageListOrderedItemText | Raw.PageListOrderedItemBlocks;
type TypePageTableRow = Raw.PageTableRow;
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;
type TypePageCaption = Raw.PageCaption;
type TypePageListItem = Raw.PageListItemText | Raw.PageListItemBlocks;
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;
type TypeHighScore = Raw.HighScore;
type TypeStickerSetCovered = Raw.StickerSetCovered | Raw.StickerSetMultiCovered | Raw.StickerSetFullCovered | Raw.StickerSetNoCovered;
type TypeInputReplyTo = Raw.InputReplyToMessage | Raw.InputReplyToStory;
type TypeTopPeerCategoryPeers = Raw.TopPeerCategoryPeers;
type TypeTopPeer = Raw.TopPeer;
type TypeTopPeerCategory = Raw.TopPeerCategoryBotsPM | Raw.TopPeerCategoryBotsInline | Raw.TopPeerCategoryCorrespondents | Raw.TopPeerCategoryGroups | Raw.TopPeerCategoryChannels | Raw.TopPeerCategoryPhoneCalls | Raw.TopPeerCategoryForwardUsers | Raw.TopPeerCategoryForwardChats | Raw.TopPeerCategoryBotsApp;
type TypeBotInlineResult = Raw.BotInlineResult | Raw.BotInlineMediaResult;
type TypeInlineBotWebView = Raw.InlineBotWebView;
type TypeInlineBotSwitchPM = Raw.InlineBotSwitchPM;
type TypeBotInlineMessage = Raw.BotInlineMessageMediaAuto | Raw.BotInlineMessageText | Raw.BotInlineMessageMediaGeo | Raw.BotInlineMessageMediaVenue | Raw.BotInlineMessageMediaContact | Raw.BotInlineMessageMediaInvoice | Raw.BotInlineMessageMediaWebPage;
type TypeInputBotInlineMessage = Raw.InputBotInlineMessageMediaAuto | Raw.InputBotInlineMessageText | Raw.InputBotInlineMessageMediaGeo | Raw.InputBotInlineMessageMediaVenue | Raw.InputBotInlineMessageMediaContact | Raw.InputBotInlineMessageGame | Raw.InputBotInlineMessageMediaInvoice | Raw.InputBotInlineMessageMediaWebPage;
type TypeMessageRange = Raw.MessageRange;
type TypeKeyboardButtonRow = Raw.KeyboardButtonRow;
type TypeKeyboardButton = Raw.KeyboardButton | Raw.KeyboardButtonUrl | Raw.KeyboardButtonCallback | Raw.KeyboardButtonRequestPhone | Raw.KeyboardButtonRequestGeoLocation | Raw.KeyboardButtonSwitchInline | Raw.KeyboardButtonGame | Raw.KeyboardButtonBuy | Raw.KeyboardButtonUrlAuth | Raw.InputKeyboardButtonUrlAuth | Raw.KeyboardButtonRequestPoll | Raw.InputKeyboardButtonUserProfile | Raw.KeyboardButtonUserProfile | Raw.KeyboardButtonWebView | Raw.KeyboardButtonSimpleWebView | Raw.KeyboardButtonRequestPeer | Raw.InputKeyboardButtonRequestPeer | Raw.KeyboardButtonCopy;
type TypeRequestPeerType = Raw.RequestPeerTypeUser | Raw.RequestPeerTypeChat | Raw.RequestPeerTypeBroadcast;
type TypeBotVerifierSettings = Raw.BotVerifierSettings;
type TypeBotAppSettings = Raw.BotAppSettings;
type TypeStickerKeyword = Raw.StickerKeyword;
type TypeStickerPack = Raw.StickerPack;
type TypeStarsSubscriptionPricing = Raw.StarsSubscriptionPricing;
type TypeSecureSecretSettings = Raw.SecureSecretSettings;
type TypeSecurePasswordKdfAlgo = Raw.SecurePasswordKdfAlgoUnknown | Raw.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000 | Raw.SecurePasswordKdfAlgoSHA512;
type TypePasswordKdfAlgo = Raw.PasswordKdfAlgoUnknown | Raw.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow;
type TypeAuthorization = Raw.Authorization;
type TypeWebPageAttribute = Raw.WebPageAttributeTheme | Raw.WebPageAttributeStory | Raw.WebPageAttributeStickerSet | Raw.WebPageAttributeUniqueStarGift;
type TypePage = Raw.Page;
type TypeMaskCoords = Raw.MaskCoords;
type TypeInputUser = Raw.InputUserEmpty | Raw.InputUserSelf | Raw.InputUser | Raw.InputUserFromMessage;
type TypeEncryptedFile = Raw.EncryptedFileEmpty | Raw.EncryptedFile;
type TypeFileHash = Raw.FileHash;
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.UpdateLogin