From 1706e6b4d1cbebed184e7b714f9f6522b4b4710b Mon Sep 17 00:00:00 2001 From: Amarnath C Date: Mon, 29 Jul 2024 21:24:17 +0530 Subject: [PATCH 1/5] Update README.md update readme --- README.md | 151 +++++++++++++++++++++++++++--------------------------- 1 file changed, 75 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index 5da496d7..6905f121 100644 --- a/README.md +++ b/README.md @@ -3,54 +3,56 @@ Gogram
- Telegram MTProto API Framework for Golang + modern golang library for mtproto
- - HOME - - • - - DOCS - - • - - RELEASES - - • - - SUPPORT - + documentation +  •  + releases +  •  + telegram chat

-## GoGram - -

Light Weight, Fast, Elegant Telegram MTProto API framework in Golang for building Telegram clients and bots.

- -## Status - -[![GoDoc](https://godoc.org/github.com/amarnathcjd/gogram?status.svg)](https://godoc.org/github.com/amarnathcjd/gogram) -[![Go Report Card](https://goreportcard.com/badge/github.com/amarnathcjd/gogram)](https://goreportcard.com/report/github.com/amarnathcjd/gogram) -[![License](https://img.shields.io/github/license/amarnathcjd/gogram.svg)](https://img.shields.io/github/license/amarnathcjd/gogram.svg) -[![GitHub stars](https://img.shields.io/github/stars/amarnathcjd/gogram.svg?style=social&label=Stars)](https://img.shields.io/github/license/amarnathcjd/gogram.svg?style=social&label=Stars) -[![GitHub forks](https://img.shields.io/github/forks/amarnathcjd/gogram.svg?style=social&label=Fork)](https://img.shields.io/github/license/amarnathcjd/gogram.svg?style=social&label=Fork) -[![GitHub issues](https://img.shields.io/github/issues/amarnathcjd/gogram.svg)](https://img.shields.io/github/license/amarnathcjd/gogram.svg) -[![GitHub pull requests](https://img.shields.io/github/issues-pr/amarnathcjd/gogram.svg)](https://img.shields.io/github/license/amarnathcjd/gogram.svg) +
+ + GoDoc + + + Go Report Card + + + License + + + GitHub stars + + + GitHub forks + +
+ +

⭐️ Gogram is a modern, elegant and concurrent MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Go.

+
+ +> [!WARNING] +> gogram is currently in beta stage: there may be a few bugs +> feel free to try it out, though, any feedback is appreciated! -## Setup -

Please note that Gogram requires Go 1.18 or later.

+## setup + +

please note that gogram requires Go 1.18 or later to support go-generics

