diff --git a/README.md b/README.md index cc48cdbf..23226518 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,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 - **188** (Updated on 2024-09-19) +#### Current Layer - **189** (Updated on 2024-09-28) ## doing stuff diff --git a/schemes/api.tl b/schemes/api.tl index 72915589..f36b2acb 100644 --- a/schemes/api.tl +++ b/schemes/api.tl @@ -1,3 +1,6 @@ + +---types--- + boolFalse#bc799737 = Bool; boolTrue#997275b5 = Bool; @@ -95,9 +98,10 @@ userStatusOffline#8c703f was_online:int = UserStatus; userStatusRecently#7b197dc8 flags:# by_me:flags.0?true = UserStatus; userStatusLastWeek#541a1d1a flags:# by_me:flags.0?true = UserStatus; userStatusLastMonth#65899777 flags:# by_me:flags.0?true = UserStatus; +userStatusHidden#cf7d64b1 = UserStatus; chatEmpty#29562865 id:long = Chat; -chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; +chat#41cbf256 flags:# creator:flags.0?true kicked:flags.1?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = Chat; chatForbidden#6592a1a7 id:long title:string = Chat; channel#fe4478bd flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true signature_profiles:flags2.12?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int subscription_until_date:flags2.11?int = Chat; channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true id:long access_hash:long title:string until_date:flags.16?int = Chat; @@ -108,6 +112,7 @@ channelFull#bbab348d flags:# can_view_participants:flags.3?true can_set_username chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant; chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant; chatParticipantAdmin#a0933f5b user_id:long inviter_id:long date:int = ChatParticipant; +chatChannelParticipant#c8d7493e = ChatParticipant; chatParticipantsForbidden#8763d3e1 flags:# chat_id:long self_participant:flags.0?ChatParticipant = ChatParticipants; chatParticipants#3cbc93f8 chat_id:long participants:Vector version:int = ChatParticipants; @@ -183,6 +188,15 @@ 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 = 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 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; @@ -283,6 +297,7 @@ inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter; inputMessagesFilterGeo#e7026d0d = MessagesFilter; inputMessagesFilterContacts#e062db83 = MessagesFilter; inputMessagesFilterPinned#1bb00451 = MessagesFilter; +inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter; updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update; updateMessageID#4e90bfd6 id:int random_id:long = Update; @@ -425,6 +440,8 @@ updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long conne 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; +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; @@ -593,6 +610,7 @@ webPageEmpty#211a1788 flags:# id:long url:flags.0?string = WebPage; webPagePending#b0d13e47 flags:# id:long url:flags.0?string date:int = WebPage; webPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector = WebPage; webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage; +webPageUrlPending#d41a5167 url:string = WebPage; authorization#ad01d61d flags:# current:flags.0?true official_app:flags.1?true password_pending:flags.2?true encrypted_requests_disabled:flags.3?true call_requests_disabled:flags.4?true unconfirmed:flags.5?true hash:long device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization; @@ -914,7 +932,7 @@ inputWebFileAudioAlbumThumbLocation#f46fe924 flags:# small:flags.2?true document upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile; payments.paymentForm#a0058751 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice provider_id:long url:string native_provider:flags.4?string native_params:flags.4?DataJSON additional_methods:flags.6?Vector saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?Vector users:Vector = payments.PaymentForm; -payments.paymentFormStars#7bf6b15c flags:# form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice users:Vector = payments.PaymentForm; +payments.paymentFormStars#7bf6b15c flags:# can_save_credentials:flags.2?true password_missing:flags.3?true form_id:long bot_id:long title:string description:string photo:flags.5?WebDocument invoice:Invoice users:Vector = payments.PaymentForm; payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector = payments.ValidatedRequestedInfo; @@ -1018,6 +1036,9 @@ channelAdminLogEventActionChangeEmojiStatus#3ea9feb1 prev_value:EmojiStatus new_ channelAdminLogEventActionChangeEmojiStickerSet#46d840ab prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction; channelAdminLogEventActionToggleSignatureProfiles#60a79c79 new_value:Bool = ChannelAdminLogEventAction; channelAdminLogEventActionParticipantSubExtend#64642db3 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeColor#3c2b247b prev_value:int new_value:int = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeBackgroundEmoji#445fc434 prev_value:long new_value:long = ChannelAdminLogEventAction; +channelAdminLogEventActionChangeTheme#fe69018d prev_value:string new_value:string = ChannelAdminLogEventAction; channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent; @@ -1464,6 +1485,7 @@ inputInvoiceSlug#c326caef slug:string = InputInvoice; inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice; inputInvoiceStars#65f00ce3 purpose:InputStorePaymentPurpose = InputInvoice; inputInvoiceChatInviteSubscription#34e793f1 hash:string = InputInvoice; +inputInvoiceStarGift#25d8c1d8 flags:# hide_name:flags.0?true user_id:InputPeer gift_id:long message:flags.1?TextWithEntities = InputInvoice; payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; @@ -1534,7 +1556,7 @@ defaultHistoryTTL#43b46b20 period:int = DefaultHistoryTTL; exportedContactToken#41bf109b url:string expires:int = ExportedContactToken; requestPeerTypeUser#5f3b8a00 flags:# bot:flags.0?Bool premium:flags.1?Bool = RequestPeerType; -requestPeerTypeChat#c9f06e1b flags:# creator:flags.0?true bot_participant:flags.5?true has_username:flags.3?Bool forum:flags.4?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType; +requestPeerTypeChat#c9f06e1b flags:# creator:flags.0?true has_username:flags.3?Bool bot_participant:flags.5?true forum:flags.4?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType; requestPeerTypeBroadcast#339bef6c flags:# creator:flags.0?true has_username:flags.3?Bool user_admin_rights:flags.1?ChatAdminRights bot_admin_rights:flags.2?ChatAdminRights = RequestPeerType; emojiListNotModified#481eadfa = EmojiList; @@ -1574,7 +1596,7 @@ readParticipantDate#4a4ff172 user_id:long date:int = ReadParticipantDate; inputChatlistDialogFilter#f3e0da33 filter_id:int = InputChatlist; -exportedChatlistInvite#c5181ac flags:# title:string url:string peers:Vector = ExportedChatlistInvite; +exportedChatlistInvite#c5181ac flags:# revoked:flags.0?true title:string url:string peers:Vector = ExportedChatlistInvite; chatlists.exportedChatlistInvite#10e6e3a6 filter:DialogFilter invite:ExportedChatlistInvite = chatlists.ExportedChatlistInvite; @@ -1821,7 +1843,7 @@ starsTransactionPeerAds#60682812 = StarsTransactionPeer; starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption; -starsTransaction#ee7522d5 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector subscription_period:flags.12?int giveaway_post_id:flags.13?int = StarsTransaction; +starsTransaction#a9ee4c2 flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true reaction:flags.11?true subscription:flags.12?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector subscription_period:flags.12?int giveaway_post_id:flags.13?int stargift:flags.14?StarGift = StarsTransaction; payments.starsStatus#bbfa316c flags:# balance:long subscriptions:flags.1?Vector subscriptions_next_offset:flags.2?string subscriptions_missing_balance:flags.4?long history:flags.3?Vector next_offset:flags.0?string chats:Vector users:Vector = payments.StarsStatus; @@ -1859,6 +1881,33 @@ 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; +appWebViewResultUrl#3c1b4f0d url:string = AppWebViewResultUrl; + +messages.messageEmpty#3f4e0648 = messages.MessageEmpty; + +userStarGifts#6b65b517 flags:# count:int gifts:Vector next_offset:flags.0?string users:Vector = UserStarGifts; + +reportResultAddComment#6f09ac31 flags:# optional:flags.0?true option:bytes = ReportResult; +reportResultReported#8db33c4b = ReportResult; +reportResultChooseOption#f0e4e0b6 title:string options:Vector = ReportResult; + +messageReportOption#7903e3d9 text:string option:bytes = MessageReportOption; + +fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation; + +simpleWebViewResultUrl#882f76bb url:string = SimpleWebViewResultUrl; + +starGifts#901689ea hash:int gifts:Vector = StarGifts; +starGiftsNotModified#a388a368 = StarGifts; + +messages.webViewResult#aadf159b result:BotInlineResult users:Vector = messages.WebViewResult; + +starGift#aea174ee flags:# limited:flags.0?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long = StarGift; + +payments.paymentFormStarGift#b425cfe1 form_id:long invoice:Invoice = PaymentForm; + +userStarGift#eea49a6e flags:# name_hidden:flags.0?true unsaved:flags.5?true from_id:flags.1?long date:int gift:StarGift message:flags.2?TextWithEntities msg_id:flags.3?int convert_stars:flags.4?long = UserStarGift; + ---functions--- auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; @@ -2029,6 +2078,8 @@ contacts.importContactToken#13005788 token:string = User; contacts.editCloseFriends#ba6705f0 id:Vector = Bool; contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector limit:int = Bool; contacts.getBirthdays#daeda864 = contacts.ContactBirthdays; +contacts.importCard#4fe196fe export_card:Vector = User; +contacts.exportCard#84e53737 = Vector; messages.getMessages#63c66506 id:Vector = messages.Messages; messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs; @@ -2044,7 +2095,7 @@ messages.sendMedia#7852834e flags:# silent:flags.5?true background:flags.6?true 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.reportSpam#cf1592db peer:InputPeer = Bool; messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages.PeerSettings; -messages.report#8953ab4e peer:InputPeer id:Vector reason:ReportReason message:string = Bool; +messages.report#fc78af9b peer:InputPeer id:Vector option:bytes message:string = Bool; messages.getChats#49e9528f id:Vector = messages.Chats; messages.getFullChat#aeb00b34 chat_id:long = messages.ChatFull; messages.editChatTitle#73783ffd chat_id:long title:string = Updates; @@ -2079,7 +2130,7 @@ messages.editChatAdmin#a85bd1c2 chat_id:long user_id:InputUser is_admin:Bool = B messages.migrateChat#a2875319 chat_id:long = Updates; messages.searchGlobal#4bc6589a flags:# broadcasts_only:flags.1?true folder_id:flags.0?int q:string filter:MessagesFilter min_date:int max_date:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages; messages.reorderStickerSets#78337739 flags:# masks:flags.0?true emojis:flags.1?true order:Vector = Bool; -messages.getDocumentByHash#b1f2061f sha256:bytes size:long mime_type:string = Document; +messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document; messages.getSavedGifs#5cf09635 hash:long = messages.SavedGifs; messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool; messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults; @@ -2194,7 +2245,7 @@ messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:I 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.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.sendWebViewResultMessage#a4314f5 bot_query_id:string result:InputBotInlineResult = WebViewMessageSent; +messages.sendWebViewResultMessage#ddcf50eb query_id:long = 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; messages.rateTranscribedAudio#7f1d072f peer:InputPeer msg_id:int transcription_id:long good:Bool = Bool; @@ -2247,6 +2298,16 @@ messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer 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.getWebViewResult#22b6c214 peer:InputPeer bot:InputUser query_id:long = messages.WebViewResult; +messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates; +messages.convertStarGift#421e027 user_id:InputUser msg_id:int = Bool; +messages.getUserStarGifts#5e72c7e1 user_id:InputUser offset:string limit:int = UserStarGifts; +messages.getStatsURL#812c2ae6 flags:# dark:flags.0?true peer:InputPeer params:string = StatsURL; +messages.getAllChats#875f74be except_ids:Vector = messages.Chats; +messages.saveStarGift#87acf08e flags:# unsave:flags.0?true user_id:InputUser msg_id:int = Bool; +messages.getStarGifts#c4563590 hash:int = StarGifts; +messages.sendEncryptedMultiMedia#cacacaca = messages.SentEncryptedMessage; +messages.setWebViewResult#e41cd11d query_id:long = Bool; 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; @@ -2265,7 +2326,7 @@ upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.getCdnFile#395f69da file_token:bytes offset:long limit:int = upload.CdnFile; upload.reuploadCdnFile#9b2754a8 file_token:bytes request_token:bytes = Vector; upload.getCdnFileHashes#91dc3f31 file_token:bytes offset:long = Vector; -upload.getFileHashes#9156982a location:InputFileLocation offset:long = Vector; +upload.getFileHashes#c7025931 location:InputFileLocation offset:int = Vector; help.getConfig#c4f9186b = Config; help.getNearestDc#1fb33026 = NearestDc; @@ -2292,6 +2353,7 @@ help.getPremiumPromo#b81b93d4 = help.PremiumPromo; help.getPeerColors#da80f42f hash:int = help.PeerColors; help.getPeerProfileColors#abcfa9fd hash:int = help.PeerColors; help.getTimezonesList#49b30240 hash:int = help.TimezonesList; +help.getAppChangelog#9010ef6f prev_app_version:string = Updates; channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool; channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector = messages.AffectedMessages; @@ -2402,7 +2464,7 @@ payments.launchPrepaidGiveaway#5ff58f20 peer:InputPeer giveaway_id:long purpose: payments.getStarsTopupOptions#c00ec7d3 = Vector; payments.getStarsStatus#104fcfa7 peer:InputPeer = payments.StarsStatus; payments.getStarsTransactions#69da4557 flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true subscription_id:flags.3?string peer:InputPeer offset:string limit:int = payments.StarsStatus; -payments.sendStarsForm#2bb731d flags:# form_id:long invoice:InputInvoice = payments.PaymentResult; +payments.sendStarsForm#7998c914 form_id:long invoice:InputInvoice = payments.PaymentResult; payments.refundStarsCharge#25ae8f4a user_id:InputUser charge_id:string = Updates; payments.getStarsRevenueStats#d91ffad6 flags:# dark:flags.0?true peer:InputPeer = payments.StarsRevenueStats; payments.getStarsRevenueWithdrawalUrl#13bbe8b3 peer:InputPeer stars:long password:InputCheckPasswordSRP = payments.StarsRevenueWithdrawalUrl; @@ -2413,6 +2475,7 @@ payments.getStarsSubscriptions#32512c5 flags:# missing_balance:flags.0?true peer payments.changeStarsSubscription#c7770878 flags:# peer:InputPeer subscription_id:string canceled:flags.0?Bool = Bool; payments.fulfillStarsSubscription#cc5bebb3 peer:InputPeer subscription_id:string = Bool; payments.getStarsGiveawayOptions#bd1efd3e = Vector; +payments.requestRecurringPayment#146e958d user_id:InputUser recurring_init_charge:string invoice_media:InputMedia = Updates; stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true emojis:flags.5?true text_color:flags.6?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector software:flags.3?string = messages.StickerSet; stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; @@ -2465,6 +2528,7 @@ langpack.getLanguages#42c6978f lang_pack:string = Vector; langpack.getLanguage#6a596502 lang_pack:string lang_code:string = LangPackLanguage; folders.editPeerFolders#6847d0ab folder_peers:Vector = Updates; +folders.deleteFolder#1c295881 folder_id:int = Updates; stats.getBroadcastStats#ab42441a flags:# dark:flags.0?true channel:InputChannel = stats.BroadcastStats; stats.loadAsyncGraph#621d5fa0 flags:# token:string x:flags.0?long = StatsGraph; @@ -2479,7 +2543,7 @@ stats.getBroadcastRevenueTransactions#69280f channel:InputChannel offset:int lim chatlists.exportChatlistInvite#8472478e chatlist:InputChatlist title:string peers:Vector = chatlists.ExportedChatlistInvite; chatlists.deleteExportedInvite#719c5c5e chatlist:InputChatlist slug:string = Bool; -chatlists.editExportedInvite#653db63d flags:# chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector = ExportedChatlistInvite; +chatlists.editExportedInvite#653db63d flags:# revoked:flags.0?true chatlist:InputChatlist slug:string title:flags.1?string peers:flags.2?Vector = ExportedChatlistInvite; chatlists.getExportedInvites#ce03da83 chatlist:InputChatlist = chatlists.ExportedInvites; chatlists.checkChatlistInvite#41c10fff slug:string = chatlists.ChatlistInvite; chatlists.joinChatlistInvite#a6b1e39a slug:string peers:Vector = Updates; @@ -2504,7 +2568,7 @@ stories.incrementStoryViews#b2028afb peer:InputPeer id:Vector = Bool; stories.getStoryViewsList#7ed23c57 flags:# just_contacts:flags.0?true reactions_first:flags.2?true forwards_first:flags.3?true peer:InputPeer q:flags.1?string id:int offset:string limit:int = stories.StoryViewsList; stories.getStoriesViews#28e16cc8 peer:InputPeer id:Vector = stories.StoryViews; stories.exportStoryLink#7b8def20 peer:InputPeer id:int = ExportedStoryLink; -stories.report#1923fa8c peer:InputPeer id:Vector reason:ReportReason message:string = Bool; +stories.report#19d8eb45 peer:InputPeer id:Vector option:bytes message:string = Bool; stories.activateStealthMode#57bbd166 flags:# past:flags.0?true future:flags.1?true = Updates; stories.sendReaction#7fd736b2 flags:# add_to_recent:flags.0?true peer:InputPeer story_id:int reaction:Reaction = Updates; stories.getPeerStories#2c4ada50 peer:InputPeer = stories.PeerStories; @@ -2532,4 +2596,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; -// LAYER 188 +// LAYER 189 \ No newline at end of file diff --git a/telegram/const.go b/telegram/const.go index d5844576..acd06291 100644 --- a/telegram/const.go +++ b/telegram/const.go @@ -3,7 +3,7 @@ package telegram import "regexp" const ( - ApiVersion = 188 + ApiVersion = 189 Version = "v2.3.18" LogDebug = "debug" diff --git a/telegram/enums_gen.go b/telegram/enums_gen.go index 5cbb90aa..625fda4f 100755 --- a/telegram/enums_gen.go +++ b/telegram/enums_gen.go @@ -416,6 +416,23 @@ func (e AuthCodeType) String() string { func (e AuthCodeType) CRC() uint32 { return uint32(e) } +type MessagesMessageEmpty uint32 + +const ( + MessagesMessageEmpty MessagesMessageEmpty = 0x3f4e0648 +) + +func (e MessagesMessageEmpty) String() string { + switch e { + case MessagesMessageEmpty(0x3f4e0648): + return "messages.messageEmpty" + default: + return "" + } +} + +func (e MessagesMessageEmpty) CRC() uint32 { return uint32(e) } + type StorageFileType uint32 const ( diff --git a/telegram/init_gen.go b/telegram/init_gen.go index 75842227..ae13d0bd 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{}, &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{}, &ChannelAdminLogEventActionChangeEmojiStatus{}, &ChannelAdminLogEventActionChangeEmojiStickerSet{}, &ChannelAdminLogEventActionChangeHistoryTtl{}, &ChannelAdminLogEventActionChangeLinkedChat{}, &ChannelAdminLogEventActionChangeLocation{}, &ChannelAdminLogEventActionChangePeerColor{}, &ChannelAdminLogEventActionChangePhoto{}, &ChannelAdminLogEventActionChangeProfilePeerColor{}, &ChannelAdminLogEventActionChangeStickerSet{}, &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{}, &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{}, &ContactsExportContactTokenParams{}, &ContactsFound{}, &ContactsGetBirthdaysParams{}, &ContactsGetBlockedParams{}, &ContactsGetContactIDsParams{}, &ContactsGetContactsParams{}, &ContactsGetLocatedParams{}, &ContactsGetSavedParams{}, &ContactsGetStatusesParams{}, &ContactsGetTopPeersParams{}, &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{}, &Folder{}, &FolderPeer{}, &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{}, &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{}, &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{}, &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{}, &MessageActionBoostApply{}, &MessageActionBotAllowed{}, &MessageActionChannelCreate{}, &MessageActionChannelMigrateFrom{}, &MessageActionChatAddUser{}, &MessageActionChatCreate{}, &MessageActionChatDeletePhoto{}, &MessageActionChatDeleteUser{}, &MessageActionChatEditPhoto{}, &MessageActionChatEditTitle{}, &MessageActionChatJoinedByLink{}, &MessageActionChatJoinedByRequest{}, &MessageActionChatMigrateTo{}, &MessageActionContactSignUp{}, &MessageActionCustomAction{}, &MessageActionEmpty{}, &MessageActionGameScore{}, &MessageActionGeoProximityReached{}, &MessageActionGiftCode{}, &MessageActionGiftPremium{}, &MessageActionGiftStars{}, &MessageActionGiveawayLaunch{}, &MessageActionGiveawayResults{}, &MessageActionGroupCall{}, &MessageActionGroupCallScheduled{}, &MessageActionHistoryClear{}, &MessageActionInviteToGroupCall{}, &MessageActionPaymentRefunded{}, &MessageActionPaymentSent{}, &MessageActionPaymentSentMe{}, &MessageActionPhoneCall{}, &MessageActionPinMessage{}, &MessageActionPrizeStars{}, &MessageActionRequestedPeer{}, &MessageActionRequestedPeerSentMe{}, &MessageActionScreenshotTaken{}, &MessageActionSecureValuesSent{}, &MessageActionSecureValuesSentMe{}, &MessageActionSetChatTheme{}, &MessageActionSetChatWallPaper{}, &MessageActionSetMessagesTtl{}, &MessageActionSuggestProfilePhoto{}, &MessageActionTopicCreate{}, &MessageActionTopicEdit{}, &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{}, &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{}, &MessagesForwardMessagesParams{}, &MessagesFoundStickerSetsNotModified{}, &MessagesFoundStickerSetsObj{}, &MessagesGetAdminsWithInvitesParams{}, &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{}, &MessagesGetStickerSetParams{}, &MessagesGetStickersParams{}, &MessagesGetSuggestedDialogFiltersParams{}, &MessagesGetTopReactionsParams{}, &MessagesGetUnreadMentionsParams{}, &MessagesGetUnreadReactionsParams{}, &MessagesGetWebPageParams{}, &MessagesGetWebPagePreviewParams{}, &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{}, &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{}, &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{}, &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{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsFulfillStarsSubscriptionParams{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarsGiftOptionsParams{}, &PaymentsGetStarsGiveawayOptionsParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &PaymentsGetStarsSubscriptionsParams{}, &PaymentsGetStarsTopupOptionsParams{}, &PaymentsGetStarsTransactionsByIDParams{}, &PaymentsGetStarsTransactionsParams{}, &PaymentsGiveawayInfoObj{}, &PaymentsGiveawayInfoResults{}, &PaymentsLaunchPrepaidGiveawayParams{}, &PaymentsPaymentFormObj{}, &PaymentsPaymentFormStars{}, &PaymentsPaymentReceiptObj{}, &PaymentsPaymentReceiptStars{}, &PaymentsPaymentResultObj{}, &PaymentsPaymentVerificationNeeded{}, &PaymentsRefundStarsChargeParams{}, &PaymentsSavedInfo{}, &PaymentsSendPaymentFormParams{}, &PaymentsSendStarsFormParams{}, &PaymentsStarsRevenueAdsAccountURL{}, &PaymentsStarsRevenueStats{}, &PaymentsStarsRevenueWithdrawalURL{}, &PaymentsStarsStatus{}, &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{}, &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{}, &SmsJob{}, &SmsjobsEligibleToJoin{}, &SmsjobsFinishJobParams{}, &SmsjobsGetSmsJobParams{}, &SmsjobsGetStatusParams{}, &SmsjobsIsEligibleToJoinParams{}, &SmsjobsJoinParams{}, &SmsjobsLeaveParams{}, &SmsjobsStatus{}, &SmsjobsUpdateSettingsParams{}, &SpeakingInGroupCallAction{}, &SponsoredMessage{}, &SponsoredMessageReportOption{}, &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{}, &UpdateTranscribedAudio{}, &UpdateUser{}, &UpdateUserEmojiStatus{}, &UpdateUserName{}, &UpdateUserPhone{}, &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{}, &UserStatusEmpty{}, &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{}, &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{}, &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{}, &MessagesConvertStarGiftParams{}, &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{}, &MessagesGetStarGiftsParams{}, &MessagesGetStatsURLParams{}, &MessagesGetStickerSetParams{}, &MessagesGetStickersParams{}, &MessagesGetSuggestedDialogFiltersParams{}, &MessagesGetTopReactionsParams{}, &MessagesGetUnreadMentionsParams{}, &MessagesGetUnreadReactionsParams{}, &MessagesGetUserStarGiftsParams{}, &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{}, &MessagesSaveStarGiftParams{}, &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{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsFulfillStarsSubscriptionParams{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarsGiftOptionsParams{}, &PaymentsGetStarsGiveawayOptionsParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &PaymentsGetStarsSubscriptionsParams{}, &PaymentsGetStarsTopupOptionsParams{}, &PaymentsGetStarsTransactionsByIDParams{}, &PaymentsGetStarsTransactionsParams{}, &PaymentsGiveawayInfoObj{}, &PaymentsGiveawayInfoResults{}, &PaymentsLaunchPrepaidGiveawayParams{}, &PaymentsPaymentFormObj{}, &PaymentsPaymentFormStarGift{}, &PaymentsPaymentFormStars{}, &PaymentsPaymentReceiptObj{}, &PaymentsPaymentReceiptStars{}, &PaymentsPaymentResultObj{}, &PaymentsPaymentVerificationNeeded{}, &PaymentsRefundStarsChargeParams{}, &PaymentsRequestRecurringPaymentParams{}, &PaymentsSavedInfo{}, &PaymentsSendPaymentFormParams{}, &PaymentsSendStarsFormParams{}, &PaymentsStarsRevenueAdsAccountURL{}, &PaymentsStarsRevenueStats{}, &PaymentsStarsRevenueWithdrawalURL{}, &PaymentsStarsStatus{}, &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{}, &StarGiftsNotModified{}, &StarGiftsObj{}, &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{}, &UserStarGifts{}, &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, 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, InputPrivacyKeyStatusTimestamp, InputPrivacyKeyVoiceMessages, InputReportReasonChildAbuse, InputReportReasonCopyright, InputReportReasonFake, InputReportReasonGeoIrrelevant, InputReportReasonIllegalDrugs, InputReportReasonOther, InputReportReasonPersonalDetails, InputReportReasonPornography, InputReportReasonSpam, InputReportReasonViolence, MessagesMessageEmpty, 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) } diff --git a/telegram/interfaces_gen.go b/telegram/interfaces_gen.go index 86f75912..f6339e15 100755 --- a/telegram/interfaces_gen.go +++ b/telegram/interfaces_gen.go @@ -487,6 +487,30 @@ func (*ChannelAdminLogEventActionChangeAvailableReactions) CRC() uint32 { func (*ChannelAdminLogEventActionChangeAvailableReactions) ImplementsChannelAdminLogEventAction() {} +// The [custom emoji](https://core.telegram.org/api/custom-emoji) used to generate the pattern of the [background profile color »](https://core.telegram.org/api/colors) of a channel was changed. +type ChannelAdminLogEventActionChangeBackgroundEmoji struct { + PrevValue int64 // Old custom emoji ID (or 0 if none) + NewValue int64 // New custom emoji ID (or 0 if none) +} + +func (*ChannelAdminLogEventActionChangeBackgroundEmoji) CRC() uint32 { + return 0x445fc434 +} + +func (*ChannelAdminLogEventActionChangeBackgroundEmoji) ImplementsChannelAdminLogEventAction() {} + +// The [background profile color »](https://core.telegram.org/api/colors) of a channel was changed. +type ChannelAdminLogEventActionChangeColor struct { + PrevValue int32 // The old color palette ID. + NewValue int32 // The old color palette ID. +} + +func (*ChannelAdminLogEventActionChangeColor) CRC() uint32 { + return 0x3c2b247b +} + +func (*ChannelAdminLogEventActionChangeColor) ImplementsChannelAdminLogEventAction() {} + // The [emoji status](https://core.telegram.org/api/emoji-status) was changed type ChannelAdminLogEventActionChangeEmojiStatus struct { PrevValue EmojiStatus // Previous emoji status @@ -595,6 +619,18 @@ func (*ChannelAdminLogEventActionChangeStickerSet) CRC() uint32 { func (*ChannelAdminLogEventActionChangeStickerSet) ImplementsChannelAdminLogEventAction() {} +// The chat theme was changed +type ChannelAdminLogEventActionChangeTheme struct { + PrevValue string // Previous theme emoji + NewValue string // New theme emoji +} + +func (*ChannelAdminLogEventActionChangeTheme) CRC() uint32 { + return 0xfe69018d +} + +func (*ChannelAdminLogEventActionChangeTheme) ImplementsChannelAdminLogEventAction() {} + // Channel/supergroup title was changed type ChannelAdminLogEventActionChangeTitle struct { PrevValue string // Previous title @@ -1385,21 +1421,22 @@ func (*ChannelForbidden) ImplementsChat() {} // Info about a group. type ChatObj struct { - Creator bool `tl:"flag:0,encoded_in_bitflags"` // Whether the current user is the creator of the group - Left bool `tl:"flag:2,encoded_in_bitflags"` // Whether the current user has left the group - Deactivated bool `tl:"flag:5,encoded_in_bitflags"` // Whether the group was migrated - CallActive bool `tl:"flag:23,encoded_in_bitflags"` // Whether a group call is currently active - CallNotEmpty bool `tl:"flag:24,encoded_in_bitflags"` // Whether there's anyone in the group call - Noforwards bool `tl:"flag:25,encoded_in_bitflags"` // Whether this group is protected, thus does not allow forwarding messages from it - ID int64 // ID of the group - Title string // Title - Photo ChatPhoto // Chat photo - ParticipantsCount int32 // Participant count - Date int32 // Date of creation of the group - Version int32 // Used in basic groups to reorder updates and make sure that all of them were received. - MigratedTo InputChannel `tl:"flag:6"` // Means this chat was upgraded to a supergroup - AdminRights *ChatAdminRights `tl:"flag:14"` // Admin rights of the user in the group - DefaultBannedRights *ChatBannedRights `tl:"flag:18"` // Default banned rights of all users in the group + Creator bool `tl:"flag:0,encoded_in_bitflags"` + Kicked bool `tl:"flag:1,encoded_in_bitflags"` + Left bool `tl:"flag:2,encoded_in_bitflags"` + Deactivated bool `tl:"flag:5,encoded_in_bitflags"` + CallActive bool `tl:"flag:23,encoded_in_bitflags"` + CallNotEmpty bool `tl:"flag:24,encoded_in_bitflags"` + Noforwards bool `tl:"flag:25,encoded_in_bitflags"` + ID int64 + Title string + Photo ChatPhoto + ParticipantsCount int32 + Date int32 + Version int32 + MigratedTo InputChannel `tl:"flag:6"` + AdminRights *ChatAdminRights `tl:"flag:14"` + DefaultBannedRights *ChatBannedRights `tl:"flag:18"` } func (*ChatObj) CRC() uint32 { @@ -1611,6 +1648,13 @@ type ChatParticipant interface { tl.Object ImplementsChatParticipant() } +type ChatChannelParticipant struct{} + +func (*ChatChannelParticipant) CRC() uint32 { + return 0xc8d7493e +} + +func (*ChatChannelParticipant) ImplementsChatParticipant() {} // Group member. type ChatParticipantObj struct { @@ -1765,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 @@ -1966,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. */ } @@ -2335,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 } @@ -2527,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 @@ -3485,6 +3529,23 @@ func (*InputInvoiceSlug) CRC() uint32 { func (*InputInvoiceSlug) ImplementsInputInvoice() {} +type InputInvoiceStarGift struct { + HideName bool `tl:"flag:0,encoded_in_bitflags"` + UserID InputPeer + GiftID int64 + Message *TextWithEntities `tl:"flag:1"` +} + +func (*InputInvoiceStarGift) CRC() uint32 { + return 0x25d8c1d8 +} + +func (*InputInvoiceStarGift) FlagIndex() int { + return 0 +} + +func (*InputInvoiceStarGift) ImplementsInputInvoice() {} + // Used to top up the [Telegram Stars](https://core.telegram.org/api/stars) balance of the current account or someone else's account. type InputInvoiceStars struct { Purpose InputStorePaymentPurpose // Either an inputStorePaymentStarsTopup or an inputStorePaymentStarsGift. @@ -4198,8 +4259,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. @@ -4775,8 +4836,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. } @@ -4797,8 +4858,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. } @@ -4902,8 +4963,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. } @@ -4988,9 +5049,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 } @@ -5222,13 +5283,13 @@ type MessageObj struct { ID int32 // ID of the message FromID Peer `tl:"flag:8"` // ID of the sender of the message FromBoostsApplied int32 `tl:"flag:29"` /* - Supergroups only, contains the number of boosts this user has given the current supergroup, and should be shown in the UI in the header of the message. - Only present for incoming messages from non-anonymous supergroup members that have boosted the supergroup. - Note that this counter should be locally overridden for non-anonymous outgoing messages, according to the current value of channelFull.'boosts_applied', to ensure the value is correct even for messages sent by the current user before a supergroup was boosted (or after a boost has expired or the number of boosts has changed); do not update this value for incoming messages from other users, even if their boosts have changed. + Supergroups only, contains the number of boosts this user has given the current supergroup, and should be shown in the UI in the header of the message. + Only present for incoming messages from non-anonymous supergroup members that have boosted the supergroup. + Note that this counter should be locally overridden for non-anonymous outgoing messages, according to the current value of channelFull.'boosts_applied', to ensure the value is correct even for messages sent by the current user before a supergroup was boosted (or after a boost has expired or the number of boosts has changed); do not update this value for incoming messages from other users, even if their boosts have changed. */ PeerID Peer // Peer ID, the chat where this message was sent SavedPeerID Peer `tl:"flag:28"` /* - Messages fetched from a saved messages dialog will have 'peer'=inputPeerSelf and the 'saved_peer_id' flag set to the ID of the saved dialog. + Messages fetched from a saved messages dialog will have 'peer'=inputPeerSelf and the 'saved_peer_id' flag set to the ID of the saved dialog. */ FwdFrom *MessageFwdHeader `tl:"flag:2"` // Info about forwarded messages ViaBotID int64 `tl:"flag:11"` // ID of the inline bot that generated the message @@ -5310,6 +5371,13 @@ type MessageAction interface { tl.Object ImplementsMessageAction() } +type MessageActionAttachMenuBotAllowed struct{} + +func (*MessageActionAttachMenuBotAllowed) CRC() uint32 { + return 0xe7e75f97 +} + +func (*MessageActionAttachMenuBotAllowed) ImplementsMessageAction() {} // Some [boosts »](https://core.telegram.org/api/boost) were applied to the channel or supergroup. type MessageActionBoostApply struct { @@ -5468,6 +5536,14 @@ func (*MessageActionContactSignUp) CRC() uint32 { func (*MessageActionContactSignUp) ImplementsMessageAction() {} +type MessageActionCreatedBroadcastList struct{} + +func (*MessageActionCreatedBroadcastList) CRC() uint32 { + return 0x55555557 +} + +func (*MessageActionCreatedBroadcastList) ImplementsMessageAction() {} + // Custom action (most likely not supported by the current layer, an upgrade might be needed) type MessageActionCustomAction struct { Message string // Action message @@ -5656,6 +5732,17 @@ func (*MessageActionInviteToGroupCall) CRC() uint32 { func (*MessageActionInviteToGroupCall) ImplementsMessageAction() {} +type MessageActionLoginUnknownLocation struct { + Title string + Address string +} + +func (*MessageActionLoginUnknownLocation) CRC() uint32 { + return 0x555555f5 +} + +func (*MessageActionLoginUnknownLocation) ImplementsMessageAction() {} + // Describes a payment refund (service message received by both users and bots). type MessageActionPaymentRefunded struct { Peer Peer // Identifier of the peer that returned the funds. @@ -5734,6 +5821,14 @@ func (*MessageActionPhoneCall) FlagIndex() int { func (*MessageActionPhoneCall) ImplementsMessageAction() {} +type MessageActionPhoneNumberRequest struct{} + +func (*MessageActionPhoneNumberRequest) CRC() uint32 { + return 0x1baa035 +} + +func (*MessageActionPhoneNumberRequest) ImplementsMessageAction() {} + // A message was pinned type MessageActionPinMessage struct{} @@ -5832,8 +5927,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 } @@ -5864,6 +5959,36 @@ func (*MessageActionSetMessagesTtl) FlagIndex() int { func (*MessageActionSetMessagesTtl) ImplementsMessageAction() {} +// The user applied a [wallpaper »](https://core.telegram.org/api/wallpapers) previously sent by the other user in a [messageActionSetChatWallPaper](https://core.telegram.org/constructor/messageActionSetChatWallPaper) message. +type MessageActionSetSameChatWallPaper struct { + Wallpaper WallPaper // The wallpaper +} + +func (*MessageActionSetSameChatWallPaper) CRC() uint32 { + return 0xc0787d6d +} + +func (*MessageActionSetSameChatWallPaper) ImplementsMessageAction() {} + +type MessageActionStarGift struct { + NameHidden bool `tl:"flag:0,encoded_in_bitflags"` + Saved bool `tl:"flag:2,encoded_in_bitflags"` + Converted bool `tl:"flag:3,encoded_in_bitflags"` + Gift *StarGift + Message *TextWithEntities `tl:"flag:1"` + ConvertStars int64 +} + +func (*MessageActionStarGift) CRC() uint32 { + return 0x9bb3ef44 +} + +func (*MessageActionStarGift) FlagIndex() int { + return 0 +} + +func (*MessageActionStarGift) ImplementsMessageAction() {} + // A new profile picture was suggested using [photos.uploadContactProfilePhoto](https://core.telegram.org/method/photos.uploadContactProfilePhoto). type MessageActionSuggestProfilePhoto struct { Photo Photo // The photo that the user suggested we set as profile picture. @@ -5875,6 +6000,16 @@ func (*MessageActionSuggestProfilePhoto) CRC() uint32 { func (*MessageActionSuggestProfilePhoto) ImplementsMessageAction() {} +type MessageActionTtlChange struct { + Ttl int32 +} + +func (*MessageActionTtlChange) CRC() uint32 { + return 0x55555552 +} + +func (*MessageActionTtlChange) ImplementsMessageAction() {} + // A [forum topic](https://core.telegram.org/api/forum#forum-topics) was created. type MessageActionTopicCreate struct { Title string // Topic name. @@ -5910,6 +6045,24 @@ func (*MessageActionTopicEdit) FlagIndex() int { func (*MessageActionTopicEdit) ImplementsMessageAction() {} +type MessageActionUserJoined struct{} + +func (*MessageActionUserJoined) CRC() uint32 { + return 0x55555550 +} + +func (*MessageActionUserJoined) ImplementsMessageAction() {} + +type MessageActionUserUpdatedPhoto struct { + NewUserPhoto UserProfilePhoto +} + +func (*MessageActionUserUpdatedPhoto) CRC() uint32 { + return 0x55555551 +} + +func (*MessageActionUserUpdatedPhoto) ImplementsMessageAction() {} + // Data from an opened [reply keyboard bot mini app](https://core.telegram.org/api/bots/webapps) was relayed to the bot that owns it (user side service message). type MessageActionWebViewDataSent struct { Text string // Text of the keyboardButtonSimpleWebView that was pressed to open the web app. @@ -6702,6 +6855,14 @@ func (*InputMessagesFilterPhotoVideo) CRC() uint32 { func (*InputMessagesFilterPhotoVideo) ImplementsMessagesFilter() {} +type InputMessagesFilterPhotoVideoDocuments struct{} + +func (*InputMessagesFilterPhotoVideoDocuments) CRC() uint32 { + return 0xd95e73bb +} + +func (*InputMessagesFilterPhotoVideoDocuments) ImplementsMessagesFilter() {} + // Filter for messages containing photos. type InputMessagesFilterPhotos struct{} @@ -8015,8 +8176,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. } @@ -8034,9 +8195,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 */ } @@ -8055,9 +8216,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 @@ -8074,6 +8235,44 @@ func (*ReplyKeyboardMarkup) FlagIndex() int { func (*ReplyKeyboardMarkup) ImplementsReplyMarkup() {} +type ReportResult interface { + tl.Object + ImplementsReportResult() +} +type ReportResultAddComment struct { + Optional bool `tl:"flag:0,encoded_in_bitflags"` + Option []byte +} + +func (*ReportResultAddComment) CRC() uint32 { + return 0x6f09ac31 +} + +func (*ReportResultAddComment) FlagIndex() int { + return 0 +} + +func (*ReportResultAddComment) ImplementsReportResult() {} + +type ReportResultChooseOption struct { + Title string + Options []*MessageReportOption +} + +func (*ReportResultChooseOption) CRC() uint32 { + return 0xf0e4e0b6 +} + +func (*ReportResultChooseOption) ImplementsReportResult() {} + +type ReportResultReported struct{} + +func (*ReportResultReported) CRC() uint32 { + return 0x8db33c4b +} + +func (*ReportResultReported) ImplementsReportResult() {} + type RequestPeerType interface { tl.Object ImplementsRequestPeerType() @@ -8100,8 +8299,8 @@ func (*RequestPeerTypeBroadcast) ImplementsRequestPeerType() {} // Choose a chat or supergroup type RequestPeerTypeChat struct { Creator bool `tl:"flag:0,encoded_in_bitflags"` // Whether to allow only choosing chats or supergroups that were created by the current user. - BotParticipant bool `tl:"flag:5,encoded_in_bitflags"` // Whether to allow only choosing chats or supergroups where the bot is a participant. - HasUsername bool `tl:"flag:3"` // If specified, allows only choosing channels with or without a username, according to the value of Bool. + HasUsername bool `tl:"flag:3"` // Whether to allow only choosing chats or supergroups where the bot is a participant. + BotParticipant bool `tl:"flag:5,encoded_in_bitflags"` // If specified, allows only choosing channels with or without a username, according to the value of Bool. Forum bool `tl:"flag:4"` // If specified, allows only choosing chats or supergroups that are or aren't forums, according to the value of Bool. UserAdminRights *ChatAdminRights `tl:"flag:1"` // If specified, allows only choosing chats or supergroups where the current user is an admin with at least the specified admin rights. BotAdminRights *ChatAdminRights `tl:"flag:2"` // If specified, allows only choosing chats or supergroups where the bot is an admin with at least the specified admin rights. @@ -8814,6 +9013,29 @@ func (*SpeakingInGroupCallAction) CRC() uint32 { func (*SpeakingInGroupCallAction) ImplementsSendMessageAction() {} +type StarGifts interface { + tl.Object + ImplementsStarGifts() +} +type StarGiftsObj struct { + Hash int32 + Gifts []*StarGift +} + +func (*StarGiftsObj) CRC() uint32 { + return 0x901689ea +} + +func (*StarGiftsObj) ImplementsStarGifts() {} + +type StarGiftsNotModified struct{} + +func (*StarGiftsNotModified) CRC() uint32 { + return 0xa388a368 +} + +func (*StarGiftsNotModified) ImplementsStarGifts() {} + type StarsTransactionPeer interface { tl.Object ImplementsStarsTransactionPeer() @@ -10837,8 +11059,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 @@ -10969,6 +11191,22 @@ func (*UpdateTheme) CRC() uint32 { func (*UpdateTheme) ImplementsUpdate() {} +type UpdateTranscribeAudio struct { + Final bool `tl:"flag:0,encoded_in_bitflags"` + TranscriptionID int64 + Text string +} + +func (*UpdateTranscribeAudio) CRC() uint32 { + return 0x88617090 +} + +func (*UpdateTranscribeAudio) FlagIndex() int { + return 0 +} + +func (*UpdateTranscribeAudio) ImplementsUpdate() {} + // A pending [voice message transcription »](https://core.telegram.org/api/transcribe) initiated with [messages.transcribeAudio](https://core.telegram.org/method/messages.transcribeAudio) was updated. type UpdateTranscribedAudio struct { Pending bool `tl:"flag:0,encoded_in_bitflags"` // Whether this transcription is still pending and further updateTranscribedAudio about it will be sent in the future. @@ -11037,6 +11275,20 @@ func (*UpdateUserPhone) CRC() uint32 { func (*UpdateUserPhone) ImplementsUpdate() {} +// Change of contact's profile photo. +type UpdateUserPhoto struct { + UserID int64 // User identifier + Date int32 // Date of photo update. + Photo UserProfilePhoto // New profile photo + Previous bool // (boolTrue), if one of the previously used photos is set a profile photo. +} + +func (*UpdateUserPhoto) CRC() uint32 { + return 0xf227868c +} + +func (*UpdateUserPhoto) ImplementsUpdate() {} + // Contact status update. type UpdateUserStatus struct { UserID int64 // User identifier @@ -11274,20 +11526,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? @@ -11301,119 +11553,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. @@ -11488,6 +11740,14 @@ func (*UserStatusEmpty) CRC() uint32 { func (*UserStatusEmpty) ImplementsUserStatus() {} +type UserStatusHidden struct{} + +func (*UserStatusHidden) CRC() uint32 { + return 0xcf7d64b1 +} + +func (*UserStatusHidden) ImplementsUserStatus() {} + // Online status: last seen last month type UserStatusLastMonth struct { ByMe bool `tl:"flag:0,encoded_in_bitflags"` // If set, the exact user status of this user is actually available to us, but to view it we must first purchase a Premium subscription, or allow this user to see our exact last online status.. @@ -11770,6 +12030,16 @@ func (*WebPagePending) FlagIndex() int { func (*WebPagePending) ImplementsWebPage() {} +type WebPageURLPending struct { + URL string +} + +func (*WebPageURLPending) CRC() uint32 { + return 0xd41a5167 +} + +func (*WebPageURLPending) ImplementsWebPage() {} + type WebPageAttribute interface { tl.Object ImplementsWebPageAttribute() @@ -13146,8 +13416,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 @@ -13195,8 +13465,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 @@ -13596,19 +13866,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 @@ -13628,13 +13898,15 @@ func (*PaymentsPaymentFormObj) ImplementsPaymentsPaymentForm() {} // Represents a payment form, for payments to be using [Telegram Stars, see here »](https://core.telegram.org/api/stars) for more info. type PaymentsPaymentFormStars struct { - FormID int64 // Form ID. - BotID int64 // Bot ID. - Title string // Form title - Description string // Description - Photo WebDocument `tl:"flag:5"` // Product photo - Invoice *Invoice // Invoice - Users []User // Info about users mentioned in the other fields. + CanSaveCredentials bool `tl:"flag:2,encoded_in_bitflags"` + PasswordMissing bool `tl:"flag:3,encoded_in_bitflags"` + FormID int64 + BotID int64 + Title string + Description string + Photo WebDocument `tl:"flag:5"` + Invoice *Invoice + Users []User } func (*PaymentsPaymentFormStars) CRC() uint32 { diff --git a/telegram/methods_gen.go b/telegram/methods_gen.go index 2c48ebe0..d19b899c 100755 --- a/telegram/methods_gen.go +++ b/telegram/methods_gen.go @@ -5758,6 +5758,7 @@ func (c *Client) ChatlistsDeleteExportedInvite(chatlist *InputChatlistDialogFilt } type ChatlistsEditExportedInviteParams struct { + Revoked bool `tl:"flag:0,encoded_in_bitflags"` Chatlist *InputChatlistDialogFilter Slug string Title string `tl:"flag:1"` @@ -5773,13 +5774,8 @@ func (*ChatlistsEditExportedInviteParams) FlagIndex() int { } // Edit a [chat folder deep link »](https://core.telegram.org/api/links#chat-folder-links). -func (c *Client) ChatlistsEditExportedInvite(chatlist *InputChatlistDialogFilter, slug, title string, peers []InputPeer) (*ExportedChatlistInvite, error) { - responseData, err := c.MakeRequest(&ChatlistsEditExportedInviteParams{ - Chatlist: chatlist, - Peers: peers, - Slug: slug, - Title: title, - }) +func (c *Client) ChatlistsEditExportedInvite(params *ChatlistsEditExportedInviteParams) (*ExportedChatlistInvite, error) { + responseData, err := c.MakeRequest(params) if err != nil { return nil, errors.Wrap(err, "sending ChatlistsEditExportedInvite") } @@ -6167,6 +6163,26 @@ func (c *Client) ContactsEditCloseFriends(id []int64) (bool, error) { return resp, nil } +type ContactsExportCardParams struct{} + +func (*ContactsExportCardParams) CRC() uint32 { + return 0x84e53737 +} + +// Returns the current user's card that can be later used to contact a Telegram user without knowing his phone number. +func (c *Client) ContactsExportCard() ([]int32, error) { + responseData, err := c.MakeRequest(&ContactsExportCardParams{}) + if err != nil { + return nil, errors.Wrap(err, "sending ContactsExportCard") + } + + resp, ok := responseData.([]int32) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type ContactsExportContactTokenParams struct{} func (*ContactsExportContactTokenParams) CRC() uint32 { @@ -6395,6 +6411,28 @@ func (c *Client) ContactsGetTopPeers(params *ContactsGetTopPeersParams) (Contact return resp, nil } +type ContactsImportCardParams struct { + ExportCard []int32 +} + +func (*ContactsImportCardParams) CRC() uint32 { + return 0x4fe196fe +} + +// Returns general information on a user using his previously [exported card](https://core.telegram.orghttps://core.telegram.org/method/contacts.exportCard) as input.
    The app may use it to open a conversation without knowing the user's phone number. +func (c *Client) ContactsImportCard(exportCard []int32) (User, error) { + responseData, err := c.MakeRequest(&ContactsImportCardParams{ExportCard: exportCard}) + if err != nil { + return nil, errors.Wrap(err, "sending ContactsImportCard") + } + + resp, ok := responseData.(User) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type ContactsImportContactTokenParams struct { Token string } @@ -6639,6 +6677,28 @@ func (c *Client) ContactsUnblock(myStoriesFrom bool, id InputPeer) (bool, error) return resp, nil } +type FoldersDeleteFolderParams struct { + FolderID int32 +} + +func (*FoldersDeleteFolderParams) CRC() uint32 { + return 0x1c295881 +} + +// Delete a [peer folder](https://core.telegram.org/api/folders#peer-folders) +func (c *Client) FoldersDeleteFolder(folderID int32) (Updates, error) { + responseData, err := c.MakeRequest(&FoldersDeleteFolderParams{FolderID: folderID}) + if err != nil { + return nil, errors.Wrap(err, "sending FoldersDeleteFolder") + } + + resp, ok := responseData.(Updates) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type FoldersEditPeerFoldersParams struct { FolderPeers []*InputFolderPeer } @@ -6759,6 +6819,31 @@ func (c *Client) HelpEditUserInfo(userID InputUser, message string, entities []M return resp, nil } +type HelpGetAppChangelogParams struct { + PrevAppVersion string +} + +func (*HelpGetAppChangelogParams) CRC() uint32 { + return 0x9010ef6f +} + +/* +Get changelog of current app.
    +Typically, an [updates](https://core.telegram.org/constructor/updates) constructor will be returned, containing one or more [updateServiceNotification](https://core.telegram.org/constructor/updateServiceNotification) updates with app-specific changelogs. +*/ +func (c *Client) HelpGetAppChangelog(prevAppVersion string) (Updates, error) { + responseData, err := c.MakeRequest(&HelpGetAppChangelogParams{PrevAppVersion: prevAppVersion}) + if err != nil { + return nil, errors.Wrap(err, "sending HelpGetAppChangelog") + } + + resp, ok := responseData.(Updates) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type HelpGetAppConfigParams struct { Hash int32 } @@ -7603,6 +7688,31 @@ func (c *Client) MessagesClearRecentStickers(attached bool) (bool, error) { return resp, nil } +type MessagesConvertStarGiftParams struct { + UserID InputUser + MsgID int32 +} + +func (*MessagesConvertStarGiftParams) CRC() uint32 { + return 0x421e027 +} + +func (c *Client) MessagesConvertStarGift(userID InputUser, msgID int32) (bool, error) { + responseData, err := c.MakeRequest(&MessagesConvertStarGiftParams{ + MsgID: msgID, + UserID: userID, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesConvertStarGift") + } + + 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 @@ -8341,6 +8451,34 @@ func (c *Client) MessagesFaveSticker(id InputDocument, unfave bool) (bool, error return resp, nil } +type MessagesForwardMessageParams struct { + Peer InputPeer + ID int32 + RandomID int64 +} + +func (*MessagesForwardMessageParams) CRC() uint32 { + return 0x33963bf9 +} + +// Forwards single messages. +func (c *Client) MessagesForwardMessage(peer InputPeer, id int32, randomID int64) (Updates, error) { + responseData, err := c.MakeRequest(&MessagesForwardMessageParams{ + ID: id, + Peer: peer, + RandomID: randomID, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesForwardMessage") + } + + resp, ok := responseData.(Updates) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesForwardMessagesParams struct { Silent bool `tl:"flag:5,encoded_in_bitflags"` Background bool `tl:"flag:6,encoded_in_bitflags"` @@ -8402,6 +8540,28 @@ func (c *Client) MessagesGetAdminsWithInvites(peer InputPeer) (*MessagesChatAdmi return resp, nil } +type MessagesGetAllChatsParams struct { + ExceptIds []int64 +} + +func (*MessagesGetAllChatsParams) CRC() uint32 { + return 0x875f74be +} + +// Get all chats, channels and supergroups +func (c *Client) MessagesGetAllChats(exceptIds []int64) (MessagesChats, error) { + responseData, err := c.MakeRequest(&MessagesGetAllChatsParams{ExceptIds: exceptIds}) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetAllChats") + } + + resp, ok := responseData.(MessagesChats) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesGetAllDraftsParams struct{} func (*MessagesGetAllDraftsParams) CRC() uint32 { @@ -8920,16 +9080,16 @@ func (c *Client) MessagesGetDiscussionMessage(peer InputPeer, msgID int32) (*Mes type MessagesGetDocumentByHashParams struct { SHA256 []byte - Size int64 + Size int32 MimeType string } func (*MessagesGetDocumentByHashParams) CRC() uint32 { - return 0xb1f2061f + return 0x338e2464 } // Get a document by its SHA256 hash, mainly used for gifs -func (c *Client) MessagesGetDocumentByHash(sha256 []byte, size int64, mimeType string) (Document, error) { +func (c *Client) MessagesGetDocumentByHash(sha256 []byte, size int32, mimeType string) (Document, error) { responseData, err := c.MakeRequest(&MessagesGetDocumentByHashParams{ MimeType: mimeType, SHA256: sha256, @@ -10347,6 +10507,59 @@ func (c *Client) MessagesGetSplitRanges() ([]*MessageRange, error) { return resp, nil } +type MessagesGetStarGiftsParams struct { + Hash int32 +} + +func (*MessagesGetStarGiftsParams) CRC() uint32 { + return 0xc4563590 +} + +func (c *Client) MessagesGetStarGifts(hash int32) (StarGifts, error) { + responseData, err := c.MakeRequest(&MessagesGetStarGiftsParams{Hash: hash}) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetStarGifts") + } + + resp, ok := responseData.(StarGifts) + 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 + Params string +} + +func (*MessagesGetStatsURLParams) CRC() uint32 { + return 0x812c2ae6 +} + +func (*MessagesGetStatsURLParams) FlagIndex() int { + return 0 +} + +// Returns URL with the chat statistics. Currently this method can be used only for channels +func (c *Client) MessagesGetStatsURL(dark bool, peer InputPeer, params string) (*StatsURL, error) { + responseData, err := c.MakeRequest(&MessagesGetStatsURLParams{ + Dark: dark, + Params: params, + Peer: peer, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetStatsURL") + } + + resp, ok := responseData.(*StatsURL) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesGetStickerSetParams struct { Stickerset InputStickerSet Hash int32 @@ -10509,6 +10722,33 @@ func (c *Client) MessagesGetUnreadReactions(params *MessagesGetUnreadReactionsPa return resp, nil } +type MessagesGetUserStarGiftsParams struct { + UserID InputUser + Offset string + Limit int32 +} + +func (*MessagesGetUserStarGiftsParams) CRC() uint32 { + return 0x5e72c7e1 +} + +func (c *Client) MessagesGetUserStarGifts(userID InputUser, offset string, limit int32) (*UserStarGifts, error) { + responseData, err := c.MakeRequest(&MessagesGetUserStarGiftsParams{ + Limit: limit, + Offset: offset, + UserID: userID, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetUserStarGifts") + } + + resp, ok := responseData.(*UserStarGifts) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesGetWebPageParams struct { URL string Hash int32 @@ -10565,6 +10805,33 @@ func (c *Client) MessagesGetWebPagePreview(message string, entities []MessageEnt return resp, nil } +type MessagesGetWebViewResultParams struct { + Peer InputPeer + Bot InputUser + QueryID int64 +} + +func (*MessagesGetWebViewResultParams) CRC() uint32 { + return 0x22b6c214 +} + +func (c *Client) MessagesGetWebViewResult(peer InputPeer, bot InputUser, queryID int64) (*MessagesWebViewResult, error) { + responseData, err := c.MakeRequest(&MessagesGetWebViewResultParams{ + Bot: bot, + Peer: peer, + QueryID: queryID, + }) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesGetWebViewResult") + } + + resp, ok := responseData.(*MessagesWebViewResult) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesHideAllChatJoinRequestsParams struct { Approved bool `tl:"flag:0,encoded_in_bitflags"` Peer InputPeer @@ -11190,21 +11457,21 @@ func (c *Client) MessagesReorderStickerSets(masks, emojis bool, order []int64) ( type MessagesReportParams struct { Peer InputPeer ID []int32 - Reason ReportReason + Option []byte Message string } func (*MessagesReportParams) CRC() uint32 { - return 0x8953ab4e + return 0xfc78af9b } // Report a message in a chat for violation of telegram's Terms of Service -func (c *Client) MessagesReport(peer InputPeer, id []int32, reason ReportReason, message string) (bool, error) { +func (c *Client) MessagesReport(peer InputPeer, id []int32, option []byte, message string) (bool, error) { responseData, err := c.MakeRequest(&MessagesReportParams{ ID: id, Message: message, + Option: option, Peer: peer, - Reason: reason, }) if err != nil { return false, errors.Wrap(err, "sending MessagesReport") @@ -11600,6 +11867,37 @@ func (c *Client) MessagesSaveRecentSticker(attached bool, id InputDocument, unsa return resp, nil } +type MessagesSaveStarGiftParams struct { + Unsave bool `tl:"flag:0,encoded_in_bitflags"` + UserID InputUser + MsgID int32 +} + +func (*MessagesSaveStarGiftParams) CRC() uint32 { + return 0x87acf08e +} + +func (*MessagesSaveStarGiftParams) FlagIndex() int { + return 0 +} + +func (c *Client) MessagesSaveStarGift(unsave bool, userID InputUser, msgID int32) (bool, error) { + responseData, err := c.MakeRequest(&MessagesSaveStarGiftParams{ + MsgID: msgID, + Unsave: unsave, + UserID: userID, + }) + if err != nil { + return false, errors.Wrap(err, "sending MessagesSaveStarGift") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesSearchParams struct { Peer InputPeer Q string @@ -11890,6 +12188,25 @@ func (c *Client) MessagesSendEncryptedFile(params *MessagesSendEncryptedFilePara return resp, nil } +type MessagesSendEncryptedMultiMediaParams struct{} + +func (*MessagesSendEncryptedMultiMediaParams) CRC() uint32 { + return 0xcacacaca +} + +func (c *Client) MessagesSendEncryptedMultiMedia() (MessagesSentEncryptedMessage, error) { + responseData, err := c.MakeRequest(&MessagesSendEncryptedMultiMediaParams{}) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesSendEncryptedMultiMedia") + } + + resp, ok := responseData.(MessagesSentEncryptedMessage) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesSendEncryptedServiceParams struct { Peer *InputEncryptedChat RandomID int64 @@ -12279,20 +12596,16 @@ func (c *Client) MessagesSendWebViewData(bot InputUser, randomID int64, buttonTe } type MessagesSendWebViewResultMessageParams struct { - BotQueryID string - Result InputBotInlineResult + QueryID int64 } func (*MessagesSendWebViewResultMessageParams) CRC() uint32 { - return 0xa4314f5 + return 0xddcf50eb } // Terminate webview interaction started with [messages.requestWebView](https://core.telegram.org/method/messages.requestWebView), sending the specified message to the chat on behalf of the user. -func (c *Client) MessagesSendWebViewResultMessage(botQueryID string, result InputBotInlineResult) (*WebViewMessageSent, error) { - responseData, err := c.MakeRequest(&MessagesSendWebViewResultMessageParams{ - BotQueryID: botQueryID, - Result: result, - }) +func (c *Client) MessagesSendWebViewResultMessage(queryID int64) (*WebViewMessageSent, error) { + responseData, err := c.MakeRequest(&MessagesSendWebViewResultMessageParams{QueryID: queryID}) if err != nil { return nil, errors.Wrap(err, "sending MessagesSendWebViewResultMessage") } @@ -12715,6 +13028,27 @@ func (c *Client) MessagesSetTyping(peer InputPeer, topMsgID int32, action SendMe return resp, nil } +type MessagesSetWebViewResultParams struct { + QueryID int64 +} + +func (*MessagesSetWebViewResultParams) CRC() uint32 { + return 0xe41cd11d +} + +func (c *Client) MessagesSetWebViewResult(queryID int64) (bool, error) { + responseData, err := c.MakeRequest(&MessagesSetWebViewResultParams{QueryID: queryID}) + if err != nil { + return false, errors.Wrap(err, "sending MessagesSetWebViewResult") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesStartBotParams struct { Bot InputUser Peer InputPeer @@ -14003,6 +14337,50 @@ func (c *Client) PaymentsRefundStarsCharge(userID InputUser, chargeID string) (U return resp, nil } +type PaymentsRequestRecurringPaymentParams struct { + UserID InputUser + RecurringInitCharge string + InvoiceMedia InputMedia +} + +func (*PaymentsRequestRecurringPaymentParams) CRC() uint32 { + return 0x146e958d +} + +/* +
    + + + +
    +
     `Method schema is available as of layer 143. [Switch »](https://core.telegram.org?layer=143)`
    +*/ +func (c *Client) PaymentsRequestRecurringPayment(userID InputUser, recurringInitCharge string, invoiceMedia InputMedia) (Updates, error) { + responseData, err := c.MakeRequest(&PaymentsRequestRecurringPaymentParams{ + InvoiceMedia: invoiceMedia, + RecurringInitCharge: recurringInitCharge, + UserID: userID, + }) + if err != nil { + return nil, errors.Wrap(err, "sending PaymentsRequestRecurringPayment") + } + + resp, ok := responseData.(Updates) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type PaymentsSendPaymentFormParams struct { FormID int64 Invoice InputInvoice @@ -14040,7 +14418,7 @@ type PaymentsSendStarsFormParams struct { } func (*PaymentsSendStarsFormParams) CRC() uint32 { - return 0x2bb731d + return 0x7998c914 } // Make a payment using [Telegram Stars, see here »](https://core.telegram.org/api/stars#using-stars) for more info. @@ -16442,21 +16820,21 @@ func (c *Client) StoriesReadStories(peer InputPeer, maxID int32) ([]int32, error type StoriesReportParams struct { Peer InputPeer ID []int32 - Reason ReportReason + Option []byte Message string } func (*StoriesReportParams) CRC() uint32 { - return 0x1923fa8c + return 0x19d8eb45 } // Report a story. -func (c *Client) StoriesReport(peer InputPeer, id []int32, reason ReportReason, message string) (bool, error) { +func (c *Client) StoriesReport(peer InputPeer, id []int32, option []byte, message string) (bool, error) { responseData, err := c.MakeRequest(&StoriesReportParams{ ID: id, Message: message, + Option: option, Peer: peer, - Reason: reason, }) if err != nil { return false, errors.Wrap(err, "sending StoriesReport") @@ -16844,15 +17222,15 @@ func (c *Client) UploadGetFile(params *UploadGetFileParams) (UploadFile, error) type UploadGetFileHashesParams struct { Location InputFileLocation - Offset int64 + Offset int32 } func (*UploadGetFileHashesParams) CRC() uint32 { - return 0x9156982a + return 0xc7025931 } // Get SHA256 hashes for verifying downloaded files -func (c *Client) UploadGetFileHashes(location InputFileLocation, offset int64) ([]*FileHash, error) { +func (c *Client) UploadGetFileHashes(location InputFileLocation, offset int32) ([]*FileHash, error) { responseData, err := c.MakeRequest(&UploadGetFileHashesParams{ Location: location, Offset: offset, diff --git a/telegram/types_gen.go b/telegram/types_gen.go index 8d3c5b40..9a9e5060 100755 --- a/telegram/types_gen.go +++ b/telegram/types_gen.go @@ -221,6 +221,15 @@ func (*AccountDaysTtl) CRC() uint32 { return 0xb8d0afdf } +// Contains the link that must be used to open a [direct link Mini App](https://core.telegram.org/api/bots/webapps#direct-link-mini-apps). +type AppWebViewResultURL struct { + URL string +} + +func (*AppWebViewResultURL) CRC() uint32 { + return 0x3c1b4f0d +} + // Represents a [bot mini app that can be launched from the attachment/side menu »](https://core.telegram.org/api/bots/attach) type AttachMenuBot struct { Inactive bool `tl:"flag:0,encoded_in_bitflags"` @@ -1208,15 +1217,20 @@ func (*Error) CRC() uint32 { // Exported [chat folder deep link »](https://core.telegram.org/api/links#chat-folder-links). type ExportedChatlistInvite struct { - Title string - URL string - Peers []Peer + Revoked bool `tl:"flag:0,encoded_in_bitflags"` + Title string + URL string + Peers []Peer } func (*ExportedChatlistInvite) CRC() uint32 { return 0xc5181ac } +func (*ExportedChatlistInvite) FlagIndex() int { + return 0 +} + // Describes a [temporary profile link](https://core.telegram.org/api/links#temporary-profile-links). type ExportedContactToken struct { URL string @@ -1273,6 +1287,17 @@ func (*FileHash) CRC() uint32 { return 0xf39b035c } +// File is currently unavailable. +type FileLocationUnavailable struct { + VolumeID int64 + LocalID int32 + Secret int64 +} + +func (*FileLocationUnavailable) CRC() uint32 { + return 0x7c596b46 +} + // Folder type Folder struct { AutofillNewBroadcasts bool `tl:"flag:0,encoded_in_bitflags"` @@ -2125,6 +2150,15 @@ func (*MessageReplies) FlagIndex() int { return 0 } +type MessageReportOption struct { + Text string + Option []byte +} + +func (*MessageReportOption) CRC() uint32 { + return 0x7903e3d9 +} + // View, forward counter + info about replies of a specific message type MessageViews struct { Views int32 `tl:"flag:0"` @@ -2574,6 +2608,15 @@ func (*MessagesWebPage) CRC() uint32 { return 0xfd5e12bd } +type MessagesWebViewResult struct { + Result BotInlineResult + Users []User +} + +func (*MessagesWebViewResult) CRC() uint32 { + return 0xaadf159b +} + // Info about why a specific user could not be [invited »](https://core.telegram.org/api/invites#direct-invites). type MissingInvitee struct { PremiumWouldAllowInvite bool `tl:"flag:0,encoded_in_bitflags"` @@ -2790,6 +2833,15 @@ func (*PaymentsExportedInvoice) CRC() uint32 { return 0xaed0cbd9 } +type PaymentsPaymentFormStarGift struct { + FormID int64 + Invoice *Invoice +} + +func (*PaymentsPaymentFormStarGift) CRC() uint32 { + return 0xb425cfe1 +} + // Saved server-side order information type PaymentsSavedInfo struct { HasSavedCredentials bool `tl:"flag:1,encoded_in_bitflags"` @@ -3481,6 +3533,15 @@ func (*ShippingOption) CRC() uint32 { return 0xb6213cdf } +// Contains the webview URL with appropriate theme parameters added +type SimpleWebViewResultURL struct { + URL string +} + +func (*SimpleWebViewResultURL) CRC() uint32 { + return 0x882f76bb +} + // Info about an SMS job. type SmsJob struct { JobID string @@ -3557,6 +3618,24 @@ func (*SponsoredMessageReportOption) CRC() uint32 { return 0x430d3150 } +type StarGift struct { + Limited bool `tl:"flag:0,encoded_in_bitflags"` + ID int64 + Sticker Document + Stars int64 + AvailabilityRemains int32 `tl:"flag:0"` + AvailabilityTotal int32 `tl:"flag:0"` + ConvertStars int64 +} + +func (*StarGift) CRC() uint32 { + return 0xaea174ee +} + +func (*StarGift) FlagIndex() int { + return 0 +} + // [Telegram Stars gift option](https://core.telegram.org/api/stars#buying-or-gifting-stars). type StarsGiftOption struct { Extended bool `tl:"flag:1,encoded_in_bitflags"` @@ -3676,6 +3755,7 @@ type StarsTransaction struct { Failed bool `tl:"flag:6,encoded_in_bitflags"` Gift bool `tl:"flag:10,encoded_in_bitflags"` Reaction bool `tl:"flag:11,encoded_in_bitflags"` + Subscription bool `tl:"flag:12,encoded_in_bitflags"` ID string Stars int64 Date int32 @@ -3690,10 +3770,11 @@ type StarsTransaction struct { ExtendedMedia []MessageMedia `tl:"flag:9"` SubscriptionPeriod int32 `tl:"flag:12"` GiveawayPostID int32 `tl:"flag:13"` + Stargift *StarGift `tl:"flag:14"` } func (*StarsTransaction) CRC() uint32 { - return 0xee7522d5 + return 0xa9ee4c2 } func (*StarsTransaction) FlagIndex() int { @@ -4252,16 +4333,51 @@ type UserFull struct { Birthday *Birthday `tl:"flag2:5"` PersonalChannelID int64 `tl:"flag2:6"` PersonalChannelMessage int32 `tl:"flag2:6"` + StargiftsCount int32 `tl:"flag2:8"` } func (*UserFull) CRC() uint32 { - return 0xcc997720 + return 0x1f58e369 } func (*UserFull) FlagIndex() int { return 14 } +type UserStarGift struct { + NameHidden bool `tl:"flag:0,encoded_in_bitflags"` + Unsaved bool `tl:"flag:5,encoded_in_bitflags"` + FromID int64 `tl:"flag:1"` + Date int32 + Gift *StarGift + Message *TextWithEntities `tl:"flag:2"` + MsgID int32 `tl:"flag:3"` + ConvertStars int64 `tl:"flag:4"` +} + +func (*UserStarGift) CRC() uint32 { + return 0xeea49a6e +} + +func (*UserStarGift) FlagIndex() int { + return 0 +} + +type UserStarGifts struct { + Count int32 + Gifts []*UserStarGift + NextOffset string `tl:"flag:0"` + Users []User +} + +func (*UserStarGifts) CRC() uint32 { + return 0x6b65b517 +} + +func (*UserStarGifts) FlagIndex() int { + return 0 +} + // Contains information about a username. type Username struct { Editable bool `tl:"flag:0,encoded_in_bitflags"`