go-tdlib/client/type.go

49860 lines
1.4 MiB
Executable File

// AUTOGENERATED
package client
import (
"encoding/json"
)
const (
ClassAuthenticationCodeType = "AuthenticationCodeType"
ClassEmailAddressAuthentication = "EmailAddressAuthentication"
ClassEmailAddressResetState = "EmailAddressResetState"
ClassAuthorizationState = "AuthorizationState"
ClassInputFile = "InputFile"
ClassThumbnailFormat = "ThumbnailFormat"
ClassMaskPoint = "MaskPoint"
ClassStickerFormat = "StickerFormat"
ClassStickerType = "StickerType"
ClassStickerFullType = "StickerFullType"
ClassPollType = "PollType"
ClassUserType = "UserType"
ClassBusinessAwayMessageSchedule = "BusinessAwayMessageSchedule"
ClassChatPhotoStickerType = "ChatPhotoStickerType"
ClassInputChatPhoto = "InputChatPhoto"
ClassPremiumGiveawayParticipantStatus = "PremiumGiveawayParticipantStatus"
ClassPremiumGiveawayInfo = "PremiumGiveawayInfo"
ClassChatMemberStatus = "ChatMemberStatus"
ClassChatMembersFilter = "ChatMembersFilter"
ClassSupergroupMembersFilter = "SupergroupMembersFilter"
ClassInviteLinkChatType = "InviteLinkChatType"
ClassSecretChatState = "SecretChatState"
ClassMessageSender = "MessageSender"
ClassMessageReadDate = "MessageReadDate"
ClassMessageOrigin = "MessageOrigin"
ClassReactionType = "ReactionType"
ClassMessageSendingState = "MessageSendingState"
ClassMessageReplyTo = "MessageReplyTo"
ClassInputMessageReplyTo = "InputMessageReplyTo"
ClassMessageSource = "MessageSource"
ClassMessageSponsorType = "MessageSponsorType"
ClassReportChatSponsoredMessageResult = "ReportChatSponsoredMessageResult"
ClassNotificationSettingsScope = "NotificationSettingsScope"
ClassChatType = "ChatType"
ClassChatList = "ChatList"
ClassChatSource = "ChatSource"
ClassChatAvailableReactions = "ChatAvailableReactions"
ClassPublicChatType = "PublicChatType"
ClassChatActionBar = "ChatActionBar"
ClassKeyboardButtonType = "KeyboardButtonType"
ClassInlineKeyboardButtonType = "InlineKeyboardButtonType"
ClassReplyMarkup = "ReplyMarkup"
ClassLoginUrlInfo = "LoginUrlInfo"
ClassSavedMessagesTopicType = "SavedMessagesTopicType"
ClassRichText = "RichText"
ClassPageBlockHorizontalAlignment = "PageBlockHorizontalAlignment"
ClassPageBlockVerticalAlignment = "PageBlockVerticalAlignment"
ClassPageBlock = "PageBlock"
ClassCollectibleItemType = "CollectibleItemType"
ClassInputCredentials = "InputCredentials"
ClassPaymentProvider = "PaymentProvider"
ClassInputInvoice = "InputInvoice"
ClassMessageExtendedMedia = "MessageExtendedMedia"
ClassPassportElementType = "PassportElementType"
ClassPassportElement = "PassportElement"
ClassInputPassportElement = "InputPassportElement"
ClassPassportElementErrorSource = "PassportElementErrorSource"
ClassInputPassportElementErrorSource = "InputPassportElementErrorSource"
ClassMessageContent = "MessageContent"
ClassTextEntityType = "TextEntityType"
ClassMessageSchedulingState = "MessageSchedulingState"
ClassMessageSelfDestructType = "MessageSelfDestructType"
ClassInputMessageContent = "InputMessageContent"
ClassSearchMessagesFilter = "SearchMessagesFilter"
ClassChatAction = "ChatAction"
ClassUserStatus = "UserStatus"
ClassEmojiCategoryType = "EmojiCategoryType"
ClassStoryAreaType = "StoryAreaType"
ClassInputStoryAreaType = "InputStoryAreaType"
ClassStoryContent = "StoryContent"
ClassInputStoryContent = "InputStoryContent"
ClassStoryList = "StoryList"
ClassStoryOrigin = "StoryOrigin"
ClassStoryInteractionType = "StoryInteractionType"
ClassPublicForward = "PublicForward"
ClassChatBoostSource = "ChatBoostSource"
ClassCallDiscardReason = "CallDiscardReason"
ClassCallServerType = "CallServerType"
ClassCallState = "CallState"
ClassGroupCallVideoQuality = "GroupCallVideoQuality"
ClassCallProblem = "CallProblem"
ClassFirebaseAuthenticationSettings = "FirebaseAuthenticationSettings"
ClassReactionUnavailabilityReason = "ReactionUnavailabilityReason"
ClassDiceStickers = "DiceStickers"
ClassSpeechRecognitionResult = "SpeechRecognitionResult"
ClassBotWriteAccessAllowReason = "BotWriteAccessAllowReason"
ClassInputInlineQueryResult = "InputInlineQueryResult"
ClassInlineQueryResult = "InlineQueryResult"
ClassInlineQueryResultsButtonType = "InlineQueryResultsButtonType"
ClassCallbackQueryPayload = "CallbackQueryPayload"
ClassChatEventAction = "ChatEventAction"
ClassLanguagePackStringValue = "LanguagePackStringValue"
ClassPremiumLimitType = "PremiumLimitType"
ClassPremiumFeature = "PremiumFeature"
ClassBusinessFeature = "BusinessFeature"
ClassPremiumStoryFeature = "PremiumStoryFeature"
ClassPremiumSource = "PremiumSource"
ClassStorePaymentPurpose = "StorePaymentPurpose"
ClassTelegramPaymentPurpose = "TelegramPaymentPurpose"
ClassDeviceToken = "DeviceToken"
ClassBackgroundFill = "BackgroundFill"
ClassBackgroundType = "BackgroundType"
ClassInputBackground = "InputBackground"
ClassCanSendStoryResult = "CanSendStoryResult"
ClassCanTransferOwnershipResult = "CanTransferOwnershipResult"
ClassCheckChatUsernameResult = "CheckChatUsernameResult"
ClassCheckStickerSetNameResult = "CheckStickerSetNameResult"
ClassResetPasswordResult = "ResetPasswordResult"
ClassMessageFileType = "MessageFileType"
ClassPushMessageContent = "PushMessageContent"
ClassNotificationType = "NotificationType"
ClassNotificationGroupType = "NotificationGroupType"
ClassOptionValue = "OptionValue"
ClassJsonValue = "JsonValue"
ClassStoryPrivacySettings = "StoryPrivacySettings"
ClassUserPrivacySettingRule = "UserPrivacySettingRule"
ClassUserPrivacySetting = "UserPrivacySetting"
ClassCanSendMessageToUserResult = "CanSendMessageToUserResult"
ClassSessionType = "SessionType"
ClassReportReason = "ReportReason"
ClassTargetChat = "TargetChat"
ClassInternalLinkType = "InternalLinkType"
ClassBlockList = "BlockList"
ClassFileType = "FileType"
ClassNetworkType = "NetworkType"
ClassNetworkStatisticsEntry = "NetworkStatisticsEntry"
ClassAutosaveSettingsScope = "AutosaveSettingsScope"
ClassConnectionState = "ConnectionState"
ClassTopChatCategory = "TopChatCategory"
ClassTMeUrlType = "TMeUrlType"
ClassSuggestedAction = "SuggestedAction"
ClassTextParseMode = "TextParseMode"
ClassProxyType = "ProxyType"
ClassStatisticalGraph = "StatisticalGraph"
ClassChatStatisticsObjectType = "ChatStatisticsObjectType"
ClassChatStatistics = "ChatStatistics"
ClassVectorPathCommand = "VectorPathCommand"
ClassBotCommandScope = "BotCommandScope"
ClassUpdate = "Update"
ClassLogStream = "LogStream"
ClassError = "Error"
ClassOk = "Ok"
ClassAuthenticationCodeInfo = "AuthenticationCodeInfo"
ClassEmailAddressAuthenticationCodeInfo = "EmailAddressAuthenticationCodeInfo"
ClassTextEntity = "TextEntity"
ClassTextEntities = "TextEntities"
ClassFormattedText = "FormattedText"
ClassTermsOfService = "TermsOfService"
ClassPasswordState = "PasswordState"
ClassRecoveryEmailAddress = "RecoveryEmailAddress"
ClassTemporaryPasswordState = "TemporaryPasswordState"
ClassLocalFile = "LocalFile"
ClassRemoteFile = "RemoteFile"
ClassFile = "File"
ClassPhotoSize = "PhotoSize"
ClassMinithumbnail = "Minithumbnail"
ClassThumbnail = "Thumbnail"
ClassMaskPosition = "MaskPosition"
ClassClosedVectorPath = "ClosedVectorPath"
ClassPollOption = "PollOption"
ClassAnimation = "Animation"
ClassAudio = "Audio"
ClassDocument = "Document"
ClassPhoto = "Photo"
ClassSticker = "Sticker"
ClassVideo = "Video"
ClassVideoNote = "VideoNote"
ClassVoiceNote = "VoiceNote"
ClassAnimatedEmoji = "AnimatedEmoji"
ClassContact = "Contact"
ClassLocation = "Location"
ClassVenue = "Venue"
ClassGame = "Game"
ClassWebApp = "WebApp"
ClassPoll = "Poll"
ClassBackground = "Background"
ClassBackgrounds = "Backgrounds"
ClassChatBackground = "ChatBackground"
ClassProfilePhoto = "ProfilePhoto"
ClassChatPhotoInfo = "ChatPhotoInfo"
ClassBotCommand = "BotCommand"
ClassBotCommands = "BotCommands"
ClassBotMenuButton = "BotMenuButton"
ClassChatLocation = "ChatLocation"
ClassBirthdate = "Birthdate"
ClassCloseBirthdayUser = "CloseBirthdayUser"
ClassBusinessLocation = "BusinessLocation"
ClassBusinessRecipients = "BusinessRecipients"
ClassBusinessAwayMessageSettings = "BusinessAwayMessageSettings"
ClassBusinessGreetingMessageSettings = "BusinessGreetingMessageSettings"
ClassBusinessConnectedBot = "BusinessConnectedBot"
ClassBusinessIntro = "BusinessIntro"
ClassInputBusinessIntro = "InputBusinessIntro"
ClassBusinessOpeningHoursInterval = "BusinessOpeningHoursInterval"
ClassBusinessOpeningHours = "BusinessOpeningHours"
ClassBusinessInfo = "BusinessInfo"
ClassChatPhotoSticker = "ChatPhotoSticker"
ClassAnimatedChatPhoto = "AnimatedChatPhoto"
ClassChatPhoto = "ChatPhoto"
ClassChatPhotos = "ChatPhotos"
ClassChatPermissions = "ChatPermissions"
ClassChatAdministratorRights = "ChatAdministratorRights"
ClassPremiumPaymentOption = "PremiumPaymentOption"
ClassPremiumStatePaymentOption = "PremiumStatePaymentOption"
ClassPremiumGiftCodePaymentOption = "PremiumGiftCodePaymentOption"
ClassPremiumGiftCodePaymentOptions = "PremiumGiftCodePaymentOptions"
ClassPremiumGiftCodeInfo = "PremiumGiftCodeInfo"
ClassAccentColor = "AccentColor"
ClassProfileAccentColors = "ProfileAccentColors"
ClassProfileAccentColor = "ProfileAccentColor"
ClassEmojiStatus = "EmojiStatus"
ClassEmojiStatuses = "EmojiStatuses"
ClassUsernames = "Usernames"
ClassUser = "User"
ClassBotInfo = "BotInfo"
ClassUserFullInfo = "UserFullInfo"
ClassUsers = "Users"
ClassChatAdministrator = "ChatAdministrator"
ClassChatAdministrators = "ChatAdministrators"
ClassChatMember = "ChatMember"
ClassChatMembers = "ChatMembers"
ClassChatInviteLink = "ChatInviteLink"
ClassChatInviteLinks = "ChatInviteLinks"
ClassChatInviteLinkCount = "ChatInviteLinkCount"
ClassChatInviteLinkCounts = "ChatInviteLinkCounts"
ClassChatInviteLinkMember = "ChatInviteLinkMember"
ClassChatInviteLinkMembers = "ChatInviteLinkMembers"
ClassChatInviteLinkInfo = "ChatInviteLinkInfo"
ClassChatJoinRequest = "ChatJoinRequest"
ClassChatJoinRequests = "ChatJoinRequests"
ClassChatJoinRequestsInfo = "ChatJoinRequestsInfo"
ClassBasicGroup = "BasicGroup"
ClassBasicGroupFullInfo = "BasicGroupFullInfo"
ClassSupergroup = "Supergroup"
ClassSupergroupFullInfo = "SupergroupFullInfo"
ClassSecretChat = "SecretChat"
ClassMessageSenders = "MessageSenders"
ClassChatMessageSender = "ChatMessageSender"
ClassChatMessageSenders = "ChatMessageSenders"
ClassMessageViewer = "MessageViewer"
ClassMessageViewers = "MessageViewers"
ClassForwardSource = "ForwardSource"
ClassMessageForwardInfo = "MessageForwardInfo"
ClassMessageImportInfo = "MessageImportInfo"
ClassMessageReplyInfo = "MessageReplyInfo"
ClassMessageReaction = "MessageReaction"
ClassMessageReactions = "MessageReactions"
ClassMessageInteractionInfo = "MessageInteractionInfo"
ClassUnreadReaction = "UnreadReaction"
ClassTextQuote = "TextQuote"
ClassInputTextQuote = "InputTextQuote"
ClassMessage = "Message"
ClassMessages = "Messages"
ClassFoundMessages = "FoundMessages"
ClassFoundChatMessages = "FoundChatMessages"
ClassMessagePosition = "MessagePosition"
ClassMessagePositions = "MessagePositions"
ClassMessageCalendarDay = "MessageCalendarDay"
ClassMessageCalendar = "MessageCalendar"
ClassBusinessMessage = "BusinessMessage"
ClassBusinessMessages = "BusinessMessages"
ClassMessageSponsor = "MessageSponsor"
ClassSponsoredMessage = "SponsoredMessage"
ClassSponsoredMessages = "SponsoredMessages"
ClassReportChatSponsoredMessageOption = "ReportChatSponsoredMessageOption"
ClassFileDownload = "FileDownload"
ClassDownloadedFileCounts = "DownloadedFileCounts"
ClassFoundFileDownloads = "FoundFileDownloads"
ClassChatNotificationSettings = "ChatNotificationSettings"
ClassScopeNotificationSettings = "ScopeNotificationSettings"
ClassDraftMessage = "DraftMessage"
ClassChatFolderIcon = "ChatFolderIcon"
ClassChatFolder = "ChatFolder"
ClassChatFolderInfo = "ChatFolderInfo"
ClassChatFolderInviteLink = "ChatFolderInviteLink"
ClassChatFolderInviteLinks = "ChatFolderInviteLinks"
ClassChatFolderInviteLinkInfo = "ChatFolderInviteLinkInfo"
ClassRecommendedChatFolder = "RecommendedChatFolder"
ClassRecommendedChatFolders = "RecommendedChatFolders"
ClassArchiveChatListSettings = "ArchiveChatListSettings"
ClassChatLists = "ChatLists"
ClassChatPosition = "ChatPosition"
ClassSavedMessagesTag = "SavedMessagesTag"
ClassSavedMessagesTags = "SavedMessagesTags"
ClassVideoChat = "VideoChat"
ClassChat = "Chat"
ClassChats = "Chats"
ClassChatNearby = "ChatNearby"
ClassChatsNearby = "ChatsNearby"
ClassKeyboardButton = "KeyboardButton"
ClassInlineKeyboardButton = "InlineKeyboardButton"
ClassFoundWebApp = "FoundWebApp"
ClassWebAppInfo = "WebAppInfo"
ClassMessageThreadInfo = "MessageThreadInfo"
ClassSavedMessagesTopic = "SavedMessagesTopic"
ClassForumTopicIcon = "ForumTopicIcon"
ClassForumTopicInfo = "ForumTopicInfo"
ClassForumTopic = "ForumTopic"
ClassForumTopics = "ForumTopics"
ClassLinkPreviewOptions = "LinkPreviewOptions"
ClassSharedUser = "SharedUser"
ClassSharedChat = "SharedChat"
ClassPageBlockCaption = "PageBlockCaption"
ClassPageBlockListItem = "PageBlockListItem"
ClassPageBlockTableCell = "PageBlockTableCell"
ClassPageBlockRelatedArticle = "PageBlockRelatedArticle"
ClassWebPageInstantView = "WebPageInstantView"
ClassWebPage = "WebPage"
ClassCountryInfo = "CountryInfo"
ClassCountries = "Countries"
ClassPhoneNumberInfo = "PhoneNumberInfo"
ClassCollectibleItemInfo = "CollectibleItemInfo"
ClassBankCardActionOpenUrl = "BankCardActionOpenUrl"
ClassBankCardInfo = "BankCardInfo"
ClassAddress = "Address"
ClassThemeParameters = "ThemeParameters"
ClassLabeledPricePart = "LabeledPricePart"
ClassInvoice = "Invoice"
ClassOrderInfo = "OrderInfo"
ClassShippingOption = "ShippingOption"
ClassSavedCredentials = "SavedCredentials"
ClassPaymentOption = "PaymentOption"
ClassPaymentForm = "PaymentForm"
ClassValidatedOrderInfo = "ValidatedOrderInfo"
ClassPaymentResult = "PaymentResult"
ClassPaymentReceipt = "PaymentReceipt"
ClassPremiumGiveawayParameters = "PremiumGiveawayParameters"
ClassDatedFile = "DatedFile"
ClassDate = "Date"
ClassPersonalDetails = "PersonalDetails"
ClassIdentityDocument = "IdentityDocument"
ClassInputIdentityDocument = "InputIdentityDocument"
ClassPersonalDocument = "PersonalDocument"
ClassInputPersonalDocument = "InputPersonalDocument"
ClassPassportElements = "PassportElements"
ClassPassportElementError = "PassportElementError"
ClassPassportSuitableElement = "PassportSuitableElement"
ClassPassportRequiredElement = "PassportRequiredElement"
ClassPassportAuthorizationForm = "PassportAuthorizationForm"
ClassPassportElementsWithErrors = "PassportElementsWithErrors"
ClassEncryptedCredentials = "EncryptedCredentials"
ClassEncryptedPassportElement = "EncryptedPassportElement"
ClassInputPassportElementError = "InputPassportElementError"
ClassInputThumbnail = "InputThumbnail"
ClassMessageSendOptions = "MessageSendOptions"
ClassMessageCopyOptions = "MessageCopyOptions"
ClassEmojiKeyword = "EmojiKeyword"
ClassEmojiKeywords = "EmojiKeywords"
ClassStickers = "Stickers"
ClassEmojis = "Emojis"
ClassStickerSet = "StickerSet"
ClassStickerSetInfo = "StickerSetInfo"
ClassStickerSets = "StickerSets"
ClassTrendingStickerSets = "TrendingStickerSets"
ClassEmojiCategory = "EmojiCategory"
ClassEmojiCategories = "EmojiCategories"
ClassStoryAreaPosition = "StoryAreaPosition"
ClassStoryArea = "StoryArea"
ClassInputStoryArea = "InputStoryArea"
ClassInputStoryAreas = "InputStoryAreas"
ClassStoryVideo = "StoryVideo"
ClassStoryRepostInfo = "StoryRepostInfo"
ClassStoryInteractionInfo = "StoryInteractionInfo"
ClassStory = "Story"
ClassStories = "Stories"
ClassStoryFullId = "StoryFullId"
ClassStoryInfo = "StoryInfo"
ClassChatActiveStories = "ChatActiveStories"
ClassStoryInteraction = "StoryInteraction"
ClassStoryInteractions = "StoryInteractions"
ClassQuickReplyMessage = "QuickReplyMessage"
ClassQuickReplyShortcut = "QuickReplyShortcut"
ClassPublicForwards = "PublicForwards"
ClassChatBoostLevelFeatures = "ChatBoostLevelFeatures"
ClassChatBoostFeatures = "ChatBoostFeatures"
ClassPrepaidPremiumGiveaway = "PrepaidPremiumGiveaway"
ClassChatBoostStatus = "ChatBoostStatus"
ClassChatBoost = "ChatBoost"
ClassFoundChatBoosts = "FoundChatBoosts"
ClassChatBoostSlot = "ChatBoostSlot"
ClassChatBoostSlots = "ChatBoostSlots"
ClassCallProtocol = "CallProtocol"
ClassCallServer = "CallServer"
ClassCallId = "CallId"
ClassGroupCallId = "GroupCallId"
ClassGroupCallStream = "GroupCallStream"
ClassGroupCallStreams = "GroupCallStreams"
ClassRtmpUrl = "RtmpUrl"
ClassGroupCallRecentSpeaker = "GroupCallRecentSpeaker"
ClassGroupCall = "GroupCall"
ClassGroupCallVideoSourceGroup = "GroupCallVideoSourceGroup"
ClassGroupCallParticipantVideoInfo = "GroupCallParticipantVideoInfo"
ClassGroupCallParticipant = "GroupCallParticipant"
ClassCall = "Call"
ClassPhoneNumberAuthenticationSettings = "PhoneNumberAuthenticationSettings"
ClassAddedReaction = "AddedReaction"
ClassAddedReactions = "AddedReactions"
ClassAvailableReaction = "AvailableReaction"
ClassAvailableReactions = "AvailableReactions"
ClassEmojiReaction = "EmojiReaction"
ClassAnimations = "Animations"
ClassImportedContacts = "ImportedContacts"
ClassBusinessConnection = "BusinessConnection"
ClassAttachmentMenuBotColor = "AttachmentMenuBotColor"
ClassAttachmentMenuBot = "AttachmentMenuBot"
ClassSentWebAppMessage = "SentWebAppMessage"
ClassHttpUrl = "HttpUrl"
ClassUserLink = "UserLink"
ClassInlineQueryResultsButton = "InlineQueryResultsButton"
ClassInlineQueryResults = "InlineQueryResults"
ClassCallbackQueryAnswer = "CallbackQueryAnswer"
ClassCustomRequestResult = "CustomRequestResult"
ClassGameHighScore = "GameHighScore"
ClassGameHighScores = "GameHighScores"
ClassChatEvent = "ChatEvent"
ClassChatEvents = "ChatEvents"
ClassChatEventLogFilters = "ChatEventLogFilters"
ClassLanguagePackString = "LanguagePackString"
ClassLanguagePackStrings = "LanguagePackStrings"
ClassLanguagePackInfo = "LanguagePackInfo"
ClassLocalizationTargetInfo = "LocalizationTargetInfo"
ClassPremiumLimit = "PremiumLimit"
ClassPremiumFeatures = "PremiumFeatures"
ClassBusinessFeatures = "BusinessFeatures"
ClassPremiumFeaturePromotionAnimation = "PremiumFeaturePromotionAnimation"
ClassBusinessFeaturePromotionAnimation = "BusinessFeaturePromotionAnimation"
ClassPremiumState = "PremiumState"
Class//-To = "https://my.telegram.org"
ClassPushReceiverId = "PushReceiverId"
ClassThemeSettings = "ThemeSettings"
ClassChatTheme = "ChatTheme"
ClassTimeZone = "TimeZone"
ClassTimeZones = "TimeZones"
ClassHashtags = "Hashtags"
ClassNotificationSound = "NotificationSound"
ClassNotificationSounds = "NotificationSounds"
ClassNotification = "Notification"
ClassNotificationGroup = "NotificationGroup"
ClassJsonObjectMember = "JsonObjectMember"
ClassUserPrivacySettingRules = "UserPrivacySettingRules"
ClassReadDatePrivacySettings = "ReadDatePrivacySettings"
ClassNewChatPrivacySettings = "NewChatPrivacySettings"
ClassAccountTtl = "AccountTtl"
ClassMessageAutoDeleteTime = "MessageAutoDeleteTime"
ClassSession = "Session"
ClassSessions = "Sessions"
ClassUnconfirmedSession = "UnconfirmedSession"
ClassConnectedWebsite = "ConnectedWebsite"
ClassConnectedWebsites = "ConnectedWebsites"
ClassMessageLink = "MessageLink"
ClassMessageLinkInfo = "MessageLinkInfo"
ClassChatBoostLink = "ChatBoostLink"
ClassChatBoostLinkInfo = "ChatBoostLinkInfo"
ClassFilePart = "FilePart"
ClassStorageStatisticsByFileType = "StorageStatisticsByFileType"
ClassStorageStatisticsByChat = "StorageStatisticsByChat"
ClassStorageStatistics = "StorageStatistics"
ClassStorageStatisticsFast = "StorageStatisticsFast"
ClassDatabaseStatistics = "DatabaseStatistics"
ClassNetworkStatistics = "NetworkStatistics"
ClassAutoDownloadSettings = "AutoDownloadSettings"
ClassAutoDownloadSettingsPresets = "AutoDownloadSettingsPresets"
ClassScopeAutosaveSettings = "ScopeAutosaveSettings"
ClassAutosaveSettingsException = "AutosaveSettingsException"
ClassAutosaveSettings = "AutosaveSettings"
ClassFoundPosition = "FoundPosition"
ClassFoundPositions = "FoundPositions"
ClassTMeUrl = "TMeUrl"
ClassTMeUrls = "TMeUrls"
ClassCount = "Count"
ClassText = "Text"
ClassSeconds = "Seconds"
ClassFileDownloadedPrefixSize = "FileDownloadedPrefixSize"
ClassDeepLinkInfo = "DeepLinkInfo"
ClassProxy = "Proxy"
ClassProxies = "Proxies"
ClassInputSticker = "InputSticker"
ClassDateRange = "DateRange"
ClassStatisticalValue = "StatisticalValue"
ClassChatStatisticsInteractionInfo = "ChatStatisticsInteractionInfo"
ClassChatStatisticsMessageSenderInfo = "ChatStatisticsMessageSenderInfo"
ClassChatStatisticsAdministratorActionsInfo = "ChatStatisticsAdministratorActionsInfo"
ClassChatStatisticsInviterInfo = "ChatStatisticsInviterInfo"
ClassMessageStatistics = "MessageStatistics"
ClassStoryStatistics = "StoryStatistics"
ClassPoint = "Point"
ClassUpdates = "Updates"
ClassLogVerbosityLevel = "LogVerbosityLevel"
ClassLogTags = "LogTags"
ClassUserSupportInfo = "UserSupportInfo"
ClassTestInt = "TestInt"
ClassTestString = "TestString"
ClassTestBytes = "TestBytes"
ClassTestVectorInt = "TestVectorInt"
ClassTestVectorIntObject = "TestVectorIntObject"
ClassTestVectorString = "TestVectorString"
ClassTestVectorStringObject = "TestVectorStringObject"
)
const (
TypeError = "error"
TypeOk = "ok"
TypeAuthenticationCodeTypeTelegramMessage = "authenticationCodeTypeTelegramMessage"
TypeAuthenticationCodeTypeSms = "authenticationCodeTypeSms"
TypeAuthenticationCodeTypeCall = "authenticationCodeTypeCall"
TypeAuthenticationCodeTypeFlashCall = "authenticationCodeTypeFlashCall"
TypeAuthenticationCodeTypeMissedCall = "authenticationCodeTypeMissedCall"
TypeAuthenticationCodeTypeFragment = "authenticationCodeTypeFragment"
TypeAuthenticationCodeTypeFirebaseAndroid = "authenticationCodeTypeFirebaseAndroid"
TypeAuthenticationCodeTypeFirebaseIos = "authenticationCodeTypeFirebaseIos"
TypeAuthenticationCodeInfo = "authenticationCodeInfo"
TypeEmailAddressAuthenticationCodeInfo = "emailAddressAuthenticationCodeInfo"
TypeEmailAddressAuthenticationCode = "emailAddressAuthenticationCode"
TypeEmailAddressAuthenticationAppleId = "emailAddressAuthenticationAppleId"
TypeEmailAddressAuthenticationGoogleId = "emailAddressAuthenticationGoogleId"
TypeEmailAddressResetStateAvailable = "emailAddressResetStateAvailable"
TypeEmailAddressResetStatePending = "emailAddressResetStatePending"
TypeTextEntity = "textEntity"
TypeTextEntities = "textEntities"
TypeFormattedText = "formattedText"
TypeTermsOfService = "termsOfService"
TypeAuthorizationStateWaitTdlibParameters = "authorizationStateWaitTdlibParameters"
TypeAuthorizationStateWaitPhoneNumber = "authorizationStateWaitPhoneNumber"
TypeAuthorizationStateWaitEmailAddress = "authorizationStateWaitEmailAddress"
TypeAuthorizationStateWaitEmailCode = "authorizationStateWaitEmailCode"
TypeAuthorizationStateWaitCode = "authorizationStateWaitCode"
TypeAuthorizationStateWaitOtherDeviceConfirmation = "authorizationStateWaitOtherDeviceConfirmation"
TypeAuthorizationStateWaitRegistration = "authorizationStateWaitRegistration"
TypeAuthorizationStateWaitPassword = "authorizationStateWaitPassword"
TypeAuthorizationStateReady = "authorizationStateReady"
TypeAuthorizationStateLoggingOut = "authorizationStateLoggingOut"
TypeAuthorizationStateClosing = "authorizationStateClosing"
TypeAuthorizationStateClosed = "authorizationStateClosed"
TypePasswordState = "passwordState"
TypeRecoveryEmailAddress = "recoveryEmailAddress"
TypeTemporaryPasswordState = "temporaryPasswordState"
TypeLocalFile = "localFile"
TypeRemoteFile = "remoteFile"
TypeFile = "file"
TypeInputFileId = "inputFileId"
TypeInputFileRemote = "inputFileRemote"
TypeInputFileLocal = "inputFileLocal"
TypeInputFileGenerated = "inputFileGenerated"
TypePhotoSize = "photoSize"
TypeMinithumbnail = "minithumbnail"
TypeThumbnailFormatJpeg = "thumbnailFormatJpeg"
TypeThumbnailFormatGif = "thumbnailFormatGif"
TypeThumbnailFormatMpeg4 = "thumbnailFormatMpeg4"
TypeThumbnailFormatPng = "thumbnailFormatPng"
TypeThumbnailFormatTgs = "thumbnailFormatTgs"
TypeThumbnailFormatWebm = "thumbnailFormatWebm"
TypeThumbnailFormatWebp = "thumbnailFormatWebp"
TypeThumbnail = "thumbnail"
TypeMaskPointForehead = "maskPointForehead"
TypeMaskPointEyes = "maskPointEyes"
TypeMaskPointMouth = "maskPointMouth"
TypeMaskPointChin = "maskPointChin"
TypeMaskPosition = "maskPosition"
TypeStickerFormatWebp = "stickerFormatWebp"
TypeStickerFormatTgs = "stickerFormatTgs"
TypeStickerFormatWebm = "stickerFormatWebm"
TypeStickerTypeRegular = "stickerTypeRegular"
TypeStickerTypeMask = "stickerTypeMask"
TypeStickerTypeCustomEmoji = "stickerTypeCustomEmoji"
TypeStickerFullTypeRegular = "stickerFullTypeRegular"
TypeStickerFullTypeMask = "stickerFullTypeMask"
TypeStickerFullTypeCustomEmoji = "stickerFullTypeCustomEmoji"
TypeClosedVectorPath = "closedVectorPath"
TypePollOption = "pollOption"
TypePollTypeRegular = "pollTypeRegular"
TypePollTypeQuiz = "pollTypeQuiz"
TypeAnimation = "animation"
TypeAudio = "audio"
TypeDocument = "document"
TypePhoto = "photo"
TypeSticker = "sticker"
TypeVideo = "video"
TypeVideoNote = "videoNote"
TypeVoiceNote = "voiceNote"
TypeAnimatedEmoji = "animatedEmoji"
TypeContact = "contact"
TypeLocation = "location"
TypeVenue = "venue"
TypeGame = "game"
TypeWebApp = "webApp"
TypePoll = "poll"
TypeBackground = "background"
TypeBackgrounds = "backgrounds"
TypeChatBackground = "chatBackground"
TypeProfilePhoto = "profilePhoto"
TypeChatPhotoInfo = "chatPhotoInfo"
TypeUserTypeRegular = "userTypeRegular"
TypeUserTypeDeleted = "userTypeDeleted"
TypeUserTypeBot = "userTypeBot"
TypeUserTypeUnknown = "userTypeUnknown"
TypeBotCommand = "botCommand"
TypeBotCommands = "botCommands"
TypeBotMenuButton = "botMenuButton"
TypeChatLocation = "chatLocation"
TypeBirthdate = "birthdate"
TypeCloseBirthdayUser = "closeBirthdayUser"
TypeBusinessAwayMessageScheduleAlways = "businessAwayMessageScheduleAlways"
TypeBusinessAwayMessageScheduleOutsideOfOpeningHours = "businessAwayMessageScheduleOutsideOfOpeningHours"
TypeBusinessAwayMessageScheduleCustom = "businessAwayMessageScheduleCustom"
TypeBusinessLocation = "businessLocation"
TypeBusinessRecipients = "businessRecipients"
TypeBusinessAwayMessageSettings = "businessAwayMessageSettings"
TypeBusinessGreetingMessageSettings = "businessGreetingMessageSettings"
TypeBusinessConnectedBot = "businessConnectedBot"
TypeBusinessIntro = "businessIntro"
TypeInputBusinessIntro = "inputBusinessIntro"
TypeBusinessOpeningHoursInterval = "businessOpeningHoursInterval"
TypeBusinessOpeningHours = "businessOpeningHours"
TypeBusinessInfo = "businessInfo"
TypeChatPhotoStickerTypeRegularOrMask = "chatPhotoStickerTypeRegularOrMask"
TypeChatPhotoStickerTypeCustomEmoji = "chatPhotoStickerTypeCustomEmoji"
TypeChatPhotoSticker = "chatPhotoSticker"
TypeAnimatedChatPhoto = "animatedChatPhoto"
TypeChatPhoto = "chatPhoto"
TypeChatPhotos = "chatPhotos"
TypeInputChatPhotoPrevious = "inputChatPhotoPrevious"
TypeInputChatPhotoStatic = "inputChatPhotoStatic"
TypeInputChatPhotoAnimation = "inputChatPhotoAnimation"
TypeInputChatPhotoSticker = "inputChatPhotoSticker"
TypeChatPermissions = "chatPermissions"
TypeChatAdministratorRights = "chatAdministratorRights"
TypePremiumPaymentOption = "premiumPaymentOption"
TypePremiumStatePaymentOption = "premiumStatePaymentOption"
TypePremiumGiftCodePaymentOption = "premiumGiftCodePaymentOption"
TypePremiumGiftCodePaymentOptions = "premiumGiftCodePaymentOptions"
TypePremiumGiftCodeInfo = "premiumGiftCodeInfo"
TypePremiumGiveawayParticipantStatusEligible = "premiumGiveawayParticipantStatusEligible"
TypePremiumGiveawayParticipantStatusParticipating = "premiumGiveawayParticipantStatusParticipating"
TypePremiumGiveawayParticipantStatusAlreadyWasMember = "premiumGiveawayParticipantStatusAlreadyWasMember"
TypePremiumGiveawayParticipantStatusAdministrator = "premiumGiveawayParticipantStatusAdministrator"
TypePremiumGiveawayParticipantStatusDisallowedCountry = "premiumGiveawayParticipantStatusDisallowedCountry"
TypePremiumGiveawayInfoOngoing = "premiumGiveawayInfoOngoing"
TypePremiumGiveawayInfoCompleted = "premiumGiveawayInfoCompleted"
TypeAccentColor = "accentColor"
TypeProfileAccentColors = "profileAccentColors"
TypeProfileAccentColor = "profileAccentColor"
TypeEmojiStatus = "emojiStatus"
TypeEmojiStatuses = "emojiStatuses"
TypeUsernames = "usernames"
TypeUser = "user"
TypeBotInfo = "botInfo"
TypeUserFullInfo = "userFullInfo"
TypeUsers = "users"
TypeChatAdministrator = "chatAdministrator"
TypeChatAdministrators = "chatAdministrators"
TypeChatMemberStatusCreator = "chatMemberStatusCreator"
TypeChatMemberStatusAdministrator = "chatMemberStatusAdministrator"
TypeChatMemberStatusMember = "chatMemberStatusMember"
TypeChatMemberStatusRestricted = "chatMemberStatusRestricted"
TypeChatMemberStatusLeft = "chatMemberStatusLeft"
TypeChatMemberStatusBanned = "chatMemberStatusBanned"
TypeChatMember = "chatMember"
TypeChatMembers = "chatMembers"
TypeChatMembersFilterContacts = "chatMembersFilterContacts"
TypeChatMembersFilterAdministrators = "chatMembersFilterAdministrators"
TypeChatMembersFilterMembers = "chatMembersFilterMembers"
TypeChatMembersFilterMention = "chatMembersFilterMention"
TypeChatMembersFilterRestricted = "chatMembersFilterRestricted"
TypeChatMembersFilterBanned = "chatMembersFilterBanned"
TypeChatMembersFilterBots = "chatMembersFilterBots"
TypeSupergroupMembersFilterRecent = "supergroupMembersFilterRecent"
TypeSupergroupMembersFilterContacts = "supergroupMembersFilterContacts"
TypeSupergroupMembersFilterAdministrators = "supergroupMembersFilterAdministrators"
TypeSupergroupMembersFilterSearch = "supergroupMembersFilterSearch"
TypeSupergroupMembersFilterRestricted = "supergroupMembersFilterRestricted"
TypeSupergroupMembersFilterBanned = "supergroupMembersFilterBanned"
TypeSupergroupMembersFilterMention = "supergroupMembersFilterMention"
TypeSupergroupMembersFilterBots = "supergroupMembersFilterBots"
TypeChatInviteLink = "chatInviteLink"
TypeChatInviteLinks = "chatInviteLinks"
TypeChatInviteLinkCount = "chatInviteLinkCount"
TypeChatInviteLinkCounts = "chatInviteLinkCounts"
TypeChatInviteLinkMember = "chatInviteLinkMember"
TypeChatInviteLinkMembers = "chatInviteLinkMembers"
TypeInviteLinkChatTypeBasicGroup = "inviteLinkChatTypeBasicGroup"
TypeInviteLinkChatTypeSupergroup = "inviteLinkChatTypeSupergroup"
TypeInviteLinkChatTypeChannel = "inviteLinkChatTypeChannel"
TypeChatInviteLinkInfo = "chatInviteLinkInfo"
TypeChatJoinRequest = "chatJoinRequest"
TypeChatJoinRequests = "chatJoinRequests"
TypeChatJoinRequestsInfo = "chatJoinRequestsInfo"
TypeBasicGroup = "basicGroup"
TypeBasicGroupFullInfo = "basicGroupFullInfo"
TypeSupergroup = "supergroup"
TypeSupergroupFullInfo = "supergroupFullInfo"
TypeSecretChatStatePending = "secretChatStatePending"
TypeSecretChatStateReady = "secretChatStateReady"
TypeSecretChatStateClosed = "secretChatStateClosed"
TypeSecretChat = "secretChat"
TypeMessageSenderUser = "messageSenderUser"
TypeMessageSenderChat = "messageSenderChat"
TypeMessageSenders = "messageSenders"
TypeChatMessageSender = "chatMessageSender"
TypeChatMessageSenders = "chatMessageSenders"
TypeMessageReadDateRead = "messageReadDateRead"
TypeMessageReadDateUnread = "messageReadDateUnread"
TypeMessageReadDateTooOld = "messageReadDateTooOld"
TypeMessageReadDateUserPrivacyRestricted = "messageReadDateUserPrivacyRestricted"
TypeMessageReadDateMyPrivacyRestricted = "messageReadDateMyPrivacyRestricted"
TypeMessageViewer = "messageViewer"
TypeMessageViewers = "messageViewers"
TypeMessageOriginUser = "messageOriginUser"
TypeMessageOriginHiddenUser = "messageOriginHiddenUser"
TypeMessageOriginChat = "messageOriginChat"
TypeMessageOriginChannel = "messageOriginChannel"
TypeForwardSource = "forwardSource"
TypeReactionTypeEmoji = "reactionTypeEmoji"
TypeReactionTypeCustomEmoji = "reactionTypeCustomEmoji"
TypeMessageForwardInfo = "messageForwardInfo"
TypeMessageImportInfo = "messageImportInfo"
TypeMessageReplyInfo = "messageReplyInfo"
TypeMessageReaction = "messageReaction"
TypeMessageReactions = "messageReactions"
TypeMessageInteractionInfo = "messageInteractionInfo"
TypeUnreadReaction = "unreadReaction"
TypeMessageSendingStatePending = "messageSendingStatePending"
TypeMessageSendingStateFailed = "messageSendingStateFailed"
TypeTextQuote = "textQuote"
TypeInputTextQuote = "inputTextQuote"
TypeMessageReplyToMessage = "messageReplyToMessage"
TypeMessageReplyToStory = "messageReplyToStory"
TypeInputMessageReplyToMessage = "inputMessageReplyToMessage"
TypeInputMessageReplyToStory = "inputMessageReplyToStory"
TypeMessage = "message"
TypeMessages = "messages"
TypeFoundMessages = "foundMessages"
TypeFoundChatMessages = "foundChatMessages"
TypeMessagePosition = "messagePosition"
TypeMessagePositions = "messagePositions"
TypeMessageCalendarDay = "messageCalendarDay"
TypeMessageCalendar = "messageCalendar"
TypeBusinessMessage = "businessMessage"
TypeBusinessMessages = "businessMessages"
TypeMessageSourceChatHistory = "messageSourceChatHistory"
TypeMessageSourceMessageThreadHistory = "messageSourceMessageThreadHistory"
TypeMessageSourceForumTopicHistory = "messageSourceForumTopicHistory"
TypeMessageSourceHistoryPreview = "messageSourceHistoryPreview"
TypeMessageSourceChatList = "messageSourceChatList"
TypeMessageSourceSearch = "messageSourceSearch"
TypeMessageSourceChatEventLog = "messageSourceChatEventLog"
TypeMessageSourceNotification = "messageSourceNotification"
TypeMessageSourceScreenshot = "messageSourceScreenshot"
TypeMessageSourceOther = "messageSourceOther"
TypeMessageSponsorTypeBot = "messageSponsorTypeBot"
TypeMessageSponsorTypeWebApp = "messageSponsorTypeWebApp"
TypeMessageSponsorTypePublicChannel = "messageSponsorTypePublicChannel"
TypeMessageSponsorTypePrivateChannel = "messageSponsorTypePrivateChannel"
TypeMessageSponsorTypeWebsite = "messageSponsorTypeWebsite"
TypeMessageSponsor = "messageSponsor"
TypeSponsoredMessage = "sponsoredMessage"
TypeSponsoredMessages = "sponsoredMessages"
TypeReportChatSponsoredMessageOption = "reportChatSponsoredMessageOption"
TypeReportChatSponsoredMessageResultOk = "reportChatSponsoredMessageResultOk"
TypeReportChatSponsoredMessageResultFailed = "reportChatSponsoredMessageResultFailed"
TypeReportChatSponsoredMessageResultOptionRequired = "reportChatSponsoredMessageResultOptionRequired"
TypeReportChatSponsoredMessageResultAdsHidden = "reportChatSponsoredMessageResultAdsHidden"
TypeReportChatSponsoredMessageResultPremiumRequired = "reportChatSponsoredMessageResultPremiumRequired"
TypeFileDownload = "fileDownload"
TypeDownloadedFileCounts = "downloadedFileCounts"
TypeFoundFileDownloads = "foundFileDownloads"
TypeNotificationSettingsScopePrivateChats = "notificationSettingsScopePrivateChats"
TypeNotificationSettingsScopeGroupChats = "notificationSettingsScopeGroupChats"
TypeNotificationSettingsScopeChannelChats = "notificationSettingsScopeChannelChats"
TypeChatNotificationSettings = "chatNotificationSettings"
TypeScopeNotificationSettings = "scopeNotificationSettings"
TypeDraftMessage = "draftMessage"
TypeChatTypePrivate = "chatTypePrivate"
TypeChatTypeBasicGroup = "chatTypeBasicGroup"
TypeChatTypeSupergroup = "chatTypeSupergroup"
TypeChatTypeSecret = "chatTypeSecret"
TypeChatFolderIcon = "chatFolderIcon"
TypeChatFolder = "chatFolder"
TypeChatFolderInfo = "chatFolderInfo"
TypeChatFolderInviteLink = "chatFolderInviteLink"
TypeChatFolderInviteLinks = "chatFolderInviteLinks"
TypeChatFolderInviteLinkInfo = "chatFolderInviteLinkInfo"
TypeRecommendedChatFolder = "recommendedChatFolder"
TypeRecommendedChatFolders = "recommendedChatFolders"
TypeArchiveChatListSettings = "archiveChatListSettings"
TypeChatListMain = "chatListMain"
TypeChatListArchive = "chatListArchive"
TypeChatListFolder = "chatListFolder"
TypeChatLists = "chatLists"
TypeChatSourceMtprotoProxy = "chatSourceMtprotoProxy"
TypeChatSourcePublicServiceAnnouncement = "chatSourcePublicServiceAnnouncement"
TypeChatPosition = "chatPosition"
TypeChatAvailableReactionsAll = "chatAvailableReactionsAll"
TypeChatAvailableReactionsSome = "chatAvailableReactionsSome"
TypeSavedMessagesTag = "savedMessagesTag"
TypeSavedMessagesTags = "savedMessagesTags"
TypeVideoChat = "videoChat"
TypeChat = "chat"
TypeChats = "chats"
TypeChatNearby = "chatNearby"
TypeChatsNearby = "chatsNearby"
TypePublicChatTypeHasUsername = "publicChatTypeHasUsername"
TypePublicChatTypeIsLocationBased = "publicChatTypeIsLocationBased"
TypeChatActionBarReportSpam = "chatActionBarReportSpam"
TypeChatActionBarReportUnrelatedLocation = "chatActionBarReportUnrelatedLocation"
TypeChatActionBarInviteMembers = "chatActionBarInviteMembers"
TypeChatActionBarReportAddBlock = "chatActionBarReportAddBlock"
TypeChatActionBarAddContact = "chatActionBarAddContact"
TypeChatActionBarSharePhoneNumber = "chatActionBarSharePhoneNumber"
TypeChatActionBarJoinRequest = "chatActionBarJoinRequest"
TypeKeyboardButtonTypeText = "keyboardButtonTypeText"
TypeKeyboardButtonTypeRequestPhoneNumber = "keyboardButtonTypeRequestPhoneNumber"
TypeKeyboardButtonTypeRequestLocation = "keyboardButtonTypeRequestLocation"
TypeKeyboardButtonTypeRequestPoll = "keyboardButtonTypeRequestPoll"
TypeKeyboardButtonTypeRequestUsers = "keyboardButtonTypeRequestUsers"
TypeKeyboardButtonTypeRequestChat = "keyboardButtonTypeRequestChat"
TypeKeyboardButtonTypeWebApp = "keyboardButtonTypeWebApp"
TypeKeyboardButton = "keyboardButton"
TypeInlineKeyboardButtonTypeUrl = "inlineKeyboardButtonTypeUrl"
TypeInlineKeyboardButtonTypeLoginUrl = "inlineKeyboardButtonTypeLoginUrl"
TypeInlineKeyboardButtonTypeWebApp = "inlineKeyboardButtonTypeWebApp"
TypeInlineKeyboardButtonTypeCallback = "inlineKeyboardButtonTypeCallback"
TypeInlineKeyboardButtonTypeCallbackWithPassword = "inlineKeyboardButtonTypeCallbackWithPassword"
TypeInlineKeyboardButtonTypeCallbackGame = "inlineKeyboardButtonTypeCallbackGame"
TypeInlineKeyboardButtonTypeSwitchInline = "inlineKeyboardButtonTypeSwitchInline"
TypeInlineKeyboardButtonTypeBuy = "inlineKeyboardButtonTypeBuy"
TypeInlineKeyboardButtonTypeUser = "inlineKeyboardButtonTypeUser"
TypeInlineKeyboardButton = "inlineKeyboardButton"
TypeReplyMarkupRemoveKeyboard = "replyMarkupRemoveKeyboard"
TypeReplyMarkupForceReply = "replyMarkupForceReply"
TypeReplyMarkupShowKeyboard = "replyMarkupShowKeyboard"
TypeReplyMarkupInlineKeyboard = "replyMarkupInlineKeyboard"
TypeLoginUrlInfoOpen = "loginUrlInfoOpen"
TypeLoginUrlInfoRequestConfirmation = "loginUrlInfoRequestConfirmation"
TypeFoundWebApp = "foundWebApp"
TypeWebAppInfo = "webAppInfo"
TypeMessageThreadInfo = "messageThreadInfo"
TypeSavedMessagesTopicTypeMyNotes = "savedMessagesTopicTypeMyNotes"
TypeSavedMessagesTopicTypeAuthorHidden = "savedMessagesTopicTypeAuthorHidden"
TypeSavedMessagesTopicTypeSavedFromChat = "savedMessagesTopicTypeSavedFromChat"
TypeSavedMessagesTopic = "savedMessagesTopic"
TypeForumTopicIcon = "forumTopicIcon"
TypeForumTopicInfo = "forumTopicInfo"
TypeForumTopic = "forumTopic"
TypeForumTopics = "forumTopics"
TypeLinkPreviewOptions = "linkPreviewOptions"
TypeSharedUser = "sharedUser"
TypeSharedChat = "sharedChat"
TypeRichTextPlain = "richTextPlain"
TypeRichTextBold = "richTextBold"
TypeRichTextItalic = "richTextItalic"
TypeRichTextUnderline = "richTextUnderline"
TypeRichTextStrikethrough = "richTextStrikethrough"
TypeRichTextFixed = "richTextFixed"
TypeRichTextUrl = "richTextUrl"
TypeRichTextEmailAddress = "richTextEmailAddress"
TypeRichTextSubscript = "richTextSubscript"
TypeRichTextSuperscript = "richTextSuperscript"
TypeRichTextMarked = "richTextMarked"
TypeRichTextPhoneNumber = "richTextPhoneNumber"
TypeRichTextIcon = "richTextIcon"
TypeRichTextReference = "richTextReference"
TypeRichTextAnchor = "richTextAnchor"
TypeRichTextAnchorLink = "richTextAnchorLink"
TypeRichTexts = "richTexts"
TypePageBlockCaption = "pageBlockCaption"
TypePageBlockListItem = "pageBlockListItem"
TypePageBlockHorizontalAlignmentLeft = "pageBlockHorizontalAlignmentLeft"
TypePageBlockHorizontalAlignmentCenter = "pageBlockHorizontalAlignmentCenter"
TypePageBlockHorizontalAlignmentRight = "pageBlockHorizontalAlignmentRight"
TypePageBlockVerticalAlignmentTop = "pageBlockVerticalAlignmentTop"
TypePageBlockVerticalAlignmentMiddle = "pageBlockVerticalAlignmentMiddle"
TypePageBlockVerticalAlignmentBottom = "pageBlockVerticalAlignmentBottom"
TypePageBlockTableCell = "pageBlockTableCell"
TypePageBlockRelatedArticle = "pageBlockRelatedArticle"
TypePageBlockTitle = "pageBlockTitle"
TypePageBlockSubtitle = "pageBlockSubtitle"
TypePageBlockAuthorDate = "pageBlockAuthorDate"
TypePageBlockHeader = "pageBlockHeader"
TypePageBlockSubheader = "pageBlockSubheader"
TypePageBlockKicker = "pageBlockKicker"
TypePageBlockParagraph = "pageBlockParagraph"
TypePageBlockPreformatted = "pageBlockPreformatted"
TypePageBlockFooter = "pageBlockFooter"
TypePageBlockDivider = "pageBlockDivider"
TypePageBlockAnchor = "pageBlockAnchor"
TypePageBlockList = "pageBlockList"
TypePageBlockBlockQuote = "pageBlockBlockQuote"
TypePageBlockPullQuote = "pageBlockPullQuote"
TypePageBlockAnimation = "pageBlockAnimation"
TypePageBlockAudio = "pageBlockAudio"
TypePageBlockPhoto = "pageBlockPhoto"
TypePageBlockVideo = "pageBlockVideo"
TypePageBlockVoiceNote = "pageBlockVoiceNote"
TypePageBlockCover = "pageBlockCover"
TypePageBlockEmbedded = "pageBlockEmbedded"
TypePageBlockEmbeddedPost = "pageBlockEmbeddedPost"
TypePageBlockCollage = "pageBlockCollage"
TypePageBlockSlideshow = "pageBlockSlideshow"
TypePageBlockChatLink = "pageBlockChatLink"
TypePageBlockTable = "pageBlockTable"
TypePageBlockDetails = "pageBlockDetails"
TypePageBlockRelatedArticles = "pageBlockRelatedArticles"
TypePageBlockMap = "pageBlockMap"
TypeWebPageInstantView = "webPageInstantView"
TypeWebPage = "webPage"
TypeCountryInfo = "countryInfo"
TypeCountries = "countries"
TypePhoneNumberInfo = "phoneNumberInfo"
TypeCollectibleItemTypeUsername = "collectibleItemTypeUsername"
TypeCollectibleItemTypePhoneNumber = "collectibleItemTypePhoneNumber"
TypeCollectibleItemInfo = "collectibleItemInfo"
TypeBankCardActionOpenUrl = "bankCardActionOpenUrl"
TypeBankCardInfo = "bankCardInfo"
TypeAddress = "address"
TypeThemeParameters = "themeParameters"
TypeLabeledPricePart = "labeledPricePart"
TypeInvoice = "invoice"
TypeOrderInfo = "orderInfo"
TypeShippingOption = "shippingOption"
TypeSavedCredentials = "savedCredentials"
TypeInputCredentialsSaved = "inputCredentialsSaved"
TypeInputCredentialsNew = "inputCredentialsNew"
TypeInputCredentialsApplePay = "inputCredentialsApplePay"
TypeInputCredentialsGooglePay = "inputCredentialsGooglePay"
TypePaymentProviderSmartGlocal = "paymentProviderSmartGlocal"
TypePaymentProviderStripe = "paymentProviderStripe"
TypePaymentProviderOther = "paymentProviderOther"
TypePaymentOption = "paymentOption"
TypePaymentForm = "paymentForm"
TypeValidatedOrderInfo = "validatedOrderInfo"
TypePaymentResult = "paymentResult"
TypePaymentReceipt = "paymentReceipt"
TypeInputInvoiceMessage = "inputInvoiceMessage"
TypeInputInvoiceName = "inputInvoiceName"
TypeInputInvoiceTelegram = "inputInvoiceTelegram"
TypeMessageExtendedMediaPreview = "messageExtendedMediaPreview"
TypeMessageExtendedMediaPhoto = "messageExtendedMediaPhoto"
TypeMessageExtendedMediaVideo = "messageExtendedMediaVideo"
TypeMessageExtendedMediaUnsupported = "messageExtendedMediaUnsupported"
TypePremiumGiveawayParameters = "premiumGiveawayParameters"
TypeDatedFile = "datedFile"
TypePassportElementTypePersonalDetails = "passportElementTypePersonalDetails"
TypePassportElementTypePassport = "passportElementTypePassport"
TypePassportElementTypeDriverLicense = "passportElementTypeDriverLicense"
TypePassportElementTypeIdentityCard = "passportElementTypeIdentityCard"
TypePassportElementTypeInternalPassport = "passportElementTypeInternalPassport"
TypePassportElementTypeAddress = "passportElementTypeAddress"
TypePassportElementTypeUtilityBill = "passportElementTypeUtilityBill"
TypePassportElementTypeBankStatement = "passportElementTypeBankStatement"
TypePassportElementTypeRentalAgreement = "passportElementTypeRentalAgreement"
TypePassportElementTypePassportRegistration = "passportElementTypePassportRegistration"
TypePassportElementTypeTemporaryRegistration = "passportElementTypeTemporaryRegistration"
TypePassportElementTypePhoneNumber = "passportElementTypePhoneNumber"
TypePassportElementTypeEmailAddress = "passportElementTypeEmailAddress"
TypeDate = "date"
TypePersonalDetails = "personalDetails"
TypeIdentityDocument = "identityDocument"
TypeInputIdentityDocument = "inputIdentityDocument"
TypePersonalDocument = "personalDocument"
TypeInputPersonalDocument = "inputPersonalDocument"
TypePassportElementPersonalDetails = "passportElementPersonalDetails"
TypePassportElementPassport = "passportElementPassport"
TypePassportElementDriverLicense = "passportElementDriverLicense"
TypePassportElementIdentityCard = "passportElementIdentityCard"
TypePassportElementInternalPassport = "passportElementInternalPassport"
TypePassportElementAddress = "passportElementAddress"
TypePassportElementUtilityBill = "passportElementUtilityBill"
TypePassportElementBankStatement = "passportElementBankStatement"
TypePassportElementRentalAgreement = "passportElementRentalAgreement"
TypePassportElementPassportRegistration = "passportElementPassportRegistration"
TypePassportElementTemporaryRegistration = "passportElementTemporaryRegistration"
TypePassportElementPhoneNumber = "passportElementPhoneNumber"
TypePassportElementEmailAddress = "passportElementEmailAddress"
TypeInputPassportElementPersonalDetails = "inputPassportElementPersonalDetails"
TypeInputPassportElementPassport = "inputPassportElementPassport"
TypeInputPassportElementDriverLicense = "inputPassportElementDriverLicense"
TypeInputPassportElementIdentityCard = "inputPassportElementIdentityCard"
TypeInputPassportElementInternalPassport = "inputPassportElementInternalPassport"
TypeInputPassportElementAddress = "inputPassportElementAddress"
TypeInputPassportElementUtilityBill = "inputPassportElementUtilityBill"
TypeInputPassportElementBankStatement = "inputPassportElementBankStatement"
TypeInputPassportElementRentalAgreement = "inputPassportElementRentalAgreement"
TypeInputPassportElementPassportRegistration = "inputPassportElementPassportRegistration"
TypeInputPassportElementTemporaryRegistration = "inputPassportElementTemporaryRegistration"
TypeInputPassportElementPhoneNumber = "inputPassportElementPhoneNumber"
TypeInputPassportElementEmailAddress = "inputPassportElementEmailAddress"
TypePassportElements = "passportElements"
TypePassportElementErrorSourceUnspecified = "passportElementErrorSourceUnspecified"
TypePassportElementErrorSourceDataField = "passportElementErrorSourceDataField"
TypePassportElementErrorSourceFrontSide = "passportElementErrorSourceFrontSide"
TypePassportElementErrorSourceReverseSide = "passportElementErrorSourceReverseSide"
TypePassportElementErrorSourceSelfie = "passportElementErrorSourceSelfie"
TypePassportElementErrorSourceTranslationFile = "passportElementErrorSourceTranslationFile"
TypePassportElementErrorSourceTranslationFiles = "passportElementErrorSourceTranslationFiles"
TypePassportElementErrorSourceFile = "passportElementErrorSourceFile"
TypePassportElementErrorSourceFiles = "passportElementErrorSourceFiles"
TypePassportElementError = "passportElementError"
TypePassportSuitableElement = "passportSuitableElement"
TypePassportRequiredElement = "passportRequiredElement"
TypePassportAuthorizationForm = "passportAuthorizationForm"
TypePassportElementsWithErrors = "passportElementsWithErrors"
TypeEncryptedCredentials = "encryptedCredentials"
TypeEncryptedPassportElement = "encryptedPassportElement"
TypeInputPassportElementErrorSourceUnspecified = "inputPassportElementErrorSourceUnspecified"
TypeInputPassportElementErrorSourceDataField = "inputPassportElementErrorSourceDataField"
TypeInputPassportElementErrorSourceFrontSide = "inputPassportElementErrorSourceFrontSide"
TypeInputPassportElementErrorSourceReverseSide = "inputPassportElementErrorSourceReverseSide"
TypeInputPassportElementErrorSourceSelfie = "inputPassportElementErrorSourceSelfie"
TypeInputPassportElementErrorSourceTranslationFile = "inputPassportElementErrorSourceTranslationFile"
TypeInputPassportElementErrorSourceTranslationFiles = "inputPassportElementErrorSourceTranslationFiles"
TypeInputPassportElementErrorSourceFile = "inputPassportElementErrorSourceFile"
TypeInputPassportElementErrorSourceFiles = "inputPassportElementErrorSourceFiles"
TypeInputPassportElementError = "inputPassportElementError"
TypeMessageText = "messageText"
TypeMessageAnimation = "messageAnimation"
TypeMessageAudio = "messageAudio"
TypeMessageDocument = "messageDocument"
TypeMessagePhoto = "messagePhoto"
TypeMessageSticker = "messageSticker"
TypeMessageVideo = "messageVideo"
TypeMessageVideoNote = "messageVideoNote"
TypeMessageVoiceNote = "messageVoiceNote"
TypeMessageExpiredPhoto = "messageExpiredPhoto"
TypeMessageExpiredVideo = "messageExpiredVideo"
TypeMessageExpiredVideoNote = "messageExpiredVideoNote"
TypeMessageExpiredVoiceNote = "messageExpiredVoiceNote"
TypeMessageLocation = "messageLocation"
TypeMessageVenue = "messageVenue"
TypeMessageContact = "messageContact"
TypeMessageAnimatedEmoji = "messageAnimatedEmoji"
TypeMessageDice = "messageDice"
TypeMessageGame = "messageGame"
TypeMessagePoll = "messagePoll"
TypeMessageStory = "messageStory"
TypeMessageInvoice = "messageInvoice"
TypeMessageCall = "messageCall"
TypeMessageVideoChatScheduled = "messageVideoChatScheduled"
TypeMessageVideoChatStarted = "messageVideoChatStarted"
TypeMessageVideoChatEnded = "messageVideoChatEnded"
TypeMessageInviteVideoChatParticipants = "messageInviteVideoChatParticipants"
TypeMessageBasicGroupChatCreate = "messageBasicGroupChatCreate"
TypeMessageSupergroupChatCreate = "messageSupergroupChatCreate"
TypeMessageChatChangeTitle = "messageChatChangeTitle"
TypeMessageChatChangePhoto = "messageChatChangePhoto"
TypeMessageChatDeletePhoto = "messageChatDeletePhoto"
TypeMessageChatAddMembers = "messageChatAddMembers"
TypeMessageChatJoinByLink = "messageChatJoinByLink"
TypeMessageChatJoinByRequest = "messageChatJoinByRequest"
TypeMessageChatDeleteMember = "messageChatDeleteMember"
TypeMessageChatUpgradeTo = "messageChatUpgradeTo"
TypeMessageChatUpgradeFrom = "messageChatUpgradeFrom"
TypeMessagePinMessage = "messagePinMessage"
TypeMessageScreenshotTaken = "messageScreenshotTaken"
TypeMessageChatSetBackground = "messageChatSetBackground"
TypeMessageChatSetTheme = "messageChatSetTheme"
TypeMessageChatSetMessageAutoDeleteTime = "messageChatSetMessageAutoDeleteTime"
TypeMessageChatBoost = "messageChatBoost"
TypeMessageForumTopicCreated = "messageForumTopicCreated"
TypeMessageForumTopicEdited = "messageForumTopicEdited"
TypeMessageForumTopicIsClosedToggled = "messageForumTopicIsClosedToggled"
TypeMessageForumTopicIsHiddenToggled = "messageForumTopicIsHiddenToggled"
TypeMessageSuggestProfilePhoto = "messageSuggestProfilePhoto"
TypeMessageCustomServiceAction = "messageCustomServiceAction"
TypeMessageGameScore = "messageGameScore"
TypeMessagePaymentSuccessful = "messagePaymentSuccessful"
TypeMessagePaymentSuccessfulBot = "messagePaymentSuccessfulBot"
TypeMessageGiftedPremium = "messageGiftedPremium"
TypeMessagePremiumGiftCode = "messagePremiumGiftCode"
TypeMessagePremiumGiveawayCreated = "messagePremiumGiveawayCreated"
TypeMessagePremiumGiveaway = "messagePremiumGiveaway"
TypeMessagePremiumGiveawayCompleted = "messagePremiumGiveawayCompleted"
TypeMessagePremiumGiveawayWinners = "messagePremiumGiveawayWinners"
TypeMessageContactRegistered = "messageContactRegistered"
TypeMessageUsersShared = "messageUsersShared"
TypeMessageChatShared = "messageChatShared"
TypeMessageBotWriteAccessAllowed = "messageBotWriteAccessAllowed"
TypeMessageWebAppDataSent = "messageWebAppDataSent"
TypeMessageWebAppDataReceived = "messageWebAppDataReceived"
TypeMessagePassportDataSent = "messagePassportDataSent"
TypeMessagePassportDataReceived = "messagePassportDataReceived"
TypeMessageProximityAlertTriggered = "messageProximityAlertTriggered"
TypeMessageUnsupported = "messageUnsupported"
TypeTextEntityTypeMention = "textEntityTypeMention"
TypeTextEntityTypeHashtag = "textEntityTypeHashtag"
TypeTextEntityTypeCashtag = "textEntityTypeCashtag"
TypeTextEntityTypeBotCommand = "textEntityTypeBotCommand"
TypeTextEntityTypeUrl = "textEntityTypeUrl"
TypeTextEntityTypeEmailAddress = "textEntityTypeEmailAddress"
TypeTextEntityTypePhoneNumber = "textEntityTypePhoneNumber"
TypeTextEntityTypeBankCardNumber = "textEntityTypeBankCardNumber"
TypeTextEntityTypeBold = "textEntityTypeBold"
TypeTextEntityTypeItalic = "textEntityTypeItalic"
TypeTextEntityTypeUnderline = "textEntityTypeUnderline"
TypeTextEntityTypeStrikethrough = "textEntityTypeStrikethrough"
TypeTextEntityTypeSpoiler = "textEntityTypeSpoiler"
TypeTextEntityTypeCode = "textEntityTypeCode"
TypeTextEntityTypePre = "textEntityTypePre"
TypeTextEntityTypePreCode = "textEntityTypePreCode"
TypeTextEntityTypeBlockQuote = "textEntityTypeBlockQuote"
TypeTextEntityTypeTextUrl = "textEntityTypeTextUrl"
TypeTextEntityTypeMentionName = "textEntityTypeMentionName"
TypeTextEntityTypeCustomEmoji = "textEntityTypeCustomEmoji"
TypeTextEntityTypeMediaTimestamp = "textEntityTypeMediaTimestamp"
TypeInputThumbnail = "inputThumbnail"
TypeMessageSchedulingStateSendAtDate = "messageSchedulingStateSendAtDate"
TypeMessageSchedulingStateSendWhenOnline = "messageSchedulingStateSendWhenOnline"
TypeMessageSelfDestructTypeTimer = "messageSelfDestructTypeTimer"
TypeMessageSelfDestructTypeImmediately = "messageSelfDestructTypeImmediately"
TypeMessageSendOptions = "messageSendOptions"
TypeMessageCopyOptions = "messageCopyOptions"
TypeInputMessageText = "inputMessageText"
TypeInputMessageAnimation = "inputMessageAnimation"
TypeInputMessageAudio = "inputMessageAudio"
TypeInputMessageDocument = "inputMessageDocument"
TypeInputMessagePhoto = "inputMessagePhoto"
TypeInputMessageSticker = "inputMessageSticker"
TypeInputMessageVideo = "inputMessageVideo"
TypeInputMessageVideoNote = "inputMessageVideoNote"
TypeInputMessageVoiceNote = "inputMessageVoiceNote"
TypeInputMessageLocation = "inputMessageLocation"
TypeInputMessageVenue = "inputMessageVenue"
TypeInputMessageContact = "inputMessageContact"
TypeInputMessageDice = "inputMessageDice"
TypeInputMessageGame = "inputMessageGame"
TypeInputMessageInvoice = "inputMessageInvoice"
TypeInputMessagePoll = "inputMessagePoll"
TypeInputMessageStory = "inputMessageStory"
TypeInputMessageForwarded = "inputMessageForwarded"
TypeSearchMessagesFilterEmpty = "searchMessagesFilterEmpty"
TypeSearchMessagesFilterAnimation = "searchMessagesFilterAnimation"
TypeSearchMessagesFilterAudio = "searchMessagesFilterAudio"
TypeSearchMessagesFilterDocument = "searchMessagesFilterDocument"
TypeSearchMessagesFilterPhoto = "searchMessagesFilterPhoto"
TypeSearchMessagesFilterVideo = "searchMessagesFilterVideo"
TypeSearchMessagesFilterVoiceNote = "searchMessagesFilterVoiceNote"
TypeSearchMessagesFilterPhotoAndVideo = "searchMessagesFilterPhotoAndVideo"
TypeSearchMessagesFilterUrl = "searchMessagesFilterUrl"
TypeSearchMessagesFilterChatPhoto = "searchMessagesFilterChatPhoto"
TypeSearchMessagesFilterVideoNote = "searchMessagesFilterVideoNote"
TypeSearchMessagesFilterVoiceAndVideoNote = "searchMessagesFilterVoiceAndVideoNote"
TypeSearchMessagesFilterMention = "searchMessagesFilterMention"
TypeSearchMessagesFilterUnreadMention = "searchMessagesFilterUnreadMention"
TypeSearchMessagesFilterUnreadReaction = "searchMessagesFilterUnreadReaction"
TypeSearchMessagesFilterFailedToSend = "searchMessagesFilterFailedToSend"
TypeSearchMessagesFilterPinned = "searchMessagesFilterPinned"
TypeChatActionTyping = "chatActionTyping"
TypeChatActionRecordingVideo = "chatActionRecordingVideo"
TypeChatActionUploadingVideo = "chatActionUploadingVideo"
TypeChatActionRecordingVoiceNote = "chatActionRecordingVoiceNote"
TypeChatActionUploadingVoiceNote = "chatActionUploadingVoiceNote"
TypeChatActionUploadingPhoto = "chatActionUploadingPhoto"
TypeChatActionUploadingDocument = "chatActionUploadingDocument"
TypeChatActionChoosingSticker = "chatActionChoosingSticker"
TypeChatActionChoosingLocation = "chatActionChoosingLocation"
TypeChatActionChoosingContact = "chatActionChoosingContact"
TypeChatActionStartPlayingGame = "chatActionStartPlayingGame"
TypeChatActionRecordingVideoNote = "chatActionRecordingVideoNote"
TypeChatActionUploadingVideoNote = "chatActionUploadingVideoNote"
TypeChatActionWatchingAnimations = "chatActionWatchingAnimations"
TypeChatActionCancel = "chatActionCancel"
TypeUserStatusEmpty = "userStatusEmpty"
TypeUserStatusOnline = "userStatusOnline"
TypeUserStatusOffline = "userStatusOffline"
TypeUserStatusRecently = "userStatusRecently"
TypeUserStatusLastWeek = "userStatusLastWeek"
TypeUserStatusLastMonth = "userStatusLastMonth"
TypeEmojiKeyword = "emojiKeyword"
TypeEmojiKeywords = "emojiKeywords"
TypeStickers = "stickers"
TypeEmojis = "emojis"
TypeStickerSet = "stickerSet"
TypeStickerSetInfo = "stickerSetInfo"
TypeStickerSets = "stickerSets"
TypeTrendingStickerSets = "trendingStickerSets"
TypeEmojiCategory = "emojiCategory"
TypeEmojiCategories = "emojiCategories"
TypeEmojiCategoryTypeDefault = "emojiCategoryTypeDefault"
TypeEmojiCategoryTypeEmojiStatus = "emojiCategoryTypeEmojiStatus"
TypeEmojiCategoryTypeChatPhoto = "emojiCategoryTypeChatPhoto"
TypeStoryAreaPosition = "storyAreaPosition"
TypeStoryAreaTypeLocation = "storyAreaTypeLocation"
TypeStoryAreaTypeVenue = "storyAreaTypeVenue"
TypeStoryAreaTypeSuggestedReaction = "storyAreaTypeSuggestedReaction"
TypeStoryAreaTypeMessage = "storyAreaTypeMessage"
TypeStoryArea = "storyArea"
TypeInputStoryAreaTypeLocation = "inputStoryAreaTypeLocation"
TypeInputStoryAreaTypeFoundVenue = "inputStoryAreaTypeFoundVenue"
TypeInputStoryAreaTypePreviousVenue = "inputStoryAreaTypePreviousVenue"
TypeInputStoryAreaTypeSuggestedReaction = "inputStoryAreaTypeSuggestedReaction"
TypeInputStoryAreaTypeMessage = "inputStoryAreaTypeMessage"
TypeInputStoryArea = "inputStoryArea"
TypeInputStoryAreas = "inputStoryAreas"
TypeStoryVideo = "storyVideo"
TypeStoryContentPhoto = "storyContentPhoto"
TypeStoryContentVideo = "storyContentVideo"
TypeStoryContentUnsupported = "storyContentUnsupported"
TypeInputStoryContentPhoto = "inputStoryContentPhoto"
TypeInputStoryContentVideo = "inputStoryContentVideo"
TypeStoryListMain = "storyListMain"
TypeStoryListArchive = "storyListArchive"
TypeStoryOriginPublicStory = "storyOriginPublicStory"
TypeStoryOriginHiddenUser = "storyOriginHiddenUser"
TypeStoryRepostInfo = "storyRepostInfo"
TypeStoryInteractionInfo = "storyInteractionInfo"
TypeStory = "story"
TypeStories = "stories"
TypeStoryFullId = "storyFullId"
TypeStoryInfo = "storyInfo"
TypeChatActiveStories = "chatActiveStories"
TypeStoryInteractionTypeView = "storyInteractionTypeView"
TypeStoryInteractionTypeForward = "storyInteractionTypeForward"
TypeStoryInteractionTypeRepost = "storyInteractionTypeRepost"
TypeStoryInteraction = "storyInteraction"
TypeStoryInteractions = "storyInteractions"
TypeQuickReplyMessage = "quickReplyMessage"
TypeQuickReplyShortcut = "quickReplyShortcut"
TypePublicForwardMessage = "publicForwardMessage"
TypePublicForwardStory = "publicForwardStory"
TypePublicForwards = "publicForwards"
TypeChatBoostLevelFeatures = "chatBoostLevelFeatures"
TypeChatBoostFeatures = "chatBoostFeatures"
TypeChatBoostSourceGiftCode = "chatBoostSourceGiftCode"
TypeChatBoostSourceGiveaway = "chatBoostSourceGiveaway"
TypeChatBoostSourcePremium = "chatBoostSourcePremium"
TypePrepaidPremiumGiveaway = "prepaidPremiumGiveaway"
TypeChatBoostStatus = "chatBoostStatus"
TypeChatBoost = "chatBoost"
TypeFoundChatBoosts = "foundChatBoosts"
TypeChatBoostSlot = "chatBoostSlot"
TypeChatBoostSlots = "chatBoostSlots"
TypeCallDiscardReasonEmpty = "callDiscardReasonEmpty"
TypeCallDiscardReasonMissed = "callDiscardReasonMissed"
TypeCallDiscardReasonDeclined = "callDiscardReasonDeclined"
TypeCallDiscardReasonDisconnected = "callDiscardReasonDisconnected"
TypeCallDiscardReasonHungUp = "callDiscardReasonHungUp"
TypeCallProtocol = "callProtocol"
TypeCallServerTypeTelegramReflector = "callServerTypeTelegramReflector"
TypeCallServerTypeWebrtc = "callServerTypeWebrtc"
TypeCallServer = "callServer"
TypeCallId = "callId"
TypeGroupCallId = "groupCallId"
TypeCallStatePending = "callStatePending"
TypeCallStateExchangingKeys = "callStateExchangingKeys"
TypeCallStateReady = "callStateReady"
TypeCallStateHangingUp = "callStateHangingUp"
TypeCallStateDiscarded = "callStateDiscarded"
TypeCallStateError = "callStateError"
TypeGroupCallVideoQualityThumbnail = "groupCallVideoQualityThumbnail"
TypeGroupCallVideoQualityMedium = "groupCallVideoQualityMedium"
TypeGroupCallVideoQualityFull = "groupCallVideoQualityFull"
TypeGroupCallStream = "groupCallStream"
TypeGroupCallStreams = "groupCallStreams"
TypeRtmpUrl = "rtmpUrl"
TypeGroupCallRecentSpeaker = "groupCallRecentSpeaker"
TypeGroupCall = "groupCall"
TypeGroupCallVideoSourceGroup = "groupCallVideoSourceGroup"
TypeGroupCallParticipantVideoInfo = "groupCallParticipantVideoInfo"
TypeGroupCallParticipant = "groupCallParticipant"
TypeCallProblemEcho = "callProblemEcho"
TypeCallProblemNoise = "callProblemNoise"
TypeCallProblemInterruptions = "callProblemInterruptions"
TypeCallProblemDistortedSpeech = "callProblemDistortedSpeech"
TypeCallProblemSilentLocal = "callProblemSilentLocal"
TypeCallProblemSilentRemote = "callProblemSilentRemote"
TypeCallProblemDropped = "callProblemDropped"
TypeCallProblemDistortedVideo = "callProblemDistortedVideo"
TypeCallProblemPixelatedVideo = "callProblemPixelatedVideo"
TypeCall = "call"
TypeFirebaseAuthenticationSettingsAndroid = "firebaseAuthenticationSettingsAndroid"
TypeFirebaseAuthenticationSettingsIos = "firebaseAuthenticationSettingsIos"
TypePhoneNumberAuthenticationSettings = "phoneNumberAuthenticationSettings"
TypeAddedReaction = "addedReaction"
TypeAddedReactions = "addedReactions"
TypeAvailableReaction = "availableReaction"
TypeAvailableReactions = "availableReactions"
TypeEmojiReaction = "emojiReaction"
TypeReactionUnavailabilityReasonAnonymousAdministrator = "reactionUnavailabilityReasonAnonymousAdministrator"
TypeReactionUnavailabilityReasonGuest = "reactionUnavailabilityReasonGuest"
TypeAnimations = "animations"
TypeDiceStickersRegular = "diceStickersRegular"
TypeDiceStickersSlotMachine = "diceStickersSlotMachine"
TypeImportedContacts = "importedContacts"
TypeSpeechRecognitionResultPending = "speechRecognitionResultPending"
TypeSpeechRecognitionResultText = "speechRecognitionResultText"
TypeSpeechRecognitionResultError = "speechRecognitionResultError"
TypeBusinessConnection = "businessConnection"
TypeAttachmentMenuBotColor = "attachmentMenuBotColor"
TypeAttachmentMenuBot = "attachmentMenuBot"
TypeSentWebAppMessage = "sentWebAppMessage"
TypeBotWriteAccessAllowReasonConnectedWebsite = "botWriteAccessAllowReasonConnectedWebsite"
TypeBotWriteAccessAllowReasonAddedToAttachmentMenu = "botWriteAccessAllowReasonAddedToAttachmentMenu"
TypeBotWriteAccessAllowReasonLaunchedWebApp = "botWriteAccessAllowReasonLaunchedWebApp"
TypeBotWriteAccessAllowReasonAcceptedRequest = "botWriteAccessAllowReasonAcceptedRequest"
TypeHttpUrl = "httpUrl"
TypeUserLink = "userLink"
TypeInputInlineQueryResultAnimation = "inputInlineQueryResultAnimation"
TypeInputInlineQueryResultArticle = "inputInlineQueryResultArticle"
TypeInputInlineQueryResultAudio = "inputInlineQueryResultAudio"
TypeInputInlineQueryResultContact = "inputInlineQueryResultContact"
TypeInputInlineQueryResultDocument = "inputInlineQueryResultDocument"
TypeInputInlineQueryResultGame = "inputInlineQueryResultGame"
TypeInputInlineQueryResultLocation = "inputInlineQueryResultLocation"
TypeInputInlineQueryResultPhoto = "inputInlineQueryResultPhoto"
TypeInputInlineQueryResultSticker = "inputInlineQueryResultSticker"
TypeInputInlineQueryResultVenue = "inputInlineQueryResultVenue"
TypeInputInlineQueryResultVideo = "inputInlineQueryResultVideo"
TypeInputInlineQueryResultVoiceNote = "inputInlineQueryResultVoiceNote"
TypeInlineQueryResultArticle = "inlineQueryResultArticle"
TypeInlineQueryResultContact = "inlineQueryResultContact"
TypeInlineQueryResultLocation = "inlineQueryResultLocation"
TypeInlineQueryResultVenue = "inlineQueryResultVenue"
TypeInlineQueryResultGame = "inlineQueryResultGame"
TypeInlineQueryResultAnimation = "inlineQueryResultAnimation"
TypeInlineQueryResultAudio = "inlineQueryResultAudio"
TypeInlineQueryResultDocument = "inlineQueryResultDocument"
TypeInlineQueryResultPhoto = "inlineQueryResultPhoto"
TypeInlineQueryResultSticker = "inlineQueryResultSticker"
TypeInlineQueryResultVideo = "inlineQueryResultVideo"
TypeInlineQueryResultVoiceNote = "inlineQueryResultVoiceNote"
TypeInlineQueryResultsButtonTypeStartBot = "inlineQueryResultsButtonTypeStartBot"
TypeInlineQueryResultsButtonTypeWebApp = "inlineQueryResultsButtonTypeWebApp"
TypeInlineQueryResultsButton = "inlineQueryResultsButton"
TypeInlineQueryResults = "inlineQueryResults"
TypeCallbackQueryPayloadData = "callbackQueryPayloadData"
TypeCallbackQueryPayloadDataWithPassword = "callbackQueryPayloadDataWithPassword"
TypeCallbackQueryPayloadGame = "callbackQueryPayloadGame"
TypeCallbackQueryAnswer = "callbackQueryAnswer"
TypeCustomRequestResult = "customRequestResult"
TypeGameHighScore = "gameHighScore"
TypeGameHighScores = "gameHighScores"
TypeChatEventMessageEdited = "chatEventMessageEdited"
TypeChatEventMessageDeleted = "chatEventMessageDeleted"
TypeChatEventMessagePinned = "chatEventMessagePinned"
TypeChatEventMessageUnpinned = "chatEventMessageUnpinned"
TypeChatEventPollStopped = "chatEventPollStopped"
TypeChatEventMemberJoined = "chatEventMemberJoined"
TypeChatEventMemberJoinedByInviteLink = "chatEventMemberJoinedByInviteLink"
TypeChatEventMemberJoinedByRequest = "chatEventMemberJoinedByRequest"
TypeChatEventMemberInvited = "chatEventMemberInvited"
TypeChatEventMemberLeft = "chatEventMemberLeft"
TypeChatEventMemberPromoted = "chatEventMemberPromoted"
TypeChatEventMemberRestricted = "chatEventMemberRestricted"
TypeChatEventAvailableReactionsChanged = "chatEventAvailableReactionsChanged"
TypeChatEventBackgroundChanged = "chatEventBackgroundChanged"
TypeChatEventDescriptionChanged = "chatEventDescriptionChanged"
TypeChatEventEmojiStatusChanged = "chatEventEmojiStatusChanged"
TypeChatEventLinkedChatChanged = "chatEventLinkedChatChanged"
TypeChatEventLocationChanged = "chatEventLocationChanged"
TypeChatEventMessageAutoDeleteTimeChanged = "chatEventMessageAutoDeleteTimeChanged"
TypeChatEventPermissionsChanged = "chatEventPermissionsChanged"
TypeChatEventPhotoChanged = "chatEventPhotoChanged"
TypeChatEventSlowModeDelayChanged = "chatEventSlowModeDelayChanged"
TypeChatEventStickerSetChanged = "chatEventStickerSetChanged"
TypeChatEventCustomEmojiStickerSetChanged = "chatEventCustomEmojiStickerSetChanged"
TypeChatEventTitleChanged = "chatEventTitleChanged"
TypeChatEventUsernameChanged = "chatEventUsernameChanged"
TypeChatEventActiveUsernamesChanged = "chatEventActiveUsernamesChanged"
TypeChatEventAccentColorChanged = "chatEventAccentColorChanged"
TypeChatEventProfileAccentColorChanged = "chatEventProfileAccentColorChanged"
TypeChatEventHasProtectedContentToggled = "chatEventHasProtectedContentToggled"
TypeChatEventInvitesToggled = "chatEventInvitesToggled"
TypeChatEventIsAllHistoryAvailableToggled = "chatEventIsAllHistoryAvailableToggled"
TypeChatEventHasAggressiveAntiSpamEnabledToggled = "chatEventHasAggressiveAntiSpamEnabledToggled"
TypeChatEventSignMessagesToggled = "chatEventSignMessagesToggled"
TypeChatEventInviteLinkEdited = "chatEventInviteLinkEdited"
TypeChatEventInviteLinkRevoked = "chatEventInviteLinkRevoked"
TypeChatEventInviteLinkDeleted = "chatEventInviteLinkDeleted"
TypeChatEventVideoChatCreated = "chatEventVideoChatCreated"
TypeChatEventVideoChatEnded = "chatEventVideoChatEnded"
TypeChatEventVideoChatMuteNewParticipantsToggled = "chatEventVideoChatMuteNewParticipantsToggled"
TypeChatEventVideoChatParticipantIsMutedToggled = "chatEventVideoChatParticipantIsMutedToggled"
TypeChatEventVideoChatParticipantVolumeLevelChanged = "chatEventVideoChatParticipantVolumeLevelChanged"
TypeChatEventIsForumToggled = "chatEventIsForumToggled"
TypeChatEventForumTopicCreated = "chatEventForumTopicCreated"
TypeChatEventForumTopicEdited = "chatEventForumTopicEdited"
TypeChatEventForumTopicToggleIsClosed = "chatEventForumTopicToggleIsClosed"
TypeChatEventForumTopicToggleIsHidden = "chatEventForumTopicToggleIsHidden"
TypeChatEventForumTopicDeleted = "chatEventForumTopicDeleted"
TypeChatEventForumTopicPinned = "chatEventForumTopicPinned"
TypeChatEvent = "chatEvent"
TypeChatEvents = "chatEvents"
TypeChatEventLogFilters = "chatEventLogFilters"
TypeLanguagePackStringValueOrdinary = "languagePackStringValueOrdinary"
TypeLanguagePackStringValuePluralized = "languagePackStringValuePluralized"
TypeLanguagePackStringValueDeleted = "languagePackStringValueDeleted"
TypeLanguagePackString = "languagePackString"
TypeLanguagePackStrings = "languagePackStrings"
TypeLanguagePackInfo = "languagePackInfo"
TypeLocalizationTargetInfo = "localizationTargetInfo"
TypePremiumLimitTypeSupergroupCount = "premiumLimitTypeSupergroupCount"
TypePremiumLimitTypePinnedChatCount = "premiumLimitTypePinnedChatCount"
TypePremiumLimitTypeCreatedPublicChatCount = "premiumLimitTypeCreatedPublicChatCount"
TypePremiumLimitTypeSavedAnimationCount = "premiumLimitTypeSavedAnimationCount"
TypePremiumLimitTypeFavoriteStickerCount = "premiumLimitTypeFavoriteStickerCount"
TypePremiumLimitTypeChatFolderCount = "premiumLimitTypeChatFolderCount"
TypePremiumLimitTypeChatFolderChosenChatCount = "premiumLimitTypeChatFolderChosenChatCount"
TypePremiumLimitTypePinnedArchivedChatCount = "premiumLimitTypePinnedArchivedChatCount"
TypePremiumLimitTypePinnedSavedMessagesTopicCount = "premiumLimitTypePinnedSavedMessagesTopicCount"
TypePremiumLimitTypeCaptionLength = "premiumLimitTypeCaptionLength"
TypePremiumLimitTypeBioLength = "premiumLimitTypeBioLength"
TypePremiumLimitTypeChatFolderInviteLinkCount = "premiumLimitTypeChatFolderInviteLinkCount"
TypePremiumLimitTypeShareableChatFolderCount = "premiumLimitTypeShareableChatFolderCount"
TypePremiumLimitTypeActiveStoryCount = "premiumLimitTypeActiveStoryCount"
TypePremiumLimitTypeWeeklySentStoryCount = "premiumLimitTypeWeeklySentStoryCount"
TypePremiumLimitTypeMonthlySentStoryCount = "premiumLimitTypeMonthlySentStoryCount"
TypePremiumLimitTypeStoryCaptionLength = "premiumLimitTypeStoryCaptionLength"
TypePremiumLimitTypeStorySuggestedReactionAreaCount = "premiumLimitTypeStorySuggestedReactionAreaCount"
TypePremiumLimitTypeSimilarChatCount = "premiumLimitTypeSimilarChatCount"
TypePremiumFeatureIncreasedLimits = "premiumFeatureIncreasedLimits"
TypePremiumFeatureIncreasedUploadFileSize = "premiumFeatureIncreasedUploadFileSize"
TypePremiumFeatureImprovedDownloadSpeed = "premiumFeatureImprovedDownloadSpeed"
TypePremiumFeatureVoiceRecognition = "premiumFeatureVoiceRecognition"
TypePremiumFeatureDisabledAds = "premiumFeatureDisabledAds"
TypePremiumFeatureUniqueReactions = "premiumFeatureUniqueReactions"
TypePremiumFeatureUniqueStickers = "premiumFeatureUniqueStickers"
TypePremiumFeatureCustomEmoji = "premiumFeatureCustomEmoji"
TypePremiumFeatureAdvancedChatManagement = "premiumFeatureAdvancedChatManagement"
TypePremiumFeatureProfileBadge = "premiumFeatureProfileBadge"
TypePremiumFeatureEmojiStatus = "premiumFeatureEmojiStatus"
TypePremiumFeatureAnimatedProfilePhoto = "premiumFeatureAnimatedProfilePhoto"
TypePremiumFeatureForumTopicIcon = "premiumFeatureForumTopicIcon"
TypePremiumFeatureAppIcons = "premiumFeatureAppIcons"
TypePremiumFeatureRealTimeChatTranslation = "premiumFeatureRealTimeChatTranslation"
TypePremiumFeatureUpgradedStories = "premiumFeatureUpgradedStories"
TypePremiumFeatureChatBoost = "premiumFeatureChatBoost"
TypePremiumFeatureAccentColor = "premiumFeatureAccentColor"
TypePremiumFeatureBackgroundForBoth = "premiumFeatureBackgroundForBoth"
TypePremiumFeatureSavedMessagesTags = "premiumFeatureSavedMessagesTags"
TypePremiumFeatureMessagePrivacy = "premiumFeatureMessagePrivacy"
TypePremiumFeatureLastSeenTimes = "premiumFeatureLastSeenTimes"
TypePremiumFeatureBusiness = "premiumFeatureBusiness"
TypeBusinessFeatureLocation = "businessFeatureLocation"
TypeBusinessFeatureOpeningHours = "businessFeatureOpeningHours"
TypeBusinessFeatureQuickReplies = "businessFeatureQuickReplies"
TypeBusinessFeatureGreetingMessage = "businessFeatureGreetingMessage"
TypeBusinessFeatureAwayMessage = "businessFeatureAwayMessage"
TypeBusinessFeatureAccountLinks = "businessFeatureAccountLinks"
TypeBusinessFeatureIntro = "businessFeatureIntro"
TypeBusinessFeatureBots = "businessFeatureBots"
TypeBusinessFeatureEmojiStatus = "businessFeatureEmojiStatus"
TypeBusinessFeatureChatFolderTags = "businessFeatureChatFolderTags"
TypeBusinessFeatureUpgradedStories = "businessFeatureUpgradedStories"
TypePremiumStoryFeaturePriorityOrder = "premiumStoryFeaturePriorityOrder"
TypePremiumStoryFeatureStealthMode = "premiumStoryFeatureStealthMode"
TypePremiumStoryFeaturePermanentViewsHistory = "premiumStoryFeaturePermanentViewsHistory"
TypePremiumStoryFeatureCustomExpirationDuration = "premiumStoryFeatureCustomExpirationDuration"
TypePremiumStoryFeatureSaveStories = "premiumStoryFeatureSaveStories"
TypePremiumStoryFeatureLinksAndFormatting = "premiumStoryFeatureLinksAndFormatting"
TypePremiumStoryFeatureVideoQuality = "premiumStoryFeatureVideoQuality"
TypePremiumLimit = "premiumLimit"
TypePremiumFeatures = "premiumFeatures"
TypeBusinessFeatures = "businessFeatures"
TypePremiumSourceLimitExceeded = "premiumSourceLimitExceeded"
TypePremiumSourceFeature = "premiumSourceFeature"
TypePremiumSourceBusinessFeature = "premiumSourceBusinessFeature"
TypePremiumSourceStoryFeature = "premiumSourceStoryFeature"
TypePremiumSourceLink = "premiumSourceLink"
TypePremiumSourceSettings = "premiumSourceSettings"
TypePremiumFeaturePromotionAnimation = "premiumFeaturePromotionAnimation"
TypeBusinessFeaturePromotionAnimation = "businessFeaturePromotionAnimation"
TypePremiumState = "premiumState"
TypeStorePaymentPurposePremiumSubscription = "storePaymentPurposePremiumSubscription"
TypeStorePaymentPurposeGiftedPremium = "storePaymentPurposeGiftedPremium"
TypeStorePaymentPurposePremiumGiftCodes = "storePaymentPurposePremiumGiftCodes"
TypeStorePaymentPurposePremiumGiveaway = "storePaymentPurposePremiumGiveaway"
TypeTelegramPaymentPurposePremiumGiftCodes = "telegramPaymentPurposePremiumGiftCodes"
TypeTelegramPaymentPurposePremiumGiveaway = "telegramPaymentPurposePremiumGiveaway"
Type//-To = "//-To"
TypeDeviceTokenFirebaseCloudMessaging = "deviceTokenFirebaseCloudMessaging"
TypeDeviceTokenApplePush = "deviceTokenApplePush"
TypeDeviceTokenApplePushVoIP = "deviceTokenApplePushVoIP"
TypeDeviceTokenWindowsPush = "deviceTokenWindowsPush"
TypeDeviceTokenMicrosoftPush = "deviceTokenMicrosoftPush"
TypeDeviceTokenMicrosoftPushVoIP = "deviceTokenMicrosoftPushVoIP"
TypeDeviceTokenWebPush = "deviceTokenWebPush"
TypeDeviceTokenSimplePush = "deviceTokenSimplePush"
TypeDeviceTokenUbuntuPush = "deviceTokenUbuntuPush"
TypeDeviceTokenBlackBerryPush = "deviceTokenBlackBerryPush"
TypeDeviceTokenTizenPush = "deviceTokenTizenPush"
TypeDeviceTokenHuaweiPush = "deviceTokenHuaweiPush"
TypePushReceiverId = "pushReceiverId"
TypeBackgroundFillSolid = "backgroundFillSolid"
TypeBackgroundFillGradient = "backgroundFillGradient"
TypeBackgroundFillFreeformGradient = "backgroundFillFreeformGradient"
TypeBackgroundTypeWallpaper = "backgroundTypeWallpaper"
TypeBackgroundTypePattern = "backgroundTypePattern"
TypeBackgroundTypeFill = "backgroundTypeFill"
TypeBackgroundTypeChatTheme = "backgroundTypeChatTheme"
TypeInputBackgroundLocal = "inputBackgroundLocal"
TypeInputBackgroundRemote = "inputBackgroundRemote"
TypeInputBackgroundPrevious = "inputBackgroundPrevious"
TypeThemeSettings = "themeSettings"
TypeChatTheme = "chatTheme"
TypeTimeZone = "timeZone"
TypeTimeZones = "timeZones"
TypeHashtags = "hashtags"
TypeCanSendStoryResultOk = "canSendStoryResultOk"
TypeCanSendStoryResultPremiumNeeded = "canSendStoryResultPremiumNeeded"
TypeCanSendStoryResultBoostNeeded = "canSendStoryResultBoostNeeded"
TypeCanSendStoryResultActiveStoryLimitExceeded = "canSendStoryResultActiveStoryLimitExceeded"
TypeCanSendStoryResultWeeklyLimitExceeded = "canSendStoryResultWeeklyLimitExceeded"
TypeCanSendStoryResultMonthlyLimitExceeded = "canSendStoryResultMonthlyLimitExceeded"
TypeCanTransferOwnershipResultOk = "canTransferOwnershipResultOk"
TypeCanTransferOwnershipResultPasswordNeeded = "canTransferOwnershipResultPasswordNeeded"
TypeCanTransferOwnershipResultPasswordTooFresh = "canTransferOwnershipResultPasswordTooFresh"
TypeCanTransferOwnershipResultSessionTooFresh = "canTransferOwnershipResultSessionTooFresh"
TypeCheckChatUsernameResultOk = "checkChatUsernameResultOk"
TypeCheckChatUsernameResultUsernameInvalid = "checkChatUsernameResultUsernameInvalid"
TypeCheckChatUsernameResultUsernameOccupied = "checkChatUsernameResultUsernameOccupied"
TypeCheckChatUsernameResultUsernamePurchasable = "checkChatUsernameResultUsernamePurchasable"
TypeCheckChatUsernameResultPublicChatsTooMany = "checkChatUsernameResultPublicChatsTooMany"
TypeCheckChatUsernameResultPublicGroupsUnavailable = "checkChatUsernameResultPublicGroupsUnavailable"
TypeCheckStickerSetNameResultOk = "checkStickerSetNameResultOk"
TypeCheckStickerSetNameResultNameInvalid = "checkStickerSetNameResultNameInvalid"
TypeCheckStickerSetNameResultNameOccupied = "checkStickerSetNameResultNameOccupied"
TypeResetPasswordResultOk = "resetPasswordResultOk"
TypeResetPasswordResultPending = "resetPasswordResultPending"
TypeResetPasswordResultDeclined = "resetPasswordResultDeclined"
TypeMessageFileTypePrivate = "messageFileTypePrivate"
TypeMessageFileTypeGroup = "messageFileTypeGroup"
TypeMessageFileTypeUnknown = "messageFileTypeUnknown"
TypePushMessageContentHidden = "pushMessageContentHidden"
TypePushMessageContentAnimation = "pushMessageContentAnimation"
TypePushMessageContentAudio = "pushMessageContentAudio"
TypePushMessageContentContact = "pushMessageContentContact"
TypePushMessageContentContactRegistered = "pushMessageContentContactRegistered"
TypePushMessageContentDocument = "pushMessageContentDocument"
TypePushMessageContentGame = "pushMessageContentGame"
TypePushMessageContentGameScore = "pushMessageContentGameScore"
TypePushMessageContentInvoice = "pushMessageContentInvoice"
TypePushMessageContentLocation = "pushMessageContentLocation"
TypePushMessageContentPhoto = "pushMessageContentPhoto"
TypePushMessageContentPoll = "pushMessageContentPoll"
TypePushMessageContentPremiumGiftCode = "pushMessageContentPremiumGiftCode"
TypePushMessageContentPremiumGiveaway = "pushMessageContentPremiumGiveaway"
TypePushMessageContentScreenshotTaken = "pushMessageContentScreenshotTaken"
TypePushMessageContentSticker = "pushMessageContentSticker"
TypePushMessageContentStory = "pushMessageContentStory"
TypePushMessageContentText = "pushMessageContentText"
TypePushMessageContentVideo = "pushMessageContentVideo"
TypePushMessageContentVideoNote = "pushMessageContentVideoNote"
TypePushMessageContentVoiceNote = "pushMessageContentVoiceNote"
TypePushMessageContentBasicGroupChatCreate = "pushMessageContentBasicGroupChatCreate"
TypePushMessageContentChatAddMembers = "pushMessageContentChatAddMembers"
TypePushMessageContentChatChangePhoto = "pushMessageContentChatChangePhoto"
TypePushMessageContentChatChangeTitle = "pushMessageContentChatChangeTitle"
TypePushMessageContentChatSetBackground = "pushMessageContentChatSetBackground"
TypePushMessageContentChatSetTheme = "pushMessageContentChatSetTheme"
TypePushMessageContentChatDeleteMember = "pushMessageContentChatDeleteMember"
TypePushMessageContentChatJoinByLink = "pushMessageContentChatJoinByLink"
TypePushMessageContentChatJoinByRequest = "pushMessageContentChatJoinByRequest"
TypePushMessageContentRecurringPayment = "pushMessageContentRecurringPayment"
TypePushMessageContentSuggestProfilePhoto = "pushMessageContentSuggestProfilePhoto"
TypePushMessageContentMessageForwards = "pushMessageContentMessageForwards"
TypePushMessageContentMediaAlbum = "pushMessageContentMediaAlbum"
TypeNotificationTypeNewMessage = "notificationTypeNewMessage"
TypeNotificationTypeNewSecretChat = "notificationTypeNewSecretChat"
TypeNotificationTypeNewCall = "notificationTypeNewCall"
TypeNotificationTypeNewPushMessage = "notificationTypeNewPushMessage"
TypeNotificationGroupTypeMessages = "notificationGroupTypeMessages"
TypeNotificationGroupTypeMentions = "notificationGroupTypeMentions"
TypeNotificationGroupTypeSecretChat = "notificationGroupTypeSecretChat"
TypeNotificationGroupTypeCalls = "notificationGroupTypeCalls"
TypeNotificationSound = "notificationSound"
TypeNotificationSounds = "notificationSounds"
TypeNotification = "notification"
TypeNotificationGroup = "notificationGroup"
TypeOptionValueBoolean = "optionValueBoolean"
TypeOptionValueEmpty = "optionValueEmpty"
TypeOptionValueInteger = "optionValueInteger"
TypeOptionValueString = "optionValueString"
TypeJsonObjectMember = "jsonObjectMember"
TypeJsonValueNull = "jsonValueNull"
TypeJsonValueBoolean = "jsonValueBoolean"
TypeJsonValueNumber = "jsonValueNumber"
TypeJsonValueString = "jsonValueString"
TypeJsonValueArray = "jsonValueArray"
TypeJsonValueObject = "jsonValueObject"
TypeStoryPrivacySettingsEveryone = "storyPrivacySettingsEveryone"
TypeStoryPrivacySettingsContacts = "storyPrivacySettingsContacts"
TypeStoryPrivacySettingsCloseFriends = "storyPrivacySettingsCloseFriends"
TypeStoryPrivacySettingsSelectedUsers = "storyPrivacySettingsSelectedUsers"
TypeUserPrivacySettingRuleAllowAll = "userPrivacySettingRuleAllowAll"
TypeUserPrivacySettingRuleAllowContacts = "userPrivacySettingRuleAllowContacts"
TypeUserPrivacySettingRuleAllowPremiumUsers = "userPrivacySettingRuleAllowPremiumUsers"
TypeUserPrivacySettingRuleAllowUsers = "userPrivacySettingRuleAllowUsers"
TypeUserPrivacySettingRuleAllowChatMembers = "userPrivacySettingRuleAllowChatMembers"
TypeUserPrivacySettingRuleRestrictAll = "userPrivacySettingRuleRestrictAll"
TypeUserPrivacySettingRuleRestrictContacts = "userPrivacySettingRuleRestrictContacts"
TypeUserPrivacySettingRuleRestrictUsers = "userPrivacySettingRuleRestrictUsers"
TypeUserPrivacySettingRuleRestrictChatMembers = "userPrivacySettingRuleRestrictChatMembers"
TypeUserPrivacySettingRules = "userPrivacySettingRules"
TypeUserPrivacySettingShowStatus = "userPrivacySettingShowStatus"
TypeUserPrivacySettingShowProfilePhoto = "userPrivacySettingShowProfilePhoto"
TypeUserPrivacySettingShowLinkInForwardedMessages = "userPrivacySettingShowLinkInForwardedMessages"
TypeUserPrivacySettingShowPhoneNumber = "userPrivacySettingShowPhoneNumber"
TypeUserPrivacySettingShowBio = "userPrivacySettingShowBio"
TypeUserPrivacySettingShowBirthdate = "userPrivacySettingShowBirthdate"
TypeUserPrivacySettingAllowChatInvites = "userPrivacySettingAllowChatInvites"
TypeUserPrivacySettingAllowCalls = "userPrivacySettingAllowCalls"
TypeUserPrivacySettingAllowPeerToPeerCalls = "userPrivacySettingAllowPeerToPeerCalls"
TypeUserPrivacySettingAllowFindingByPhoneNumber = "userPrivacySettingAllowFindingByPhoneNumber"
TypeUserPrivacySettingAllowPrivateVoiceAndVideoNoteMessages = "userPrivacySettingAllowPrivateVoiceAndVideoNoteMessages"
TypeReadDatePrivacySettings = "readDatePrivacySettings"
TypeNewChatPrivacySettings = "newChatPrivacySettings"
TypeCanSendMessageToUserResultOk = "canSendMessageToUserResultOk"
TypeCanSendMessageToUserResultUserIsDeleted = "canSendMessageToUserResultUserIsDeleted"
TypeCanSendMessageToUserResultUserRestrictsNewChats = "canSendMessageToUserResultUserRestrictsNewChats"
TypeAccountTtl = "accountTtl"
TypeMessageAutoDeleteTime = "messageAutoDeleteTime"
TypeSessionTypeAndroid = "sessionTypeAndroid"
TypeSessionTypeApple = "sessionTypeApple"
TypeSessionTypeBrave = "sessionTypeBrave"
TypeSessionTypeChrome = "sessionTypeChrome"
TypeSessionTypeEdge = "sessionTypeEdge"
TypeSessionTypeFirefox = "sessionTypeFirefox"
TypeSessionTypeIpad = "sessionTypeIpad"
TypeSessionTypeIphone = "sessionTypeIphone"
TypeSessionTypeLinux = "sessionTypeLinux"
TypeSessionTypeMac = "sessionTypeMac"
TypeSessionTypeOpera = "sessionTypeOpera"
TypeSessionTypeSafari = "sessionTypeSafari"
TypeSessionTypeUbuntu = "sessionTypeUbuntu"
TypeSessionTypeUnknown = "sessionTypeUnknown"
TypeSessionTypeVivaldi = "sessionTypeVivaldi"
TypeSessionTypeWindows = "sessionTypeWindows"
TypeSessionTypeXbox = "sessionTypeXbox"
TypeSession = "session"
TypeSessions = "sessions"
TypeUnconfirmedSession = "unconfirmedSession"
TypeConnectedWebsite = "connectedWebsite"
TypeConnectedWebsites = "connectedWebsites"
TypeReportReasonSpam = "reportReasonSpam"
TypeReportReasonViolence = "reportReasonViolence"
TypeReportReasonPornography = "reportReasonPornography"
TypeReportReasonChildAbuse = "reportReasonChildAbuse"
TypeReportReasonCopyright = "reportReasonCopyright"
TypeReportReasonUnrelatedLocation = "reportReasonUnrelatedLocation"
TypeReportReasonFake = "reportReasonFake"
TypeReportReasonIllegalDrugs = "reportReasonIllegalDrugs"
TypeReportReasonPersonalDetails = "reportReasonPersonalDetails"
TypeReportReasonCustom = "reportReasonCustom"
TypeTargetChatCurrent = "targetChatCurrent"
TypeTargetChatChosen = "targetChatChosen"
TypeTargetChatInternalLink = "targetChatInternalLink"
TypeInternalLinkTypeActiveSessions = "internalLinkTypeActiveSessions"
TypeInternalLinkTypeAttachmentMenuBot = "internalLinkTypeAttachmentMenuBot"
TypeInternalLinkTypeAuthenticationCode = "internalLinkTypeAuthenticationCode"
TypeInternalLinkTypeBackground = "internalLinkTypeBackground"
TypeInternalLinkTypeBotAddToChannel = "internalLinkTypeBotAddToChannel"
TypeInternalLinkTypeBotStart = "internalLinkTypeBotStart"
TypeInternalLinkTypeBotStartInGroup = "internalLinkTypeBotStartInGroup"
TypeInternalLinkTypeChangePhoneNumber = "internalLinkTypeChangePhoneNumber"
TypeInternalLinkTypeChatBoost = "internalLinkTypeChatBoost"
TypeInternalLinkTypeChatFolderInvite = "internalLinkTypeChatFolderInvite"
TypeInternalLinkTypeChatFolderSettings = "internalLinkTypeChatFolderSettings"
TypeInternalLinkTypeChatInvite = "internalLinkTypeChatInvite"
TypeInternalLinkTypeDefaultMessageAutoDeleteTimerSettings = "internalLinkTypeDefaultMessageAutoDeleteTimerSettings"
TypeInternalLinkTypeEditProfileSettings = "internalLinkTypeEditProfileSettings"
TypeInternalLinkTypeGame = "internalLinkTypeGame"
TypeInternalLinkTypeInstantView = "internalLinkTypeInstantView"
TypeInternalLinkTypeInvoice = "internalLinkTypeInvoice"
TypeInternalLinkTypeLanguagePack = "internalLinkTypeLanguagePack"
TypeInternalLinkTypeLanguageSettings = "internalLinkTypeLanguageSettings"
TypeInternalLinkTypeMessage = "internalLinkTypeMessage"
TypeInternalLinkTypeMessageDraft = "internalLinkTypeMessageDraft"
TypeInternalLinkTypePassportDataRequest = "internalLinkTypePassportDataRequest"
TypeInternalLinkTypePhoneNumberConfirmation = "internalLinkTypePhoneNumberConfirmation"
TypeInternalLinkTypePremiumFeatures = "internalLinkTypePremiumFeatures"
TypeInternalLinkTypePremiumGift = "internalLinkTypePremiumGift"
TypeInternalLinkTypePremiumGiftCode = "internalLinkTypePremiumGiftCode"
TypeInternalLinkTypePrivacyAndSecuritySettings = "internalLinkTypePrivacyAndSecuritySettings"
TypeInternalLinkTypeProxy = "internalLinkTypeProxy"
TypeInternalLinkTypePublicChat = "internalLinkTypePublicChat"
TypeInternalLinkTypeQrCodeAuthentication = "internalLinkTypeQrCodeAuthentication"
TypeInternalLinkTypeRestorePurchases = "internalLinkTypeRestorePurchases"
TypeInternalLinkTypeSettings = "internalLinkTypeSettings"
TypeInternalLinkTypeSideMenuBot = "internalLinkTypeSideMenuBot"
TypeInternalLinkTypeStickerSet = "internalLinkTypeStickerSet"
TypeInternalLinkTypeStory = "internalLinkTypeStory"
TypeInternalLinkTypeTheme = "internalLinkTypeTheme"
TypeInternalLinkTypeThemeSettings = "internalLinkTypeThemeSettings"
TypeInternalLinkTypeUnknownDeepLink = "internalLinkTypeUnknownDeepLink"
TypeInternalLinkTypeUnsupportedProxy = "internalLinkTypeUnsupportedProxy"
TypeInternalLinkTypeUserPhoneNumber = "internalLinkTypeUserPhoneNumber"
TypeInternalLinkTypeUserToken = "internalLinkTypeUserToken"
TypeInternalLinkTypeVideoChat = "internalLinkTypeVideoChat"
TypeInternalLinkTypeWebApp = "internalLinkTypeWebApp"
TypeMessageLink = "messageLink"
TypeMessageLinkInfo = "messageLinkInfo"
TypeChatBoostLink = "chatBoostLink"
TypeChatBoostLinkInfo = "chatBoostLinkInfo"
TypeBlockListMain = "blockListMain"
TypeBlockListStories = "blockListStories"
TypeFilePart = "filePart"
TypeFileTypeNone = "fileTypeNone"
TypeFileTypeAnimation = "fileTypeAnimation"
TypeFileTypeAudio = "fileTypeAudio"
TypeFileTypeDocument = "fileTypeDocument"
TypeFileTypeNotificationSound = "fileTypeNotificationSound"
TypeFileTypePhoto = "fileTypePhoto"
TypeFileTypePhotoStory = "fileTypePhotoStory"
TypeFileTypeProfilePhoto = "fileTypeProfilePhoto"
TypeFileTypeSecret = "fileTypeSecret"
TypeFileTypeSecretThumbnail = "fileTypeSecretThumbnail"
TypeFileTypeSecure = "fileTypeSecure"
TypeFileTypeSticker = "fileTypeSticker"
TypeFileTypeThumbnail = "fileTypeThumbnail"
TypeFileTypeUnknown = "fileTypeUnknown"
TypeFileTypeVideo = "fileTypeVideo"
TypeFileTypeVideoNote = "fileTypeVideoNote"
TypeFileTypeVideoStory = "fileTypeVideoStory"
TypeFileTypeVoiceNote = "fileTypeVoiceNote"
TypeFileTypeWallpaper = "fileTypeWallpaper"
TypeStorageStatisticsByFileType = "storageStatisticsByFileType"
TypeStorageStatisticsByChat = "storageStatisticsByChat"
TypeStorageStatistics = "storageStatistics"
TypeStorageStatisticsFast = "storageStatisticsFast"
TypeDatabaseStatistics = "databaseStatistics"
TypeNetworkTypeNone = "networkTypeNone"
TypeNetworkTypeMobile = "networkTypeMobile"
TypeNetworkTypeMobileRoaming = "networkTypeMobileRoaming"
TypeNetworkTypeWiFi = "networkTypeWiFi"
TypeNetworkTypeOther = "networkTypeOther"
TypeNetworkStatisticsEntryFile = "networkStatisticsEntryFile"
TypeNetworkStatisticsEntryCall = "networkStatisticsEntryCall"
TypeNetworkStatistics = "networkStatistics"
TypeAutoDownloadSettings = "autoDownloadSettings"
TypeAutoDownloadSettingsPresets = "autoDownloadSettingsPresets"
TypeAutosaveSettingsScopePrivateChats = "autosaveSettingsScopePrivateChats"
TypeAutosaveSettingsScopeGroupChats = "autosaveSettingsScopeGroupChats"
TypeAutosaveSettingsScopeChannelChats = "autosaveSettingsScopeChannelChats"
TypeAutosaveSettingsScopeChat = "autosaveSettingsScopeChat"
TypeScopeAutosaveSettings = "scopeAutosaveSettings"
TypeAutosaveSettingsException = "autosaveSettingsException"
TypeAutosaveSettings = "autosaveSettings"
TypeConnectionStateWaitingForNetwork = "connectionStateWaitingForNetwork"
TypeConnectionStateConnectingToProxy = "connectionStateConnectingToProxy"
TypeConnectionStateConnecting = "connectionStateConnecting"
TypeConnectionStateUpdating = "connectionStateUpdating"
TypeConnectionStateReady = "connectionStateReady"
TypeTopChatCategoryUsers = "topChatCategoryUsers"
TypeTopChatCategoryBots = "topChatCategoryBots"
TypeTopChatCategoryGroups = "topChatCategoryGroups"
TypeTopChatCategoryChannels = "topChatCategoryChannels"
TypeTopChatCategoryInlineBots = "topChatCategoryInlineBots"
TypeTopChatCategoryCalls = "topChatCategoryCalls"
TypeTopChatCategoryForwardChats = "topChatCategoryForwardChats"
TypeFoundPosition = "foundPosition"
TypeFoundPositions = "foundPositions"
TypeTMeUrlTypeUser = "tMeUrlTypeUser"
TypeTMeUrlTypeSupergroup = "tMeUrlTypeSupergroup"
TypeTMeUrlTypeChatInvite = "tMeUrlTypeChatInvite"
TypeTMeUrlTypeStickerSet = "tMeUrlTypeStickerSet"
TypeTMeUrl = "tMeUrl"
TypeTMeUrls = "tMeUrls"
TypeSuggestedActionEnableArchiveAndMuteNewChats = "suggestedActionEnableArchiveAndMuteNewChats"
TypeSuggestedActionCheckPassword = "suggestedActionCheckPassword"
TypeSuggestedActionCheckPhoneNumber = "suggestedActionCheckPhoneNumber"
TypeSuggestedActionViewChecksHint = "suggestedActionViewChecksHint"
TypeSuggestedActionConvertToBroadcastGroup = "suggestedActionConvertToBroadcastGroup"
TypeSuggestedActionSetPassword = "suggestedActionSetPassword"
TypeSuggestedActionUpgradePremium = "suggestedActionUpgradePremium"
TypeSuggestedActionRestorePremium = "suggestedActionRestorePremium"
TypeSuggestedActionSubscribeToAnnualPremium = "suggestedActionSubscribeToAnnualPremium"
TypeSuggestedActionGiftPremiumForChristmas = "suggestedActionGiftPremiumForChristmas"
TypeSuggestedActionSetBirthdate = "suggestedActionSetBirthdate"
TypeCount = "count"
TypeText = "text"
TypeSeconds = "seconds"
TypeFileDownloadedPrefixSize = "fileDownloadedPrefixSize"
TypeDeepLinkInfo = "deepLinkInfo"
TypeTextParseModeMarkdown = "textParseModeMarkdown"
TypeTextParseModeHTML = "textParseModeHTML"
TypeProxyTypeSocks5 = "proxyTypeSocks5"
TypeProxyTypeHttp = "proxyTypeHttp"
TypeProxyTypeMtproto = "proxyTypeMtproto"
TypeProxy = "proxy"
TypeProxies = "proxies"
TypeInputSticker = "inputSticker"
TypeDateRange = "dateRange"
TypeStatisticalValue = "statisticalValue"
TypeStatisticalGraphData = "statisticalGraphData"
TypeStatisticalGraphAsync = "statisticalGraphAsync"
TypeStatisticalGraphError = "statisticalGraphError"
TypeChatStatisticsObjectTypeMessage = "chatStatisticsObjectTypeMessage"
TypeChatStatisticsObjectTypeStory = "chatStatisticsObjectTypeStory"
TypeChatStatisticsInteractionInfo = "chatStatisticsInteractionInfo"
TypeChatStatisticsMessageSenderInfo = "chatStatisticsMessageSenderInfo"
TypeChatStatisticsAdministratorActionsInfo = "chatStatisticsAdministratorActionsInfo"
TypeChatStatisticsInviterInfo = "chatStatisticsInviterInfo"
TypeChatStatisticsSupergroup = "chatStatisticsSupergroup"
TypeChatStatisticsChannel = "chatStatisticsChannel"
TypeMessageStatistics = "messageStatistics"
TypeStoryStatistics = "storyStatistics"
TypePoint = "point"
TypeVectorPathCommandLine = "vectorPathCommandLine"
TypeVectorPathCommandCubicBezierCurve = "vectorPathCommandCubicBezierCurve"
TypeBotCommandScopeDefault = "botCommandScopeDefault"
TypeBotCommandScopeAllPrivateChats = "botCommandScopeAllPrivateChats"
TypeBotCommandScopeAllGroupChats = "botCommandScopeAllGroupChats"
TypeBotCommandScopeAllChatAdministrators = "botCommandScopeAllChatAdministrators"
TypeBotCommandScopeChat = "botCommandScopeChat"
TypeBotCommandScopeChatAdministrators = "botCommandScopeChatAdministrators"
TypeBotCommandScopeChatMember = "botCommandScopeChatMember"
TypeUpdateAuthorizationState = "updateAuthorizationState"
TypeUpdateNewMessage = "updateNewMessage"
TypeUpdateMessageSendAcknowledged = "updateMessageSendAcknowledged"
TypeUpdateMessageSendSucceeded = "updateMessageSendSucceeded"
TypeUpdateMessageSendFailed = "updateMessageSendFailed"
TypeUpdateMessageContent = "updateMessageContent"
TypeUpdateMessageEdited = "updateMessageEdited"
TypeUpdateMessageIsPinned = "updateMessageIsPinned"
TypeUpdateMessageInteractionInfo = "updateMessageInteractionInfo"
TypeUpdateMessageContentOpened = "updateMessageContentOpened"
TypeUpdateMessageMentionRead = "updateMessageMentionRead"
TypeUpdateMessageUnreadReactions = "updateMessageUnreadReactions"
TypeUpdateMessageLiveLocationViewed = "updateMessageLiveLocationViewed"
TypeUpdateNewChat = "updateNewChat"
TypeUpdateChatTitle = "updateChatTitle"
TypeUpdateChatPhoto = "updateChatPhoto"
TypeUpdateChatAccentColors = "updateChatAccentColors"
TypeUpdateChatPermissions = "updateChatPermissions"
TypeUpdateChatLastMessage = "updateChatLastMessage"
TypeUpdateChatPosition = "updateChatPosition"
TypeUpdateChatAddedToList = "updateChatAddedToList"
TypeUpdateChatRemovedFromList = "updateChatRemovedFromList"
TypeUpdateChatReadInbox = "updateChatReadInbox"
TypeUpdateChatReadOutbox = "updateChatReadOutbox"
TypeUpdateChatActionBar = "updateChatActionBar"
TypeUpdateChatAvailableReactions = "updateChatAvailableReactions"
TypeUpdateChatDraftMessage = "updateChatDraftMessage"
TypeUpdateChatEmojiStatus = "updateChatEmojiStatus"
TypeUpdateChatMessageSender = "updateChatMessageSender"
TypeUpdateChatMessageAutoDeleteTime = "updateChatMessageAutoDeleteTime"
TypeUpdateChatNotificationSettings = "updateChatNotificationSettings"
TypeUpdateChatPendingJoinRequests = "updateChatPendingJoinRequests"
TypeUpdateChatReplyMarkup = "updateChatReplyMarkup"
TypeUpdateChatBackground = "updateChatBackground"
TypeUpdateChatTheme = "updateChatTheme"
TypeUpdateChatUnreadMentionCount = "updateChatUnreadMentionCount"
TypeUpdateChatUnreadReactionCount = "updateChatUnreadReactionCount"
TypeUpdateChatVideoChat = "updateChatVideoChat"
TypeUpdateChatDefaultDisableNotification = "updateChatDefaultDisableNotification"
TypeUpdateChatHasProtectedContent = "updateChatHasProtectedContent"
TypeUpdateChatIsTranslatable = "updateChatIsTranslatable"
TypeUpdateChatIsMarkedAsUnread = "updateChatIsMarkedAsUnread"
TypeUpdateChatViewAsTopics = "updateChatViewAsTopics"
TypeUpdateChatBlockList = "updateChatBlockList"
TypeUpdateChatHasScheduledMessages = "updateChatHasScheduledMessages"
TypeUpdateChatFolders = "updateChatFolders"
TypeUpdateChatOnlineMemberCount = "updateChatOnlineMemberCount"
TypeUpdateSavedMessagesTopic = "updateSavedMessagesTopic"
TypeUpdateSavedMessagesTopicCount = "updateSavedMessagesTopicCount"
TypeUpdateQuickReplyShortcut = "updateQuickReplyShortcut"
TypeUpdateQuickReplyShortcutDeleted = "updateQuickReplyShortcutDeleted"
TypeUpdateQuickReplyShortcuts = "updateQuickReplyShortcuts"
TypeUpdateQuickReplyShortcutMessages = "updateQuickReplyShortcutMessages"
TypeUpdateForumTopicInfo = "updateForumTopicInfo"
TypeUpdateScopeNotificationSettings = "updateScopeNotificationSettings"
TypeUpdateNotification = "updateNotification"
TypeUpdateNotificationGroup = "updateNotificationGroup"
TypeUpdateActiveNotifications = "updateActiveNotifications"
TypeUpdateHavePendingNotifications = "updateHavePendingNotifications"
TypeUpdateDeleteMessages = "updateDeleteMessages"
TypeUpdateChatAction = "updateChatAction"
TypeUpdateUserStatus = "updateUserStatus"
TypeUpdateUser = "updateUser"
TypeUpdateBasicGroup = "updateBasicGroup"
TypeUpdateSupergroup = "updateSupergroup"
TypeUpdateSecretChat = "updateSecretChat"
TypeUpdateUserFullInfo = "updateUserFullInfo"
TypeUpdateBasicGroupFullInfo = "updateBasicGroupFullInfo"
TypeUpdateSupergroupFullInfo = "updateSupergroupFullInfo"
TypeUpdateServiceNotification = "updateServiceNotification"
TypeUpdateFile = "updateFile"
TypeUpdateFileGenerationStart = "updateFileGenerationStart"
TypeUpdateFileGenerationStop = "updateFileGenerationStop"
TypeUpdateFileDownloads = "updateFileDownloads"
TypeUpdateFileAddedToDownloads = "updateFileAddedToDownloads"
TypeUpdateFileDownload = "updateFileDownload"
TypeUpdateFileRemovedFromDownloads = "updateFileRemovedFromDownloads"
TypeUpdateCall = "updateCall"
TypeUpdateGroupCall = "updateGroupCall"
TypeUpdateGroupCallParticipant = "updateGroupCallParticipant"
TypeUpdateNewCallSignalingData = "updateNewCallSignalingData"
TypeUpdateUserPrivacySettingRules = "updateUserPrivacySettingRules"
TypeUpdateUnreadMessageCount = "updateUnreadMessageCount"
TypeUpdateUnreadChatCount = "updateUnreadChatCount"
TypeUpdateStory = "updateStory"
TypeUpdateStoryDeleted = "updateStoryDeleted"
TypeUpdateStorySendSucceeded = "updateStorySendSucceeded"
TypeUpdateStorySendFailed = "updateStorySendFailed"
TypeUpdateChatActiveStories = "updateChatActiveStories"
TypeUpdateStoryListChatCount = "updateStoryListChatCount"
TypeUpdateStoryStealthMode = "updateStoryStealthMode"
TypeUpdateOption = "updateOption"
TypeUpdateStickerSet = "updateStickerSet"
TypeUpdateInstalledStickerSets = "updateInstalledStickerSets"
TypeUpdateTrendingStickerSets = "updateTrendingStickerSets"
TypeUpdateRecentStickers = "updateRecentStickers"
TypeUpdateFavoriteStickers = "updateFavoriteStickers"
TypeUpdateSavedAnimations = "updateSavedAnimations"
TypeUpdateSavedNotificationSounds = "updateSavedNotificationSounds"
TypeUpdateDefaultBackground = "updateDefaultBackground"
TypeUpdateChatThemes = "updateChatThemes"
TypeUpdateAccentColors = "updateAccentColors"
TypeUpdateProfileAccentColors = "updateProfileAccentColors"
TypeUpdateLanguagePackStrings = "updateLanguagePackStrings"
TypeUpdateConnectionState = "updateConnectionState"
TypeUpdateTermsOfService = "updateTermsOfService"
TypeUpdateUsersNearby = "updateUsersNearby"
TypeUpdateUnconfirmedSession = "updateUnconfirmedSession"
TypeUpdateAttachmentMenuBots = "updateAttachmentMenuBots"
TypeUpdateWebAppMessageSent = "updateWebAppMessageSent"
TypeUpdateActiveEmojiReactions = "updateActiveEmojiReactions"
TypeUpdateDefaultReactionType = "updateDefaultReactionType"
TypeUpdateSavedMessagesTags = "updateSavedMessagesTags"
TypeUpdateSpeechRecognitionTrial = "updateSpeechRecognitionTrial"
TypeUpdateDiceEmojis = "updateDiceEmojis"
TypeUpdateAnimatedEmojiMessageClicked = "updateAnimatedEmojiMessageClicked"
TypeUpdateAnimationSearchParameters = "updateAnimationSearchParameters"
TypeUpdateSuggestedActions = "updateSuggestedActions"
TypeUpdateContactCloseBirthdays = "updateContactCloseBirthdays"
TypeUpdateAddChatMembersPrivacyForbidden = "updateAddChatMembersPrivacyForbidden"
TypeUpdateAutosaveSettings = "updateAutosaveSettings"
TypeUpdateBusinessConnection = "updateBusinessConnection"
TypeUpdateNewBusinessMessage = "updateNewBusinessMessage"
TypeUpdateBusinessMessageEdited = "updateBusinessMessageEdited"
TypeUpdateBusinessMessagesDeleted = "updateBusinessMessagesDeleted"
TypeUpdateNewInlineQuery = "updateNewInlineQuery"
TypeUpdateNewChosenInlineResult = "updateNewChosenInlineResult"
TypeUpdateNewCallbackQuery = "updateNewCallbackQuery"
TypeUpdateNewInlineCallbackQuery = "updateNewInlineCallbackQuery"
TypeUpdateNewShippingQuery = "updateNewShippingQuery"
TypeUpdateNewPreCheckoutQuery = "updateNewPreCheckoutQuery"
TypeUpdateNewCustomEvent = "updateNewCustomEvent"
TypeUpdateNewCustomQuery = "updateNewCustomQuery"
TypeUpdatePoll = "updatePoll"
TypeUpdatePollAnswer = "updatePollAnswer"
TypeUpdateChatMember = "updateChatMember"
TypeUpdateNewChatJoinRequest = "updateNewChatJoinRequest"
TypeUpdateChatBoost = "updateChatBoost"
TypeUpdateMessageReaction = "updateMessageReaction"
TypeUpdateMessageReactions = "updateMessageReactions"
TypeUpdates = "updates"
TypeLogStreamDefault = "logStreamDefault"
TypeLogStreamFile = "logStreamFile"
TypeLogStreamEmpty = "logStreamEmpty"
TypeLogVerbosityLevel = "logVerbosityLevel"
TypeLogTags = "logTags"
TypeUserSupportInfo = "userSupportInfo"
TypeTestInt = "testInt"
TypeTestString = "testString"
TypeTestBytes = "testBytes"
TypeTestVectorInt = "testVectorInt"
TypeTestVectorIntObject = "testVectorIntObject"
TypeTestVectorString = "testVectorString"
TypeTestVectorStringObject = "testVectorStringObject"
)
// Provides information about the method by which an authentication code is delivered to the user
type AuthenticationCodeType interface {
AuthenticationCodeTypeType() string
}
// Contains authentication data for a email address
type EmailAddressAuthentication interface {
EmailAddressAuthenticationType() string
}
// Describes reset state of a email address
type EmailAddressResetState interface {
EmailAddressResetStateType() string
}
// Represents the current authorization state of the TDLib client
type AuthorizationState interface {
AuthorizationStateType() string
}
// Points to a file
type InputFile interface {
InputFileType() string
}
// Describes format of a thumbnail
type ThumbnailFormat interface {
ThumbnailFormatType() string
}
// Part of the face, relative to which a mask is placed
type MaskPoint interface {
MaskPointType() string
}
// Describes format of a sticker
type StickerFormat interface {
StickerFormatType() string
}
// Describes type of a sticker
type StickerType interface {
StickerTypeType() string
}
// Contains full information about sticker type
type StickerFullType interface {
StickerFullTypeType() string
}
// Describes the type of a poll
type PollType interface {
PollTypeType() string
}
// Represents the type of a user. The following types are possible: regular users, deleted users and bots
type UserType interface {
UserTypeType() string
}
// Describes conditions for sending of away messages by a Telegram Business account
type BusinessAwayMessageSchedule interface {
BusinessAwayMessageScheduleType() string
}
// Describes type of a sticker, which was used to create a chat photo
type ChatPhotoStickerType interface {
ChatPhotoStickerTypeType() string
}
// Describes a photo to be set as a user profile or chat photo
type InputChatPhoto interface {
InputChatPhotoType() string
}
// Contains information about status of a user in a Telegram Premium giveaway
type PremiumGiveawayParticipantStatus interface {
PremiumGiveawayParticipantStatusType() string
}
// Contains information about Telegram Premium giveaway
type PremiumGiveawayInfo interface {
PremiumGiveawayInfoType() string
}
// Provides information about the status of a member in a chat
type ChatMemberStatus interface {
ChatMemberStatusType() string
}
// Specifies the kind of chat members to return in searchChatMembers
type ChatMembersFilter interface {
ChatMembersFilterType() string
}
// Specifies the kind of chat members to return in getSupergroupMembers
type SupergroupMembersFilter interface {
SupergroupMembersFilterType() string
}
// Describes the type of a chat to which points an invite link
type InviteLinkChatType interface {
InviteLinkChatTypeType() string
}
// Describes the current secret chat state
type SecretChatState interface {
SecretChatStateType() string
}
// Contains information about the sender of a message
type MessageSender interface {
MessageSenderType() string
}
// Describes read date of a recent outgoing message in a private chat
type MessageReadDate interface {
MessageReadDateType() string
}
// Contains information about the origin of a message
type MessageOrigin interface {
MessageOriginType() string
}
// Describes type of message reaction
type ReactionType interface {
ReactionTypeType() string
}
// Contains information about the sending state of the message
type MessageSendingState interface {
MessageSendingStateType() string
}
// Contains information about the message or the story a message is replying to
type MessageReplyTo interface {
MessageReplyToType() string
}
// Contains information about the message or the story to be replied
type InputMessageReplyTo interface {
InputMessageReplyToType() string
}
// Describes source of a message
type MessageSource interface {
MessageSourceType() string
}
// Describes type of a message sponsor
type MessageSponsorType interface {
MessageSponsorTypeType() string
}
// Describes result of sponsored message report
type ReportChatSponsoredMessageResult interface {
ReportChatSponsoredMessageResultType() string
}
// Describes the types of chats to which notification settings are relevant
type NotificationSettingsScope interface {
NotificationSettingsScopeType() string
}
// Describes the type of a chat
type ChatType interface {
ChatTypeType() string
}
// Describes a list of chats
type ChatList interface {
ChatListType() string
}
// Describes a reason why an external chat is shown in a chat list
type ChatSource interface {
ChatSourceType() string
}
// Describes reactions available in the chat
type ChatAvailableReactions interface {
ChatAvailableReactionsType() string
}
// Describes a type of public chats
type PublicChatType interface {
PublicChatTypeType() string
}
// Describes actions which must be possible to do through a chat action bar
type ChatActionBar interface {
ChatActionBarType() string
}
// Describes a keyboard button type
type KeyboardButtonType interface {
KeyboardButtonTypeType() string
}
// Describes the type of an inline keyboard button
type InlineKeyboardButtonType interface {
InlineKeyboardButtonTypeType() string
}
// Contains a description of a custom keyboard and actions that can be done with it to quickly reply to bots
type ReplyMarkup interface {
ReplyMarkupType() string
}
// Contains information about an inline button of type inlineKeyboardButtonTypeLoginUrl
type LoginUrlInfo interface {
LoginUrlInfoType() string
}
// Describes type of a Saved Messages topic
type SavedMessagesTopicType interface {
SavedMessagesTopicTypeType() string
}
// Describes a text object inside an instant-view web page
type RichText interface {
RichTextType() string
}
// Describes a horizontal alignment of a table cell content
type PageBlockHorizontalAlignment interface {
PageBlockHorizontalAlignmentType() string
}
// Describes a Vertical alignment of a table cell content
type PageBlockVerticalAlignment interface {
PageBlockVerticalAlignmentType() string
}
// Describes a block of an instant view web page
type PageBlock interface {
PageBlockType() string
}
// Describes a collectible item that can be purchased at https://fragment.com
type CollectibleItemType interface {
CollectibleItemTypeType() string
}
// Contains information about the payment method chosen by the user
type InputCredentials interface {
InputCredentialsType() string
}
// Contains information about a payment provider
type PaymentProvider interface {
PaymentProviderType() string
}
// Describes an invoice to process
type InputInvoice interface {
InputInvoiceType() string
}
// Describes a media, which is attached to an invoice
type MessageExtendedMedia interface {
MessageExtendedMediaType() string
}
// Contains the type of a Telegram Passport element
type PassportElementType interface {
PassportElementTypeType() string
}
// Contains information about a Telegram Passport element
type PassportElement interface {
PassportElementType() string
}
// Contains information about a Telegram Passport element to be saved
type InputPassportElement interface {
InputPassportElementType() string
}
// Contains the description of an error in a Telegram Passport element
type PassportElementErrorSource interface {
PassportElementErrorSourceType() string
}
// Contains the description of an error in a Telegram Passport element; for bots only
type InputPassportElementErrorSource interface {
InputPassportElementErrorSourceType() string
}
// Contains the content of a message
type MessageContent interface {
MessageContentType() string
}
// Represents a part of the text which must be formatted differently
type TextEntityType interface {
TextEntityTypeType() string
}
// Contains information about the time when a scheduled message will be sent
type MessageSchedulingState interface {
MessageSchedulingStateType() string
}
// Describes when a message will be self-destructed
type MessageSelfDestructType interface {
MessageSelfDestructTypeType() string
}
// The content of a message to send
type InputMessageContent interface {
InputMessageContentType() string
}
// Represents a filter for message search results
type SearchMessagesFilter interface {
SearchMessagesFilterType() string
}
// Describes the different types of activity in a chat
type ChatAction interface {
ChatActionType() string
}
// Describes the last time the user was online
type UserStatus interface {
UserStatusType() string
}
// Describes type of an emoji category
type EmojiCategoryType interface {
EmojiCategoryTypeType() string
}
// Describes type of a clickable rectangle area on a story media
type StoryAreaType interface {
StoryAreaTypeType() string
}
// Describes type of a clickable rectangle area on a story media to be added
type InputStoryAreaType interface {
InputStoryAreaTypeType() string
}
// Contains the content of a story
type StoryContent interface {
StoryContentType() string
}
// The content of a story to send
type InputStoryContent interface {
InputStoryContentType() string
}
// Describes a list of stories
type StoryList interface {
StoryListType() string
}
// Contains information about the origin of a story that was reposted
type StoryOrigin interface {
StoryOriginType() string
}
// Describes type of interaction with a story
type StoryInteractionType interface {
StoryInteractionTypeType() string
}
// Describes a public forward or repost of a story
type PublicForward interface {
PublicForwardType() string
}
// Describes source of a chat boost
type ChatBoostSource interface {
ChatBoostSourceType() string
}
// Describes the reason why a call was discarded
type CallDiscardReason interface {
CallDiscardReasonType() string
}
// Describes the type of a call server
type CallServerType interface {
CallServerTypeType() string
}
// Describes the current call state
type CallState interface {
CallStateType() string
}
// Describes the quality of a group call video
type GroupCallVideoQuality interface {
GroupCallVideoQualityType() string
}
// Describes the exact type of a problem with a call
type CallProblem interface {
CallProblemType() string
}
// Contains settings for Firebase Authentication in the official applications
type FirebaseAuthenticationSettings interface {
FirebaseAuthenticationSettingsType() string
}
// Describes why the current user can't add reactions to the message, despite some other users can
type ReactionUnavailabilityReason interface {
ReactionUnavailabilityReasonType() string
}
// Contains animated stickers which must be used for dice animation rendering
type DiceStickers interface {
DiceStickersType() string
}
// Describes result of speech recognition in a voice note
type SpeechRecognitionResult interface {
SpeechRecognitionResultType() string
}
// Describes a reason why a bot was allowed to write messages to the current user
type BotWriteAccessAllowReason interface {
BotWriteAccessAllowReasonType() string
}
// Represents a single result of an inline query; for bots only
type InputInlineQueryResult interface {
InputInlineQueryResultType() string
}
// Represents a single result of an inline query
type InlineQueryResult interface {
InlineQueryResultType() string
}
// Represents a type of a button in results of inline query
type InlineQueryResultsButtonType interface {
InlineQueryResultsButtonTypeType() string
}
// Represents a payload of a callback query
type CallbackQueryPayload interface {
CallbackQueryPayloadType() string
}
// Represents a chat event
type ChatEventAction interface {
ChatEventActionType() string
}
// Represents the value of a string in a language pack
type LanguagePackStringValue interface {
LanguagePackStringValueType() string
}
// Describes type of a limit, increased for Premium users
type PremiumLimitType interface {
PremiumLimitTypeType() string
}
// Describes a feature available to Premium users
type PremiumFeature interface {
PremiumFeatureType() string
}
// Describes a feature available to Business user accounts
type BusinessFeature interface {
BusinessFeatureType() string
}
// Describes a story feature available to Premium users
type PremiumStoryFeature interface {
PremiumStoryFeatureType() string
}
// Describes a source from which the Premium features screen is opened
type PremiumSource interface {
PremiumSourceType() string
}
// Describes a purpose of an in-store payment
type StorePaymentPurpose interface {
StorePaymentPurposeType() string
}
// Describes a purpose of a payment toward Telegram
type TelegramPaymentPurpose interface {
TelegramPaymentPurposeType() string
}
// Represents a data needed to subscribe for push notifications through registerDevice method.
type DeviceToken interface {
DeviceTokenType() string
}
// Describes a fill of a background
type BackgroundFill interface {
BackgroundFillType() string
}
// Describes the type of a background
type BackgroundType interface {
BackgroundTypeType() string
}
// Contains information about background to set
type InputBackground interface {
InputBackgroundType() string
}
// Represents result of checking whether the current user can send a story in the specific chat
type CanSendStoryResult interface {
CanSendStoryResultType() string
}
// Represents result of checking whether the current session can be used to transfer a chat ownership to another user
type CanTransferOwnershipResult interface {
CanTransferOwnershipResultType() string
}
// Represents result of checking whether a username can be set for a chat
type CheckChatUsernameResult interface {
CheckChatUsernameResultType() string
}
// Represents result of checking whether a name can be used for a new sticker set
type CheckStickerSetNameResult interface {
CheckStickerSetNameResultType() string
}
// Represents result of 2-step verification password reset
type ResetPasswordResult interface {
ResetPasswordResultType() string
}
// Contains information about a file with messages exported from another app
type MessageFileType interface {
MessageFileTypeType() string
}
// Contains content of a push message notification
type PushMessageContent interface {
PushMessageContentType() string
}
// Contains detailed information about a notification
type NotificationType interface {
NotificationTypeType() string
}
// Describes the type of notifications in a notification group
type NotificationGroupType interface {
NotificationGroupTypeType() string
}
// Represents the value of an option
type OptionValue interface {
OptionValueType() string
}
// Represents a JSON value
type JsonValue interface {
JsonValueType() string
}
// Describes privacy settings of a story
type StoryPrivacySettings interface {
StoryPrivacySettingsType() string
}
// Represents a single rule for managing user privacy settings
type UserPrivacySettingRule interface {
UserPrivacySettingRuleType() string
}
// Describes available user privacy settings
type UserPrivacySetting interface {
UserPrivacySettingType() string
}
// Describes result of canSendMessageToUser
type CanSendMessageToUserResult interface {
CanSendMessageToUserResultType() string
}
// Represents the type of a session
type SessionType interface {
SessionTypeType() string
}
// Describes the reason why a chat is reported
type ReportReason interface {
ReportReasonType() string
}
// Describes the target chat to be opened
type TargetChat interface {
TargetChatType() string
}
// Describes an internal https://t.me or tg: link, which must be processed by the application in a special way
type InternalLinkType interface {
InternalLinkTypeType() string
}
// Describes a type of a block list
type BlockList interface {
BlockListType() string
}
// Represents the type of a file
type FileType interface {
FileTypeType() string
}
// Represents the type of a network
type NetworkType interface {
NetworkTypeType() string
}
// Contains statistics about network usage
type NetworkStatisticsEntry interface {
NetworkStatisticsEntryType() string
}
// Describes scope of autosave settings
type AutosaveSettingsScope interface {
AutosaveSettingsScopeType() string
}
// Describes the current state of the connection to Telegram servers
type ConnectionState interface {
ConnectionStateType() string
}
// Represents the categories of chats for which a list of frequently used chats can be retrieved
type TopChatCategory interface {
TopChatCategoryType() string
}
// Describes the type of a URL linking to an internal Telegram entity
type TMeUrlType interface {
TMeUrlTypeType() string
}
// Describes an action suggested to the current user
type SuggestedAction interface {
SuggestedActionType() string
}
// Describes the way the text needs to be parsed for text entities
type TextParseMode interface {
TextParseModeType() string
}
// Describes the type of a proxy server
type ProxyType interface {
ProxyTypeType() string
}
// Describes a statistical graph
type StatisticalGraph interface {
StatisticalGraphType() string
}
// Describes type of an object, for which statistics are provided
type ChatStatisticsObjectType interface {
ChatStatisticsObjectTypeType() string
}
// Contains a detailed statistics about a chat
type ChatStatistics interface {
ChatStatisticsType() string
}
// Represents a vector path command
type VectorPathCommand interface {
VectorPathCommandType() string
}
// Represents the scope to which bot commands are relevant
type BotCommandScope interface {
BotCommandScopeType() string
}
// Contains notifications about data changes
type Update interface {
UpdateType() string
}
// Describes a stream to which TDLib internal log is written
type LogStream interface {
LogStreamType() string
}
// An object of this type can be returned on every function call, in case of an error
type Error struct {
meta
// Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user
Code int32 `json:"code"`
// Error message; subject to future changes
Message string `json:"message"`
}
func (entity *Error) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub Error
return json.Marshal((*stub)(entity))
}
func (*Error) GetClass() string {
return ClassError
}
func (*Error) GetType() string {
return TypeError
}
// An object of this type is returned on a successful function call for certain functions
type Ok struct{
meta
}
func (entity *Ok) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub Ok
return json.Marshal((*stub)(entity))
}
func (*Ok) GetClass() string {
return ClassOk
}
func (*Ok) GetType() string {
return TypeOk
}
// An authentication code is delivered via a private Telegram message, which can be viewed from another active session
type AuthenticationCodeTypeTelegramMessage struct {
meta
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeTelegramMessage) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeTelegramMessage
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeTelegramMessage) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeTelegramMessage) GetType() string {
return TypeAuthenticationCodeTypeTelegramMessage
}
func (*AuthenticationCodeTypeTelegramMessage) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeTelegramMessage
}
// An authentication code is delivered via an SMS message to the specified phone number; applications may not receive this type of code
type AuthenticationCodeTypeSms struct {
meta
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeSms) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeSms
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeSms) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeSms) GetType() string {
return TypeAuthenticationCodeTypeSms
}
func (*AuthenticationCodeTypeSms) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeSms
}
// An authentication code is delivered via a phone call to the specified phone number
type AuthenticationCodeTypeCall struct {
meta
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeCall) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeCall
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeCall) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeCall) GetType() string {
return TypeAuthenticationCodeTypeCall
}
func (*AuthenticationCodeTypeCall) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeCall
}
// An authentication code is delivered by an immediately canceled call to the specified phone number. The phone number that calls is the code that must be entered automatically
type AuthenticationCodeTypeFlashCall struct {
meta
// Pattern of the phone number from which the call will be made
Pattern string `json:"pattern"`
}
func (entity *AuthenticationCodeTypeFlashCall) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeFlashCall
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeFlashCall) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeFlashCall) GetType() string {
return TypeAuthenticationCodeTypeFlashCall
}
func (*AuthenticationCodeTypeFlashCall) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeFlashCall
}
// An authentication code is delivered by an immediately canceled call to the specified phone number. The last digits of the phone number that calls are the code that must be entered manually by the user
type AuthenticationCodeTypeMissedCall struct {
meta
// Prefix of the phone number from which the call will be made
PhoneNumberPrefix string `json:"phone_number_prefix"`
// Number of digits in the code, excluding the prefix
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeMissedCall) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeMissedCall
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeMissedCall) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeMissedCall) GetType() string {
return TypeAuthenticationCodeTypeMissedCall
}
func (*AuthenticationCodeTypeMissedCall) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeMissedCall
}
// An authentication code is delivered to https://fragment.com. The user must be logged in there via a wallet owning the phone number's NFT
type AuthenticationCodeTypeFragment struct {
meta
// URL to open to receive the code
Url string `json:"url"`
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeFragment) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeFragment
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeFragment) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeFragment) GetType() string {
return TypeAuthenticationCodeTypeFragment
}
func (*AuthenticationCodeTypeFragment) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeFragment
}
// An authentication code is delivered via Firebase Authentication to the official Android application
type AuthenticationCodeTypeFirebaseAndroid struct {
meta
// Nonce to pass to the SafetyNet Attestation API
Nonce []byte `json:"nonce"`
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeFirebaseAndroid) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeFirebaseAndroid
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeFirebaseAndroid) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeFirebaseAndroid) GetType() string {
return TypeAuthenticationCodeTypeFirebaseAndroid
}
func (*AuthenticationCodeTypeFirebaseAndroid) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeFirebaseAndroid
}
// An authentication code is delivered via Firebase Authentication to the official iOS application
type AuthenticationCodeTypeFirebaseIos struct {
meta
// Receipt of successful application token validation to compare with receipt from push notification
Receipt string `json:"receipt"`
// Time after the next authentication method is supposed to be used if verification push notification isn't received, in seconds
PushTimeout int32 `json:"push_timeout"`
// Length of the code
Length int32 `json:"length"`
}
func (entity *AuthenticationCodeTypeFirebaseIos) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeTypeFirebaseIos
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeTypeFirebaseIos) GetClass() string {
return ClassAuthenticationCodeType
}
func (*AuthenticationCodeTypeFirebaseIos) GetType() string {
return TypeAuthenticationCodeTypeFirebaseIos
}
func (*AuthenticationCodeTypeFirebaseIos) AuthenticationCodeTypeType() string {
return TypeAuthenticationCodeTypeFirebaseIos
}
// Information about the authentication code that was sent
type AuthenticationCodeInfo struct {
meta
// A phone number that is being authenticated
PhoneNumber string `json:"phone_number"`
// The way the code was sent to the user
Type AuthenticationCodeType `json:"type"`
// The way the next code will be sent to the user; may be null
NextType AuthenticationCodeType `json:"next_type"`
// Timeout before the code can be re-sent, in seconds
Timeout int32 `json:"timeout"`
}
func (entity *AuthenticationCodeInfo) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthenticationCodeInfo
return json.Marshal((*stub)(entity))
}
func (*AuthenticationCodeInfo) GetClass() string {
return ClassAuthenticationCodeInfo
}
func (*AuthenticationCodeInfo) GetType() string {
return TypeAuthenticationCodeInfo
}
func (authenticationCodeInfo *AuthenticationCodeInfo) UnmarshalJSON(data []byte) error {
var tmp struct {
PhoneNumber string `json:"phone_number"`
Type json.RawMessage `json:"type"`
NextType json.RawMessage `json:"next_type"`
Timeout int32 `json:"timeout"`
}
err := json.Unmarshal(data, &tmp)
if err != nil {
return err
}
authenticationCodeInfo.PhoneNumber = tmp.PhoneNumber
authenticationCodeInfo.Timeout = tmp.Timeout
fieldType, _ := UnmarshalAuthenticationCodeType(tmp.Type)
authenticationCodeInfo.Type = fieldType
fieldNextType, _ := UnmarshalAuthenticationCodeType(tmp.NextType)
authenticationCodeInfo.NextType = fieldNextType
return nil
}
// Information about the email address authentication code that was sent
type EmailAddressAuthenticationCodeInfo struct {
meta
// Pattern of the email address to which an authentication code was sent
EmailAddressPattern string `json:"email_address_pattern"`
// Length of the code; 0 if unknown
Length int32 `json:"length"`
}
func (entity *EmailAddressAuthenticationCodeInfo) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressAuthenticationCodeInfo
return json.Marshal((*stub)(entity))
}
func (*EmailAddressAuthenticationCodeInfo) GetClass() string {
return ClassEmailAddressAuthenticationCodeInfo
}
func (*EmailAddressAuthenticationCodeInfo) GetType() string {
return TypeEmailAddressAuthenticationCodeInfo
}
// An authentication code delivered to a user's email address
type EmailAddressAuthenticationCode struct {
meta
// The code
Code string `json:"code"`
}
func (entity *EmailAddressAuthenticationCode) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressAuthenticationCode
return json.Marshal((*stub)(entity))
}
func (*EmailAddressAuthenticationCode) GetClass() string {
return ClassEmailAddressAuthentication
}
func (*EmailAddressAuthenticationCode) GetType() string {
return TypeEmailAddressAuthenticationCode
}
func (*EmailAddressAuthenticationCode) EmailAddressAuthenticationType() string {
return TypeEmailAddressAuthenticationCode
}
// An authentication token received through Apple ID
type EmailAddressAuthenticationAppleId struct {
meta
// The token
Token string `json:"token"`
}
func (entity *EmailAddressAuthenticationAppleId) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressAuthenticationAppleId
return json.Marshal((*stub)(entity))
}
func (*EmailAddressAuthenticationAppleId) GetClass() string {
return ClassEmailAddressAuthentication
}
func (*EmailAddressAuthenticationAppleId) GetType() string {
return TypeEmailAddressAuthenticationAppleId
}
func (*EmailAddressAuthenticationAppleId) EmailAddressAuthenticationType() string {
return TypeEmailAddressAuthenticationAppleId
}
// An authentication token received through Google ID
type EmailAddressAuthenticationGoogleId struct {
meta
// The token
Token string `json:"token"`
}
func (entity *EmailAddressAuthenticationGoogleId) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressAuthenticationGoogleId
return json.Marshal((*stub)(entity))
}
func (*EmailAddressAuthenticationGoogleId) GetClass() string {
return ClassEmailAddressAuthentication
}
func (*EmailAddressAuthenticationGoogleId) GetType() string {
return TypeEmailAddressAuthenticationGoogleId
}
func (*EmailAddressAuthenticationGoogleId) EmailAddressAuthenticationType() string {
return TypeEmailAddressAuthenticationGoogleId
}
// Email address can be reset after the given period. Call resetAuthenticationEmailAddress to reset it and allow the user to authorize with a code sent to the user's phone number
type EmailAddressResetStateAvailable struct {
meta
// Time required to wait before the email address can be reset; 0 if the user is subscribed to Telegram Premium
WaitPeriod int32 `json:"wait_period"`
}
func (entity *EmailAddressResetStateAvailable) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressResetStateAvailable
return json.Marshal((*stub)(entity))
}
func (*EmailAddressResetStateAvailable) GetClass() string {
return ClassEmailAddressResetState
}
func (*EmailAddressResetStateAvailable) GetType() string {
return TypeEmailAddressResetStateAvailable
}
func (*EmailAddressResetStateAvailable) EmailAddressResetStateType() string {
return TypeEmailAddressResetStateAvailable
}
// Email address reset has already been requested. Call resetAuthenticationEmailAddress to check whether immediate reset is possible
type EmailAddressResetStatePending struct {
meta
// Left time before the email address will be reset, in seconds. updateAuthorizationState is not sent when this field changes
ResetIn int32 `json:"reset_in"`
}
func (entity *EmailAddressResetStatePending) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub EmailAddressResetStatePending
return json.Marshal((*stub)(entity))
}
func (*EmailAddressResetStatePending) GetClass() string {
return ClassEmailAddressResetState
}
func (*EmailAddressResetStatePending) GetType() string {
return TypeEmailAddressResetStatePending
}
func (*EmailAddressResetStatePending) EmailAddressResetStateType() string {
return TypeEmailAddressResetStatePending
}
// Represents a part of the text that needs to be formatted in some unusual way
type TextEntity struct {
meta
// Offset of the entity, in UTF-16 code units
Offset int32 `json:"offset"`
// Length of the entity, in UTF-16 code units
Length int32 `json:"length"`
// Type of the entity
Type TextEntityType `json:"type"`
}
func (entity *TextEntity) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub TextEntity
return json.Marshal((*stub)(entity))
}
func (*TextEntity) GetClass() string {
return ClassTextEntity
}
func (*TextEntity) GetType() string {
return TypeTextEntity
}
func (textEntity *TextEntity) UnmarshalJSON(data []byte) error {
var tmp struct {
Offset int32 `json:"offset"`
Length int32 `json:"length"`
Type json.RawMessage `json:"type"`
}
err := json.Unmarshal(data, &tmp)
if err != nil {
return err
}
textEntity.Offset = tmp.Offset
textEntity.Length = tmp.Length
fieldType, _ := UnmarshalTextEntityType(tmp.Type)
textEntity.Type = fieldType
return nil
}
// Contains a list of text entities
type TextEntities struct {
meta
// List of text entities
Entities []*TextEntity `json:"entities"`
}
func (entity *TextEntities) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub TextEntities
return json.Marshal((*stub)(entity))
}
func (*TextEntities) GetClass() string {
return ClassTextEntities
}
func (*TextEntities) GetType() string {
return TypeTextEntities
}
// A text with some entities
type FormattedText struct {
meta
// The text
Text string `json:"text"`
// Entities contained in the text. Entities can be nested, but must not mutually intersect with each other. Pre, Code and PreCode entities can't contain other entities. BlockQuote entities can't contain other BlockQuote entities. Bold, Italic, Underline, Strikethrough, and Spoiler entities can contain and can be part of any other entities. All other entities can't contain each other
Entities []*TextEntity `json:"entities"`
}
func (entity *FormattedText) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub FormattedText
return json.Marshal((*stub)(entity))
}
func (*FormattedText) GetClass() string {
return ClassFormattedText
}
func (*FormattedText) GetType() string {
return TypeFormattedText
}
// Contains Telegram terms of service
type TermsOfService struct {
meta
// Text of the terms of service
Text *FormattedText `json:"text"`
// The minimum age of a user to be able to accept the terms; 0 if age isn't restricted
MinUserAge int32 `json:"min_user_age"`
// True, if a blocking popup with terms of service must be shown to the user
ShowPopup bool `json:"show_popup"`
}
func (entity *TermsOfService) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub TermsOfService
return json.Marshal((*stub)(entity))
}
func (*TermsOfService) GetClass() string {
return ClassTermsOfService
}
func (*TermsOfService) GetType() string {
return TypeTermsOfService
}
// Initialization parameters are needed. Call setTdlibParameters to provide them
type AuthorizationStateWaitTdlibParameters struct{
meta
}
func (entity *AuthorizationStateWaitTdlibParameters) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitTdlibParameters
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitTdlibParameters) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitTdlibParameters) GetType() string {
return TypeAuthorizationStateWaitTdlibParameters
}
func (*AuthorizationStateWaitTdlibParameters) AuthorizationStateType() string {
return TypeAuthorizationStateWaitTdlibParameters
}
// TDLib needs the user's phone number to authorize. Call setAuthenticationPhoneNumber to provide the phone number, or use requestQrCodeAuthentication or checkAuthenticationBotToken for other authentication options
type AuthorizationStateWaitPhoneNumber struct{
meta
}
func (entity *AuthorizationStateWaitPhoneNumber) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitPhoneNumber
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitPhoneNumber) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitPhoneNumber) GetType() string {
return TypeAuthorizationStateWaitPhoneNumber
}
func (*AuthorizationStateWaitPhoneNumber) AuthorizationStateType() string {
return TypeAuthorizationStateWaitPhoneNumber
}
// TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple ID/Google ID token if allowed
type AuthorizationStateWaitEmailAddress struct {
meta
// True, if authorization through Apple ID is allowed
AllowAppleId bool `json:"allow_apple_id"`
// True, if authorization through Google ID is allowed
AllowGoogleId bool `json:"allow_google_id"`
}
func (entity *AuthorizationStateWaitEmailAddress) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitEmailAddress
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitEmailAddress) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitEmailAddress) GetType() string {
return TypeAuthorizationStateWaitEmailAddress
}
func (*AuthorizationStateWaitEmailAddress) AuthorizationStateType() string {
return TypeAuthorizationStateWaitEmailAddress
}
// TDLib needs the user's authentication code sent to an email address to authorize. Call checkAuthenticationEmailCode to provide the code
type AuthorizationStateWaitEmailCode struct {
meta
// True, if authorization through Apple ID is allowed
AllowAppleId bool `json:"allow_apple_id"`
// True, if authorization through Google ID is allowed
AllowGoogleId bool `json:"allow_google_id"`
// Information about the sent authentication code
CodeInfo *EmailAddressAuthenticationCodeInfo `json:"code_info"`
// Reset state of the email address; may be null if the email address can't be reset
EmailAddressResetState EmailAddressResetState `json:"email_address_reset_state"`
}
func (entity *AuthorizationStateWaitEmailCode) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitEmailCode
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitEmailCode) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitEmailCode) GetType() string {
return TypeAuthorizationStateWaitEmailCode
}
func (*AuthorizationStateWaitEmailCode) AuthorizationStateType() string {
return TypeAuthorizationStateWaitEmailCode
}
func (authorizationStateWaitEmailCode *AuthorizationStateWaitEmailCode) UnmarshalJSON(data []byte) error {
var tmp struct {
AllowAppleId bool `json:"allow_apple_id"`
AllowGoogleId bool `json:"allow_google_id"`
CodeInfo *EmailAddressAuthenticationCodeInfo `json:"code_info"`
EmailAddressResetState json.RawMessage `json:"email_address_reset_state"`
}
err := json.Unmarshal(data, &tmp)
if err != nil {
return err
}
authorizationStateWaitEmailCode.AllowAppleId = tmp.AllowAppleId
authorizationStateWaitEmailCode.AllowGoogleId = tmp.AllowGoogleId
authorizationStateWaitEmailCode.CodeInfo = tmp.CodeInfo
fieldEmailAddressResetState, _ := UnmarshalEmailAddressResetState(tmp.EmailAddressResetState)
authorizationStateWaitEmailCode.EmailAddressResetState = fieldEmailAddressResetState
return nil
}
// TDLib needs the user's authentication code to authorize. Call checkAuthenticationCode to check the code
type AuthorizationStateWaitCode struct {
meta
// Information about the authorization code that was sent
CodeInfo *AuthenticationCodeInfo `json:"code_info"`
}
func (entity *AuthorizationStateWaitCode) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitCode
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitCode) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitCode) GetType() string {
return TypeAuthorizationStateWaitCode
}
func (*AuthorizationStateWaitCode) AuthorizationStateType() string {
return TypeAuthorizationStateWaitCode
}
// The user needs to confirm authorization on another logged in device by scanning a QR code with the provided link
type AuthorizationStateWaitOtherDeviceConfirmation struct {
meta
// A tg:// URL for the QR code. The link will be updated frequently
Link string `json:"link"`
}
func (entity *AuthorizationStateWaitOtherDeviceConfirmation) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitOtherDeviceConfirmation
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitOtherDeviceConfirmation) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitOtherDeviceConfirmation) GetType() string {
return TypeAuthorizationStateWaitOtherDeviceConfirmation
}
func (*AuthorizationStateWaitOtherDeviceConfirmation) AuthorizationStateType() string {
return TypeAuthorizationStateWaitOtherDeviceConfirmation
}
// The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data
type AuthorizationStateWaitRegistration struct {
meta
// Telegram terms of service
TermsOfService *TermsOfService `json:"terms_of_service"`
}
func (entity *AuthorizationStateWaitRegistration) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitRegistration
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitRegistration) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitRegistration) GetType() string {
return TypeAuthorizationStateWaitRegistration
}
func (*AuthorizationStateWaitRegistration) AuthorizationStateType() string {
return TypeAuthorizationStateWaitRegistration
}
// The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week
type AuthorizationStateWaitPassword struct {
meta
// Hint for the password; may be empty
PasswordHint string `json:"password_hint"`
// True, if a recovery email address has been set up
HasRecoveryEmailAddress bool `json:"has_recovery_email_address"`
// True, if some Telegram Passport elements were saved
HasPassportData bool `json:"has_passport_data"`
// Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent
RecoveryEmailAddressPattern string `json:"recovery_email_address_pattern"`
}
func (entity *AuthorizationStateWaitPassword) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateWaitPassword
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateWaitPassword) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateWaitPassword) GetType() string {
return TypeAuthorizationStateWaitPassword
}
func (*AuthorizationStateWaitPassword) AuthorizationStateType() string {
return TypeAuthorizationStateWaitPassword
}
// The user has been successfully authorized. TDLib is now ready to answer general requests
type AuthorizationStateReady struct{
meta
}
func (entity *AuthorizationStateReady) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateReady
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateReady) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateReady) GetType() string {
return TypeAuthorizationStateReady
}
func (*AuthorizationStateReady) AuthorizationStateType() string {
return TypeAuthorizationStateReady
}
// The user is currently logging out
type AuthorizationStateLoggingOut struct{
meta
}
func (entity *AuthorizationStateLoggingOut) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateLoggingOut
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateLoggingOut) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateLoggingOut) GetType() string {
return TypeAuthorizationStateLoggingOut
}
func (*AuthorizationStateLoggingOut) AuthorizationStateType() string {
return TypeAuthorizationStateLoggingOut
}
// TDLib is closing, all subsequent queries will be answered with the error 500. Note that closing TDLib can take a while. All resources will be freed only after authorizationStateClosed has been received
type AuthorizationStateClosing struct{
meta
}
func (entity *AuthorizationStateClosing) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateClosing
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateClosing) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateClosing) GetType() string {
return TypeAuthorizationStateClosing
}
func (*AuthorizationStateClosing) AuthorizationStateType() string {
return TypeAuthorizationStateClosing
}
// TDLib client is in its final state. All databases are closed and all resources are released. No other updates will be received after this. All queries will be responded to with error code 500. To continue working, one must create a new instance of the TDLib client
type AuthorizationStateClosed struct{
meta
}
func (entity *AuthorizationStateClosed) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub AuthorizationStateClosed
return json.Marshal((*stub)(entity))
}
func (*AuthorizationStateClosed) GetClass() string {
return ClassAuthorizationState
}
func (*AuthorizationStateClosed) GetType() string {
return TypeAuthorizationStateClosed
}
func (*AuthorizationStateClosed) AuthorizationStateType() string {
return TypeAuthorizationStateClosed
}
// Represents the current state of 2-step verification
type PasswordState struct {
meta
// True, if a 2-step verification password is set
HasPassword bool `json:"has_password"`
// Hint for the password; may be empty
PasswordHint string `json:"password_hint"`
// True, if a recovery email is set
HasRecoveryEmailAddress bool `json:"has_recovery_email_address"`
// True, if some Telegram Passport elements were saved
HasPassportData bool `json:"has_passport_data"`
// Information about the recovery email address to which the confirmation email was sent; may be null
RecoveryEmailAddressCodeInfo *EmailAddressAuthenticationCodeInfo `json:"recovery_email_address_code_info"`
// Pattern of the email address set up for logging in
LoginEmailAddressPattern string `json:"login_email_address_pattern"`
// If not 0, point in time (Unix timestamp) after which the 2-step verification password can be reset immediately using resetPassword
PendingResetDate int32 `json:"pending_reset_date"`
}
func (entity *PasswordState) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub PasswordState
return json.Marshal((*stub)(entity))
}
func (*PasswordState) GetClass() string {
return ClassPasswordState
}
func (*PasswordState) GetType() string {
return TypePasswordState
}
// Contains information about the current recovery email address
type RecoveryEmailAddress struct {
meta
// Recovery email address
RecoveryEmailAddress string `json:"recovery_email_address"`
}
func (entity *RecoveryEmailAddress) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub RecoveryEmailAddress
return json.Marshal((*stub)(entity))
}
func (*RecoveryEmailAddress) GetClass() string {
return ClassRecoveryEmailAddress
}
func (*RecoveryEmailAddress) GetType() string {
return TypeRecoveryEmailAddress
}
// Returns information about the availability of a temporary password, which can be used for payments
type TemporaryPasswordState struct {
meta
// True, if a temporary password is available
HasPassword bool `json:"has_password"`
// Time left before the temporary password expires, in seconds
ValidFor int32 `json:"valid_for"`
}
func (entity *TemporaryPasswordState) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub TemporaryPasswordState
return json.Marshal((*stub)(entity))
}
func (*TemporaryPasswordState) GetClass() string {
return ClassTemporaryPasswordState
}
func (*TemporaryPasswordState) GetType() string {
return TypeTemporaryPasswordState
}
// Represents a local file
type LocalFile struct {
meta
// Local path to the locally available file part; may be empty
Path string `json:"path"`
// True, if it is possible to download or generate the file
CanBeDownloaded bool `json:"can_be_downloaded"`
// True, if the file can be deleted
CanBeDeleted bool `json:"can_be_deleted"`
// True, if the file is currently being downloaded (or a local copy is being generated by some other means)
IsDownloadingActive bool `json:"is_downloading_active"`
// True, if the local copy is fully available
IsDownloadingCompleted bool `json:"is_downloading_completed"`
// Download will be started from this offset. downloaded_prefix_size is calculated from this offset
DownloadOffset int64 `json:"download_offset"`
// If is_downloading_completed is false, then only some prefix of the file starting from download_offset is ready to be read. downloaded_prefix_size is the size of that prefix in bytes
DownloadedPrefixSize int64 `json:"downloaded_prefix_size"`
// Total downloaded file size, in bytes. Can be used only for calculating download progress. The actual file size may be bigger, and some parts of it may contain garbage
DownloadedSize int64 `json:"downloaded_size"`
}
func (entity *LocalFile) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub LocalFile
return json.Marshal((*stub)(entity))
}
func (*LocalFile) GetClass() string {
return ClassLocalFile
}
func (*LocalFile) GetType() string {
return TypeLocalFile
}
// Represents a remote file
type RemoteFile struct {
meta
// Remote file identifier; may be empty. Can be used by the current user across application restarts or even from other devices. Uniquely identifies a file, but a file can have a lot of different valid identifiers. If the identifier starts with "http://" or "https://", it represents the HTTP URL of the file. TDLib is currently unable to download files if only their URL is known. If downloadFile/addFileToDownloads is called on such a file or if it is sent to a secret chat, TDLib starts a file generation process by sending updateFileGenerationStart to the application with the HTTP URL in the original_path and "#url#" as the conversion string. Application must generate the file by downloading it to the specified location
Id string `json:"id"`
// Unique file identifier; may be empty if unknown. The unique file identifier which is the same for the same file even for different users and is persistent over time
UniqueId string `json:"unique_id"`
// True, if the file is currently being uploaded (or a remote copy is being generated by some other means)
IsUploadingActive bool `json:"is_uploading_active"`
// True, if a remote copy is fully available
IsUploadingCompleted bool `json:"is_uploading_completed"`
// Size of the remote available part of the file, in bytes; 0 if unknown
UploadedSize int64 `json:"uploaded_size"`
}
func (entity *RemoteFile) MarshalJSON() ([]byte, error) {
entity.meta.Type = entity.GetType()
type stub RemoteFile