From 50947dd7b7f0fc117b179bb6b638f671fabf1cf7 Mon Sep 17 00:00:00 2001 From: AmarnathCJD <72609355+AmarnathCJD+@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:37:36 +0000 Subject: [PATCH] tlgen: update TL schema files --- README.md | 2 +- schemes/api.tl | 65 ++++--- telegram/const.go | 2 +- telegram/enums_gen.go | 50 +++--- telegram/init_gen.go | 4 +- telegram/interfaces_gen.go | 305 ++++++++++++++++++-------------- telegram/methods_gen.go | 349 ++++++++++++++++++++++--------------- telegram/types_gen.go | 66 +++++-- 8 files changed, 507 insertions(+), 336 deletions(-) diff --git a/README.md b/README.md index 79b146bb..f5887f6b 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ If you'd like to support Gogram, you can consider:
  • up-to-date: 🔄 gogram is always in sync with the latest telegram api changes and additions (tl-parser is used to generate the api layer).
  • -#### Current Layer - **192** (Updated on 2024-10-29) +#### Current Layer - **193** (Updated on 2024-11-14) ## doing stuff diff --git a/schemes/api.tl b/schemes/api.tl index f4e608e9..7b0b5d1a 100644 --- a/schemes/api.tl +++ b/schemes/api.tl @@ -188,7 +188,7 @@ messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull; +userFull#1f58e369 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true translations_disabled:flags.23?true stories_pinned_available:flags.26?true blocked_my_stories_from:flags.27?true wallpaper_overridden:flags.28?true contact_require_premium:flags.29?true read_dates_private:flags.30?true flags2:# sponsored_enabled:flags2.7?true can_view_revenue:flags2.9?true bot_can_manage_emoji_status:flags2.10?true id:long about:flags.1?string settings:PeerSettings personal_photo:flags.21?Photo profile_photo:flags.2?Photo fallback_photo:flags.22?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector wallpaper:flags.24?WallPaper stories:flags.25?PeerStories business_work_hours:flags2.0?BusinessWorkHours business_location:flags2.1?BusinessLocation business_greeting_message:flags2.2?BusinessGreetingMessage business_away_message:flags2.3?BusinessAwayMessage business_intro:flags2.4?BusinessIntro birthday:flags2.5?Birthday personal_channel_id:flags2.6?long personal_channel_message:flags2.6?int stargifts_count:flags2.8?int = UserFull; contact#145ade0b user_id:long mutual:Bool = Contact; @@ -441,6 +441,7 @@ updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update; updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update; updatePaidReactionPrivacy#51ca7aec private:Bool = Update; updateTranscribeAudio#88617090 flags:# final:flags.0?true transcription_id:long text:string = Update; +updateBotSubscriptionExpire#a8ae3eb1 user_id:long payload:string until_date:int qts:int = Update; updateUserPhoto#f227868c user_id:long date:int photo:UserProfilePhoto previous:Bool = Update; updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State; @@ -548,6 +549,7 @@ inputPrivacyKeyAddedByPhone#d1219bdd = InputPrivacyKey; inputPrivacyKeyVoiceMessages#aee69d68 = InputPrivacyKey; inputPrivacyKeyAbout#3823cc40 = InputPrivacyKey; inputPrivacyKeyBirthday#d65a11cc = InputPrivacyKey; +inputPrivacyKeyStarGiftsAutoSave#e1732341 = InputPrivacyKey; privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey; privacyKeyChatInvite#500e6dfa = PrivacyKey; @@ -560,6 +562,7 @@ privacyKeyAddedByPhone#42ffd42b = PrivacyKey; privacyKeyVoiceMessages#697f414 = PrivacyKey; privacyKeyAbout#a486b761 = PrivacyKey; privacyKeyBirthday#2000a518 = PrivacyKey; +privacyKeyStarGiftsAutoSave#2ca4fdf8 = PrivacyKey; inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule; inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule; @@ -571,6 +574,8 @@ inputPrivacyValueAllowChatParticipants#840649cf chats:Vector = InputPrivac inputPrivacyValueDisallowChatParticipants#e94f0f86 chats:Vector = InputPrivacyRule; inputPrivacyValueAllowCloseFriends#2f453e49 = InputPrivacyRule; inputPrivacyValueAllowPremium#77cdc9f1 = InputPrivacyRule; +inputPrivacyValueAllowBots#5a4fcce5 = InputPrivacyRule; +inputPrivacyValueDisallowBots#c4e57915 = InputPrivacyRule; privacyValueAllowContacts#fffe1bac = PrivacyRule; privacyValueAllowAll#65427b82 = PrivacyRule; @@ -582,6 +587,8 @@ privacyValueAllowChatParticipants#6b134e8e chats:Vector = PrivacyRule; privacyValueDisallowChatParticipants#41c87565 chats:Vector = PrivacyRule; privacyValueAllowCloseFriends#f7e8d89b = PrivacyRule; privacyValueAllowPremium#ece9814b = PrivacyRule; +privacyValueAllowBots#21461b5d = PrivacyRule; +privacyValueDisallowBots#f6a5f82f = PrivacyRule; account.privacyRules#50a04e45 rules:Vector chats:Vector users:Vector = account.PrivacyRules; @@ -652,7 +659,7 @@ messages.stickerSetNotModified#d3f924eb = messages.StickerSet; botCommand#c27ac8c7 command:string description:string = BotCommand; -botInfo#82437e74 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string = BotInfo; +botInfo#36607333 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector menu_button:flags.3?BotMenuButton privacy_policy_url:flags.7?string app_settings:flags.8?BotAppSettings = BotInfo; keyboardButton#a2fa4880 text:string = KeyboardButton; keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; @@ -910,7 +917,7 @@ dataJSON#7d748d04 data:string = DataJSON; labeledPrice#cb296bf8 label:string amount:long = LabeledPrice; -invoice#5db95a15 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector terms_url:flags.10?string = Invoice; +invoice#49ee584 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true recurring:flags.9?true currency:string prices:Vector max_tip_amount:flags.8?long suggested_tip_amounts:flags.8?Vector terms_url:flags.10?string subscription_period:flags.11?int = Invoice; paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge; @@ -1456,7 +1463,7 @@ attachMenuBots#3c4301c0 hash:long bots:Vector users:Vector attachMenuBotsBot#93bf667f bot:AttachMenuBot users:Vector = AttachMenuBotsBot; -webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true query_id:flags.0?long url:string = WebViewResult; +webViewResultUrl#4d22ff98 flags:# fullsize:flags.1?true fullscreen:flags.2?true query_id:flags.0?long url:string = WebViewResult; webViewMessageSent#c94511c flags:# msg_id:flags.0?InputBotInlineMessageID = WebViewMessageSent; @@ -1875,7 +1882,7 @@ bots.previewInfo#ca71d64 media:Vector lang_codes:Vector starsSubscriptionPricing#5416d58 period:int amount:long = StarsSubscriptionPricing; -starsSubscription#538ecf18 flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string = StarsSubscription; +starsSubscription#2e6eab1a flags:# canceled:flags.0?true can_refulfill:flags.1?true missing_balance:flags.2?true id:string peer:Peer until_date:int pricing:StarsSubscriptionPricing chat_invite_hash:flags.3?string title:flags.4?string photo:flags.5?WebDocument invoice_slug:flags.6?string = StarsSubscription; messageReactor#4ba3a95a flags:# top:flags.0?true my:flags.1?true anonymous:flags.2?true peer_id:flags.3?Peer count:int = MessageReactor; @@ -1883,7 +1890,7 @@ starsGiveawayOption#94ce852a flags:# extended:flags.0?true default:flags.1?true starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_user_stars:long = StarsGiveawayWinnersOption; -starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift; +starGift#49c577cd flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int = StarGift; payments.starGiftsNotModified#a388a368 = payments.StarGifts; payments.starGifts#901689ea hash:int gifts:Vector = payments.StarGifts; @@ -1908,6 +1915,10 @@ simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResultUrl; messages.webViewResult#aadf159b result:BotInlineResult users:Vector = messages.WebViewResult; +botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettings; + +messages.preparedInlineMessage#ff57708d query_id:long result:BotInlineResult peer_types:Vector cache_time:int users:Vector = messages.PreparedInlineMessage; + ---functions--- auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; @@ -2090,9 +2101,9 @@ messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?t messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector = messages.AffectedMessages; messages.receivedMessages#5a954c0 max_id:int = Vector; messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0?int action:SendMessageAction = Bool; -messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; -messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; -messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates; +messages.sendMessage#983f9745 flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; +messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo media:InputMedia message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; +messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true allow_paid_floodskip:flags.19?true from_peer:InputPeer id:Vector random_id:Vector to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates; messages.reportSpam#cf1592db peer:InputPeer = Bool; messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings; messages.report#fc78af9b peer:InputPeer id:Vector option:bytes message:string = ReportResult; @@ -2170,7 +2181,7 @@ messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool; messages.getUnreadMentions#f107e790 flags:# peer:InputPeer top_msg_id:flags.0?int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages; messages.readMentions#36e5bf4d flags:# peer:InputPeer top_msg_id:flags.0?int = messages.AffectedHistory; messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages.Messages; -messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; +messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true allow_paid_floodskip:flags.19?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates; messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile; messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets; messages.getSplitRanges#1cff7e08 = Vector; @@ -2242,9 +2253,9 @@ messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = mes messages.getAttachMenuBots#16fcc2cb hash:long = AttachMenuBots; messages.getAttachMenuBot#77216192 bot:InputUser = AttachMenuBotsBot; messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool; -messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult; +messages.requestWebView#269dc2c1 flags:# from_bot_menu:flags.4?true silent:flags.5?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser url:flags.1?string start_param:flags.3?string theme_params:flags.2?DataJSON platform:string reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = WebViewResult; messages.prolongWebView#b0d81a83 flags:# silent:flags.5?true peer:InputPeer bot:InputUser query_id:long reply_to:flags.0?InputReplyTo send_as:flags.13?InputPeer = Bool; -messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult; +messages.requestSimpleWebView#413a3e73 flags:# from_switch_webview:flags.1?true from_side_menu:flags.2?true compact:flags.7?true fullscreen:flags.8?true bot:InputUser url:flags.3?string start_param:flags.4?string theme_params:flags.0?DataJSON platform:string = WebViewResult; messages.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent; messages.sendWebViewData#dc0242c8 bot:InputUser random_id:long button_text:string data:string = Updates; messages.transcribeAudio#269e9a49 peer:InputPeer msg_id:int = messages.TranscribedAudio; @@ -2266,7 +2277,7 @@ messages.getEmojiProfilePhotoGroups#21a548f3 hash:int = messages.EmojiGroups; messages.searchCustomEmoji#2c11c0d7 emoticon:string hash:long = EmojiList; messages.togglePeerTranslations#e47cb579 flags:# disabled:flags.0?true peer:InputPeer = Bool; messages.getBotApp#34fdc5c3 app:InputBotApp hash:long = messages.BotApp; -messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult; +messages.requestAppWebView#53618bce flags:# write_allowed:flags.0?true compact:flags.7?true fullscreen:flags.8?true peer:InputPeer app:InputBotApp start_param:flags.1?string theme_params:flags.2?DataJSON platform:string = WebViewResult; messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = Updates; messages.searchEmojiStickerSets#92b4494c flags:# exclude_featured:flags.0?true q:string hash:long = messages.FoundStickerSets; messages.getSavedDialogs#5381d21a flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.SavedDialogs; @@ -2294,23 +2305,23 @@ messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects; messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates; messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates; messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector = Vector; -messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult; +messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult; messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates; messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool; messages.getPaidReactionPrivacy#472455aa = Updates; +messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool; +messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool; messages.reportSponsoredMessage#1af3dbb8 peer:InputPeer random_id:bytes option:bytes = channels.SponsoredMessageReportResult; +messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages; messages.getWebViewResult#22b6c214 peer:InputPeer bot:InputUser query_id:long = messages.WebViewResult; messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; -messages.viewSponsoredMessage#673ad8f1 peer:InputPeer random_id:bytes = Bool; -messages.getBroadcastRevenueTransactions#70990b6d peer:InputPeer offset:int limit:int = BroadcastRevenueTransactions; +messages.checkDownloadFileParams#50077589 bot:InputUser file_name:string url:string = Bool; +messages.toggleUserEmojiStatusPermission#6de6392 bot:InputUser enabled:Bool = Bool; messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; +messages.getPreparedInlineMessage#857ebdb8 bot:InputUser id:string = messages.PreparedInlineMessage; messages.getAllChats#875f74be except_ids:Vector = messages.Chats; -messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages; -messages.getBroadcastRevenueWithdrawalUrl#9df4faad peer:InputPeer password:InputCheckPasswordSRP = BroadcastRevenueWithdrawalUrl; messages.sendEncryptedMultiMedia#cacacaca = messages.SentEncryptedMessage; messages.setWebViewResult#e41cd11d query_id:long = Bool; -messages.clickSponsoredMessage#f093465 flags:# media:flags.0?true fullscreen:flags.1?true peer:InputPeer random_id:bytes = Bool; -messages.getBroadcastRevenueStats#f788ee19 flags:# dark:flags.0?true peer:InputPeer = BroadcastRevenueStats; updates.getState#edd4882a = updates.State; updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference; @@ -2393,8 +2404,6 @@ channels.editLocation#58e63f6d channel:InputChannel geo_point:InputGeoPoint addr channels.toggleSlowMode#edd49ef0 channel:InputChannel seconds:int = Updates; channels.getInactiveChannels#11e831ee = messages.InactiveChats; channels.convertToGigagroup#b290c69 channel:InputChannel = Updates; -channels.viewSponsoredMessage#beaedb94 channel:InputChannel random_id:bytes = Bool; -channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages; channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers; channels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory; channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates; @@ -2413,14 +2422,12 @@ channels.reorderPinnedForumTopics#2950a18f flags:# force:flags.0?true channel:In channels.toggleAntiSpam#68f3e4eb channel:InputChannel enabled:Bool = Updates; channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int = Bool; channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates; -channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool; channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates; channels.toggleViewForumAsMessages#9738bb15 channel:InputChannel enabled:Bool = Updates; channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats; channels.updateEmojiStatus#f0d3e6a8 channel:InputChannel emoji_status:EmojiStatus = Updates; channels.setBoostsToUnblockRestrictions#ad399cee channel:InputChannel boosts:int = Updates; channels.setEmojiStickers#3cd930b7 channel:InputChannel stickerset:InputStickerSet = Bool; -channels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult; channels.restrictSponsoredMessages#9ae91519 channel:InputChannel restricted:Bool = Updates; channels.searchPosts#d19f987b hashtag:string offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; @@ -2544,9 +2551,9 @@ stats.getMessagePublicForwards#5f150144 channel:InputChannel msg_id:int offset:s stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats; stats.getStoryStats#374fef40 flags:# dark:flags.0?true peer:InputPeer id:int = stats.StoryStats; stats.getStoryPublicForwards#a6437ef6 peer:InputPeer id:int offset:string limit:int = stats.PublicForwards; -stats.getBroadcastRevenueStats#75dfb671 flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastRevenueStats; -stats.getBroadcastRevenueWithdrawalUrl#2a65ef73 channel:InputChannel password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl; -stats.getBroadcastRevenueTransactions#69280f channel:InputChannel offset:int limit:int = stats.BroadcastRevenueTransactions; +stats.getBroadcastRevenueStats#f788ee19 flags:# dark:flags.0?true peer:InputPeer = stats.BroadcastRevenueStats; +stats.getBroadcastRevenueWithdrawalUrl#9df4faad peer:InputPeer password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl; +stats.getBroadcastRevenueTransactions#70990b6d peer:InputPeer offset:int limit:int = stats.BroadcastRevenueTransactions; chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector = chatlists.ExportedChatlistInvite; chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool; @@ -2603,4 +2610,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; -// LAYER 192 \ No newline at end of file +// LAYER 193 \ No newline at end of file diff --git a/telegram/const.go b/telegram/const.go index e5454f73..720b0534 100644 --- a/telegram/const.go +++ b/telegram/const.go @@ -3,7 +3,7 @@ package telegram import "regexp" const ( - ApiVersion = 192 + ApiVersion = 193 Version = "v1.3.20" LogDebug = "debug" diff --git a/telegram/enums_gen.go b/telegram/enums_gen.go index 2cb283af..38a0074f 100755 --- a/telegram/enums_gen.go +++ b/telegram/enums_gen.go @@ -95,17 +95,18 @@ func (e InlineQueryPeerType) CRC() uint32 { return uint32(e) } type InputPrivacyKey uint32 const ( - InputPrivacyKeyAbout InputPrivacyKey = 0x3823cc40 - InputPrivacyKeyAddedByPhone InputPrivacyKey = 0xd1219bdd - InputPrivacyKeyBirthday InputPrivacyKey = 0xd65a11cc - InputPrivacyKeyChatInvite InputPrivacyKey = 0xbdfb0426 - InputPrivacyKeyForwards InputPrivacyKey = 0xa4dd4c08 - InputPrivacyKeyPhoneCall InputPrivacyKey = 0xfabadc5f - InputPrivacyKeyPhoneNumber InputPrivacyKey = 0x352dafa - InputPrivacyKeyPhoneP2P InputPrivacyKey = 0xdb9e70d2 - InputPrivacyKeyProfilePhoto InputPrivacyKey = 0x5719bacc - InputPrivacyKeyStatusTimestamp InputPrivacyKey = 0x4f96cb18 - InputPrivacyKeyVoiceMessages InputPrivacyKey = 0xaee69d68 + InputPrivacyKeyAbout InputPrivacyKey = 0x3823cc40 + InputPrivacyKeyAddedByPhone InputPrivacyKey = 0xd1219bdd + InputPrivacyKeyBirthday InputPrivacyKey = 0xd65a11cc + InputPrivacyKeyChatInvite InputPrivacyKey = 0xbdfb0426 + InputPrivacyKeyForwards InputPrivacyKey = 0xa4dd4c08 + InputPrivacyKeyPhoneCall InputPrivacyKey = 0xfabadc5f + InputPrivacyKeyPhoneNumber InputPrivacyKey = 0x352dafa + InputPrivacyKeyPhoneP2P InputPrivacyKey = 0xdb9e70d2 + InputPrivacyKeyProfilePhoto InputPrivacyKey = 0x5719bacc + InputPrivacyKeyStarGiftsAutoSave InputPrivacyKey = 0xe1732341 + InputPrivacyKeyStatusTimestamp InputPrivacyKey = 0x4f96cb18 + InputPrivacyKeyVoiceMessages InputPrivacyKey = 0xaee69d68 ) func (e InputPrivacyKey) String() string { @@ -128,6 +129,8 @@ func (e InputPrivacyKey) String() string { return "inputPrivacyKeyPhoneP2P" case InputPrivacyKey(0x5719bacc): return "inputPrivacyKeyProfilePhoto" + case InputPrivacyKey(0xe1732341): + return "inputPrivacyKeyStarGiftsAutoSave" case InputPrivacyKey(0x4f96cb18): return "inputPrivacyKeyStatusTimestamp" case InputPrivacyKey(0xaee69d68): @@ -185,17 +188,18 @@ func (e PhoneCallDiscardReason) CRC() uint32 { return uint32(e) } type PrivacyKey uint32 const ( - PrivacyKeyAbout PrivacyKey = 0xa486b761 - PrivacyKeyAddedByPhone PrivacyKey = 0x42ffd42b - PrivacyKeyBirthday PrivacyKey = 0x2000a518 - PrivacyKeyChatInvite PrivacyKey = 0x500e6dfa - PrivacyKeyForwards PrivacyKey = 0x69ec56a3 - PrivacyKeyPhoneCall PrivacyKey = 0x3d662b7b - PrivacyKeyPhoneNumber PrivacyKey = 0xd19ae46d - PrivacyKeyPhoneP2P PrivacyKey = 0x39491cc8 - PrivacyKeyProfilePhoto PrivacyKey = 0x96151fed - PrivacyKeyStatusTimestamp PrivacyKey = 0xbc2eab30 - PrivacyKeyVoiceMessages PrivacyKey = 0x697f414 + PrivacyKeyAbout PrivacyKey = 0xa486b761 + PrivacyKeyAddedByPhone PrivacyKey = 0x42ffd42b + PrivacyKeyBirthday PrivacyKey = 0x2000a518 + PrivacyKeyChatInvite PrivacyKey = 0x500e6dfa + PrivacyKeyForwards PrivacyKey = 0x69ec56a3 + PrivacyKeyPhoneCall PrivacyKey = 0x3d662b7b + PrivacyKeyPhoneNumber PrivacyKey = 0xd19ae46d + PrivacyKeyPhoneP2P PrivacyKey = 0x39491cc8 + PrivacyKeyProfilePhoto PrivacyKey = 0x96151fed + PrivacyKeyStarGiftsAutoSave PrivacyKey = 0x2ca4fdf8 + PrivacyKeyStatusTimestamp PrivacyKey = 0xbc2eab30 + PrivacyKeyVoiceMessages PrivacyKey = 0x697f414 ) func (e PrivacyKey) String() string { @@ -218,6 +222,8 @@ func (e PrivacyKey) String() string { return "privacyKeyPhoneP2P" case PrivacyKey(0x96151fed): return "privacyKeyProfilePhoto" + case PrivacyKey(0x2ca4fdf8): + return "privacyKeyStarGiftsAutoSave" case PrivacyKey(0xbc2eab30): return "privacyKeyStatusTimestamp" case PrivacyKey(0x697f414): diff --git a/telegram/init_gen.go b/telegram/init_gen.go index ce73a7ad..f69eee36 100755 --- a/telegram/init_gen.go +++ b/telegram/init_gen.go @@ -5,7 +5,7 @@ package telegram import tl "github.com/amarnathcjd/gogram/internal/encoding/tl" func init() { - tl.RegisterObjects(&AccountAcceptAuthorizationParams{}, &AccountAuthorizationForm{}, &AccountAuthorizations{}, &AccountAutoDownloadSettings{}, &AccountAutoSaveSettings{}, &AccountBusinessChatLinks{}, &AccountCancelPasswordEmailParams{}, &AccountChangeAuthorizationSettingsParams{}, &AccountChangePhoneParams{}, &AccountCheckUsernameParams{}, &AccountClearRecentEmojiStatusesParams{}, &AccountConfirmPasswordEmailParams{}, &AccountConfirmPhoneParams{}, &AccountConnectedBots{}, &AccountContentSettings{}, &AccountCreateBusinessChatLinkParams{}, &AccountCreateThemeParams{}, &AccountDaysTtl{}, &AccountDeclinePasswordResetParams{}, &AccountDeleteAccountParams{}, &AccountDeleteAutoSaveExceptionsParams{}, &AccountDeleteBusinessChatLinkParams{}, &AccountDeleteSecureValueParams{}, &AccountDisablePeerConnectedBotParams{}, &AccountEditBusinessChatLinkParams{}, &AccountEmailVerifiedLogin{}, &AccountEmailVerifiedObj{}, &AccountEmojiStatusesNotModified{}, &AccountEmojiStatusesObj{}, &AccountFinishTakeoutSessionParams{}, &AccountGetAccountTtlParams{}, &AccountGetAllSecureValuesParams{}, &AccountGetAuthorizationFormParams{}, &AccountGetAuthorizationsParams{}, &AccountGetAutoDownloadSettingsParams{}, &AccountGetAutoSaveSettingsParams{}, &AccountGetBotBusinessConnectionParams{}, &AccountGetBusinessChatLinksParams{}, &AccountGetChannelDefaultEmojiStatusesParams{}, &AccountGetChannelRestrictedStatusEmojisParams{}, &AccountGetChatThemesParams{}, &AccountGetConnectedBotsParams{}, &AccountGetContactSignUpNotificationParams{}, &AccountGetContentSettingsParams{}, &AccountGetDefaultBackgroundEmojisParams{}, &AccountGetDefaultEmojiStatusesParams{}, &AccountGetDefaultGroupPhotoEmojisParams{}, &AccountGetDefaultProfilePhotoEmojisParams{}, &AccountGetGlobalPrivacySettingsParams{}, &AccountGetMultiWallPapersParams{}, &AccountGetNotifyExceptionsParams{}, &AccountGetNotifySettingsParams{}, &AccountGetPasswordParams{}, &AccountGetPasswordSettingsParams{}, &AccountGetPrivacyParams{}, &AccountGetReactionsNotifySettingsParams{}, &AccountGetRecentEmojiStatusesParams{}, &AccountGetSavedRingtonesParams{}, &AccountGetSecureValueParams{}, &AccountGetThemeParams{}, &AccountGetThemesParams{}, &AccountGetTmpPasswordParams{}, &AccountGetWallPaperParams{}, &AccountGetWallPapersParams{}, &AccountGetWebAuthorizationsParams{}, &AccountInitTakeoutSessionParams{}, &AccountInstallThemeParams{}, &AccountInstallWallPaperParams{}, &AccountInvalidateSignInCodesParams{}, &AccountPassword{}, &AccountPasswordInputSettings{}, &AccountPasswordSettings{}, &AccountPrivacyRules{}, &AccountRegisterDeviceParams{}, &AccountReorderUsernamesParams{}, &AccountReportPeerParams{}, &AccountReportProfilePhotoParams{}, &AccountResendPasswordEmailParams{}, &AccountResetAuthorizationParams{}, &AccountResetNotifySettingsParams{}, &AccountResetPasswordFailedWait{}, &AccountResetPasswordOk{}, &AccountResetPasswordParams{}, &AccountResetPasswordRequestedWait{}, &AccountResetWallPapersParams{}, &AccountResetWebAuthorizationParams{}, &AccountResetWebAuthorizationsParams{}, &AccountResolveBusinessChatLinkParams{}, &AccountResolvedBusinessChatLinks{}, &AccountSaveAutoDownloadSettingsParams{}, &AccountSaveAutoSaveSettingsParams{}, &AccountSaveRingtoneParams{}, &AccountSaveSecureValueParams{}, &AccountSaveThemeParams{}, &AccountSaveWallPaperParams{}, &AccountSavedRingtoneConverted{}, &AccountSavedRingtoneObj{}, &AccountSavedRingtonesNotModified{}, &AccountSavedRingtonesObj{}, &AccountSendChangePhoneCodeParams{}, &AccountSendConfirmPhoneCodeParams{}, &AccountSendVerifyEmailCodeParams{}, &AccountSendVerifyPhoneCodeParams{}, &AccountSentEmailCode{}, &AccountSetAccountTtlParams{}, &AccountSetAuthorizationTtlParams{}, &AccountSetContactSignUpNotificationParams{}, &AccountSetContentSettingsParams{}, &AccountSetGlobalPrivacySettingsParams{}, &AccountSetPrivacyParams{}, &AccountSetReactionsNotifySettingsParams{}, &AccountTakeout{}, &AccountThemesNotModified{}, &AccountThemesObj{}, &AccountTmpPassword{}, &AccountToggleConnectedBotPausedParams{}, &AccountToggleSponsoredMessagesParams{}, &AccountToggleUsernameParams{}, &AccountUnregisterDeviceParams{}, &AccountUpdateBirthdayParams{}, &AccountUpdateBusinessAwayMessageParams{}, &AccountUpdateBusinessGreetingMessageParams{}, &AccountUpdateBusinessIntroParams{}, &AccountUpdateBusinessLocationParams{}, &AccountUpdateBusinessWorkHoursParams{}, &AccountUpdateColorParams{}, &AccountUpdateConnectedBotParams{}, &AccountUpdateDeviceLockedParams{}, &AccountUpdateEmojiStatusParams{}, &AccountUpdateNotifySettingsParams{}, &AccountUpdatePasswordSettingsParams{}, &AccountUpdatePersonalChannelParams{}, &AccountUpdateProfileParams{}, &AccountUpdateStatusParams{}, &AccountUpdateThemeParams{}, &AccountUpdateUsernameParams{}, &AccountUploadRingtoneParams{}, &AccountUploadThemeParams{}, &AccountUploadWallPaperParams{}, &AccountVerifyEmailParams{}, &AccountVerifyPhoneParams{}, &AccountWallPapersNotModified{}, &AccountWallPapersObj{}, &AccountWebAuthorizations{}, &AppWebViewResultURL{}, &AttachMenuBot{}, &AttachMenuBotIcon{}, &AttachMenuBotIconColor{}, &AttachMenuBotsBot{}, &AttachMenuBotsNotModified{}, &AttachMenuBotsObj{}, &AuthAcceptLoginTokenParams{}, &AuthAuthorizationObj{}, &AuthAuthorizationSignUpRequired{}, &AuthBindTempAuthKeyParams{}, &AuthCancelCodeParams{}, &AuthCheckPasswordParams{}, &AuthCheckRecoveryPasswordParams{}, &AuthDropTempAuthKeysParams{}, &AuthExportAuthorizationParams{}, &AuthExportLoginTokenParams{}, &AuthExportedAuthorization{}, &AuthImportAuthorizationParams{}, &AuthImportBotAuthorizationParams{}, &AuthImportLoginTokenParams{}, &AuthImportWebTokenAuthorizationParams{}, &AuthLogOutParams{}, &AuthLoggedOut{}, &AuthLoginTokenMigrateTo{}, &AuthLoginTokenObj{}, &AuthLoginTokenSuccess{}, &AuthPasswordRecovery{}, &AuthRecoverPasswordParams{}, &AuthReportMissingCodeParams{}, &AuthRequestFirebaseSmsParams{}, &AuthRequestPasswordRecoveryParams{}, &AuthResendCodeParams{}, &AuthResetAuthorizationsParams{}, &AuthResetLoginEmailParams{}, &AuthSendCodeParams{}, &AuthSentCodeObj{}, &AuthSentCodeSuccess{}, &AuthSentCodeTypeApp{}, &AuthSentCodeTypeCall{}, &AuthSentCodeTypeEmailCode{}, &AuthSentCodeTypeFirebaseSms{}, &AuthSentCodeTypeFlashCall{}, &AuthSentCodeTypeFragmentSms{}, &AuthSentCodeTypeMissedCall{}, &AuthSentCodeTypeSetUpEmailRequired{}, &AuthSentCodeTypeSms{}, &AuthSentCodeTypeSmsPhrase{}, &AuthSentCodeTypeSmsWord{}, &AuthSignInParams{}, &AuthSignUpParams{}, &Authorization{}, &AutoDownloadSettings{}, &AutoSaveException{}, &AutoSaveSettings{}, &AvailableEffect{}, &AvailableReaction{}, &BankCardOpenURL{}, &Birthday{}, &Boost{}, &BotAppNotModified{}, &BotAppObj{}, &BotBusinessConnection{}, &BotCommand{}, &BotCommandScopeChatAdmins{}, &BotCommandScopeChats{}, &BotCommandScopeDefault{}, &BotCommandScopePeer{}, &BotCommandScopePeerAdmins{}, &BotCommandScopePeerUser{}, &BotCommandScopeUsers{}, &BotInfo{}, &BotInlineMediaResult{}, &BotInlineMessageMediaAuto{}, &BotInlineMessageMediaContact{}, &BotInlineMessageMediaGeo{}, &BotInlineMessageMediaInvoice{}, &BotInlineMessageMediaVenue{}, &BotInlineMessageMediaWebPage{}, &BotInlineMessageText{}, &BotInlineResultObj{}, &BotMenuButtonCommands{}, &BotMenuButtonDefault{}, &BotMenuButtonObj{}, &BotPreviewMedia{}, &BotsAddPreviewMediaParams{}, &BotsAllowSendMessageParams{}, &BotsAnswerWebhookJsonQueryParams{}, &BotsBotInfo{}, &BotsCanSendMessageParams{}, &BotsDeletePreviewMediaParams{}, &BotsEditPreviewMediaParams{}, &BotsGetBotCommandsParams{}, &BotsGetBotInfoParams{}, &BotsGetBotMenuButtonParams{}, &BotsGetPopularAppBotsParams{}, &BotsGetPreviewInfoParams{}, &BotsGetPreviewMediasParams{}, &BotsInvokeWebViewCustomMethodParams{}, &BotsPopularAppBots{}, &BotsPreviewInfo{}, &BotsReorderPreviewMediasParams{}, &BotsReorderUsernamesParams{}, &BotsResetBotCommandsParams{}, &BotsSendCustomRequestParams{}, &BotsSetBotBroadcastDefaultAdminRightsParams{}, &BotsSetBotCommandsParams{}, &BotsSetBotGroupDefaultAdminRightsParams{}, &BotsSetBotInfoParams{}, &BotsSetBotMenuButtonParams{}, &BotsToggleUsernameParams{}, &BroadcastRevenueBalances{}, &BroadcastRevenueTransactionProceeds{}, &BroadcastRevenueTransactionRefund{}, &BroadcastRevenueTransactionWithdrawal{}, &BusinessAwayMessage{}, &BusinessAwayMessageScheduleAlways{}, &BusinessAwayMessageScheduleCustom{}, &BusinessAwayMessageScheduleOutsideWorkHours{}, &BusinessBotRecipients{}, &BusinessChatLink{}, &BusinessGreetingMessage{}, &BusinessIntro{}, &BusinessLocation{}, &BusinessRecipients{}, &BusinessWeeklyOpen{}, &BusinessWorkHours{}, &CdnConfig{}, &CdnPublicKey{}, &Channel{}, &ChannelAdminLogEvent{}, &ChannelAdminLogEventActionChangeAbout{}, &ChannelAdminLogEventActionChangeAvailableReactions{}, &ChannelAdminLogEventActionChangeBackgroundEmoji{}, &ChannelAdminLogEventActionChangeColor{}, &ChannelAdminLogEventActionChangeEmojiStatus{}, &ChannelAdminLogEventActionChangeEmojiStickerSet{}, &ChannelAdminLogEventActionChangeHistoryTtl{}, &ChannelAdminLogEventActionChangeLinkedChat{}, &ChannelAdminLogEventActionChangeLocation{}, &ChannelAdminLogEventActionChangePeerColor{}, &ChannelAdminLogEventActionChangePhoto{}, &ChannelAdminLogEventActionChangeProfilePeerColor{}, &ChannelAdminLogEventActionChangeStickerSet{}, &ChannelAdminLogEventActionChangeTheme{}, &ChannelAdminLogEventActionChangeTitle{}, &ChannelAdminLogEventActionChangeUsername{}, &ChannelAdminLogEventActionChangeUsernames{}, &ChannelAdminLogEventActionChangeWallpaper{}, &ChannelAdminLogEventActionCreateTopic{}, &ChannelAdminLogEventActionDefaultBannedRights{}, &ChannelAdminLogEventActionDeleteMessage{}, &ChannelAdminLogEventActionDeleteTopic{}, &ChannelAdminLogEventActionDiscardGroupCall{}, &ChannelAdminLogEventActionEditMessage{}, &ChannelAdminLogEventActionEditTopic{}, &ChannelAdminLogEventActionExportedInviteDelete{}, &ChannelAdminLogEventActionExportedInviteEdit{}, &ChannelAdminLogEventActionExportedInviteRevoke{}, &ChannelAdminLogEventActionParticipantInvite{}, &ChannelAdminLogEventActionParticipantJoin{}, &ChannelAdminLogEventActionParticipantJoinByInvite{}, &ChannelAdminLogEventActionParticipantJoinByRequest{}, &ChannelAdminLogEventActionParticipantLeave{}, &ChannelAdminLogEventActionParticipantMute{}, &ChannelAdminLogEventActionParticipantSubExtend{}, &ChannelAdminLogEventActionParticipantToggleAdmin{}, &ChannelAdminLogEventActionParticipantToggleBan{}, &ChannelAdminLogEventActionParticipantUnmute{}, &ChannelAdminLogEventActionParticipantVolume{}, &ChannelAdminLogEventActionPinTopic{}, &ChannelAdminLogEventActionSendMessage{}, &ChannelAdminLogEventActionStartGroupCall{}, &ChannelAdminLogEventActionStopPoll{}, &ChannelAdminLogEventActionToggleAntiSpam{}, &ChannelAdminLogEventActionToggleForum{}, &ChannelAdminLogEventActionToggleGroupCallSetting{}, &ChannelAdminLogEventActionToggleInvites{}, &ChannelAdminLogEventActionToggleNoForwards{}, &ChannelAdminLogEventActionTogglePreHistoryHidden{}, &ChannelAdminLogEventActionToggleSignatureProfiles{}, &ChannelAdminLogEventActionToggleSignatures{}, &ChannelAdminLogEventActionToggleSlowMode{}, &ChannelAdminLogEventActionUpdatePinned{}, &ChannelAdminLogEventsFilter{}, &ChannelForbidden{}, &ChannelFull{}, &ChannelLocationEmpty{}, &ChannelLocationObj{}, &ChannelMessagesFilterEmpty{}, &ChannelMessagesFilterObj{}, &ChannelParticipantAdmin{}, &ChannelParticipantBanned{}, &ChannelParticipantCreator{}, &ChannelParticipantLeft{}, &ChannelParticipantObj{}, &ChannelParticipantSelf{}, &ChannelParticipantsAdmins{}, &ChannelParticipantsBanned{}, &ChannelParticipantsBots{}, &ChannelParticipantsContacts{}, &ChannelParticipantsKicked{}, &ChannelParticipantsMentions{}, &ChannelParticipantsRecent{}, &ChannelParticipantsSearch{}, &ChannelsAdminLogResults{}, &ChannelsChannelParticipant{}, &ChannelsChannelParticipantsNotModified{}, &ChannelsChannelParticipantsObj{}, &ChannelsCheckUsernameParams{}, &ChannelsClickSponsoredMessageParams{}, &ChannelsConvertToGigagroupParams{}, &ChannelsCreateChannelParams{}, &ChannelsCreateForumTopicParams{}, &ChannelsDeactivateAllUsernamesParams{}, &ChannelsDeleteChannelParams{}, &ChannelsDeleteHistoryParams{}, &ChannelsDeleteMessagesParams{}, &ChannelsDeleteParticipantHistoryParams{}, &ChannelsDeleteTopicHistoryParams{}, &ChannelsEditAdminParams{}, &ChannelsEditBannedParams{}, &ChannelsEditCreatorParams{}, &ChannelsEditForumTopicParams{}, &ChannelsEditLocationParams{}, &ChannelsEditPhotoParams{}, &ChannelsEditTitleParams{}, &ChannelsExportMessageLinkParams{}, &ChannelsGetAdminLogParams{}, &ChannelsGetAdminedPublicChannelsParams{}, &ChannelsGetChannelRecommendationsParams{}, &ChannelsGetChannelsParams{}, &ChannelsGetForumTopicsByIDParams{}, &ChannelsGetForumTopicsParams{}, &ChannelsGetFullChannelParams{}, &ChannelsGetGroupsForDiscussionParams{}, &ChannelsGetInactiveChannelsParams{}, &ChannelsGetLeftChannelsParams{}, &ChannelsGetMessagesParams{}, &ChannelsGetParticipantParams{}, &ChannelsGetParticipantsParams{}, &ChannelsGetSendAsParams{}, &ChannelsGetSponsoredMessagesParams{}, &ChannelsInviteToChannelParams{}, &ChannelsJoinChannelParams{}, &ChannelsLeaveChannelParams{}, &ChannelsReadHistoryParams{}, &ChannelsReadMessageContentsParams{}, &ChannelsReorderPinnedForumTopicsParams{}, &ChannelsReorderUsernamesParams{}, &ChannelsReportAntiSpamFalsePositiveParams{}, &ChannelsReportSpamParams{}, &ChannelsReportSponsoredMessageParams{}, &ChannelsRestrictSponsoredMessagesParams{}, &ChannelsSearchPostsParams{}, &ChannelsSendAsPeers{}, &ChannelsSetBoostsToUnblockRestrictionsParams{}, &ChannelsSetDiscussionGroupParams{}, &ChannelsSetEmojiStickersParams{}, &ChannelsSetStickersParams{}, &ChannelsSponsoredMessageReportResultAdsHidden{}, &ChannelsSponsoredMessageReportResultChooseOption{}, &ChannelsSponsoredMessageReportResultReported{}, &ChannelsToggleAntiSpamParams{}, &ChannelsToggleForumParams{}, &ChannelsToggleJoinRequestParams{}, &ChannelsToggleJoinToSendParams{}, &ChannelsToggleParticipantsHiddenParams{}, &ChannelsTogglePreHistoryHiddenParams{}, &ChannelsToggleSignaturesParams{}, &ChannelsToggleSlowModeParams{}, &ChannelsToggleUsernameParams{}, &ChannelsToggleViewForumAsMessagesParams{}, &ChannelsUpdateColorParams{}, &ChannelsUpdateEmojiStatusParams{}, &ChannelsUpdatePinnedForumTopicParams{}, &ChannelsUpdateUsernameParams{}, &ChannelsViewSponsoredMessageParams{}, &ChatAdminRights{}, &ChatAdminWithInvites{}, &ChatBannedRights{}, &ChatChannelParticipant{}, &ChatEmpty{}, &ChatForbidden{}, &ChatFullObj{}, &ChatInviteAlready{}, &ChatInviteExported{}, &ChatInviteImporter{}, &ChatInviteObj{}, &ChatInvitePeek{}, &ChatInvitePublicJoinRequests{}, &ChatObj{}, &ChatOnlines{}, &ChatParticipantAdmin{}, &ChatParticipantCreator{}, &ChatParticipantObj{}, &ChatParticipantsForbidden{}, &ChatParticipantsObj{}, &ChatPhotoEmpty{}, &ChatPhotoObj{}, &ChatReactionsAll{}, &ChatReactionsNone{}, &ChatReactionsSome{}, &ChatlistsChatlistInviteAlready{}, &ChatlistsChatlistInviteObj{}, &ChatlistsChatlistUpdates{}, &ChatlistsCheckChatlistInviteParams{}, &ChatlistsDeleteExportedInviteParams{}, &ChatlistsEditExportedInviteParams{}, &ChatlistsExportChatlistInviteParams{}, &ChatlistsExportedChatlistInvite{}, &ChatlistsExportedInvites{}, &ChatlistsGetChatlistUpdatesParams{}, &ChatlistsGetExportedInvitesParams{}, &ChatlistsGetLeaveChatlistSuggestionsParams{}, &ChatlistsHideChatlistUpdatesParams{}, &ChatlistsJoinChatlistInviteParams{}, &ChatlistsJoinChatlistUpdatesParams{}, &ChatlistsLeaveChatlistParams{}, &CodeSettings{}, &Config{}, &ConnectedBot{}, &Contact{}, &ContactBirthday{}, &ContactStatus{}, &ContactsAcceptContactParams{}, &ContactsAddContactParams{}, &ContactsBlockFromRepliesParams{}, &ContactsBlockParams{}, &ContactsBlockedObj{}, &ContactsBlockedSlice{}, &ContactsContactBirthdays{}, &ContactsContactsNotModified{}, &ContactsContactsObj{}, &ContactsDeleteByPhonesParams{}, &ContactsDeleteContactsParams{}, &ContactsEditCloseFriendsParams{}, &ContactsExportCardParams{}, &ContactsExportContactTokenParams{}, &ContactsFound{}, &ContactsGetBirthdaysParams{}, &ContactsGetBlockedParams{}, &ContactsGetContactIDsParams{}, &ContactsGetContactsParams{}, &ContactsGetLocatedParams{}, &ContactsGetSavedParams{}, &ContactsGetStatusesParams{}, &ContactsGetTopPeersParams{}, &ContactsImportCardParams{}, &ContactsImportContactTokenParams{}, &ContactsImportContactsParams{}, &ContactsImportedContacts{}, &ContactsResetSavedParams{}, &ContactsResetTopPeerRatingParams{}, &ContactsResolvePhoneParams{}, &ContactsResolveUsernameParams{}, &ContactsResolvedPeer{}, &ContactsSearchParams{}, &ContactsSetBlockedParams{}, &ContactsToggleTopPeersParams{}, &ContactsTopPeersDisabled{}, &ContactsTopPeersNotModified{}, &ContactsTopPeersObj{}, &ContactsUnblockParams{}, &DataJson{}, &DcOption{}, &DefaultHistoryTtl{}, &DialogFilterChatlist{}, &DialogFilterDefault{}, &DialogFilterObj{}, &DialogFilterSuggested{}, &DialogFolder{}, &DialogObj{}, &DialogPeerFolder{}, &DialogPeerObj{}, &DocumentAttributeAnimated{}, &DocumentAttributeAudio{}, &DocumentAttributeCustomEmoji{}, &DocumentAttributeFilename{}, &DocumentAttributeHasStickers{}, &DocumentAttributeImageSize{}, &DocumentAttributeSticker{}, &DocumentAttributeVideo{}, &DocumentEmpty{}, &DocumentObj{}, &DraftMessageEmpty{}, &DraftMessageObj{}, &EmailVerificationApple{}, &EmailVerificationCode{}, &EmailVerificationGoogle{}, &EmailVerifyPurposeLoginChange{}, &EmailVerifyPurposeLoginSetup{}, &EmailVerifyPurposePassport{}, &EmojiGroupGreeting{}, &EmojiGroupObj{}, &EmojiGroupPremium{}, &EmojiKeywordDeleted{}, &EmojiKeywordObj{}, &EmojiKeywordsDifference{}, &EmojiLanguage{}, &EmojiListNotModified{}, &EmojiListObj{}, &EmojiStatusEmpty{}, &EmojiStatusObj{}, &EmojiStatusUntil{}, &EmojiURL{}, &EncryptedChatDiscarded{}, &EncryptedChatEmpty{}, &EncryptedChatObj{}, &EncryptedChatRequested{}, &EncryptedChatWaiting{}, &EncryptedFileEmpty{}, &EncryptedFileObj{}, &EncryptedMessageObj{}, &EncryptedMessageService{}, &Error{}, &ExportedChatlistInvite{}, &ExportedContactToken{}, &ExportedMessageLink{}, &ExportedStoryLink{}, &FactCheck{}, &FileHash{}, &FileLocationUnavailable{}, &Folder{}, &FolderPeer{}, &FoldersDeleteFolderParams{}, &FoldersEditPeerFoldersParams{}, &ForumTopicDeleted{}, &ForumTopicObj{}, &FoundStory{}, &FragmentCollectibleInfo{}, &FragmentGetCollectibleInfoParams{}, &Game{}, &GeoPointAddress{}, &GeoPointEmpty{}, &GeoPointObj{}, &GlobalPrivacySettings{}, &GroupCallDiscarded{}, &GroupCallObj{}, &GroupCallParticipant{}, &GroupCallParticipantVideo{}, &GroupCallParticipantVideoSourceGroup{}, &GroupCallStreamChannel{}, &HelpAcceptTermsOfServiceParams{}, &HelpAppConfigNotModified{}, &HelpAppConfigObj{}, &HelpAppUpdateObj{}, &HelpCountriesListNotModified{}, &HelpCountriesListObj{}, &HelpCountry{}, &HelpCountryCode{}, &HelpDeepLinkInfoEmpty{}, &HelpDeepLinkInfoObj{}, &HelpDismissSuggestionParams{}, &HelpEditUserInfoParams{}, &HelpGetAppChangelogParams{}, &HelpGetAppConfigParams{}, &HelpGetAppUpdateParams{}, &HelpGetCdnConfigParams{}, &HelpGetConfigParams{}, &HelpGetCountriesListParams{}, &HelpGetDeepLinkInfoParams{}, &HelpGetInviteTextParams{}, &HelpGetNearestDcParams{}, &HelpGetPassportConfigParams{}, &HelpGetPeerColorsParams{}, &HelpGetPeerProfileColorsParams{}, &HelpGetPremiumPromoParams{}, &HelpGetPromoDataParams{}, &HelpGetRecentMeUrlsParams{}, &HelpGetSupportNameParams{}, &HelpGetSupportParams{}, &HelpGetTermsOfServiceUpdateParams{}, &HelpGetTimezonesListParams{}, &HelpGetUserInfoParams{}, &HelpHidePromoDataParams{}, &HelpInviteText{}, &HelpNoAppUpdate{}, &HelpPassportConfigNotModified{}, &HelpPassportConfigObj{}, &HelpPeerColorOption{}, &HelpPeerColorProfileSet{}, &HelpPeerColorSetObj{}, &HelpPeerColorsNotModified{}, &HelpPeerColorsObj{}, &HelpPremiumPromo{}, &HelpPromoDataEmpty{}, &HelpPromoDataObj{}, &HelpRecentMeUrls{}, &HelpSaveAppLogParams{}, &HelpSetBotUpdatesStatusParams{}, &HelpSupport{}, &HelpSupportName{}, &HelpTermsOfService{}, &HelpTermsOfServiceUpdateEmpty{}, &HelpTermsOfServiceUpdateObj{}, &HelpTimezonesListNotModified{}, &HelpTimezonesListObj{}, &HelpUserInfoEmpty{}, &HelpUserInfoObj{}, &HighScore{}, &ImportedContact{}, &InlineBotSwitchPm{}, &InlineBotWebView{}, &InputAppEvent{}, &InputBotAppID{}, &InputBotAppShortName{}, &InputBotInlineMessageGame{}, &InputBotInlineMessageID64{}, &InputBotInlineMessageIDObj{}, &InputBotInlineMessageMediaAuto{}, &InputBotInlineMessageMediaContact{}, &InputBotInlineMessageMediaGeo{}, &InputBotInlineMessageMediaInvoice{}, &InputBotInlineMessageMediaVenue{}, &InputBotInlineMessageMediaWebPage{}, &InputBotInlineMessageText{}, &InputBotInlineResultDocument{}, &InputBotInlineResultGame{}, &InputBotInlineResultObj{}, &InputBotInlineResultPhoto{}, &InputBusinessAwayMessage{}, &InputBusinessBotRecipients{}, &InputBusinessChatLink{}, &InputBusinessGreetingMessage{}, &InputBusinessIntro{}, &InputBusinessRecipients{}, &InputChannelEmpty{}, &InputChannelFromMessage{}, &InputChannelObj{}, &InputChatPhotoEmpty{}, &InputChatPhotoObj{}, &InputChatUploadedPhoto{}, &InputChatlistDialogFilter{}, &InputCheckPasswordEmpty{}, &InputCheckPasswordSRPObj{}, &InputClientProxy{}, &InputCollectiblePhone{}, &InputCollectibleUsername{}, &InputDialogPeerFolder{}, &InputDialogPeerObj{}, &InputDocumentEmpty{}, &InputDocumentFileLocation{}, &InputDocumentObj{}, &InputEncryptedChat{}, &InputEncryptedFileBigUploaded{}, &InputEncryptedFileEmpty{}, &InputEncryptedFileLocation{}, &InputEncryptedFileObj{}, &InputEncryptedFileUploaded{}, &InputFileBig{}, &InputFileLocationObj{}, &InputFileObj{}, &InputFileStoryDocument{}, &InputFolderPeer{}, &InputGameID{}, &InputGameShortName{}, &InputGeoPointEmpty{}, &InputGeoPointObj{}, &InputGroupCall{}, &InputGroupCallStream{}, &InputInvoiceChatInviteSubscription{}, &InputInvoiceMessage{}, &InputInvoicePremiumGiftCode{}, &InputInvoiceSlug{}, &InputInvoiceStarGift{}, &InputInvoiceStars{}, &InputKeyboardButtonRequestPeer{}, &InputKeyboardButtonURLAuth{}, &InputKeyboardButtonUserProfile{}, &InputMediaAreaChannelPost{}, &InputMediaAreaVenue{}, &InputMediaContact{}, &InputMediaDice{}, &InputMediaDocument{}, &InputMediaDocumentExternal{}, &InputMediaEmpty{}, &InputMediaGame{}, &InputMediaGeoLive{}, &InputMediaGeoPoint{}, &InputMediaInvoice{}, &InputMediaPaidMedia{}, &InputMediaPhoto{}, &InputMediaPhotoExternal{}, &InputMediaPoll{}, &InputMediaStory{}, &InputMediaUploadedDocument{}, &InputMediaUploadedPhoto{}, &InputMediaVenue{}, &InputMediaWebPage{}, &InputMessageCallbackQuery{}, &InputMessageEntityMentionName{}, &InputMessageID{}, &InputMessagePinned{}, &InputMessageReplyTo{}, &InputMessagesFilterChatPhotos{}, &InputMessagesFilterContacts{}, &InputMessagesFilterDocument{}, &InputMessagesFilterEmpty{}, &InputMessagesFilterGeo{}, &InputMessagesFilterGif{}, &InputMessagesFilterMusic{}, &InputMessagesFilterMyMentions{}, &InputMessagesFilterPhoneCalls{}, &InputMessagesFilterPhotoVideo{}, &InputMessagesFilterPhotoVideoDocuments{}, &InputMessagesFilterPhotos{}, &InputMessagesFilterPinned{}, &InputMessagesFilterRoundVideo{}, &InputMessagesFilterRoundVoice{}, &InputMessagesFilterURL{}, &InputMessagesFilterVideo{}, &InputMessagesFilterVoice{}, &InputNotifyBroadcasts{}, &InputNotifyChats{}, &InputNotifyForumTopic{}, &InputNotifyPeerObj{}, &InputNotifyUsers{}, &InputPaymentCredentialsApplePay{}, &InputPaymentCredentialsGooglePay{}, &InputPaymentCredentialsObj{}, &InputPaymentCredentialsSaved{}, &InputPeerChannel{}, &InputPeerChannelFromMessage{}, &InputPeerChat{}, &InputPeerEmpty{}, &InputPeerNotifySettings{}, &InputPeerPhotoFileLocation{}, &InputPeerSelf{}, &InputPeerUser{}, &InputPeerUserFromMessage{}, &InputPhoneCall{}, &InputPhoneContact{}, &InputPhotoEmpty{}, &InputPhotoFileLocation{}, &InputPhotoLegacyFileLocation{}, &InputPhotoObj{}, &InputPrivacyValueAllowAll{}, &InputPrivacyValueAllowChatParticipants{}, &InputPrivacyValueAllowCloseFriends{}, &InputPrivacyValueAllowContacts{}, &InputPrivacyValueAllowPremium{}, &InputPrivacyValueAllowUsers{}, &InputPrivacyValueDisallowAll{}, &InputPrivacyValueDisallowChatParticipants{}, &InputPrivacyValueDisallowContacts{}, &InputPrivacyValueDisallowUsers{}, &InputQuickReplyShortcutID{}, &InputQuickReplyShortcutObj{}, &InputReplyToMessage{}, &InputReplyToStory{}, &InputSecureFileLocation{}, &InputSecureFileObj{}, &InputSecureFileUploaded{}, &InputSecureValue{}, &InputSingleMedia{}, &InputStarsTransaction{}, &InputStickerSetAnimatedEmoji{}, &InputStickerSetAnimatedEmojiAnimations{}, &InputStickerSetDice{}, &InputStickerSetEmojiChannelDefaultStatuses{}, &InputStickerSetEmojiDefaultStatuses{}, &InputStickerSetEmojiDefaultTopicIcons{}, &InputStickerSetEmojiGenericAnimations{}, &InputStickerSetEmpty{}, &InputStickerSetID{}, &InputStickerSetItem{}, &InputStickerSetPremiumGifts{}, &InputStickerSetShortName{}, &InputStickerSetThumb{}, &InputStickeredMediaDocument{}, &InputStickeredMediaPhoto{}, &InputStorePaymentGiftPremium{}, &InputStorePaymentPremiumGiftCode{}, &InputStorePaymentPremiumGiveaway{}, &InputStorePaymentPremiumSubscription{}, &InputStorePaymentStarsGift{}, &InputStorePaymentStarsGiveaway{}, &InputStorePaymentStarsTopup{}, &InputTakeoutFileLocation{}, &InputThemeObj{}, &InputThemeSettings{}, &InputThemeSlug{}, &InputUserEmpty{}, &InputUserFromMessage{}, &InputUserObj{}, &InputUserSelf{}, &InputWallPaperNoFile{}, &InputWallPaperObj{}, &InputWallPaperSlug{}, &InputWebDocument{}, &InputWebFileAudioAlbumThumbLocation{}, &InputWebFileGeoPointLocation{}, &InputWebFileLocationObj{}, &Invoice{}, &JsonArray{}, &JsonBool{}, &JsonNull{}, &JsonNumber{}, &JsonObject{}, &JsonObjectValue{}, &JsonString{}, &KeyboardButtonBuy{}, &KeyboardButtonCallback{}, &KeyboardButtonCopy{}, &KeyboardButtonGame{}, &KeyboardButtonObj{}, &KeyboardButtonRequestGeoLocation{}, &KeyboardButtonRequestPeer{}, &KeyboardButtonRequestPhone{}, &KeyboardButtonRequestPoll{}, &KeyboardButtonRow{}, &KeyboardButtonSimpleWebView{}, &KeyboardButtonSwitchInline{}, &KeyboardButtonURL{}, &KeyboardButtonURLAuth{}, &KeyboardButtonUserProfile{}, &KeyboardButtonWebView{}, &LabeledPrice{}, &LangPackDifference{}, &LangPackLanguage{}, &LangPackStringDeleted{}, &LangPackStringObj{}, &LangPackStringPluralized{}, &LangpackGetDifferenceParams{}, &LangpackGetLangPackParams{}, &LangpackGetLanguageParams{}, &LangpackGetLanguagesParams{}, &LangpackGetStringsParams{}, &MaskCoords{}, &MediaAreaChannelPost{}, &MediaAreaCoordinates{}, &MediaAreaGeoPoint{}, &MediaAreaSuggestedReaction{}, &MediaAreaURL{}, &MediaAreaVenue{}, &MediaAreaWeather{}, &MessageActionAttachMenuBotAllowed{}, &MessageActionBoostApply{}, &MessageActionBotAllowed{}, &MessageActionChannelCreate{}, &MessageActionChannelMigrateFrom{}, &MessageActionChatAddUser{}, &MessageActionChatCreate{}, &MessageActionChatDeletePhoto{}, &MessageActionChatDeleteUser{}, &MessageActionChatEditPhoto{}, &MessageActionChatEditTitle{}, &MessageActionChatJoinedByLink{}, &MessageActionChatJoinedByRequest{}, &MessageActionChatMigrateTo{}, &MessageActionContactSignUp{}, &MessageActionCreatedBroadcastList{}, &MessageActionCustomAction{}, &MessageActionEmpty{}, &MessageActionGameScore{}, &MessageActionGeoProximityReached{}, &MessageActionGiftCode{}, &MessageActionGiftPremium{}, &MessageActionGiftStars{}, &MessageActionGiveawayLaunch{}, &MessageActionGiveawayResults{}, &MessageActionGroupCall{}, &MessageActionGroupCallScheduled{}, &MessageActionHistoryClear{}, &MessageActionInviteToGroupCall{}, &MessageActionLoginUnknownLocation{}, &MessageActionPaymentRefunded{}, &MessageActionPaymentSent{}, &MessageActionPaymentSentMe{}, &MessageActionPhoneCall{}, &MessageActionPhoneNumberRequest{}, &MessageActionPinMessage{}, &MessageActionPrizeStars{}, &MessageActionRequestedPeer{}, &MessageActionRequestedPeerSentMe{}, &MessageActionScreenshotTaken{}, &MessageActionSecureValuesSent{}, &MessageActionSecureValuesSentMe{}, &MessageActionSetChatTheme{}, &MessageActionSetChatWallPaper{}, &MessageActionSetMessagesTtl{}, &MessageActionSetSameChatWallPaper{}, &MessageActionStarGift{}, &MessageActionSuggestProfilePhoto{}, &MessageActionTopicCreate{}, &MessageActionTopicEdit{}, &MessageActionTtlChange{}, &MessageActionUserJoined{}, &MessageActionUserUpdatedPhoto{}, &MessageActionWebViewDataSent{}, &MessageActionWebViewDataSentMe{}, &MessageEmpty{}, &MessageEntityBankCard{}, &MessageEntityBlockquote{}, &MessageEntityBold{}, &MessageEntityBotCommand{}, &MessageEntityCashtag{}, &MessageEntityCode{}, &MessageEntityCustomEmoji{}, &MessageEntityEmail{}, &MessageEntityHashtag{}, &MessageEntityItalic{}, &MessageEntityMention{}, &MessageEntityMentionName{}, &MessageEntityPhone{}, &MessageEntityPre{}, &MessageEntitySpoiler{}, &MessageEntityStrike{}, &MessageEntityTextURL{}, &MessageEntityURL{}, &MessageEntityUnderline{}, &MessageEntityUnknown{}, &MessageExtendedMediaObj{}, &MessageExtendedMediaPreview{}, &MessageFwdHeader{}, &MessageMediaContact{}, &MessageMediaDice{}, &MessageMediaDocument{}, &MessageMediaEmpty{}, &MessageMediaGame{}, &MessageMediaGeo{}, &MessageMediaGeoLive{}, &MessageMediaGiveaway{}, &MessageMediaGiveawayResults{}, &MessageMediaInvoice{}, &MessageMediaPaidMedia{}, &MessageMediaPhoto{}, &MessageMediaPoll{}, &MessageMediaStory{}, &MessageMediaUnsupported{}, &MessageMediaVenue{}, &MessageMediaWebPage{}, &MessageObj{}, &MessagePeerReaction{}, &MessagePeerVoteInputOption{}, &MessagePeerVoteMultiple{}, &MessagePeerVoteObj{}, &MessageRange{}, &MessageReactions{}, &MessageReactor{}, &MessageReplies{}, &MessageReplyHeaderObj{}, &MessageReplyStoryHeader{}, &MessageReportOption{}, &MessageService{}, &MessageViews{}, &MessagesAcceptEncryptionParams{}, &MessagesAcceptURLAuthParams{}, &MessagesAddChatUserParams{}, &MessagesAffectedFoundMessages{}, &MessagesAffectedHistory{}, &MessagesAffectedMessages{}, &MessagesAllStickersNotModified{}, &MessagesAllStickersObj{}, &MessagesArchivedStickers{}, &MessagesAvailableEffectsNotModified{}, &MessagesAvailableEffectsObj{}, &MessagesAvailableReactionsNotModified{}, &MessagesAvailableReactionsObj{}, &MessagesBotApp{}, &MessagesBotCallbackAnswer{}, &MessagesBotResults{}, &MessagesChannelMessages{}, &MessagesChatAdminsWithInvites{}, &MessagesChatFull{}, &MessagesChatInviteImporters{}, &MessagesChatsObj{}, &MessagesChatsSlice{}, &MessagesCheckChatInviteParams{}, &MessagesCheckHistoryImportParams{}, &MessagesCheckHistoryImportPeerParams{}, &MessagesCheckQuickReplyShortcutParams{}, &MessagesCheckedHistoryImportPeer{}, &MessagesClearAllDraftsParams{}, &MessagesClearRecentReactionsParams{}, &MessagesClearRecentStickersParams{}, &MessagesCreateChatParams{}, &MessagesDeleteChatParams{}, &MessagesDeleteChatUserParams{}, &MessagesDeleteExportedChatInviteParams{}, &MessagesDeleteFactCheckParams{}, &MessagesDeleteHistoryParams{}, &MessagesDeleteMessagesParams{}, &MessagesDeletePhoneCallHistoryParams{}, &MessagesDeleteQuickReplyMessagesParams{}, &MessagesDeleteQuickReplyShortcutParams{}, &MessagesDeleteRevokedExportedChatInvitesParams{}, &MessagesDeleteSavedHistoryParams{}, &MessagesDeleteScheduledMessagesParams{}, &MessagesDhConfigNotModified{}, &MessagesDhConfigObj{}, &MessagesDialogFilters{}, &MessagesDialogsNotModified{}, &MessagesDialogsObj{}, &MessagesDialogsSlice{}, &MessagesDiscardEncryptionParams{}, &MessagesDiscussionMessage{}, &MessagesEditChatAboutParams{}, &MessagesEditChatAdminParams{}, &MessagesEditChatDefaultBannedRightsParams{}, &MessagesEditChatPhotoParams{}, &MessagesEditChatTitleParams{}, &MessagesEditExportedChatInviteParams{}, &MessagesEditFactCheckParams{}, &MessagesEditInlineBotMessageParams{}, &MessagesEditMessageParams{}, &MessagesEditQuickReplyShortcutParams{}, &MessagesEmojiGroupsNotModified{}, &MessagesEmojiGroupsObj{}, &MessagesExportChatInviteParams{}, &MessagesExportedChatInviteObj{}, &MessagesExportedChatInviteReplaced{}, &MessagesExportedChatInvites{}, &MessagesFaveStickerParams{}, &MessagesFavedStickersNotModified{}, &MessagesFavedStickersObj{}, &MessagesFeaturedStickersNotModified{}, &MessagesFeaturedStickersObj{}, &MessagesForumTopics{}, &MessagesForwardMessageParams{}, &MessagesForwardMessagesParams{}, &MessagesFoundStickerSetsNotModified{}, &MessagesFoundStickerSetsObj{}, &MessagesGetAdminsWithInvitesParams{}, &MessagesGetAllChatsParams{}, &MessagesGetAllDraftsParams{}, &MessagesGetAllStickersParams{}, &MessagesGetArchivedStickersParams{}, &MessagesGetAttachMenuBotParams{}, &MessagesGetAttachMenuBotsParams{}, &MessagesGetAttachedStickersParams{}, &MessagesGetAvailableEffectsParams{}, &MessagesGetAvailableReactionsParams{}, &MessagesGetBotAppParams{}, &MessagesGetBotCallbackAnswerParams{}, &MessagesGetChatInviteImportersParams{}, &MessagesGetChatsParams{}, &MessagesGetCommonChatsParams{}, &MessagesGetCustomEmojiDocumentsParams{}, &MessagesGetDefaultHistoryTtlParams{}, &MessagesGetDefaultTagReactionsParams{}, &MessagesGetDhConfigParams{}, &MessagesGetDialogFiltersParams{}, &MessagesGetDialogUnreadMarksParams{}, &MessagesGetDialogsParams{}, &MessagesGetDiscussionMessageParams{}, &MessagesGetDocumentByHashParams{}, &MessagesGetEmojiGroupsParams{}, &MessagesGetEmojiKeywordsDifferenceParams{}, &MessagesGetEmojiKeywordsLanguagesParams{}, &MessagesGetEmojiKeywordsParams{}, &MessagesGetEmojiProfilePhotoGroupsParams{}, &MessagesGetEmojiStatusGroupsParams{}, &MessagesGetEmojiStickerGroupsParams{}, &MessagesGetEmojiStickersParams{}, &MessagesGetEmojiURLParams{}, &MessagesGetExportedChatInviteParams{}, &MessagesGetExportedChatInvitesParams{}, &MessagesGetExtendedMediaParams{}, &MessagesGetFactCheckParams{}, &MessagesGetFavedStickersParams{}, &MessagesGetFeaturedEmojiStickersParams{}, &MessagesGetFeaturedStickersParams{}, &MessagesGetFullChatParams{}, &MessagesGetGameHighScoresParams{}, &MessagesGetHistoryParams{}, &MessagesGetInlineBotResultsParams{}, &MessagesGetInlineGameHighScoresParams{}, &MessagesGetMaskStickersParams{}, &MessagesGetMessageEditDataParams{}, &MessagesGetMessageReactionsListParams{}, &MessagesGetMessageReadParticipantsParams{}, &MessagesGetMessagesParams{}, &MessagesGetMessagesReactionsParams{}, &MessagesGetMessagesViewsParams{}, &MessagesGetMyStickersParams{}, &MessagesGetOldFeaturedStickersParams{}, &MessagesGetOnlinesParams{}, &MessagesGetOutboxReadDateParams{}, &MessagesGetPaidReactionPrivacyParams{}, &MessagesGetPeerDialogsParams{}, &MessagesGetPeerSettingsParams{}, &MessagesGetPinnedDialogsParams{}, &MessagesGetPinnedSavedDialogsParams{}, &MessagesGetPollResultsParams{}, &MessagesGetPollVotesParams{}, &MessagesGetQuickRepliesParams{}, &MessagesGetQuickReplyMessagesParams{}, &MessagesGetRecentLocationsParams{}, &MessagesGetRecentReactionsParams{}, &MessagesGetRecentStickersParams{}, &MessagesGetRepliesParams{}, &MessagesGetSavedDialogsParams{}, &MessagesGetSavedGifsParams{}, &MessagesGetSavedHistoryParams{}, &MessagesGetSavedReactionTagsParams{}, &MessagesGetScheduledHistoryParams{}, &MessagesGetScheduledMessagesParams{}, &MessagesGetSearchCountersParams{}, &MessagesGetSearchResultsCalendarParams{}, &MessagesGetSearchResultsPositionsParams{}, &MessagesGetSplitRangesParams{}, &MessagesGetStatsURLParams{}, &MessagesGetStickerSetParams{}, &MessagesGetStickersParams{}, &MessagesGetSuggestedDialogFiltersParams{}, &MessagesGetTopReactionsParams{}, &MessagesGetUnreadMentionsParams{}, &MessagesGetUnreadReactionsParams{}, &MessagesGetWebPageParams{}, &MessagesGetWebPagePreviewParams{}, &MessagesGetWebViewResultParams{}, &MessagesHideAllChatJoinRequestsParams{}, &MessagesHideChatJoinRequestParams{}, &MessagesHidePeerSettingsBarParams{}, &MessagesHighScores{}, &MessagesHistoryImport{}, &MessagesHistoryImportParsed{}, &MessagesImportChatInviteParams{}, &MessagesInactiveChats{}, &MessagesInitHistoryImportParams{}, &MessagesInstallStickerSetParams{}, &MessagesInvitedUsers{}, &MessagesMarkDialogUnreadParams{}, &MessagesMessageEditData{}, &MessagesMessageReactionsList{}, &MessagesMessageViews{}, &MessagesMessagesNotModified{}, &MessagesMessagesObj{}, &MessagesMessagesSlice{}, &MessagesMigrateChatParams{}, &MessagesMyStickers{}, &MessagesPeerDialogs{}, &MessagesPeerSettings{}, &MessagesProlongWebViewParams{}, &MessagesQuickRepliesNotModified{}, &MessagesQuickRepliesObj{}, &MessagesRateTranscribedAudioParams{}, &MessagesReactionsNotModified{}, &MessagesReactionsObj{}, &MessagesReadDiscussionParams{}, &MessagesReadEncryptedHistoryParams{}, &MessagesReadFeaturedStickersParams{}, &MessagesReadHistoryParams{}, &MessagesReadMentionsParams{}, &MessagesReadMessageContentsParams{}, &MessagesReadReactionsParams{}, &MessagesReceivedMessagesParams{}, &MessagesReceivedQueueParams{}, &MessagesRecentStickersNotModified{}, &MessagesRecentStickersObj{}, &MessagesReorderPinnedDialogsParams{}, &MessagesReorderPinnedSavedDialogsParams{}, &MessagesReorderQuickRepliesParams{}, &MessagesReorderStickerSetsParams{}, &MessagesReportEncryptedSpamParams{}, &MessagesReportParams{}, &MessagesReportReactionParams{}, &MessagesReportSpamParams{}, &MessagesRequestAppWebViewParams{}, &MessagesRequestEncryptionParams{}, &MessagesRequestMainWebViewParams{}, &MessagesRequestSimpleWebViewParams{}, &MessagesRequestURLAuthParams{}, &MessagesRequestWebViewParams{}, &MessagesSaveDefaultSendAsParams{}, &MessagesSaveDraftParams{}, &MessagesSaveGifParams{}, &MessagesSaveRecentStickerParams{}, &MessagesSavedDialogsNotModified{}, &MessagesSavedDialogsObj{}, &MessagesSavedDialogsSlice{}, &MessagesSavedGifsNotModified{}, &MessagesSavedGifsObj{}, &MessagesSavedReactionTagsNotModified{}, &MessagesSavedReactionTagsObj{}, &MessagesSearchCounter{}, &MessagesSearchCustomEmojiParams{}, &MessagesSearchEmojiStickerSetsParams{}, &MessagesSearchGlobalParams{}, &MessagesSearchParams{}, &MessagesSearchResultsCalendar{}, &MessagesSearchResultsPositions{}, &MessagesSearchSentMediaParams{}, &MessagesSearchStickerSetsParams{}, &MessagesSendBotRequestedPeerParams{}, &MessagesSendEncryptedFileParams{}, &MessagesSendEncryptedMultiMediaParams{}, &MessagesSendEncryptedParams{}, &MessagesSendEncryptedServiceParams{}, &MessagesSendInlineBotResultParams{}, &MessagesSendMediaParams{}, &MessagesSendMessageParams{}, &MessagesSendMultiMediaParams{}, &MessagesSendPaidReactionParams{}, &MessagesSendQuickReplyMessagesParams{}, &MessagesSendReactionParams{}, &MessagesSendScheduledMessagesParams{}, &MessagesSendScreenshotNotificationParams{}, &MessagesSendVoteParams{}, &MessagesSendWebViewDataParams{}, &MessagesSendWebViewResultMessageParams{}, &MessagesSentEncryptedFile{}, &MessagesSentEncryptedMessageObj{}, &MessagesSetBotCallbackAnswerParams{}, &MessagesSetBotPrecheckoutResultsParams{}, &MessagesSetBotShippingResultsParams{}, &MessagesSetChatAvailableReactionsParams{}, &MessagesSetChatThemeParams{}, &MessagesSetChatWallPaperParams{}, &MessagesSetDefaultHistoryTtlParams{}, &MessagesSetDefaultReactionParams{}, &MessagesSetEncryptedTypingParams{}, &MessagesSetGameScoreParams{}, &MessagesSetHistoryTtlParams{}, &MessagesSetInlineBotResultsParams{}, &MessagesSetInlineGameScoreParams{}, &MessagesSetTypingParams{}, &MessagesSetWebViewResultParams{}, &MessagesSponsoredMessagesEmpty{}, &MessagesSponsoredMessagesObj{}, &MessagesStartBotParams{}, &MessagesStartHistoryImportParams{}, &MessagesStickerSetInstallResultArchive{}, &MessagesStickerSetInstallResultSuccess{}, &MessagesStickerSetNotModified{}, &MessagesStickerSetObj{}, &MessagesStickersNotModified{}, &MessagesStickersObj{}, &MessagesToggleBotInAttachMenuParams{}, &MessagesToggleDialogFilterTagsParams{}, &MessagesToggleDialogPinParams{}, &MessagesToggleNoForwardsParams{}, &MessagesTogglePaidReactionPrivacyParams{}, &MessagesTogglePeerTranslationsParams{}, &MessagesToggleSavedDialogPinParams{}, &MessagesToggleStickerSetsParams{}, &MessagesTranscribeAudioParams{}, &MessagesTranscribedAudio{}, &MessagesTranslateResult{}, &MessagesTranslateTextParams{}, &MessagesUninstallStickerSetParams{}, &MessagesUnpinAllMessagesParams{}, &MessagesUpdateDialogFilterParams{}, &MessagesUpdateDialogFiltersOrderParams{}, &MessagesUpdatePinnedMessageParams{}, &MessagesUpdateSavedReactionTagParams{}, &MessagesUploadEncryptedFileParams{}, &MessagesUploadImportedMediaParams{}, &MessagesUploadMediaParams{}, &MessagesVotesList{}, &MessagesWebPage{}, &MessagesWebViewResult{}, &MissingInvitee{}, &MyBoost{}, &NearestDc{}, &NotificationSoundDefault{}, &NotificationSoundLocal{}, &NotificationSoundNone{}, &NotificationSoundRingtone{}, &NotifyBroadcasts{}, &NotifyChats{}, &NotifyForumTopic{}, &NotifyPeerObj{}, &NotifyUsers{}, &OutboxReadDate{}, &Page{}, &PageBlockAnchor{}, &PageBlockAudio{}, &PageBlockAuthorDate{}, &PageBlockBlockquote{}, &PageBlockChannel{}, &PageBlockCollage{}, &PageBlockCover{}, &PageBlockDetails{}, &PageBlockDivider{}, &PageBlockEmbed{}, &PageBlockEmbedPost{}, &PageBlockFooter{}, &PageBlockHeader{}, &PageBlockKicker{}, &PageBlockList{}, &PageBlockMap{}, &PageBlockOrderedList{}, &PageBlockParagraph{}, &PageBlockPhoto{}, &PageBlockPreformatted{}, &PageBlockPullquote{}, &PageBlockRelatedArticles{}, &PageBlockSlideshow{}, &PageBlockSubheader{}, &PageBlockSubtitle{}, &PageBlockTable{}, &PageBlockTitle{}, &PageBlockUnsupported{}, &PageBlockVideo{}, &PageCaption{}, &PageListItemBlocks{}, &PageListItemText{}, &PageListOrderedItemBlocks{}, &PageListOrderedItemText{}, &PageRelatedArticle{}, &PageTableCell{}, &PageTableRow{}, &PasswordKdfAlgoSHA256SHA256Pbkdf2Hmacsha512Iter100000SHA256ModPow{}, &PasswordKdfAlgoUnknown{}, &PaymentCharge{}, &PaymentFormMethod{}, &PaymentRequestedInfo{}, &PaymentSavedCredentialsCard{}, &PaymentsApplyGiftCodeParams{}, &PaymentsAssignAppStoreTransactionParams{}, &PaymentsAssignPlayMarketTransactionParams{}, &PaymentsBankCardData{}, &PaymentsCanPurchasePremiumParams{}, &PaymentsChangeStarsSubscriptionParams{}, &PaymentsCheckGiftCodeParams{}, &PaymentsCheckedGiftCode{}, &PaymentsClearSavedInfoParams{}, &PaymentsConvertStarGiftParams{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsFulfillStarsSubscriptionParams{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarGiftsParams{}, &PaymentsGetStarsGiftOptionsParams{}, &PaymentsGetStarsGiveawayOptionsParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &PaymentsGetStarsSubscriptionsParams{}, &PaymentsGetStarsTopupOptionsParams{}, &PaymentsGetStarsTransactionsByIDParams{}, &PaymentsGetStarsTransactionsParams{}, &PaymentsGetUserStarGiftsParams{}, &PaymentsGiveawayInfoObj{}, &PaymentsGiveawayInfoResults{}, &PaymentsLaunchPrepaidGiveawayParams{}, &PaymentsPaymentFormObj{}, &PaymentsPaymentFormStarGift{}, &PaymentsPaymentFormStars{}, &PaymentsPaymentReceiptObj{}, &PaymentsPaymentReceiptStars{}, &PaymentsPaymentResultObj{}, &PaymentsPaymentVerificationNeeded{}, &PaymentsRefundStarsChargeParams{}, &PaymentsRequestRecurringPaymentParams{}, &PaymentsSaveStarGiftParams{}, &PaymentsSavedInfo{}, &PaymentsSendPaymentFormParams{}, &PaymentsSendStarsFormParams{}, &PaymentsStarGiftsNotModified{}, &PaymentsStarGiftsObj{}, &PaymentsStarsRevenueAdsAccountURL{}, &PaymentsStarsRevenueStats{}, &PaymentsStarsRevenueWithdrawalURL{}, &PaymentsStarsStatus{}, &PaymentsUserStarGifts{}, &PaymentsValidateRequestedInfoParams{}, &PaymentsValidatedRequestedInfo{}, &PeerBlocked{}, &PeerChannel{}, &PeerChat{}, &PeerColor{}, &PeerLocatedObj{}, &PeerNotifySettings{}, &PeerSelfLocated{}, &PeerSettings{}, &PeerStories{}, &PeerUser{}, &PhoneAcceptCallParams{}, &PhoneCallAccepted{}, &PhoneCallDiscarded{}, &PhoneCallEmpty{}, &PhoneCallObj{}, &PhoneCallProtocol{}, &PhoneCallRequested{}, &PhoneCallWaiting{}, &PhoneCheckGroupCallParams{}, &PhoneConfirmCallParams{}, &PhoneConnectionObj{}, &PhoneConnectionWebrtc{}, &PhoneCreateGroupCallParams{}, &PhoneDiscardCallParams{}, &PhoneDiscardGroupCallParams{}, &PhoneEditGroupCallParticipantParams{}, &PhoneEditGroupCallTitleParams{}, &PhoneExportGroupCallInviteParams{}, &PhoneExportedGroupCallInvite{}, &PhoneGetCallConfigParams{}, &PhoneGetGroupCallJoinAsParams{}, &PhoneGetGroupCallParams{}, &PhoneGetGroupCallStreamChannelsParams{}, &PhoneGetGroupCallStreamRtmpURLParams{}, &PhoneGetGroupParticipantsParams{}, &PhoneGroupCall{}, &PhoneGroupCallStreamChannels{}, &PhoneGroupCallStreamRtmpURL{}, &PhoneGroupParticipants{}, &PhoneInviteToGroupCallParams{}, &PhoneJoinAsPeers{}, &PhoneJoinGroupCallParams{}, &PhoneJoinGroupCallPresentationParams{}, &PhoneLeaveGroupCallParams{}, &PhoneLeaveGroupCallPresentationParams{}, &PhonePhoneCall{}, &PhoneReceivedCallParams{}, &PhoneRequestCallParams{}, &PhoneSaveCallDebugParams{}, &PhoneSaveCallLogParams{}, &PhoneSaveDefaultGroupCallJoinAsParams{}, &PhoneSendSignalingDataParams{}, &PhoneSetCallRatingParams{}, &PhoneStartScheduledGroupCallParams{}, &PhoneToggleGroupCallRecordParams{}, &PhoneToggleGroupCallSettingsParams{}, &PhoneToggleGroupCallStartSubscriptionParams{}, &PhotoCachedSize{}, &PhotoEmpty{}, &PhotoObj{}, &PhotoPathSize{}, &PhotoSizeEmpty{}, &PhotoSizeObj{}, &PhotoSizeProgressive{}, &PhotoStrippedSize{}, &PhotosDeletePhotosParams{}, &PhotosGetUserPhotosParams{}, &PhotosPhoto{}, &PhotosPhotosObj{}, &PhotosPhotosSlice{}, &PhotosUpdateProfilePhotoParams{}, &PhotosUploadContactProfilePhotoParams{}, &PhotosUploadProfilePhotoParams{}, &Poll{}, &PollAnswer{}, &PollAnswerVoters{}, &PollResults{}, &PopularContact{}, &PostAddress{}, &PostInteractionCountersMessage{}, &PostInteractionCountersStory{}, &PremiumApplyBoostParams{}, &PremiumBoostsList{}, &PremiumBoostsStatus{}, &PremiumGetBoostsListParams{}, &PremiumGetBoostsStatusParams{}, &PremiumGetMyBoostsParams{}, &PremiumGetUserBoostsParams{}, &PremiumGiftCodeOption{}, &PremiumGiftOption{}, &PremiumMyBoosts{}, &PremiumSubscriptionOption{}, &PrepaidGiveawayObj{}, &PrepaidStarsGiveaway{}, &PrivacyValueAllowAll{}, &PrivacyValueAllowChatParticipants{}, &PrivacyValueAllowCloseFriends{}, &PrivacyValueAllowContacts{}, &PrivacyValueAllowPremium{}, &PrivacyValueAllowUsers{}, &PrivacyValueDisallowAll{}, &PrivacyValueDisallowChatParticipants{}, &PrivacyValueDisallowContacts{}, &PrivacyValueDisallowUsers{}, &PublicForwardMessage{}, &PublicForwardStory{}, &QuickReply{}, &ReactionCount{}, &ReactionCustomEmoji{}, &ReactionEmoji{}, &ReactionEmpty{}, &ReactionPaid{}, &ReactionsNotifySettings{}, &ReadParticipantDate{}, &ReceivedNotifyMessage{}, &RecentMeURLChat{}, &RecentMeURLChatInvite{}, &RecentMeURLStickerSet{}, &RecentMeURLUnknown{}, &RecentMeURLUser{}, &ReplyInlineMarkup{}, &ReplyKeyboardForceReply{}, &ReplyKeyboardHide{}, &ReplyKeyboardMarkup{}, &ReportResultAddComment{}, &ReportResultChooseOption{}, &ReportResultReported{}, &RequestPeerTypeBroadcast{}, &RequestPeerTypeChat{}, &RequestPeerTypeUser{}, &RequestedPeerChannel{}, &RequestedPeerChat{}, &RequestedPeerUser{}, &RestrictionReason{}, &SavedDialog{}, &SavedPhoneContact{}, &SavedReactionTag{}, &SearchResultPosition{}, &SearchResultsCalendarPeriod{}, &SecureCredentialsEncrypted{}, &SecureData{}, &SecureFileEmpty{}, &SecureFileObj{}, &SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000{}, &SecurePasswordKdfAlgoSHA512{}, &SecurePasswordKdfAlgoUnknown{}, &SecurePlainEmail{}, &SecurePlainPhone{}, &SecureRequiredTypeObj{}, &SecureRequiredTypeOneOf{}, &SecureSecretSettings{}, &SecureValue{}, &SecureValueErrorData{}, &SecureValueErrorFile{}, &SecureValueErrorFiles{}, &SecureValueErrorFrontSide{}, &SecureValueErrorObj{}, &SecureValueErrorReverseSide{}, &SecureValueErrorSelfie{}, &SecureValueErrorTranslationFile{}, &SecureValueErrorTranslationFiles{}, &SecureValueHash{}, &SendAsPeer{}, &SendMessageCancelAction{}, &SendMessageChooseContactAction{}, &SendMessageChooseStickerAction{}, &SendMessageEmojiInteraction{}, &SendMessageEmojiInteractionSeen{}, &SendMessageGamePlayAction{}, &SendMessageGeoLocationAction{}, &SendMessageHistoryImportAction{}, &SendMessageRecordAudioAction{}, &SendMessageRecordRoundAction{}, &SendMessageRecordVideoAction{}, &SendMessageTypingAction{}, &SendMessageUploadAudioAction{}, &SendMessageUploadDocumentAction{}, &SendMessageUploadPhotoAction{}, &SendMessageUploadRoundAction{}, &SendMessageUploadVideoAction{}, &ShippingOption{}, &SimpleWebViewResultURL{}, &SmsJob{}, &SmsjobsEligibleToJoin{}, &SmsjobsFinishJobParams{}, &SmsjobsGetSmsJobParams{}, &SmsjobsGetStatusParams{}, &SmsjobsIsEligibleToJoinParams{}, &SmsjobsJoinParams{}, &SmsjobsLeaveParams{}, &SmsjobsStatus{}, &SmsjobsUpdateSettingsParams{}, &SpeakingInGroupCallAction{}, &SponsoredMessage{}, &SponsoredMessageReportOption{}, &StarGift{}, &StarsGiftOption{}, &StarsGiveawayOption{}, &StarsGiveawayWinnersOption{}, &StarsRevenueStatus{}, &StarsSubscription{}, &StarsSubscriptionPricing{}, &StarsTopupOption{}, &StarsTransaction{}, &StarsTransactionPeerAds{}, &StarsTransactionPeerAppStore{}, &StarsTransactionPeerFragment{}, &StarsTransactionPeerObj{}, &StarsTransactionPeerPlayMarket{}, &StarsTransactionPeerPremiumBot{}, &StarsTransactionPeerUnsupported{}, &StatsAbsValueAndPrev{}, &StatsBroadcastRevenueStats{}, &StatsBroadcastRevenueTransactions{}, &StatsBroadcastRevenueWithdrawalURL{}, &StatsBroadcastStats{}, &StatsDateRangeDays{}, &StatsGetBroadcastRevenueStatsParams{}, &StatsGetBroadcastRevenueTransactionsParams{}, &StatsGetBroadcastRevenueWithdrawalURLParams{}, &StatsGetBroadcastStatsParams{}, &StatsGetMegagroupStatsParams{}, &StatsGetMessagePublicForwardsParams{}, &StatsGetMessageStatsParams{}, &StatsGetStoryPublicForwardsParams{}, &StatsGetStoryStatsParams{}, &StatsGraphAsync{}, &StatsGraphError{}, &StatsGraphObj{}, &StatsGroupTopAdmin{}, &StatsGroupTopInviter{}, &StatsGroupTopPoster{}, &StatsLoadAsyncGraphParams{}, &StatsMegagroupStats{}, &StatsMessageStats{}, &StatsPercentValue{}, &StatsPublicForwards{}, &StatsStoryStats{}, &StatsURL{}, &StickerKeyword{}, &StickerPack{}, &StickerSet{}, &StickerSetCoveredObj{}, &StickerSetFullCovered{}, &StickerSetMultiCovered{}, &StickerSetNoCovered{}, &StickersAddStickerToSetParams{}, &StickersChangeStickerParams{}, &StickersChangeStickerPositionParams{}, &StickersCheckShortNameParams{}, &StickersCreateStickerSetParams{}, &StickersDeleteStickerSetParams{}, &StickersRemoveStickerFromSetParams{}, &StickersRenameStickerSetParams{}, &StickersReplaceStickerParams{}, &StickersSetStickerSetThumbParams{}, &StickersSuggestShortNameParams{}, &StickersSuggestedShortName{}, &StoriesActivateStealthModeParams{}, &StoriesAllStoriesNotModified{}, &StoriesAllStoriesObj{}, &StoriesCanSendStoryParams{}, &StoriesDeleteStoriesParams{}, &StoriesEditStoryParams{}, &StoriesExportStoryLinkParams{}, &StoriesFoundStories{}, &StoriesGetAllReadPeerStoriesParams{}, &StoriesGetAllStoriesParams{}, &StoriesGetChatsToSendParams{}, &StoriesGetPeerMaxIDsParams{}, &StoriesGetPeerStoriesParams{}, &StoriesGetPinnedStoriesParams{}, &StoriesGetStoriesArchiveParams{}, &StoriesGetStoriesByIDParams{}, &StoriesGetStoriesViewsParams{}, &StoriesGetStoryReactionsListParams{}, &StoriesGetStoryViewsListParams{}, &StoriesIncrementStoryViewsParams{}, &StoriesPeerStories{}, &StoriesReadStoriesParams{}, &StoriesReportParams{}, &StoriesSearchPostsParams{}, &StoriesSendReactionParams{}, &StoriesSendStoryParams{}, &StoriesStealthMode{}, &StoriesStories{}, &StoriesStoryReactionsList{}, &StoriesStoryViews{}, &StoriesStoryViewsList{}, &StoriesToggleAllStoriesHiddenParams{}, &StoriesTogglePeerStoriesHiddenParams{}, &StoriesTogglePinnedParams{}, &StoriesTogglePinnedToTopParams{}, &StoryFwdHeader{}, &StoryItemDeleted{}, &StoryItemObj{}, &StoryItemSkipped{}, &StoryReactionObj{}, &StoryReactionPublicForward{}, &StoryReactionPublicRepost{}, &StoryViewObj{}, &StoryViewPublicForward{}, &StoryViewPublicRepost{}, &StoryViews{}, &TextAnchor{}, &TextBold{}, &TextConcat{}, &TextEmail{}, &TextEmpty{}, &TextFixed{}, &TextImage{}, &TextItalic{}, &TextMarked{}, &TextPhone{}, &TextPlain{}, &TextStrike{}, &TextSubscript{}, &TextSuperscript{}, &TextURL{}, &TextUnderline{}, &TextWithEntities{}, &Theme{}, &ThemeSettings{}, &Timezone{}, &TopPeer{}, &TopPeerCategoryPeers{}, &URLAuthResultAccepted{}, &URLAuthResultDefault{}, &URLAuthResultRequest{}, &UpdateAttachMenuBots{}, &UpdateAutoSaveSettings{}, &UpdateBotBusinessConnect{}, &UpdateBotCallbackQuery{}, &UpdateBotChatBoost{}, &UpdateBotChatInviteRequester{}, &UpdateBotCommands{}, &UpdateBotDeleteBusinessMessage{}, &UpdateBotEditBusinessMessage{}, &UpdateBotInlineQuery{}, &UpdateBotInlineSend{}, &UpdateBotMenuButton{}, &UpdateBotMessageReaction{}, &UpdateBotMessageReactions{}, &UpdateBotNewBusinessMessage{}, &UpdateBotPrecheckoutQuery{}, &UpdateBotPurchasedPaidMedia{}, &UpdateBotShippingQuery{}, &UpdateBotStopped{}, &UpdateBotWebhookJson{}, &UpdateBotWebhookJsonQuery{}, &UpdateBroadcastRevenueTransactions{}, &UpdateBusinessBotCallbackQuery{}, &UpdateChannel{}, &UpdateChannelAvailableMessages{}, &UpdateChannelMessageForwards{}, &UpdateChannelMessageViews{}, &UpdateChannelParticipant{}, &UpdateChannelPinnedTopic{}, &UpdateChannelPinnedTopics{}, &UpdateChannelReadMessagesContents{}, &UpdateChannelTooLong{}, &UpdateChannelUserTyping{}, &UpdateChannelViewForumAsMessages{}, &UpdateChannelWebPage{}, &UpdateChat{}, &UpdateChatDefaultBannedRights{}, &UpdateChatParticipant{}, &UpdateChatParticipantAdd{}, &UpdateChatParticipantAdmin{}, &UpdateChatParticipantDelete{}, &UpdateChatParticipants{}, &UpdateChatUserTyping{}, &UpdateConfig{}, &UpdateContactsReset{}, &UpdateDcOptions{}, &UpdateDeleteChannelMessages{}, &UpdateDeleteMessages{}, &UpdateDeleteQuickReply{}, &UpdateDeleteQuickReplyMessages{}, &UpdateDeleteScheduledMessages{}, &UpdateDialogFilter{}, &UpdateDialogFilterOrder{}, &UpdateDialogFilters{}, &UpdateDialogPinned{}, &UpdateDialogUnreadMark{}, &UpdateDraftMessage{}, &UpdateEditChannelMessage{}, &UpdateEditMessage{}, &UpdateEncryptedChatTyping{}, &UpdateEncryptedMessagesRead{}, &UpdateEncryption{}, &UpdateFavedStickers{}, &UpdateFolderPeers{}, &UpdateGeoLiveViewed{}, &UpdateGroupCall{}, &UpdateGroupCallConnection{}, &UpdateGroupCallParticipants{}, &UpdateInlineBotCallbackQuery{}, &UpdateLangPack{}, &UpdateLangPackTooLong{}, &UpdateLoginToken{}, &UpdateMessageExtendedMedia{}, &UpdateMessageID{}, &UpdateMessagePoll{}, &UpdateMessagePollVote{}, &UpdateMessageReactions{}, &UpdateMoveStickerSetToTop{}, &UpdateNewAuthorization{}, &UpdateNewChannelMessage{}, &UpdateNewEncryptedMessage{}, &UpdateNewMessage{}, &UpdateNewQuickReply{}, &UpdateNewScheduledMessage{}, &UpdateNewStickerSet{}, &UpdateNewStoryReaction{}, &UpdateNotifySettings{}, &UpdatePaidReactionPrivacy{}, &UpdatePeerBlocked{}, &UpdatePeerHistoryTtl{}, &UpdatePeerLocated{}, &UpdatePeerSettings{}, &UpdatePeerWallpaper{}, &UpdatePendingJoinRequests{}, &UpdatePhoneCall{}, &UpdatePhoneCallSignalingData{}, &UpdatePinnedChannelMessages{}, &UpdatePinnedDialogs{}, &UpdatePinnedMessages{}, &UpdatePinnedSavedDialogs{}, &UpdatePrivacy{}, &UpdatePtsChanged{}, &UpdateQuickReplies{}, &UpdateQuickReplyMessage{}, &UpdateReadChannelDiscussionInbox{}, &UpdateReadChannelDiscussionOutbox{}, &UpdateReadChannelInbox{}, &UpdateReadChannelOutbox{}, &UpdateReadFeaturedEmojiStickers{}, &UpdateReadFeaturedStickers{}, &UpdateReadHistoryInbox{}, &UpdateReadHistoryOutbox{}, &UpdateReadMessagesContents{}, &UpdateReadStories{}, &UpdateRecentEmojiStatuses{}, &UpdateRecentReactions{}, &UpdateRecentStickers{}, &UpdateSavedDialogPinned{}, &UpdateSavedGifs{}, &UpdateSavedReactionTags{}, &UpdateSavedRingtones{}, &UpdateSentStoryReaction{}, &UpdateServiceNotification{}, &UpdateShort{}, &UpdateShortChatMessage{}, &UpdateShortMessage{}, &UpdateShortSentMessage{}, &UpdateSmsJob{}, &UpdateStarsBalance{}, &UpdateStarsRevenueStatus{}, &UpdateStickerSets{}, &UpdateStickerSetsOrder{}, &UpdateStoriesStealthMode{}, &UpdateStory{}, &UpdateStoryID{}, &UpdateTheme{}, &UpdateTranscribeAudio{}, &UpdateTranscribedAudio{}, &UpdateUser{}, &UpdateUserEmojiStatus{}, &UpdateUserName{}, &UpdateUserPhone{}, &UpdateUserPhoto{}, &UpdateUserStatus{}, &UpdateUserTyping{}, &UpdateWebPage{}, &UpdateWebViewResultSent{}, &UpdatesChannelDifferenceEmpty{}, &UpdatesChannelDifferenceObj{}, &UpdatesChannelDifferenceTooLong{}, &UpdatesCombined{}, &UpdatesDifferenceEmpty{}, &UpdatesDifferenceObj{}, &UpdatesDifferenceSlice{}, &UpdatesDifferenceTooLong{}, &UpdatesGetChannelDifferenceParams{}, &UpdatesGetDifferenceParams{}, &UpdatesGetStateParams{}, &UpdatesObj{}, &UpdatesState{}, &UpdatesTooLong{}, &UploadCdnFileObj{}, &UploadCdnFileReuploadNeeded{}, &UploadFileCdnRedirect{}, &UploadFileObj{}, &UploadGetCdnFileHashesParams{}, &UploadGetCdnFileParams{}, &UploadGetFileHashesParams{}, &UploadGetFileParams{}, &UploadGetWebFileParams{}, &UploadReuploadCdnFileParams{}, &UploadSaveBigFilePartParams{}, &UploadSaveFilePartParams{}, &UploadWebFile{}, &UserEmpty{}, &UserFull{}, &UserObj{}, &UserProfilePhotoEmpty{}, &UserProfilePhotoObj{}, &UserStarGift{}, &UserStatusEmpty{}, &UserStatusHidden{}, &UserStatusLastMonth{}, &UserStatusLastWeek{}, &UserStatusOffline{}, &UserStatusOnline{}, &UserStatusRecently{}, &Username{}, &UsersGetFullUserParams{}, &UsersGetIsPremiumRequiredToContactParams{}, &UsersGetUsersParams{}, &UsersSetSecureValueErrorsParams{}, &UsersUserFull{}, &VideoSizeEmojiMarkup{}, &VideoSizeObj{}, &VideoSizeStickerMarkup{}, &WallPaperNoFile{}, &WallPaperObj{}, &WallPaperSettings{}, &WebAuthorization{}, &WebDocumentNoProxy{}, &WebDocumentObj{}, &WebPageAttributeStickerSet{}, &WebPageAttributeStory{}, &WebPageAttributeTheme{}, &WebPageEmpty{}, &WebPageNotModified{}, &WebPageObj{}, &WebPagePending{}, &WebPageURLPending{}, &WebViewMessageSent{}, &WebViewResultURL{}) + tl.RegisterObjects(&AccountAcceptAuthorizationParams{}, &AccountAuthorizationForm{}, &AccountAuthorizations{}, &AccountAutoDownloadSettings{}, &AccountAutoSaveSettings{}, &AccountBusinessChatLinks{}, &AccountCancelPasswordEmailParams{}, &AccountChangeAuthorizationSettingsParams{}, &AccountChangePhoneParams{}, &AccountCheckUsernameParams{}, &AccountClearRecentEmojiStatusesParams{}, &AccountConfirmPasswordEmailParams{}, &AccountConfirmPhoneParams{}, &AccountConnectedBots{}, &AccountContentSettings{}, &AccountCreateBusinessChatLinkParams{}, &AccountCreateThemeParams{}, &AccountDaysTtl{}, &AccountDeclinePasswordResetParams{}, &AccountDeleteAccountParams{}, &AccountDeleteAutoSaveExceptionsParams{}, &AccountDeleteBusinessChatLinkParams{}, &AccountDeleteSecureValueParams{}, &AccountDisablePeerConnectedBotParams{}, &AccountEditBusinessChatLinkParams{}, &AccountEmailVerifiedLogin{}, &AccountEmailVerifiedObj{}, &AccountEmojiStatusesNotModified{}, &AccountEmojiStatusesObj{}, &AccountFinishTakeoutSessionParams{}, &AccountGetAccountTtlParams{}, &AccountGetAllSecureValuesParams{}, &AccountGetAuthorizationFormParams{}, &AccountGetAuthorizationsParams{}, &AccountGetAutoDownloadSettingsParams{}, &AccountGetAutoSaveSettingsParams{}, &AccountGetBotBusinessConnectionParams{}, &AccountGetBusinessChatLinksParams{}, &AccountGetChannelDefaultEmojiStatusesParams{}, &AccountGetChannelRestrictedStatusEmojisParams{}, &AccountGetChatThemesParams{}, &AccountGetConnectedBotsParams{}, &AccountGetContactSignUpNotificationParams{}, &AccountGetContentSettingsParams{}, &AccountGetDefaultBackgroundEmojisParams{}, &AccountGetDefaultEmojiStatusesParams{}, &AccountGetDefaultGroupPhotoEmojisParams{}, &AccountGetDefaultProfilePhotoEmojisParams{}, &AccountGetGlobalPrivacySettingsParams{}, &AccountGetMultiWallPapersParams{}, &AccountGetNotifyExceptionsParams{}, &AccountGetNotifySettingsParams{}, &AccountGetPasswordParams{}, &AccountGetPasswordSettingsParams{}, &AccountGetPrivacyParams{}, &AccountGetReactionsNotifySettingsParams{}, &AccountGetRecentEmojiStatusesParams{}, &AccountGetSavedRingtonesParams{}, &AccountGetSecureValueParams{}, &AccountGetThemeParams{}, &AccountGetThemesParams{}, &AccountGetTmpPasswordParams{}, &AccountGetWallPaperParams{}, &AccountGetWallPapersParams{}, &AccountGetWebAuthorizationsParams{}, &AccountInitTakeoutSessionParams{}, &AccountInstallThemeParams{}, &AccountInstallWallPaperParams{}, &AccountInvalidateSignInCodesParams{}, &AccountPassword{}, &AccountPasswordInputSettings{}, &AccountPasswordSettings{}, &AccountPrivacyRules{}, &AccountRegisterDeviceParams{}, &AccountReorderUsernamesParams{}, &AccountReportPeerParams{}, &AccountReportProfilePhotoParams{}, &AccountResendPasswordEmailParams{}, &AccountResetAuthorizationParams{}, &AccountResetNotifySettingsParams{}, &AccountResetPasswordFailedWait{}, &AccountResetPasswordOk{}, &AccountResetPasswordParams{}, &AccountResetPasswordRequestedWait{}, &AccountResetWallPapersParams{}, &AccountResetWebAuthorizationParams{}, &AccountResetWebAuthorizationsParams{}, &AccountResolveBusinessChatLinkParams{}, &AccountResolvedBusinessChatLinks{}, &AccountSaveAutoDownloadSettingsParams{}, &AccountSaveAutoSaveSettingsParams{}, &AccountSaveRingtoneParams{}, &AccountSaveSecureValueParams{}, &AccountSaveThemeParams{}, &AccountSaveWallPaperParams{}, &AccountSavedRingtoneConverted{}, &AccountSavedRingtoneObj{}, &AccountSavedRingtonesNotModified{}, &AccountSavedRingtonesObj{}, &AccountSendChangePhoneCodeParams{}, &AccountSendConfirmPhoneCodeParams{}, &AccountSendVerifyEmailCodeParams{}, &AccountSendVerifyPhoneCodeParams{}, &AccountSentEmailCode{}, &AccountSetAccountTtlParams{}, &AccountSetAuthorizationTtlParams{}, &AccountSetContactSignUpNotificationParams{}, &AccountSetContentSettingsParams{}, &AccountSetGlobalPrivacySettingsParams{}, &AccountSetPrivacyParams{}, &AccountSetReactionsNotifySettingsParams{}, &AccountTakeout{}, &AccountThemesNotModified{}, &AccountThemesObj{}, &AccountTmpPassword{}, &AccountToggleConnectedBotPausedParams{}, &AccountToggleSponsoredMessagesParams{}, &AccountToggleUsernameParams{}, &AccountUnregisterDeviceParams{}, &AccountUpdateBirthdayParams{}, &AccountUpdateBusinessAwayMessageParams{}, &AccountUpdateBusinessGreetingMessageParams{}, &AccountUpdateBusinessIntroParams{}, &AccountUpdateBusinessLocationParams{}, &AccountUpdateBusinessWorkHoursParams{}, &AccountUpdateColorParams{}, &AccountUpdateConnectedBotParams{}, &AccountUpdateDeviceLockedParams{}, &AccountUpdateEmojiStatusParams{}, &AccountUpdateNotifySettingsParams{}, &AccountUpdatePasswordSettingsParams{}, &AccountUpdatePersonalChannelParams{}, &AccountUpdateProfileParams{}, &AccountUpdateStatusParams{}, &AccountUpdateThemeParams{}, &AccountUpdateUsernameParams{}, &AccountUploadRingtoneParams{}, &AccountUploadThemeParams{}, &AccountUploadWallPaperParams{}, &AccountVerifyEmailParams{}, &AccountVerifyPhoneParams{}, &AccountWallPapersNotModified{}, &AccountWallPapersObj{}, &AccountWebAuthorizations{}, &AppWebViewResultURL{}, &AttachMenuBot{}, &AttachMenuBotIcon{}, &AttachMenuBotIconColor{}, &AttachMenuBotsBot{}, &AttachMenuBotsNotModified{}, &AttachMenuBotsObj{}, &AuthAcceptLoginTokenParams{}, &AuthAuthorizationObj{}, &AuthAuthorizationSignUpRequired{}, &AuthBindTempAuthKeyParams{}, &AuthCancelCodeParams{}, &AuthCheckPasswordParams{}, &AuthCheckRecoveryPasswordParams{}, &AuthDropTempAuthKeysParams{}, &AuthExportAuthorizationParams{}, &AuthExportLoginTokenParams{}, &AuthExportedAuthorization{}, &AuthImportAuthorizationParams{}, &AuthImportBotAuthorizationParams{}, &AuthImportLoginTokenParams{}, &AuthImportWebTokenAuthorizationParams{}, &AuthLogOutParams{}, &AuthLoggedOut{}, &AuthLoginTokenMigrateTo{}, &AuthLoginTokenObj{}, &AuthLoginTokenSuccess{}, &AuthPasswordRecovery{}, &AuthRecoverPasswordParams{}, &AuthReportMissingCodeParams{}, &AuthRequestFirebaseSmsParams{}, &AuthRequestPasswordRecoveryParams{}, &AuthResendCodeParams{}, &AuthResetAuthorizationsParams{}, &AuthResetLoginEmailParams{}, &AuthSendCodeParams{}, &AuthSentCodeObj{}, &AuthSentCodeSuccess{}, &AuthSentCodeTypeApp{}, &AuthSentCodeTypeCall{}, &AuthSentCodeTypeEmailCode{}, &AuthSentCodeTypeFirebaseSms{}, &AuthSentCodeTypeFlashCall{}, &AuthSentCodeTypeFragmentSms{}, &AuthSentCodeTypeMissedCall{}, &AuthSentCodeTypeSetUpEmailRequired{}, &AuthSentCodeTypeSms{}, &AuthSentCodeTypeSmsPhrase{}, &AuthSentCodeTypeSmsWord{}, &AuthSignInParams{}, &AuthSignUpParams{}, &Authorization{}, &AutoDownloadSettings{}, &AutoSaveException{}, &AutoSaveSettings{}, &AvailableEffect{}, &AvailableReaction{}, &BankCardOpenURL{}, &Birthday{}, &Boost{}, &BotAppNotModified{}, &BotAppObj{}, &BotAppSettings{}, &BotBusinessConnection{}, &BotCommand{}, &BotCommandScopeChatAdmins{}, &BotCommandScopeChats{}, &BotCommandScopeDefault{}, &BotCommandScopePeer{}, &BotCommandScopePeerAdmins{}, &BotCommandScopePeerUser{}, &BotCommandScopeUsers{}, &BotInfo{}, &BotInlineMediaResult{}, &BotInlineMessageMediaAuto{}, &BotInlineMessageMediaContact{}, &BotInlineMessageMediaGeo{}, &BotInlineMessageMediaInvoice{}, &BotInlineMessageMediaVenue{}, &BotInlineMessageMediaWebPage{}, &BotInlineMessageText{}, &BotInlineResultObj{}, &BotMenuButtonCommands{}, &BotMenuButtonDefault{}, &BotMenuButtonObj{}, &BotPreviewMedia{}, &BotsAddPreviewMediaParams{}, &BotsAllowSendMessageParams{}, &BotsAnswerWebhookJsonQueryParams{}, &BotsBotInfo{}, &BotsCanSendMessageParams{}, &BotsDeletePreviewMediaParams{}, &BotsEditPreviewMediaParams{}, &BotsGetBotCommandsParams{}, &BotsGetBotInfoParams{}, &BotsGetBotMenuButtonParams{}, &BotsGetPopularAppBotsParams{}, &BotsGetPreviewInfoParams{}, &BotsGetPreviewMediasParams{}, &BotsInvokeWebViewCustomMethodParams{}, &BotsPopularAppBots{}, &BotsPreviewInfo{}, &BotsReorderPreviewMediasParams{}, &BotsReorderUsernamesParams{}, &BotsResetBotCommandsParams{}, &BotsSendCustomRequestParams{}, &BotsSetBotBroadcastDefaultAdminRightsParams{}, &BotsSetBotCommandsParams{}, &BotsSetBotGroupDefaultAdminRightsParams{}, &BotsSetBotInfoParams{}, &BotsSetBotMenuButtonParams{}, &BotsToggleUsernameParams{}, &BroadcastRevenueBalances{}, &BroadcastRevenueTransactionProceeds{}, &BroadcastRevenueTransactionRefund{}, &BroadcastRevenueTransactionWithdrawal{}, &BusinessAwayMessage{}, &BusinessAwayMessageScheduleAlways{}, &BusinessAwayMessageScheduleCustom{}, &BusinessAwayMessageScheduleOutsideWorkHours{}, &BusinessBotRecipients{}, &BusinessChatLink{}, &BusinessGreetingMessage{}, &BusinessIntro{}, &BusinessLocation{}, &BusinessRecipients{}, &BusinessWeeklyOpen{}, &BusinessWorkHours{}, &CdnConfig{}, &CdnPublicKey{}, &Channel{}, &ChannelAdminLogEvent{}, &ChannelAdminLogEventActionChangeAbout{}, &ChannelAdminLogEventActionChangeAvailableReactions{}, &ChannelAdminLogEventActionChangeBackgroundEmoji{}, &ChannelAdminLogEventActionChangeColor{}, &ChannelAdminLogEventActionChangeEmojiStatus{}, &ChannelAdminLogEventActionChangeEmojiStickerSet{}, &ChannelAdminLogEventActionChangeHistoryTtl{}, &ChannelAdminLogEventActionChangeLinkedChat{}, &ChannelAdminLogEventActionChangeLocation{}, &ChannelAdminLogEventActionChangePeerColor{}, &ChannelAdminLogEventActionChangePhoto{}, &ChannelAdminLogEventActionChangeProfilePeerColor{}, &ChannelAdminLogEventActionChangeStickerSet{}, &ChannelAdminLogEventActionChangeTheme{}, &ChannelAdminLogEventActionChangeTitle{}, &ChannelAdminLogEventActionChangeUsername{}, &ChannelAdminLogEventActionChangeUsernames{}, &ChannelAdminLogEventActionChangeWallpaper{}, &ChannelAdminLogEventActionCreateTopic{}, &ChannelAdminLogEventActionDefaultBannedRights{}, &ChannelAdminLogEventActionDeleteMessage{}, &ChannelAdminLogEventActionDeleteTopic{}, &ChannelAdminLogEventActionDiscardGroupCall{}, &ChannelAdminLogEventActionEditMessage{}, &ChannelAdminLogEventActionEditTopic{}, &ChannelAdminLogEventActionExportedInviteDelete{}, &ChannelAdminLogEventActionExportedInviteEdit{}, &ChannelAdminLogEventActionExportedInviteRevoke{}, &ChannelAdminLogEventActionParticipantInvite{}, &ChannelAdminLogEventActionParticipantJoin{}, &ChannelAdminLogEventActionParticipantJoinByInvite{}, &ChannelAdminLogEventActionParticipantJoinByRequest{}, &ChannelAdminLogEventActionParticipantLeave{}, &ChannelAdminLogEventActionParticipantMute{}, &ChannelAdminLogEventActionParticipantSubExtend{}, &ChannelAdminLogEventActionParticipantToggleAdmin{}, &ChannelAdminLogEventActionParticipantToggleBan{}, &ChannelAdminLogEventActionParticipantUnmute{}, &ChannelAdminLogEventActionParticipantVolume{}, &ChannelAdminLogEventActionPinTopic{}, &ChannelAdminLogEventActionSendMessage{}, &ChannelAdminLogEventActionStartGroupCall{}, &ChannelAdminLogEventActionStopPoll{}, &ChannelAdminLogEventActionToggleAntiSpam{}, &ChannelAdminLogEventActionToggleForum{}, &ChannelAdminLogEventActionToggleGroupCallSetting{}, &ChannelAdminLogEventActionToggleInvites{}, &ChannelAdminLogEventActionToggleNoForwards{}, &ChannelAdminLogEventActionTogglePreHistoryHidden{}, &ChannelAdminLogEventActionToggleSignatureProfiles{}, &ChannelAdminLogEventActionToggleSignatures{}, &ChannelAdminLogEventActionToggleSlowMode{}, &ChannelAdminLogEventActionUpdatePinned{}, &ChannelAdminLogEventsFilter{}, &ChannelForbidden{}, &ChannelFull{}, &ChannelLocationEmpty{}, &ChannelLocationObj{}, &ChannelMessagesFilterEmpty{}, &ChannelMessagesFilterObj{}, &ChannelParticipantAdmin{}, &ChannelParticipantBanned{}, &ChannelParticipantCreator{}, &ChannelParticipantLeft{}, &ChannelParticipantObj{}, &ChannelParticipantSelf{}, &ChannelParticipantsAdmins{}, &ChannelParticipantsBanned{}, &ChannelParticipantsBots{}, &ChannelParticipantsContacts{}, &ChannelParticipantsKicked{}, &ChannelParticipantsMentions{}, &ChannelParticipantsRecent{}, &ChannelParticipantsSearch{}, &ChannelsAdminLogResults{}, &ChannelsChannelParticipant{}, &ChannelsChannelParticipantsNotModified{}, &ChannelsChannelParticipantsObj{}, &ChannelsCheckUsernameParams{}, &ChannelsConvertToGigagroupParams{}, &ChannelsCreateChannelParams{}, &ChannelsCreateForumTopicParams{}, &ChannelsDeactivateAllUsernamesParams{}, &ChannelsDeleteChannelParams{}, &ChannelsDeleteHistoryParams{}, &ChannelsDeleteMessagesParams{}, &ChannelsDeleteParticipantHistoryParams{}, &ChannelsDeleteTopicHistoryParams{}, &ChannelsEditAdminParams{}, &ChannelsEditBannedParams{}, &ChannelsEditCreatorParams{}, &ChannelsEditForumTopicParams{}, &ChannelsEditLocationParams{}, &ChannelsEditPhotoParams{}, &ChannelsEditTitleParams{}, &ChannelsExportMessageLinkParams{}, &ChannelsGetAdminLogParams{}, &ChannelsGetAdminedPublicChannelsParams{}, &ChannelsGetChannelRecommendationsParams{}, &ChannelsGetChannelsParams{}, &ChannelsGetForumTopicsByIDParams{}, &ChannelsGetForumTopicsParams{}, &ChannelsGetFullChannelParams{}, &ChannelsGetGroupsForDiscussionParams{}, &ChannelsGetInactiveChannelsParams{}, &ChannelsGetLeftChannelsParams{}, &ChannelsGetMessagesParams{}, &ChannelsGetParticipantParams{}, &ChannelsGetParticipantsParams{}, &ChannelsGetSendAsParams{}, &ChannelsInviteToChannelParams{}, &ChannelsJoinChannelParams{}, &ChannelsLeaveChannelParams{}, &ChannelsReadHistoryParams{}, &ChannelsReadMessageContentsParams{}, &ChannelsReorderPinnedForumTopicsParams{}, &ChannelsReorderUsernamesParams{}, &ChannelsReportAntiSpamFalsePositiveParams{}, &ChannelsReportSpamParams{}, &ChannelsRestrictSponsoredMessagesParams{}, &ChannelsSearchPostsParams{}, &ChannelsSendAsPeers{}, &ChannelsSetBoostsToUnblockRestrictionsParams{}, &ChannelsSetDiscussionGroupParams{}, &ChannelsSetEmojiStickersParams{}, &ChannelsSetStickersParams{}, &ChannelsSponsoredMessageReportResultAdsHidden{}, &ChannelsSponsoredMessageReportResultChooseOption{}, &ChannelsSponsoredMessageReportResultReported{}, &ChannelsToggleAntiSpamParams{}, &ChannelsToggleForumParams{}, &ChannelsToggleJoinRequestParams{}, &ChannelsToggleJoinToSendParams{}, &ChannelsToggleParticipantsHiddenParams{}, &ChannelsTogglePreHistoryHiddenParams{}, &ChannelsToggleSignaturesParams{}, &ChannelsToggleSlowModeParams{}, &ChannelsToggleUsernameParams{}, &ChannelsToggleViewForumAsMessagesParams{}, &ChannelsUpdateColorParams{}, &ChannelsUpdateEmojiStatusParams{}, &ChannelsUpdatePinnedForumTopicParams{}, &ChannelsUpdateUsernameParams{}, &ChatAdminRights{}, &ChatAdminWithInvites{}, &ChatBannedRights{}, &ChatChannelParticipant{}, &ChatEmpty{}, &ChatForbidden{}, &ChatFullObj{}, &ChatInviteAlready{}, &ChatInviteExported{}, &ChatInviteImporter{}, &ChatInviteObj{}, &ChatInvitePeek{}, &ChatInvitePublicJoinRequests{}, &ChatObj{}, &ChatOnlines{}, &ChatParticipantAdmin{}, &ChatParticipantCreator{}, &ChatParticipantObj{}, &ChatParticipantsForbidden{}, &ChatParticipantsObj{}, &ChatPhotoEmpty{}, &ChatPhotoObj{}, &ChatReactionsAll{}, &ChatReactionsNone{}, &ChatReactionsSome{}, &ChatlistsChatlistInviteAlready{}, &ChatlistsChatlistInviteObj{}, &ChatlistsChatlistUpdates{}, &ChatlistsCheckChatlistInviteParams{}, &ChatlistsDeleteExportedInviteParams{}, &ChatlistsEditExportedInviteParams{}, &ChatlistsExportChatlistInviteParams{}, &ChatlistsExportedChatlistInvite{}, &ChatlistsExportedInvites{}, &ChatlistsGetChatlistUpdatesParams{}, &ChatlistsGetExportedInvitesParams{}, &ChatlistsGetLeaveChatlistSuggestionsParams{}, &ChatlistsHideChatlistUpdatesParams{}, &ChatlistsJoinChatlistInviteParams{}, &ChatlistsJoinChatlistUpdatesParams{}, &ChatlistsLeaveChatlistParams{}, &CodeSettings{}, &Config{}, &ConnectedBot{}, &Contact{}, &ContactBirthday{}, &ContactStatus{}, &ContactsAcceptContactParams{}, &ContactsAddContactParams{}, &ContactsBlockFromRepliesParams{}, &ContactsBlockParams{}, &ContactsBlockedObj{}, &ContactsBlockedSlice{}, &ContactsContactBirthdays{}, &ContactsContactsNotModified{}, &ContactsContactsObj{}, &ContactsDeleteByPhonesParams{}, &ContactsDeleteContactsParams{}, &ContactsEditCloseFriendsParams{}, &ContactsExportCardParams{}, &ContactsExportContactTokenParams{}, &ContactsFound{}, &ContactsGetBirthdaysParams{}, &ContactsGetBlockedParams{}, &ContactsGetContactIDsParams{}, &ContactsGetContactsParams{}, &ContactsGetLocatedParams{}, &ContactsGetSavedParams{}, &ContactsGetStatusesParams{}, &ContactsGetTopPeersParams{}, &ContactsImportCardParams{}, &ContactsImportContactTokenParams{}, &ContactsImportContactsParams{}, &ContactsImportedContacts{}, &ContactsResetSavedParams{}, &ContactsResetTopPeerRatingParams{}, &ContactsResolvePhoneParams{}, &ContactsResolveUsernameParams{}, &ContactsResolvedPeer{}, &ContactsSearchParams{}, &ContactsSetBlockedParams{}, &ContactsToggleTopPeersParams{}, &ContactsTopPeersDisabled{}, &ContactsTopPeersNotModified{}, &ContactsTopPeersObj{}, &ContactsUnblockParams{}, &DataJson{}, &DcOption{}, &DefaultHistoryTtl{}, &DialogFilterChatlist{}, &DialogFilterDefault{}, &DialogFilterObj{}, &DialogFilterSuggested{}, &DialogFolder{}, &DialogObj{}, &DialogPeerFolder{}, &DialogPeerObj{}, &DocumentAttributeAnimated{}, &DocumentAttributeAudio{}, &DocumentAttributeCustomEmoji{}, &DocumentAttributeFilename{}, &DocumentAttributeHasStickers{}, &DocumentAttributeImageSize{}, &DocumentAttributeSticker{}, &DocumentAttributeVideo{}, &DocumentEmpty{}, &DocumentObj{}, &DraftMessageEmpty{}, &DraftMessageObj{}, &EmailVerificationApple{}, &EmailVerificationCode{}, &EmailVerificationGoogle{}, &EmailVerifyPurposeLoginChange{}, &EmailVerifyPurposeLoginSetup{}, &EmailVerifyPurposePassport{}, &EmojiGroupGreeting{}, &EmojiGroupObj{}, &EmojiGroupPremium{}, &EmojiKeywordDeleted{}, &EmojiKeywordObj{}, &EmojiKeywordsDifference{}, &EmojiLanguage{}, &EmojiListNotModified{}, &EmojiListObj{}, &EmojiStatusEmpty{}, &EmojiStatusObj{}, &EmojiStatusUntil{}, &EmojiURL{}, &EncryptedChatDiscarded{}, &EncryptedChatEmpty{}, &EncryptedChatObj{}, &EncryptedChatRequested{}, &EncryptedChatWaiting{}, &EncryptedFileEmpty{}, &EncryptedFileObj{}, &EncryptedMessageObj{}, &EncryptedMessageService{}, &Error{}, &ExportedChatlistInvite{}, &ExportedContactToken{}, &ExportedMessageLink{}, &ExportedStoryLink{}, &FactCheck{}, &FileHash{}, &FileLocationUnavailable{}, &Folder{}, &FolderPeer{}, &FoldersDeleteFolderParams{}, &FoldersEditPeerFoldersParams{}, &ForumTopicDeleted{}, &ForumTopicObj{}, &FoundStory{}, &FragmentCollectibleInfo{}, &FragmentGetCollectibleInfoParams{}, &Game{}, &GeoPointAddress{}, &GeoPointEmpty{}, &GeoPointObj{}, &GlobalPrivacySettings{}, &GroupCallDiscarded{}, &GroupCallObj{}, &GroupCallParticipant{}, &GroupCallParticipantVideo{}, &GroupCallParticipantVideoSourceGroup{}, &GroupCallStreamChannel{}, &HelpAcceptTermsOfServiceParams{}, &HelpAppConfigNotModified{}, &HelpAppConfigObj{}, &HelpAppUpdateObj{}, &HelpCountriesListNotModified{}, &HelpCountriesListObj{}, &HelpCountry{}, &HelpCountryCode{}, &HelpDeepLinkInfoEmpty{}, &HelpDeepLinkInfoObj{}, &HelpDismissSuggestionParams{}, &HelpEditUserInfoParams{}, &HelpGetAppChangelogParams{}, &HelpGetAppConfigParams{}, &HelpGetAppUpdateParams{}, &HelpGetCdnConfigParams{}, &HelpGetConfigParams{}, &HelpGetCountriesListParams{}, &HelpGetDeepLinkInfoParams{}, &HelpGetInviteTextParams{}, &HelpGetNearestDcParams{}, &HelpGetPassportConfigParams{}, &HelpGetPeerColorsParams{}, &HelpGetPeerProfileColorsParams{}, &HelpGetPremiumPromoParams{}, &HelpGetPromoDataParams{}, &HelpGetRecentMeUrlsParams{}, &HelpGetSupportNameParams{}, &HelpGetSupportParams{}, &HelpGetTermsOfServiceUpdateParams{}, &HelpGetTimezonesListParams{}, &HelpGetUserInfoParams{}, &HelpHidePromoDataParams{}, &HelpInviteText{}, &HelpNoAppUpdate{}, &HelpPassportConfigNotModified{}, &HelpPassportConfigObj{}, &HelpPeerColorOption{}, &HelpPeerColorProfileSet{}, &HelpPeerColorSetObj{}, &HelpPeerColorsNotModified{}, &HelpPeerColorsObj{}, &HelpPremiumPromo{}, &HelpPromoDataEmpty{}, &HelpPromoDataObj{}, &HelpRecentMeUrls{}, &HelpSaveAppLogParams{}, &HelpSetBotUpdatesStatusParams{}, &HelpSupport{}, &HelpSupportName{}, &HelpTermsOfService{}, &HelpTermsOfServiceUpdateEmpty{}, &HelpTermsOfServiceUpdateObj{}, &HelpTimezonesListNotModified{}, &HelpTimezonesListObj{}, &HelpUserInfoEmpty{}, &HelpUserInfoObj{}, &HighScore{}, &ImportedContact{}, &InlineBotSwitchPm{}, &InlineBotWebView{}, &InputAppEvent{}, &InputBotAppID{}, &InputBotAppShortName{}, &InputBotInlineMessageGame{}, &InputBotInlineMessageID64{}, &InputBotInlineMessageIDObj{}, &InputBotInlineMessageMediaAuto{}, &InputBotInlineMessageMediaContact{}, &InputBotInlineMessageMediaGeo{}, &InputBotInlineMessageMediaInvoice{}, &InputBotInlineMessageMediaVenue{}, &InputBotInlineMessageMediaWebPage{}, &InputBotInlineMessageText{}, &InputBotInlineResultDocument{}, &InputBotInlineResultGame{}, &InputBotInlineResultObj{}, &InputBotInlineResultPhoto{}, &InputBusinessAwayMessage{}, &InputBusinessBotRecipients{}, &InputBusinessChatLink{}, &InputBusinessGreetingMessage{}, &InputBusinessIntro{}, &InputBusinessRecipients{}, &InputChannelEmpty{}, &InputChannelFromMessage{}, &InputChannelObj{}, &InputChatPhotoEmpty{}, &InputChatPhotoObj{}, &InputChatUploadedPhoto{}, &InputChatlistDialogFilter{}, &InputCheckPasswordEmpty{}, &InputCheckPasswordSRPObj{}, &InputClientProxy{}, &InputCollectiblePhone{}, &InputCollectibleUsername{}, &InputDialogPeerFolder{}, &InputDialogPeerObj{}, &InputDocumentEmpty{}, &InputDocumentFileLocation{}, &InputDocumentObj{}, &InputEncryptedChat{}, &InputEncryptedFileBigUploaded{}, &InputEncryptedFileEmpty{}, &InputEncryptedFileLocation{}, &InputEncryptedFileObj{}, &InputEncryptedFileUploaded{}, &InputFileBig{}, &InputFileLocationObj{}, &InputFileObj{}, &InputFileStoryDocument{}, &InputFolderPeer{}, &InputGameID{}, &InputGameShortName{}, &InputGeoPointEmpty{}, &InputGeoPointObj{}, &InputGroupCall{}, &InputGroupCallStream{}, &InputInvoiceChatInviteSubscription{}, &InputInvoiceMessage{}, &InputInvoicePremiumGiftCode{}, &InputInvoiceSlug{}, &InputInvoiceStarGift{}, &InputInvoiceStars{}, &InputKeyboardButtonRequestPeer{}, &InputKeyboardButtonURLAuth{}, &InputKeyboardButtonUserProfile{}, &InputMediaAreaChannelPost{}, &InputMediaAreaVenue{}, &InputMediaContact{}, &InputMediaDice{}, &InputMediaDocument{}, &InputMediaDocumentExternal{}, &InputMediaEmpty{}, &InputMediaGame{}, &InputMediaGeoLive{}, &InputMediaGeoPoint{}, &InputMediaInvoice{}, &InputMediaPaidMedia{}, &InputMediaPhoto{}, &InputMediaPhotoExternal{}, &InputMediaPoll{}, &InputMediaStory{}, &InputMediaUploadedDocument{}, &InputMediaUploadedPhoto{}, &InputMediaVenue{}, &InputMediaWebPage{}, &InputMessageCallbackQuery{}, &InputMessageEntityMentionName{}, &InputMessageID{}, &InputMessagePinned{}, &InputMessageReplyTo{}, &InputMessagesFilterChatPhotos{}, &InputMessagesFilterContacts{}, &InputMessagesFilterDocument{}, &InputMessagesFilterEmpty{}, &InputMessagesFilterGeo{}, &InputMessagesFilterGif{}, &InputMessagesFilterMusic{}, &InputMessagesFilterMyMentions{}, &InputMessagesFilterPhoneCalls{}, &InputMessagesFilterPhotoVideo{}, &InputMessagesFilterPhotoVideoDocuments{}, &InputMessagesFilterPhotos{}, &InputMessagesFilterPinned{}, &InputMessagesFilterRoundVideo{}, &InputMessagesFilterRoundVoice{}, &InputMessagesFilterURL{}, &InputMessagesFilterVideo{}, &InputMessagesFilterVoice{}, &InputNotifyBroadcasts{}, &InputNotifyChats{}, &InputNotifyForumTopic{}, &InputNotifyPeerObj{}, &InputNotifyUsers{}, &InputPaymentCredentialsApplePay{}, &InputPaymentCredentialsGooglePay{}, &InputPaymentCredentialsObj{}, &InputPaymentCredentialsSaved{}, &InputPeerChannel{}, &InputPeerChannelFromMessage{}, &InputPeerChat{}, &InputPeerEmpty{}, &InputPeerNotifySettings{}, &InputPeerPhotoFileLocation{}, &InputPeerSelf{}, &InputPeerUser{}, &InputPeerUserFromMessage{}, &InputPhoneCall{}, &InputPhoneContact{}, &InputPhotoEmpty{}, &InputPhotoFileLocation{}, &InputPhotoLegacyFileLocation{}, &InputPhotoObj{}, &InputPrivacyValueAllowAll{}, &InputPrivacyValueAllowBots{}, &InputPrivacyValueAllowChatParticipants{}, &InputPrivacyValueAllowCloseFriends{}, &InputPrivacyValueAllowContacts{}, &InputPrivacyValueAllowPremium{}, &InputPrivacyValueAllowUsers{}, &InputPrivacyValueDisallowAll{}, &InputPrivacyValueDisallowBots{}, &InputPrivacyValueDisallowChatParticipants{}, &InputPrivacyValueDisallowContacts{}, &InputPrivacyValueDisallowUsers{}, &InputQuickReplyShortcutID{}, &InputQuickReplyShortcutObj{}, &InputReplyToMessage{}, &InputReplyToStory{}, &InputSecureFileLocation{}, &InputSecureFileObj{}, &InputSecureFileUploaded{}, &InputSecureValue{}, &InputSingleMedia{}, &InputStarsTransaction{}, &InputStickerSetAnimatedEmoji{}, &InputStickerSetAnimatedEmojiAnimations{}, &InputStickerSetDice{}, &InputStickerSetEmojiChannelDefaultStatuses{}, &InputStickerSetEmojiDefaultStatuses{}, &InputStickerSetEmojiDefaultTopicIcons{}, &InputStickerSetEmojiGenericAnimations{}, &InputStickerSetEmpty{}, &InputStickerSetID{}, &InputStickerSetItem{}, &InputStickerSetPremiumGifts{}, &InputStickerSetShortName{}, &InputStickerSetThumb{}, &InputStickeredMediaDocument{}, &InputStickeredMediaPhoto{}, &InputStorePaymentGiftPremium{}, &InputStorePaymentPremiumGiftCode{}, &InputStorePaymentPremiumGiveaway{}, &InputStorePaymentPremiumSubscription{}, &InputStorePaymentStarsGift{}, &InputStorePaymentStarsGiveaway{}, &InputStorePaymentStarsTopup{}, &InputTakeoutFileLocation{}, &InputThemeObj{}, &InputThemeSettings{}, &InputThemeSlug{}, &InputUserEmpty{}, &InputUserFromMessage{}, &InputUserObj{}, &InputUserSelf{}, &InputWallPaperNoFile{}, &InputWallPaperObj{}, &InputWallPaperSlug{}, &InputWebDocument{}, &InputWebFileAudioAlbumThumbLocation{}, &InputWebFileGeoPointLocation{}, &InputWebFileLocationObj{}, &Invoice{}, &JsonArray{}, &JsonBool{}, &JsonNull{}, &JsonNumber{}, &JsonObject{}, &JsonObjectValue{}, &JsonString{}, &KeyboardButtonBuy{}, &KeyboardButtonCallback{}, &KeyboardButtonCopy{}, &KeyboardButtonGame{}, &KeyboardButtonObj{}, &KeyboardButtonRequestGeoLocation{}, &KeyboardButtonRequestPeer{}, &KeyboardButtonRequestPhone{}, &KeyboardButtonRequestPoll{}, &KeyboardButtonRow{}, &KeyboardButtonSimpleWebView{}, &KeyboardButtonSwitchInline{}, &KeyboardButtonURL{}, &KeyboardButtonURLAuth{}, &KeyboardButtonUserProfile{}, &KeyboardButtonWebView{}, &LabeledPrice{}, &LangPackDifference{}, &LangPackLanguage{}, &LangPackStringDeleted{}, &LangPackStringObj{}, &LangPackStringPluralized{}, &LangpackGetDifferenceParams{}, &LangpackGetLangPackParams{}, &LangpackGetLanguageParams{}, &LangpackGetLanguagesParams{}, &LangpackGetStringsParams{}, &MaskCoords{}, &MediaAreaChannelPost{}, &MediaAreaCoordinates{}, &MediaAreaGeoPoint{}, &MediaAreaSuggestedReaction{}, &MediaAreaURL{}, &MediaAreaVenue{}, &MediaAreaWeather{}, &MessageActionAttachMenuBotAllowed{}, &MessageActionBoostApply{}, &MessageActionBotAllowed{}, &MessageActionChannelCreate{}, &MessageActionChannelMigrateFrom{}, &MessageActionChatAddUser{}, &MessageActionChatCreate{}, &MessageActionChatDeletePhoto{}, &MessageActionChatDeleteUser{}, &MessageActionChatEditPhoto{}, &MessageActionChatEditTitle{}, &MessageActionChatJoinedByLink{}, &MessageActionChatJoinedByRequest{}, &MessageActionChatMigrateTo{}, &MessageActionContactSignUp{}, &MessageActionCreatedBroadcastList{}, &MessageActionCustomAction{}, &MessageActionEmpty{}, &MessageActionGameScore{}, &MessageActionGeoProximityReached{}, &MessageActionGiftCode{}, &MessageActionGiftPremium{}, &MessageActionGiftStars{}, &MessageActionGiveawayLaunch{}, &MessageActionGiveawayResults{}, &MessageActionGroupCall{}, &MessageActionGroupCallScheduled{}, &MessageActionHistoryClear{}, &MessageActionInviteToGroupCall{}, &MessageActionLoginUnknownLocation{}, &MessageActionPaymentRefunded{}, &MessageActionPaymentSent{}, &MessageActionPaymentSentMe{}, &MessageActionPhoneCall{}, &MessageActionPhoneNumberRequest{}, &MessageActionPinMessage{}, &MessageActionPrizeStars{}, &MessageActionRequestedPeer{}, &MessageActionRequestedPeerSentMe{}, &MessageActionScreenshotTaken{}, &MessageActionSecureValuesSent{}, &MessageActionSecureValuesSentMe{}, &MessageActionSetChatTheme{}, &MessageActionSetChatWallPaper{}, &MessageActionSetMessagesTtl{}, &MessageActionSetSameChatWallPaper{}, &MessageActionStarGift{}, &MessageActionSuggestProfilePhoto{}, &MessageActionTopicCreate{}, &MessageActionTopicEdit{}, &MessageActionTtlChange{}, &MessageActionUserJoined{}, &MessageActionUserUpdatedPhoto{}, &MessageActionWebViewDataSent{}, &MessageActionWebViewDataSentMe{}, &MessageEmpty{}, &MessageEntityBankCard{}, &MessageEntityBlockquote{}, &MessageEntityBold{}, &MessageEntityBotCommand{}, &MessageEntityCashtag{}, &MessageEntityCode{}, &MessageEntityCustomEmoji{}, &MessageEntityEmail{}, &MessageEntityHashtag{}, &MessageEntityItalic{}, &MessageEntityMention{}, &MessageEntityMentionName{}, &MessageEntityPhone{}, &MessageEntityPre{}, &MessageEntitySpoiler{}, &MessageEntityStrike{}, &MessageEntityTextURL{}, &MessageEntityURL{}, &MessageEntityUnderline{}, &MessageEntityUnknown{}, &MessageExtendedMediaObj{}, &MessageExtendedMediaPreview{}, &MessageFwdHeader{}, &MessageMediaContact{}, &MessageMediaDice{}, &MessageMediaDocument{}, &MessageMediaEmpty{}, &MessageMediaGame{}, &MessageMediaGeo{}, &MessageMediaGeoLive{}, &MessageMediaGiveaway{}, &MessageMediaGiveawayResults{}, &MessageMediaInvoice{}, &MessageMediaPaidMedia{}, &MessageMediaPhoto{}, &MessageMediaPoll{}, &MessageMediaStory{}, &MessageMediaUnsupported{}, &MessageMediaVenue{}, &MessageMediaWebPage{}, &MessageObj{}, &MessagePeerReaction{}, &MessagePeerVoteInputOption{}, &MessagePeerVoteMultiple{}, &MessagePeerVoteObj{}, &MessageRange{}, &MessageReactions{}, &MessageReactor{}, &MessageReplies{}, &MessageReplyHeaderObj{}, &MessageReplyStoryHeader{}, &MessageReportOption{}, &MessageService{}, &MessageViews{}, &MessagesAcceptEncryptionParams{}, &MessagesAcceptURLAuthParams{}, &MessagesAddChatUserParams{}, &MessagesAffectedFoundMessages{}, &MessagesAffectedHistory{}, &MessagesAffectedMessages{}, &MessagesAllStickersNotModified{}, &MessagesAllStickersObj{}, &MessagesArchivedStickers{}, &MessagesAvailableEffectsNotModified{}, &MessagesAvailableEffectsObj{}, &MessagesAvailableReactionsNotModified{}, &MessagesAvailableReactionsObj{}, &MessagesBotApp{}, &MessagesBotCallbackAnswer{}, &MessagesBotResults{}, &MessagesChannelMessages{}, &MessagesChatAdminsWithInvites{}, &MessagesChatFull{}, &MessagesChatInviteImporters{}, &MessagesChatsObj{}, &MessagesChatsSlice{}, &MessagesCheckChatInviteParams{}, &MessagesCheckDownloadFileParamsParams{}, &MessagesCheckHistoryImportParams{}, &MessagesCheckHistoryImportPeerParams{}, &MessagesCheckQuickReplyShortcutParams{}, &MessagesCheckedHistoryImportPeer{}, &MessagesClearAllDraftsParams{}, &MessagesClearRecentReactionsParams{}, &MessagesClearRecentStickersParams{}, &MessagesClickSponsoredMessageParams{}, &MessagesCreateChatParams{}, &MessagesDeleteChatParams{}, &MessagesDeleteChatUserParams{}, &MessagesDeleteExportedChatInviteParams{}, &MessagesDeleteFactCheckParams{}, &MessagesDeleteHistoryParams{}, &MessagesDeleteMessagesParams{}, &MessagesDeletePhoneCallHistoryParams{}, &MessagesDeleteQuickReplyMessagesParams{}, &MessagesDeleteQuickReplyShortcutParams{}, &MessagesDeleteRevokedExportedChatInvitesParams{}, &MessagesDeleteSavedHistoryParams{}, &MessagesDeleteScheduledMessagesParams{}, &MessagesDhConfigNotModified{}, &MessagesDhConfigObj{}, &MessagesDialogFilters{}, &MessagesDialogsNotModified{}, &MessagesDialogsObj{}, &MessagesDialogsSlice{}, &MessagesDiscardEncryptionParams{}, &MessagesDiscussionMessage{}, &MessagesEditChatAboutParams{}, &MessagesEditChatAdminParams{}, &MessagesEditChatDefaultBannedRightsParams{}, &MessagesEditChatPhotoParams{}, &MessagesEditChatTitleParams{}, &MessagesEditExportedChatInviteParams{}, &MessagesEditFactCheckParams{}, &MessagesEditInlineBotMessageParams{}, &MessagesEditMessageParams{}, &MessagesEditQuickReplyShortcutParams{}, &MessagesEmojiGroupsNotModified{}, &MessagesEmojiGroupsObj{}, &MessagesExportChatInviteParams{}, &MessagesExportedChatInviteObj{}, &MessagesExportedChatInviteReplaced{}, &MessagesExportedChatInvites{}, &MessagesFaveStickerParams{}, &MessagesFavedStickersNotModified{}, &MessagesFavedStickersObj{}, &MessagesFeaturedStickersNotModified{}, &MessagesFeaturedStickersObj{}, &MessagesForumTopics{}, &MessagesForwardMessageParams{}, &MessagesForwardMessagesParams{}, &MessagesFoundStickerSetsNotModified{}, &MessagesFoundStickerSetsObj{}, &MessagesGetAdminsWithInvitesParams{}, &MessagesGetAllChatsParams{}, &MessagesGetAllDraftsParams{}, &MessagesGetAllStickersParams{}, &MessagesGetArchivedStickersParams{}, &MessagesGetAttachMenuBotParams{}, &MessagesGetAttachMenuBotsParams{}, &MessagesGetAttachedStickersParams{}, &MessagesGetAvailableEffectsParams{}, &MessagesGetAvailableReactionsParams{}, &MessagesGetBotAppParams{}, &MessagesGetBotCallbackAnswerParams{}, &MessagesGetChatInviteImportersParams{}, &MessagesGetChatsParams{}, &MessagesGetCommonChatsParams{}, &MessagesGetCustomEmojiDocumentsParams{}, &MessagesGetDefaultHistoryTtlParams{}, &MessagesGetDefaultTagReactionsParams{}, &MessagesGetDhConfigParams{}, &MessagesGetDialogFiltersParams{}, &MessagesGetDialogUnreadMarksParams{}, &MessagesGetDialogsParams{}, &MessagesGetDiscussionMessageParams{}, &MessagesGetDocumentByHashParams{}, &MessagesGetEmojiGroupsParams{}, &MessagesGetEmojiKeywordsDifferenceParams{}, &MessagesGetEmojiKeywordsLanguagesParams{}, &MessagesGetEmojiKeywordsParams{}, &MessagesGetEmojiProfilePhotoGroupsParams{}, &MessagesGetEmojiStatusGroupsParams{}, &MessagesGetEmojiStickerGroupsParams{}, &MessagesGetEmojiStickersParams{}, &MessagesGetEmojiURLParams{}, &MessagesGetExportedChatInviteParams{}, &MessagesGetExportedChatInvitesParams{}, &MessagesGetExtendedMediaParams{}, &MessagesGetFactCheckParams{}, &MessagesGetFavedStickersParams{}, &MessagesGetFeaturedEmojiStickersParams{}, &MessagesGetFeaturedStickersParams{}, &MessagesGetFullChatParams{}, &MessagesGetGameHighScoresParams{}, &MessagesGetHistoryParams{}, &MessagesGetInlineBotResultsParams{}, &MessagesGetInlineGameHighScoresParams{}, &MessagesGetMaskStickersParams{}, &MessagesGetMessageEditDataParams{}, &MessagesGetMessageReactionsListParams{}, &MessagesGetMessageReadParticipantsParams{}, &MessagesGetMessagesParams{}, &MessagesGetMessagesReactionsParams{}, &MessagesGetMessagesViewsParams{}, &MessagesGetMyStickersParams{}, &MessagesGetOldFeaturedStickersParams{}, &MessagesGetOnlinesParams{}, &MessagesGetOutboxReadDateParams{}, &MessagesGetPaidReactionPrivacyParams{}, &MessagesGetPeerDialogsParams{}, &MessagesGetPeerSettingsParams{}, &MessagesGetPinnedDialogsParams{}, &MessagesGetPinnedSavedDialogsParams{}, &MessagesGetPollResultsParams{}, &MessagesGetPollVotesParams{}, &MessagesGetPreparedInlineMessageParams{}, &MessagesGetQuickRepliesParams{}, &MessagesGetQuickReplyMessagesParams{}, &MessagesGetRecentLocationsParams{}, &MessagesGetRecentReactionsParams{}, &MessagesGetRecentStickersParams{}, &MessagesGetRepliesParams{}, &MessagesGetSavedDialogsParams{}, &MessagesGetSavedGifsParams{}, &MessagesGetSavedHistoryParams{}, &MessagesGetSavedReactionTagsParams{}, &MessagesGetScheduledHistoryParams{}, &MessagesGetScheduledMessagesParams{}, &MessagesGetSearchCountersParams{}, &MessagesGetSearchResultsCalendarParams{}, &MessagesGetSearchResultsPositionsParams{}, &MessagesGetSplitRangesParams{}, &MessagesGetSponsoredMessagesParams{}, &MessagesGetStatsURLParams{}, &MessagesGetStickerSetParams{}, &MessagesGetStickersParams{}, &MessagesGetSuggestedDialogFiltersParams{}, &MessagesGetTopReactionsParams{}, &MessagesGetUnreadMentionsParams{}, &MessagesGetUnreadReactionsParams{}, &MessagesGetWebPageParams{}, &MessagesGetWebPagePreviewParams{}, &MessagesGetWebViewResultParams{}, &MessagesHideAllChatJoinRequestsParams{}, &MessagesHideChatJoinRequestParams{}, &MessagesHidePeerSettingsBarParams{}, &MessagesHighScores{}, &MessagesHistoryImport{}, &MessagesHistoryImportParsed{}, &MessagesImportChatInviteParams{}, &MessagesInactiveChats{}, &MessagesInitHistoryImportParams{}, &MessagesInstallStickerSetParams{}, &MessagesInvitedUsers{}, &MessagesMarkDialogUnreadParams{}, &MessagesMessageEditData{}, &MessagesMessageReactionsList{}, &MessagesMessageViews{}, &MessagesMessagesNotModified{}, &MessagesMessagesObj{}, &MessagesMessagesSlice{}, &MessagesMigrateChatParams{}, &MessagesMyStickers{}, &MessagesPeerDialogs{}, &MessagesPeerSettings{}, &MessagesPreparedInlineMessage{}, &MessagesProlongWebViewParams{}, &MessagesQuickRepliesNotModified{}, &MessagesQuickRepliesObj{}, &MessagesRateTranscribedAudioParams{}, &MessagesReactionsNotModified{}, &MessagesReactionsObj{}, &MessagesReadDiscussionParams{}, &MessagesReadEncryptedHistoryParams{}, &MessagesReadFeaturedStickersParams{}, &MessagesReadHistoryParams{}, &MessagesReadMentionsParams{}, &MessagesReadMessageContentsParams{}, &MessagesReadReactionsParams{}, &MessagesReceivedMessagesParams{}, &MessagesReceivedQueueParams{}, &MessagesRecentStickersNotModified{}, &MessagesRecentStickersObj{}, &MessagesReorderPinnedDialogsParams{}, &MessagesReorderPinnedSavedDialogsParams{}, &MessagesReorderQuickRepliesParams{}, &MessagesReorderStickerSetsParams{}, &MessagesReportEncryptedSpamParams{}, &MessagesReportParams{}, &MessagesReportReactionParams{}, &MessagesReportSpamParams{}, &MessagesReportSponsoredMessageParams{}, &MessagesRequestAppWebViewParams{}, &MessagesRequestEncryptionParams{}, &MessagesRequestMainWebViewParams{}, &MessagesRequestSimpleWebViewParams{}, &MessagesRequestURLAuthParams{}, &MessagesRequestWebViewParams{}, &MessagesSaveDefaultSendAsParams{}, &MessagesSaveDraftParams{}, &MessagesSaveGifParams{}, &MessagesSaveRecentStickerParams{}, &MessagesSavedDialogsNotModified{}, &MessagesSavedDialogsObj{}, &MessagesSavedDialogsSlice{}, &MessagesSavedGifsNotModified{}, &MessagesSavedGifsObj{}, &MessagesSavedReactionTagsNotModified{}, &MessagesSavedReactionTagsObj{}, &MessagesSearchCounter{}, &MessagesSearchCustomEmojiParams{}, &MessagesSearchEmojiStickerSetsParams{}, &MessagesSearchGlobalParams{}, &MessagesSearchParams{}, &MessagesSearchResultsCalendar{}, &MessagesSearchResultsPositions{}, &MessagesSearchSentMediaParams{}, &MessagesSearchStickerSetsParams{}, &MessagesSendBotRequestedPeerParams{}, &MessagesSendEncryptedFileParams{}, &MessagesSendEncryptedMultiMediaParams{}, &MessagesSendEncryptedParams{}, &MessagesSendEncryptedServiceParams{}, &MessagesSendInlineBotResultParams{}, &MessagesSendMediaParams{}, &MessagesSendMessageParams{}, &MessagesSendMultiMediaParams{}, &MessagesSendPaidReactionParams{}, &MessagesSendQuickReplyMessagesParams{}, &MessagesSendReactionParams{}, &MessagesSendScheduledMessagesParams{}, &MessagesSendScreenshotNotificationParams{}, &MessagesSendVoteParams{}, &MessagesSendWebViewDataParams{}, &MessagesSendWebViewResultMessageParams{}, &MessagesSentEncryptedFile{}, &MessagesSentEncryptedMessageObj{}, &MessagesSetBotCallbackAnswerParams{}, &MessagesSetBotPrecheckoutResultsParams{}, &MessagesSetBotShippingResultsParams{}, &MessagesSetChatAvailableReactionsParams{}, &MessagesSetChatThemeParams{}, &MessagesSetChatWallPaperParams{}, &MessagesSetDefaultHistoryTtlParams{}, &MessagesSetDefaultReactionParams{}, &MessagesSetEncryptedTypingParams{}, &MessagesSetGameScoreParams{}, &MessagesSetHistoryTtlParams{}, &MessagesSetInlineBotResultsParams{}, &MessagesSetInlineGameScoreParams{}, &MessagesSetTypingParams{}, &MessagesSetWebViewResultParams{}, &MessagesSponsoredMessagesEmpty{}, &MessagesSponsoredMessagesObj{}, &MessagesStartBotParams{}, &MessagesStartHistoryImportParams{}, &MessagesStickerSetInstallResultArchive{}, &MessagesStickerSetInstallResultSuccess{}, &MessagesStickerSetNotModified{}, &MessagesStickerSetObj{}, &MessagesStickersNotModified{}, &MessagesStickersObj{}, &MessagesToggleBotInAttachMenuParams{}, &MessagesToggleDialogFilterTagsParams{}, &MessagesToggleDialogPinParams{}, &MessagesToggleNoForwardsParams{}, &MessagesTogglePaidReactionPrivacyParams{}, &MessagesTogglePeerTranslationsParams{}, &MessagesToggleSavedDialogPinParams{}, &MessagesToggleStickerSetsParams{}, &MessagesToggleUserEmojiStatusPermissionParams{}, &MessagesTranscribeAudioParams{}, &MessagesTranscribedAudio{}, &MessagesTranslateResult{}, &MessagesTranslateTextParams{}, &MessagesUninstallStickerSetParams{}, &MessagesUnpinAllMessagesParams{}, &MessagesUpdateDialogFilterParams{}, &MessagesUpdateDialogFiltersOrderParams{}, &MessagesUpdatePinnedMessageParams{}, &MessagesUpdateSavedReactionTagParams{}, &MessagesUploadEncryptedFileParams{}, &MessagesUploadImportedMediaParams{}, &MessagesUploadMediaParams{}, &MessagesViewSponsoredMessageParams{}, &MessagesVotesList{}, &MessagesWebPage{}, &MessagesWebViewResult{}, &MissingInvitee{}, &MyBoost{}, &NearestDc{}, &NotificationSoundDefault{}, &NotificationSoundLocal{}, &NotificationSoundNone{}, &NotificationSoundRingtone{}, &NotifyBroadcasts{}, &NotifyChats{}, &NotifyForumTopic{}, &NotifyPeerObj{}, &NotifyUsers{}, &OutboxReadDate{}, &Page{}, &PageBlockAnchor{}, &PageBlockAudio{}, &PageBlockAuthorDate{}, &PageBlockBlockquote{}, &PageBlockChannel{}, &PageBlockCollage{}, &PageBlockCover{}, &PageBlockDetails{}, &PageBlockDivider{}, &PageBlockEmbed{}, &PageBlockEmbedPost{}, &PageBlockFooter{}, &PageBlockHeader{}, &PageBlockKicker{}, &PageBlockList{}, &PageBlockMap{}, &PageBlockOrderedList{}, &PageBlockParagraph{}, &PageBlockPhoto{}, &PageBlockPreformatted{}, &PageBlockPullquote{}, &PageBlockRelatedArticles{}, &PageBlockSlideshow{}, &PageBlockSubheader{}, &PageBlockSubtitle{}, &PageBlockTable{}, &PageBlockTitle{}, &PageBlockUnsupported{}, &PageBlockVideo{}, &PageCaption{}, &PageListItemBlocks{}, &PageListItemText{}, &PageListOrderedItemBlocks{}, &PageListOrderedItemText{}, &PageRelatedArticle{}, &PageTableCell{}, &PageTableRow{}, &PasswordKdfAlgoSHA256SHA256Pbkdf2Hmacsha512Iter100000SHA256ModPow{}, &PasswordKdfAlgoUnknown{}, &PaymentCharge{}, &PaymentFormMethod{}, &PaymentRequestedInfo{}, &PaymentSavedCredentialsCard{}, &PaymentsApplyGiftCodeParams{}, &PaymentsAssignAppStoreTransactionParams{}, &PaymentsAssignPlayMarketTransactionParams{}, &PaymentsBankCardData{}, &PaymentsCanPurchasePremiumParams{}, &PaymentsChangeStarsSubscriptionParams{}, &PaymentsCheckGiftCodeParams{}, &PaymentsCheckedGiftCode{}, &PaymentsClearSavedInfoParams{}, &PaymentsConvertStarGiftParams{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsFulfillStarsSubscriptionParams{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarGiftsParams{}, &PaymentsGetStarsGiftOptionsParams{}, &PaymentsGetStarsGiveawayOptionsParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &PaymentsGetStarsSubscriptionsParams{}, &PaymentsGetStarsTopupOptionsParams{}, &PaymentsGetStarsTransactionsByIDParams{}, &PaymentsGetStarsTransactionsParams{}, &PaymentsGetUserStarGiftsParams{}, &PaymentsGiveawayInfoObj{}, &PaymentsGiveawayInfoResults{}, &PaymentsLaunchPrepaidGiveawayParams{}, &PaymentsPaymentFormObj{}, &PaymentsPaymentFormStarGift{}, &PaymentsPaymentFormStars{}, &PaymentsPaymentReceiptObj{}, &PaymentsPaymentReceiptStars{}, &PaymentsPaymentResultObj{}, &PaymentsPaymentVerificationNeeded{}, &PaymentsRefundStarsChargeParams{}, &PaymentsRequestRecurringPaymentParams{}, &PaymentsSaveStarGiftParams{}, &PaymentsSavedInfo{}, &PaymentsSendPaymentFormParams{}, &PaymentsSendStarsFormParams{}, &PaymentsStarGiftsNotModified{}, &PaymentsStarGiftsObj{}, &PaymentsStarsRevenueAdsAccountURL{}, &PaymentsStarsRevenueStats{}, &PaymentsStarsRevenueWithdrawalURL{}, &PaymentsStarsStatus{}, &PaymentsUserStarGifts{}, &PaymentsValidateRequestedInfoParams{}, &PaymentsValidatedRequestedInfo{}, &PeerBlocked{}, &PeerChannel{}, &PeerChat{}, &PeerColor{}, &PeerLocatedObj{}, &PeerNotifySettings{}, &PeerSelfLocated{}, &PeerSettings{}, &PeerStories{}, &PeerUser{}, &PhoneAcceptCallParams{}, &PhoneCallAccepted{}, &PhoneCallDiscarded{}, &PhoneCallEmpty{}, &PhoneCallObj{}, &PhoneCallProtocol{}, &PhoneCallRequested{}, &PhoneCallWaiting{}, &PhoneCheckGroupCallParams{}, &PhoneConfirmCallParams{}, &PhoneConnectionObj{}, &PhoneConnectionWebrtc{}, &PhoneCreateGroupCallParams{}, &PhoneDiscardCallParams{}, &PhoneDiscardGroupCallParams{}, &PhoneEditGroupCallParticipantParams{}, &PhoneEditGroupCallTitleParams{}, &PhoneExportGroupCallInviteParams{}, &PhoneExportedGroupCallInvite{}, &PhoneGetCallConfigParams{}, &PhoneGetGroupCallJoinAsParams{}, &PhoneGetGroupCallParams{}, &PhoneGetGroupCallStreamChannelsParams{}, &PhoneGetGroupCallStreamRtmpURLParams{}, &PhoneGetGroupParticipantsParams{}, &PhoneGroupCall{}, &PhoneGroupCallStreamChannels{}, &PhoneGroupCallStreamRtmpURL{}, &PhoneGroupParticipants{}, &PhoneInviteToGroupCallParams{}, &PhoneJoinAsPeers{}, &PhoneJoinGroupCallParams{}, &PhoneJoinGroupCallPresentationParams{}, &PhoneLeaveGroupCallParams{}, &PhoneLeaveGroupCallPresentationParams{}, &PhonePhoneCall{}, &PhoneReceivedCallParams{}, &PhoneRequestCallParams{}, &PhoneSaveCallDebugParams{}, &PhoneSaveCallLogParams{}, &PhoneSaveDefaultGroupCallJoinAsParams{}, &PhoneSendSignalingDataParams{}, &PhoneSetCallRatingParams{}, &PhoneStartScheduledGroupCallParams{}, &PhoneToggleGroupCallRecordParams{}, &PhoneToggleGroupCallSettingsParams{}, &PhoneToggleGroupCallStartSubscriptionParams{}, &PhotoCachedSize{}, &PhotoEmpty{}, &PhotoObj{}, &PhotoPathSize{}, &PhotoSizeEmpty{}, &PhotoSizeObj{}, &PhotoSizeProgressive{}, &PhotoStrippedSize{}, &PhotosDeletePhotosParams{}, &PhotosGetUserPhotosParams{}, &PhotosPhoto{}, &PhotosPhotosObj{}, &PhotosPhotosSlice{}, &PhotosUpdateProfilePhotoParams{}, &PhotosUploadContactProfilePhotoParams{}, &PhotosUploadProfilePhotoParams{}, &Poll{}, &PollAnswer{}, &PollAnswerVoters{}, &PollResults{}, &PopularContact{}, &PostAddress{}, &PostInteractionCountersMessage{}, &PostInteractionCountersStory{}, &PremiumApplyBoostParams{}, &PremiumBoostsList{}, &PremiumBoostsStatus{}, &PremiumGetBoostsListParams{}, &PremiumGetBoostsStatusParams{}, &PremiumGetMyBoostsParams{}, &PremiumGetUserBoostsParams{}, &PremiumGiftCodeOption{}, &PremiumGiftOption{}, &PremiumMyBoosts{}, &PremiumSubscriptionOption{}, &PrepaidGiveawayObj{}, &PrepaidStarsGiveaway{}, &PrivacyValueAllowAll{}, &PrivacyValueAllowBots{}, &PrivacyValueAllowChatParticipants{}, &PrivacyValueAllowCloseFriends{}, &PrivacyValueAllowContacts{}, &PrivacyValueAllowPremium{}, &PrivacyValueAllowUsers{}, &PrivacyValueDisallowAll{}, &PrivacyValueDisallowBots{}, &PrivacyValueDisallowChatParticipants{}, &PrivacyValueDisallowContacts{}, &PrivacyValueDisallowUsers{}, &PublicForwardMessage{}, &PublicForwardStory{}, &QuickReply{}, &ReactionCount{}, &ReactionCustomEmoji{}, &ReactionEmoji{}, &ReactionEmpty{}, &ReactionPaid{}, &ReactionsNotifySettings{}, &ReadParticipantDate{}, &ReceivedNotifyMessage{}, &RecentMeURLChat{}, &RecentMeURLChatInvite{}, &RecentMeURLStickerSet{}, &RecentMeURLUnknown{}, &RecentMeURLUser{}, &ReplyInlineMarkup{}, &ReplyKeyboardForceReply{}, &ReplyKeyboardHide{}, &ReplyKeyboardMarkup{}, &ReportResultAddComment{}, &ReportResultChooseOption{}, &ReportResultReported{}, &RequestPeerTypeBroadcast{}, &RequestPeerTypeChat{}, &RequestPeerTypeUser{}, &RequestedPeerChannel{}, &RequestedPeerChat{}, &RequestedPeerUser{}, &RestrictionReason{}, &SavedDialog{}, &SavedPhoneContact{}, &SavedReactionTag{}, &SearchResultPosition{}, &SearchResultsCalendarPeriod{}, &SecureCredentialsEncrypted{}, &SecureData{}, &SecureFileEmpty{}, &SecureFileObj{}, &SecurePasswordKdfAlgoPbkdf2Hmacsha512Iter100000{}, &SecurePasswordKdfAlgoSHA512{}, &SecurePasswordKdfAlgoUnknown{}, &SecurePlainEmail{}, &SecurePlainPhone{}, &SecureRequiredTypeObj{}, &SecureRequiredTypeOneOf{}, &SecureSecretSettings{}, &SecureValue{}, &SecureValueErrorData{}, &SecureValueErrorFile{}, &SecureValueErrorFiles{}, &SecureValueErrorFrontSide{}, &SecureValueErrorObj{}, &SecureValueErrorReverseSide{}, &SecureValueErrorSelfie{}, &SecureValueErrorTranslationFile{}, &SecureValueErrorTranslationFiles{}, &SecureValueHash{}, &SendAsPeer{}, &SendMessageCancelAction{}, &SendMessageChooseContactAction{}, &SendMessageChooseStickerAction{}, &SendMessageEmojiInteraction{}, &SendMessageEmojiInteractionSeen{}, &SendMessageGamePlayAction{}, &SendMessageGeoLocationAction{}, &SendMessageHistoryImportAction{}, &SendMessageRecordAudioAction{}, &SendMessageRecordRoundAction{}, &SendMessageRecordVideoAction{}, &SendMessageTypingAction{}, &SendMessageUploadAudioAction{}, &SendMessageUploadDocumentAction{}, &SendMessageUploadPhotoAction{}, &SendMessageUploadRoundAction{}, &SendMessageUploadVideoAction{}, &ShippingOption{}, &SimpleWebViewResultURL{}, &SmsJob{}, &SmsjobsEligibleToJoin{}, &SmsjobsFinishJobParams{}, &SmsjobsGetSmsJobParams{}, &SmsjobsGetStatusParams{}, &SmsjobsIsEligibleToJoinParams{}, &SmsjobsJoinParams{}, &SmsjobsLeaveParams{}, &SmsjobsStatus{}, &SmsjobsUpdateSettingsParams{}, &SpeakingInGroupCallAction{}, &SponsoredMessage{}, &SponsoredMessageReportOption{}, &StarGift{}, &StarsGiftOption{}, &StarsGiveawayOption{}, &StarsGiveawayWinnersOption{}, &StarsRevenueStatus{}, &StarsSubscription{}, &StarsSubscriptionPricing{}, &StarsTopupOption{}, &StarsTransaction{}, &StarsTransactionPeerAPI{}, &StarsTransactionPeerAds{}, &StarsTransactionPeerAppStore{}, &StarsTransactionPeerFragment{}, &StarsTransactionPeerObj{}, &StarsTransactionPeerPlayMarket{}, &StarsTransactionPeerPremiumBot{}, &StarsTransactionPeerUnsupported{}, &StatsAbsValueAndPrev{}, &StatsBroadcastRevenueStats{}, &StatsBroadcastRevenueTransactions{}, &StatsBroadcastRevenueWithdrawalURL{}, &StatsBroadcastStats{}, &StatsDateRangeDays{}, &StatsGetBroadcastRevenueStatsParams{}, &StatsGetBroadcastRevenueTransactionsParams{}, &StatsGetBroadcastRevenueWithdrawalURLParams{}, &StatsGetBroadcastStatsParams{}, &StatsGetMegagroupStatsParams{}, &StatsGetMessagePublicForwardsParams{}, &StatsGetMessageStatsParams{}, &StatsGetStoryPublicForwardsParams{}, &StatsGetStoryStatsParams{}, &StatsGraphAsync{}, &StatsGraphError{}, &StatsGraphObj{}, &StatsGroupTopAdmin{}, &StatsGroupTopInviter{}, &StatsGroupTopPoster{}, &StatsLoadAsyncGraphParams{}, &StatsMegagroupStats{}, &StatsMessageStats{}, &StatsPercentValue{}, &StatsPublicForwards{}, &StatsStoryStats{}, &StatsURL{}, &StickerKeyword{}, &StickerPack{}, &StickerSet{}, &StickerSetCoveredObj{}, &StickerSetFullCovered{}, &StickerSetMultiCovered{}, &StickerSetNoCovered{}, &StickersAddStickerToSetParams{}, &StickersChangeStickerParams{}, &StickersChangeStickerPositionParams{}, &StickersCheckShortNameParams{}, &StickersCreateStickerSetParams{}, &StickersDeleteStickerSetParams{}, &StickersRemoveStickerFromSetParams{}, &StickersRenameStickerSetParams{}, &StickersReplaceStickerParams{}, &StickersSetStickerSetThumbParams{}, &StickersSuggestShortNameParams{}, &StickersSuggestedShortName{}, &StoriesActivateStealthModeParams{}, &StoriesAllStoriesNotModified{}, &StoriesAllStoriesObj{}, &StoriesCanSendStoryParams{}, &StoriesDeleteStoriesParams{}, &StoriesEditStoryParams{}, &StoriesExportStoryLinkParams{}, &StoriesFoundStories{}, &StoriesGetAllReadPeerStoriesParams{}, &StoriesGetAllStoriesParams{}, &StoriesGetChatsToSendParams{}, &StoriesGetPeerMaxIDsParams{}, &StoriesGetPeerStoriesParams{}, &StoriesGetPinnedStoriesParams{}, &StoriesGetStoriesArchiveParams{}, &StoriesGetStoriesByIDParams{}, &StoriesGetStoriesViewsParams{}, &StoriesGetStoryReactionsListParams{}, &StoriesGetStoryViewsListParams{}, &StoriesIncrementStoryViewsParams{}, &StoriesPeerStories{}, &StoriesReadStoriesParams{}, &StoriesReportParams{}, &StoriesSearchPostsParams{}, &StoriesSendReactionParams{}, &StoriesSendStoryParams{}, &StoriesStealthMode{}, &StoriesStories{}, &StoriesStoryReactionsList{}, &StoriesStoryViews{}, &StoriesStoryViewsList{}, &StoriesToggleAllStoriesHiddenParams{}, &StoriesTogglePeerStoriesHiddenParams{}, &StoriesTogglePinnedParams{}, &StoriesTogglePinnedToTopParams{}, &StoryFwdHeader{}, &StoryItemDeleted{}, &StoryItemObj{}, &StoryItemSkipped{}, &StoryReactionObj{}, &StoryReactionPublicForward{}, &StoryReactionPublicRepost{}, &StoryViewObj{}, &StoryViewPublicForward{}, &StoryViewPublicRepost{}, &StoryViews{}, &TextAnchor{}, &TextBold{}, &TextConcat{}, &TextEmail{}, &TextEmpty{}, &TextFixed{}, &TextImage{}, &TextItalic{}, &TextMarked{}, &TextPhone{}, &TextPlain{}, &TextStrike{}, &TextSubscript{}, &TextSuperscript{}, &TextURL{}, &TextUnderline{}, &TextWithEntities{}, &Theme{}, &ThemeSettings{}, &Timezone{}, &TopPeer{}, &TopPeerCategoryPeers{}, &URLAuthResultAccepted{}, &URLAuthResultDefault{}, &URLAuthResultRequest{}, &UpdateAttachMenuBots{}, &UpdateAutoSaveSettings{}, &UpdateBotBusinessConnect{}, &UpdateBotCallbackQuery{}, &UpdateBotChatBoost{}, &UpdateBotChatInviteRequester{}, &UpdateBotCommands{}, &UpdateBotDeleteBusinessMessage{}, &UpdateBotEditBusinessMessage{}, &UpdateBotInlineQuery{}, &UpdateBotInlineSend{}, &UpdateBotMenuButton{}, &UpdateBotMessageReaction{}, &UpdateBotMessageReactions{}, &UpdateBotNewBusinessMessage{}, &UpdateBotPrecheckoutQuery{}, &UpdateBotPurchasedPaidMedia{}, &UpdateBotShippingQuery{}, &UpdateBotStopped{}, &UpdateBotSubscriptionExpire{}, &UpdateBotWebhookJson{}, &UpdateBotWebhookJsonQuery{}, &UpdateBroadcastRevenueTransactions{}, &UpdateBusinessBotCallbackQuery{}, &UpdateChannel{}, &UpdateChannelAvailableMessages{}, &UpdateChannelMessageForwards{}, &UpdateChannelMessageViews{}, &UpdateChannelParticipant{}, &UpdateChannelPinnedTopic{}, &UpdateChannelPinnedTopics{}, &UpdateChannelReadMessagesContents{}, &UpdateChannelTooLong{}, &UpdateChannelUserTyping{}, &UpdateChannelViewForumAsMessages{}, &UpdateChannelWebPage{}, &UpdateChat{}, &UpdateChatDefaultBannedRights{}, &UpdateChatParticipant{}, &UpdateChatParticipantAdd{}, &UpdateChatParticipantAdmin{}, &UpdateChatParticipantDelete{}, &UpdateChatParticipants{}, &UpdateChatUserTyping{}, &UpdateConfig{}, &UpdateContactsReset{}, &UpdateDcOptions{}, &UpdateDeleteChannelMessages{}, &UpdateDeleteMessages{}, &UpdateDeleteQuickReply{}, &UpdateDeleteQuickReplyMessages{}, &UpdateDeleteScheduledMessages{}, &UpdateDialogFilter{}, &UpdateDialogFilterOrder{}, &UpdateDialogFilters{}, &UpdateDialogPinned{}, &UpdateDialogUnreadMark{}, &UpdateDraftMessage{}, &UpdateEditChannelMessage{}, &UpdateEditMessage{}, &UpdateEncryptedChatTyping{}, &UpdateEncryptedMessagesRead{}, &UpdateEncryption{}, &UpdateFavedStickers{}, &UpdateFolderPeers{}, &UpdateGeoLiveViewed{}, &UpdateGroupCall{}, &UpdateGroupCallConnection{}, &UpdateGroupCallParticipants{}, &UpdateInlineBotCallbackQuery{}, &UpdateLangPack{}, &UpdateLangPackTooLong{}, &UpdateLoginToken{}, &UpdateMessageExtendedMedia{}, &UpdateMessageID{}, &UpdateMessagePoll{}, &UpdateMessagePollVote{}, &UpdateMessageReactions{}, &UpdateMoveStickerSetToTop{}, &UpdateNewAuthorization{}, &UpdateNewChannelMessage{}, &UpdateNewEncryptedMessage{}, &UpdateNewMessage{}, &UpdateNewQuickReply{}, &UpdateNewScheduledMessage{}, &UpdateNewStickerSet{}, &UpdateNewStoryReaction{}, &UpdateNotifySettings{}, &UpdatePaidReactionPrivacy{}, &UpdatePeerBlocked{}, &UpdatePeerHistoryTtl{}, &UpdatePeerLocated{}, &UpdatePeerSettings{}, &UpdatePeerWallpaper{}, &UpdatePendingJoinRequests{}, &UpdatePhoneCall{}, &UpdatePhoneCallSignalingData{}, &UpdatePinnedChannelMessages{}, &UpdatePinnedDialogs{}, &UpdatePinnedMessages{}, &UpdatePinnedSavedDialogs{}, &UpdatePrivacy{}, &UpdatePtsChanged{}, &UpdateQuickReplies{}, &UpdateQuickReplyMessage{}, &UpdateReadChannelDiscussionInbox{}, &UpdateReadChannelDiscussionOutbox{}, &UpdateReadChannelInbox{}, &UpdateReadChannelOutbox{}, &UpdateReadFeaturedEmojiStickers{}, &UpdateReadFeaturedStickers{}, &UpdateReadHistoryInbox{}, &UpdateReadHistoryOutbox{}, &UpdateReadMessagesContents{}, &UpdateReadStories{}, &UpdateRecentEmojiStatuses{}, &UpdateRecentReactions{}, &UpdateRecentStickers{}, &UpdateSavedDialogPinned{}, &UpdateSavedGifs{}, &UpdateSavedReactionTags{}, &UpdateSavedRingtones{}, &UpdateSentStoryReaction{}, &UpdateServiceNotification{}, &UpdateShort{}, &UpdateShortChatMessage{}, &UpdateShortMessage{}, &UpdateShortSentMessage{}, &UpdateSmsJob{}, &UpdateStarsBalance{}, &UpdateStarsRevenueStatus{}, &UpdateStickerSets{}, &UpdateStickerSetsOrder{}, &UpdateStoriesStealthMode{}, &UpdateStory{}, &UpdateStoryID{}, &UpdateTheme{}, &UpdateTranscribeAudio{}, &UpdateTranscribedAudio{}, &UpdateUser{}, &UpdateUserEmojiStatus{}, &UpdateUserName{}, &UpdateUserPhone{}, &UpdateUserPhoto{}, &UpdateUserStatus{}, &UpdateUserTyping{}, &UpdateWebPage{}, &UpdateWebViewResultSent{}, &UpdatesChannelDifferenceEmpty{}, &UpdatesChannelDifferenceObj{}, &UpdatesChannelDifferenceTooLong{}, &UpdatesCombined{}, &UpdatesDifferenceEmpty{}, &UpdatesDifferenceObj{}, &UpdatesDifferenceSlice{}, &UpdatesDifferenceTooLong{}, &UpdatesGetChannelDifferenceParams{}, &UpdatesGetDifferenceParams{}, &UpdatesGetStateParams{}, &UpdatesObj{}, &UpdatesState{}, &UpdatesTooLong{}, &UploadCdnFileObj{}, &UploadCdnFileReuploadNeeded{}, &UploadFileCdnRedirect{}, &UploadFileObj{}, &UploadGetCdnFileHashesParams{}, &UploadGetCdnFileParams{}, &UploadGetFileHashesParams{}, &UploadGetFileParams{}, &UploadGetWebFileParams{}, &UploadReuploadCdnFileParams{}, &UploadSaveBigFilePartParams{}, &UploadSaveFilePartParams{}, &UploadWebFile{}, &UserEmpty{}, &UserFull{}, &UserObj{}, &UserProfilePhotoEmpty{}, &UserProfilePhotoObj{}, &UserStarGift{}, &UserStatusEmpty{}, &UserStatusHidden{}, &UserStatusLastMonth{}, &UserStatusLastWeek{}, &UserStatusOffline{}, &UserStatusOnline{}, &UserStatusRecently{}, &Username{}, &UsersGetFullUserParams{}, &UsersGetIsPremiumRequiredToContactParams{}, &UsersGetUsersParams{}, &UsersSetSecureValueErrorsParams{}, &UsersUserFull{}, &VideoSizeEmojiMarkup{}, &VideoSizeObj{}, &VideoSizeStickerMarkup{}, &WallPaperNoFile{}, &WallPaperObj{}, &WallPaperSettings{}, &WebAuthorization{}, &WebDocumentNoProxy{}, &WebDocumentObj{}, &WebPageAttributeStickerSet{}, &WebPageAttributeStory{}, &WebPageAttributeTheme{}, &WebPageEmpty{}, &WebPageNotModified{}, &WebPageObj{}, &WebPagePending{}, &WebPageURLPending{}, &WebViewMessageSent{}, &WebViewResultURL{}) - tl.RegisterEnums(AttachMenuPeerTypeBotPm, AttachMenuPeerTypeBroadcast, AttachMenuPeerTypeChat, AttachMenuPeerTypePm, AttachMenuPeerTypeSameBotPm, AuthCodeTypeCall, AuthCodeTypeFlashCall, AuthCodeTypeFragmentSms, AuthCodeTypeMissedCall, AuthCodeTypeSms, BaseThemeArctic, BaseThemeClassic, BaseThemeDay, BaseThemeNight, BaseThemeTinted, InlineQueryPeerTypeBotPm, InlineQueryPeerTypeBroadcast, InlineQueryPeerTypeChat, InlineQueryPeerTypeMegagroup, InlineQueryPeerTypePm, InlineQueryPeerTypeSameBotPm, InputPrivacyKeyAbout, InputPrivacyKeyAddedByPhone, InputPrivacyKeyBirthday, InputPrivacyKeyChatInvite, InputPrivacyKeyForwards, InputPrivacyKeyPhoneCall, InputPrivacyKeyPhoneNumber, InputPrivacyKeyPhoneP2P, InputPrivacyKeyProfilePhoto, InputPrivacyKeyStatusTimestamp, InputPrivacyKeyVoiceMessages, InputReportReasonChildAbuse, InputReportReasonCopyright, InputReportReasonFake, InputReportReasonGeoIrrelevant, InputReportReasonIllegalDrugs, InputReportReasonOther, InputReportReasonPersonalDetails, InputReportReasonPornography, InputReportReasonSpam, InputReportReasonViolence, MessagesMessageEmptyCrc, NullCrc, PhoneCallDiscardReasonBusy, PhoneCallDiscardReasonDisconnect, PhoneCallDiscardReasonHangup, PhoneCallDiscardReasonMissed, PrivacyKeyAbout, PrivacyKeyAddedByPhone, PrivacyKeyBirthday, PrivacyKeyChatInvite, PrivacyKeyForwards, PrivacyKeyPhoneCall, PrivacyKeyPhoneNumber, PrivacyKeyPhoneP2P, PrivacyKeyProfilePhoto, PrivacyKeyStatusTimestamp, PrivacyKeyVoiceMessages, ReactionNotificationsFromAll, ReactionNotificationsFromContacts, SecureValueTypeAddress, SecureValueTypeBankStatement, SecureValueTypeDriverLicense, SecureValueTypeEmail, SecureValueTypeIdentityCard, SecureValueTypeInternalPassport, SecureValueTypePassport, SecureValueTypePassportRegistration, SecureValueTypePersonalDetails, SecureValueTypePhone, SecureValueTypeRentalAgreement, SecureValueTypeTemporaryRegistration, SecureValueTypeUtilityBill, StorageFileGif, StorageFileJpeg, StorageFileMov, StorageFileMp3, StorageFileMp4, StorageFilePartial, StorageFilePdf, StorageFilePng, StorageFileUnknown, StorageFileWebp, TopPeerCategoryBotsApp, TopPeerCategoryBotsInline, TopPeerCategoryBotsPm, TopPeerCategoryChannels, TopPeerCategoryCorrespondents, TopPeerCategoryForwardChats, TopPeerCategoryForwardUsers, TopPeerCategoryGroups, TopPeerCategoryPhoneCalls) + tl.RegisterEnums(AttachMenuPeerTypeBotPm, AttachMenuPeerTypeBroadcast, AttachMenuPeerTypeChat, AttachMenuPeerTypePm, AttachMenuPeerTypeSameBotPm, AuthCodeTypeCall, AuthCodeTypeFlashCall, AuthCodeTypeFragmentSms, AuthCodeTypeMissedCall, AuthCodeTypeSms, BaseThemeArctic, BaseThemeClassic, BaseThemeDay, BaseThemeNight, BaseThemeTinted, InlineQueryPeerTypeBotPm, InlineQueryPeerTypeBroadcast, InlineQueryPeerTypeChat, InlineQueryPeerTypeMegagroup, InlineQueryPeerTypePm, InlineQueryPeerTypeSameBotPm, InputPrivacyKeyAbout, InputPrivacyKeyAddedByPhone, InputPrivacyKeyBirthday, InputPrivacyKeyChatInvite, InputPrivacyKeyForwards, InputPrivacyKeyPhoneCall, InputPrivacyKeyPhoneNumber, InputPrivacyKeyPhoneP2P, InputPrivacyKeyProfilePhoto, InputPrivacyKeyStarGiftsAutoSave, InputPrivacyKeyStatusTimestamp, InputPrivacyKeyVoiceMessages, InputReportReasonChildAbuse, InputReportReasonCopyright, InputReportReasonFake, InputReportReasonGeoIrrelevant, InputReportReasonIllegalDrugs, InputReportReasonOther, InputReportReasonPersonalDetails, InputReportReasonPornography, InputReportReasonSpam, InputReportReasonViolence, MessagesMessageEmptyCrc, NullCrc, PhoneCallDiscardReasonBusy, PhoneCallDiscardReasonDisconnect, PhoneCallDiscardReasonHangup, PhoneCallDiscardReasonMissed, PrivacyKeyAbout, PrivacyKeyAddedByPhone, PrivacyKeyBirthday, PrivacyKeyChatInvite, PrivacyKeyForwards, PrivacyKeyPhoneCall, PrivacyKeyPhoneNumber, PrivacyKeyPhoneP2P, PrivacyKeyProfilePhoto, PrivacyKeyStarGiftsAutoSave, PrivacyKeyStatusTimestamp, PrivacyKeyVoiceMessages, ReactionNotificationsFromAll, ReactionNotificationsFromContacts, SecureValueTypeAddress, SecureValueTypeBankStatement, SecureValueTypeDriverLicense, SecureValueTypeEmail, SecureValueTypeIdentityCard, SecureValueTypeInternalPassport, SecureValueTypePassport, SecureValueTypePassportRegistration, SecureValueTypePersonalDetails, SecureValueTypePhone, SecureValueTypeRentalAgreement, SecureValueTypeTemporaryRegistration, SecureValueTypeUtilityBill, StorageFileGif, StorageFileJpeg, StorageFileMov, StorageFileMp3, StorageFileMp4, StorageFilePartial, StorageFilePdf, StorageFilePng, StorageFileUnknown, StorageFileWebp, TopPeerCategoryBotsApp, TopPeerCategoryBotsInline, TopPeerCategoryBotsPm, TopPeerCategoryChannels, TopPeerCategoryCorrespondents, TopPeerCategoryForwardChats, TopPeerCategoryForwardUsers, TopPeerCategoryGroups, TopPeerCategoryPhoneCalls) } diff --git a/telegram/interfaces_gen.go b/telegram/interfaces_gen.go index bb2534fb..ead85e87 100755 --- a/telegram/interfaces_gen.go +++ b/telegram/interfaces_gen.go @@ -1809,8 +1809,8 @@ type DialogObj struct { Pinned bool `tl:"flag:2,encoded_in_bitflags"` // Is the dialog pinned UnreadMark bool `tl:"flag:3,encoded_in_bitflags"` // Whether the chat was manually marked as unread ViewForumAsMessages bool `tl:"flag:6,encoded_in_bitflags"` /* - Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a "View as messages" setting in the local client. - This setting only affects the current account, and is synced to other logged in sessions using the channels.toggleViewForumAsMessages method; invoking this method will update the value of this flag. + Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a "View as messages" setting in the local client. + This setting only affects the current account, and is synced to other logged in sessions using the channels.toggleViewForumAsMessages method; invoking this method will update the value of this flag. */ Peer Peer // The chat TopMessage int32 // The latest message ID @@ -2010,8 +2010,8 @@ type DocumentAttributeAudio struct { Title string `tl:"flag:0"` // Name of song Performer string `tl:"flag:1"` // Performer Waveform []byte `tl:"flag:2"` /* - Waveform: consists in a series of bitpacked 5-bit values. - Example implementation: android. + Waveform: consists in a series of bitpacked 5-bit values. + Example implementation: android. */ } @@ -2379,9 +2379,9 @@ type EncryptedChatObj struct { AdminID int64 // Chat creator ID ParticipantID int64 // ID of the second chat participant GAOrB []byte /* - B = g ^ b mod p, if the currently authorized user is the chat's creator, - or A = g ^ a mod p otherwise - See Wikipedia for more info + B = g ^ b mod p, if the currently authorized user is the chat's creator, + or A = g ^ a mod p otherwise + See Wikipedia for more info */ KeyFingerprint int64 // 64-bit fingerprint of received key } @@ -2571,9 +2571,9 @@ type ForumTopicObj struct { Closed bool `tl:"flag:2,encoded_in_bitflags"` // Whether the topic is closed (no messages can be sent to it) Pinned bool `tl:"flag:3,encoded_in_bitflags"` // Whether the topic is pinned Short bool `tl:"flag:5,encoded_in_bitflags"` /* - Whether this constructor is a reduced version of the full topic information. - If set, only the my, closed, id, date, title, icon_color, icon_emoji_id and from_id parameters will contain valid information. - Reduced info is usually only returned in topic-related admin log events and in the messages.channelMessages constructor: if needed, full information can be fetched using channels.getForumTopicsByID. + Whether this constructor is a reduced version of the full topic information. + If set, only the my, closed, id, date, title, icon_color, icon_emoji_id and from_id parameters will contain valid information. + Reduced info is usually only returned in topic-related admin log events and in the messages.channelMessages constructor: if needed, full information can be fetched using channels.getForumTopicsByID. */ Hidden bool `tl:"flag:6,encoded_in_bitflags"` // Whether the topic is hidden (only valid for the "General" topic, id=1) ID int32 // Topic ID @@ -4134,6 +4134,14 @@ func (*InputPrivacyValueAllowAll) CRC() uint32 { func (*InputPrivacyValueAllowAll) ImplementsInputPrivacyRule() {} +type InputPrivacyValueAllowBots struct{} + +func (*InputPrivacyValueAllowBots) CRC() uint32 { + return 0x5a4fcce5 +} + +func (*InputPrivacyValueAllowBots) ImplementsInputPrivacyRule() {} + // Allow only participants of certain chats type InputPrivacyValueAllowChatParticipants struct { Chats []int64 // Allowed chat IDs @@ -4192,6 +4200,14 @@ func (*InputPrivacyValueDisallowAll) CRC() uint32 { func (*InputPrivacyValueDisallowAll) ImplementsInputPrivacyRule() {} +type InputPrivacyValueDisallowBots struct{} + +func (*InputPrivacyValueDisallowBots) CRC() uint32 { + return 0xc4e57915 +} + +func (*InputPrivacyValueDisallowBots) ImplementsInputPrivacyRule() {} + // Disallow only participants of certain chats type InputPrivacyValueDisallowChatParticipants struct { Chats []int64 // Disallowed chat IDs @@ -4259,8 +4275,8 @@ type InputReplyTo interface { type InputReplyToMessage struct { ReplyToMsgID int32 // The message ID to reply to. TopMsgID int32 `tl:"flag:0"` /* - This field must contain the topic ID only when replying to messages in forum topics different from the "General" topic (i.e. reply_to_msg_id is set and reply_to_msg_id != topicID and topicID != 1). - If the replied-to message is deleted before the method finishes execution, the value in this field will be used to send the message to the correct topic, instead of the "General" topic. + This field must contain the topic ID only when replying to messages in forum topics different from the "General" topic (i.e. reply_to_msg_id is set and reply_to_msg_id != topicID and topicID != 1). + If the replied-to message is deleted before the method finishes execution, the value in this field will be used to send the message to the correct topic, instead of the "General" topic. */ ReplyToPeerID InputPeer `tl:"flag:1"` // Used to reply to messages sent to another chat (specified here), can only be used for non-protected chats and messages. QuoteText string `tl:"flag:2"` // Used to quote-reply to only a certain section (specified here) of the original message. The maximum UTF-8 length for quotes is specified in the quote_length_max config key. @@ -4837,8 +4853,8 @@ type InputKeyboardButtonRequestPeer struct { Text string // Button text ButtonID int32 // Button ID, to be passed to messages.sendBotRequestedPeer. PeerType RequestPeerType /* - Filtering criteria to use for the peer selection list shown to the user. - The list should display all existing peers of the specified type, and should also offer an option for the user to create and immediately use one or more (up to max_quantity) peers of the specified type, if needed. + Filtering criteria to use for the peer selection list shown to the user. + The list should display all existing peers of the specified type, and should also offer an option for the user to create and immediately use one or more (up to max_quantity) peers of the specified type, if needed. */ MaxQuantity int32 // Maximum number of peers that can be chosen. } @@ -4859,8 +4875,8 @@ type InputKeyboardButtonURLAuth struct { Text string // Button text FwdText string `tl:"flag:1"` // New text of the button in forwarded messages. URL string /* - An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in Receiving authorization data. - NOTE: You must always check the hash of the received data to verify the authentication and the integrity of the data as described in Checking authorization. + An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in Receiving authorization data. + NOTE: You must always check the hash of the received data to verify the authentication and the integrity of the data as described in Checking authorization. */ Bot InputUser // Username of a bot, which will be used for user authorization. See Setting up a bot for more details. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. See Linking your domain to the bot for more details. } @@ -4964,8 +4980,8 @@ type KeyboardButtonRequestPeer struct { Text string // Button text ButtonID int32 // Button ID, to be passed to messages.sendBotRequestedPeer. PeerType RequestPeerType /* - Filtering criteria to use for the peer selection list shown to the user. - The list should display all existing peers of the specified type, and should also offer an option for the user to create and immediately use one or more (up to max_quantity) peers of the specified type, if needed. + Filtering criteria to use for the peer selection list shown to the user. + The list should display all existing peers of the specified type, and should also offer an option for the user to create and immediately use one or more (up to max_quantity) peers of the specified type, if needed. */ MaxQuantity int32 // Maximum number of peers that can be chosen. } @@ -5050,9 +5066,9 @@ type KeyboardButtonURLAuth struct { Text string // Button label FwdText string `tl:"flag:0"` // New text of the button in forwarded messages. URL string /* - An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in Receiving authorization data. + An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in Receiving authorization data. - NOTE: Services must always check the hash of the received data to verify the authentication and the integrity of the data as described in Checking authorization. + NOTE: Services must always check the hash of the received data to verify the authentication and the integrity of the data as described in Checking authorization. */ ButtonID int32 // ID of the button to pass to messages.requestUrlAuth } @@ -5925,8 +5941,8 @@ func (*MessageActionSetChatTheme) ImplementsMessageAction() {} type MessageActionSetChatWallPaper struct { Same bool `tl:"flag:0,encoded_in_bitflags"` // If set, indicates the user applied a wallpaper previously sent by the other user in a messageActionSetChatWallPaper message. ForBoth bool `tl:"flag:1,encoded_in_bitflags"` /* - If set, indicates the wallpaper was forcefully applied for both sides, without explicit confirmation from the other side. - If the message is incoming, and we did not like the new wallpaper the other user has chosen for us, we can re-set our previous wallpaper just on our side, by invoking messages.setChatWallPaper, providing only the revert flag (and obviously the peer parameter). + If set, indicates the wallpaper was forcefully applied for both sides, without explicit confirmation from the other side. + If the message is incoming, and we did not like the new wallpaper the other user has chosen for us, we can re-set our previous wallpaper just on our side, by invoking messages.setChatWallPaper, providing only the revert flag (and obviously the peer parameter). */ Wallpaper WallPaper // New wallpaper } @@ -5974,11 +5990,11 @@ type MessageActionStarGift struct { Converted bool `tl:"flag:3,encoded_in_bitflags"` Gift *StarGift Message *TextWithEntities `tl:"flag:1"` - ConvertStars int64 + ConvertStars int64 `tl:"flag:4"` } func (*MessageActionStarGift) CRC() uint32 { - return 0x9bb3ef44 + return 0x8557637 } func (*MessageActionStarGift) FlagIndex() int { @@ -7929,6 +7945,14 @@ func (*PrivacyValueAllowAll) CRC() uint32 { func (*PrivacyValueAllowAll) ImplementsPrivacyRule() {} +type PrivacyValueAllowBots struct{} + +func (*PrivacyValueAllowBots) CRC() uint32 { + return 0x21461b5d +} + +func (*PrivacyValueAllowBots) ImplementsPrivacyRule() {} + // Allow all participants of certain chats type PrivacyValueAllowChatParticipants struct { Chats []int64 // Allowed chats @@ -7987,6 +8011,14 @@ func (*PrivacyValueDisallowAll) CRC() uint32 { func (*PrivacyValueDisallowAll) ImplementsPrivacyRule() {} +type PrivacyValueDisallowBots struct{} + +func (*PrivacyValueDisallowBots) CRC() uint32 { + return 0xf6a5f82f +} + +func (*PrivacyValueDisallowBots) ImplementsPrivacyRule() {} + // Disallow only participants of certain chats type PrivacyValueDisallowChatParticipants struct { Chats []int64 // Disallowed chats @@ -8174,8 +8206,8 @@ func (*ReplyInlineMarkup) ImplementsReplyMarkup() {} type ReplyKeyboardForceReply struct { SingleUse bool `tl:"flag:1,encoded_in_bitflags"` // Requests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat – the user can press a special button in the input field to see the custom keyboard again. Selective bool `tl:"flag:2,encoded_in_bitflags"` /* - Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. - Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard. + Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. + Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard. */ Placeholder string `tl:"flag:3"` // The placeholder to be shown in the input field when the keyboard is active; 1-64 characters. } @@ -8193,9 +8225,9 @@ func (*ReplyKeyboardForceReply) ImplementsReplyMarkup() {} // Hide sent bot keyboard type ReplyKeyboardHide struct { Selective bool `tl:"flag:2,encoded_in_bitflags"` /* - Use this flag if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. + Use this flag if you want to remove the keyboard for specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. - Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet + Example: A user votes in a poll, bot returns confirmation message in reply to the vote and removes the keyboard for that user, while still showing the keyboard with poll options to users who haven't voted yet */ } @@ -8214,9 +8246,9 @@ type ReplyKeyboardMarkup struct { Resize bool `tl:"flag:0,encoded_in_bitflags"` // Requests clients to resize the keyboard vertically for optimal fit (e.g., make the keyboard smaller if there are just two rows of buttons). If not set, the custom keyboard is always of the same height as the app's standard keyboard. SingleUse bool `tl:"flag:1,encoded_in_bitflags"` // Requests clients to hide the keyboard as soon as it's been used. The keyboard will still be available, but clients will automatically display the usual letter-keyboard in the chat – the user can press a special button in the input field to see the custom keyboard again. Selective bool `tl:"flag:2,encoded_in_bitflags"` /* - Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. + Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message. - Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard. + Example: A user requests to change the bot's language, bot replies to the request with a keyboard to select the new language. Other users in the group don't see the keyboard. */ Persistent bool `tl:"flag:4,encoded_in_bitflags"` // Requests clients to always show the keyboard when the regular keyboard is hidden. Rows []*KeyboardButtonRow // Button row @@ -9650,6 +9682,19 @@ func (*UpdateBotStopped) CRC() uint32 { func (*UpdateBotStopped) ImplementsUpdate() {} +type UpdateBotSubscriptionExpire struct { + UserID int64 + Payload string + UntilDate int32 + Qts int32 +} + +func (*UpdateBotSubscriptionExpire) CRC() uint32 { + return 0xa8ae3eb1 +} + +func (*UpdateBotSubscriptionExpire) ImplementsUpdate() {} + // A new incoming event; for bots only type UpdateBotWebhookJson struct { Data *DataJson // The event @@ -11047,8 +11092,8 @@ type UpdateServiceNotification struct { Popup bool `tl:"flag:0,encoded_in_bitflags"` // If set, the message must be displayed in a popup. InvertMedia bool `tl:"flag:2,encoded_in_bitflags"` // If set, any eventual webpage preview will be shown on top of the message instead of at the bottom. InboxDate int32 `tl:"flag:1"` /* - When was the notification received - The message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications). + When was the notification received + The message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications). */ Type string // String, identical in format and contents to the type field in API errors. Describes type of service message. It is acceptable to ignore repeated messages of the same type within a short period of time (15 minutes). Message string // Message text @@ -11514,20 +11559,20 @@ type User interface { type UserObj struct { Self bool `tl:"flag:10,encoded_in_bitflags"` // Whether this user indicates the currently logged in user Contact bool `tl:"flag:11,encoded_in_bitflags"` /* - Whether this user is a contact - When updating the local peer database, do not apply changes to this field if the min flag is set. + Whether this user is a contact + When updating the local peer database, do not apply changes to this field if the min flag is set. */ MutualContact bool `tl:"flag:12,encoded_in_bitflags"` /* - Whether this user is a mutual contact. - When updating the local peer database, do not apply changes to this field if the min flag is set. + Whether this user is a mutual contact. + When updating the local peer database, do not apply changes to this field if the min flag is set. */ Deleted bool `tl:"flag:13,encoded_in_bitflags"` /* - Whether the account of this user was deleted. - Changes to this flag should invalidate the local userFull cache for this user ID,. + Whether the account of this user was deleted. + Changes to this flag should invalidate the local userFull cache for this user ID,. */ Bot bool `tl:"flag:14,encoded_in_bitflags"` /* - Is this user a bot? - Changes to this flag should invalidate the local userFull cache for this user ID,. + Is this user a bot? + Changes to this flag should invalidate the local userFull cache for this user ID,. */ BotChatHistory bool `tl:"flag:15,encoded_in_bitflags"` // Can the bot see all messages in groups? BotNochats bool `tl:"flag:16,encoded_in_bitflags"` // Can the bot be added to groups? @@ -11541,119 +11586,119 @@ type UserObj struct { Fake bool `tl:"flag:26,encoded_in_bitflags"` // If set, this user was reported by many users as a fake or scam user: be careful when interacting with them. BotAttachMenu bool `tl:"flag:27,encoded_in_bitflags"` // Whether this bot offers an attachment menu web app Premium bool `tl:"flag:28,encoded_in_bitflags"` /* - Whether this user is a Telegram Premium user - Changes to this flag should invalidate the local userFull cache for this user ID,. - Changes to this flag if the self flag is set should also trigger the following calls, to refresh the respective caches: - - The help.getConfig cache - - The messages.getTopReactions cache if the bot flag is not set + Whether this user is a Telegram Premium user + Changes to this flag should invalidate the local userFull cache for this user ID,. + Changes to this flag if the self flag is set should also trigger the following calls, to refresh the respective caches: + - The help.getConfig cache + - The messages.getTopReactions cache if the bot flag is not set */ AttachMenuEnabled bool `tl:"flag:29,encoded_in_bitflags"` /* - Whether we installed the attachment menu web app offered by this bot. - When updating the local peer database, do not apply changes to this field if the min flag is set. + Whether we installed the attachment menu web app offered by this bot. + When updating the local peer database, do not apply changes to this field if the min flag is set. */ BotCanEdit bool `tl:"flag2:1,encoded_in_bitflags"` /* - Whether we can edit the profile picture, name, about text and description of this bot because we own it. - When updating the local peer database, do not apply changes to this field if the min flag is set. - Changes to this flag (if min is not set) should invalidate the local userFull cache for this user ID. + Whether we can edit the profile picture, name, about text and description of this bot because we own it. + When updating the local peer database, do not apply changes to this field if the min flag is set. + Changes to this flag (if min is not set) should invalidate the local userFull cache for this user ID. */ CloseFriend bool `tl:"flag2:2,encoded_in_bitflags"` /* - Whether we marked this user as a close friend,. - When updating the local peer database, do not apply changes to this field if the min flag is set. + Whether we marked this user as a close friend,. + When updating the local peer database, do not apply changes to this field if the min flag is set. */ StoriesHidden bool `tl:"flag2:3,encoded_in_bitflags"` /* - Whether we have hidden all active stories of this user. - When updating the local peer database, do not apply changes to this field if the min flag is set. + Whether we have hidden all active stories of this user. + When updating the local peer database, do not apply changes to this field if the min flag is set. */ StoriesUnavailable bool `tl:"flag2:4,encoded_in_bitflags"` // No stories from this user are visible. ContactRequirePremium bool `tl:"flag2:10,encoded_in_bitflags"` /* - If set, we can only write to this user if they have already sent some messages to us, if we are subscribed to Telegram Premium, or if they're a mutual contact (user.mutual_contact). - All the secondary conditions listed above must be checked separately to verify whether we can still write to the user, even if this flag is set (i.e. a mutual contact will have this flag set even if we can still write to them, and so on...); to avoid doing these extra checks if we haven't yet cached all the required information (for example while displaying the chat list in the sharing UI) the users.getIsPremiumRequiredToContact method may be invoked instead, passing the list of users currently visible in the UI, returning a list of booleans that directly specify whether we can or cannot write to each user; alternatively, the userFull.contact_require_premium flag contains the same (fully checked, i.e. it's not just a copy of this flag) info returned by users.getIsPremiumRequiredToContact. - To set this flag for ourselves invoke account.setGlobalPrivacySettings, setting the settings.new_noncontact_peers_require_premium flag. + If set, we can only write to this user if they have already sent some messages to us, if we are subscribed to Telegram Premium, or if they're a mutual contact (user.mutual_contact). + All the secondary conditions listed above must be checked separately to verify whether we can still write to the user, even if this flag is set (i.e. a mutual contact will have this flag set even if we can still write to them, and so on...); to avoid doing these extra checks if we haven't yet cached all the required information (for example while displaying the chat list in the sharing UI) the users.getIsPremiumRequiredToContact method may be invoked instead, passing the list of users currently visible in the UI, returning a list of booleans that directly specify whether we can or cannot write to each user; alternatively, the userFull.contact_require_premium flag contains the same (fully checked, i.e. it's not just a copy of this flag) info returned by users.getIsPremiumRequiredToContact. + To set this flag for ourselves invoke account.setGlobalPrivacySettings, setting the settings.new_noncontact_peers_require_premium flag. */ BotBusiness bool `tl:"flag2:11,encoded_in_bitflags"` // Whether this bot can be connected to a user as specified here. BotHasMainApp bool `tl:"flag2:13,encoded_in_bitflags"` // If set, this bot has configured a Main Mini App. ID int64 // ID of the user,. AccessHash int64 `tl:"flag:0"` /* - Access hash of the user,. - If this flag is set, when updating the local peer database, generate a virtual flag called min_access_hash, which is: - - Set to true if min is set AND - - The phone flag is not set OR - - The phone flag is set and the associated phone number string is non-empty - - Set to false otherwise. - - Then, apply both access_hash and min_access_hash to the local database if: - - min_access_hash is false OR - - min_access_hash is true AND - - There is no locally cached object for this user OR - - There is no access_hash in the local cache OR - - The cached object's min_access_hash is also true - If the final merged object stored to the database has the min_access_hash field set to true, the related access_hash is only suitable to use in inputPeerPhotoFileLocation , to directly download the profile pictures of users, everywhere else a inputPeer*FromMessage constructor will have to be generated as specified here. - Bots can also use min access hashes in some conditions, by passing 0 instead of the min access hash. + Access hash of the user,. + If this flag is set, when updating the local peer database, generate a virtual flag called min_access_hash, which is: + - Set to true if min is set AND + - The phone flag is not set OR + - The phone flag is set and the associated phone number string is non-empty + - Set to false otherwise. + + Then, apply both access_hash and min_access_hash to the local database if: + - min_access_hash is false OR + - min_access_hash is true AND + - There is no locally cached object for this user OR + - There is no access_hash in the local cache OR + - The cached object's min_access_hash is also true + If the final merged object stored to the database has the min_access_hash field set to true, the related access_hash is only suitable to use in inputPeerPhotoFileLocation , to directly download the profile pictures of users, everywhere else a inputPeer*FromMessage constructor will have to be generated as specified here. + Bots can also use min access hashes in some conditions, by passing 0 instead of the min access hash. */ FirstName string `tl:"flag:1"` /* - First name. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set. + First name. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set. */ LastName string `tl:"flag:2"` /* - Last name. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set. + Last name. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set. */ Username string `tl:"flag:3"` /* - Main active username. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set. - Changes to this flag should invalidate the local userFull cache for this user ID if the above conditions are respected and the bot_can_edit flag is also set. + Main active username. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set. + Changes to this flag should invalidate the local userFull cache for this user ID if the above conditions are respected and the bot_can_edit flag is also set. */ Phone string `tl:"flag:4"` /* - Phone number. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set. + Phone number. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set. */ Photo UserProfilePhoto `tl:"flag:5"` /* - Profile picture of user. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The apply_min_photo flag is set OR - - The min flag of the locally cached user entry is set. + Profile picture of user. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The apply_min_photo flag is set OR + - The min flag of the locally cached user entry is set. */ Status UserStatus `tl:"flag:6"` /* - Online status of user. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set OR - - The locally cached user entry is equal to userStatusEmpty. + Online status of user. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set OR + - The locally cached user entry is equal to userStatusEmpty. */ BotInfoVersion int32 `tl:"flag:14"` /* - Version of the bot_info field in userFull, incremented every time it changes. - Changes to this flag should invalidate the local userFull cache for this user ID,. + Version of the bot_info field in userFull, incremented every time it changes. + Changes to this flag should invalidate the local userFull cache for this user ID,. */ RestrictionReason []*RestrictionReason `tl:"flag:18"` // Contains the reason why access to this user must be restricted. BotInlinePlaceholder string `tl:"flag:19"` // Inline placeholder for this inline bot LangCode string `tl:"flag:22"` // Language code of the user EmojiStatus EmojiStatus `tl:"flag:30"` // Emoji status Usernames []*Username `tl:"flag2:0"` /* - Additional usernames. - When updating the local peer database, apply changes to this field only if: - - The min flag is not set OR - - The min flag is set AND - - The min flag of the locally cached user entry is set. - Changes to this flag (if the above conditions are respected) should invalidate the local userFull cache for this user ID. + Additional usernames. + When updating the local peer database, apply changes to this field only if: + - The min flag is not set OR + - The min flag is set AND + - The min flag of the locally cached user entry is set. + Changes to this flag (if the above conditions are respected) should invalidate the local userFull cache for this user ID. */ StoriesMaxID int32 `tl:"flag2:5"` /* - ID of the maximum read story. - When updating the local peer database, do not apply changes to this field if the min flag of the incoming constructor is set. + ID of the maximum read story. + When updating the local peer database, do not apply changes to this field if the min flag of the incoming constructor is set. */ Color *PeerColor `tl:"flag2:8"` // The user's accent color. ProfileColor *PeerColor `tl:"flag2:9"` // The user's profile color. @@ -13404,8 +13449,8 @@ type MessagesChannelMessages struct { Pts int32 // Event count after generation Count int32 // Total number of results were found server-side (may not be all included here) OffsetIDOffset int32 `tl:"flag:2"` /* - Indicates the absolute position of messages[0] within the total result set with count count. - This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}. + Indicates the absolute position of messages[0] within the total result set with count count. + This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}. */ Messages []Message // Found messages Topics []ForumTopic // Forum topic information @@ -13453,8 +13498,8 @@ type MessagesMessagesSlice struct { Count int32 // Total number of messages in the list NextRate int32 `tl:"flag:0"` // Rate to use in the offset_rate parameter in the next call to messages.searchGlobal OffsetIDOffset int32 `tl:"flag:2"` /* - Indicates the absolute position of messages[0] within the total result set with count count. - This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}. + Indicates the absolute position of messages[0] within the total result set with count count. + This is useful, for example, if the result was fetched using offset_id, and we need to display a progress/total counter (like photo 134 of 200, for all media in a chat, we could simply use photo ${offset_id_offset} of ${count}. */ Messages []Message // List of messages Chats []Chat // List of chats mentioned in messages @@ -13854,19 +13899,19 @@ type PaymentsPaymentFormObj struct { ProviderID int64 // Payment provider ID. URL string // Payment form URL NativeProvider string `tl:"flag:4"` /* - Payment provider name. - One of the following: - - stripe + Payment provider name. + One of the following: + - stripe */ NativeParams *DataJson `tl:"flag:4"` /* - Contains information about the payment provider, if available, to support it natively without the need for opening the URL. - A JSON object that can contain the following fields: - - - apple_pay_merchant_id: Apple Pay merchant ID - - google_pay_public_key: Google Pay public key - - need_country: True, if the user country must be provided, - - need_zip: True, if the user ZIP/postal code must be provided, - - need_cardholder_name: True, if the cardholder name must be provided + Contains information about the payment provider, if available, to support it natively without the need for opening the URL. + A JSON object that can contain the following fields: + + - apple_pay_merchant_id: Apple Pay merchant ID + - google_pay_public_key: Google Pay public key + - need_country: True, if the user country must be provided, + - need_zip: True, if the user ZIP/postal code must be provided, + - need_cardholder_name: True, if the cardholder name must be provided */ AdditionalMethods []*PaymentFormMethod `tl:"flag:6"` // Additional payment methods SavedInfo *PaymentRequestedInfo `tl:"flag:0"` // Saved server-side order information diff --git a/telegram/methods_gen.go b/telegram/methods_gen.go index 02a7879b..bffcc25b 100755 --- a/telegram/methods_gen.go +++ b/telegram/methods_gen.go @@ -3990,40 +3990,6 @@ func (c *Client) ChannelsCheckUsername(channel InputChannel, username string) (b return resp, nil } -type ChannelsClickSponsoredMessageParams struct { - Media bool `tl:"flag:0,encoded_in_bitflags"` - Fullscreen bool `tl:"flag:1,encoded_in_bitflags"` - Channel InputChannel - RandomID []byte -} - -func (*ChannelsClickSponsoredMessageParams) CRC() uint32 { - return 0x1445d75 -} - -func (*ChannelsClickSponsoredMessageParams) FlagIndex() int { - return 0 -} - -// Informs the server that the user has either: -func (c *Client) ChannelsClickSponsoredMessage(media, fullscreen bool, channel InputChannel, randomID []byte) (bool, error) { - responseData, err := c.MakeRequest(&ChannelsClickSponsoredMessageParams{ - Channel: channel, - Fullscreen: fullscreen, - Media: media, - RandomID: randomID, - }) - if err != nil { - return false, errors.Wrap(err, "sending ChannelsClickSponsoredMessage") - } - - resp, ok := responseData.(bool) - if !ok { - panic("got invalid response type: " + reflect.TypeOf(responseData).String()) - } - return resp, nil -} - type ChannelsConvertToGigagroupParams struct { Channel InputChannel } @@ -4855,28 +4821,6 @@ func (c *Client) ChannelsGetSendAs(peer InputPeer) (*ChannelsSendAsPeers, error) return resp, nil } -type ChannelsGetSponsoredMessagesParams struct { - Channel InputChannel -} - -func (*ChannelsGetSponsoredMessagesParams) CRC() uint32 { - return 0xec210fbf -} - -// Get a list of sponsored messages -func (c *Client) ChannelsGetSponsoredMessages(channel InputChannel) (MessagesSponsoredMessages, error) { - responseData, err := c.MakeRequest(&ChannelsGetSponsoredMessagesParams{Channel: channel}) - if err != nil { - return nil, errors.Wrap(err, "sending ChannelsGetSponsoredMessages") - } - - resp, ok := responseData.(MessagesSponsoredMessages) - if !ok { - panic("got invalid response type: " + reflect.TypeOf(responseData).String()) - } - return resp, nil -} - type ChannelsInviteToChannelParams struct { Channel InputChannel Users []InputUser @@ -5111,34 +5055,6 @@ func (c *Client) ChannelsReportSpam(channel InputChannel, participant InputPeer, return resp, nil } -type ChannelsReportSponsoredMessageParams struct { - Channel InputChannel - RandomID []byte - Option []byte -} - -func (*ChannelsReportSponsoredMessageParams) CRC() uint32 { - return 0xaf8ff6b9 -} - -// Report a [sponsored message »](https://core.telegram.org/api/sponsored-messages), see [here »](https://core.telegram.org/api/sponsored-messages#reporting-sponsored-messages) for more info on the full flow. -func (c *Client) ChannelsReportSponsoredMessage(channel InputChannel, randomID, option []byte) (ChannelsSponsoredMessageReportResult, error) { - responseData, err := c.MakeRequest(&ChannelsReportSponsoredMessageParams{ - Channel: channel, - Option: option, - RandomID: randomID, - }) - if err != nil { - return nil, errors.Wrap(err, "sending ChannelsReportSponsoredMessage") - } - - resp, ok := responseData.(ChannelsSponsoredMessageReportResult) - if !ok { - panic("got invalid response type: " + reflect.TypeOf(responseData).String()) - } - return resp, nil -} - type ChannelsRestrictSponsoredMessagesParams struct { Channel InputChannel Restricted bool @@ -5683,32 +5599,6 @@ func (c *Client) ChannelsUpdateUsername(channel InputChannel, username string) ( return resp, nil } -type ChannelsViewSponsoredMessageParams struct { - Channel InputChannel - RandomID []byte -} - -func (*ChannelsViewSponsoredMessageParams) CRC() uint32 { - return 0xbeaedb94 -} - -// Mark a specific sponsored message as read -func (c *Client) ChannelsViewSponsoredMessage(channel InputChannel, randomID []byte) (bool, error) { - responseData, err := c.MakeRequest(&ChannelsViewSponsoredMessageParams{ - Channel: channel, - RandomID: randomID, - }) - if err != nil { - return false, errors.Wrap(err, "sending ChannelsViewSponsoredMessage") - } - - resp, ok := responseData.(bool) - if !ok { - panic("got invalid response type: " + reflect.TypeOf(responseData).String()) - } - return resp, nil -} - type ChatlistsCheckChatlistInviteParams struct { Slug string } @@ -7556,6 +7446,33 @@ func (c *Client) MessagesCheckChatInvite(hash string) (ChatInvite, error) { return resp, nil } +type MessagesCheckDownloadFileParamsParams struct { + Bot InputUser + FileName string + URL string +} + +func (*MessagesCheckDownloadFileParamsParams) CRC() uint32 { + return 0x50077589 +} + +func (c *Client) MessagesCheckDownloadFileParams(bot InputUser, fileName, url string) (bool, error) { + responseData, err := c.MakeRequest(&MessagesCheckDownloadFileParamsParams{ + Bot: bot, + FileName: fileName, + URL: url, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesCheckDownloadFileParams") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesCheckHistoryImportParams struct { ImportHead string } @@ -7688,6 +7605,39 @@ func (c *Client) MessagesClearRecentStickers(attached bool) (bool, error) { return resp, nil } +type MessagesClickSponsoredMessageParams struct { + Media bool `tl:"flag:0,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:1,encoded_in_bitflags"` + Peer InputPeer + RandomID []byte +} + +func (*MessagesClickSponsoredMessageParams) CRC() uint32 { + return 0xf093465 +} + +func (*MessagesClickSponsoredMessageParams) FlagIndex() int { + return 0 +} + +func (c *Client) MessagesClickSponsoredMessage(media, fullscreen bool, peer InputPeer, randomID []byte) (bool, error) { + responseData, err := c.MakeRequest(&MessagesClickSponsoredMessageParams{ + Fullscreen: fullscreen, + Media: media, + Peer: peer, + RandomID: randomID, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesClickSponsoredMessage") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesCreateChatParams struct { Users []InputUser Title string @@ -8461,6 +8411,7 @@ type MessagesForwardMessagesParams struct { DropAuthor bool `tl:"flag:11,encoded_in_bitflags"` DropMediaCaptions bool `tl:"flag:12,encoded_in_bitflags"` Noforwards bool `tl:"flag:14,encoded_in_bitflags"` + AllowPaidFloodskip bool `tl:"flag:19,encoded_in_bitflags"` FromPeer InputPeer ID []int32 RandomID []int64 @@ -10036,6 +9987,31 @@ func (c *Client) MessagesGetPollVotes(params *MessagesGetPollVotesParams) (*Mess return resp, nil } +type MessagesGetPreparedInlineMessageParams struct { + Bot InputUser + ID string +} + +func (*MessagesGetPreparedInlineMessageParams) CRC() uint32 { + return 0x857ebdb8 +} + +func (c *Client) MessagesGetPreparedInlineMessage(bot InputUser, id string) (*MessagesPreparedInlineMessage, error) { + responseData, err := c.MakeRequest(&MessagesGetPreparedInlineMessageParams{ + Bot: bot, + ID: id, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetPreparedInlineMessage") + } + + resp, ok := responseData.(*MessagesPreparedInlineMessage) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesGetQuickRepliesParams struct { Hash int64 } @@ -10482,6 +10458,27 @@ func (c *Client) MessagesGetSplitRanges() ([]*MessageRange, error) { return resp, nil } +type MessagesGetSponsoredMessagesParams struct { + Peer InputPeer +} + +func (*MessagesGetSponsoredMessagesParams) CRC() uint32 { + return 0x9bd2f439 +} + +func (c *Client) MessagesGetSponsoredMessages(peer InputPeer) (MessagesSponsoredMessages, error) { + responseData, err := c.MakeRequest(&MessagesGetSponsoredMessagesParams{Peer: peer}) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetSponsoredMessages") + } + + resp, ok := responseData.(MessagesSponsoredMessages) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesGetStatsURLParams struct { Dark bool `tl:"flag:0,encoded_in_bitflags"` Peer InputPeer @@ -11483,9 +11480,37 @@ func (c *Client) MessagesReportSpam(peer InputPeer) (bool, error) { return resp, nil } +type MessagesReportSponsoredMessageParams struct { + Peer InputPeer + RandomID []byte + Option []byte +} + +func (*MessagesReportSponsoredMessageParams) CRC() uint32 { + return 0x1af3dbb8 +} + +func (c *Client) MessagesReportSponsoredMessage(peer InputPeer, randomID, option []byte) (ChannelsSponsoredMessageReportResult, error) { + responseData, err := c.MakeRequest(&MessagesReportSponsoredMessageParams{ + Option: option, + Peer: peer, + RandomID: randomID, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesReportSponsoredMessage") + } + + resp, ok := responseData.(ChannelsSponsoredMessageReportResult) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesRequestAppWebViewParams struct { WriteAllowed bool `tl:"flag:0,encoded_in_bitflags"` Compact bool `tl:"flag:7,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:8,encoded_in_bitflags"` Peer InputPeer App InputBotApp StartParam string `tl:"flag:1"` @@ -11545,6 +11570,7 @@ func (c *Client) MessagesRequestEncryption(userID InputUser, randomID int32, gA type MessagesRequestMainWebViewParams struct { Compact bool `tl:"flag:7,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:8,encoded_in_bitflags"` Peer InputPeer Bot InputUser StartParam string `tl:"flag:1"` @@ -11578,6 +11604,7 @@ type MessagesRequestSimpleWebViewParams struct { FromSwitchWebview bool `tl:"flag:1,encoded_in_bitflags"` FromSideMenu bool `tl:"flag:2,encoded_in_bitflags"` Compact bool `tl:"flag:7,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:8,encoded_in_bitflags"` Bot InputUser URL string `tl:"flag:3"` StartParam string `tl:"flag:4"` @@ -11645,6 +11672,7 @@ type MessagesRequestWebViewParams struct { FromBotMenu bool `tl:"flag:4,encoded_in_bitflags"` Silent bool `tl:"flag:5,encoded_in_bitflags"` Compact bool `tl:"flag:7,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:8,encoded_in_bitflags"` Peer InputPeer Bot InputUser URL string `tl:"flag:1"` @@ -12175,6 +12203,7 @@ type MessagesSendMediaParams struct { Noforwards bool `tl:"flag:14,encoded_in_bitflags"` UpdateStickersetsOrder bool `tl:"flag:15,encoded_in_bitflags"` InvertMedia bool `tl:"flag:16,encoded_in_bitflags"` + AllowPaidFloodskip bool `tl:"flag:19,encoded_in_bitflags"` Peer InputPeer ReplyTo InputReplyTo `tl:"flag:0"` Media InputMedia @@ -12218,6 +12247,7 @@ type MessagesSendMessageParams struct { Noforwards bool `tl:"flag:14,encoded_in_bitflags"` UpdateStickersetsOrder bool `tl:"flag:15,encoded_in_bitflags"` InvertMedia bool `tl:"flag:16,encoded_in_bitflags"` + AllowPaidFloodskip bool `tl:"flag:19,encoded_in_bitflags"` Peer InputPeer ReplyTo InputReplyTo `tl:"flag:0"` Message string @@ -12259,6 +12289,7 @@ type MessagesSendMultiMediaParams struct { Noforwards bool `tl:"flag:14,encoded_in_bitflags"` UpdateStickersetsOrder bool `tl:"flag:15,encoded_in_bitflags"` InvertMedia bool `tl:"flag:16,encoded_in_bitflags"` + AllowPaidFloodskip bool `tl:"flag:19,encoded_in_bitflags"` Peer InputPeer ReplyTo InputReplyTo `tl:"flag:0"` MultiMedia []*InputSingleMedia @@ -13239,6 +13270,31 @@ func (c *Client) MessagesToggleStickerSets(uninstall, archive, unarchive bool, s return resp, nil } +type MessagesToggleUserEmojiStatusPermissionParams struct { + Bot InputUser + Enabled bool +} + +func (*MessagesToggleUserEmojiStatusPermissionParams) CRC() uint32 { + return 0x6de6392 +} + +func (c *Client) MessagesToggleUserEmojiStatusPermission(bot InputUser, enabled bool) (bool, error) { + responseData, err := c.MakeRequest(&MessagesToggleUserEmojiStatusPermissionParams{ + Bot: bot, + Enabled: enabled, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesToggleUserEmojiStatusPermission") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesTranscribeAudioParams struct { Peer InputPeer MsgID int32 @@ -13551,6 +13607,31 @@ func (c *Client) MessagesUploadMedia(businessConnectionID string, peer InputPeer return resp, nil } +type MessagesViewSponsoredMessageParams struct { + Peer InputPeer + RandomID []byte +} + +func (*MessagesViewSponsoredMessageParams) CRC() uint32 { + return 0x673ad8f1 +} + +func (c *Client) MessagesViewSponsoredMessage(peer InputPeer, randomID []byte) (bool, error) { + responseData, err := c.MakeRequest(&MessagesViewSponsoredMessageParams{ + Peer: peer, + RandomID: randomID, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesViewSponsoredMessage") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type PaymentsApplyGiftCodeParams struct { Slug string } @@ -15753,12 +15834,12 @@ func (c *Client) SmsjobsUpdateSettings(allowInternational bool) (bool, error) { } type StatsGetBroadcastRevenueStatsParams struct { - Dark bool `tl:"flag:0,encoded_in_bitflags"` - Channel InputChannel + Dark bool `tl:"flag:0,encoded_in_bitflags"` + Peer InputPeer } func (*StatsGetBroadcastRevenueStatsParams) CRC() uint32 { - return 0x75dfb671 + return 0xf788ee19 } func (*StatsGetBroadcastRevenueStatsParams) FlagIndex() int { @@ -15766,10 +15847,10 @@ func (*StatsGetBroadcastRevenueStatsParams) FlagIndex() int { } // Get [channel ad revenue statistics »](https://core.telegram.org/api/revenue). -func (c *Client) StatsGetBroadcastRevenueStats(dark bool, channel InputChannel) (*StatsBroadcastRevenueStats, error) { +func (c *Client) StatsGetBroadcastRevenueStats(dark bool, peer InputPeer) (*StatsBroadcastRevenueStats, error) { responseData, err := c.MakeRequest(&StatsGetBroadcastRevenueStatsParams{ - Channel: channel, - Dark: dark, + Dark: dark, + Peer: peer, }) if err != nil { return nil, errors.Wrap(err, "sending StatsGetBroadcastRevenueStats") @@ -15783,21 +15864,21 @@ func (c *Client) StatsGetBroadcastRevenueStats(dark bool, channel InputChannel) } type StatsGetBroadcastRevenueTransactionsParams struct { - Channel InputChannel - Offset int32 - Limit int32 + Peer InputPeer + Offset int32 + Limit int32 } func (*StatsGetBroadcastRevenueTransactionsParams) CRC() uint32 { - return 0x69280f + return 0x70990b6d } // Fetch [channel ad revenue transaction history »](https://core.telegram.org/api/revenue). -func (c *Client) StatsGetBroadcastRevenueTransactions(channel InputChannel, offset, limit int32) (*StatsBroadcastRevenueTransactions, error) { +func (c *Client) StatsGetBroadcastRevenueTransactions(peer InputPeer, offset, limit int32) (*StatsBroadcastRevenueTransactions, error) { responseData, err := c.MakeRequest(&StatsGetBroadcastRevenueTransactionsParams{ - Channel: channel, - Limit: limit, - Offset: offset, + Limit: limit, + Offset: offset, + Peer: peer, }) if err != nil { return nil, errors.Wrap(err, "sending StatsGetBroadcastRevenueTransactions") @@ -15811,19 +15892,19 @@ func (c *Client) StatsGetBroadcastRevenueTransactions(channel InputChannel, offs } type StatsGetBroadcastRevenueWithdrawalURLParams struct { - Channel InputChannel + Peer InputPeer Password InputCheckPasswordSRP } func (*StatsGetBroadcastRevenueWithdrawalURLParams) CRC() uint32 { - return 0x2a65ef73 + return 0x9df4faad } // Withdraw funds from a channel's [ad revenue balance »](https://core.telegram.org/api/revenue). -func (c *Client) StatsGetBroadcastRevenueWithdrawalURL(channel InputChannel, password InputCheckPasswordSRP) (*StatsBroadcastRevenueWithdrawalURL, error) { +func (c *Client) StatsGetBroadcastRevenueWithdrawalURL(peer InputPeer, password InputCheckPasswordSRP) (*StatsBroadcastRevenueWithdrawalURL, error) { responseData, err := c.MakeRequest(&StatsGetBroadcastRevenueWithdrawalURLParams{ - Channel: channel, Password: password, + Peer: peer, }) if err != nil { return nil, errors.Wrap(err, "sending StatsGetBroadcastRevenueWithdrawalURL") @@ -16854,12 +16935,13 @@ func (c *Client) StoriesReport(peer InputPeer, id []int32, option []byte, messag type StoriesSearchPostsParams struct { Hashtag string `tl:"flag:0"` Area MediaArea `tl:"flag:1"` + Peer InputPeer `tl:"flag:2"` Offset string Limit int32 } func (*StoriesSearchPostsParams) CRC() uint32 { - return 0x6cea116a + return 0xd1810907 } func (*StoriesSearchPostsParams) FlagIndex() int { @@ -16867,13 +16949,8 @@ func (*StoriesSearchPostsParams) FlagIndex() int { } // Globally search for [stories](https://core.telegram.org/api/stories) using a hashtag or a [location media area](https://core.telegram.org/api/stories#location-tags), see [here »](https://core.telegram.org/api/stories#searching-stories) for more info on the full flow. -func (c *Client) StoriesSearchPosts(hashtag string, area MediaArea, offset string, limit int32) (*StoriesFoundStories, error) { - responseData, err := c.MakeRequest(&StoriesSearchPostsParams{ - Area: area, - Hashtag: hashtag, - Limit: limit, - Offset: offset, - }) +func (c *Client) StoriesSearchPosts(params *StoriesSearchPostsParams) (*StoriesFoundStories, error) { + responseData, err := c.MakeRequest(params) if err != nil { return nil, errors.Wrap(err, "sending StoriesSearchPosts") } diff --git a/telegram/types_gen.go b/telegram/types_gen.go index ba204bde..5ef3a349 100755 --- a/telegram/types_gen.go +++ b/telegram/types_gen.go @@ -486,6 +486,22 @@ func (*Boost) FlagIndex() int { return 0 } +type BotAppSettings struct { + PlaceholderPath []byte `tl:"flag:0"` + BackgroundColor int32 `tl:"flag:1"` + BackgroundDarkColor int32 `tl:"flag:2"` + HeaderColor int32 `tl:"flag:3"` + HeaderDarkColor int32 `tl:"flag:4"` +} + +func (*BotAppSettings) CRC() uint32 { + return 0xc99b1950 +} + +func (*BotAppSettings) FlagIndex() int { + return 0 +} + // Contains info about a [bot business connection](https://core.telegram.org/api/business#connected-bots). type BotBusinessConnection struct { CanReply bool `tl:"flag:0,encoded_in_bitflags"` @@ -516,18 +532,19 @@ func (*BotCommand) CRC() uint32 { // Info about bots (available bot commands, etc) type BotInfo struct { - HasPreviewMedias bool `tl:"flag:6,encoded_in_bitflags"` - UserID int64 `tl:"flag:0"` - Description string `tl:"flag:1"` - DescriptionPhoto Photo `tl:"flag:4"` - DescriptionDocument Document `tl:"flag:5"` - Commands []*BotCommand `tl:"flag:2"` - MenuButton BotMenuButton `tl:"flag:3"` - PrivacyPolicyURL string `tl:"flag:7"` + HasPreviewMedias bool `tl:"flag:6,encoded_in_bitflags"` + UserID int64 `tl:"flag:0"` + Description string `tl:"flag:1"` + DescriptionPhoto Photo `tl:"flag:4"` + DescriptionDocument Document `tl:"flag:5"` + Commands []*BotCommand `tl:"flag:2"` + MenuButton BotMenuButton `tl:"flag:3"` + PrivacyPolicyURL string `tl:"flag:7"` + AppSettings *BotAppSettings `tl:"flag:8"` } func (*BotInfo) CRC() uint32 { - return 0x82437e74 + return 0x36607333 } func (*BotInfo) FlagIndex() int { @@ -1940,10 +1957,11 @@ type Invoice struct { MaxTipAmount int64 `tl:"flag:8"` SuggestedTipAmounts []int64 `tl:"flag:8"` TermsURL string `tl:"flag:10"` + SubscriptionPeriod int32 `tl:"flag:11"` } func (*Invoice) CRC() uint32 { - return 0x5db95a15 + return 0x49ee584 } func (*Invoice) FlagIndex() int { @@ -2508,6 +2526,18 @@ func (*MessagesPeerSettings) CRC() uint32 { return 0x6880b94d } +type MessagesPreparedInlineMessage struct { + QueryID int64 + Result BotInlineResult + PeerTypes []InlineQueryPeerType + CacheTime int32 + Users []User +} + +func (*MessagesPreparedInlineMessage) CRC() uint32 { + return 0xff57708d +} + // Indicates how many results would be found by a [messages.search](https://core.telegram.org/method/messages.search) call with the same parameters type MessagesSearchCounter struct { Inexact bool `tl:"flag:1,encoded_in_bitflags"` @@ -3627,6 +3657,7 @@ func (*SponsoredMessageReportOption) CRC() uint32 { type StarGift struct { Limited bool `tl:"flag:0,encoded_in_bitflags"` SoldOut bool `tl:"flag:1,encoded_in_bitflags"` + Birthday bool `tl:"flag:2,encoded_in_bitflags"` ID int64 Sticker Document Stars int64 @@ -3720,11 +3751,14 @@ type StarsSubscription struct { Peer Peer UntilDate int32 Pricing *StarsSubscriptionPricing - ChatInviteHash string `tl:"flag:3"` + ChatInviteHash string `tl:"flag:3"` + Title string `tl:"flag:4"` + Photo WebDocument `tl:"flag:5"` + InvoiceSlug string `tl:"flag:6"` } func (*StarsSubscription) CRC() uint32 { - return 0x538ecf18 + return 0x2e6eab1a } func (*StarsSubscription) FlagIndex() int { @@ -4318,6 +4352,7 @@ type UserFull struct { ReadDatesPrivate bool `tl:"flag:30,encoded_in_bitflags"` SponsoredEnabled bool `tl:"flag2:7,encoded_in_bitflags"` CanViewRevenue bool `tl:"flag2:9,encoded_in_bitflags"` + BotCanManageEmojiStatus bool `tl:"flag2:10,encoded_in_bitflags"` ID int64 About string `tl:"flag:1"` Settings *PeerSettings @@ -4454,9 +4489,10 @@ func (*WebViewMessageSent) FlagIndex() int { // Contains the webview URL with appropriate theme and user info parameters added type WebViewResultURL struct { - Fullsize bool `tl:"flag:1,encoded_in_bitflags"` - QueryID int64 `tl:"flag:0"` - URL string + Fullsize bool `tl:"flag:1,encoded_in_bitflags"` + Fullscreen bool `tl:"flag:2,encoded_in_bitflags"` + QueryID int64 `tl:"flag:0"` + URL string } func (*WebViewResultURL) CRC() uint32 {