```bash go get -u github.com/amarnathcjd/gogram/telegram ``` -## Getting Started +## quick start ```golang package main @@ -60,7 +62,6 @@ import "github.com/amarnathcjd/gogram/telegram" func main() { client, err := telegram.NewClient(telegram.ClientConfig{ AppID: 6, AppHash: "", - // StringSession: "", }) if err != nil { @@ -71,38 +72,41 @@ func main() { client.On(telegram.OnMessage, func(message *telegram.NewMessage) error { // client.AddMessageHandler message.Reply("Hello from Gogram!") - return nil - }, - telegram.FilterPrivate) // waits for private messages only + return nil + }, telegram.FilterPrivate) // waits for private messages only client.Idle() // block main goroutine until client is closed } ``` -## Support +## support dev If you'd like to support Gogram, you can consider: -- [Become a GitHub sponsor](https://github.com/sponsors/amarnathcjd). +- become a github sponsor +- star this repo :) -## Key Features +## key features -- **Ready**: Install Gogram with go get and you are ready to go! -- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages. -- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way. -- **Fast**: Backed by a powerful and concurrent library, Gogram can handle even the heaviest workloads. -- **Zero Dependencies**: No need to install anything else than Gogram itself. -- **Powerful**: Full access to Telegram's API to execute any official client action and more. -- **Feature-Rich**: Built-in support for file uploading, formatting, custom keyboards, message editing, moderation tools and more. -- **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). +
    +
  • ready: 🚀 install gogram with go get and you are ready to go!
  • +
  • easy: 😊 makes the telegram api simple and intuitive, while still allowing advanced usages.
  • +
  • elegant: 💎 low-level details are abstracted and re-presented in a more convenient way.
  • +
  • fast: ⚡ backed by a powerful and concurrent library, gogram can handle even the heaviest workloads.
  • +
  • zero dependencies: 🛠️ no need to install anything else than gogram itself.
  • +
  • powerful: 💪 full access to telegram's api to execute any official client action and more.
  • +
  • feature-rich: 🌟 built-in support for file uploading, formatting, custom keyboards, message editing, moderation tools and more.
  • +
  • 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 - **184** (Updated on 2024-07-07) -## Doing Stuff +#### Current Layer - **184** (Updated on 2024-07-07) -#### Sending a Message +## doing stuff ```golang +// sending a message + client.SendMessage("username", "Hello from Gogram!") client.SendDice("username", "🎲") @@ -113,9 +117,9 @@ client.On("message:/start", func(m *telegram.NewMessage) error { }) ``` -#### Sending Media - ```golang +// sending media + client.SendMedia("username", "", &telegram.MediaOptions{ // filename/inputmedia,... Caption: "Hello from Gogram!", TTL: int32((math.Pow(2, 31) - 1)), // TTL For OneTimeMedia @@ -140,9 +144,9 @@ client.SendMedia("username", "", &telegram.MediaOptions{ }) ``` -#### Inline Queries - ```golang +// inline queries + client.On("inline:", func(iq *telegram.InlineQuery) error { // client.AddInlineHandler builder := iq.Builder() builder.Article("", "<description>", "<text>", &telegram.ArticleOptions{ @@ -153,9 +157,9 @@ client.On("inline:<pattern>", func(iq *telegram.InlineQuery) error { // client.A }) ``` -#### Callback Queries - ```golang +// callback queries + client.On("callback:<pattern>", func(cb *telegram.CallbackQuery) error { // client.AddCallbackHandler cb.Answer("This is a callback response", &CallbackOptions{ Alert: true, @@ -164,34 +168,29 @@ client.On("callback:<pattern>", func(cb *telegram.CallbackQuery) error { // clie }) ``` -For more examples, check the [examples](examples) directory. +For more examples, check the **[examples](examples)** directory. -## Features TODO +## features -- [x] Basic MTProto implementation (LAYER 184) -- [x] Updates handling system + Cache -- [x] HTML, Markdown Parsing, Friendly Methods -- [x] Support for Flag2.0, Layer 147 -- [x] WebRTC Calls Support -- [ ] Documentation for all methods -- [x] Stabilize File Uploading -- [x] Stabilize File Downloading -- [ ] Secret Chats Support -- [ ] Cdn DC Support +- [x] basic mtproto implementation (layer 184) +- [x] updates handling system + cache +- [x] html, markdown parsing, friendly methods +- [x] support for flag2.0, layer 147 +- [x] webrtc calls support +- [ ] documentation for all methods +- [x] stabilize file uploading +- [x] stabilize file downloading +- [ ] secret chats support +- [ ] cdn dc support -## Known Issues +## known issues -- [x] ~ Open Issues if Found :) +- [x] ~ open issues if found :) -## Contributing +## contributing Gogram is an open-source project and your contribution is very much appreciated. If you'd like to contribute, simply fork the repository, commit your changes and send a pull request. If you have any questions, feel free to ask. -## Resources - -- Documentation: [documentation](https://gogramd.vercel.app) (not finished yet) -- Support: [@rosexchat](https://t.me/rosexchat), [@EvieSupport](https://t.me/EvieSupport) - ## License This library is provided under the terms of the [GPL-3.0 License](LICENSE). From a33ef0c7a0eb91d040b2fe3f0f3fc6bb03f2f5e4 Mon Sep 17 00:00:00 2001 From: Amarnath C <amarnathcharichilil@gmail.com> Date: Mon, 29 Jul 2024 21:27:30 +0530 Subject: [PATCH 2/5] Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 6905f121..be203eb5 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,23 @@ identity (bot API alternative) using Go.</p> > gogram is currently in beta stage: there may be a few bugs > feel free to try it out, though, any feedback is appreciated! +## 📚 Table of Contents + +- [🚀 Setup](#setup) +- [⚡ Quick Start](#quick-start) +- [💖 Support Dev](#support-dev) +- [🌟 Key Features](#key-features) +- [💡 Doing Stuff](#doing-stuff) + - [💬 Sending a Message](#sending-a-message) + - [📷 Sending Media](#sending-media) + - [🔍 Inline Queries](#inline-queries) + - [🔔 Callback Queries](#callback-queries) +- [🛠️ Features](#features) +- [🐞 Known Issues](#known-issues) +- [👥 Contributing](#contributing) +- [📜 License](#license) + + ## setup From d0c3a939271d3faa31a90dc78b48e10a5daf5658 Mon Sep 17 00:00:00 2001 From: Amarnath C <amarnathcharichilil@gmail.com> Date: Mon, 29 Jul 2024 21:28:48 +0530 Subject: [PATCH 3/5] Update README.md --- README.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/README.md b/README.md index be203eb5..5451fc14 100644 --- a/README.md +++ b/README.md @@ -43,24 +43,6 @@ identity (bot API alternative) using Go.</p> > gogram is currently in beta stage: there may be a few bugs > feel free to try it out, though, any feedback is appreciated! -## 📚 Table of Contents - -- [🚀 Setup](#setup) -- [⚡ Quick Start](#quick-start) -- [💖 Support Dev](#support-dev) -- [🌟 Key Features](#key-features) -- [💡 Doing Stuff](#doing-stuff) - - [💬 Sending a Message](#sending-a-message) - - [📷 Sending Media](#sending-media) - - [🔍 Inline Queries](#inline-queries) - - [🔔 Callback Queries](#callback-queries) -- [🛠️ Features](#features) -- [🐞 Known Issues](#known-issues) -- [👥 Contributing](#contributing) -- [📜 License](#license) - - - ## setup <p>please note that gogram requires Go <b>1.18</b> or later to support go-generics</p> @@ -116,7 +98,6 @@ If you'd like to support Gogram, you can consider: <li><strong>up-to-date</strong>: 🔄 gogram is always in sync with the latest telegram api changes and additions (<code>tl-parser</code> is used to generate the api layer).</li> </ul> - #### Current Layer - **184** (Updated on 2024-07-07) ## doing stuff From eccf79fa28c5bcf78bf2ea9fa3c5d90299269e39 Mon Sep 17 00:00:00 2001 From: Emmanuel Ortiz <eos175@gmail.com> Date: Tue, 30 Jul 2024 12:13:48 -0600 Subject: [PATCH 4/5] add buffer pool to encoder for improved performance --- internal/encoding/tl/encoder.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/internal/encoding/tl/encoder.go b/internal/encoding/tl/encoder.go index 9e101588..31b7e8a3 100755 --- a/internal/encoding/tl/encoder.go +++ b/internal/encoding/tl/encoder.go @@ -6,19 +6,29 @@ import ( "bytes" "fmt" "reflect" + "sync" "github.com/pkg/errors" ) +var bufferPool = sync.Pool{ + New: func() any { + return bytes.NewBuffer(make([]byte, 8*1024)) // 8kb + }, +} + func Marshal(v any) ([]byte, error) { - buf := bytes.NewBuffer(nil) + buf := bufferPool.Get().(*bytes.Buffer) + defer bufferPool.Put(buf) + buf.Reset() + encoder := NewEncoder(buf) encoder.encodeValue(reflect.ValueOf(v)) if err := encoder.CheckErr(); err != nil { return nil, err } - return buf.Bytes(), nil + return bytes.Clone(buf.Bytes()), nil } func (c *Encoder) encodeValue(value reflect.Value) { From bff7701895c5d7a29ffb9e04913c6441beb8507f Mon Sep 17 00:00:00 2001 From: AmarnathCJD <72609355+AmarnathCJD+@users.noreply.github.com> Date: Wed, 31 Jul 2024 18:21:48 +0000 Subject: [PATCH 5/5] tlgen: update TL schema files --- README.md | 2 +- schemes/api.tl | 38 ++++-- telegram/const.go | 2 +- telegram/enums_gen.go | 3 + telegram/init_gen.go | 4 +- telegram/interfaces_gen.go | 76 ++++++++++-- telegram/methods_gen.go | 237 +++++++++++++++++++++++++++++++++++++ telegram/types_gen.go | 49 ++++++++ 8 files changed, 390 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 5451fc14..d5f01297 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ If you'd like to support Gogram, you can consider: <li><strong>up-to-date</strong>: 🔄 gogram is always in sync with the latest telegram api changes and additions (<code>tl-parser</code> is used to generate the api layer).</li> </ul> -#### Current Layer - **184** (Updated on 2024-07-07) +#### Current Layer - **185** (Updated on 2024-07-31) ## doing stuff diff --git a/schemes/api.tl b/schemes/api.tl index 0a45a8e3..67aa880f 100644 --- a/schemes/api.tl +++ b/schemes/api.tl @@ -28,6 +28,7 @@ inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_na inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile; inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile; +inputFileStoryDocument#62dc8b48 id:InputDocument = InputFile; inputMediaEmpty#9664f57f = InputMedia; inputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2?true file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia; @@ -85,7 +86,7 @@ storage.fileMp4#b3cea0e4 = storage.FileType; storage.fileWebp#1081464c = storage.FileType; userEmpty#d3bc4b7a id:long = User; -user#215c4438 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true bot_business:flags2.11?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?int color:flags2.8?PeerColor profile_color:flags2.9?PeerColor = User; +user#83314fca flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true bot_business:flags2.11?true bot_has_main_app:flags2.13?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?int color:flags2.8?PeerColor profile_color:flags2.9?PeerColor bot_active_users:flags2.12?int = User; userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto; userProfilePhoto#82d1f706 flags:# has_video:flags.0?true personal:flags.2?true photo_id:long stripped_thumb:flags.1?bytes dc_id:int = UserProfilePhoto; @@ -182,6 +183,7 @@ messageActionGiveawayResults#2a9fadc5 winners_count:int unclaimed_count:int = Me messageActionBoostApply#cc02aa6d boosts:int = MessageAction; messageActionRequestedPeerSentMe#93b31848 button_id:int peers:Vector<RequestedPeer> = MessageAction; messageActionPaymentRefunded#41b3e202 flags:# peer:Peer currency:string total_amount:long payload:flags.0?bytes charge:PaymentCharge = MessageAction; +messageActionGiftStars#45d5b021 flags:# currency:string amount:long stars:long crypto_currency:flags.0?string crypto_amount:flags.0?long transaction_id:flags.1?string = MessageAction; dialog#d58a08c6 flags:# pinned:flags.2?true unread_mark:flags.3?true view_forum_as_messages:flags.6?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int unread_reactions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage folder_id:flags.4?int ttl_period:flags.5?int = Dialog; dialogFolder#71bd134c flags:# pinned:flags.2?true folder:Folder peer:Peer top_message:int unread_muted_peers_count:int unread_unmuted_peers_count:int unread_muted_messages_count:int unread_unmuted_messages_count:int = Dialog; @@ -570,7 +572,7 @@ accountDaysTTL#b8d0afdf days:int = AccountDaysTTL; documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute; documentAttributeAnimated#11b58939 = DocumentAttribute; documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute; -documentAttributeVideo#d38ff1c2 flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int = DocumentAttribute; +documentAttributeVideo#17399fad flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double = DocumentAttribute; documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute; documentAttributeFilename#15590068 file_name:string = DocumentAttribute; documentAttributeHasStickers#9801d2f7 = DocumentAttribute; @@ -631,7 +633,7 @@ messages.stickerSetNotModified#d3f924eb = messages.StickerSet; botCommand#c27ac8c7 command:string description:string = BotCommand; -botInfo#8f300b57 flags:# user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton = BotInfo; +botInfo#8f300b57 flags:# has_preview_medias:flags.6?true user_id:flags.0?long description:flags.1?string description_photo:flags.4?Photo description_document:flags.5?Document commands:flags.2?Vector<BotCommand> menu_button:flags.3?BotMenuButton = BotInfo; keyboardButton#a2fa4880 text:string = KeyboardButton; keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton; @@ -791,6 +793,7 @@ topPeerCategoryChannels#161d9628 = TopPeerCategory; topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory; topPeerCategoryForwardUsers#a8406ca9 = TopPeerCategory; topPeerCategoryForwardChats#fbeec0f0 = TopPeerCategory; +topPeerCategoryBotsApp#fd9e7bec = TopPeerCategory; topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers; @@ -1455,7 +1458,7 @@ attachMenuPeerTypeBroadcast#7bfbdefc = AttachMenuPeerType; inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice; inputInvoiceSlug#c326caef slug:string = InputInvoice; inputInvoicePremiumGiftCode#98986c0d purpose:InputStorePaymentPurpose option:PremiumGiftCodeOption = InputInvoice; -inputInvoiceStars#1da33ad8 option:StarsTopupOption = InputInvoice; +inputInvoiceStars#65f00ce3 purpose:InputStorePaymentPurpose = InputInvoice; payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice; @@ -1467,7 +1470,8 @@ inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgra inputStorePaymentGiftPremium#616f7fe8 user_id:InputUser currency:string amount:long = InputStorePaymentPurpose; inputStorePaymentPremiumGiftCode#a3805f3f flags:# users:Vector<InputUser> boost_peer:flags.0?InputPeer currency:string amount:long = InputStorePaymentPurpose; inputStorePaymentPremiumGiveaway#160544ca flags:# only_new_subscribers:flags.0?true winners_are_visible:flags.3?true boost_peer:InputPeer additional_peers:flags.1?Vector<InputPeer> countries_iso2:flags.2?Vector<string> prize_description:flags.4?string random_id:long until_date:int currency:string amount:long = InputStorePaymentPurpose; -inputStorePaymentStars#4f0ee8df flags:# stars:long currency:string amount:long = InputStorePaymentPurpose; +inputStorePaymentStarsTopup#dddd0f56 stars:long currency:string amount:long = InputStorePaymentPurpose; +inputStorePaymentStarsGift#1d741ef7 user_id:InputUser stars:long currency:string amount:long = InputStorePaymentPurpose; premiumGiftOption#74c34319 flags:# months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumGiftOption; @@ -1615,6 +1619,7 @@ mediaAreaSuggestedReaction#14455871 flags:# dark:flags.0?true flipped:flags.1?tr mediaAreaChannelPost#770416af coordinates:MediaAreaCoordinates channel_id:long msg_id:int = MediaArea; inputMediaAreaChannelPost#2271f2bf coordinates:MediaAreaCoordinates channel:InputChannel msg_id:int = MediaArea; mediaAreaUrl#37381085 coordinates:MediaAreaCoordinates url:string = MediaArea; +mediaAreaWeather#49a6549c coordinates:MediaAreaCoordinates emoji:string temperature_c:double color:int = MediaArea; peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<StoryItem> = PeerStories; @@ -1808,7 +1813,7 @@ starsTransactionPeerAds#60682812 = StarsTransactionPeer; starsTopupOption#bd915c0 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsTopupOption; -starsTransaction#2db5418f flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?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<MessageMedia> = StarsTransaction; +starsTransaction#2db5418f flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?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<MessageMedia> = StarsTransaction; payments.starsStatus#8cf4ee60 flags:# balance:long history:Vector<StarsTransaction> next_offset:flags.0?string chats:Vector<Chat> users:Vector<User> = payments.StarsStatus; @@ -1828,6 +1833,14 @@ payments.starsRevenueAdsAccountUrl#394e7f21 url:string = payments.StarsRevenueAd inputStarsTransaction#206ae6d1 flags:# refund:flags.0?true id:string = InputStarsTransaction; +starsGiftOption#5e0589f1 flags:# extended:flags.1?true stars:long store_product:flags.0?string currency:string amount:long = StarsGiftOption; + +bots.popularAppBots#1991b13b flags:# next_offset:flags.0?string users:Vector<User> = bots.PopularAppBots; + +botPreviewMedia#23e91ba3 date:int media:MessageMedia = BotPreviewMedia; + +bots.previewInfo#ca71d64 media:Vector<BotPreviewMedia> lang_codes:Vector<string> = bots.PreviewInfo; + ---functions--- auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode; @@ -1983,7 +1996,7 @@ contacts.unblock#b550d328 flags:# my_stories_from:flags.0?true id:InputPeer = Bo contacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0?true offset:int limit:int = contacts.Blocked; contacts.search#11f812d8 q:string limit:int = contacts.Found; contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer; -contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:long = contacts.TopPeers; +contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true bots_app:flags.16?true offset:int limit:int hash:long = contacts.TopPeers; contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool; contacts.resetSaved#879537f1 = Bool; contacts.getSaved#82f1e39f = Vector<SavedContact>; @@ -2212,6 +2225,7 @@ messages.getAvailableEffects#dea20a39 hash:int = messages.AvailableEffects; messages.editFactCheck#589ee75 peer:InputPeer msg_id:int text:TextWithEntities = Updates; messages.deleteFactCheck#d1da940c peer:InputPeer msg_id:int = Updates; messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCheck>; +messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult; 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; @@ -2340,6 +2354,13 @@ bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool; bots.canSendMessage#1359f4e6 bot:InputUser = Bool; bots.allowSendMessage#f132e3ef bot:InputUser = Updates; bots.invokeWebViewCustomMethod#87fc5e7 bot:InputUser custom_method:string params:DataJSON = DataJSON; +bots.getPopularAppBots#c2510192 offset:string limit:int = bots.PopularAppBots; +bots.addPreviewMedia#17aeb75a bot:InputUser lang_code:string media:InputMedia = BotPreviewMedia; +bots.editPreviewMedia#8525606f bot:InputUser lang_code:string media:InputMedia new_media:InputMedia = BotPreviewMedia; +bots.deletePreviewMedia#2d0135b3 bot:InputUser lang_code:string media:Vector<InputMedia> = Bool; +bots.reorderPreviewMedias#b627f3aa bot:InputUser lang_code:string order:Vector<InputMedia> = Bool; +bots.getPreviewInfo#423ab3ad bot:InputUser lang_code:string = bots.PreviewInfo; +bots.getPreviewMedias#a2a5594d bot:InputUser = Vector<BotPreviewMedia>; payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm; payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt; @@ -2366,6 +2387,7 @@ payments.getStarsRevenueStats#d91ffad6 flags:# dark:flags.0?true peer:InputPeer payments.getStarsRevenueWithdrawalUrl#13bbe8b3 peer:InputPeer stars:long password:InputCheckPasswordSRP = payments.StarsRevenueWithdrawalUrl; payments.getStarsRevenueAdsAccountUrl#d1d7efc5 peer:InputPeer = payments.StarsRevenueAdsAccountUrl; payments.getStarsTransactionsByID#27842d2e peer:InputPeer id:Vector<InputStarsTransaction> = payments.StarsStatus; +payments.getStarsGiftOptions#d3c96bc8 flags:# user_id:flags.0?InputUser = Vector<StarsGiftOption>; 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<InputStickerSetItem> software:flags.3?string = messages.StickerSet; stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet; @@ -2485,4 +2507,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool; fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo; -// LAYER 184 +// LAYER 185 diff --git a/telegram/const.go b/telegram/const.go index dd8ae1c5..be40f781 100644 --- a/telegram/const.go +++ b/telegram/const.go @@ -3,7 +3,7 @@ package telegram import "regexp" const ( - ApiVersion = 184 + ApiVersion = 185 Version = "v2.3.17" LogDebug = "debug" diff --git a/telegram/enums_gen.go b/telegram/enums_gen.go index d369f5be..5cbb90aa 100755 --- a/telegram/enums_gen.go +++ b/telegram/enums_gen.go @@ -349,6 +349,7 @@ func (e SecureValueType) CRC() uint32 { return uint32(e) } type TopPeerCategory uint32 const ( + TopPeerCategoryBotsApp TopPeerCategory = 0xfd9e7bec TopPeerCategoryBotsInline TopPeerCategory = 0x148677e2 TopPeerCategoryBotsPm TopPeerCategory = 0xab661b5b TopPeerCategoryChannels TopPeerCategory = 0x161d9628 @@ -361,6 +362,8 @@ const ( func (e TopPeerCategory) String() string { switch e { + case TopPeerCategory(0xfd9e7bec): + return "topPeerCategoryBotsApp" case TopPeerCategory(0x148677e2): return "topPeerCategoryBotsInline" case TopPeerCategory(0xab661b5b): diff --git a/telegram/init_gen.go b/telegram/init_gen.go index 92ccd90a..01c2df97 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{}, &BotsAllowSendMessageParams{}, &BotsAnswerWebhookJsonQueryParams{}, &BotsBotInfo{}, &BotsCanSendMessageParams{}, &BotsGetBotCommandsParams{}, &BotsGetBotInfoParams{}, &BotsGetBotMenuButtonParams{}, &BotsInvokeWebViewCustomMethodParams{}, &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{}, &ChannelAdminLogEventActionParticipantToggleAdmin{}, &ChannelAdminLogEventActionParticipantToggleBan{}, &ChannelAdminLogEventActionParticipantUnmute{}, &ChannelAdminLogEventActionParticipantVolume{}, &ChannelAdminLogEventActionPinTopic{}, &ChannelAdminLogEventActionSendMessage{}, &ChannelAdminLogEventActionStartGroupCall{}, &ChannelAdminLogEventActionStopPoll{}, &ChannelAdminLogEventActionToggleAntiSpam{}, &ChannelAdminLogEventActionToggleForum{}, &ChannelAdminLogEventActionToggleGroupCallSetting{}, &ChannelAdminLogEventActionToggleInvites{}, &ChannelAdminLogEventActionToggleNoForwards{}, &ChannelAdminLogEventActionTogglePreHistoryHidden{}, &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{}, &InputFolderPeer{}, &InputGameID{}, &InputGameShortName{}, &InputGeoPointEmpty{}, &InputGeoPointObj{}, &InputGroupCall{}, &InputGroupCallStream{}, &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{}, &InputStorePaymentStars{}, &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{}, &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{}, &MessageActionBoostApply{}, &MessageActionBotAllowed{}, &MessageActionChannelCreate{}, &MessageActionChannelMigrateFrom{}, &MessageActionChatAddUser{}, &MessageActionChatCreate{}, &MessageActionChatDeletePhoto{}, &MessageActionChatDeleteUser{}, &MessageActionChatEditPhoto{}, &MessageActionChatEditTitle{}, &MessageActionChatJoinedByLink{}, &MessageActionChatJoinedByRequest{}, &MessageActionChatMigrateTo{}, &MessageActionContactSignUp{}, &MessageActionCustomAction{}, &MessageActionEmpty{}, &MessageActionGameScore{}, &MessageActionGeoProximityReached{}, &MessageActionGiftCode{}, &MessageActionGiftPremium{}, &MessageActionGiveawayLaunch{}, &MessageActionGiveawayResults{}, &MessageActionGroupCall{}, &MessageActionGroupCallScheduled{}, &MessageActionHistoryClear{}, &MessageActionInviteToGroupCall{}, &MessageActionPaymentRefunded{}, &MessageActionPaymentSent{}, &MessageActionPaymentSentMe{}, &MessageActionPhoneCall{}, &MessageActionPinMessage{}, &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{}, &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{}, &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{}, &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{}, &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{}, &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{}, &PaymentsCheckGiftCodeParams{}, &PaymentsCheckedGiftCode{}, &PaymentsClearSavedInfoParams{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &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{}, &PrepaidGiveaway{}, &PrivacyValueAllowAll{}, &PrivacyValueAllowChatParticipants{}, &PrivacyValueAllowCloseFriends{}, &PrivacyValueAllowContacts{}, &PrivacyValueAllowPremium{}, &PrivacyValueAllowUsers{}, &PrivacyValueDisallowAll{}, &PrivacyValueDisallowChatParticipants{}, &PrivacyValueDisallowContacts{}, &PrivacyValueDisallowUsers{}, &PublicForwardMessage{}, &PublicForwardStory{}, &QuickReply{}, &ReactionCount{}, &ReactionCustomEmoji{}, &ReactionEmoji{}, &ReactionEmpty{}, &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{}, &StarsRevenueStatus{}, &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{}, &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{}, &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{}, &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{}, &ChannelAdminLogEventActionParticipantToggleAdmin{}, &ChannelAdminLogEventActionParticipantToggleBan{}, &ChannelAdminLogEventActionParticipantUnmute{}, &ChannelAdminLogEventActionParticipantVolume{}, &ChannelAdminLogEventActionPinTopic{}, &ChannelAdminLogEventActionSendMessage{}, &ChannelAdminLogEventActionStartGroupCall{}, &ChannelAdminLogEventActionStopPoll{}, &ChannelAdminLogEventActionToggleAntiSpam{}, &ChannelAdminLogEventActionToggleForum{}, &ChannelAdminLogEventActionToggleGroupCallSetting{}, &ChannelAdminLogEventActionToggleInvites{}, &ChannelAdminLogEventActionToggleNoForwards{}, &ChannelAdminLogEventActionTogglePreHistoryHidden{}, &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{}, &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{}, &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{}, &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{}, &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{}, &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{}, &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{}, &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{}, &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{}, &PaymentsCheckGiftCodeParams{}, &PaymentsCheckedGiftCode{}, &PaymentsClearSavedInfoParams{}, &PaymentsExportInvoiceParams{}, &PaymentsExportedInvoice{}, &PaymentsGetBankCardDataParams{}, &PaymentsGetGiveawayInfoParams{}, &PaymentsGetPaymentFormParams{}, &PaymentsGetPaymentReceiptParams{}, &PaymentsGetPremiumGiftCodeOptionsParams{}, &PaymentsGetSavedInfoParams{}, &PaymentsGetStarsGiftOptionsParams{}, &PaymentsGetStarsRevenueAdsAccountURLParams{}, &PaymentsGetStarsRevenueStatsParams{}, &PaymentsGetStarsRevenueWithdrawalURLParams{}, &PaymentsGetStarsStatusParams{}, &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{}, &PrepaidGiveaway{}, &PrivacyValueAllowAll{}, &PrivacyValueAllowChatParticipants{}, &PrivacyValueAllowCloseFriends{}, &PrivacyValueAllowContacts{}, &PrivacyValueAllowPremium{}, &PrivacyValueAllowUsers{}, &PrivacyValueDisallowAll{}, &PrivacyValueDisallowChatParticipants{}, &PrivacyValueDisallowContacts{}, &PrivacyValueDisallowUsers{}, &PublicForwardMessage{}, &PublicForwardStory{}, &QuickReply{}, &ReactionCount{}, &ReactionCustomEmoji{}, &ReactionEmoji{}, &ReactionEmpty{}, &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{}, &StarsRevenueStatus{}, &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{}, &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{}, &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.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, 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, 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 6ddf6fbb..7087a2c4 100755 --- a/telegram/interfaces_gen.go +++ b/telegram/interfaces_gen.go @@ -2009,11 +2009,12 @@ type DocumentAttributeVideo struct { Duration float64 W int32 H int32 - PreloadPrefixSize int32 `tl:"flag:2"` + PreloadPrefixSize int32 `tl:"flag:2"` + VideoStartTs float64 `tl:"flag:4"` } func (*DocumentAttributeVideo) CRC() uint32 { - return 0xd38ff1c2 + return 0x17399fad } func (*DocumentAttributeVideo) FlagIndex() int { @@ -3156,6 +3157,16 @@ func (*InputFileBig) CRC() uint32 { func (*InputFileBig) ImplementsInputFile() {} +type InputFileStoryDocument struct { + ID InputDocument +} + +func (*InputFileStoryDocument) CRC() uint32 { + return 0x62dc8b48 +} + +func (*InputFileStoryDocument) ImplementsInputFile() {} + type InputFileLocation interface { tl.Object ImplementsInputFileLocation() @@ -3401,11 +3412,11 @@ func (*InputInvoiceSlug) CRC() uint32 { func (*InputInvoiceSlug) ImplementsInputInvoice() {} type InputInvoiceStars struct { - Option *StarsTopupOption + Purpose InputStorePaymentPurpose } func (*InputInvoiceStars) CRC() uint32 { - return 0x1da33ad8 + return 0x65f00ce3 } func (*InputInvoiceStars) ImplementsInputInvoice() {} @@ -4376,17 +4387,30 @@ func (*InputStorePaymentPremiumSubscription) FlagIndex() int { func (*InputStorePaymentPremiumSubscription) ImplementsInputStorePaymentPurpose() {} -type InputStorePaymentStars struct { +type InputStorePaymentStarsGift struct { + UserID InputUser Stars int64 Currency string Amount int64 } -func (*InputStorePaymentStars) CRC() uint32 { - return 0x4f0ee8df +func (*InputStorePaymentStarsGift) CRC() uint32 { + return 0x1d741ef7 } -func (*InputStorePaymentStars) ImplementsInputStorePaymentPurpose() {} +func (*InputStorePaymentStarsGift) ImplementsInputStorePaymentPurpose() {} + +type InputStorePaymentStarsTopup struct { + Stars int64 + Currency string + Amount int64 +} + +func (*InputStorePaymentStarsTopup) CRC() uint32 { + return 0xdddd0f56 +} + +func (*InputStorePaymentStarsTopup) ImplementsInputStorePaymentPurpose() {} type InputTheme interface { tl.Object @@ -5020,6 +5044,19 @@ func (*MediaAreaVenue) CRC() uint32 { func (*MediaAreaVenue) ImplementsMediaArea() {} +type MediaAreaWeather struct { + Coordinates *MediaAreaCoordinates + Emoji string + TemperatureC float64 + Color int32 +} + +func (*MediaAreaWeather) CRC() uint32 { + return 0x49a6549c +} + +func (*MediaAreaWeather) ImplementsMediaArea() {} + type Message interface { tl.Object ImplementsMessage() @@ -5367,6 +5404,25 @@ func (*MessageActionGiftPremium) FlagIndex() int { func (*MessageActionGiftPremium) ImplementsMessageAction() {} +type MessageActionGiftStars struct { + Currency string + Amount int64 + Stars int64 + CryptoCurrency string `tl:"flag:0"` + CryptoAmount int64 `tl:"flag:0"` + TransactionID string `tl:"flag:1"` +} + +func (*MessageActionGiftStars) CRC() uint32 { + return 0x45d5b021 +} + +func (*MessageActionGiftStars) FlagIndex() int { + return 0 +} + +func (*MessageActionGiftStars) ImplementsMessageAction() {} + // A [giveaway](https://core.telegram.org/api/giveaways) was started. type MessageActionGiveawayLaunch struct{} @@ -10945,6 +11001,7 @@ type UserObj struct { StoriesUnavailable bool `tl:"flag2:4,encoded_in_bitflags"` ContactRequirePremium bool `tl:"flag2:10,encoded_in_bitflags"` BotBusiness bool `tl:"flag2:11,encoded_in_bitflags"` + BotHasMainApp bool `tl:"flag2:13,encoded_in_bitflags"` ID int64 AccessHash int64 `tl:"flag:0"` FirstName string `tl:"flag:1"` @@ -10962,10 +11019,11 @@ type UserObj struct { StoriesMaxID int32 `tl:"flag2:5"` Color *PeerColor `tl:"flag2:8"` ProfileColor *PeerColor `tl:"flag2:9"` + BotActiveUsers int32 `tl:"flag2:12"` } func (*UserObj) CRC() uint32 { - return 0x215c4438 + return 0x83314fca } func (*UserObj) FlagIndex() int { diff --git a/telegram/methods_gen.go b/telegram/methods_gen.go index 790b5cdc..2ca65bba 100755 --- a/telegram/methods_gen.go +++ b/telegram/methods_gen.go @@ -3337,6 +3337,33 @@ func (c *Client) AuthSignUp(params *AuthSignUpParams) (AuthAuthorization, error) return resp, nil } +type BotsAddPreviewMediaParams struct { + Bot InputUser + LangCode string + Media InputMedia +} + +func (*BotsAddPreviewMediaParams) CRC() uint32 { + return 0x17aeb75a +} + +func (c *Client) BotsAddPreviewMedia(bot InputUser, langCode string, media InputMedia) (*BotPreviewMedia, error) { + responseData, err := c.MakeRequest(&BotsAddPreviewMediaParams{ + Bot: bot, + LangCode: langCode, + Media: media, + }) + if err != nil { + return nil, errors.Wrap(err, "sending BotsAddPreviewMedia") + } + + resp, ok := responseData.(*BotPreviewMedia) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type BotsAllowSendMessageParams struct { Bot InputUser } @@ -3407,6 +3434,62 @@ func (c *Client) BotsCanSendMessage(bot InputUser) (bool, error) { return resp, nil } +type BotsDeletePreviewMediaParams struct { + Bot InputUser + LangCode string + Media []InputMedia +} + +func (*BotsDeletePreviewMediaParams) CRC() uint32 { + return 0x2d0135b3 +} + +func (c *Client) BotsDeletePreviewMedia(bot InputUser, langCode string, media []InputMedia) (bool, error) { + responseData, err := c.MakeRequest(&BotsDeletePreviewMediaParams{ + Bot: bot, + LangCode: langCode, + Media: media, + }) + if err != nil { + return false, errors.Wrap(err, "sending BotsDeletePreviewMedia") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + +type BotsEditPreviewMediaParams struct { + Bot InputUser + LangCode string + Media InputMedia + NewMedia InputMedia +} + +func (*BotsEditPreviewMediaParams) CRC() uint32 { + return 0x8525606f +} + +func (c *Client) BotsEditPreviewMedia(bot InputUser, langCode string, media, newMedia InputMedia) (*BotPreviewMedia, error) { + responseData, err := c.MakeRequest(&BotsEditPreviewMediaParams{ + Bot: bot, + LangCode: langCode, + Media: media, + NewMedia: newMedia, + }) + if err != nil { + return nil, errors.Wrap(err, "sending BotsEditPreviewMedia") + } + + resp, ok := responseData.(*BotPreviewMedia) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type BotsGetBotCommandsParams struct { Scope BotCommandScope LangCode string @@ -3485,6 +3568,77 @@ func (c *Client) BotsGetBotMenuButton(userID InputUser) (BotMenuButton, error) { return resp, nil } +type BotsGetPopularAppBotsParams struct { + Offset string + Limit int32 +} + +func (*BotsGetPopularAppBotsParams) CRC() uint32 { + return 0xc2510192 +} + +func (c *Client) BotsGetPopularAppBots(offset string, limit int32) (*BotsPopularAppBots, error) { + responseData, err := c.MakeRequest(&BotsGetPopularAppBotsParams{ + Limit: limit, + Offset: offset, + }) + if err != nil { + return nil, errors.Wrap(err, "sending BotsGetPopularAppBots") + } + + resp, ok := responseData.(*BotsPopularAppBots) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + +type BotsGetPreviewInfoParams struct { + Bot InputUser + LangCode string +} + +func (*BotsGetPreviewInfoParams) CRC() uint32 { + return 0x423ab3ad +} + +func (c *Client) BotsGetPreviewInfo(bot InputUser, langCode string) (*BotsPreviewInfo, error) { + responseData, err := c.MakeRequest(&BotsGetPreviewInfoParams{ + Bot: bot, + LangCode: langCode, + }) + if err != nil { + return nil, errors.Wrap(err, "sending BotsGetPreviewInfo") + } + + resp, ok := responseData.(*BotsPreviewInfo) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + +type BotsGetPreviewMediasParams struct { + Bot InputUser +} + +func (*BotsGetPreviewMediasParams) CRC() uint32 { + return 0xa2a5594d +} + +func (c *Client) BotsGetPreviewMedias(bot InputUser) ([]*BotPreviewMedia, error) { + responseData, err := c.MakeRequest(&BotsGetPreviewMediasParams{Bot: bot}) + if err != nil { + return nil, errors.Wrap(err, "sending BotsGetPreviewMedias") + } + + resp, ok := responseData.([]*BotPreviewMedia) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type BotsInvokeWebViewCustomMethodParams struct { Bot InputUser CustomMethod string @@ -3513,6 +3667,33 @@ func (c *Client) BotsInvokeWebViewCustomMethod(bot InputUser, customMethod strin return resp, nil } +type BotsReorderPreviewMediasParams struct { + Bot InputUser + LangCode string + Order []InputMedia +} + +func (*BotsReorderPreviewMediasParams) CRC() uint32 { + return 0xb627f3aa +} + +func (c *Client) BotsReorderPreviewMedias(bot InputUser, langCode string, order []InputMedia) (bool, error) { + responseData, err := c.MakeRequest(&BotsReorderPreviewMediasParams{ + Bot: bot, + LangCode: langCode, + Order: order, + }) + if err != nil { + return false, errors.Wrap(err, "sending BotsReorderPreviewMedias") + } + + resp, ok := responseData.(bool) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type BotsReorderUsernamesParams struct { Bot InputUser Order []string @@ -6130,6 +6311,7 @@ type ContactsGetTopPeersParams struct { ForwardChats bool `tl:"flag:5,encoded_in_bitflags"` Groups bool `tl:"flag:10,encoded_in_bitflags"` Channels bool `tl:"flag:15,encoded_in_bitflags"` + BotsApp bool `tl:"flag:16,encoded_in_bitflags"` Offset int32 Limit int32 Hash int64 @@ -11066,6 +11248,36 @@ func (c *Client) MessagesRequestEncryption(userID InputUser, randomID int32, gA return resp, nil } +type MessagesRequestMainWebViewParams struct { + Compact bool `tl:"flag:7,encoded_in_bitflags"` + Peer InputPeer + Bot InputUser + StartParam string `tl:"flag:1"` + ThemeParams *DataJson `tl:"flag:0"` + Platform string +} + +func (*MessagesRequestMainWebViewParams) CRC() uint32 { + return 0xc9e01e7b +} + +func (*MessagesRequestMainWebViewParams) FlagIndex() int { + return 0 +} + +func (c *Client) MessagesRequestMainWebView(params *MessagesRequestMainWebViewParams) (*WebViewResultURL, error) { + responseData, err := c.MakeRequest(params) + if err != nil { + return nil, errors.Wrap(err, "sending MessagesRequestMainWebView") + } + + resp, ok := responseData.(*WebViewResultURL) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type MessagesRequestSimpleWebViewParams struct { FromSwitchWebview bool `tl:"flag:1,encoded_in_bitflags"` FromSideMenu bool `tl:"flag:2,encoded_in_bitflags"` @@ -13262,6 +13474,31 @@ func (c *Client) PaymentsGetSavedInfo() (*PaymentsSavedInfo, error) { return resp, nil } +type PaymentsGetStarsGiftOptionsParams struct { + UserID InputUser `tl:"flag:0"` +} + +func (*PaymentsGetStarsGiftOptionsParams) CRC() uint32 { + return 0xd3c96bc8 +} + +func (*PaymentsGetStarsGiftOptionsParams) FlagIndex() int { + return 0 +} + +func (c *Client) PaymentsGetStarsGiftOptions(userID InputUser) ([]*StarsGiftOption, error) { + responseData, err := c.MakeRequest(&PaymentsGetStarsGiftOptionsParams{UserID: userID}) + if err != nil { + return nil, errors.Wrap(err, "sending PaymentsGetStarsGiftOptions") + } + + resp, ok := responseData.([]*StarsGiftOption) + if !ok { + panic("got invalid response type: " + reflect.TypeOf(responseData).String()) + } + return resp, nil +} + type PaymentsGetStarsRevenueAdsAccountURLParams struct { Peer InputPeer } diff --git a/telegram/types_gen.go b/telegram/types_gen.go index 3437010a..49675d67 100755 --- a/telegram/types_gen.go +++ b/telegram/types_gen.go @@ -500,6 +500,7 @@ func (*BotCommand) CRC() uint32 { // Info about bots (available bot commands, etc) type BotInfo struct { + HasPreviewMedias bool `tl:"flag:6,encoded_in_bitflags"` UserID int64 `tl:"flag:0"` Description string `tl:"flag:1"` DescriptionPhoto Photo `tl:"flag:4"` @@ -516,6 +517,15 @@ func (*BotInfo) FlagIndex() int { return 0 } +type BotPreviewMedia struct { + Date int32 + Media MessageMedia +} + +func (*BotPreviewMedia) CRC() uint32 { + return 0x23e91ba3 +} + // Localized information about a bot. type BotsBotInfo struct { Name string @@ -527,6 +537,28 @@ func (*BotsBotInfo) CRC() uint32 { return 0xe8a775b0 } +type BotsPopularAppBots struct { + NextOffset string `tl:"flag:0"` + Users []User +} + +func (*BotsPopularAppBots) CRC() uint32 { + return 0x1991b13b +} + +func (*BotsPopularAppBots) FlagIndex() int { + return 0 +} + +type BotsPreviewInfo struct { + Media []*BotPreviewMedia + LangCodes []string +} + +func (*BotsPreviewInfo) CRC() uint32 { + return 0xca71d64 +} + type BroadcastRevenueBalances struct { CurrentBalance int64 AvailableBalance int64 @@ -3459,6 +3491,22 @@ func (*SponsoredMessageReportOption) CRC() uint32 { return 0x430d3150 } +type StarsGiftOption struct { + Extended bool `tl:"flag:1,encoded_in_bitflags"` + Stars int64 + StoreProduct string `tl:"flag:0"` + Currency string + Amount int64 +} + +func (*StarsGiftOption) CRC() uint32 { + return 0x5e0589f1 +} + +func (*StarsGiftOption) FlagIndex() int { + return 0 +} + type StarsRevenueStatus struct { WithdrawalEnabled bool `tl:"flag:0,encoded_in_bitflags"` CurrentBalance int64 @@ -3495,6 +3543,7 @@ type StarsTransaction struct { Refund bool `tl:"flag:3,encoded_in_bitflags"` Pending bool `tl:"flag:4,encoded_in_bitflags"` Failed bool `tl:"flag:6,encoded_in_bitflags"` + Gift bool `tl:"flag:10,encoded_in_bitflags"` ID string Stars int64 Date int32