mtproto

package module
v0.0.0-...-128afaf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 29 Imported by: 0

README

Documentation

Index

Constants

View Source
const (
	CRC_vector        = 0x1cb5c415
	CRC_rpc_result    = 0xf35c6d01
	CRC_msg_container = 0x73f1f8dc
	CRC_gzip_packed   = 0x3072cfa1
)
View Source
const (
	TL_ErrSeeOther     = int32(303)
	TL_ErrBadRequest   = int32(400)
	TL_ErrUnauthorized = int32(401)
	TL_ErrForbidden    = int32(403)
	TL_ErrNotFound     = int32(404)
	TL_ErrFlood        = int32(420)
	TL_ErrInterbal     = int32(500)
)
View Source
const (
	TL_Layer                                                              = 114
	CRC_resPQ                                                             = 0x05162463
	CRC_p_q_inner_data                                                    = 0x83c95aec
	CRC_p_q_inner_data_dc                                                 = 0xa9f55f95
	CRC_p_q_inner_data_temp                                               = 0x3c6a84d4
	CRC_p_q_inner_data_temp_dc                                            = 0x56fddf88
	CRC_bind_auth_key_inner                                               = 0x75a3f765
	CRC_server_DH_params_fail                                             = 0x79cb045d
	CRC_server_DH_params_ok                                               = 0xd0e8075c
	CRC_server_DH_inner_data                                              = 0xb5890dba
	CRC_client_DH_inner_data                                              = 0x6643b654
	CRC_dh_gen_ok                                                         = 0x3bcbf734
	CRC_dh_gen_retry                                                      = 0x46dc1fb9
	CRC_dh_gen_fail                                                       = 0xa69dae02
	CRC_destroy_auth_key_ok                                               = 0xf660e1d4
	CRC_destroy_auth_key_none                                             = 0x0a9f2259
	CRC_destroy_auth_key_fail                                             = 0xea109b13
	CRC_req_pq                                                            = 0x60469778
	CRC_req_pq_multi                                                      = 0xbe7e8ef1
	CRC_req_DH_params                                                     = 0xd712e4be
	CRC_set_client_DH_params                                              = 0xf5045f1f
	CRC_destroy_auth_key                                                  = 0xd1435160
	CRC_msgs_ack                                                          = 0x62d6b459
	CRC_bad_msg_notification                                              = 0xa7eff811
	CRC_bad_server_salt                                                   = 0xedab447b
	CRC_msgs_state_req                                                    = 0xda69fb52
	CRC_msgs_state_info                                                   = 0x04deb57d
	CRC_msgs_all_info                                                     = 0x8cc0d131
	CRC_msg_detailed_info                                                 = 0x276d3ec6
	CRC_msg_new_detailed_info                                             = 0x809db6df
	CRC_msg_resend_req                                                    = 0x7d861a08
	CRC_rpc_error                                                         = 0x2144ca19
	CRC_rpc_answer_unknown                                                = 0x5e2ad36e
	CRC_rpc_answer_dropped_running                                        = 0xcd78e586
	CRC_rpc_answer_dropped                                                = 0xa43ad8b7
	CRC_future_salt                                                       = 0x0949d9dc
	CRC_future_salts                                                      = 0xae500895
	CRC_pong                                                              = 0x347773c5
	CRC_destroy_session_ok                                                = 0xe22045fc
	CRC_destroy_session_none                                              = 0x62d350c9
	CRC_new_session_created                                               = 0x9ec20908
	CRC_http_wait                                                         = 0x9299359f
	CRC_ipPort                                                            = 0xd433ad73
	CRC_ipPortSecret                                                      = 0x37982646
	CRC_accessPointRule                                                   = 0x4679b65f
	CRC_help_configSimple                                                 = 0x5a592a6c
	CRC_tlsClientHello                                                    = 0x6c52c484
	CRC_tlsBlockString                                                    = 0x4218a164
	CRC_tlsBlockRandom                                                    = 0x4d4dc41e
	CRC_tlsBlockZero                                                      = 0x09333afb
	CRC_tlsBlockDomain                                                    = 0x10e8636f
	CRC_tlsBlockGrease                                                    = 0xe675a1c1
	CRC_tlsBlockPublicKey                                                 = 0x9eb95b5c
	CRC_tlsBlockScope                                                     = 0xe725d44f
	CRC_rpc_drop_answer                                                   = 0x58e4a740
	CRC_get_future_salts                                                  = 0xb921bd04
	CRC_ping                                                              = 0x7abe77ec
	CRC_ping_delay_disconnect                                             = 0xf3427b8c
	CRC_destroy_session                                                   = 0xe7512126
	CRC_boolFalse                                                         = 0xbc799737
	CRC_boolTrue                                                          = 0x997275b5
	CRC_true                                                              = 0x3fedd339
	CRC_error                                                             = 0xc4b9f9bb
	CRC_null                                                              = 0x56730bcc
	CRC_inputPeerEmpty                                                    = 0x7f3b18ea
	CRC_inputPeerSelf                                                     = 0x7da07ec9
	CRC_inputPeerChat                                                     = 0x179be863
	CRC_inputPeerUser                                                     = 0x7b8e7de6
	CRC_inputPeerChannel                                                  = 0x20adaef8
	CRC_inputPeerUserFromMessage                                          = 0x17bae2e6
	CRC_inputPeerChannelFromMessage                                       = 0x9c95f7bb
	CRC_inputUserEmpty                                                    = 0xb98886cf
	CRC_inputUserSelf                                                     = 0xf7c1b13f
	CRC_inputUser                                                         = 0xd8292816
	CRC_inputUserFromMessage                                              = 0x2d117597
	CRC_inputPhoneContact                                                 = 0xf392b7f4
	CRC_inputFile                                                         = 0xf52ff27f
	CRC_inputFileBig                                                      = 0xfa4f0bb5
	CRC_inputMediaEmpty                                                   = 0x9664f57f
	CRC_inputMediaUploadedPhoto                                           = 0x1e287d04
	CRC_inputMediaPhoto                                                   = 0xb3ba0635
	CRC_inputMediaGeoPoint                                                = 0xf9c44144
	CRC_inputMediaContact                                                 = 0xf8ab7dfb
	CRC_inputMediaUploadedDocument                                        = 0x5b38c6c1
	CRC_inputMediaDocument                                                = 0x23ab23d2
	CRC_inputMediaVenue                                                   = 0xc13d1c11
	CRC_inputMediaGifExternal                                             = 0x4843b0fd
	CRC_inputMediaPhotoExternal                                           = 0xe5bbfe1a
	CRC_inputMediaDocumentExternal                                        = 0xfb52dc99
	CRC_inputMediaGame                                                    = 0xd33f43f3
	CRC_inputMediaInvoice                                                 = 0xf4e096c3
	CRC_inputMediaGeoLive                                                 = 0xce4e82fd
	CRC_inputMediaPoll                                                    = 0x0f94e5f1
	CRC_inputMediaDice                                                    = 0xe66fbf7b
	CRC_inputChatPhotoEmpty                                               = 0x1ca48f57
	CRC_inputChatUploadedPhoto                                            = 0x927c55b4
	CRC_inputChatPhoto                                                    = 0x8953ad37
	CRC_inputGeoPointEmpty                                                = 0xe4c123d6
	CRC_inputGeoPoint                                                     = 0xf3b7acc9
	CRC_inputPhotoEmpty                                                   = 0x1cd7bf0d
	CRC_inputPhoto                                                        = 0x3bb3b94a
	CRC_inputFileLocation                                                 = 0xdfdaabe1
	CRC_inputEncryptedFileLocation                                        = 0xf5235d55
	CRC_inputDocumentFileLocation                                         = 0xbad07584
	CRC_inputSecureFileLocation                                           = 0xcbc7ee28
	CRC_inputTakeoutFileLocation                                          = 0x29be5899
	CRC_inputPhotoFileLocation                                            = 0x40181ffe
	CRC_inputPhotoLegacyFileLocation                                      = 0xd83466f3
	CRC_inputPeerPhotoFileLocation                                        = 0x27d69997
	CRC_inputStickerSetThumb                                              = 0x0dbaeae9
	CRC_peerUser                                                          = 0x9db1bc6d
	CRC_peerChat                                                          = 0xbad0e5bb
	CRC_peerChannel                                                       = 0xbddde532
	CRC_storage_fileUnknown                                               = 0xaa963b05
	CRC_storage_filePartial                                               = 0x40bc6f52
	CRC_storage_fileJpeg                                                  = 0x007efe0e
	CRC_storage_fileGif                                                   = 0xcae1aadf
	CRC_storage_filePng                                                   = 0x0a4f63c0
	CRC_storage_filePdf                                                   = 0xae1e508d
	CRC_storage_fileMp3                                                   = 0x528a0677
	CRC_storage_fileMov                                                   = 0x4b09ebbc
	CRC_storage_fileMp4                                                   = 0xb3cea0e4
	CRC_storage_fileWebp                                                  = 0x1081464c
	CRC_userEmpty                                                         = 0x200250ba
	CRC_user                                                              = 0x938458c1
	CRC_userProfilePhotoEmpty                                             = 0x4f11bae1
	CRC_userProfilePhoto                                                  = 0xecd75d8c
	CRC_userStatusEmpty                                                   = 0x09d05049
	CRC_userStatusOnline                                                  = 0xedb93949
	CRC_userStatusOffline                                                 = 0x008c703f
	CRC_userStatusRecently                                                = 0xe26f42f1
	CRC_userStatusLastWeek                                                = 0x07bf09fc
	CRC_userStatusLastMonth                                               = 0x77ebc742
	CRC_chatEmpty                                                         = 0x9ba2d800
	CRC_chat                                                              = 0x3bda1bde
	CRC_chatForbidden                                                     = 0x07328bdb
	CRC_channel                                                           = 0xd31a961e
	CRC_channelForbidden                                                  = 0x289da732
	CRC_chatFull                                                          = 0x1b7c9db3
	CRC_channelFull                                                       = 0xf0e6672a
	CRC_chatParticipant                                                   = 0xc8d7493e
	CRC_chatParticipantCreator                                            = 0xda13538a
	CRC_chatParticipantAdmin                                              = 0xe2d6e436
	CRC_chatParticipantsForbidden                                         = 0xfc900c2b
	CRC_chatParticipants                                                  = 0x3f460fed
	CRC_chatPhotoEmpty                                                    = 0x37c1011c
	CRC_chatPhoto                                                         = 0x475cdbd5
	CRC_messageEmpty                                                      = 0x83e5de54
	CRC_message                                                           = 0x452c0e65
	CRC_messageService                                                    = 0x9e19a1f6
	CRC_messageMediaEmpty                                                 = 0x3ded6320
	CRC_messageMediaPhoto                                                 = 0x695150d7
	CRC_messageMediaGeo                                                   = 0x56e0d474
	CRC_messageMediaContact                                               = 0xcbf24940
	CRC_messageMediaUnsupported                                           = 0x9f84f49e
	CRC_messageMediaDocument                                              = 0x9cb070d7
	CRC_messageMediaWebPage                                               = 0xa32dd600
	CRC_messageMediaVenue                                                 = 0x2ec0533f
	CRC_messageMediaGame                                                  = 0xfdb19008
	CRC_messageMediaInvoice                                               = 0x84551347
	CRC_messageMediaGeoLive                                               = 0x7c3c2609
	CRC_messageMediaPoll                                                  = 0x4bd6e798
	CRC_messageMediaDice                                                  = 0x3f7ee58b
	CRC_messageActionEmpty                                                = 0xb6aef7b0
	CRC_messageActionChatCreate                                           = 0xa6638b9a
	CRC_messageActionChatEditTitle                                        = 0xb5a1ce5a
	CRC_messageActionChatEditPhoto                                        = 0x7fcb13a8
	CRC_messageActionChatDeletePhoto                                      = 0x95e3fbef
	CRC_messageActionChatAddUser                                          = 0x488a7337
	CRC_messageActionChatDeleteUser                                       = 0xb2ae9b0c
	CRC_messageActionChatJoinedByLink                                     = 0xf89cf5e8
	CRC_messageActionChannelCreate                                        = 0x95d2ac92
	CRC_messageActionChatMigrateTo                                        = 0x51bdb021
	CRC_messageActionChannelMigrateFrom                                   = 0xb055eaee
	CRC_messageActionPinMessage                                           = 0x94bd38ed
	CRC_messageActionHistoryClear                                         = 0x9fbab604
	CRC_messageActionGameScore                                            = 0x92a72876
	CRC_messageActionPaymentSentMe                                        = 0x8f31b327
	CRC_messageActionPaymentSent                                          = 0x40699cd0
	CRC_messageActionPhoneCall                                            = 0x80e11a7f
	CRC_messageActionScreenshotTaken                                      = 0x4792929b
	CRC_messageActionCustomAction                                         = 0xfae69f56
	CRC_messageActionBotAllowed                                           = 0xabe9affe
	CRC_messageActionSecureValuesSentMe                                   = 0x1b287353
	CRC_messageActionSecureValuesSent                                     = 0xd95c6154
	CRC_messageActionContactSignUp                                        = 0xf3f25f76
	CRC_dialog                                                            = 0x2c171f72
	CRC_dialogFolder                                                      = 0x71bd134c
	CRC_photoEmpty                                                        = 0x2331b22d
	CRC_photo                                                             = 0xd07504a5
	CRC_photoSizeEmpty                                                    = 0x0e17e23c
	CRC_photoSize                                                         = 0x77bfb61b
	CRC_photoCachedSize                                                   = 0xe9a734fa
	CRC_photoStrippedSize                                                 = 0xe0b0bc2e
	CRC_geoPointEmpty                                                     = 0x1117dd5f
	CRC_geoPoint                                                          = 0x0296f104
	CRC_auth_sentCode                                                     = 0x5e002502
	CRC_auth_authorization                                                = 0xcd050916
	CRC_auth_authorizationSignUpRequired                                  = 0x44747e9a
	CRC_auth_exportedAuthorization                                        = 0xdf969c2d
	CRC_inputNotifyPeer                                                   = 0xb8bc5b0c
	CRC_inputNotifyUsers                                                  = 0x193b4417
	CRC_inputNotifyChats                                                  = 0x4a95e84e
	CRC_inputNotifyBroadcasts                                             = 0xb1db7c7e
	CRC_inputPeerNotifySettings                                           = 0x9c3d198e
	CRC_peerNotifySettings                                                = 0xaf509d20
	CRC_peerSettings                                                      = 0x818426cd
	CRC_wallPaper                                                         = 0xa437c3ed
	CRC_wallPaperNoFile                                                   = 0x8af40b25
	CRC_inputReportReasonSpam                                             = 0x58dbcab8
	CRC_inputReportReasonViolence                                         = 0x1e22c78d
	CRC_inputReportReasonPornography                                      = 0x2e59d922
	CRC_inputReportReasonChildAbuse                                       = 0xadf44ee3
	CRC_inputReportReasonOther                                            = 0xe1746d0a
	CRC_inputReportReasonCopyright                                        = 0x9b89f93a
	CRC_inputReportReasonGeoIrrelevant                                    = 0xdbd4feed
	CRC_userFull                                                          = 0xedf17c12
	CRC_contact                                                           = 0xf911c994
	CRC_importedContact                                                   = 0xd0028438
	CRC_contactBlocked                                                    = 0x561bc879
	CRC_contactStatus                                                     = 0xd3680c61
	CRC_contacts_contactsNotModified                                      = 0xb74ba9d2
	CRC_contacts_contacts                                                 = 0xeae87e42
	CRC_contacts_importedContacts                                         = 0x77d01c3b
	CRC_contacts_blocked                                                  = 0x1c138d15
	CRC_contacts_blockedSlice                                             = 0x900802a1
	CRC_messages_dialogs                                                  = 0x15ba6c40
	CRC_messages_dialogsSlice                                             = 0x71e094f3
	CRC_messages_dialogsNotModified                                       = 0xf0e3e596
	CRC_messages_messages                                                 = 0x8c718e87
	CRC_messages_messagesSlice                                            = 0xc8edce1e
	CRC_messages_channelMessages                                          = 0x99262e37
	CRC_messages_messagesNotModified                                      = 0x74535f21
	CRC_messages_chats                                                    = 0x64ff9fd5
	CRC_messages_chatsSlice                                               = 0x9cd81144
	CRC_messages_chatFull                                                 = 0xe5d7d19c
	CRC_messages_affectedHistory                                          = 0xb45c69d1
	CRC_inputMessagesFilterEmpty                                          = 0x57e2f66c
	CRC_inputMessagesFilterPhotos                                         = 0x9609a51c
	CRC_inputMessagesFilterVideo                                          = 0x9fc00e65
	CRC_inputMessagesFilterPhotoVideo                                     = 0x56e9f0e4
	CRC_inputMessagesFilterDocument                                       = 0x9eddf188
	CRC_inputMessagesFilterUrl                                            = 0x7ef0dd87
	CRC_inputMessagesFilterGif                                            = 0xffc86587
	CRC_inputMessagesFilterVoice                                          = 0x50f5c392
	CRC_inputMessagesFilterMusic                                          = 0x3751b49e
	CRC_inputMessagesFilterChatPhotos                                     = 0x3a20ecb8
	CRC_inputMessagesFilterPhoneCalls                                     = 0x80c99768
	CRC_inputMessagesFilterRoundVoice                                     = 0x7a7c17a4
	CRC_inputMessagesFilterRoundVideo                                     = 0xb549da53
	CRC_inputMessagesFilterMyMentions                                     = 0xc1f8e69a
	CRC_inputMessagesFilterGeo                                            = 0xe7026d0d
	CRC_inputMessagesFilterContacts                                       = 0xe062db83
	CRC_updateNewMessage                                                  = 0x1f2b0afd
	CRC_updateMessageID                                                   = 0x4e90bfd6
	CRC_updateDeleteMessages                                              = 0xa20db0e5
	CRC_updateUserTyping                                                  = 0x5c486927
	CRC_updateChatUserTyping                                              = 0x9a65ea1f
	CRC_updateChatParticipants                                            = 0x07761198
	CRC_updateUserStatus                                                  = 0x1bfbd823
	CRC_updateUserName                                                    = 0xa7332b73
	CRC_updateUserPhoto                                                   = 0x95313b0c
	CRC_updateNewEncryptedMessage                                         = 0x12bcbd9a
	CRC_updateEncryptedChatTyping                                         = 0x1710f156
	CRC_updateEncryption                                                  = 0xb4a2e88d
	CRC_updateEncryptedMessagesRead                                       = 0x38fe25b7
	CRC_updateChatParticipantAdd                                          = 0xea4b0e5c
	CRC_updateChatParticipantDelete                                       = 0x6e5f8c22
	CRC_updateDcOptions                                                   = 0x8e5e9873
	CRC_updateUserBlocked                                                 = 0x80ece81a
	CRC_updateNotifySettings                                              = 0xbec268ef
	CRC_updateServiceNotification                                         = 0xebe46819
	CRC_updatePrivacy                                                     = 0xee3b272a
	CRC_updateUserPhone                                                   = 0x12b9417b
	CRC_updateReadHistoryInbox                                            = 0x9c974fdf
	CRC_updateReadHistoryOutbox                                           = 0x2f2f21bf
	CRC_updateWebPage                                                     = 0x7f891213
	CRC_updateReadMessagesContents                                        = 0x68c13933
	CRC_updateChannelTooLong                                              = 0xeb0467fb
	CRC_updateChannel                                                     = 0xb6d45656
	CRC_updateNewChannelMessage                                           = 0x62ba04d9
	CRC_updateReadChannelInbox                                            = 0x330b5424
	CRC_updateDeleteChannelMessages                                       = 0xc37521c9
	CRC_updateChannelMessageViews                                         = 0x98a12b4b
	CRC_updateChatParticipantAdmin                                        = 0xb6901959
	CRC_updateNewStickerSet                                               = 0x688a30aa
	CRC_updateStickerSetsOrder                                            = 0x0bb2d201
	CRC_updateStickerSets                                                 = 0x43ae3dec
	CRC_updateSavedGifs                                                   = 0x9375341e
	CRC_updateBotInlineQuery                                              = 0x54826690
	CRC_updateBotInlineSend                                               = 0x0e48f964
	CRC_updateEditChannelMessage                                          = 0x1b3f4df7
	CRC_updateChannelPinnedMessage                                        = 0x98592475
	CRC_updateBotCallbackQuery                                            = 0xe73547e1
	CRC_updateEditMessage                                                 = 0xe40370a3
	CRC_updateInlineBotCallbackQuery                                      = 0xf9d27a5a
	CRC_updateReadChannelOutbox                                           = 0x25d6c9c7
	CRC_updateDraftMessage                                                = 0xee2bb969
	CRC_updateReadFeaturedStickers                                        = 0x571d2742
	CRC_updateRecentStickers                                              = 0x9a422c20
	CRC_updateConfig                                                      = 0xa229dd06
	CRC_updatePtsChanged                                                  = 0x3354678f
	CRC_updateChannelWebPage                                              = 0x40771900
	CRC_updateDialogPinned                                                = 0x6e6fe51c
	CRC_updatePinnedDialogs                                               = 0xfa0f3ca2
	CRC_updateBotWebhookJSON                                              = 0x8317c0c3
	CRC_updateBotWebhookJSONQuery                                         = 0x9b9240a6
	CRC_updateBotShippingQuery                                            = 0xe0cdc940
	CRC_updateBotPrecheckoutQuery                                         = 0x5d2f3aa9
	CRC_updatePhoneCall                                                   = 0xab0f6b1e
	CRC_updateLangPackTooLong                                             = 0x46560264
	CRC_updateLangPack                                                    = 0x56022f4d
	CRC_updateFavedStickers                                               = 0xe511996d
	CRC_updateChannelReadMessagesContents                                 = 0x89893b45
	CRC_updateContactsReset                                               = 0x7084a7be
	CRC_updateChannelAvailableMessages                                    = 0x70db6837
	CRC_updateDialogUnreadMark                                            = 0xe16459c3
	CRC_updateUserPinnedMessage                                           = 0x4c43da18
	CRC_updateChatPinnedMessage                                           = 0xe10db349
	CRC_updateMessagePoll                                                 = 0xaca1657b
	CRC_updateChatDefaultBannedRights                                     = 0x54c01850
	CRC_updateFolderPeers                                                 = 0x19360dc0
	CRC_updatePeerSettings                                                = 0x6a7e7366
	CRC_updatePeerLocated                                                 = 0xb4afcfb0
	CRC_updateNewScheduledMessage                                         = 0x39a51dfb
	CRC_updateDeleteScheduledMessages                                     = 0x90866cee
	CRC_updateTheme                                                       = 0x8216fba3
	CRC_updateGeoLiveViewed                                               = 0x871fb939
	CRC_updateLoginToken                                                  = 0x564fe691
	CRC_updateMessagePollVote                                             = 0x42f88f2c
	CRC_updateDialogFilter                                                = 0x26ffde7d
	CRC_updateDialogFilterOrder                                           = 0xa5d72105
	CRC_updateDialogFilters                                               = 0x3504914f
	CRC_updatePhoneCallSignalingData                                      = 0x2661bf09
	CRC_updates_state                                                     = 0xa56c2a3e
	CRC_updates_differenceEmpty                                           = 0x5d75a138
	CRC_updates_difference                                                = 0x00f49ca0
	CRC_updates_differenceSlice                                           = 0xa8fb1981
	CRC_updates_differenceTooLong                                         = 0x4afe8f6d
	CRC_updatesTooLong                                                    = 0xe317af7e
	CRC_updateShortMessage                                                = 0x914fbf11
	CRC_updateShortChatMessage                                            = 0x16812688
	CRC_updateShort                                                       = 0x78d4dec1
	CRC_updatesCombined                                                   = 0x725b04c3
	CRC_updates                                                           = 0x74ae4240
	CRC_updateShortSentMessage                                            = 0x11f1331c
	CRC_photos_photos                                                     = 0x8dca6aa5
	CRC_photos_photosSlice                                                = 0x15051f54
	CRC_photos_photo                                                      = 0x20212ca8
	CRC_upload_file                                                       = 0x096a18d5
	CRC_upload_fileCdnRedirect                                            = 0xf18cda44
	CRC_dcOption                                                          = 0x18b7a10d
	CRC_config                                                            = 0x330b4067
	CRC_nearestDc                                                         = 0x8e1a1775
	CRC_help_appUpdate                                                    = 0x1da7158f
	CRC_help_noAppUpdate                                                  = 0xc45a6536
	CRC_help_inviteText                                                   = 0x18cb9f78
	CRC_encryptedChatEmpty                                                = 0xab7ec0a0
	CRC_encryptedChatWaiting                                              = 0x3bf703dc
	CRC_encryptedChatRequested                                            = 0xc878527e
	CRC_encryptedChat                                                     = 0xfa56ce36
	CRC_encryptedChatDiscarded                                            = 0x13d6dd27
	CRC_inputEncryptedChat                                                = 0xf141b5e1
	CRC_encryptedFileEmpty                                                = 0xc21f497e
	CRC_encryptedFile                                                     = 0x4a70994c
	CRC_inputEncryptedFileEmpty                                           = 0x1837c364
	CRC_inputEncryptedFileUploaded                                        = 0x64bd0306
	CRC_inputEncryptedFile                                                = 0x5a17b5e5
	CRC_inputEncryptedFileBigUploaded                                     = 0x2dc173c8
	CRC_encryptedMessage                                                  = 0xed18c118
	CRC_encryptedMessageService                                           = 0x23734b06
	CRC_messages_dhConfigNotModified                                      = 0xc0e24635
	CRC_messages_dhConfig                                                 = 0x2c221edd
	CRC_messages_sentEncryptedMessage                                     = 0x560f8935
	CRC_messages_sentEncryptedFile                                        = 0x9493ff32
	CRC_inputDocumentEmpty                                                = 0x72f0eaae
	CRC_inputDocument                                                     = 0x1abfb575
	CRC_documentEmpty                                                     = 0x36f8c871
	CRC_document                                                          = 0x1e87342b
	CRC_help_support                                                      = 0x17c6b5f6
	CRC_notifyPeer                                                        = 0x9fd40bd8
	CRC_notifyUsers                                                       = 0xb4c83b4c
	CRC_notifyChats                                                       = 0xc007cec3
	CRC_notifyBroadcasts                                                  = 0xd612e8ef
	CRC_sendMessageTypingAction                                           = 0x16bf744e
	CRC_sendMessageCancelAction                                           = 0xfd5ec8f5
	CRC_sendMessageRecordVideoAction                                      = 0xa187d66f
	CRC_sendMessageUploadVideoAction                                      = 0xe9763aec
	CRC_sendMessageRecordAudioAction                                      = 0xd52f73f7
	CRC_sendMessageUploadAudioAction                                      = 0xf351d7ab
	CRC_sendMessageUploadPhotoAction                                      = 0xd1d34a26
	CRC_sendMessageUploadDocumentAction                                   = 0xaa0cd9e4
	CRC_sendMessageGeoLocationAction                                      = 0x176f8ba1
	CRC_sendMessageChooseContactAction                                    = 0x628cbc6f
	CRC_sendMessageGamePlayAction                                         = 0xdd6a8f48
	CRC_sendMessageRecordRoundAction                                      = 0x88f27fbc
	CRC_sendMessageUploadRoundAction                                      = 0x243e1c66
	CRC_contacts_found                                                    = 0xb3134d9d
	CRC_inputPrivacyKeyStatusTimestamp                                    = 0x4f96cb18
	CRC_inputPrivacyKeyChatInvite                                         = 0xbdfb0426
	CRC_inputPrivacyKeyPhoneCall                                          = 0xfabadc5f
	CRC_inputPrivacyKeyPhoneP2P                                           = 0xdb9e70d2
	CRC_inputPrivacyKeyForwards                                           = 0xa4dd4c08
	CRC_inputPrivacyKeyProfilePhoto                                       = 0x5719bacc
	CRC_inputPrivacyKeyPhoneNumber                                        = 0x0352dafa
	CRC_inputPrivacyKeyAddedByPhone                                       = 0xd1219bdd
	CRC_privacyKeyStatusTimestamp                                         = 0xbc2eab30
	CRC_privacyKeyChatInvite                                              = 0x500e6dfa
	CRC_privacyKeyPhoneCall                                               = 0x3d662b7b
	CRC_privacyKeyPhoneP2P                                                = 0x39491cc8
	CRC_privacyKeyForwards                                                = 0x69ec56a3
	CRC_privacyKeyProfilePhoto                                            = 0x96151fed
	CRC_privacyKeyPhoneNumber                                             = 0xd19ae46d
	CRC_privacyKeyAddedByPhone                                            = 0x42ffd42b
	CRC_inputPrivacyValueAllowContacts                                    = 0x0d09e07b
	CRC_inputPrivacyValueAllowAll                                         = 0x184b35ce
	CRC_inputPrivacyValueAllowUsers                                       = 0x131cc67f
	CRC_inputPrivacyValueDisallowContacts                                 = 0x0ba52007
	CRC_inputPrivacyValueDisallowAll                                      = 0xd66b66c9
	CRC_inputPrivacyValueDisallowUsers                                    = 0x90110467
	CRC_inputPrivacyValueAllowChatParticipants                            = 0x4c81c1ba
	CRC_inputPrivacyValueDisallowChatParticipants                         = 0xd82363af
	CRC_privacyValueAllowContacts                                         = 0xfffe1bac
	CRC_privacyValueAllowAll                                              = 0x65427b82
	CRC_privacyValueAllowUsers                                            = 0x4d5bbe0c
	CRC_privacyValueDisallowContacts                                      = 0xf888fa1a
	CRC_privacyValueDisallowAll                                           = 0x8b73e763
	CRC_privacyValueDisallowUsers                                         = 0x0c7f49b7
	CRC_privacyValueAllowChatParticipants                                 = 0x18be796b
	CRC_privacyValueDisallowChatParticipants                              = 0xacae0690
	CRC_account_privacyRules                                              = 0x50a04e45
	CRC_accountDaysTTL                                                    = 0xb8d0afdf
	CRC_documentAttributeImageSize                                        = 0x6c37c15c
	CRC_documentAttributeAnimated                                         = 0x11b58939
	CRC_documentAttributeSticker                                          = 0x6319d612
	CRC_documentAttributeVideo                                            = 0x0ef02ce6
	CRC_documentAttributeAudio                                            = 0x9852f9c6
	CRC_documentAttributeFilename                                         = 0x15590068
	CRC_documentAttributeHasStickers                                      = 0x9801d2f7
	CRC_messages_stickersNotModified                                      = 0xf1749a22
	CRC_messages_stickers                                                 = 0xe4599bbd
	CRC_stickerPack                                                       = 0x12b299d4
	CRC_messages_allStickersNotModified                                   = 0xe86602c3
	CRC_messages_allStickers                                              = 0xedfd405f
	CRC_messages_affectedMessages                                         = 0x84d19185
	CRC_webPageEmpty                                                      = 0xeb1477e8
	CRC_webPagePending                                                    = 0xc586da1c
	CRC_webPage                                                           = 0xe89c45b2
	CRC_webPageNotModified                                                = 0x7311ca11
	CRC_authorization                                                     = 0xad01d61d
	CRC_account_authorizations                                            = 0x1250abde
	CRC_account_password                                                  = 0xad2641f8
	CRC_account_passwordSettings                                          = 0x9a5c33e5
	CRC_account_passwordInputSettings                                     = 0xc23727c9
	CRC_auth_passwordRecovery                                             = 0x137948a5
	CRC_receivedNotifyMessage                                             = 0xa384b779
	CRC_chatInviteEmpty                                                   = 0x69df3769
	CRC_chatInviteExported                                                = 0xfc2e05bc
	CRC_chatInviteAlready                                                 = 0x5a686d7c
	CRC_chatInvite                                                        = 0xdfc2f58e
	CRC_inputStickerSetEmpty                                              = 0xffb62b95
	CRC_inputStickerSetID                                                 = 0x9de7a269
	CRC_inputStickerSetShortName                                          = 0x861cc8a0
	CRC_inputStickerSetAnimatedEmoji                                      = 0x028703c8
	CRC_inputStickerSetDice                                               = 0xe67f520e
	CRC_stickerSet                                                        = 0xeeb46f27
	CRC_messages_stickerSet                                               = 0xb60a24a6
	CRC_botCommand                                                        = 0xc27ac8c7
	CRC_botInfo                                                           = 0x98e81d3a
	CRC_keyboardButton                                                    = 0xa2fa4880
	CRC_keyboardButtonUrl                                                 = 0x258aff05
	CRC_keyboardButtonCallback                                            = 0x683a5e46
	CRC_keyboardButtonRequestPhone                                        = 0xb16a6c29
	CRC_keyboardButtonRequestGeoLocation                                  = 0xfc796b3f
	CRC_keyboardButtonSwitchInline                                        = 0x0568a748
	CRC_keyboardButtonGame                                                = 0x50f41ccf
	CRC_keyboardButtonBuy                                                 = 0xafd93fbb
	CRC_keyboardButtonUrlAuth                                             = 0x10b78d29
	CRC_inputKeyboardButtonUrlAuth                                        = 0xd02e7fd4
	CRC_keyboardButtonRequestPoll                                         = 0xbbc7515d
	CRC_keyboardButtonRow                                                 = 0x77608b83
	CRC_replyKeyboardHide                                                 = 0xa03e5b85
	CRC_replyKeyboardForceReply                                           = 0xf4108aa0
	CRC_replyKeyboardMarkup                                               = 0x3502758c
	CRC_replyInlineMarkup                                                 = 0x48a30254
	CRC_messageEntityUnknown                                              = 0xbb92ba95
	CRC_messageEntityMention                                              = 0xfa04579d
	CRC_messageEntityHashtag                                              = 0x6f635b0d
	CRC_messageEntityBotCommand                                           = 0x6cef8ac7
	CRC_messageEntityUrl                                                  = 0x6ed02538
	CRC_messageEntityEmail                                                = 0x64e475c2
	CRC_messageEntityBold                                                 = 0xbd610bc9
	CRC_messageEntityItalic                                               = 0x826f8b60
	CRC_messageEntityCode                                                 = 0x28a20571
	CRC_messageEntityPre                                                  = 0x73924be0
	CRC_messageEntityTextUrl                                              = 0x76a6d327
	CRC_messageEntityMentionName                                          = 0x352dca58
	CRC_inputMessageEntityMentionName                                     = 0x208e68c9
	CRC_messageEntityPhone                                                = 0x9b69e34b
	CRC_messageEntityCashtag                                              = 0x4c4e743f
	CRC_messageEntityUnderline                                            = 0x9c4e7e8b
	CRC_messageEntityStrike                                               = 0xbf0693d4
	CRC_messageEntityBlockquote                                           = 0x020df5d0
	CRC_messageEntityBankCard                                             = 0x761e6af4
	CRC_inputChannelEmpty                                                 = 0xee8c1e86
	CRC_inputChannel                                                      = 0xafeb712e
	CRC_inputChannelFromMessage                                           = 0x2a286531
	CRC_contacts_resolvedPeer                                             = 0x7f077ad9
	CRC_messageRange                                                      = 0x0ae30253
	CRC_updates_channelDifferenceEmpty                                    = 0x3e11affb
	CRC_updates_channelDifferenceTooLong                                  = 0xa4bcc6fe
	CRC_updates_channelDifference                                         = 0x2064674e
	CRC_channelMessagesFilterEmpty                                        = 0x94d42ee7
	CRC_channelMessagesFilter                                             = 0xcd77d957
	CRC_channelParticipant                                                = 0x15ebac1d
	CRC_channelParticipantSelf                                            = 0xa3289a6d
	CRC_channelParticipantCreator                                         = 0x808d15a4
	CRC_channelParticipantAdmin                                           = 0xccbebbaf
	CRC_channelParticipantBanned                                          = 0x1c0facaf
	CRC_channelParticipantsRecent                                         = 0xde3f3c79
	CRC_channelParticipantsAdmins                                         = 0xb4608969
	CRC_channelParticipantsKicked                                         = 0xa3b54985
	CRC_channelParticipantsBots                                           = 0xb0d1865b
	CRC_channelParticipantsBanned                                         = 0x1427a5e1
	CRC_channelParticipantsSearch                                         = 0x0656ac4b
	CRC_channelParticipantsContacts                                       = 0xbb6ae88d
	CRC_channels_channelParticipants                                      = 0xf56ee2a8
	CRC_channels_channelParticipantsNotModified                           = 0xf0173fe9
	CRC_channels_channelParticipant                                       = 0xd0d9b163
	CRC_help_termsOfService                                               = 0x780a0310
	CRC_foundGif                                                          = 0x162ecc1f
	CRC_foundGifCached                                                    = 0x9c750409
	CRC_messages_foundGifs                                                = 0x450a1c0a
	CRC_messages_savedGifsNotModified                                     = 0xe8025ca2
	CRC_messages_savedGifs                                                = 0x2e0709a5
	CRC_inputBotInlineMessageMediaAuto                                    = 0x3380c786
	CRC_inputBotInlineMessageText                                         = 0x3dcd7a87
	CRC_inputBotInlineMessageMediaGeo                                     = 0xc1b15d65
	CRC_inputBotInlineMessageMediaVenue                                   = 0x417bbf11
	CRC_inputBotInlineMessageMediaContact                                 = 0xa6edbffd
	CRC_inputBotInlineMessageGame                                         = 0x4b425864
	CRC_inputBotInlineResult                                              = 0x88bf9319
	CRC_inputBotInlineResultPhoto                                         = 0xa8d864a7
	CRC_inputBotInlineResultDocument                                      = 0xfff8fdc4
	CRC_inputBotInlineResultGame                                          = 0x4fa417f2
	CRC_botInlineMessageMediaAuto                                         = 0x764cf810
	CRC_botInlineMessageText                                              = 0x8c7f65e2
	CRC_botInlineMessageMediaGeo                                          = 0xb722de65
	CRC_botInlineMessageMediaVenue                                        = 0x8a86659c
	CRC_botInlineMessageMediaContact                                      = 0x18d1cdc2
	CRC_botInlineResult                                                   = 0x11965f3a
	CRC_botInlineMediaResult                                              = 0x17db940b
	CRC_messages_botResults                                               = 0x947ca848
	CRC_exportedMessageLink                                               = 0x5dab1af4
	CRC_messageFwdHeader                                                  = 0x353a686b
	CRC_auth_codeTypeSms                                                  = 0x72a3158c
	CRC_auth_codeTypeCall                                                 = 0x741cd3e3
	CRC_auth_codeTypeFlashCall                                            = 0x226ccefb
	CRC_auth_sentCodeTypeApp                                              = 0x3dbb5986
	CRC_auth_sentCodeTypeSms                                              = 0xc000bba2
	CRC_auth_sentCodeTypeCall                                             = 0x5353e5a7
	CRC_auth_sentCodeTypeFlashCall                                        = 0xab03c6d9
	CRC_messages_botCallbackAnswer                                        = 0x36585ea4
	CRC_messages_messageEditData                                          = 0x26b5dde6
	CRC_inputBotInlineMessageID                                           = 0x890c3d89
	CRC_inlineBotSwitchPM                                                 = 0x3c20629f
	CRC_messages_peerDialogs                                              = 0x3371c354
	CRC_topPeer                                                           = 0xedcdc05b
	CRC_topPeerCategoryBotsPM                                             = 0xab661b5b
	CRC_topPeerCategoryBotsInline                                         = 0x148677e2
	CRC_topPeerCategoryCorrespondents                                     = 0x0637b7ed
	CRC_topPeerCategoryGroups                                             = 0xbd17a14a
	CRC_topPeerCategoryChannels                                           = 0x161d9628
	CRC_topPeerCategoryPhoneCalls                                         = 0x1e76a78c
	CRC_topPeerCategoryForwardUsers                                       = 0xa8406ca9
	CRC_topPeerCategoryForwardChats                                       = 0xfbeec0f0
	CRC_topPeerCategoryPeers                                              = 0xfb834291
	CRC_contacts_topPeersNotModified                                      = 0xde266ef5
	CRC_contacts_topPeers                                                 = 0x70b772a8
	CRC_contacts_topPeersDisabled                                         = 0xb52c939d
	CRC_draftMessageEmpty                                                 = 0x1b0c841a
	CRC_draftMessage                                                      = 0xfd8e711f
	CRC_messages_featuredStickersNotModified                              = 0xc6dc0c66
	CRC_messages_featuredStickers                                         = 0xb6abc341
	CRC_messages_recentStickersNotModified                                = 0x0b17f890
	CRC_messages_recentStickers                                           = 0x22f3afb3
	CRC_messages_archivedStickers                                         = 0x4fcba9c8
	CRC_messages_stickerSetInstallResultSuccess                           = 0x38641628
	CRC_messages_stickerSetInstallResultArchive                           = 0x35e410a8
	CRC_stickerSetCovered                                                 = 0x6410a5d2
	CRC_stickerSetMultiCovered                                            = 0x3407e51b
	CRC_maskCoords                                                        = 0xaed6dbb2
	CRC_inputStickeredMediaPhoto                                          = 0x4a992157
	CRC_inputStickeredMediaDocument                                       = 0x0438865b
	CRC_game                                                              = 0xbdf9653b
	CRC_inputGameID                                                       = 0x032c3e77
	CRC_inputGameShortName                                                = 0xc331e80a
	CRC_highScore                                                         = 0x58fffcd0
	CRC_messages_highScores                                               = 0x9a3bfd99
	CRC_textEmpty                                                         = 0xdc3d824f
	CRC_textPlain                                                         = 0x744694e0
	CRC_textBold                                                          = 0x6724abc4
	CRC_textItalic                                                        = 0xd912a59c
	CRC_textUnderline                                                     = 0xc12622c4
	CRC_textStrike                                                        = 0x9bf8bb95
	CRC_textFixed                                                         = 0x6c3f19b9
	CRC_textUrl                                                           = 0x3c2884c1
	CRC_textEmail                                                         = 0xde5a0dd6
	CRC_textConcat                                                        = 0x7e6260d7
	CRC_textSubscript                                                     = 0xed6a8504
	CRC_textSuperscript                                                   = 0xc7fb5e01
	CRC_textMarked                                                        = 0x034b8621
	CRC_textPhone                                                         = 0x1ccb966a
	CRC_textImage                                                         = 0x081ccf4f
	CRC_textAnchor                                                        = 0x35553762
	CRC_pageBlockUnsupported                                              = 0x13567e8a
	CRC_pageBlockTitle                                                    = 0x70abc3fd
	CRC_pageBlockSubtitle                                                 = 0x8ffa9a1f
	CRC_pageBlockAuthorDate                                               = 0xbaafe5e0
	CRC_pageBlockHeader                                                   = 0xbfd064ec
	CRC_pageBlockSubheader                                                = 0xf12bb6e1
	CRC_pageBlockParagraph                                                = 0x467a0766
	CRC_pageBlockPreformatted                                             = 0xc070d93e
	CRC_pageBlockFooter                                                   = 0x48870999
	CRC_pageBlockDivider                                                  = 0xdb20b188
	CRC_pageBlockAnchor                                                   = 0xce0d37b0
	CRC_pageBlockList                                                     = 0xe4e88011
	CRC_pageBlockBlockquote                                               = 0x263d7c26
	CRC_pageBlockPullquote                                                = 0x4f4456d3
	CRC_pageBlockPhoto                                                    = 0x1759c560
	CRC_pageBlockVideo                                                    = 0x7c8fe7b6
	CRC_pageBlockCover                                                    = 0x39f23300
	CRC_pageBlockEmbed                                                    = 0xa8718dc5
	CRC_pageBlockEmbedPost                                                = 0xf259a80b
	CRC_pageBlockCollage                                                  = 0x65a0fa4d
	CRC_pageBlockSlideshow                                                = 0x031f9590
	CRC_pageBlockChannel                                                  = 0xef1751b5
	CRC_pageBlockAudio                                                    = 0x804361ea
	CRC_pageBlockKicker                                                   = 0x1e148390
	CRC_pageBlockTable                                                    = 0xbf4dea82
	CRC_pageBlockOrderedList                                              = 0x9a8ae1e1
	CRC_pageBlockDetails                                                  = 0x76768bed
	CRC_pageBlockRelatedArticles                                          = 0x16115a96
	CRC_pageBlockMap                                                      = 0xa44f3ef6
	CRC_phoneCallDiscardReasonMissed                                      = 0x85e42301
	CRC_phoneCallDiscardReasonDisconnect                                  = 0xe095c1a0
	CRC_phoneCallDiscardReasonHangup                                      = 0x57adc690
	CRC_phoneCallDiscardReasonBusy                                        = 0xfaf7e8c9
	CRC_dataJSON                                                          = 0x7d748d04
	CRC_labeledPrice                                                      = 0xcb296bf8
	CRC_invoice                                                           = 0xc30aa358
	CRC_paymentCharge                                                     = 0xea02c27e
	CRC_postAddress                                                       = 0x1e8caaeb
	CRC_paymentRequestedInfo                                              = 0x909c3f94
	CRC_paymentSavedCredentialsCard                                       = 0xcdc27a1f
	CRC_webDocument                                                       = 0x1c570ed1
	CRC_webDocumentNoProxy                                                = 0xf9c8bcc6
	CRC_inputWebDocument                                                  = 0x9bed434d
	CRC_inputWebFileLocation                                              = 0xc239d686
	CRC_inputWebFileGeoPointLocation                                      = 0x9f2221c9
	CRC_upload_webFile                                                    = 0x21e753bc
	CRC_payments_paymentForm                                              = 0x3f56aea3
	CRC_payments_validatedRequestedInfo                                   = 0xd1451883
	CRC_payments_paymentResult                                            = 0x4e5f810d
	CRC_payments_paymentVerificationNeeded                                = 0xd8411139
	CRC_payments_paymentReceipt                                           = 0x500911e1
	CRC_payments_savedInfo                                                = 0xfb8fe43c
	CRC_inputPaymentCredentialsSaved                                      = 0xc10eb2cf
	CRC_inputPaymentCredentials                                           = 0x3417d728
	CRC_inputPaymentCredentialsApplePay                                   = 0x0aa1c39f
	CRC_inputPaymentCredentialsAndroidPay                                 = 0xca05d50e
	CRC_account_tmpPassword                                               = 0xdb64fd34
	CRC_shippingOption                                                    = 0xb6213cdf
	CRC_inputStickerSetItem                                               = 0xffa0a496
	CRC_inputPhoneCall                                                    = 0x1e36fded
	CRC_phoneCallEmpty                                                    = 0x5366c915
	CRC_phoneCallWaiting                                                  = 0x1b8f4ad1
	CRC_phoneCallRequested                                                = 0x87eabb53
	CRC_phoneCallAccepted                                                 = 0x997c454a
	CRC_phoneCall                                                         = 0x8742ae7f
	CRC_phoneCallDiscarded                                                = 0x50ca4de1
	CRC_phoneConnection                                                   = 0x9d4c17c0
	CRC_phoneCallProtocol                                                 = 0xfc878fc8
	CRC_phone_phoneCall                                                   = 0xec82e140
	CRC_upload_cdnFileReuploadNeeded                                      = 0xeea8e46e
	CRC_upload_cdnFile                                                    = 0xa99fca4f
	CRC_cdnPublicKey                                                      = 0xc982eaba
	CRC_cdnConfig                                                         = 0x5725e40a
	CRC_langPackString                                                    = 0xcad181f6
	CRC_langPackStringPluralized                                          = 0x6c47ac9f
	CRC_langPackStringDeleted                                             = 0x2979eeb2
	CRC_langPackDifference                                                = 0xf385c1f6
	CRC_langPackLanguage                                                  = 0xeeca5ce3
	CRC_channelAdminLogEventActionChangeTitle                             = 0xe6dfb825
	CRC_channelAdminLogEventActionChangeAbout                             = 0x55188a2e
	CRC_channelAdminLogEventActionChangeUsername                          = 0x6a4afc38
	CRC_channelAdminLogEventActionChangePhoto                             = 0x434bd2af
	CRC_channelAdminLogEventActionToggleInvites                           = 0x1b7907ae
	CRC_channelAdminLogEventActionToggleSignatures                        = 0x26ae0971
	CRC_channelAdminLogEventActionUpdatePinned                            = 0xe9e82c18
	CRC_channelAdminLogEventActionEditMessage                             = 0x709b2405
	CRC_channelAdminLogEventActionDeleteMessage                           = 0x42e047bb
	CRC_channelAdminLogEventActionParticipantJoin                         = 0x183040d3
	CRC_channelAdminLogEventActionParticipantLeave                        = 0xf89777f2
	CRC_channelAdminLogEventActionParticipantInvite                       = 0xe31c34d8
	CRC_channelAdminLogEventActionParticipantToggleBan                    = 0xe6d83d7e
	CRC_channelAdminLogEventActionParticipantToggleAdmin                  = 0xd5676710
	CRC_channelAdminLogEventActionChangeStickerSet                        = 0xb1c3caa7
	CRC_channelAdminLogEventActionTogglePreHistoryHidden                  = 0x5f5c95f1
	CRC_channelAdminLogEventActionDefaultBannedRights                     = 0x2df5fc0a
	CRC_channelAdminLogEventActionStopPoll                                = 0x8f079643
	CRC_channelAdminLogEventActionChangeLinkedChat                        = 0xa26f881b
	CRC_channelAdminLogEventActionChangeLocation                          = 0x0e6b76ae
	CRC_channelAdminLogEventActionToggleSlowMode                          = 0x53909779
	CRC_channelAdminLogEvent                                              = 0x3b5a3e40
	CRC_channels_adminLogResults                                          = 0xed8af74d
	CRC_channelAdminLogEventsFilter                                       = 0xea107ae4
	CRC_popularContact                                                    = 0x5ce14175
	CRC_messages_favedStickersNotModified                                 = 0x9e8fa6d3
	CRC_messages_favedStickers                                            = 0xf37f2f16
	CRC_recentMeUrlUnknown                                                = 0x46e1d13d
	CRC_recentMeUrlUser                                                   = 0x8dbc3336
	CRC_recentMeUrlChat                                                   = 0xa01b22f9
	CRC_recentMeUrlChatInvite                                             = 0xeb49081d
	CRC_recentMeUrlStickerSet                                             = 0xbc0a57dc
	CRC_help_recentMeUrls                                                 = 0x0e0310d7
	CRC_inputSingleMedia                                                  = 0x1cc6e91f
	CRC_webAuthorization                                                  = 0xcac943f2
	CRC_account_webAuthorizations                                         = 0xed56c9fc
	CRC_inputMessageID                                                    = 0xa676a322
	CRC_inputMessageReplyTo                                               = 0xbad88395
	CRC_inputMessagePinned                                                = 0x86872538
	CRC_inputDialogPeer                                                   = 0xfcaafeb7
	CRC_inputDialogPeerFolder                                             = 0x64600527
	CRC_dialogPeer                                                        = 0xe56dbf05
	CRC_dialogPeerFolder                                                  = 0x514519e2
	CRC_messages_foundStickerSetsNotModified                              = 0x0d54b65d
	CRC_messages_foundStickerSets                                         = 0x5108d648
	CRC_fileHash                                                          = 0x6242c773
	CRC_inputClientProxy                                                  = 0x75588b3f
	CRC_help_termsOfServiceUpdateEmpty                                    = 0xe3309f7f
	CRC_help_termsOfServiceUpdate                                         = 0x28ecf961
	CRC_inputSecureFileUploaded                                           = 0x3334b0f0
	CRC_inputSecureFile                                                   = 0x5367e5be
	CRC_secureFileEmpty                                                   = 0x64199744
	CRC_secureFile                                                        = 0xe0277a62
	CRC_secureData                                                        = 0x8aeabec3
	CRC_securePlainPhone                                                  = 0x7d6099dd
	CRC_securePlainEmail                                                  = 0x21ec5a5f
	CRC_secureValueTypePersonalDetails                                    = 0x9d2a81e3
	CRC_secureValueTypePassport                                           = 0x3dac6a00
	CRC_secureValueTypeDriverLicense                                      = 0x06e425c4
	CRC_secureValueTypeIdentityCard                                       = 0xa0d0744b
	CRC_secureValueTypeInternalPassport                                   = 0x99a48f23
	CRC_secureValueTypeAddress                                            = 0xcbe31e26
	CRC_secureValueTypeUtilityBill                                        = 0xfc36954e
	CRC_secureValueTypeBankStatement                                      = 0x89137c0d
	CRC_secureValueTypeRentalAgreement                                    = 0x8b883488
	CRC_secureValueTypePassportRegistration                               = 0x99e3806a
	CRC_secureValueTypeTemporaryRegistration                              = 0xea02ec33
	CRC_secureValueTypePhone                                              = 0xb320aadb
	CRC_secureValueTypeEmail                                              = 0x8e3ca7ee
	CRC_secureValue                                                       = 0x187fa0ca
	CRC_inputSecureValue                                                  = 0xdb21d0a7
	CRC_secureValueHash                                                   = 0xed1ecdb0
	CRC_secureValueErrorData                                              = 0xe8a40bd9
	CRC_secureValueErrorFrontSide                                         = 0x00be3dfa
	CRC_secureValueErrorReverseSide                                       = 0x868a2aa5
	CRC_secureValueErrorSelfie                                            = 0xe537ced6
	CRC_secureValueErrorFile                                              = 0x7a700873
	CRC_secureValueErrorFiles                                             = 0x666220e9
	CRC_secureValueError                                                  = 0x869d758f
	CRC_secureValueErrorTranslationFile                                   = 0xa1144770
	CRC_secureValueErrorTranslationFiles                                  = 0x34636dd8
	CRC_secureCredentialsEncrypted                                        = 0x33f0ea47
	CRC_account_authorizationForm                                         = 0xad2e1cd8
	CRC_account_sentEmailCode                                             = 0x811f854f
	CRC_help_deepLinkInfoEmpty                                            = 0x66afa166
	CRC_help_deepLinkInfo                                                 = 0x6a4ee832
	CRC_savedPhoneContact                                                 = 0x1142bd56
	CRC_account_takeout                                                   = 0x4dba4501
	CRC_passwordKdfAlgoUnknown                                            = 0xd45ab096
	CRC_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow = 0x3a912d4a
	CRC_securePasswordKdfAlgoUnknown                                      = 0x004a8537
	CRC_securePasswordKdfAlgoPBKDF2HMACSHA512iter100000                   = 0xbbf2dda0
	CRC_securePasswordKdfAlgoSHA512                                       = 0x86471d92
	CRC_secureSecretSettings                                              = 0x1527bcac
	CRC_inputCheckPasswordEmpty                                           = 0x9880f658
	CRC_inputCheckPasswordSRP                                             = 0xd27ff082
	CRC_secureRequiredType                                                = 0x829d99da
	CRC_secureRequiredTypeOneOf                                           = 0x027477b4
	CRC_help_passportConfigNotModified                                    = 0xbfb9f457
	CRC_help_passportConfig                                               = 0xa098d6af
	CRC_inputAppEvent                                                     = 0x1d1b1245
	CRC_jsonObjectValue                                                   = 0xc0de1bd9
	CRC_jsonNull                                                          = 0x3f6d7b68
	CRC_jsonBool                                                          = 0xc7345e6a
	CRC_jsonNumber                                                        = 0x2be0dfa4
	CRC_jsonString                                                        = 0xb71e767a
	CRC_jsonArray                                                         = 0xf7444763
	CRC_jsonObject                                                        = 0x99c1d49d
	CRC_pageTableCell                                                     = 0x34566b6a
	CRC_pageTableRow                                                      = 0xe0c0c5e5
	CRC_pageCaption                                                       = 0x6f747657
	CRC_pageListItemText                                                  = 0xb92fb6cd
	CRC_pageListItemBlocks                                                = 0x25e073fc
	CRC_pageListOrderedItemText                                           = 0x5e068047
	CRC_pageListOrderedItemBlocks                                         = 0x98dd8936
	CRC_pageRelatedArticle                                                = 0xb390dc08
	CRC_page                                                              = 0x98657f0d
	CRC_help_supportName                                                  = 0x8c05f1c9
	CRC_help_userInfoEmpty                                                = 0xf3ae2eed
	CRC_help_userInfo                                                     = 0x01eb3758
	CRC_pollAnswer                                                        = 0x6ca9c2e9
	CRC_poll                                                              = 0x86e18161
	CRC_pollAnswerVoters                                                  = 0x3b6ddad2
	CRC_pollResults                                                       = 0xbadcc1a3
	CRC_chatOnlines                                                       = 0xf041e250
	CRC_statsURL                                                          = 0x47a971e0
	CRC_chatAdminRights                                                   = 0x5fb224d5
	CRC_chatBannedRights                                                  = 0x9f120418
	CRC_inputWallPaper                                                    = 0xe630b979
	CRC_inputWallPaperSlug                                                = 0x72091c80
	CRC_inputWallPaperNoFile                                              = 0x8427bbac
	CRC_account_wallPapersNotModified                                     = 0x1c199183
	CRC_account_wallPapers                                                = 0x702b65a9
	CRC_codeSettings                                                      = 0xdebebe83
	CRC_wallPaperSettings                                                 = 0x05086cf8
	CRC_autoDownloadSettings                                              = 0xe04232f3
	CRC_account_autoDownloadSettings                                      = 0x63cacf26
	CRC_emojiKeyword                                                      = 0xd5b3b9f9
	CRC_emojiKeywordDeleted                                               = 0x236df622
	CRC_emojiKeywordsDifference                                           = 0x5cc761bd
	CRC_emojiURL                                                          = 0xa575739d
	CRC_emojiLanguage                                                     = 0xb3fb5361
	CRC_fileLocationToBeDeprecated                                        = 0xbc7fc6cd
	CRC_folder                                                            = 0xff544e65
	CRC_inputFolderPeer                                                   = 0xfbd2c296
	CRC_folderPeer                                                        = 0xe9baa668
	CRC_messages_searchCounter                                            = 0xe844ebff
	CRC_urlAuthResultRequest                                              = 0x92d33a0e
	CRC_urlAuthResultAccepted                                             = 0x8f8c0e4e
	CRC_urlAuthResultDefault                                              = 0xa9d6db1f
	CRC_channelLocationEmpty                                              = 0xbfb5ad8b
	CRC_channelLocation                                                   = 0x209b82db
	CRC_peerLocated                                                       = 0xca461b5d
	CRC_peerSelfLocated                                                   = 0xf8ec284b
	CRC_restrictionReason                                                 = 0xd072acb4
	CRC_inputTheme                                                        = 0x3c5693e9
	CRC_inputThemeSlug                                                    = 0xf5890df1
	CRC_theme                                                             = 0x028f1114
	CRC_account_themesNotModified                                         = 0xf41eb622
	CRC_account_themes                                                    = 0x7f676421
	CRC_auth_loginToken                                                   = 0x629f1980
	CRC_auth_loginTokenMigrateTo                                          = 0x068e9916
	CRC_auth_loginTokenSuccess                                            = 0x390d5c5e
	CRC_account_contentSettings                                           = 0x57e28221
	CRC_messages_inactiveChats                                            = 0xa927fec5
	CRC_baseThemeClassic                                                  = 0xc3a12462
	CRC_baseThemeDay                                                      = 0xfbd81688
	CRC_baseThemeNight                                                    = 0xb7b31ea8
	CRC_baseThemeTinted                                                   = 0x6d5f77ee
	CRC_baseThemeArctic                                                   = 0x5b11125a
	CRC_inputThemeSettings                                                = 0xbd507cd1
	CRC_themeSettings                                                     = 0x9c14984a
	CRC_webPageAttributeTheme                                             = 0x54b56617
	CRC_messageUserVote                                                   = 0xa28e5559
	CRC_messageUserVoteInputOption                                        = 0x36377430
	CRC_messageUserVoteMultiple                                           = 0x0e8fe0de
	CRC_messages_votesList                                                = 0x0823f649
	CRC_bankCardOpenUrl                                                   = 0xf568028a
	CRC_payments_bankCardData                                             = 0x3e24e573
	CRC_dialogFilter                                                      = 0x7438f7e8
	CRC_dialogFilterSuggested                                             = 0x77744d4a
	CRC_statsDateRangeDays                                                = 0xb637edaf
	CRC_statsAbsValueAndPrev                                              = 0xcb43acde
	CRC_statsPercentValue                                                 = 0xcbce2fe0
	CRC_statsGraphAsync                                                   = 0x4a27eb2d
	CRC_statsGraphError                                                   = 0xbedc9822
	CRC_statsGraph                                                        = 0x8ea464b6
	CRC_messageInteractionCounters                                        = 0xad4fc9bd
	CRC_stats_broadcastStats                                              = 0xbdf78394
	CRC_help_promoDataEmpty                                               = 0x98f6ac75
	CRC_help_promoData                                                    = 0x8c39793f
	CRC_videoSize                                                         = 0x435bb987
	CRC_invokeAfterMsg                                                    = 0xcb9f372d
	CRC_invokeAfterMsgs                                                   = 0x3dc4b4f0
	CRC_initConnection                                                    = 0xc1cd5ea9
	CRC_invokeWithLayer                                                   = 0xda9b0d0d
	CRC_invokeWithoutUpdates                                              = 0xbf9459b7
	CRC_invokeWithMessagesRange                                           = 0x365275f2
	CRC_invokeWithTakeout                                                 = 0xaca9fd2e
	CRC_auth_sendCode                                                     = 0xa677244f
	CRC_auth_signUp                                                       = 0x80eee427
	CRC_auth_signIn                                                       = 0xbcd51581
	CRC_auth_logOut                                                       = 0x5717da40
	CRC_auth_resetAuthorizations                                          = 0x9fab0d1a
	CRC_auth_exportAuthorization                                          = 0xe5bfffcd
	CRC_auth_importAuthorization                                          = 0xe3ef9613
	CRC_auth_bindTempAuthKey                                              = 0xcdd42a05
	CRC_auth_importBotAuthorization                                       = 0x67a3ff2c
	CRC_auth_checkPassword                                                = 0xd18b4d16
	CRC_auth_requestPasswordRecovery                                      = 0xd897bc66
	CRC_auth_recoverPassword                                              = 0x4ea56e92
	CRC_auth_resendCode                                                   = 0x3ef1a9bf
	CRC_auth_cancelCode                                                   = 0x1f040578
	CRC_auth_dropTempAuthKeys                                             = 0x8e48a188
	CRC_auth_exportLoginToken                                             = 0xb1b41517
	CRC_auth_importLoginToken                                             = 0x95ac5ce4
	CRC_auth_acceptLoginToken                                             = 0xe894ad4d
	CRC_account_registerDevice                                            = 0x68976c6f
	CRC_account_unregisterDevice                                          = 0x3076c4bf
	CRC_account_updateNotifySettings                                      = 0x84be5b93
	CRC_account_getNotifySettings                                         = 0x12b3ad31
	CRC_account_resetNotifySettings                                       = 0xdb7e1747
	CRC_account_updateProfile                                             = 0x78515775
	CRC_account_updateStatus                                              = 0x6628562c
	CRC_account_getWallPapers                                             = 0xaabb1763
	CRC_account_reportPeer                                                = 0xae189d5f
	CRC_account_checkUsername                                             = 0x2714d86c
	CRC_account_updateUsername                                            = 0x3e0bdd7c
	CRC_account_getPrivacy                                                = 0xdadbc950
	CRC_account_setPrivacy                                                = 0xc9f81ce8
	CRC_account_deleteAccount                                             = 0x418d4e0b
	CRC_account_getAccountTTL                                             = 0x08fc711d
	CRC_account_setAccountTTL                                             = 0x2442485e
	CRC_account_sendChangePhoneCode                                       = 0x82574ae5
	CRC_account_changePhone                                               = 0x70c32edb
	CRC_account_updateDeviceLocked                                        = 0x38df3532
	CRC_account_getAuthorizations                                         = 0xe320c158
	CRC_account_resetAuthorization                                        = 0xdf77f3bc
	CRC_account_getPassword                                               = 0x548a30f5
	CRC_account_getPasswordSettings                                       = 0x9cd4eaf9
	CRC_account_updatePasswordSettings                                    = 0xa59b102f
	CRC_account_sendConfirmPhoneCode                                      = 0x1b3faa88
	CRC_account_confirmPhone                                              = 0x5f2178c3
	CRC_account_getTmpPassword                                            = 0x449e0b51
	CRC_account_getWebAuthorizations                                      = 0x182e6d6f
	CRC_account_resetWebAuthorization                                     = 0x2d01b9ef
	CRC_account_resetWebAuthorizations                                    = 0x682d2594
	CRC_account_getAllSecureValues                                        = 0xb288bc7d
	CRC_account_getSecureValue                                            = 0x73665bc2
	CRC_account_saveSecureValue                                           = 0x899fe31d
	CRC_account_deleteSecureValue                                         = 0xb880bc4b
	CRC_account_getAuthorizationForm                                      = 0xb86ba8e1
	CRC_account_acceptAuthorization                                       = 0xe7027c94
	CRC_account_sendVerifyPhoneCode                                       = 0xa5a356f9
	CRC_account_verifyPhone                                               = 0x4dd3a7f6
	CRC_account_sendVerifyEmailCode                                       = 0x7011509f
	CRC_account_verifyEmail                                               = 0xecba39db
	CRC_account_initTakeoutSession                                        = 0xf05b4804
	CRC_account_finishTakeoutSession                                      = 0x1d2652ee
	CRC_account_confirmPasswordEmail                                      = 0x8fdf1920
	CRC_account_resendPasswordEmail                                       = 0x7a7f2a15
	CRC_account_cancelPasswordEmail                                       = 0xc1cbd5b6
	CRC_account_getContactSignUpNotification                              = 0x9f07c728
	CRC_account_setContactSignUpNotification                              = 0xcff43f61
	CRC_account_getNotifyExceptions                                       = 0x53577479
	CRC_account_getWallPaper                                              = 0xfc8ddbea
	CRC_account_uploadWallPaper                                           = 0xdd853661
	CRC_account_saveWallPaper                                             = 0x6c5a5b37
	CRC_account_installWallPaper                                          = 0xfeed5769
	CRC_account_resetWallPapers                                           = 0xbb3b9804
	CRC_account_getAutoDownloadSettings                                   = 0x56da0b3f
	CRC_account_saveAutoDownloadSettings                                  = 0x76f36233
	CRC_account_uploadTheme                                               = 0x1c3db333
	CRC_account_createTheme                                               = 0x8432c21f
	CRC_account_updateTheme                                               = 0x5cb367d5
	CRC_account_saveTheme                                                 = 0xf257106c
	CRC_account_installTheme                                              = 0x7ae43737
	CRC_account_getTheme                                                  = 0x8d9d742b
	CRC_account_getThemes                                                 = 0x285946f8
	CRC_account_setContentSettings                                        = 0xb574b16b
	CRC_account_getContentSettings                                        = 0x8b9b4dae
	CRC_account_getMultiWallPapers                                        = 0x65ad71dc
	CRC_users_getUsers                                                    = 0x0d91a548
	CRC_users_getFullUser                                                 = 0xca30a5b1
	CRC_users_setSecureValueErrors                                        = 0x90c894b5
	CRC_contacts_getContactIDs                                            = 0x2caa4a42
	CRC_contacts_getStatuses                                              = 0xc4a353ee
	CRC_contacts_getContacts                                              = 0xc023849f
	CRC_contacts_importContacts                                           = 0x2c800be5
	CRC_contacts_deleteContacts                                           = 0x096a0e00
	CRC_contacts_deleteByPhones                                           = 0x1013fd9e
	CRC_contacts_block                                                    = 0x332b49fc
	CRC_contacts_unblock                                                  = 0xe54100bd
	CRC_contacts_getBlocked                                               = 0xf57c350f
	CRC_contacts_search                                                   = 0x11f812d8
	CRC_contacts_resolveUsername                                          = 0xf93ccba3
	CRC_contacts_getTopPeers                                              = 0xd4982db5
	CRC_contacts_resetTopPeerRating                                       = 0x1ae373ac
	CRC_contacts_resetSaved                                               = 0x879537f1
	CRC_contacts_getSaved                                                 = 0x82f1e39f
	CRC_contacts_toggleTopPeers                                           = 0x8514bdda
	CRC_contacts_addContact                                               = 0xe8f463d0
	CRC_contacts_acceptContact                                            = 0xf831a20f
	CRC_contacts_getLocated                                               = 0xd348bc44
	CRC_messages_getMessages                                              = 0x63c66506
	CRC_messages_getDialogs                                               = 0xa0ee3b73
	CRC_messages_getHistory                                               = 0xdcbb8260
	CRC_messages_search                                                   = 0x8614ef68
	CRC_messages_readHistory                                              = 0x0e306d3a
	CRC_messages_deleteHistory                                            = 0x1c015b09
	CRC_messages_deleteMessages                                           = 0xe58e95d2
	CRC_messages_receivedMessages                                         = 0x05a954c0
	CRC_messages_setTyping                                                = 0xa3825e50
	CRC_messages_sendMessage                                              = 0x520c3870
	CRC_messages_sendMedia                                                = 0x3491eba9
	CRC_messages_forwardMessages                                          = 0xd9fee60e
	CRC_messages_reportSpam                                               = 0xcf1592db
	CRC_messages_getPeerSettings                                          = 0x3672e09c
	CRC_messages_report                                                   = 0xbd82b658
	CRC_messages_getChats                                                 = 0x3c6aa187
	CRC_messages_getFullChat                                              = 0x3b831c66
	CRC_messages_editChatTitle                                            = 0xdc452855
	CRC_messages_editChatPhoto                                            = 0xca4c79d8
	CRC_messages_addChatUser                                              = 0xf9a0aa09
	CRC_messages_deleteChatUser                                           = 0xe0611f16
	CRC_messages_createChat                                               = 0x09cb126e
	CRC_messages_getDhConfig                                              = 0x26cf8950
	CRC_messages_requestEncryption                                        = 0xf64daf43
	CRC_messages_acceptEncryption                                         = 0x3dbc0415
	CRC_messages_discardEncryption                                        = 0xedd923c5
	CRC_messages_setEncryptedTyping                                       = 0x791451ed
	CRC_messages_readEncryptedHistory                                     = 0x7f4b690a
	CRC_messages_sendEncrypted                                            = 0xa9776773
	CRC_messages_sendEncryptedFile                                        = 0x9a901b66
	CRC_messages_sendEncryptedService                                     = 0x32d439a4
	CRC_messages_receivedQueue                                            = 0x55a5bb66
	CRC_messages_reportEncryptedSpam                                      = 0x4b0c8c0f
	CRC_messages_readMessageContents                                      = 0x36a73f77
	CRC_messages_getStickers                                              = 0x043d4f2c
	CRC_messages_getAllStickers                                           = 0x1c9618b1
	CRC_messages_getWebPagePreview                                        = 0x8b68b0cc
	CRC_messages_exportChatInvite                                         = 0x0df7534c
	CRC_messages_checkChatInvite                                          = 0x3eadb1bb
	CRC_messages_importChatInvite                                         = 0x6c50051c
	CRC_messages_getStickerSet                                            = 0x2619a90e
	CRC_messages_installStickerSet                                        = 0xc78fe460
	CRC_messages_uninstallStickerSet                                      = 0xf96e55de
	CRC_messages_startBot                                                 = 0xe6df7378
	CRC_messages_getMessagesViews                                         = 0xc4c8a55d
	CRC_messages_editChatAdmin                                            = 0xa9e69f2e
	CRC_messages_migrateChat                                              = 0x15a3b8e3
	CRC_messages_searchGlobal                                             = 0xbf7225a4
	CRC_messages_reorderStickerSets                                       = 0x78337739
	CRC_messages_getDocumentByHash                                        = 0x338e2464
	CRC_messages_searchGifs                                               = 0xbf9a776b
	CRC_messages_getSavedGifs                                             = 0x83bf3d52
	CRC_messages_saveGif                                                  = 0x327a30cb
	CRC_messages_getInlineBotResults                                      = 0x514e999d
	CRC_messages_setInlineBotResults                                      = 0xeb5ea206
	CRC_messages_sendInlineBotResult                                      = 0x220815b0
	CRC_messages_getMessageEditData                                       = 0xfda68d36
	CRC_messages_editMessage                                              = 0x48f71778
	CRC_messages_editInlineBotMessage                                     = 0x83557dba
	CRC_messages_getBotCallbackAnswer                                     = 0x810a9fec
	CRC_messages_setBotCallbackAnswer                                     = 0xd58f130a
	CRC_messages_getPeerDialogs                                           = 0xe470bcfd
	CRC_messages_saveDraft                                                = 0xbc39e14b
	CRC_messages_getAllDrafts                                             = 0x6a3f8d65
	CRC_messages_getFeaturedStickers                                      = 0x2dacca4f
	CRC_messages_readFeaturedStickers                                     = 0x5b118126
	CRC_messages_getRecentStickers                                        = 0x5ea192c9
	CRC_messages_saveRecentSticker                                        = 0x392718f8
	CRC_messages_clearRecentStickers                                      = 0x8999602d
	CRC_messages_getArchivedStickers                                      = 0x57f17692
	CRC_messages_getMaskStickers                                          = 0x65b8c79f
	CRC_messages_getAttachedStickers                                      = 0xcc5b67cc
	CRC_messages_setGameScore                                             = 0x8ef8ecc0
	CRC_messages_setInlineGameScore                                       = 0x15ad9f64
	CRC_messages_getGameHighScores                                        = 0xe822649d
	CRC_messages_getInlineGameHighScores                                  = 0x0f635e1b
	CRC_messages_getCommonChats                                           = 0x0d0a48c4
	CRC_messages_getAllChats                                              = 0xeba80ff0
	CRC_messages_getWebPage                                               = 0x32ca8f91
	CRC_messages_toggleDialogPin                                          = 0xa731e257
	CRC_messages_reorderPinnedDialogs                                     = 0x3b1adf37
	CRC_messages_getPinnedDialogs                                         = 0xd6b94df2
	CRC_messages_setBotShippingResults                                    = 0xe5f672fa
	CRC_messages_setBotPrecheckoutResults                                 = 0x09c2dd95
	CRC_messages_uploadMedia                                              = 0x519bc2b1
	CRC_messages_sendScreenshotNotification                               = 0xc97df020
	CRC_messages_getFavedStickers                                         = 0x21ce0b0e
	CRC_messages_faveSticker                                              = 0xb9ffc55b
	CRC_messages_getUnreadMentions                                        = 0x46578472
	CRC_messages_readMentions                                             = 0x0f0189d3
	CRC_messages_getRecentLocations                                       = 0xbbc45b09
	CRC_messages_sendMultiMedia                                           = 0xcc0110cb
	CRC_messages_uploadEncryptedFile                                      = 0x5057c497
	CRC_messages_searchStickerSets                                        = 0xc2b7d08b
	CRC_messages_getSplitRanges                                           = 0x1cff7e08
	CRC_messages_markDialogUnread                                         = 0xc286d98f
	CRC_messages_getDialogUnreadMarks                                     = 0x22e24e22
	CRC_messages_clearAllDrafts                                           = 0x7e58ee9c
	CRC_messages_updatePinnedMessage                                      = 0xd2aaf7ec
	CRC_messages_sendVote                                                 = 0x10ea6184
	CRC_messages_getPollResults                                           = 0x73bb643b
	CRC_messages_getOnlines                                               = 0x6e2be050
	CRC_messages_getStatsURL                                              = 0x812c2ae6
	CRC_messages_editChatAbout                                            = 0xdef60797
	CRC_messages_editChatDefaultBannedRights                              = 0xa5866b41
	CRC_messages_getEmojiKeywords                                         = 0x35a0e062
	CRC_messages_getEmojiKeywordsDifference                               = 0x1508b6af
	CRC_messages_getEmojiKeywordsLanguages                                = 0x4e9963b2
	CRC_messages_getEmojiURL                                              = 0xd5b10c26
	CRC_messages_getSearchCounters                                        = 0x732eef00
	CRC_messages_requestUrlAuth                                           = 0xe33f5613
	CRC_messages_acceptUrlAuth                                            = 0xf729ea98
	CRC_messages_hidePeerSettingsBar                                      = 0x4facb138
	CRC_messages_getScheduledHistory                                      = 0xe2c2685b
	CRC_messages_getScheduledMessages                                     = 0xbdbb0464
	CRC_messages_sendScheduledMessages                                    = 0xbd38850a
	CRC_messages_deleteScheduledMessages                                  = 0x59ae2b16
	CRC_messages_getPollVotes                                             = 0xb86e380e
	CRC_messages_toggleStickerSets                                        = 0xb5052fea
	CRC_messages_getDialogFilters                                         = 0xf19ed96d
	CRC_messages_getSuggestedDialogFilters                                = 0xa29cd42c
	CRC_messages_updateDialogFilter                                       = 0x1ad4a04a
	CRC_messages_updateDialogFiltersOrder                                 = 0xc563c1e4
	CRC_messages_getOldFeaturedStickers                                   = 0x5fe7025b
	CRC_updates_getState                                                  = 0xedd4882a
	CRC_updates_getDifference                                             = 0x25939651
	CRC_updates_getChannelDifference                                      = 0x03173d78
	CRC_photos_updateProfilePhoto                                         = 0xf0bb5152
	CRC_photos_uploadProfilePhoto                                         = 0x4f32c098
	CRC_photos_deletePhotos                                               = 0x87cf7f2f
	CRC_photos_getUserPhotos                                              = 0x91cd32a8
	CRC_upload_saveFilePart                                               = 0xb304a621
	CRC_upload_getFile                                                    = 0xb15a9afc
	CRC_upload_saveBigFilePart                                            = 0xde7b673d
	CRC_upload_getWebFile                                                 = 0x24e6818d
	CRC_upload_getCdnFile                                                 = 0x2000bcc3
	CRC_upload_reuploadCdnFile                                            = 0x9b2754a8
	CRC_upload_getCdnFileHashes                                           = 0x4da54231
	CRC_upload_getFileHashes                                              = 0xc7025931
	CRC_help_getConfig                                                    = 0xc4f9186b
	CRC_help_getNearestDc                                                 = 0x1fb33026
	CRC_help_getAppUpdate                                                 = 0x522d5a7d
	CRC_help_getInviteText                                                = 0x4d392343
	CRC_help_getSupport                                                   = 0x9cdf08cd
	CRC_help_getAppChangelog                                              = 0x9010ef6f
	CRC_help_setBotUpdatesStatus                                          = 0xec22cfcd
	CRC_help_getCdnConfig                                                 = 0x52029342
	CRC_help_getRecentMeUrls                                              = 0x3dc0f114
	CRC_help_getTermsOfServiceUpdate                                      = 0x2ca51fd1
	CRC_help_acceptTermsOfService                                         = 0xee72f79a
	CRC_help_getDeepLinkInfo                                              = 0x3fedc75f
	CRC_help_getAppConfig                                                 = 0x98914110
	CRC_help_saveAppLog                                                   = 0x6f02f748
	CRC_help_getPassportConfig                                            = 0xc661ad08
	CRC_help_getSupportName                                               = 0xd360e72c
	CRC_help_getUserInfo                                                  = 0x038a08d3
	CRC_help_editUserInfo                                                 = 0x66b91b70
	CRC_help_getPromoData                                                 = 0xc0977421
	CRC_help_hidePromoData                                                = 0x1e251c95
	CRC_channels_readHistory                                              = 0xcc104937
	CRC_channels_deleteMessages                                           = 0x84c1fd4e
	CRC_channels_deleteUserHistory                                        = 0xd10dd71b
	CRC_channels_reportSpam                                               = 0xfe087810
	CRC_channels_getMessages                                              = 0xad8c9a23
	CRC_channels_getParticipants                                          = 0x123e05e9
	CRC_channels_getParticipant                                           = 0x546dd7a6
	CRC_channels_getChannels                                              = 0x0a7f6bbb
	CRC_channels_getFullChannel                                           = 0x08736a09
	CRC_channels_createChannel                                            = 0x3d5fb10f
	CRC_channels_editAdmin                                                = 0xd33c8902
	CRC_channels_editTitle                                                = 0x566decd0
	CRC_channels_editPhoto                                                = 0xf12e57c9
	CRC_channels_checkUsername                                            = 0x10e6bd2c
	CRC_channels_updateUsername                                           = 0x3514b3de
	CRC_channels_joinChannel                                              = 0x24b524c5
	CRC_channels_leaveChannel                                             = 0xf836aa95
	CRC_channels_inviteToChannel                                          = 0x199f3a6c
	CRC_channels_deleteChannel                                            = 0xc0111fe3
	CRC_channels_exportMessageLink                                        = 0xceb77163
	CRC_channels_toggleSignatures                                         = 0x1f69b606
	CRC_channels_getAdminedPublicChannels                                 = 0xf8b036af
	CRC_channels_editBanned                                               = 0x72796912
	CRC_channels_getAdminLog                                              = 0x33ddf480
	CRC_channels_setStickers                                              = 0xea8ca4f9
	CRC_channels_readMessageContents                                      = 0xeab5dc38
	CRC_channels_deleteHistory                                            = 0xaf369d42
	CRC_channels_togglePreHistoryHidden                                   = 0xeabbb94c
	CRC_channels_getLeftChannels                                          = 0x8341ecc0
	CRC_channels_getGroupsForDiscussion                                   = 0xf5dad378
	CRC_channels_setDiscussionGroup                                       = 0x40582bb2
	CRC_channels_editCreator                                              = 0x8f38cd1f
	CRC_channels_editLocation                                             = 0x58e63f6d
	CRC_channels_toggleSlowMode                                           = 0xedd49ef0
	CRC_channels_getInactiveChannels                                      = 0x11e831ee
	CRC_bots_sendCustomRequest                                            = 0xaa2769ed
	CRC_bots_answerWebhookJSONQuery                                       = 0xe6213f4d
	CRC_bots_setBotCommands                                               = 0x805d46f6
	CRC_payments_getPaymentForm                                           = 0x99f09745
	CRC_payments_getPaymentReceipt                                        = 0xa092a980
	CRC_payments_validateRequestedInfo                                    = 0x770a8e74
	CRC_payments_sendPaymentForm                                          = 0x2b8879b3
	CRC_payments_getSavedInfo                                             = 0x227d824b
	CRC_payments_clearSavedInfo                                           = 0xd83d70c1
	CRC_payments_getBankCardData                                          = 0x2e79d779
	CRC_stickers_createStickerSet                                         = 0xf1036780
	CRC_stickers_removeStickerFromSet                                     = 0xf7760f51
	CRC_stickers_changeStickerPosition                                    = 0xffb6d4ca
	CRC_stickers_addStickerToSet                                          = 0x8653febe
	CRC_stickers_setStickerSetThumb                                       = 0x9a364e30
	CRC_phone_getCallConfig                                               = 0x55451fa9
	CRC_phone_requestCall                                                 = 0x42ff96ed
	CRC_phone_acceptCall                                                  = 0x3bd2b4a0
	CRC_phone_confirmCall                                                 = 0x2efe1722
	CRC_phone_receivedCall                                                = 0x17d54f61
	CRC_phone_discardCall                                                 = 0xb2cbc1c0
	CRC_phone_setCallRating                                               = 0x59ead627
	CRC_phone_saveCallDebug                                               = 0x277add7e
	CRC_phone_sendSignalingData                                           = 0xff7a9383
	CRC_langpack_getLangPack                                              = 0xf2f2330a
	CRC_langpack_getStrings                                               = 0xefea3803
	CRC_langpack_getDifference                                            = 0xcd984aa5
	CRC_langpack_getLanguages                                             = 0x42c6978f
	CRC_langpack_getLanguage                                              = 0x6a596502
	CRC_folders_editPeerFolders                                           = 0x6847d0ab
	CRC_folders_deleteFolder                                              = 0x1c295881
	CRC_stats_getBroadcastStats                                           = 0xab42441a
	CRC_stats_loadAsyncGraph                                              = 0x621d5fa0
)
View Source
const FloodWaitErrPerfix = "FLOOD_WAIT_"
View Source
const RoutinesCount = 4

Variables

View Source
var ErrNoSessionData = merry.New("no session data")

Functions

func GenerateMessageId

func GenerateMessageId() int64

func GenerateNonce

func GenerateNonce(size int) []byte

func IsClosedConnErr

func IsClosedConnErr(err error) bool

func IsError

func IsError(obj TL, message string) bool

https://core.telegram.org/api/errors

func IsErrorType

func IsErrorType(obj TL, code int32) bool

func IsFloodError

func IsFloodError(obj TL) (time.Duration, bool)

func Sprint

func Sprint(obj TL) string

func StringifyMessage

func StringifyMessage(isIncoming bool, msg TL, id int64) string

func TLName

func TLName(obj interface{}) string

func UnexpectedTL

func UnexpectedTL(name string, obj TL) string

func WrongRespError

func WrongRespError(obj TL) error

Types

type AppConfig

type AppConfig struct {
	AppID          int32
	AppHash        string
	AppVersion     string
	DeviceModel    string
	SystemVersion  string
	SystemLangCode string
	LangPack       string
	LangCode       string
}

type AuthDataProvider

type AuthDataProvider interface {
	PhoneNumber() (string, error)
	Code() (string, error)
	Token() (string, error)
	Password() (string, error)
}

type DecodeBuf

type DecodeBuf struct {
	// contains filtered or unexported fields
}

func NewDecodeBuf

func NewDecodeBuf(b []byte) *DecodeBuf

func (*DecodeBuf) BigInt

func (m *DecodeBuf) BigInt() *big.Int

func (*DecodeBuf) Bool

func (m *DecodeBuf) Bool() bool

func (*DecodeBuf) Bytes

func (m *DecodeBuf) Bytes(size int) []byte

func (*DecodeBuf) Double

func (m *DecodeBuf) Double() float64

func (*DecodeBuf) FlaggedBigInt

func (m *DecodeBuf) FlaggedBigInt(flags, num int32) *big.Int

func (*DecodeBuf) FlaggedDouble

func (m *DecodeBuf) FlaggedDouble(flags, num int32) float64

func (*DecodeBuf) FlaggedInt

func (m *DecodeBuf) FlaggedInt(flags, num int32) int32

func (*DecodeBuf) FlaggedLong

func (m *DecodeBuf) FlaggedLong(flags, num int32) int64

func (*DecodeBuf) FlaggedObject

func (m *DecodeBuf) FlaggedObject(flags, num int32) TL

func (*DecodeBuf) FlaggedString

func (m *DecodeBuf) FlaggedString(flags, num int32) string

func (*DecodeBuf) FlaggedStringBytes

func (m *DecodeBuf) FlaggedStringBytes(flags, num int32) []byte

func (*DecodeBuf) FlaggedUInt

func (m *DecodeBuf) FlaggedUInt(flags, num int32) uint32

func (*DecodeBuf) FlaggedVector

func (m *DecodeBuf) FlaggedVector(flags, num int32) []TL

func (*DecodeBuf) FlaggedVectorInt

func (m *DecodeBuf) FlaggedVectorInt(flags, num int32) []int32

func (*DecodeBuf) FlaggedVectorLong

func (m *DecodeBuf) FlaggedVectorLong(flags, num int32) []int64

func (*DecodeBuf) FlaggedVectorString

func (m *DecodeBuf) FlaggedVectorString(flags, num int32) []string

func (*DecodeBuf) Int

func (m *DecodeBuf) Int() int32

func (*DecodeBuf) Long

func (m *DecodeBuf) Long() int64

func (*DecodeBuf) Object

func (m *DecodeBuf) Object() TL

func (*DecodeBuf) ObjectGenerated

func (m *DecodeBuf) ObjectGenerated(constructor uint32) (r TL)

func (*DecodeBuf) SeekBack

func (m *DecodeBuf) SeekBack(n int)

func (*DecodeBuf) String

func (m *DecodeBuf) String() string

func (*DecodeBuf) StringBytes

func (m *DecodeBuf) StringBytes() []byte

func (*DecodeBuf) UInt

func (m *DecodeBuf) UInt() uint32

func (*DecodeBuf) Vector

func (m *DecodeBuf) Vector() []TL

func (*DecodeBuf) VectorInt

func (m *DecodeBuf) VectorInt() []int32

func (*DecodeBuf) VectorLong

func (m *DecodeBuf) VectorLong() []int64

func (*DecodeBuf) VectorString

func (m *DecodeBuf) VectorString() []string

type EncodeBuf

type EncodeBuf struct {
	// contains filtered or unexported fields
}

func NewEncodeBuf

func NewEncodeBuf(cap int) *EncodeBuf

func (*EncodeBuf) BigInt

func (e *EncodeBuf) BigInt(s *big.Int)

func (*EncodeBuf) Bytes

func (e *EncodeBuf) Bytes(s []byte)

func (*EncodeBuf) Double

func (e *EncodeBuf) Double(s float64)

func (*EncodeBuf) Int

func (e *EncodeBuf) Int(s int32)

func (*EncodeBuf) Long

func (e *EncodeBuf) Long(s int64)

func (*EncodeBuf) String

func (e *EncodeBuf) String(s string)

func (*EncodeBuf) StringBytes

func (e *EncodeBuf) StringBytes(s []byte)

func (*EncodeBuf) UInt

func (e *EncodeBuf) UInt(s uint32)

func (*EncodeBuf) Vector

func (e *EncodeBuf) Vector(v []TL)

func (*EncodeBuf) VectorInt

func (e *EncodeBuf) VectorInt(v []int32)

func (*EncodeBuf) VectorLong

func (e *EncodeBuf) VectorLong(v []int64)

func (*EncodeBuf) VectorString

func (e *EncodeBuf) VectorString(v []string)

type Logger

type Logger struct{}

func (Logger) Debug

func (l Logger) Debug(msg string, args ...interface{})

func (Logger) Error

func (l Logger) Error(err error, msg string)

func (Logger) Info

func (l Logger) Info(msg string, args ...interface{})

func (Logger) Message

func (l Logger) Message(isIncoming bool, message TL, id int64)

func (Logger) Warn

func (l Logger) Warn(msg string, args ...interface{})

type MTParams

type MTParams struct {
	LogHandler *Logger
	AppID      int32
	AppHash    string
	AppConfig  *AppConfig
	ConnDialer proxy.Dialer
	SessStore  SessionStore
	Session    *SessionInfo
}

type MTProto

type MTProto struct {
	// contains filtered or unexported fields
}

func NewMTProto

func NewMTProto(appID int32, appHash string) *MTProto

func NewMTProtoExt

func NewMTProtoExt(params MTParams) *MTProto

func (*MTProto) Auth

func (m *MTProto) Auth(authData AuthDataProvider) error

func (*MTProto) AuthBot

func (m *MTProto) AuthBot(authData AuthDataProvider, tokenList ...string) error

func (*MTProto) Connect

func (m *MTProto) Connect() error

func (*MTProto) CopySession

func (m *MTProto) CopySession() *SessionInfo

func (*MTProto) DCAddr

func (m *MTProto) DCAddr(dcID int32, ipv6 bool) (string, bool)

func (*MTProto) GetContacts

func (m *MTProto) GetContacts() error

func (*MTProto) InitSessAndConnect

func (m *MTProto) InitSessAndConnect() error

func (*MTProto) InitSession

func (m *MTProto) InitSession(sessEncrIsReady bool) error

func (*MTProto) NewConnection

func (m *MTProto) NewConnection(dcID int32) (*MTProto, error)

func (*MTProto) Reconnect

func (m *MTProto) Reconnect() error

func (*MTProto) SaveSessionLogged

func (m *MTProto) SaveSessionLogged()

func (*MTProto) Send

func (m *MTProto) Send(msg TLReq) chan TL

func (*MTProto) SendSync

func (m *MTProto) SendSync(msg TLReq) TL

func (*MTProto) SendSyncRetry

func (m *MTProto) SendSyncRetry(
	msg TLReq, failRetryInterval time.Duration,
	floodNumShortRetries int, floodMaxWait time.Duration,
) TL

func (*MTProto) SetEventsHandler

func (m *MTProto) SetEventsHandler(handler func(TL))

type ScanfAuthDataProvider

type ScanfAuthDataProvider struct{}

func (ScanfAuthDataProvider) Code

func (ap ScanfAuthDataProvider) Code() (string, error)

func (ScanfAuthDataProvider) Password

func (ap ScanfAuthDataProvider) Password() (string, error)

func (ScanfAuthDataProvider) PhoneNumber

func (ap ScanfAuthDataProvider) PhoneNumber() (string, error)

func (ScanfAuthDataProvider) Token

func (ap ScanfAuthDataProvider) Token() (string, error)

type SessFileStore

type SessFileStore struct {
	FPath string
}

func (*SessFileStore) Load

func (s *SessFileStore) Load(sess *SessionInfo) error

func (*SessFileStore) Save

func (s *SessFileStore) Save(sess *SessionInfo) (err error)

type SessNoopStore

type SessNoopStore struct{}

func (*SessNoopStore) Load

func (s *SessNoopStore) Load(sess *SessionInfo) error

func (*SessNoopStore) Save

func (s *SessNoopStore) Save(sess *SessionInfo) error

type SessionInfo

type SessionInfo struct {
	DcID        int32  `json:"dc_id"`
	AuthKey     []byte `json:"auth_key"`
	AuthKeyHash []byte `json:"auth_key_hash"`
	ServerSalt  int64  `json:"server_salt"`
	Addr        string `json:"addr"`
	// contains filtered or unexported fields
}

type SessionStore

type SessionStore interface {
	Save(*SessionInfo) error
	Load(*SessionInfo) error
}

type TL

type TL interface {
	// contains filtered or unexported methods
}

type TLReq

type TLReq interface {
	TL
	// contains filtered or unexported methods
}

type TL_MT_message

type TL_MT_message struct {
	MsgID int64
	SeqNo int32
	Size  int32
	Data  TL
}

type TL_accessPointRule

type TL_accessPointRule struct {
	PhonePrefixRules string
	DcID             int32
	Ips              TL // vector<IpPort>
}

type TL_accountDaysTTL

type TL_accountDaysTTL struct {
	Days int32
}

type TL_account_acceptAuthorization

type TL_account_acceptAuthorization struct {
	BotID       int32
	Scope       string
	PublicKey   string
	ValueHashes []TL // SecureValueHash
	Credentials TL   // SecureCredentialsEncrypted
}

type TL_account_authorizationForm

type TL_account_authorizationForm struct {
	Flags            int32
	RequiredTypes    []TL   // SecureRequiredType
	Values           []TL   // SecureValue
	Errors           []TL   // SecureValueError
	Users            []TL   // User
	PrivacyPolicyUrl string //flag
}

type TL_account_authorizations

type TL_account_authorizations struct {
	Authorizations []TL // Authorization
}

type TL_account_autoDownloadSettings

type TL_account_autoDownloadSettings struct {
	Low    TL // AutoDownloadSettings
	Medium TL // AutoDownloadSettings
	High   TL // AutoDownloadSettings
}

type TL_account_cancelPasswordEmail

type TL_account_cancelPasswordEmail struct {
}

type TL_account_changePhone

type TL_account_changePhone struct {
	PhoneNumber   string
	PhoneCodeHash string
	PhoneCode     string
}

type TL_account_checkUsername

type TL_account_checkUsername struct {
	Username string
}

type TL_account_confirmPasswordEmail

type TL_account_confirmPasswordEmail struct {
	Code string
}

type TL_account_confirmPhone

type TL_account_confirmPhone struct {
	PhoneCodeHash string
	PhoneCode     string
}

type TL_account_contentSettings

type TL_account_contentSettings struct {
	Flags              int32
	SensitiveEnabled   bool //flag
	SensitiveCanChange bool //flag
}

type TL_account_createTheme

type TL_account_createTheme struct {
	Flags    int32
	Slug     string
	Title    string
	Document TL // InputDocument //flag
	Settings TL // InputThemeSettings //flag
}

type TL_account_deleteAccount

type TL_account_deleteAccount struct {
	Reason string
}

type TL_account_deleteSecureValue

type TL_account_deleteSecureValue struct {
	Types []TL // SecureValueType
}

type TL_account_finishTakeoutSession

type TL_account_finishTakeoutSession struct {
	Flags   int32
	Success bool //flag
}

type TL_account_getAccountTTL

type TL_account_getAccountTTL struct {
}

type TL_account_getAllSecureValues

type TL_account_getAllSecureValues struct {
}

type TL_account_getAuthorizationForm

type TL_account_getAuthorizationForm struct {
	BotID     int32
	Scope     string
	PublicKey string
}

type TL_account_getAuthorizations

type TL_account_getAuthorizations struct {
}

type TL_account_getAutoDownloadSettings

type TL_account_getAutoDownloadSettings struct {
}

type TL_account_getContactSignUpNotification

type TL_account_getContactSignUpNotification struct {
}

type TL_account_getContentSettings

type TL_account_getContentSettings struct {
}

type TL_account_getMultiWallPapers

type TL_account_getMultiWallPapers struct {
	Wallpapers []TL // InputWallPaper
}

type TL_account_getNotifyExceptions

type TL_account_getNotifyExceptions struct {
	Flags        int32
	CompareSound bool //flag
	Peer         TL   // InputNotifyPeer //flag
}

type TL_account_getNotifySettings

type TL_account_getNotifySettings struct {
	Peer TL // InputNotifyPeer
}

type TL_account_getPassword

type TL_account_getPassword struct {
}

type TL_account_getPasswordSettings

type TL_account_getPasswordSettings struct {
	Password TL // InputCheckPasswordSRP
}

type TL_account_getPrivacy

type TL_account_getPrivacy struct {
	Key TL // InputPrivacyKey
}

type TL_account_getSecureValue

type TL_account_getSecureValue struct {
	Types []TL // SecureValueType
}

type TL_account_getTheme

type TL_account_getTheme struct {
	Format     string
	Theme      TL // InputTheme
	DocumentID int64
}

type TL_account_getThemes

type TL_account_getThemes struct {
	Format string
	Hash   int32
}

type TL_account_getTmpPassword

type TL_account_getTmpPassword struct {
	Password TL // InputCheckPasswordSRP
	Period   int32
}

type TL_account_getWallPaper

type TL_account_getWallPaper struct {
	Wallpaper TL // InputWallPaper
}

type TL_account_getWallPapers

type TL_account_getWallPapers struct {
	Hash int32
}

type TL_account_getWebAuthorizations

type TL_account_getWebAuthorizations struct {
}

type TL_account_initTakeoutSession

type TL_account_initTakeoutSession struct {
	Flags             int32
	Contacts          bool  //flag
	MessageUsers      bool  //flag
	MessageChats      bool  //flag
	MessageMegagroups bool  //flag
	MessageChannels   bool  //flag
	Files             bool  //flag
	FileMaxSize       int32 //flag
}

type TL_account_installTheme

type TL_account_installTheme struct {
	Flags  int32
	Dark   bool   //flag
	Format string //flag
	Theme  TL     // InputTheme //flag
}

type TL_account_installWallPaper

type TL_account_installWallPaper struct {
	Wallpaper TL // InputWallPaper
	Settings  TL // WallPaperSettings
}

type TL_account_password

type TL_account_password struct {
	Flags                   int32
	HasRecovery             bool   //flag
	HasSecureValues         bool   //flag
	HasPassword             bool   //flag
	CurrentAlgo             TL     // PasswordKdfAlgo //flag
	SrpB                    []byte //flag
	SrpID                   int64  //flag
	Hint                    string //flag
	EmailUnconfirmedPattern string //flag
	NewAlgo                 TL     // PasswordKdfAlgo
	NewSecureAlgo           TL     // SecurePasswordKdfAlgo
	SecureRandom            []byte
}

type TL_account_passwordInputSettings

type TL_account_passwordInputSettings struct {
	Flags             int32
	NewAlgo           TL     // PasswordKdfAlgo //flag
	NewPasswordHash   []byte //flag
	Hint              string //flag
	Email             string //flag
	NewSecureSettings TL     // SecureSecretSettings //flag
}

type TL_account_passwordSettings

type TL_account_passwordSettings struct {
	Flags          int32
	Email          string //flag
	SecureSettings TL     // SecureSecretSettings //flag
}

type TL_account_privacyRules

type TL_account_privacyRules struct {
	Rules []TL // PrivacyRule
	Chats []TL // Chat
	Users []TL // User
}

type TL_account_registerDevice

type TL_account_registerDevice struct {
	Flags      int32
	NoMuted    bool //flag
	TokenType  int32
	Token      string
	AppSandbox TL // Bool
	Secret     []byte
	OtherUids  []int32
}

type TL_account_reportPeer

type TL_account_reportPeer struct {
	Peer   TL // InputPeer
	Reason TL // ReportReason
}

type TL_account_resendPasswordEmail

type TL_account_resendPasswordEmail struct {
}

type TL_account_resetAuthorization

type TL_account_resetAuthorization struct {
	Hash int64
}

type TL_account_resetNotifySettings

type TL_account_resetNotifySettings struct {
}

type TL_account_resetWallPapers

type TL_account_resetWallPapers struct {
}

type TL_account_resetWebAuthorization

type TL_account_resetWebAuthorization struct {
	Hash int64
}

type TL_account_resetWebAuthorizations

type TL_account_resetWebAuthorizations struct {
}

type TL_account_saveAutoDownloadSettings

type TL_account_saveAutoDownloadSettings struct {
	Flags    int32
	Low      bool //flag
	High     bool //flag
	Settings TL   // AutoDownloadSettings
}

type TL_account_saveSecureValue

type TL_account_saveSecureValue struct {
	Value          TL // InputSecureValue
	SecureSecretID int64
}

type TL_account_saveTheme

type TL_account_saveTheme struct {
	Theme  TL // InputTheme
	Unsave TL // Bool
}

type TL_account_saveWallPaper

type TL_account_saveWallPaper struct {
	Wallpaper TL // InputWallPaper
	Unsave    TL // Bool
	Settings  TL // WallPaperSettings
}

type TL_account_sendChangePhoneCode

type TL_account_sendChangePhoneCode struct {
	PhoneNumber string
	Settings    TL // CodeSettings
}

type TL_account_sendConfirmPhoneCode

type TL_account_sendConfirmPhoneCode struct {
	Hash     string
	Settings TL // CodeSettings
}

type TL_account_sendVerifyEmailCode

type TL_account_sendVerifyEmailCode struct {
	Email string
}

type TL_account_sendVerifyPhoneCode

type TL_account_sendVerifyPhoneCode struct {
	PhoneNumber string
	Settings    TL // CodeSettings
}

type TL_account_sentEmailCode

type TL_account_sentEmailCode struct {
	EmailPattern string
	Length       int32
}

type TL_account_setAccountTTL

type TL_account_setAccountTTL struct {
	Ttl TL // AccountDaysTTL
}

type TL_account_setContactSignUpNotification

type TL_account_setContactSignUpNotification struct {
	Silent TL // Bool
}

type TL_account_setContentSettings

type TL_account_setContentSettings struct {
	Flags            int32
	SensitiveEnabled bool //flag
}

type TL_account_setPrivacy

type TL_account_setPrivacy struct {
	Key   TL   // InputPrivacyKey
	Rules []TL // InputPrivacyRule
}

type TL_account_takeout

type TL_account_takeout struct {
	ID int64
}

type TL_account_themes

type TL_account_themes struct {
	Hash   int32
	Themes []TL // Theme
}

type TL_account_themesNotModified

type TL_account_themesNotModified struct {
}

type TL_account_tmpPassword

type TL_account_tmpPassword struct {
	TmpPassword []byte
	ValidUntil  int32
}

type TL_account_unregisterDevice

type TL_account_unregisterDevice struct {
	TokenType int32
	Token     string
	OtherUids []int32
}

type TL_account_updateDeviceLocked

type TL_account_updateDeviceLocked struct {
	Period int32
}

type TL_account_updateNotifySettings

type TL_account_updateNotifySettings struct {
	Peer     TL // InputNotifyPeer
	Settings TL // InputPeerNotifySettings
}

type TL_account_updatePasswordSettings

type TL_account_updatePasswordSettings struct {
	Password    TL // InputCheckPasswordSRP
	NewSettings TL // account_PasswordInputSettings
}

type TL_account_updateProfile

type TL_account_updateProfile struct {
	Flags     int32
	FirstName string //flag
	LastName  string //flag
	About     string //flag
}

type TL_account_updateStatus

type TL_account_updateStatus struct {
	Offline TL // Bool
}

type TL_account_updateTheme

type TL_account_updateTheme struct {
	Flags    int32
	Format   string
	Theme    TL     // InputTheme
	Slug     string //flag
	Title    string //flag
	Document TL     // InputDocument //flag
	Settings TL     // InputThemeSettings //flag
}

type TL_account_updateUsername

type TL_account_updateUsername struct {
	Username string
}

type TL_account_uploadTheme

type TL_account_uploadTheme struct {
	Flags    int32
	File     TL // InputFile
	Thumb    TL // InputFile //flag
	FileName string
	MimeType string
}

type TL_account_uploadWallPaper

type TL_account_uploadWallPaper struct {
	File     TL // InputFile
	MimeType string
	Settings TL // WallPaperSettings
}

type TL_account_verifyEmail

type TL_account_verifyEmail struct {
	Email string
	Code  string
}

type TL_account_verifyPhone

type TL_account_verifyPhone struct {
	PhoneNumber   string
	PhoneCodeHash string
	PhoneCode     string
}

type TL_account_wallPapers

type TL_account_wallPapers struct {
	Hash       int32
	Wallpapers []TL // WallPaper
}

type TL_account_wallPapersNotModified

type TL_account_wallPapersNotModified struct {
}

type TL_account_webAuthorizations

type TL_account_webAuthorizations struct {
	Authorizations []TL // WebAuthorization
	Users          []TL // User
}

type TL_auth_acceptLoginToken

type TL_auth_acceptLoginToken struct {
	Token []byte
}

type TL_auth_authorization

type TL_auth_authorization struct {
	Flags       int32
	TmpSessions int32 //flag
	User        TL    // User
}

type TL_auth_authorizationSignUpRequired

type TL_auth_authorizationSignUpRequired struct {
	Flags          int32
	TermsOfService TL // help_TermsOfService //flag
}

type TL_auth_bindTempAuthKey

type TL_auth_bindTempAuthKey struct {
	PermAuthKeyID    int64
	Nonce            int64
	ExpiresAt        int32
	EncryptedMessage []byte
}

type TL_auth_cancelCode

type TL_auth_cancelCode struct {
	PhoneNumber   string
	PhoneCodeHash string
}

type TL_auth_checkPassword

type TL_auth_checkPassword struct {
	Password TL // InputCheckPasswordSRP
}

type TL_auth_codeTypeCall

type TL_auth_codeTypeCall struct {
}

type TL_auth_codeTypeFlashCall

type TL_auth_codeTypeFlashCall struct {
}

type TL_auth_codeTypeSms

type TL_auth_codeTypeSms struct {
}

type TL_auth_dropTempAuthKeys

type TL_auth_dropTempAuthKeys struct {
	ExceptAuthKeys []int64
}

type TL_auth_exportAuthorization

type TL_auth_exportAuthorization struct {
	DcID int32
}

type TL_auth_exportLoginToken

type TL_auth_exportLoginToken struct {
	ApiID     int32
	ApiHash   string
	ExceptIds []int32
}

type TL_auth_exportedAuthorization

type TL_auth_exportedAuthorization struct {
	ID    int32
	Bytes []byte
}

type TL_auth_importAuthorization

type TL_auth_importAuthorization struct {
	ID    int32
	Bytes []byte
}

type TL_auth_importBotAuthorization

type TL_auth_importBotAuthorization struct {
	Flags        int32
	ApiID        int32
	ApiHash      string
	BotAuthToken string
}

type TL_auth_importLoginToken

type TL_auth_importLoginToken struct {
	Token []byte
}

type TL_auth_logOut

type TL_auth_logOut struct {
}

type TL_auth_loginToken

type TL_auth_loginToken struct {
	Expires int32
	Token   []byte
}

type TL_auth_loginTokenMigrateTo

type TL_auth_loginTokenMigrateTo struct {
	DcID  int32
	Token []byte
}

type TL_auth_loginTokenSuccess

type TL_auth_loginTokenSuccess struct {
	Authorization TL // auth_Authorization
}

type TL_auth_passwordRecovery

type TL_auth_passwordRecovery struct {
	EmailPattern string
}

type TL_auth_recoverPassword

type TL_auth_recoverPassword struct {
	Code string
}

type TL_auth_requestPasswordRecovery

type TL_auth_requestPasswordRecovery struct {
}

type TL_auth_resendCode

type TL_auth_resendCode struct {
	PhoneNumber   string
	PhoneCodeHash string
}

type TL_auth_resetAuthorizations

type TL_auth_resetAuthorizations struct {
}

type TL_auth_sendCode

type TL_auth_sendCode struct {
	PhoneNumber string
	ApiID       int32
	ApiHash     string
	Settings    TL // CodeSettings
}

type TL_auth_sentCode

type TL_auth_sentCode struct {
	Flags         int32
	Type          TL // auth_SentCodeType
	PhoneCodeHash string
	NextType      TL    // auth_CodeType //flag
	Timeout       int32 //flag
}

type TL_auth_sentCodeTypeApp

type TL_auth_sentCodeTypeApp struct {
	Length int32
}

type TL_auth_sentCodeTypeCall

type TL_auth_sentCodeTypeCall struct {
	Length int32
}

type TL_auth_sentCodeTypeFlashCall

type TL_auth_sentCodeTypeFlashCall struct {
	Pattern string
}

type TL_auth_sentCodeTypeSms

type TL_auth_sentCodeTypeSms struct {
	Length int32
}

type TL_auth_signIn

type TL_auth_signIn struct {
	PhoneNumber   string
	PhoneCodeHash string
	PhoneCode     string
}

type TL_auth_signUp

type TL_auth_signUp struct {
	PhoneNumber   string
	PhoneCodeHash string
	FirstName     string
	LastName      string
}

type TL_authorization

type TL_authorization struct {
	Flags           int32
	Current         bool //flag
	OfficialApp     bool //flag
	PasswordPending bool //flag
	Hash            int64
	DeviceModel     string
	Platform        string
	SystemVersion   string
	ApiID           int32
	AppName         string
	AppVersion      string
	DateCreated     int32
	DateActive      int32
	Ip              string
	Country         string
	Region          string
}

type TL_autoDownloadSettings

type TL_autoDownloadSettings struct {
	Flags                 int32
	Disabled              bool //flag
	VideoPreloadLarge     bool //flag
	AudioPreloadNext      bool //flag
	PhonecallsLessData    bool //flag
	PhotoSizeMax          int32
	VideoSizeMax          int32
	FileSizeMax           int32
	VideoUploadMaxbitrate int32
}

type TL_bad_msg_notification

type TL_bad_msg_notification struct {
	BadMsgID    int64
	BadMsgSeqno int32
	ErrorCode   int32
}

type TL_bad_server_salt

type TL_bad_server_salt struct {
	BadMsgID      int64
	BadMsgSeqno   int32
	ErrorCode     int32
	NewServerSalt int64
}

type TL_bankCardOpenUrl

type TL_bankCardOpenUrl struct {
	Url  string
	Name string
}

type TL_baseThemeArctic

type TL_baseThemeArctic struct {
}

type TL_baseThemeClassic

type TL_baseThemeClassic struct {
}

type TL_baseThemeDay

type TL_baseThemeDay struct {
}

type TL_baseThemeNight

type TL_baseThemeNight struct {
}

type TL_baseThemeTinted

type TL_baseThemeTinted struct {
}

type TL_bind_auth_key_inner

type TL_bind_auth_key_inner struct {
	Nonce         int64
	TempAuthKeyID int64
	PermAuthKeyID int64
	TempSessionID int64
	ExpiresAt     int32
}

type TL_boolFalse

type TL_boolFalse struct {
}

type TL_boolTrue

type TL_boolTrue struct {
}

type TL_botCommand

type TL_botCommand struct {
	Command     string
	Description string
}

type TL_botInfo

type TL_botInfo struct {
	UserID      int32
	Description string
	Commands    []TL // BotCommand
}

type TL_botInlineMediaResult

type TL_botInlineMediaResult struct {
	Flags       int32
	ID          string
	Type        string
	Photo       TL     // Photo //flag
	Document    TL     // Document //flag
	Title       string //flag
	Description string //flag
	SendMessage TL     // BotInlineMessage
}

type TL_botInlineMessageMediaAuto

type TL_botInlineMessageMediaAuto struct {
	Flags       int32
	Message     string
	Entities    []TL // MessageEntity //flag
	ReplyMarkup TL   // ReplyMarkup //flag
}

type TL_botInlineMessageMediaContact

type TL_botInlineMessageMediaContact struct {
	Flags       int32
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_botInlineMessageMediaGeo

type TL_botInlineMessageMediaGeo struct {
	Flags       int32
	Geo         TL // GeoPoint
	Period      int32
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_botInlineMessageMediaVenue

type TL_botInlineMessageMediaVenue struct {
	Flags       int32
	Geo         TL // GeoPoint
	Title       string
	Address     string
	Provider    string
	VenueID     string
	VenueType   string
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_botInlineMessageText

type TL_botInlineMessageText struct {
	Flags       int32
	NoWebpage   bool //flag
	Message     string
	Entities    []TL // MessageEntity //flag
	ReplyMarkup TL   // ReplyMarkup //flag
}

type TL_botInlineResult

type TL_botInlineResult struct {
	Flags       int32
	ID          string
	Type        string
	Title       string //flag
	Description string //flag
	Url         string //flag
	Thumb       TL     // WebDocument //flag
	Content     TL     // WebDocument //flag
	SendMessage TL     // BotInlineMessage
}

type TL_bots_answerWebhookJSONQuery

type TL_bots_answerWebhookJSONQuery struct {
	QueryID int64
	Data    TL // DataJSON
}

type TL_bots_sendCustomRequest

type TL_bots_sendCustomRequest struct {
	CustomMethod string
	Params       TL // DataJSON
}

type TL_bots_setBotCommands

type TL_bots_setBotCommands struct {
	Commands []TL // BotCommand
}

type TL_cdnConfig

type TL_cdnConfig struct {
	PublicKeys []TL // CdnPublicKey
}

type TL_cdnPublicKey

type TL_cdnPublicKey struct {
	DcID      int32
	PublicKey string
}

type TL_channel

type TL_channel struct {
	Flags               int32
	Creator             bool //flag
	Left                bool //flag
	Broadcast           bool //flag
	Verified            bool //flag
	Megagroup           bool //flag
	Restricted          bool //flag
	Signatures          bool //flag
	Min                 bool //flag
	Scam                bool //flag
	HasLink             bool //flag
	HasGeo              bool //flag
	SlowmodeEnabled     bool //flag
	ID                  int32
	AccessHash          int64 //flag
	Title               string
	Username            string //flag
	Photo               TL     // ChatPhoto
	Date                int32
	Version             int32
	RestrictionReason   []TL  // RestrictionReason //flag
	AdminRights         TL    // ChatAdminRights //flag
	BannedRights        TL    // ChatBannedRights //flag
	DefaultBannedRights TL    // ChatBannedRights //flag
	ParticipantsCount   int32 //flag
}

type TL_channelAdminLogEvent

type TL_channelAdminLogEvent struct {
	ID     int64
	Date   int32
	UserID int32
	Action TL // ChannelAdminLogEventAction
}

type TL_channelAdminLogEventActionChangeAbout

type TL_channelAdminLogEventActionChangeAbout struct {
	PrevValue string
	NewValue  string
}

type TL_channelAdminLogEventActionChangeLinkedChat

type TL_channelAdminLogEventActionChangeLinkedChat struct {
	PrevValue int32
	NewValue  int32
}

type TL_channelAdminLogEventActionChangeLocation

type TL_channelAdminLogEventActionChangeLocation struct {
	PrevValue TL // ChannelLocation
	NewValue  TL // ChannelLocation
}

type TL_channelAdminLogEventActionChangePhoto

type TL_channelAdminLogEventActionChangePhoto struct {
	PrevPhoto TL // Photo
	NewPhoto  TL // Photo
}

type TL_channelAdminLogEventActionChangeStickerSet

type TL_channelAdminLogEventActionChangeStickerSet struct {
	PrevStickerset TL // InputStickerSet
	NewStickerset  TL // InputStickerSet
}

type TL_channelAdminLogEventActionChangeTitle

type TL_channelAdminLogEventActionChangeTitle struct {
	PrevValue string
	NewValue  string
}

type TL_channelAdminLogEventActionChangeUsername

type TL_channelAdminLogEventActionChangeUsername struct {
	PrevValue string
	NewValue  string
}

type TL_channelAdminLogEventActionDefaultBannedRights

type TL_channelAdminLogEventActionDefaultBannedRights struct {
	PrevBannedRights TL // ChatBannedRights
	NewBannedRights  TL // ChatBannedRights
}

type TL_channelAdminLogEventActionDeleteMessage

type TL_channelAdminLogEventActionDeleteMessage struct {
	Message TL // Message
}

type TL_channelAdminLogEventActionEditMessage

type TL_channelAdminLogEventActionEditMessage struct {
	PrevMessage TL // Message
	NewMessage  TL // Message
}

type TL_channelAdminLogEventActionParticipantInvite

type TL_channelAdminLogEventActionParticipantInvite struct {
	Participant TL // ChannelParticipant
}

type TL_channelAdminLogEventActionParticipantJoin

type TL_channelAdminLogEventActionParticipantJoin struct {
}

type TL_channelAdminLogEventActionParticipantLeave

type TL_channelAdminLogEventActionParticipantLeave struct {
}

type TL_channelAdminLogEventActionParticipantToggleAdmin

type TL_channelAdminLogEventActionParticipantToggleAdmin struct {
	PrevParticipant TL // ChannelParticipant
	NewParticipant  TL // ChannelParticipant
}

type TL_channelAdminLogEventActionParticipantToggleBan

type TL_channelAdminLogEventActionParticipantToggleBan struct {
	PrevParticipant TL // ChannelParticipant
	NewParticipant  TL // ChannelParticipant
}

type TL_channelAdminLogEventActionStopPoll

type TL_channelAdminLogEventActionStopPoll struct {
	Message TL // Message
}

type TL_channelAdminLogEventActionToggleInvites

type TL_channelAdminLogEventActionToggleInvites struct {
	NewValue TL // Bool
}

type TL_channelAdminLogEventActionTogglePreHistoryHidden

type TL_channelAdminLogEventActionTogglePreHistoryHidden struct {
	NewValue TL // Bool
}

type TL_channelAdminLogEventActionToggleSignatures

type TL_channelAdminLogEventActionToggleSignatures struct {
	NewValue TL // Bool
}

type TL_channelAdminLogEventActionToggleSlowMode

type TL_channelAdminLogEventActionToggleSlowMode struct {
	PrevValue int32
	NewValue  int32
}

type TL_channelAdminLogEventActionUpdatePinned

type TL_channelAdminLogEventActionUpdatePinned struct {
	Message TL // Message
}

type TL_channelAdminLogEventsFilter

type TL_channelAdminLogEventsFilter struct {
	Flags    int32
	Join     bool //flag
	Leave    bool //flag
	Invite   bool //flag
	Ban      bool //flag
	Unban    bool //flag
	Kick     bool //flag
	Unkick   bool //flag
	Promote  bool //flag
	Demote   bool //flag
	Info     bool //flag
	Settings bool //flag
	Pinned   bool //flag
	Edit     bool //flag
	Delete   bool //flag
}

type TL_channelForbidden

type TL_channelForbidden struct {
	Flags      int32
	Broadcast  bool //flag
	Megagroup  bool //flag
	ID         int32
	AccessHash int64
	Title      string
	UntilDate  int32 //flag
}

type TL_channelFull

type TL_channelFull struct {
	Flags                int32
	CanViewParticipants  bool //flag
	CanSetUsername       bool //flag
	CanSetStickers       bool //flag
	HiddenPrehistory     bool //flag
	CanViewStats         bool //flag
	CanSetLocation       bool //flag
	HasScheduled         bool //flag
	ID                   int32
	About                string
	ParticipantsCount    int32 //flag
	AdminsCount          int32 //flag
	KickedCount          int32 //flag
	BannedCount          int32 //flag
	OnlineCount          int32 //flag
	ReadInboxMaxID       int32
	ReadOutboxMaxID      int32
	UnreadCount          int32
	ChatPhoto            TL    // Photo
	NotifySettings       TL    // PeerNotifySettings
	ExportedInvite       TL    // ExportedChatInvite
	BotInfo              []TL  // BotInfo
	MigratedFromChatID   int32 //flag
	MigratedFromMaxID    int32 //flag
	PinnedMsgID          int32 //flag
	Stickerset           TL    // StickerSet //flag
	AvailableMinID       int32 //flag
	FolderID             int32 //flag
	LinkedChatID         int32 //flag
	Location             TL    // ChannelLocation //flag
	SlowmodeSeconds      int32 //flag
	SlowmodeNextSendDate int32 //flag
	StatsDc              int32 //flag
	Pts                  int32
}

type TL_channelLocation

type TL_channelLocation struct {
	GeoPoint TL // GeoPoint
	Address  string
}

type TL_channelLocationEmpty

type TL_channelLocationEmpty struct {
}

type TL_channelMessagesFilter

type TL_channelMessagesFilter struct {
	Flags              int32
	ExcludeNewMessages bool //flag
	Ranges             []TL // MessageRange
}

type TL_channelMessagesFilterEmpty

type TL_channelMessagesFilterEmpty struct {
}

type TL_channelParticipant

type TL_channelParticipant struct {
	UserID int32
	Date   int32
}

type TL_channelParticipantAdmin

type TL_channelParticipantAdmin struct {
	Flags       int32
	CanEdit     bool //flag
	Self        bool //flag
	UserID      int32
	InviterID   int32 //flag
	PromotedBy  int32
	Date        int32
	AdminRights TL     // ChatAdminRights
	Rank        string //flag
}

type TL_channelParticipantBanned

type TL_channelParticipantBanned struct {
	Flags        int32
	Left         bool //flag
	UserID       int32
	KickedBy     int32
	Date         int32
	BannedRights TL // ChatBannedRights
}

type TL_channelParticipantCreator

type TL_channelParticipantCreator struct {
	Flags  int32
	UserID int32
	Rank   string //flag
}

type TL_channelParticipantSelf

type TL_channelParticipantSelf struct {
	UserID    int32
	InviterID int32
	Date      int32
}

type TL_channelParticipantsAdmins

type TL_channelParticipantsAdmins struct {
}

type TL_channelParticipantsBanned

type TL_channelParticipantsBanned struct {
	Q string
}

type TL_channelParticipantsBots

type TL_channelParticipantsBots struct {
}

type TL_channelParticipantsContacts

type TL_channelParticipantsContacts struct {
	Q string
}

type TL_channelParticipantsKicked

type TL_channelParticipantsKicked struct {
	Q string
}

type TL_channelParticipantsRecent

type TL_channelParticipantsRecent struct {
}

type TL_channelParticipantsSearch

type TL_channelParticipantsSearch struct {
	Q string
}

type TL_channels_adminLogResults

type TL_channels_adminLogResults struct {
	Events []TL // ChannelAdminLogEvent
	Chats  []TL // Chat
	Users  []TL // User
}

type TL_channels_channelParticipant

type TL_channels_channelParticipant struct {
	Participant TL   // ChannelParticipant
	Users       []TL // User
}

type TL_channels_channelParticipants

type TL_channels_channelParticipants struct {
	Count        int32
	Participants []TL // ChannelParticipant
	Users        []TL // User
}

type TL_channels_channelParticipantsNotModified

type TL_channels_channelParticipantsNotModified struct {
}

type TL_channels_checkUsername

type TL_channels_checkUsername struct {
	Channel  TL // InputChannel
	Username string
}

type TL_channels_createChannel

type TL_channels_createChannel struct {
	Flags     int32
	Broadcast bool //flag
	Megagroup bool //flag
	Title     string
	About     string
	GeoPoint  TL     // InputGeoPoint //flag
	Address   string //flag
}

type TL_channels_deleteChannel

type TL_channels_deleteChannel struct {
	Channel TL // InputChannel
}

type TL_channels_deleteHistory

type TL_channels_deleteHistory struct {
	Channel TL // InputChannel
	MaxID   int32
}

type TL_channels_deleteMessages

type TL_channels_deleteMessages struct {
	Channel TL // InputChannel
	ID      []int32
}

type TL_channels_deleteUserHistory

type TL_channels_deleteUserHistory struct {
	Channel TL // InputChannel
	UserID  TL // InputUser
}

type TL_channels_editAdmin

type TL_channels_editAdmin struct {
	Channel     TL // InputChannel
	UserID      TL // InputUser
	AdminRights TL // ChatAdminRights
	Rank        string
}

type TL_channels_editBanned

type TL_channels_editBanned struct {
	Channel      TL // InputChannel
	UserID       TL // InputUser
	BannedRights TL // ChatBannedRights
}

type TL_channels_editCreator

type TL_channels_editCreator struct {
	Channel  TL // InputChannel
	UserID   TL // InputUser
	Password TL // InputCheckPasswordSRP
}

type TL_channels_editLocation

type TL_channels_editLocation struct {
	Channel  TL // InputChannel
	GeoPoint TL // InputGeoPoint
	Address  string
}

type TL_channels_editPhoto

type TL_channels_editPhoto struct {
	Channel TL // InputChannel
	Photo   TL // InputChatPhoto
}

type TL_channels_editTitle

type TL_channels_editTitle struct {
	Channel TL // InputChannel
	Title   string
}
type TL_channels_exportMessageLink struct {
	Channel TL // InputChannel
	ID      int32
	Grouped TL // Bool
}

type TL_channels_getAdminLog

type TL_channels_getAdminLog struct {
	Flags        int32
	Channel      TL // InputChannel
	Q            string
	EventsFilter TL   // ChannelAdminLogEventsFilter //flag
	Admins       []TL // InputUser //flag
	MaxID        int64
	MinID        int64
	Limit        int32
}

type TL_channels_getAdminedPublicChannels

type TL_channels_getAdminedPublicChannels struct {
	Flags      int32
	ByLocation bool //flag
	CheckLimit bool //flag
}

type TL_channels_getChannels

type TL_channels_getChannels struct {
	ID []TL // InputChannel
}

type TL_channels_getFullChannel

type TL_channels_getFullChannel struct {
	Channel TL // InputChannel
}

type TL_channels_getGroupsForDiscussion

type TL_channels_getGroupsForDiscussion struct {
}

type TL_channels_getInactiveChannels

type TL_channels_getInactiveChannels struct {
}

type TL_channels_getLeftChannels

type TL_channels_getLeftChannels struct {
	Offset int32
}

type TL_channels_getMessages

type TL_channels_getMessages struct {
	Channel TL   // InputChannel
	ID      []TL // InputMessage
}

type TL_channels_getParticipant

type TL_channels_getParticipant struct {
	Channel TL // InputChannel
	UserID  TL // InputUser
}

type TL_channels_getParticipants

type TL_channels_getParticipants struct {
	Channel TL // InputChannel
	Filter  TL // ChannelParticipantsFilter
	Offset  int32
	Limit   int32
	Hash    int32
}

type TL_channels_inviteToChannel

type TL_channels_inviteToChannel struct {
	Channel TL   // InputChannel
	Users   []TL // InputUser
}

type TL_channels_joinChannel

type TL_channels_joinChannel struct {
	Channel TL // InputChannel
}

type TL_channels_leaveChannel

type TL_channels_leaveChannel struct {
	Channel TL // InputChannel
}

type TL_channels_readHistory

type TL_channels_readHistory struct {
	Channel TL // InputChannel
	MaxID   int32
}

type TL_channels_readMessageContents

type TL_channels_readMessageContents struct {
	Channel TL // InputChannel
	ID      []int32
}

type TL_channels_reportSpam

type TL_channels_reportSpam struct {
	Channel TL // InputChannel
	UserID  TL // InputUser
	ID      []int32
}

type TL_channels_setDiscussionGroup

type TL_channels_setDiscussionGroup struct {
	Broadcast TL // InputChannel
	Group     TL // InputChannel
}

type TL_channels_setStickers

type TL_channels_setStickers struct {
	Channel    TL // InputChannel
	Stickerset TL // InputStickerSet
}

type TL_channels_togglePreHistoryHidden

type TL_channels_togglePreHistoryHidden struct {
	Channel TL // InputChannel
	Enabled TL // Bool
}

type TL_channels_toggleSignatures

type TL_channels_toggleSignatures struct {
	Channel TL // InputChannel
	Enabled TL // Bool
}

type TL_channels_toggleSlowMode

type TL_channels_toggleSlowMode struct {
	Channel TL // InputChannel
	Seconds int32
}

type TL_channels_updateUsername

type TL_channels_updateUsername struct {
	Channel  TL // InputChannel
	Username string
}

type TL_chat

type TL_chat struct {
	Flags               int32
	Creator             bool //flag
	Kicked              bool //flag
	Left                bool //flag
	Deactivated         bool //flag
	ID                  int32
	Title               string
	Photo               TL // ChatPhoto
	ParticipantsCount   int32
	Date                int32
	Version             int32
	MigratedTo          TL // InputChannel //flag
	AdminRights         TL // ChatAdminRights //flag
	DefaultBannedRights TL // ChatBannedRights //flag
}

type TL_chatAdminRights

type TL_chatAdminRights struct {
	Flags          int32
	ChangeInfo     bool //flag
	PostMessages   bool //flag
	EditMessages   bool //flag
	DeleteMessages bool //flag
	BanUsers       bool //flag
	InviteUsers    bool //flag
	PinMessages    bool //flag
	AddAdmins      bool //flag
}

type TL_chatBannedRights

type TL_chatBannedRights struct {
	Flags        int32
	ViewMessages bool //flag
	SendMessages bool //flag
	SendMedia    bool //flag
	SendStickers bool //flag
	SendGifs     bool //flag
	SendGames    bool //flag
	SendInline   bool //flag
	EmbedLinks   bool //flag
	SendPolls    bool //flag
	ChangeInfo   bool //flag
	InviteUsers  bool //flag
	PinMessages  bool //flag
	UntilDate    int32
}

type TL_chatEmpty

type TL_chatEmpty struct {
	ID int32
}

type TL_chatForbidden

type TL_chatForbidden struct {
	ID    int32
	Title string
}

type TL_chatFull

type TL_chatFull struct {
	Flags          int32
	CanSetUsername bool //flag
	HasScheduled   bool //flag
	ID             int32
	About          string
	Participants   TL    // ChatParticipants
	ChatPhoto      TL    // Photo //flag
	NotifySettings TL    // PeerNotifySettings
	ExportedInvite TL    // ExportedChatInvite
	BotInfo        []TL  // BotInfo //flag
	PinnedMsgID    int32 //flag
	FolderID       int32 //flag
}

type TL_chatInvite

type TL_chatInvite struct {
	Flags             int32
	Channel           bool //flag
	Broadcast         bool //flag
	Public            bool //flag
	Megagroup         bool //flag
	Title             string
	Photo             TL // Photo
	ParticipantsCount int32
	Participants      []TL // User //flag
}

type TL_chatInviteAlready

type TL_chatInviteAlready struct {
	Chat TL // Chat
}

type TL_chatInviteEmpty

type TL_chatInviteEmpty struct {
}

type TL_chatInviteExported

type TL_chatInviteExported struct {
	Link string
}

type TL_chatOnlines

type TL_chatOnlines struct {
	Onlines int32
}

type TL_chatParticipant

type TL_chatParticipant struct {
	UserID    int32
	InviterID int32
	Date      int32
}

type TL_chatParticipantAdmin

type TL_chatParticipantAdmin struct {
	UserID    int32
	InviterID int32
	Date      int32
}

type TL_chatParticipantCreator

type TL_chatParticipantCreator struct {
	UserID int32
}

type TL_chatParticipants

type TL_chatParticipants struct {
	ChatID       int32
	Participants []TL // ChatParticipant
	Version      int32
}

type TL_chatParticipantsForbidden

type TL_chatParticipantsForbidden struct {
	Flags           int32
	ChatID          int32
	SelfParticipant TL // ChatParticipant //flag
}

type TL_chatPhoto

type TL_chatPhoto struct {
	PhotoSmall TL // FileLocation
	PhotoBig   TL // FileLocation
	DcID       int32
}

type TL_chatPhotoEmpty

type TL_chatPhotoEmpty struct {
}

type TL_client_DH_inner_data

type TL_client_DH_inner_data struct {
	Nonce       []byte
	ServerNonce []byte
	RetryID     int64
	GB          string
}

type TL_codeSettings

type TL_codeSettings struct {
	Flags          int32
	AllowFlashcall bool //flag
	CurrentNumber  bool //flag
	AllowAppHash   bool //flag
}

type TL_config

type TL_config struct {
	Flags                   int32
	PhonecallsEnabled       bool //flag
	DefaultP2pContacts      bool //flag
	PreloadFeaturedStickers bool //flag
	IgnorePhoneEntities     bool //flag
	RevokePmInbox           bool //flag
	BlockedMode             bool //flag
	PfsEnabled              bool //flag
	Date                    int32
	Expires                 int32
	TestMode                TL // Bool
	ThisDc                  int32
	DcOptions               []TL // DcOption
	DcTxtDomainName         string
	ChatSizeMax             int32
	MegagroupSizeMax        int32
	ForwardedCountMax       int32
	OnlineUpdatePeriodMs    int32
	OfflineBlurTimeoutMs    int32
	OfflineIdleTimeoutMs    int32
	OnlineCloudTimeoutMs    int32
	NotifyCloudDelayMs      int32
	NotifyDefaultDelayMs    int32
	PushChatPeriodMs        int32
	PushChatLimit           int32
	SavedGifsLimit          int32
	EditTimeLimit           int32
	RevokeTimeLimit         int32
	RevokePmTimeLimit       int32
	RatingEDecay            int32
	StickersRecentLimit     int32
	StickersFavedLimit      int32
	ChannelsReadMediaPeriod int32
	TmpSessions             int32 //flag
	PinnedDialogsCountMax   int32
	PinnedInfolderCountMax  int32
	CallReceiveTimeoutMs    int32
	CallRingTimeoutMs       int32
	CallConnectTimeoutMs    int32
	CallPacketTimeoutMs     int32
	MeUrlPrefix             string
	AutoupdateUrlPrefix     string //flag
	GifSearchUsername       string //flag
	VenueSearchUsername     string //flag
	ImgSearchUsername       string //flag
	StaticMapsProvider      string //flag
	CaptionLengthMax        int32
	MessageLengthMax        int32
	WebfileDcID             int32
	SuggestedLangCode       string //flag
	LangPackVersion         int32  //flag
	BaseLangPackVersion     int32  //flag
}

type TL_contact

type TL_contact struct {
	UserID int32
	Mutual TL // Bool
}

type TL_contactBlocked

type TL_contactBlocked struct {
	UserID int32
	Date   int32
}

type TL_contactStatus

type TL_contactStatus struct {
	UserID int32
	Status TL // UserStatus
}

type TL_contacts_acceptContact

type TL_contacts_acceptContact struct {
	ID TL // InputUser
}

type TL_contacts_addContact

type TL_contacts_addContact struct {
	Flags                    int32
	AddPhonePrivacyException bool //flag
	ID                       TL   // InputUser
	FirstName                string
	LastName                 string
	Phone                    string
}

type TL_contacts_block

type TL_contacts_block struct {
	ID TL // InputUser
}

type TL_contacts_blocked

type TL_contacts_blocked struct {
	Blocked []TL // ContactBlocked
	Users   []TL // User
}

type TL_contacts_blockedSlice

type TL_contacts_blockedSlice struct {
	Count   int32
	Blocked []TL // ContactBlocked
	Users   []TL // User
}

type TL_contacts_contacts

type TL_contacts_contacts struct {
	Contacts   []TL // Contact
	SavedCount int32
	Users      []TL // User
}

type TL_contacts_contactsNotModified

type TL_contacts_contactsNotModified struct {
}

type TL_contacts_deleteByPhones

type TL_contacts_deleteByPhones struct {
	Phones []string
}

type TL_contacts_deleteContacts

type TL_contacts_deleteContacts struct {
	ID []TL // InputUser
}

type TL_contacts_found

type TL_contacts_found struct {
	MyResults []TL // Peer
	Results   []TL // Peer
	Chats     []TL // Chat
	Users     []TL // User
}

type TL_contacts_getBlocked

type TL_contacts_getBlocked struct {
	Offset int32
	Limit  int32
}

type TL_contacts_getContactIDs

type TL_contacts_getContactIDs struct {
	Hash int32
}

type TL_contacts_getContacts

type TL_contacts_getContacts struct {
	Hash int32
}

type TL_contacts_getLocated

type TL_contacts_getLocated struct {
	Flags       int32
	Background  bool  //flag
	GeoPoint    TL    // InputGeoPoint
	SelfExpires int32 //flag
}

type TL_contacts_getSaved

type TL_contacts_getSaved struct {
}

type TL_contacts_getStatuses

type TL_contacts_getStatuses struct {
}

type TL_contacts_getTopPeers

type TL_contacts_getTopPeers struct {
	Flags          int32
	Correspondents bool //flag
	BotsPm         bool //flag
	BotsInline     bool //flag
	PhoneCalls     bool //flag
	ForwardUsers   bool //flag
	ForwardChats   bool //flag
	Groups         bool //flag
	Channels       bool //flag
	Offset         int32
	Limit          int32
	Hash           int32
}

type TL_contacts_importContacts

type TL_contacts_importContacts struct {
	Contacts []TL // InputContact
}

type TL_contacts_importedContacts

type TL_contacts_importedContacts struct {
	Imported       []TL // ImportedContact
	PopularInvites []TL // PopularContact
	RetryContacts  []int64
	Users          []TL // User
}

type TL_contacts_resetSaved

type TL_contacts_resetSaved struct {
}

type TL_contacts_resetTopPeerRating

type TL_contacts_resetTopPeerRating struct {
	Category TL // TopPeerCategory
	Peer     TL // InputPeer
}

type TL_contacts_resolveUsername

type TL_contacts_resolveUsername struct {
	Username string
}

type TL_contacts_resolvedPeer

type TL_contacts_resolvedPeer struct {
	Peer  TL   // Peer
	Chats []TL // Chat
	Users []TL // User
}
type TL_contacts_search struct {
	Q     string
	Limit int32
}

type TL_contacts_toggleTopPeers

type TL_contacts_toggleTopPeers struct {
	Enabled TL // Bool
}

type TL_contacts_topPeers

type TL_contacts_topPeers struct {
	Categories []TL // TopPeerCategoryPeers
	Chats      []TL // Chat
	Users      []TL // User
}

type TL_contacts_topPeersDisabled

type TL_contacts_topPeersDisabled struct {
}

type TL_contacts_topPeersNotModified

type TL_contacts_topPeersNotModified struct {
}

type TL_contacts_unblock

type TL_contacts_unblock struct {
	ID TL // InputUser
}

type TL_dataJSON

type TL_dataJSON struct {
	Data string
}

type TL_dcOption

type TL_dcOption struct {
	Flags     int32
	Ipv6      bool //flag
	MediaOnly bool //flag
	TcpoOnly  bool //flag
	Cdn       bool //flag
	Static    bool //flag
	ID        int32
	IpAddress string
	Port      int32
	Secret    []byte //flag
}

type TL_destroy_auth_key

type TL_destroy_auth_key struct {
}

type TL_destroy_auth_key_fail

type TL_destroy_auth_key_fail struct {
}

type TL_destroy_auth_key_none

type TL_destroy_auth_key_none struct {
}

type TL_destroy_auth_key_ok

type TL_destroy_auth_key_ok struct {
}

type TL_destroy_session

type TL_destroy_session struct {
	SessionID int64
}

type TL_destroy_session_none

type TL_destroy_session_none struct {
	SessionID int64
}

type TL_destroy_session_ok

type TL_destroy_session_ok struct {
	SessionID int64
}

type TL_dh_gen_fail

type TL_dh_gen_fail struct {
	Nonce         []byte
	ServerNonce   []byte
	NewNonceHash3 []byte
}

type TL_dh_gen_ok

type TL_dh_gen_ok struct {
	Nonce         []byte
	ServerNonce   []byte
	NewNonceHash1 []byte
}

type TL_dh_gen_retry

type TL_dh_gen_retry struct {
	Nonce         []byte
	ServerNonce   []byte
	NewNonceHash2 []byte
}

type TL_dialog

type TL_dialog struct {
	Flags               int32
	Pinned              bool //flag
	UnreadMark          bool //flag
	Peer                TL   // Peer
	TopMessage          int32
	ReadInboxMaxID      int32
	ReadOutboxMaxID     int32
	UnreadCount         int32
	UnreadMentionsCount int32
	NotifySettings      TL    // PeerNotifySettings
	Pts                 int32 //flag
	Draft               TL    // DraftMessage //flag
	FolderID            int32 //flag
}

type TL_dialogFilter

type TL_dialogFilter struct {
	Flags           int32
	Contacts        bool //flag
	NonContacts     bool //flag
	Groups          bool //flag
	Broadcasts      bool //flag
	Bots            bool //flag
	ExcludeMuted    bool //flag
	ExcludeRead     bool //flag
	ExcludeArchived bool //flag
	ID              int32
	Title           string
	Emoticon        string //flag
	PinnedPeers     []TL   // InputPeer
	IncludePeers    []TL   // InputPeer
	ExcludePeers    []TL   // InputPeer
}

type TL_dialogFilterSuggested

type TL_dialogFilterSuggested struct {
	Filter      TL // DialogFilter
	Description string
}

type TL_dialogFolder

type TL_dialogFolder struct {
	Flags                      int32
	Pinned                     bool //flag
	Folder                     TL   // Folder
	Peer                       TL   // Peer
	TopMessage                 int32
	UnreadMutedPeersCount      int32
	UnreadUnmutedPeersCount    int32
	UnreadMutedMessagesCount   int32
	UnreadUnmutedMessagesCount int32
}

type TL_dialogPeer

type TL_dialogPeer struct {
	Peer TL // Peer
}

type TL_dialogPeerFolder

type TL_dialogPeerFolder struct {
	FolderID int32
}

type TL_document

type TL_document struct {
	Flags         int32
	ID            int64
	AccessHash    int64
	FileReference []byte
	Date          int32
	MimeType      string
	Size          int32
	Thumbs        []TL // PhotoSize //flag
	VideoThumbs   []TL // VideoSize //flag
	DcID          int32
	Attributes    []TL // DocumentAttribute
}

type TL_documentAttributeAnimated

type TL_documentAttributeAnimated struct {
}

type TL_documentAttributeAudio

type TL_documentAttributeAudio struct {
	Flags     int32
	Voice     bool //flag
	Duration  int32
	Title     string //flag
	Performer string //flag
	Waveform  []byte //flag
}

type TL_documentAttributeFilename

type TL_documentAttributeFilename struct {
	FileName string
}

type TL_documentAttributeHasStickers

type TL_documentAttributeHasStickers struct {
}

type TL_documentAttributeImageSize

type TL_documentAttributeImageSize struct {
	W int32
	H int32
}

type TL_documentAttributeSticker

type TL_documentAttributeSticker struct {
	Flags      int32
	Mask       bool //flag
	Alt        string
	Stickerset TL // InputStickerSet
	MaskCoords TL // MaskCoords //flag
}

type TL_documentAttributeVideo

type TL_documentAttributeVideo struct {
	Flags             int32
	RoundMessage      bool //flag
	SupportsStreaming bool //flag
	Duration          int32
	W                 int32
	H                 int32
}

type TL_documentEmpty

type TL_documentEmpty struct {
	ID int64
}

type TL_draftMessage

type TL_draftMessage struct {
	Flags        int32
	NoWebpage    bool  //flag
	ReplyToMsgID int32 //flag
	Message      string
	Entities     []TL // MessageEntity //flag
	Date         int32
}

type TL_draftMessageEmpty

type TL_draftMessageEmpty struct {
	Flags int32
	Date  int32 //flag
}

type TL_emojiKeyword

type TL_emojiKeyword struct {
	Keyword   string
	Emoticons []string
}

type TL_emojiKeywordDeleted

type TL_emojiKeywordDeleted struct {
	Keyword   string
	Emoticons []string
}

type TL_emojiKeywordsDifference

type TL_emojiKeywordsDifference struct {
	LangCode    string
	FromVersion int32
	Version     int32
	Keywords    []TL // EmojiKeyword
}

type TL_emojiLanguage

type TL_emojiLanguage struct {
	LangCode string
}

type TL_emojiURL

type TL_emojiURL struct {
	Url string
}

type TL_encryptedChat

type TL_encryptedChat struct {
	ID             int32
	AccessHash     int64
	Date           int32
	AdminID        int32
	ParticipantID  int32
	GAOrB          []byte
	KeyFingerprint int64
}

type TL_encryptedChatDiscarded

type TL_encryptedChatDiscarded struct {
	ID int32
}

type TL_encryptedChatEmpty

type TL_encryptedChatEmpty struct {
	ID int32
}

type TL_encryptedChatRequested

type TL_encryptedChatRequested struct {
	ID            int32
	AccessHash    int64
	Date          int32
	AdminID       int32
	ParticipantID int32
	GA            []byte
}

type TL_encryptedChatWaiting

type TL_encryptedChatWaiting struct {
	ID            int32
	AccessHash    int64
	Date          int32
	AdminID       int32
	ParticipantID int32
}

type TL_encryptedFile

type TL_encryptedFile struct {
	ID             int64
	AccessHash     int64
	Size           int32
	DcID           int32
	KeyFingerprint int32
}

type TL_encryptedFileEmpty

type TL_encryptedFileEmpty struct {
}

type TL_encryptedMessage

type TL_encryptedMessage struct {
	RandomID int64
	ChatID   int32
	Date     int32
	Bytes    []byte
	File     TL // EncryptedFile
}

type TL_encryptedMessageService

type TL_encryptedMessageService struct {
	RandomID int64
	ChatID   int32
	Date     int32
	Bytes    []byte
}

type TL_error

type TL_error struct {
	Code int32
	Text string
}
type TL_exportedMessageLink struct {
	Link string
	Html string
}

type TL_fileHash

type TL_fileHash struct {
	Offset int32
	Limit  int32
	Hash   []byte
}

type TL_fileLocationToBeDeprecated

type TL_fileLocationToBeDeprecated struct {
	VolumeID int64
	LocalID  int32
}

type TL_folder

type TL_folder struct {
	Flags                     int32
	AutofillNewBroadcasts     bool //flag
	AutofillPublicGroups      bool //flag
	AutofillNewCorrespondents bool //flag
	ID                        int32
	Title                     string
	Photo                     TL // ChatPhoto //flag
}

type TL_folderPeer

type TL_folderPeer struct {
	Peer     TL // Peer
	FolderID int32
}

type TL_folders_deleteFolder

type TL_folders_deleteFolder struct {
	FolderID int32
}

type TL_folders_editPeerFolders

type TL_folders_editPeerFolders struct {
	FolderPeers []TL // InputFolderPeer
}

type TL_foundGif

type TL_foundGif struct {
	Url         string
	ThumbUrl    string
	ContentUrl  string
	ContentType string
	W           int32
	H           int32
}

type TL_foundGifCached

type TL_foundGifCached struct {
	Url      string
	Photo    TL // Photo
	Document TL // Document
}

type TL_future_salt

type TL_future_salt struct {
	ValidSince int32
	ValidUntil int32
	Salt       int64
}

type TL_future_salts

type TL_future_salts struct {
	ReqMsgID int64
	Now      int32
	Salts    TL // vector<future_salt>
}

type TL_game

type TL_game struct {
	Flags       int32
	ID          int64
	AccessHash  int64
	ShortName   string
	Title       string
	Description string
	Photo       TL // Photo
	Document    TL // Document //flag
}

type TL_geoPoint

type TL_geoPoint struct {
	Long       float64
	Lat        float64
	AccessHash int64
}

type TL_geoPointEmpty

type TL_geoPointEmpty struct {
}

type TL_get_future_salts

type TL_get_future_salts struct {
	Num int32
}

type TL_help_acceptTermsOfService

type TL_help_acceptTermsOfService struct {
	ID TL // DataJSON
}

type TL_help_appUpdate

type TL_help_appUpdate struct {
	Flags      int32
	CanNotSkip bool //flag
	ID         int32
	Version    string
	Text       string
	Entities   []TL   // MessageEntity
	Document   TL     // Document //flag
	Url        string //flag
}

type TL_help_configSimple

type TL_help_configSimple struct {
	Date    int32
	Expires int32
	Rules   TL // vector<AccessPointRule>
}

type TL_help_deepLinkInfo

type TL_help_deepLinkInfo struct {
	Flags     int32
	UpdateApp bool //flag
	Message   string
	Entities  []TL // MessageEntity //flag
}

type TL_help_deepLinkInfoEmpty

type TL_help_deepLinkInfoEmpty struct {
}

type TL_help_editUserInfo

type TL_help_editUserInfo struct {
	UserID   TL // InputUser
	Message  string
	Entities []TL // MessageEntity
}

type TL_help_getAppChangelog

type TL_help_getAppChangelog struct {
	PrevAppVersion string
}

type TL_help_getAppConfig

type TL_help_getAppConfig struct {
}

type TL_help_getAppUpdate

type TL_help_getAppUpdate struct {
	Source string
}

type TL_help_getCdnConfig

type TL_help_getCdnConfig struct {
}

type TL_help_getConfig

type TL_help_getConfig struct {
}

type TL_help_getDeepLinkInfo

type TL_help_getDeepLinkInfo struct {
	Path string
}

type TL_help_getInviteText

type TL_help_getInviteText struct {
}

type TL_help_getNearestDc

type TL_help_getNearestDc struct {
}

type TL_help_getPassportConfig

type TL_help_getPassportConfig struct {
	Hash int32
}

type TL_help_getPromoData

type TL_help_getPromoData struct {
}

type TL_help_getRecentMeUrls

type TL_help_getRecentMeUrls struct {
	Referer string
}

type TL_help_getSupport

type TL_help_getSupport struct {
}

type TL_help_getSupportName

type TL_help_getSupportName struct {
}

type TL_help_getTermsOfServiceUpdate

type TL_help_getTermsOfServiceUpdate struct {
}

type TL_help_getUserInfo

type TL_help_getUserInfo struct {
	UserID TL // InputUser
}

type TL_help_hidePromoData

type TL_help_hidePromoData struct {
	Peer TL // InputPeer
}

type TL_help_inviteText

type TL_help_inviteText struct {
	Message string
}

type TL_help_noAppUpdate

type TL_help_noAppUpdate struct {
}

type TL_help_passportConfig

type TL_help_passportConfig struct {
	Hash           int32
	CountriesLangs TL // DataJSON
}

type TL_help_passportConfigNotModified

type TL_help_passportConfigNotModified struct {
}

type TL_help_promoData

type TL_help_promoData struct {
	Flags      int32
	Proxy      bool //flag
	Expires    int32
	Peer       TL     // Peer
	Chats      []TL   // Chat
	Users      []TL   // User
	PsaType    string //flag
	PsaMessage string //flag
}

type TL_help_promoDataEmpty

type TL_help_promoDataEmpty struct {
	Expires int32
}

type TL_help_recentMeUrls

type TL_help_recentMeUrls struct {
	Urls  []TL // RecentMeUrl
	Chats []TL // Chat
	Users []TL // User
}

type TL_help_saveAppLog

type TL_help_saveAppLog struct {
	Events []TL // InputAppEvent
}

type TL_help_setBotUpdatesStatus

type TL_help_setBotUpdatesStatus struct {
	PendingUpdatesCount int32
	Message             string
}

type TL_help_support

type TL_help_support struct {
	PhoneNumber string
	User        TL // User
}

type TL_help_supportName

type TL_help_supportName struct {
	Name string
}

type TL_help_termsOfService

type TL_help_termsOfService struct {
	Flags         int32
	Popup         bool //flag
	ID            TL   // DataJSON
	Text          string
	Entities      []TL  // MessageEntity
	MinAgeConfirm int32 //flag
}

type TL_help_termsOfServiceUpdate

type TL_help_termsOfServiceUpdate struct {
	Expires        int32
	TermsOfService TL // help_TermsOfService
}

type TL_help_termsOfServiceUpdateEmpty

type TL_help_termsOfServiceUpdateEmpty struct {
	Expires int32
}

type TL_help_userInfo

type TL_help_userInfo struct {
	Message  string
	Entities []TL // MessageEntity
	Author   string
	Date     int32
}

type TL_help_userInfoEmpty

type TL_help_userInfoEmpty struct {
}

type TL_highScore

type TL_highScore struct {
	Pos    int32
	UserID int32
	Score  int32
}

type TL_http_wait

type TL_http_wait struct {
	MaxDelay  int32
	WaitAfter int32
	MaxWait   int32
}

type TL_importedContact

type TL_importedContact struct {
	UserID   int32
	ClientID int64
}

type TL_initConnection

type TL_initConnection struct {
	Flags          int32
	ApiID          int32
	DeviceModel    string
	SystemVersion  string
	AppVersion     string
	SystemLangCode string
	LangPack       string
	LangCode       string
	Proxy          TL // InputClientProxy //flag
	Params         TL // JSONValue //flag
	Query          TL
}

type TL_inlineBotSwitchPM

type TL_inlineBotSwitchPM struct {
	Text       string
	StartParam string
}

type TL_inputAppEvent

type TL_inputAppEvent struct {
	Time float64
	Type string
	Peer int64
	Data TL // JSONValue
}

type TL_inputBotInlineMessageGame

type TL_inputBotInlineMessageGame struct {
	Flags       int32
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_inputBotInlineMessageID

type TL_inputBotInlineMessageID struct {
	DcID       int32
	ID         int64
	AccessHash int64
}

type TL_inputBotInlineMessageMediaAuto

type TL_inputBotInlineMessageMediaAuto struct {
	Flags       int32
	Message     string
	Entities    []TL // MessageEntity //flag
	ReplyMarkup TL   // ReplyMarkup //flag
}

type TL_inputBotInlineMessageMediaContact

type TL_inputBotInlineMessageMediaContact struct {
	Flags       int32
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_inputBotInlineMessageMediaGeo

type TL_inputBotInlineMessageMediaGeo struct {
	Flags       int32
	GeoPoint    TL // InputGeoPoint
	Period      int32
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_inputBotInlineMessageMediaVenue

type TL_inputBotInlineMessageMediaVenue struct {
	Flags       int32
	GeoPoint    TL // InputGeoPoint
	Title       string
	Address     string
	Provider    string
	VenueID     string
	VenueType   string
	ReplyMarkup TL // ReplyMarkup //flag
}

type TL_inputBotInlineMessageText

type TL_inputBotInlineMessageText struct {
	Flags       int32
	NoWebpage   bool //flag
	Message     string
	Entities    []TL // MessageEntity //flag
	ReplyMarkup TL   // ReplyMarkup //flag
}

type TL_inputBotInlineResult

type TL_inputBotInlineResult struct {
	Flags       int32
	ID          string
	Type        string
	Title       string //flag
	Description string //flag
	Url         string //flag
	Thumb       TL     // InputWebDocument //flag
	Content     TL     // InputWebDocument //flag
	SendMessage TL     // InputBotInlineMessage
}

type TL_inputBotInlineResultDocument

type TL_inputBotInlineResultDocument struct {
	Flags       int32
	ID          string
	Type        string
	Title       string //flag
	Description string //flag
	Document    TL     // InputDocument
	SendMessage TL     // InputBotInlineMessage
}

type TL_inputBotInlineResultGame

type TL_inputBotInlineResultGame struct {
	ID          string
	ShortName   string
	SendMessage TL // InputBotInlineMessage
}

type TL_inputBotInlineResultPhoto

type TL_inputBotInlineResultPhoto struct {
	ID          string
	Type        string
	Photo       TL // InputPhoto
	SendMessage TL // InputBotInlineMessage
}

type TL_inputChannel

type TL_inputChannel struct {
	ChannelID  int32
	AccessHash int64
}

type TL_inputChannelEmpty

type TL_inputChannelEmpty struct {
}

type TL_inputChannelFromMessage

type TL_inputChannelFromMessage struct {
	Peer      TL // InputPeer
	MsgID     int32
	ChannelID int32
}

type TL_inputChatPhoto

type TL_inputChatPhoto struct {
	ID TL // InputPhoto
}

type TL_inputChatPhotoEmpty

type TL_inputChatPhotoEmpty struct {
}

type TL_inputChatUploadedPhoto

type TL_inputChatUploadedPhoto struct {
	File TL // InputFile
}

type TL_inputCheckPasswordEmpty

type TL_inputCheckPasswordEmpty struct {
}

type TL_inputCheckPasswordSRP

type TL_inputCheckPasswordSRP struct {
	SrpID int64
	A     []byte
	M1    []byte
}

type TL_inputClientProxy

type TL_inputClientProxy struct {
	Address string
	Port    int32
}

type TL_inputDialogPeer

type TL_inputDialogPeer struct {
	Peer TL // InputPeer
}

type TL_inputDialogPeerFolder

type TL_inputDialogPeerFolder struct {
	FolderID int32
}

type TL_inputDocument

type TL_inputDocument struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
}

type TL_inputDocumentEmpty

type TL_inputDocumentEmpty struct {
}

type TL_inputDocumentFileLocation

type TL_inputDocumentFileLocation struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
	ThumbSize     string
}

type TL_inputEncryptedChat

type TL_inputEncryptedChat struct {
	ChatID     int32
	AccessHash int64
}

type TL_inputEncryptedFile

type TL_inputEncryptedFile struct {
	ID         int64
	AccessHash int64
}

type TL_inputEncryptedFileBigUploaded

type TL_inputEncryptedFileBigUploaded struct {
	ID             int64
	Parts          int32
	KeyFingerprint int32
}

type TL_inputEncryptedFileEmpty

type TL_inputEncryptedFileEmpty struct {
}

type TL_inputEncryptedFileLocation

type TL_inputEncryptedFileLocation struct {
	ID         int64
	AccessHash int64
}

type TL_inputEncryptedFileUploaded

type TL_inputEncryptedFileUploaded struct {
	ID             int64
	Parts          int32
	Md5Checksum    string
	KeyFingerprint int32
}

type TL_inputFile

type TL_inputFile struct {
	ID          int64
	Parts       int32
	Name        string
	Md5Checksum string
}

type TL_inputFileBig

type TL_inputFileBig struct {
	ID    int64
	Parts int32
	Name  string
}

type TL_inputFileLocation

type TL_inputFileLocation struct {
	VolumeID      int64
	LocalID       int32
	Secret        int64
	FileReference []byte
}

type TL_inputFolderPeer

type TL_inputFolderPeer struct {
	Peer     TL // InputPeer
	FolderID int32
}

type TL_inputGameID

type TL_inputGameID struct {
	ID         int64
	AccessHash int64
}

type TL_inputGameShortName

type TL_inputGameShortName struct {
	BotID     TL // InputUser
	ShortName string
}

type TL_inputGeoPoint

type TL_inputGeoPoint struct {
	Lat  float64
	Long float64
}

type TL_inputGeoPointEmpty

type TL_inputGeoPointEmpty struct {
}

type TL_inputKeyboardButtonUrlAuth

type TL_inputKeyboardButtonUrlAuth struct {
	Flags              int32
	RequestWriteAccess bool //flag
	Text               string
	FwdText            string //flag
	Url                string
	Bot                TL // InputUser
}

type TL_inputMediaContact

type TL_inputMediaContact struct {
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
}

type TL_inputMediaDice

type TL_inputMediaDice struct {
	Emoticon string
}

type TL_inputMediaDocument

type TL_inputMediaDocument struct {
	Flags      int32
	ID         TL    // InputDocument
	TtlSeconds int32 //flag
}

type TL_inputMediaDocumentExternal

type TL_inputMediaDocumentExternal struct {
	Flags      int32
	Url        string
	TtlSeconds int32 //flag
}

type TL_inputMediaEmpty

type TL_inputMediaEmpty struct {
}

type TL_inputMediaGame

type TL_inputMediaGame struct {
	ID TL // InputGame
}

type TL_inputMediaGeoLive

type TL_inputMediaGeoLive struct {
	Flags    int32
	Stopped  bool  //flag
	GeoPoint TL    // InputGeoPoint
	Period   int32 //flag
}

type TL_inputMediaGeoPoint

type TL_inputMediaGeoPoint struct {
	GeoPoint TL // InputGeoPoint
}

type TL_inputMediaGifExternal

type TL_inputMediaGifExternal struct {
	Url string
	Q   string
}

type TL_inputMediaInvoice

type TL_inputMediaInvoice struct {
	Flags        int32
	Title        string
	Description  string
	Photo        TL // InputWebDocument //flag
	Invoice      TL // Invoice
	Payload      []byte
	Provider     string
	ProviderData TL // DataJSON
	StartParam   string
}

type TL_inputMediaPhoto

type TL_inputMediaPhoto struct {
	Flags      int32
	ID         TL    // InputPhoto
	TtlSeconds int32 //flag
}

type TL_inputMediaPhotoExternal

type TL_inputMediaPhotoExternal struct {
	Flags      int32
	Url        string
	TtlSeconds int32 //flag
}

type TL_inputMediaPoll

type TL_inputMediaPoll struct {
	Flags            int32
	Poll             TL     // Poll
	CorrectAnswers   []TL   // bytes //flag
	Solution         string //flag
	SolutionEntities []TL   // MessageEntity //flag
}

type TL_inputMediaUploadedDocument

type TL_inputMediaUploadedDocument struct {
	Flags        int32
	NosoundVideo bool //flag
	File         TL   // InputFile
	Thumb        TL   // InputFile //flag
	MimeType     string
	Attributes   []TL  // DocumentAttribute
	Stickers     []TL  // InputDocument //flag
	TtlSeconds   int32 //flag
}

type TL_inputMediaUploadedPhoto

type TL_inputMediaUploadedPhoto struct {
	Flags      int32
	File       TL    // InputFile
	Stickers   []TL  // InputDocument //flag
	TtlSeconds int32 //flag
}

type TL_inputMediaVenue

type TL_inputMediaVenue struct {
	GeoPoint  TL // InputGeoPoint
	Title     string
	Address   string
	Provider  string
	VenueID   string
	VenueType string
}

type TL_inputMessageEntityMentionName

type TL_inputMessageEntityMentionName struct {
	Offset int32
	Length int32
	UserID TL // InputUser
}

type TL_inputMessageID

type TL_inputMessageID struct {
	ID int32
}

type TL_inputMessagePinned

type TL_inputMessagePinned struct {
}

type TL_inputMessageReplyTo

type TL_inputMessageReplyTo struct {
	ID int32
}

type TL_inputMessagesFilterChatPhotos

type TL_inputMessagesFilterChatPhotos struct {
}

type TL_inputMessagesFilterContacts

type TL_inputMessagesFilterContacts struct {
}

type TL_inputMessagesFilterDocument

type TL_inputMessagesFilterDocument struct {
}

type TL_inputMessagesFilterEmpty

type TL_inputMessagesFilterEmpty struct {
}

type TL_inputMessagesFilterGeo

type TL_inputMessagesFilterGeo struct {
}

type TL_inputMessagesFilterGif

type TL_inputMessagesFilterGif struct {
}

type TL_inputMessagesFilterMusic

type TL_inputMessagesFilterMusic struct {
}

type TL_inputMessagesFilterMyMentions

type TL_inputMessagesFilterMyMentions struct {
}

type TL_inputMessagesFilterPhoneCalls

type TL_inputMessagesFilterPhoneCalls struct {
	Flags  int32
	Missed bool //flag
}

type TL_inputMessagesFilterPhotoVideo

type TL_inputMessagesFilterPhotoVideo struct {
}

type TL_inputMessagesFilterPhotos

type TL_inputMessagesFilterPhotos struct {
}

type TL_inputMessagesFilterRoundVideo

type TL_inputMessagesFilterRoundVideo struct {
}

type TL_inputMessagesFilterRoundVoice

type TL_inputMessagesFilterRoundVoice struct {
}

type TL_inputMessagesFilterUrl

type TL_inputMessagesFilterUrl struct {
}

type TL_inputMessagesFilterVideo

type TL_inputMessagesFilterVideo struct {
}

type TL_inputMessagesFilterVoice

type TL_inputMessagesFilterVoice struct {
}

type TL_inputNotifyBroadcasts

type TL_inputNotifyBroadcasts struct {
}

type TL_inputNotifyChats

type TL_inputNotifyChats struct {
}

type TL_inputNotifyPeer

type TL_inputNotifyPeer struct {
	Peer TL // InputPeer
}

type TL_inputNotifyUsers

type TL_inputNotifyUsers struct {
}

type TL_inputPaymentCredentials

type TL_inputPaymentCredentials struct {
	Flags int32
	Save  bool //flag
	Data  TL   // DataJSON
}

type TL_inputPaymentCredentialsAndroidPay

type TL_inputPaymentCredentialsAndroidPay struct {
	PaymentToken        TL // DataJSON
	GoogleTransactionID string
}

type TL_inputPaymentCredentialsApplePay

type TL_inputPaymentCredentialsApplePay struct {
	PaymentData TL // DataJSON
}

type TL_inputPaymentCredentialsSaved

type TL_inputPaymentCredentialsSaved struct {
	ID          string
	TmpPassword []byte
}

type TL_inputPeerChannel

type TL_inputPeerChannel struct {
	ChannelID  int32
	AccessHash int64
}

type TL_inputPeerChannelFromMessage

type TL_inputPeerChannelFromMessage struct {
	Peer      TL // InputPeer
	MsgID     int32
	ChannelID int32
}

type TL_inputPeerChat

type TL_inputPeerChat struct {
	ChatID int32
}

type TL_inputPeerEmpty

type TL_inputPeerEmpty struct {
}

type TL_inputPeerNotifySettings

type TL_inputPeerNotifySettings struct {
	Flags        int32
	ShowPreviews TL     // Bool //flag
	Silent       TL     // Bool //flag
	MuteUntil    int32  //flag
	Sound        string //flag
}

type TL_inputPeerPhotoFileLocation

type TL_inputPeerPhotoFileLocation struct {
	Flags    int32
	Big      bool //flag
	Peer     TL   // InputPeer
	VolumeID int64
	LocalID  int32
}

type TL_inputPeerSelf

type TL_inputPeerSelf struct {
}

type TL_inputPeerUser

type TL_inputPeerUser struct {
	UserID     int32
	AccessHash int64
}

type TL_inputPeerUserFromMessage

type TL_inputPeerUserFromMessage struct {
	Peer   TL // InputPeer
	MsgID  int32
	UserID int32
}

type TL_inputPhoneCall

type TL_inputPhoneCall struct {
	ID         int64
	AccessHash int64
}

type TL_inputPhoneContact

type TL_inputPhoneContact struct {
	ClientID  int64
	Phone     string
	FirstName string
	LastName  string
}

type TL_inputPhoto

type TL_inputPhoto struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
}

type TL_inputPhotoEmpty

type TL_inputPhotoEmpty struct {
}

type TL_inputPhotoFileLocation

type TL_inputPhotoFileLocation struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
	ThumbSize     string
}

type TL_inputPhotoLegacyFileLocation

type TL_inputPhotoLegacyFileLocation struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
	VolumeID      int64
	LocalID       int32
	Secret        int64
}

type TL_inputPrivacyKeyAddedByPhone

type TL_inputPrivacyKeyAddedByPhone struct {
}

type TL_inputPrivacyKeyChatInvite

type TL_inputPrivacyKeyChatInvite struct {
}

type TL_inputPrivacyKeyForwards

type TL_inputPrivacyKeyForwards struct {
}

type TL_inputPrivacyKeyPhoneCall

type TL_inputPrivacyKeyPhoneCall struct {
}

type TL_inputPrivacyKeyPhoneNumber

type TL_inputPrivacyKeyPhoneNumber struct {
}

type TL_inputPrivacyKeyPhoneP2P

type TL_inputPrivacyKeyPhoneP2P struct {
}

type TL_inputPrivacyKeyProfilePhoto

type TL_inputPrivacyKeyProfilePhoto struct {
}

type TL_inputPrivacyKeyStatusTimestamp

type TL_inputPrivacyKeyStatusTimestamp struct {
}

type TL_inputPrivacyValueAllowAll

type TL_inputPrivacyValueAllowAll struct {
}

type TL_inputPrivacyValueAllowChatParticipants

type TL_inputPrivacyValueAllowChatParticipants struct {
	Chats []int32
}

type TL_inputPrivacyValueAllowContacts

type TL_inputPrivacyValueAllowContacts struct {
}

type TL_inputPrivacyValueAllowUsers

type TL_inputPrivacyValueAllowUsers struct {
	Users []TL // InputUser
}

type TL_inputPrivacyValueDisallowAll

type TL_inputPrivacyValueDisallowAll struct {
}

type TL_inputPrivacyValueDisallowChatParticipants

type TL_inputPrivacyValueDisallowChatParticipants struct {
	Chats []int32
}

type TL_inputPrivacyValueDisallowContacts

type TL_inputPrivacyValueDisallowContacts struct {
}

type TL_inputPrivacyValueDisallowUsers

type TL_inputPrivacyValueDisallowUsers struct {
	Users []TL // InputUser
}

type TL_inputReportReasonChildAbuse

type TL_inputReportReasonChildAbuse struct {
}

type TL_inputReportReasonCopyright

type TL_inputReportReasonCopyright struct {
}

type TL_inputReportReasonGeoIrrelevant

type TL_inputReportReasonGeoIrrelevant struct {
}

type TL_inputReportReasonOther

type TL_inputReportReasonOther struct {
	Text string
}

type TL_inputReportReasonPornography

type TL_inputReportReasonPornography struct {
}

type TL_inputReportReasonSpam

type TL_inputReportReasonSpam struct {
}

type TL_inputReportReasonViolence

type TL_inputReportReasonViolence struct {
}

type TL_inputSecureFile

type TL_inputSecureFile struct {
	ID         int64
	AccessHash int64
}

type TL_inputSecureFileLocation

type TL_inputSecureFileLocation struct {
	ID         int64
	AccessHash int64
}

type TL_inputSecureFileUploaded

type TL_inputSecureFileUploaded struct {
	ID          int64
	Parts       int32
	Md5Checksum string
	FileHash    []byte
	Secret      []byte
}

type TL_inputSecureValue

type TL_inputSecureValue struct {
	Flags       int32
	Type        TL   // SecureValueType
	Data        TL   // SecureData //flag
	FrontSide   TL   // InputSecureFile //flag
	ReverseSide TL   // InputSecureFile //flag
	Selfie      TL   // InputSecureFile //flag
	Translation []TL // InputSecureFile //flag
	Files       []TL // InputSecureFile //flag
	PlainData   TL   // SecurePlainData //flag
}

type TL_inputSingleMedia

type TL_inputSingleMedia struct {
	Flags    int32
	Media    TL // InputMedia
	RandomID int64
	Message  string
	Entities []TL // MessageEntity //flag
}

type TL_inputStickerSetAnimatedEmoji

type TL_inputStickerSetAnimatedEmoji struct {
}

type TL_inputStickerSetDice

type TL_inputStickerSetDice struct {
	Emoticon string
}

type TL_inputStickerSetEmpty

type TL_inputStickerSetEmpty struct {
}

type TL_inputStickerSetID

type TL_inputStickerSetID struct {
	ID         int64
	AccessHash int64
}

type TL_inputStickerSetItem

type TL_inputStickerSetItem struct {
	Flags      int32
	Document   TL // InputDocument
	Emoji      string
	MaskCoords TL // MaskCoords //flag
}

type TL_inputStickerSetShortName

type TL_inputStickerSetShortName struct {
	ShortName string
}

type TL_inputStickerSetThumb

type TL_inputStickerSetThumb struct {
	Stickerset TL // InputStickerSet
	VolumeID   int64
	LocalID    int32
}

type TL_inputStickeredMediaDocument

type TL_inputStickeredMediaDocument struct {
	ID TL // InputDocument
}

type TL_inputStickeredMediaPhoto

type TL_inputStickeredMediaPhoto struct {
	ID TL // InputPhoto
}

type TL_inputTakeoutFileLocation

type TL_inputTakeoutFileLocation struct {
}

type TL_inputTheme

type TL_inputTheme struct {
	ID         int64
	AccessHash int64
}

type TL_inputThemeSettings

type TL_inputThemeSettings struct {
	Flags              int32
	BaseTheme          TL // BaseTheme
	AccentColor        int32
	MessageTopColor    int32 //flag
	MessageBottomColor int32 //flag
	Wallpaper          TL    // InputWallPaper //flag
	WallpaperSettings  TL    // WallPaperSettings //flag
}

type TL_inputThemeSlug

type TL_inputThemeSlug struct {
	Slug string
}

type TL_inputUser

type TL_inputUser struct {
	UserID     int32
	AccessHash int64
}

type TL_inputUserEmpty

type TL_inputUserEmpty struct {
}

type TL_inputUserFromMessage

type TL_inputUserFromMessage struct {
	Peer   TL // InputPeer
	MsgID  int32
	UserID int32
}

type TL_inputUserSelf

type TL_inputUserSelf struct {
}

type TL_inputWallPaper

type TL_inputWallPaper struct {
	ID         int64
	AccessHash int64
}

type TL_inputWallPaperNoFile

type TL_inputWallPaperNoFile struct {
}

type TL_inputWallPaperSlug

type TL_inputWallPaperSlug struct {
	Slug string
}

type TL_inputWebDocument

type TL_inputWebDocument struct {
	Url        string
	Size       int32
	MimeType   string
	Attributes []TL // DocumentAttribute
}

type TL_inputWebFileGeoPointLocation

type TL_inputWebFileGeoPointLocation struct {
	GeoPoint   TL // InputGeoPoint
	AccessHash int64
	W          int32
	H          int32
	Zoom       int32
	Scale      int32
}

type TL_inputWebFileLocation

type TL_inputWebFileLocation struct {
	Url        string
	AccessHash int64
}

type TL_invoice

type TL_invoice struct {
	Flags                    int32
	Test                     bool //flag
	NameRequested            bool //flag
	PhoneRequested           bool //flag
	EmailRequested           bool //flag
	ShippingAddressRequested bool //flag
	Flexible                 bool //flag
	PhoneToProvider          bool //flag
	EmailToProvider          bool //flag
	Currency                 string
	Prices                   []TL // LabeledPrice
}

type TL_invokeAfterMsg

type TL_invokeAfterMsg struct {
	MsgID int64
	Query TL
}

type TL_invokeAfterMsgs

type TL_invokeAfterMsgs struct {
	MsgIds []int64
	Query  TL
}

type TL_invokeWithLayer

type TL_invokeWithLayer struct {
	Layer int32
	Query TL
}

type TL_invokeWithMessagesRange

type TL_invokeWithMessagesRange struct {
	Range TL // MessageRange
	Query TL
}

type TL_invokeWithTakeout

type TL_invokeWithTakeout struct {
	TakeoutID int64
	Query     TL
}

type TL_invokeWithoutUpdates

type TL_invokeWithoutUpdates struct {
	Query TL
}

type TL_ipPort

type TL_ipPort struct {
	Ipv4 int32
	Port int32
}

type TL_ipPortSecret

type TL_ipPortSecret struct {
	Ipv4   int32
	Port   int32
	Secret []byte
}

type TL_jsonArray

type TL_jsonArray struct {
	Value []TL // JSONValue
}

type TL_jsonBool

type TL_jsonBool struct {
	Value TL // Bool
}

type TL_jsonNull

type TL_jsonNull struct {
}

type TL_jsonNumber

type TL_jsonNumber struct {
	Value float64
}

type TL_jsonObject

type TL_jsonObject struct {
	Value []TL // JSONObjectValue
}

type TL_jsonObjectValue

type TL_jsonObjectValue struct {
	Key   string
	Value TL // JSONValue
}

type TL_jsonString

type TL_jsonString struct {
	Value string
}

type TL_keyboardButton

type TL_keyboardButton struct {
	Text string
}

type TL_keyboardButtonBuy

type TL_keyboardButtonBuy struct {
	Text string
}

type TL_keyboardButtonCallback

type TL_keyboardButtonCallback struct {
	Text string
	Data []byte
}

type TL_keyboardButtonGame

type TL_keyboardButtonGame struct {
	Text string
}

type TL_keyboardButtonRequestGeoLocation

type TL_keyboardButtonRequestGeoLocation struct {
	Text string
}

type TL_keyboardButtonRequestPhone

type TL_keyboardButtonRequestPhone struct {
	Text string
}

type TL_keyboardButtonRequestPoll

type TL_keyboardButtonRequestPoll struct {
	Flags int32
	Quiz  TL // Bool //flag
	Text  string
}

type TL_keyboardButtonRow

type TL_keyboardButtonRow struct {
	Buttons []TL // KeyboardButton
}

type TL_keyboardButtonSwitchInline

type TL_keyboardButtonSwitchInline struct {
	Flags    int32
	SamePeer bool //flag
	Text     string
	Query    string
}

type TL_keyboardButtonUrl

type TL_keyboardButtonUrl struct {
	Text string
	Url  string
}

type TL_keyboardButtonUrlAuth

type TL_keyboardButtonUrlAuth struct {
	Flags    int32
	Text     string
	FwdText  string //flag
	Url      string
	ButtonID int32
}

type TL_labeledPrice

type TL_labeledPrice struct {
	Label  string
	Amount int64
}

type TL_langPackDifference

type TL_langPackDifference struct {
	LangCode    string
	FromVersion int32
	Version     int32
	Strings     []TL // LangPackString
}

type TL_langPackLanguage

type TL_langPackLanguage struct {
	Flags           int32
	Official        bool //flag
	Rtl             bool //flag
	Beta            bool //flag
	Name            string
	NativeName      string
	LangCode        string
	BaseLangCode    string //flag
	PluralCode      string
	StringsCount    int32
	TranslatedCount int32
	TranslationsUrl string
}

type TL_langPackString

type TL_langPackString struct {
	Key   string
	Value string
}

type TL_langPackStringDeleted

type TL_langPackStringDeleted struct {
	Key string
}

type TL_langPackStringPluralized

type TL_langPackStringPluralized struct {
	Flags      int32
	Key        string
	ZeroValue  string //flag
	OneValue   string //flag
	TwoValue   string //flag
	FewValue   string //flag
	ManyValue  string //flag
	OtherValue string
}

type TL_langpack_getDifference

type TL_langpack_getDifference struct {
	LangPack    string
	LangCode    string
	FromVersion int32
}

type TL_langpack_getLangPack

type TL_langpack_getLangPack struct {
	LangPack string
	LangCode string
}

type TL_langpack_getLanguage

type TL_langpack_getLanguage struct {
	LangPack string
	LangCode string
}

type TL_langpack_getLanguages

type TL_langpack_getLanguages struct {
	LangPack string
}

type TL_langpack_getStrings

type TL_langpack_getStrings struct {
	LangPack string
	LangCode string
	Keys     []string
}

type TL_maskCoords

type TL_maskCoords struct {
	N    int32
	X    float64
	Y    float64
	Zoom float64
}

type TL_message

type TL_message struct {
	Flags             int32
	Out               bool //flag
	Mentioned         bool //flag
	MediaUnread       bool //flag
	Silent            bool //flag
	Post              bool //flag
	FromScheduled     bool //flag
	Legacy            bool //flag
	EditHide          bool //flag
	ID                int32
	FromID            int32 //flag
	ToID              TL    // Peer
	FwdFrom           TL    // MessageFwdHeader //flag
	ViaBotID          int32 //flag
	ReplyToMsgID      int32 //flag
	Date              int32
	Message           string
	Media             TL     // MessageMedia //flag
	ReplyMarkup       TL     // ReplyMarkup //flag
	Entities          []TL   // MessageEntity //flag
	Views             int32  //flag
	EditDate          int32  //flag
	PostAuthor        string //flag
	GroupedID         int64  //flag
	RestrictionReason []TL   // RestrictionReason //flag
}

type TL_messageActionBotAllowed

type TL_messageActionBotAllowed struct {
	Domain string
}

type TL_messageActionChannelCreate

type TL_messageActionChannelCreate struct {
	Title string
}

type TL_messageActionChannelMigrateFrom

type TL_messageActionChannelMigrateFrom struct {
	Title  string
	ChatID int32
}

type TL_messageActionChatAddUser

type TL_messageActionChatAddUser struct {
	Users []int32
}

type TL_messageActionChatCreate

type TL_messageActionChatCreate struct {
	Title string
	Users []int32
}

type TL_messageActionChatDeletePhoto

type TL_messageActionChatDeletePhoto struct {
}

type TL_messageActionChatDeleteUser

type TL_messageActionChatDeleteUser struct {
	UserID int32
}

type TL_messageActionChatEditPhoto

type TL_messageActionChatEditPhoto struct {
	Photo TL // Photo
}

type TL_messageActionChatEditTitle

type TL_messageActionChatEditTitle struct {
	Title string
}
type TL_messageActionChatJoinedByLink struct {
	InviterID int32
}

type TL_messageActionChatMigrateTo

type TL_messageActionChatMigrateTo struct {
	ChannelID int32
}

type TL_messageActionContactSignUp

type TL_messageActionContactSignUp struct {
}

type TL_messageActionCustomAction

type TL_messageActionCustomAction struct {
	Message string
}

type TL_messageActionEmpty

type TL_messageActionEmpty struct {
}

type TL_messageActionGameScore

type TL_messageActionGameScore struct {
	GameID int64
	Score  int32
}

type TL_messageActionHistoryClear

type TL_messageActionHistoryClear struct {
}

type TL_messageActionPaymentSent

type TL_messageActionPaymentSent struct {
	Currency    string
	TotalAmount int64
}

type TL_messageActionPaymentSentMe

type TL_messageActionPaymentSentMe struct {
	Flags            int32
	Currency         string
	TotalAmount      int64
	Payload          []byte
	Info             TL     // PaymentRequestedInfo //flag
	ShippingOptionID string //flag
	Charge           TL     // PaymentCharge
}

type TL_messageActionPhoneCall

type TL_messageActionPhoneCall struct {
	Flags    int32
	Video    bool //flag
	CallID   int64
	Reason   TL    // PhoneCallDiscardReason //flag
	Duration int32 //flag
}

type TL_messageActionPinMessage

type TL_messageActionPinMessage struct {
}

type TL_messageActionScreenshotTaken

type TL_messageActionScreenshotTaken struct {
}

type TL_messageActionSecureValuesSent

type TL_messageActionSecureValuesSent struct {
	Types []TL // SecureValueType
}

type TL_messageActionSecureValuesSentMe

type TL_messageActionSecureValuesSentMe struct {
	Values      []TL // SecureValue
	Credentials TL   // SecureCredentialsEncrypted
}

type TL_messageEmpty

type TL_messageEmpty struct {
	ID int32
}

type TL_messageEntityBankCard

type TL_messageEntityBankCard struct {
	Offset int32
	Length int32
}

type TL_messageEntityBlockquote

type TL_messageEntityBlockquote struct {
	Offset int32
	Length int32
}

type TL_messageEntityBold

type TL_messageEntityBold struct {
	Offset int32
	Length int32
}

type TL_messageEntityBotCommand

type TL_messageEntityBotCommand struct {
	Offset int32
	Length int32
}

type TL_messageEntityCashtag

type TL_messageEntityCashtag struct {
	Offset int32
	Length int32
}

type TL_messageEntityCode

type TL_messageEntityCode struct {
	Offset int32
	Length int32
}

type TL_messageEntityEmail

type TL_messageEntityEmail struct {
	Offset int32
	Length int32
}

type TL_messageEntityHashtag

type TL_messageEntityHashtag struct {
	Offset int32
	Length int32
}

type TL_messageEntityItalic

type TL_messageEntityItalic struct {
	Offset int32
	Length int32
}

type TL_messageEntityMention

type TL_messageEntityMention struct {
	Offset int32
	Length int32
}

type TL_messageEntityMentionName

type TL_messageEntityMentionName struct {
	Offset int32
	Length int32
	UserID int32
}

type TL_messageEntityPhone

type TL_messageEntityPhone struct {
	Offset int32
	Length int32
}

type TL_messageEntityPre

type TL_messageEntityPre struct {
	Offset   int32
	Length   int32
	Language string
}

type TL_messageEntityStrike

type TL_messageEntityStrike struct {
	Offset int32
	Length int32
}

type TL_messageEntityTextUrl

type TL_messageEntityTextUrl struct {
	Offset int32
	Length int32
	Url    string
}

type TL_messageEntityUnderline

type TL_messageEntityUnderline struct {
	Offset int32
	Length int32
}

type TL_messageEntityUnknown

type TL_messageEntityUnknown struct {
	Offset int32
	Length int32
}

type TL_messageEntityUrl

type TL_messageEntityUrl struct {
	Offset int32
	Length int32
}

type TL_messageFwdHeader

type TL_messageFwdHeader struct {
	Flags          int32
	FromID         int32  //flag
	FromName       string //flag
	Date           int32
	ChannelID      int32  //flag
	ChannelPost    int32  //flag
	PostAuthor     string //flag
	SavedFromPeer  TL     // Peer //flag
	SavedFromMsgID int32  //flag
	PsaType        string //flag
}

type TL_messageInteractionCounters

type TL_messageInteractionCounters struct {
	MsgID    int32
	Views    int32
	Forwards int32
}

type TL_messageMediaContact

type TL_messageMediaContact struct {
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
	UserID      int32
}

type TL_messageMediaDice

type TL_messageMediaDice struct {
	Value    int32
	Emoticon string
}

type TL_messageMediaDocument

type TL_messageMediaDocument struct {
	Flags      int32
	Document   TL    // Document //flag
	TtlSeconds int32 //flag
}

type TL_messageMediaEmpty

type TL_messageMediaEmpty struct {
}

type TL_messageMediaGame

type TL_messageMediaGame struct {
	Game TL // Game
}

type TL_messageMediaGeo

type TL_messageMediaGeo struct {
	Geo TL // GeoPoint
}

type TL_messageMediaGeoLive

type TL_messageMediaGeoLive struct {
	Geo    TL // GeoPoint
	Period int32
}

type TL_messageMediaInvoice

type TL_messageMediaInvoice struct {
	Flags                    int32
	ShippingAddressRequested bool //flag
	Test                     bool //flag
	Title                    string
	Description              string
	Photo                    TL    // WebDocument //flag
	ReceiptMsgID             int32 //flag
	Currency                 string
	TotalAmount              int64
	StartParam               string
}

type TL_messageMediaPhoto

type TL_messageMediaPhoto struct {
	Flags      int32
	Photo      TL    // Photo //flag
	TtlSeconds int32 //flag
}

type TL_messageMediaPoll

type TL_messageMediaPoll struct {
	Poll    TL // Poll
	Results TL // PollResults
}

type TL_messageMediaUnsupported

type TL_messageMediaUnsupported struct {
}

type TL_messageMediaVenue

type TL_messageMediaVenue struct {
	Geo       TL // GeoPoint
	Title     string
	Address   string
	Provider  string
	VenueID   string
	VenueType string
}

type TL_messageMediaWebPage

type TL_messageMediaWebPage struct {
	Webpage TL // WebPage
}

type TL_messageRange

type TL_messageRange struct {
	MinID int32
	MaxID int32
}

type TL_messageService

type TL_messageService struct {
	Flags        int32
	Out          bool //flag
	Mentioned    bool //flag
	MediaUnread  bool //flag
	Silent       bool //flag
	Post         bool //flag
	Legacy       bool //flag
	ID           int32
	FromID       int32 //flag
	ToID         TL    // Peer
	ReplyToMsgID int32 //flag
	Date         int32
	Action       TL // MessageAction
}

type TL_messageUserVote

type TL_messageUserVote struct {
	UserID int32
	Option []byte
	Date   int32
}

type TL_messageUserVoteInputOption

type TL_messageUserVoteInputOption struct {
	UserID int32
	Date   int32
}

type TL_messageUserVoteMultiple

type TL_messageUserVoteMultiple struct {
	UserID  int32
	Options []TL // bytes
	Date    int32
}

type TL_messages_acceptEncryption

type TL_messages_acceptEncryption struct {
	Peer           TL // InputEncryptedChat
	GB             []byte
	KeyFingerprint int64
}

type TL_messages_acceptUrlAuth

type TL_messages_acceptUrlAuth struct {
	Flags        int32
	WriteAllowed bool //flag
	Peer         TL   // InputPeer
	MsgID        int32
	ButtonID     int32
}

type TL_messages_addChatUser

type TL_messages_addChatUser struct {
	ChatID   int32
	UserID   TL // InputUser
	FwdLimit int32
}

type TL_messages_affectedHistory

type TL_messages_affectedHistory struct {
	Pts      int32
	PtsCount int32
	Offset   int32
}

type TL_messages_affectedMessages

type TL_messages_affectedMessages struct {
	Pts      int32
	PtsCount int32
}

type TL_messages_allStickers

type TL_messages_allStickers struct {
	Hash int32
	Sets []TL // StickerSet
}

type TL_messages_allStickersNotModified

type TL_messages_allStickersNotModified struct {
}

type TL_messages_archivedStickers

type TL_messages_archivedStickers struct {
	Count int32
	Sets  []TL // StickerSetCovered
}

type TL_messages_botCallbackAnswer

type TL_messages_botCallbackAnswer struct {
	Flags     int32
	Alert     bool   //flag
	HasUrl    bool   //flag
	NativeUi  bool   //flag
	Message   string //flag
	Url       string //flag
	CacheTime int32
}

type TL_messages_botResults

type TL_messages_botResults struct {
	Flags      int32
	Gallery    bool //flag
	QueryID    int64
	NextOffset string //flag
	SwitchPm   TL     // InlineBotSwitchPM //flag
	Results    []TL   // BotInlineResult
	CacheTime  int32
	Users      []TL // User
}

type TL_messages_channelMessages

type TL_messages_channelMessages struct {
	Flags    int32
	Inexact  bool //flag
	Pts      int32
	Count    int32
	Messages []TL // Message
	Chats    []TL // Chat
	Users    []TL // User
}

type TL_messages_chatFull

type TL_messages_chatFull struct {
	FullChat TL   // ChatFull
	Chats    []TL // Chat
	Users    []TL // User
}

type TL_messages_chats

type TL_messages_chats struct {
	Chats []TL // Chat
}

type TL_messages_chatsSlice

type TL_messages_chatsSlice struct {
	Count int32
	Chats []TL // Chat
}

type TL_messages_checkChatInvite

type TL_messages_checkChatInvite struct {
	Hash string
}

type TL_messages_clearAllDrafts

type TL_messages_clearAllDrafts struct {
}

type TL_messages_clearRecentStickers

type TL_messages_clearRecentStickers struct {
	Flags    int32
	Attached bool //flag
}

type TL_messages_createChat

type TL_messages_createChat struct {
	Users []TL // InputUser
	Title string
}

type TL_messages_deleteChatUser

type TL_messages_deleteChatUser struct {
	ChatID int32
	UserID TL // InputUser
}

type TL_messages_deleteHistory

type TL_messages_deleteHistory struct {
	Flags     int32
	JustClear bool //flag
	Revoke    bool //flag
	Peer      TL   // InputPeer
	MaxID     int32
}

type TL_messages_deleteMessages

type TL_messages_deleteMessages struct {
	Flags  int32
	Revoke bool //flag
	ID     []int32
}

type TL_messages_deleteScheduledMessages

type TL_messages_deleteScheduledMessages struct {
	Peer TL // InputPeer
	ID   []int32
}

type TL_messages_dhConfig

type TL_messages_dhConfig struct {
	G       int32
	P       []byte
	Version int32
	Random  []byte
}

type TL_messages_dhConfigNotModified

type TL_messages_dhConfigNotModified struct {
	Random []byte
}

type TL_messages_dialogs

type TL_messages_dialogs struct {
	Dialogs  []TL // Dialog
	Messages []TL // Message
	Chats    []TL // Chat
	Users    []TL // User
}

type TL_messages_dialogsNotModified

type TL_messages_dialogsNotModified struct {
	Count int32
}

type TL_messages_dialogsSlice

type TL_messages_dialogsSlice struct {
	Count    int32
	Dialogs  []TL // Dialog
	Messages []TL // Message
	Chats    []TL // Chat
	Users    []TL // User
}

type TL_messages_discardEncryption

type TL_messages_discardEncryption struct {
	ChatID int32
}

type TL_messages_editChatAbout

type TL_messages_editChatAbout struct {
	Peer  TL // InputPeer
	About string
}

type TL_messages_editChatAdmin

type TL_messages_editChatAdmin struct {
	ChatID  int32
	UserID  TL // InputUser
	IsAdmin TL // Bool
}

type TL_messages_editChatDefaultBannedRights

type TL_messages_editChatDefaultBannedRights struct {
	Peer         TL // InputPeer
	BannedRights TL // ChatBannedRights
}

type TL_messages_editChatPhoto

type TL_messages_editChatPhoto struct {
	ChatID int32
	Photo  TL // InputChatPhoto
}

type TL_messages_editChatTitle

type TL_messages_editChatTitle struct {
	ChatID int32
	Title  string
}

type TL_messages_editInlineBotMessage

type TL_messages_editInlineBotMessage struct {
	Flags       int32
	NoWebpage   bool   //flag
	ID          TL     // InputBotInlineMessageID
	Message     string //flag
	Media       TL     // InputMedia //flag
	ReplyMarkup TL     // ReplyMarkup //flag
	Entities    []TL   // MessageEntity //flag
}

type TL_messages_editMessage

type TL_messages_editMessage struct {
	Flags        int32
	NoWebpage    bool //flag
	Peer         TL   // InputPeer
	ID           int32
	Message      string //flag
	Media        TL     // InputMedia //flag
	ReplyMarkup  TL     // ReplyMarkup //flag
	Entities     []TL   // MessageEntity //flag
	ScheduleDate int32  //flag
}

type TL_messages_exportChatInvite

type TL_messages_exportChatInvite struct {
	Peer TL // InputPeer
}

type TL_messages_faveSticker

type TL_messages_faveSticker struct {
	ID     TL // InputDocument
	Unfave TL // Bool
}

type TL_messages_favedStickers

type TL_messages_favedStickers struct {
	Hash     int32
	Packs    []TL // StickerPack
	Stickers []TL // Document
}

type TL_messages_favedStickersNotModified

type TL_messages_favedStickersNotModified struct {
}

type TL_messages_featuredStickers

type TL_messages_featuredStickers struct {
	Hash   int32
	Count  int32
	Sets   []TL // StickerSetCovered
	Unread []int64
}

type TL_messages_featuredStickersNotModified

type TL_messages_featuredStickersNotModified struct {
	Count int32
}

type TL_messages_forwardMessages

type TL_messages_forwardMessages struct {
	Flags        int32
	Silent       bool //flag
	Background   bool //flag
	WithMyScore  bool //flag
	Grouped      bool //flag
	FromPeer     TL   // InputPeer
	ID           []int32
	RandomID     []int64
	ToPeer       TL    // InputPeer
	ScheduleDate int32 //flag
}

type TL_messages_foundGifs

type TL_messages_foundGifs struct {
	NextOffset int32
	Results    []TL // FoundGif
}

type TL_messages_foundStickerSets

type TL_messages_foundStickerSets struct {
	Hash int32
	Sets []TL // StickerSetCovered
}

type TL_messages_foundStickerSetsNotModified

type TL_messages_foundStickerSetsNotModified struct {
}

type TL_messages_getAllChats

type TL_messages_getAllChats struct {
	ExceptIds []int32
}

type TL_messages_getAllDrafts

type TL_messages_getAllDrafts struct {
}

type TL_messages_getAllStickers

type TL_messages_getAllStickers struct {
	Hash int32
}

type TL_messages_getArchivedStickers

type TL_messages_getArchivedStickers struct {
	Flags    int32
	Masks    bool //flag
	OffsetID int64
	Limit    int32
}

type TL_messages_getAttachedStickers

type TL_messages_getAttachedStickers struct {
	Media TL // InputStickeredMedia
}

type TL_messages_getBotCallbackAnswer

type TL_messages_getBotCallbackAnswer struct {
	Flags int32
	Game  bool //flag
	Peer  TL   // InputPeer
	MsgID int32
	Data  []byte //flag
}

type TL_messages_getChats

type TL_messages_getChats struct {
	ID []int32
}

type TL_messages_getCommonChats

type TL_messages_getCommonChats struct {
	UserID TL // InputUser
	MaxID  int32
	Limit  int32
}

type TL_messages_getDhConfig

type TL_messages_getDhConfig struct {
	Version      int32
	RandomLength int32
}

type TL_messages_getDialogFilters

type TL_messages_getDialogFilters struct {
}

type TL_messages_getDialogUnreadMarks

type TL_messages_getDialogUnreadMarks struct {
}

type TL_messages_getDialogs

type TL_messages_getDialogs struct {
	Flags         int32
	ExcludePinned bool  //flag
	FolderID      int32 //flag
	OffsetDate    int32
	OffsetID      int32
	OffsetPeer    TL // InputPeer
	Limit         int32
	Hash          int32
}

type TL_messages_getDocumentByHash

type TL_messages_getDocumentByHash struct {
	Sha256   []byte
	Size     int32
	MimeType string
}

type TL_messages_getEmojiKeywords

type TL_messages_getEmojiKeywords struct {
	LangCode string
}

type TL_messages_getEmojiKeywordsDifference

type TL_messages_getEmojiKeywordsDifference struct {
	LangCode    string
	FromVersion int32
}

type TL_messages_getEmojiKeywordsLanguages

type TL_messages_getEmojiKeywordsLanguages struct {
	LangCodes []string
}

type TL_messages_getEmojiURL

type TL_messages_getEmojiURL struct {
	LangCode string
}

type TL_messages_getFavedStickers

type TL_messages_getFavedStickers struct {
	Hash int32
}

type TL_messages_getFeaturedStickers

type TL_messages_getFeaturedStickers struct {
	Hash int32
}

type TL_messages_getFullChat

type TL_messages_getFullChat struct {
	ChatID int32
}

type TL_messages_getGameHighScores

type TL_messages_getGameHighScores struct {
	Peer   TL // InputPeer
	ID     int32
	UserID TL // InputUser
}

type TL_messages_getHistory

type TL_messages_getHistory struct {
	Peer       TL // InputPeer
	OffsetID   int32
	OffsetDate int32
	AddOffset  int32
	Limit      int32
	MaxID      int32
	MinID      int32
	Hash       int32
}

type TL_messages_getInlineBotResults

type TL_messages_getInlineBotResults struct {
	Flags    int32
	Bot      TL // InputUser
	Peer     TL // InputPeer
	GeoPoint TL // InputGeoPoint //flag
	Query    string
	Offset   string
}

type TL_messages_getInlineGameHighScores

type TL_messages_getInlineGameHighScores struct {
	ID     TL // InputBotInlineMessageID
	UserID TL // InputUser
}

type TL_messages_getMaskStickers

type TL_messages_getMaskStickers struct {
	Hash int32
}

type TL_messages_getMessageEditData

type TL_messages_getMessageEditData struct {
	Peer TL // InputPeer
	ID   int32
}

type TL_messages_getMessages

type TL_messages_getMessages struct {
	ID []TL // InputMessage
}

type TL_messages_getMessagesViews

type TL_messages_getMessagesViews struct {
	Peer      TL // InputPeer
	ID        []int32
	Increment TL // Bool
}

type TL_messages_getOldFeaturedStickers

type TL_messages_getOldFeaturedStickers struct {
	Offset int32
	Limit  int32
	Hash   int32
}

type TL_messages_getOnlines

type TL_messages_getOnlines struct {
	Peer TL // InputPeer
}

type TL_messages_getPeerDialogs

type TL_messages_getPeerDialogs struct {
	Peers []TL // InputDialogPeer
}

type TL_messages_getPeerSettings

type TL_messages_getPeerSettings struct {
	Peer TL // InputPeer
}

type TL_messages_getPinnedDialogs

type TL_messages_getPinnedDialogs struct {
	FolderID int32
}

type TL_messages_getPollResults

type TL_messages_getPollResults struct {
	Peer  TL // InputPeer
	MsgID int32
}

type TL_messages_getPollVotes

type TL_messages_getPollVotes struct {
	Flags  int32
	Peer   TL // InputPeer
	ID     int32
	Option []byte //flag
	Offset string //flag
	Limit  int32
}

type TL_messages_getRecentLocations

type TL_messages_getRecentLocations struct {
	Peer  TL // InputPeer
	Limit int32
	Hash  int32
}

type TL_messages_getRecentStickers

type TL_messages_getRecentStickers struct {
	Flags    int32
	Attached bool //flag
	Hash     int32
}

type TL_messages_getSavedGifs

type TL_messages_getSavedGifs struct {
	Hash int32
}

type TL_messages_getScheduledHistory

type TL_messages_getScheduledHistory struct {
	Peer TL // InputPeer
	Hash int32
}

type TL_messages_getScheduledMessages

type TL_messages_getScheduledMessages struct {
	Peer TL // InputPeer
	ID   []int32
}

type TL_messages_getSearchCounters

type TL_messages_getSearchCounters struct {
	Peer    TL   // InputPeer
	Filters []TL // MessagesFilter
}

type TL_messages_getSplitRanges

type TL_messages_getSplitRanges struct {
}

type TL_messages_getStatsURL

type TL_messages_getStatsURL struct {
	Flags  int32
	Dark   bool //flag
	Peer   TL   // InputPeer
	Params string
}

type TL_messages_getStickerSet

type TL_messages_getStickerSet struct {
	Stickerset TL // InputStickerSet
}

type TL_messages_getStickers

type TL_messages_getStickers struct {
	Emoticon string
	Hash     int32
}

type TL_messages_getSuggestedDialogFilters

type TL_messages_getSuggestedDialogFilters struct {
}

type TL_messages_getUnreadMentions

type TL_messages_getUnreadMentions struct {
	Peer      TL // InputPeer
	OffsetID  int32
	AddOffset int32
	Limit     int32
	MaxID     int32
	MinID     int32
}

type TL_messages_getWebPage

type TL_messages_getWebPage struct {
	Url  string
	Hash int32
}

type TL_messages_getWebPagePreview

type TL_messages_getWebPagePreview struct {
	Flags    int32
	Message  string
	Entities []TL // MessageEntity //flag
}

type TL_messages_hidePeerSettingsBar

type TL_messages_hidePeerSettingsBar struct {
	Peer TL // InputPeer
}

type TL_messages_highScores

type TL_messages_highScores struct {
	Scores []TL // HighScore
	Users  []TL // User
}

type TL_messages_importChatInvite

type TL_messages_importChatInvite struct {
	Hash string
}

type TL_messages_inactiveChats

type TL_messages_inactiveChats struct {
	Dates []int32
	Chats []TL // Chat
	Users []TL // User
}

type TL_messages_installStickerSet

type TL_messages_installStickerSet struct {
	Stickerset TL // InputStickerSet
	Archived   TL // Bool
}

type TL_messages_markDialogUnread

type TL_messages_markDialogUnread struct {
	Flags  int32
	Unread bool //flag
	Peer   TL   // InputDialogPeer
}

type TL_messages_messageEditData

type TL_messages_messageEditData struct {
	Flags   int32
	Caption bool //flag
}

type TL_messages_messages

type TL_messages_messages struct {
	Messages []TL // Message
	Chats    []TL // Chat
	Users    []TL // User
}

type TL_messages_messagesNotModified

type TL_messages_messagesNotModified struct {
	Count int32
}

type TL_messages_messagesSlice

type TL_messages_messagesSlice struct {
	Flags    int32
	Inexact  bool //flag
	Count    int32
	NextRate int32 //flag
	Messages []TL  // Message
	Chats    []TL  // Chat
	Users    []TL  // User
}

type TL_messages_migrateChat

type TL_messages_migrateChat struct {
	ChatID int32
}

type TL_messages_peerDialogs

type TL_messages_peerDialogs struct {
	Dialogs  []TL // Dialog
	Messages []TL // Message
	Chats    []TL // Chat
	Users    []TL // User
	State    TL   // updates_State
}

type TL_messages_readEncryptedHistory

type TL_messages_readEncryptedHistory struct {
	Peer    TL // InputEncryptedChat
	MaxDate int32
}

type TL_messages_readFeaturedStickers

type TL_messages_readFeaturedStickers struct {
	ID []int64
}

type TL_messages_readHistory

type TL_messages_readHistory struct {
	Peer  TL // InputPeer
	MaxID int32
}

type TL_messages_readMentions

type TL_messages_readMentions struct {
	Peer TL // InputPeer
}

type TL_messages_readMessageContents

type TL_messages_readMessageContents struct {
	ID []int32
}

type TL_messages_receivedMessages

type TL_messages_receivedMessages struct {
	MaxID int32
}

type TL_messages_receivedQueue

type TL_messages_receivedQueue struct {
	MaxQts int32
}

type TL_messages_recentStickers

type TL_messages_recentStickers struct {
	Hash     int32
	Packs    []TL // StickerPack
	Stickers []TL // Document
	Dates    []int32
}

type TL_messages_recentStickersNotModified

type TL_messages_recentStickersNotModified struct {
}

type TL_messages_reorderPinnedDialogs

type TL_messages_reorderPinnedDialogs struct {
	Flags    int32
	Force    bool //flag
	FolderID int32
	Order    []TL // InputDialogPeer
}

type TL_messages_reorderStickerSets

type TL_messages_reorderStickerSets struct {
	Flags int32
	Masks bool //flag
	Order []int64
}

type TL_messages_report

type TL_messages_report struct {
	Peer   TL // InputPeer
	ID     []int32
	Reason TL // ReportReason
}

type TL_messages_reportEncryptedSpam

type TL_messages_reportEncryptedSpam struct {
	Peer TL // InputEncryptedChat
}

type TL_messages_reportSpam

type TL_messages_reportSpam struct {
	Peer TL // InputPeer
}

type TL_messages_requestEncryption

type TL_messages_requestEncryption struct {
	UserID   TL // InputUser
	RandomID int32
	GA       []byte
}

type TL_messages_requestUrlAuth

type TL_messages_requestUrlAuth struct {
	Peer     TL // InputPeer
	MsgID    int32
	ButtonID int32
}

type TL_messages_saveDraft

type TL_messages_saveDraft struct {
	Flags        int32
	NoWebpage    bool  //flag
	ReplyToMsgID int32 //flag
	Peer         TL    // InputPeer
	Message      string
	Entities     []TL // MessageEntity //flag
}

type TL_messages_saveGif

type TL_messages_saveGif struct {
	ID     TL // InputDocument
	Unsave TL // Bool
}

type TL_messages_saveRecentSticker

type TL_messages_saveRecentSticker struct {
	Flags    int32
	Attached bool //flag
	ID       TL   // InputDocument
	Unsave   TL   // Bool
}

type TL_messages_savedGifs

type TL_messages_savedGifs struct {
	Hash int32
	Gifs []TL // Document
}

type TL_messages_savedGifsNotModified

type TL_messages_savedGifsNotModified struct {
}
type TL_messages_search struct {
	Flags     int32
	Peer      TL // InputPeer
	Q         string
	FromID    TL // InputUser //flag
	Filter    TL // MessagesFilter
	MinDate   int32
	MaxDate   int32
	OffsetID  int32
	AddOffset int32
	Limit     int32
	MaxID     int32
	MinID     int32
	Hash      int32
}

type TL_messages_searchCounter

type TL_messages_searchCounter struct {
	Flags   int32
	Inexact bool //flag
	Filter  TL   // MessagesFilter
	Count   int32
}

type TL_messages_searchGifs

type TL_messages_searchGifs struct {
	Q      string
	Offset int32
}

type TL_messages_searchGlobal

type TL_messages_searchGlobal struct {
	Flags      int32
	FolderID   int32 //flag
	Q          string
	OffsetRate int32
	OffsetPeer TL // InputPeer
	OffsetID   int32
	Limit      int32
}

type TL_messages_searchStickerSets

type TL_messages_searchStickerSets struct {
	Flags           int32
	ExcludeFeatured bool //flag
	Q               string
	Hash            int32
}

type TL_messages_sendEncrypted

type TL_messages_sendEncrypted struct {
	Peer     TL // InputEncryptedChat
	RandomID int64
	Data     []byte
}

type TL_messages_sendEncryptedFile

type TL_messages_sendEncryptedFile struct {
	Peer     TL // InputEncryptedChat
	RandomID int64
	Data     []byte
	File     TL // InputEncryptedFile
}

type TL_messages_sendEncryptedService

type TL_messages_sendEncryptedService struct {
	Peer     TL // InputEncryptedChat
	RandomID int64
	Data     []byte
}

type TL_messages_sendInlineBotResult

type TL_messages_sendInlineBotResult struct {
	Flags        int32
	Silent       bool  //flag
	Background   bool  //flag
	ClearDraft   bool  //flag
	HideVia      bool  //flag
	Peer         TL    // InputPeer
	ReplyToMsgID int32 //flag
	RandomID     int64
	QueryID      int64
	ID           string
	ScheduleDate int32 //flag
}

type TL_messages_sendMedia

type TL_messages_sendMedia struct {
	Flags        int32
	Silent       bool  //flag
	Background   bool  //flag
	ClearDraft   bool  //flag
	Peer         TL    // InputPeer
	ReplyToMsgID int32 //flag
	Media        TL    // InputMedia
	Message      string
	RandomID     int64
	ReplyMarkup  TL    // ReplyMarkup //flag
	Entities     []TL  // MessageEntity //flag
	ScheduleDate int32 //flag
}

type TL_messages_sendMessage

type TL_messages_sendMessage struct {
	Flags        int32
	NoWebpage    bool  //flag
	Silent       bool  //flag
	Background   bool  //flag
	ClearDraft   bool  //flag
	Peer         TL    // InputPeer
	ReplyToMsgID int32 //flag
	Message      string
	RandomID     int64
	ReplyMarkup  TL    // ReplyMarkup //flag
	Entities     []TL  // MessageEntity //flag
	ScheduleDate int32 //flag
}

type TL_messages_sendMultiMedia

type TL_messages_sendMultiMedia struct {
	Flags        int32
	Silent       bool  //flag
	Background   bool  //flag
	ClearDraft   bool  //flag
	Peer         TL    // InputPeer
	ReplyToMsgID int32 //flag
	MultiMedia   []TL  // InputSingleMedia
	ScheduleDate int32 //flag
}

type TL_messages_sendScheduledMessages

type TL_messages_sendScheduledMessages struct {
	Peer TL // InputPeer
	ID   []int32
}

type TL_messages_sendScreenshotNotification

type TL_messages_sendScreenshotNotification struct {
	Peer         TL // InputPeer
	ReplyToMsgID int32
	RandomID     int64
}

type TL_messages_sendVote

type TL_messages_sendVote struct {
	Peer    TL // InputPeer
	MsgID   int32
	Options []TL // bytes
}

type TL_messages_sentEncryptedFile

type TL_messages_sentEncryptedFile struct {
	Date int32
	File TL // EncryptedFile
}

type TL_messages_sentEncryptedMessage

type TL_messages_sentEncryptedMessage struct {
	Date int32
}

type TL_messages_setBotCallbackAnswer

type TL_messages_setBotCallbackAnswer struct {
	Flags     int32
	Alert     bool //flag
	QueryID   int64
	Message   string //flag
	Url       string //flag
	CacheTime int32
}

type TL_messages_setBotPrecheckoutResults

type TL_messages_setBotPrecheckoutResults struct {
	Flags   int32
	Success bool //flag
	QueryID int64
	Error   string //flag
}

type TL_messages_setBotShippingResults

type TL_messages_setBotShippingResults struct {
	Flags           int32
	QueryID         int64
	Error           string //flag
	ShippingOptions []TL   // ShippingOption //flag
}

type TL_messages_setEncryptedTyping

type TL_messages_setEncryptedTyping struct {
	Peer   TL // InputEncryptedChat
	Typing TL // Bool
}

type TL_messages_setGameScore

type TL_messages_setGameScore struct {
	Flags       int32
	EditMessage bool //flag
	Force       bool //flag
	Peer        TL   // InputPeer
	ID          int32
	UserID      TL // InputUser
	Score       int32
}

type TL_messages_setInlineBotResults

type TL_messages_setInlineBotResults struct {
	Flags      int32
	Gallery    bool //flag
	Private    bool //flag
	QueryID    int64
	Results    []TL // InputBotInlineResult
	CacheTime  int32
	NextOffset string //flag
	SwitchPm   TL     // InlineBotSwitchPM //flag
}

type TL_messages_setInlineGameScore

type TL_messages_setInlineGameScore struct {
	Flags       int32
	EditMessage bool //flag
	Force       bool //flag
	ID          TL   // InputBotInlineMessageID
	UserID      TL   // InputUser
	Score       int32
}

type TL_messages_setTyping

type TL_messages_setTyping struct {
	Peer   TL // InputPeer
	Action TL // SendMessageAction
}

type TL_messages_startBot

type TL_messages_startBot struct {
	Bot        TL // InputUser
	Peer       TL // InputPeer
	RandomID   int64
	StartParam string
}

type TL_messages_stickerSet

type TL_messages_stickerSet struct {
	Set       TL   // StickerSet
	Packs     []TL // StickerPack
	Documents []TL // Document
}

type TL_messages_stickerSetInstallResultArchive

type TL_messages_stickerSetInstallResultArchive struct {
	Sets []TL // StickerSetCovered
}

type TL_messages_stickerSetInstallResultSuccess

type TL_messages_stickerSetInstallResultSuccess struct {
}

type TL_messages_stickers

type TL_messages_stickers struct {
	Hash     int32
	Stickers []TL // Document
}

type TL_messages_stickersNotModified

type TL_messages_stickersNotModified struct {
}

type TL_messages_toggleDialogPin

type TL_messages_toggleDialogPin struct {
	Flags  int32
	Pinned bool //flag
	Peer   TL   // InputDialogPeer
}

type TL_messages_toggleStickerSets

type TL_messages_toggleStickerSets struct {
	Flags       int32
	Uninstall   bool //flag
	Archive     bool //flag
	Unarchive   bool //flag
	Stickersets []TL // InputStickerSet
}

type TL_messages_uninstallStickerSet

type TL_messages_uninstallStickerSet struct {
	Stickerset TL // InputStickerSet
}

type TL_messages_updateDialogFilter

type TL_messages_updateDialogFilter struct {
	Flags  int32
	ID     int32
	Filter TL // DialogFilter //flag
}

type TL_messages_updateDialogFiltersOrder

type TL_messages_updateDialogFiltersOrder struct {
	Order []int32
}

type TL_messages_updatePinnedMessage

type TL_messages_updatePinnedMessage struct {
	Flags  int32
	Silent bool //flag
	Peer   TL   // InputPeer
	ID     int32
}

type TL_messages_uploadEncryptedFile

type TL_messages_uploadEncryptedFile struct {
	Peer TL // InputEncryptedChat
	File TL // InputEncryptedFile
}

type TL_messages_uploadMedia

type TL_messages_uploadMedia struct {
	Peer  TL // InputPeer
	Media TL // InputMedia
}

type TL_messages_votesList

type TL_messages_votesList struct {
	Flags      int32
	Count      int32
	Votes      []TL   // MessageUserVote
	Users      []TL   // User
	NextOffset string //flag
}

type TL_msg_container

type TL_msg_container struct {
	Items []TL_MT_message
}

type TL_msg_detailed_info

type TL_msg_detailed_info struct {
	MsgID       int64
	AnswerMsgID int64
	Bytes       int32
	Status      int32
}

type TL_msg_new_detailed_info

type TL_msg_new_detailed_info struct {
	AnswerMsgID int64
	Bytes       int32
	Status      int32
}

type TL_msg_resend_req

type TL_msg_resend_req struct {
	MsgIds []int64
}

type TL_msgs_ack

type TL_msgs_ack struct {
	MsgIds []int64
}

type TL_msgs_all_info

type TL_msgs_all_info struct {
	MsgIds []int64
	Info   string
}

type TL_msgs_state_info

type TL_msgs_state_info struct {
	ReqMsgID int64
	Info     string
}

type TL_msgs_state_req

type TL_msgs_state_req struct {
	MsgIds []int64
}

type TL_nearestDc

type TL_nearestDc struct {
	Country   string
	ThisDc    int32
	NearestDc int32
}

type TL_new_session_created

type TL_new_session_created struct {
	FirstMsgID int64
	UniqueID   int64
	ServerSalt int64
}

type TL_notifyBroadcasts

type TL_notifyBroadcasts struct {
}

type TL_notifyChats

type TL_notifyChats struct {
}

type TL_notifyPeer

type TL_notifyPeer struct {
	Peer TL // Peer
}

type TL_notifyUsers

type TL_notifyUsers struct {
}

type TL_null

type TL_null struct {
}

type TL_p_q_inner_data

type TL_p_q_inner_data struct {
	Pq          string
	P           string
	Q           string
	Nonce       []byte
	ServerNonce []byte
	NewNonce    []byte
}

type TL_p_q_inner_data_dc

type TL_p_q_inner_data_dc struct {
	Pq          string
	P           string
	Q           string
	Nonce       []byte
	ServerNonce []byte
	NewNonce    []byte
	Dc          int32
}

type TL_p_q_inner_data_temp

type TL_p_q_inner_data_temp struct {
	Pq          string
	P           string
	Q           string
	Nonce       []byte
	ServerNonce []byte
	NewNonce    []byte
	ExpiresIn   int32
}

type TL_p_q_inner_data_temp_dc

type TL_p_q_inner_data_temp_dc struct {
	Pq          string
	P           string
	Q           string
	Nonce       []byte
	ServerNonce []byte
	NewNonce    []byte
	Dc          int32
	ExpiresIn   int32
}

type TL_page

type TL_page struct {
	Flags     int32
	Part      bool //flag
	Rtl       bool //flag
	V2        bool //flag
	Url       string
	Blocks    []TL  // PageBlock
	Photos    []TL  // Photo
	Documents []TL  // Document
	Views     int32 //flag
}

type TL_pageBlockAnchor

type TL_pageBlockAnchor struct {
	Name string
}

type TL_pageBlockAudio

type TL_pageBlockAudio struct {
	AudioID int64
	Caption TL // PageCaption
}

type TL_pageBlockAuthorDate

type TL_pageBlockAuthorDate struct {
	Author        TL // RichText
	PublishedDate int32
}

type TL_pageBlockBlockquote

type TL_pageBlockBlockquote struct {
	Text    TL // RichText
	Caption TL // RichText
}

type TL_pageBlockChannel

type TL_pageBlockChannel struct {
	Channel TL // Chat
}

type TL_pageBlockCollage

type TL_pageBlockCollage struct {
	Items   []TL // PageBlock
	Caption TL   // PageCaption
}

type TL_pageBlockCover

type TL_pageBlockCover struct {
	Cover TL // PageBlock
}

type TL_pageBlockDetails

type TL_pageBlockDetails struct {
	Flags  int32
	Open   bool //flag
	Blocks []TL // PageBlock
	Title  TL   // RichText
}

type TL_pageBlockDivider

type TL_pageBlockDivider struct {
}

type TL_pageBlockEmbed

type TL_pageBlockEmbed struct {
	Flags          int32
	FullWidth      bool   //flag
	AllowScrolling bool   //flag
	Url            string //flag
	Html           string //flag
	PosterPhotoID  int64  //flag
	W              int32  //flag
	H              int32  //flag
	Caption        TL     // PageCaption
}

type TL_pageBlockEmbedPost

type TL_pageBlockEmbedPost struct {
	Url           string
	WebpageID     int64
	AuthorPhotoID int64
	Author        string
	Date          int32
	Blocks        []TL // PageBlock
	Caption       TL   // PageCaption
}

type TL_pageBlockFooter

type TL_pageBlockFooter struct {
	Text TL // RichText
}

type TL_pageBlockHeader

type TL_pageBlockHeader struct {
	Text TL // RichText
}

type TL_pageBlockKicker

type TL_pageBlockKicker struct {
	Text TL // RichText
}

type TL_pageBlockList

type TL_pageBlockList struct {
	Items []TL // PageListItem
}

type TL_pageBlockMap

type TL_pageBlockMap struct {
	Geo     TL // GeoPoint
	Zoom    int32
	W       int32
	H       int32
	Caption TL // PageCaption
}

type TL_pageBlockOrderedList

type TL_pageBlockOrderedList struct {
	Items []TL // PageListOrderedItem
}

type TL_pageBlockParagraph

type TL_pageBlockParagraph struct {
	Text TL // RichText
}

type TL_pageBlockPhoto

type TL_pageBlockPhoto struct {
	Flags     int32
	PhotoID   int64
	Caption   TL     // PageCaption
	Url       string //flag
	WebpageID int64  //flag
}

type TL_pageBlockPreformatted

type TL_pageBlockPreformatted struct {
	Text     TL // RichText
	Language string
}

type TL_pageBlockPullquote

type TL_pageBlockPullquote struct {
	Text    TL // RichText
	Caption TL // RichText
}

type TL_pageBlockRelatedArticles

type TL_pageBlockRelatedArticles struct {
	Title    TL   // RichText
	Articles []TL // PageRelatedArticle
}

type TL_pageBlockSlideshow

type TL_pageBlockSlideshow struct {
	Items   []TL // PageBlock
	Caption TL   // PageCaption
}

type TL_pageBlockSubheader

type TL_pageBlockSubheader struct {
	Text TL // RichText
}

type TL_pageBlockSubtitle

type TL_pageBlockSubtitle struct {
	Text TL // RichText
}

type TL_pageBlockTable

type TL_pageBlockTable struct {
	Flags    int32
	Bordered bool //flag
	Striped  bool //flag
	Title    TL   // RichText
	Rows     []TL // PageTableRow
}

type TL_pageBlockTitle

type TL_pageBlockTitle struct {
	Text TL // RichText
}

type TL_pageBlockUnsupported

type TL_pageBlockUnsupported struct {
}

type TL_pageBlockVideo

type TL_pageBlockVideo struct {
	Flags    int32
	Autoplay bool //flag
	Loop     bool //flag
	VideoID  int64
	Caption  TL // PageCaption
}

type TL_pageCaption

type TL_pageCaption struct {
	Text   TL // RichText
	Credit TL // RichText
}

type TL_pageListItemBlocks

type TL_pageListItemBlocks struct {
	Blocks []TL // PageBlock
}

type TL_pageListItemText

type TL_pageListItemText struct {
	Text TL // RichText
}

type TL_pageListOrderedItemBlocks

type TL_pageListOrderedItemBlocks struct {
	Num    string
	Blocks []TL // PageBlock
}

type TL_pageListOrderedItemText

type TL_pageListOrderedItemText struct {
	Num  string
	Text TL // RichText
}

type TL_pageRelatedArticle

type TL_pageRelatedArticle struct {
	Flags         int32
	Url           string
	WebpageID     int64
	Title         string //flag
	Description   string //flag
	PhotoID       int64  //flag
	Author        string //flag
	PublishedDate int32  //flag
}

type TL_pageTableCell

type TL_pageTableCell struct {
	Flags        int32
	Header       bool  //flag
	AlignCenter  bool  //flag
	AlignRight   bool  //flag
	ValignMiddle bool  //flag
	ValignBottom bool  //flag
	Text         TL    // RichText //flag
	Colspan      int32 //flag
	Rowspan      int32 //flag
}

type TL_pageTableRow

type TL_pageTableRow struct {
	Cells []TL // PageTableCell
}

type TL_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow

type TL_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow struct {
	Salt1 []byte
	Salt2 []byte
	G     int32
	P     []byte
}

type TL_passwordKdfAlgoUnknown

type TL_passwordKdfAlgoUnknown struct {
}

type TL_paymentCharge

type TL_paymentCharge struct {
	ID               string
	ProviderChargeID string
}

type TL_paymentRequestedInfo

type TL_paymentRequestedInfo struct {
	Flags           int32
	Name            string //flag
	Phone           string //flag
	Email           string //flag
	ShippingAddress TL     // PostAddress //flag
}

type TL_paymentSavedCredentialsCard

type TL_paymentSavedCredentialsCard struct {
	ID    string
	Title string
}

type TL_payments_bankCardData

type TL_payments_bankCardData struct {
	Title    string
	OpenUrls []TL // BankCardOpenUrl
}

type TL_payments_clearSavedInfo

type TL_payments_clearSavedInfo struct {
	Flags       int32
	Credentials bool //flag
	Info        bool //flag
}

type TL_payments_getBankCardData

type TL_payments_getBankCardData struct {
	Number string
}

type TL_payments_getPaymentForm

type TL_payments_getPaymentForm struct {
	MsgID int32
}

type TL_payments_getPaymentReceipt

type TL_payments_getPaymentReceipt struct {
	MsgID int32
}

type TL_payments_getSavedInfo

type TL_payments_getSavedInfo struct {
}

type TL_payments_paymentForm

type TL_payments_paymentForm struct {
	Flags              int32
	CanSaveCredentials bool //flag
	PasswordMissing    bool //flag
	BotID              int32
	Invoice            TL // Invoice
	ProviderID         int32
	Url                string
	NativeProvider     string //flag
	NativeParams       TL     // DataJSON //flag
	SavedInfo          TL     // PaymentRequestedInfo //flag
	SavedCredentials   TL     // PaymentSavedCredentials //flag
	Users              []TL   // User
}

type TL_payments_paymentReceipt

type TL_payments_paymentReceipt struct {
	Flags            int32
	Date             int32
	BotID            int32
	Invoice          TL // Invoice
	ProviderID       int32
	Info             TL // PaymentRequestedInfo //flag
	Shipping         TL // ShippingOption //flag
	Currency         string
	TotalAmount      int64
	CredentialsTitle string
	Users            []TL // User
}

type TL_payments_paymentResult

type TL_payments_paymentResult struct {
	Updates TL // Updates
}

type TL_payments_paymentVerificationNeeded

type TL_payments_paymentVerificationNeeded struct {
	Url string
}

type TL_payments_savedInfo

type TL_payments_savedInfo struct {
	Flags               int32
	HasSavedCredentials bool //flag
	SavedInfo           TL   // PaymentRequestedInfo //flag
}

type TL_payments_sendPaymentForm

type TL_payments_sendPaymentForm struct {
	Flags            int32
	MsgID            int32
	RequestedInfoID  string //flag
	ShippingOptionID string //flag
	Credentials      TL     // InputPaymentCredentials
}

type TL_payments_validateRequestedInfo

type TL_payments_validateRequestedInfo struct {
	Flags int32
	Save  bool //flag
	MsgID int32
	Info  TL // PaymentRequestedInfo
}

type TL_payments_validatedRequestedInfo

type TL_payments_validatedRequestedInfo struct {
	Flags           int32
	ID              string //flag
	ShippingOptions []TL   // ShippingOption //flag
}

type TL_peerChannel

type TL_peerChannel struct {
	ChannelID int32
}

type TL_peerChat

type TL_peerChat struct {
	ChatID int32
}

type TL_peerLocated

type TL_peerLocated struct {
	Peer     TL // Peer
	Expires  int32
	Distance int32
}

type TL_peerNotifySettings

type TL_peerNotifySettings struct {
	Flags        int32
	ShowPreviews TL     // Bool //flag
	Silent       TL     // Bool //flag
	MuteUntil    int32  //flag
	Sound        string //flag
}

type TL_peerSelfLocated

type TL_peerSelfLocated struct {
	Expires int32
}

type TL_peerSettings

type TL_peerSettings struct {
	Flags                 int32
	ReportSpam            bool //flag
	AddContact            bool //flag
	BlockContact          bool //flag
	ShareContact          bool //flag
	NeedContactsException bool //flag
	ReportGeo             bool //flag
}

type TL_peerUser

type TL_peerUser struct {
	UserID int32
}

type TL_phoneCall

type TL_phoneCall struct {
	Flags          int32
	P2pAllowed     bool //flag
	ID             int64
	AccessHash     int64
	Date           int32
	AdminID        int32
	ParticipantID  int32
	GAOrB          []byte
	KeyFingerprint int64
	Protocol       TL   // PhoneCallProtocol
	Connections    []TL // PhoneConnection
	StartDate      int32
}

type TL_phoneCallAccepted

type TL_phoneCallAccepted struct {
	Flags         int32
	Video         bool //flag
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int32
	ParticipantID int32
	GB            []byte
	Protocol      TL // PhoneCallProtocol
}

type TL_phoneCallDiscardReasonBusy

type TL_phoneCallDiscardReasonBusy struct {
}

type TL_phoneCallDiscardReasonDisconnect

type TL_phoneCallDiscardReasonDisconnect struct {
}

type TL_phoneCallDiscardReasonHangup

type TL_phoneCallDiscardReasonHangup struct {
}

type TL_phoneCallDiscardReasonMissed

type TL_phoneCallDiscardReasonMissed struct {
}

type TL_phoneCallDiscarded

type TL_phoneCallDiscarded struct {
	Flags      int32
	NeedRating bool //flag
	NeedDebug  bool //flag
	Video      bool //flag
	ID         int64
	Reason     TL    // PhoneCallDiscardReason //flag
	Duration   int32 //flag
}

type TL_phoneCallEmpty

type TL_phoneCallEmpty struct {
	ID int64
}

type TL_phoneCallProtocol

type TL_phoneCallProtocol struct {
	Flags           int32
	UdpP2p          bool //flag
	UdpReflector    bool //flag
	MinLayer        int32
	MaxLayer        int32
	LibraryVersions []string
}

type TL_phoneCallRequested

type TL_phoneCallRequested struct {
	Flags         int32
	Video         bool //flag
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int32
	ParticipantID int32
	GAHash        []byte
	Protocol      TL // PhoneCallProtocol
}

type TL_phoneCallWaiting

type TL_phoneCallWaiting struct {
	Flags         int32
	Video         bool //flag
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int32
	ParticipantID int32
	Protocol      TL    // PhoneCallProtocol
	ReceiveDate   int32 //flag
}

type TL_phoneConnection

type TL_phoneConnection struct {
	ID      int64
	Ip      string
	Ipv6    string
	Port    int32
	PeerTag []byte
}

type TL_phone_acceptCall

type TL_phone_acceptCall struct {
	Peer     TL // InputPhoneCall
	GB       []byte
	Protocol TL // PhoneCallProtocol
}

type TL_phone_confirmCall

type TL_phone_confirmCall struct {
	Peer           TL // InputPhoneCall
	GA             []byte
	KeyFingerprint int64
	Protocol       TL // PhoneCallProtocol
}

type TL_phone_discardCall

type TL_phone_discardCall struct {
	Flags        int32
	Video        bool //flag
	Peer         TL   // InputPhoneCall
	Duration     int32
	Reason       TL // PhoneCallDiscardReason
	ConnectionID int64
}

type TL_phone_getCallConfig

type TL_phone_getCallConfig struct {
}

type TL_phone_phoneCall

type TL_phone_phoneCall struct {
	PhoneCall TL   // PhoneCall
	Users     []TL // User
}

type TL_phone_receivedCall

type TL_phone_receivedCall struct {
	Peer TL // InputPhoneCall
}

type TL_phone_requestCall

type TL_phone_requestCall struct {
	Flags    int32
	Video    bool //flag
	UserID   TL   // InputUser
	RandomID int32
	GAHash   []byte
	Protocol TL // PhoneCallProtocol
}

type TL_phone_saveCallDebug

type TL_phone_saveCallDebug struct {
	Peer  TL // InputPhoneCall
	Debug TL // DataJSON
}

type TL_phone_sendSignalingData

type TL_phone_sendSignalingData struct {
	Peer TL // InputPhoneCall
	Data []byte
}

type TL_phone_setCallRating

type TL_phone_setCallRating struct {
	Flags          int32
	UserInitiative bool //flag
	Peer           TL   // InputPhoneCall
	Rating         int32
	Comment        string
}

type TL_photo

type TL_photo struct {
	Flags         int32
	HasStickers   bool //flag
	ID            int64
	AccessHash    int64
	FileReference []byte
	Date          int32
	Sizes         []TL // PhotoSize
	DcID          int32
}

type TL_photoCachedSize

type TL_photoCachedSize struct {
	Type     string
	Location TL // FileLocation
	W        int32
	H        int32
	Bytes    []byte
}

type TL_photoEmpty

type TL_photoEmpty struct {
	ID int64
}

type TL_photoSize

type TL_photoSize struct {
	Type     string
	Location TL // FileLocation
	W        int32
	H        int32
	Size     int32
}

type TL_photoSizeEmpty

type TL_photoSizeEmpty struct {
	Type string
}

type TL_photoStrippedSize

type TL_photoStrippedSize struct {
	Type  string
	Bytes []byte
}

type TL_photos_deletePhotos

type TL_photos_deletePhotos struct {
	ID []TL // InputPhoto
}

type TL_photos_getUserPhotos

type TL_photos_getUserPhotos struct {
	UserID TL // InputUser
	Offset int32
	MaxID  int64
	Limit  int32
}

type TL_photos_photo

type TL_photos_photo struct {
	Photo TL   // Photo
	Users []TL // User
}

type TL_photos_photos

type TL_photos_photos struct {
	Photos []TL // Photo
	Users  []TL // User
}

type TL_photos_photosSlice

type TL_photos_photosSlice struct {
	Count  int32
	Photos []TL // Photo
	Users  []TL // User
}

type TL_photos_updateProfilePhoto

type TL_photos_updateProfilePhoto struct {
	ID TL // InputPhoto
}

type TL_photos_uploadProfilePhoto

type TL_photos_uploadProfilePhoto struct {
	File TL // InputFile
}

type TL_ping

type TL_ping struct {
	PingID int64
}

type TL_ping_delay_disconnect

type TL_ping_delay_disconnect struct {
	PingID          int64
	DisconnectDelay int32
}

type TL_poll

type TL_poll struct {
	ID             int64
	Flags          int32
	Closed         bool //flag
	PublicVoters   bool //flag
	MultipleChoice bool //flag
	Quiz           bool //flag
	Question       string
	Answers        []TL  // PollAnswer
	ClosePeriod    int32 //flag
	CloseDate      int32 //flag
}

type TL_pollAnswer

type TL_pollAnswer struct {
	Text   string
	Option []byte
}

type TL_pollAnswerVoters

type TL_pollAnswerVoters struct {
	Flags   int32
	Chosen  bool //flag
	Correct bool //flag
	Option  []byte
	Voters  int32
}

type TL_pollResults

type TL_pollResults struct {
	Flags            int32
	Min              bool    //flag
	Results          []TL    // PollAnswerVoters //flag
	TotalVoters      int32   //flag
	RecentVoters     []int32 //flag
	Solution         string  //flag
	SolutionEntities []TL    // MessageEntity //flag
}

type TL_pong

type TL_pong struct {
	MsgID  int64
	PingID int64
}

type TL_popularContact

type TL_popularContact struct {
	ClientID  int64
	Importers int32
}

type TL_postAddress

type TL_postAddress struct {
	StreetLine1 string
	StreetLine2 string
	City        string
	State       string
	CountryIso2 string
	PostCode    string
}

type TL_privacyKeyAddedByPhone

type TL_privacyKeyAddedByPhone struct {
}

type TL_privacyKeyChatInvite

type TL_privacyKeyChatInvite struct {
}

type TL_privacyKeyForwards

type TL_privacyKeyForwards struct {
}

type TL_privacyKeyPhoneCall

type TL_privacyKeyPhoneCall struct {
}

type TL_privacyKeyPhoneNumber

type TL_privacyKeyPhoneNumber struct {
}

type TL_privacyKeyPhoneP2P

type TL_privacyKeyPhoneP2P struct {
}

type TL_privacyKeyProfilePhoto

type TL_privacyKeyProfilePhoto struct {
}

type TL_privacyKeyStatusTimestamp

type TL_privacyKeyStatusTimestamp struct {
}

type TL_privacyValueAllowAll

type TL_privacyValueAllowAll struct {
}

type TL_privacyValueAllowChatParticipants

type TL_privacyValueAllowChatParticipants struct {
	Chats []int32
}

type TL_privacyValueAllowContacts

type TL_privacyValueAllowContacts struct {
}

type TL_privacyValueAllowUsers

type TL_privacyValueAllowUsers struct {
	Users []int32
}

type TL_privacyValueDisallowAll

type TL_privacyValueDisallowAll struct {
}

type TL_privacyValueDisallowChatParticipants

type TL_privacyValueDisallowChatParticipants struct {
	Chats []int32
}

type TL_privacyValueDisallowContacts

type TL_privacyValueDisallowContacts struct {
}

type TL_privacyValueDisallowUsers

type TL_privacyValueDisallowUsers struct {
	Users []int32
}

type TL_receivedNotifyMessage

type TL_receivedNotifyMessage struct {
	ID    int32
	Flags int32
}

type TL_recentMeUrlChat

type TL_recentMeUrlChat struct {
	Url    string
	ChatID int32
}

type TL_recentMeUrlChatInvite

type TL_recentMeUrlChatInvite struct {
	Url        string
	ChatInvite TL // ChatInvite
}

type TL_recentMeUrlStickerSet

type TL_recentMeUrlStickerSet struct {
	Url string
	Set TL // StickerSetCovered
}

type TL_recentMeUrlUnknown

type TL_recentMeUrlUnknown struct {
	Url string
}

type TL_recentMeUrlUser

type TL_recentMeUrlUser struct {
	Url    string
	UserID int32
}

type TL_replyInlineMarkup

type TL_replyInlineMarkup struct {
	Rows []TL // KeyboardButtonRow
}

type TL_replyKeyboardForceReply

type TL_replyKeyboardForceReply struct {
	Flags     int32
	SingleUse bool //flag
	Selective bool //flag
}

type TL_replyKeyboardHide

type TL_replyKeyboardHide struct {
	Flags     int32
	Selective bool //flag
}

type TL_replyKeyboardMarkup

type TL_replyKeyboardMarkup struct {
	Flags     int32
	Resize    bool //flag
	SingleUse bool //flag
	Selective bool //flag
	Rows      []TL // KeyboardButtonRow
}

type TL_req_DH_params

type TL_req_DH_params struct {
	Nonce                []byte
	ServerNonce          []byte
	P                    string
	Q                    string
	PublicKeyFingerprint int64
	EncryptedData        string
}

type TL_req_pq

type TL_req_pq struct {
	Nonce []byte
}

type TL_req_pq_multi

type TL_req_pq_multi struct {
	Nonce []byte
}

type TL_resPQ

type TL_resPQ struct {
	Nonce                       []byte
	ServerNonce                 []byte
	Pq                          string
	ServerPublicKeyFingerprints []int64
}

type TL_restrictionReason

type TL_restrictionReason struct {
	Platform string
	Reason   string
	Text     string
}

type TL_rpc_answer_dropped

type TL_rpc_answer_dropped struct {
	MsgID int64
	SeqNo int32
	Bytes int32
}

type TL_rpc_answer_dropped_running

type TL_rpc_answer_dropped_running struct {
}

type TL_rpc_answer_unknown

type TL_rpc_answer_unknown struct {
}

type TL_rpc_drop_answer

type TL_rpc_drop_answer struct {
	ReqMsgID int64
}

type TL_rpc_error

type TL_rpc_error struct {
	ErrorCode    int32
	ErrorMessage string
}

type TL_rpc_result

type TL_rpc_result struct {
	// contains filtered or unexported fields
}

type TL_savedPhoneContact

type TL_savedPhoneContact struct {
	Phone     string
	FirstName string
	LastName  string
	Date      int32
}

type TL_secureCredentialsEncrypted

type TL_secureCredentialsEncrypted struct {
	Data   []byte
	Hash   []byte
	Secret []byte
}

type TL_secureData

type TL_secureData struct {
	Data     []byte
	DataHash []byte
	Secret   []byte
}

type TL_secureFile

type TL_secureFile struct {
	ID         int64
	AccessHash int64
	Size       int32
	DcID       int32
	Date       int32
	FileHash   []byte
	Secret     []byte
}

type TL_secureFileEmpty

type TL_secureFileEmpty struct {
}

type TL_securePasswordKdfAlgoPBKDF2HMACSHA512iter100000

type TL_securePasswordKdfAlgoPBKDF2HMACSHA512iter100000 struct {
	Salt []byte
}

type TL_securePasswordKdfAlgoSHA512

type TL_securePasswordKdfAlgoSHA512 struct {
	Salt []byte
}

type TL_securePasswordKdfAlgoUnknown

type TL_securePasswordKdfAlgoUnknown struct {
}

type TL_securePlainEmail

type TL_securePlainEmail struct {
	Email string
}

type TL_securePlainPhone

type TL_securePlainPhone struct {
	Phone string
}

type TL_secureRequiredType

type TL_secureRequiredType struct {
	Flags               int32
	NativeNames         bool //flag
	SelfieRequired      bool //flag
	TranslationRequired bool //flag
	Type                TL   // SecureValueType
}

type TL_secureRequiredTypeOneOf

type TL_secureRequiredTypeOneOf struct {
	Types []TL // SecureRequiredType
}

type TL_secureSecretSettings

type TL_secureSecretSettings struct {
	SecureAlgo     TL // SecurePasswordKdfAlgo
	SecureSecret   []byte
	SecureSecretID int64
}

type TL_secureValue

type TL_secureValue struct {
	Flags       int32
	Type        TL   // SecureValueType
	Data        TL   // SecureData //flag
	FrontSide   TL   // SecureFile //flag
	ReverseSide TL   // SecureFile //flag
	Selfie      TL   // SecureFile //flag
	Translation []TL // SecureFile //flag
	Files       []TL // SecureFile //flag
	PlainData   TL   // SecurePlainData //flag
	Hash        []byte
}

type TL_secureValueError

type TL_secureValueError struct {
	Type TL // SecureValueType
	Hash []byte
	Text string
}

type TL_secureValueErrorData

type TL_secureValueErrorData struct {
	Type     TL // SecureValueType
	DataHash []byte
	Field    string
	Text     string
}

type TL_secureValueErrorFile

type TL_secureValueErrorFile struct {
	Type     TL // SecureValueType
	FileHash []byte
	Text     string
}

type TL_secureValueErrorFiles

type TL_secureValueErrorFiles struct {
	Type     TL   // SecureValueType
	FileHash []TL // bytes
	Text     string
}

type TL_secureValueErrorFrontSide

type TL_secureValueErrorFrontSide struct {
	Type     TL // SecureValueType
	FileHash []byte
	Text     string
}

type TL_secureValueErrorReverseSide

type TL_secureValueErrorReverseSide struct {
	Type     TL // SecureValueType
	FileHash []byte
	Text     string
}

type TL_secureValueErrorSelfie

type TL_secureValueErrorSelfie struct {
	Type     TL // SecureValueType
	FileHash []byte
	Text     string
}

type TL_secureValueErrorTranslationFile

type TL_secureValueErrorTranslationFile struct {
	Type     TL // SecureValueType
	FileHash []byte
	Text     string
}

type TL_secureValueErrorTranslationFiles

type TL_secureValueErrorTranslationFiles struct {
	Type     TL   // SecureValueType
	FileHash []TL // bytes
	Text     string
}

type TL_secureValueHash

type TL_secureValueHash struct {
	Type TL // SecureValueType
	Hash []byte
}

type TL_secureValueTypeAddress

type TL_secureValueTypeAddress struct {
}

type TL_secureValueTypeBankStatement

type TL_secureValueTypeBankStatement struct {
}

type TL_secureValueTypeDriverLicense

type TL_secureValueTypeDriverLicense struct {
}

type TL_secureValueTypeEmail

type TL_secureValueTypeEmail struct {
}

type TL_secureValueTypeIdentityCard

type TL_secureValueTypeIdentityCard struct {
}

type TL_secureValueTypeInternalPassport

type TL_secureValueTypeInternalPassport struct {
}

type TL_secureValueTypePassport

type TL_secureValueTypePassport struct {
}

type TL_secureValueTypePassportRegistration

type TL_secureValueTypePassportRegistration struct {
}

type TL_secureValueTypePersonalDetails

type TL_secureValueTypePersonalDetails struct {
}

type TL_secureValueTypePhone

type TL_secureValueTypePhone struct {
}

type TL_secureValueTypeRentalAgreement

type TL_secureValueTypeRentalAgreement struct {
}

type TL_secureValueTypeTemporaryRegistration

type TL_secureValueTypeTemporaryRegistration struct {
}

type TL_secureValueTypeUtilityBill

type TL_secureValueTypeUtilityBill struct {
}

type TL_sendMessageCancelAction

type TL_sendMessageCancelAction struct {
}

type TL_sendMessageChooseContactAction

type TL_sendMessageChooseContactAction struct {
}

type TL_sendMessageGamePlayAction

type TL_sendMessageGamePlayAction struct {
}

type TL_sendMessageGeoLocationAction

type TL_sendMessageGeoLocationAction struct {
}

type TL_sendMessageRecordAudioAction

type TL_sendMessageRecordAudioAction struct {
}

type TL_sendMessageRecordRoundAction

type TL_sendMessageRecordRoundAction struct {
}

type TL_sendMessageRecordVideoAction

type TL_sendMessageRecordVideoAction struct {
}

type TL_sendMessageTypingAction

type TL_sendMessageTypingAction struct {
}

type TL_sendMessageUploadAudioAction

type TL_sendMessageUploadAudioAction struct {
	Progress int32
}

type TL_sendMessageUploadDocumentAction

type TL_sendMessageUploadDocumentAction struct {
	Progress int32
}

type TL_sendMessageUploadPhotoAction

type TL_sendMessageUploadPhotoAction struct {
	Progress int32
}

type TL_sendMessageUploadRoundAction

type TL_sendMessageUploadRoundAction struct {
	Progress int32
}

type TL_sendMessageUploadVideoAction

type TL_sendMessageUploadVideoAction struct {
	Progress int32
}

type TL_server_DH_inner_data

type TL_server_DH_inner_data struct {
	Nonce       []byte
	ServerNonce []byte
	G           int32
	DhPrime     string
	GA          string
	ServerTime  int32
}

type TL_server_DH_params_fail

type TL_server_DH_params_fail struct {
	Nonce        []byte
	ServerNonce  []byte
	NewNonceHash []byte
}

type TL_server_DH_params_ok

type TL_server_DH_params_ok struct {
	Nonce           []byte
	ServerNonce     []byte
	EncryptedAnswer string
}

type TL_set_client_DH_params

type TL_set_client_DH_params struct {
	Nonce         []byte
	ServerNonce   []byte
	EncryptedData string
}

type TL_shippingOption

type TL_shippingOption struct {
	ID     string
	Title  string
	Prices []TL // LabeledPrice
}

type TL_statsAbsValueAndPrev

type TL_statsAbsValueAndPrev struct {
	Current  float64
	Previous float64
}

type TL_statsDateRangeDays

type TL_statsDateRangeDays struct {
	MinDate int32
	MaxDate int32
}

type TL_statsGraph

type TL_statsGraph struct {
	Flags     int32
	Json      TL     // DataJSON
	ZoomToken string //flag
}

type TL_statsGraphAsync

type TL_statsGraphAsync struct {
	Token string
}

type TL_statsGraphError

type TL_statsGraphError struct {
	Error string
}

type TL_statsPercentValue

type TL_statsPercentValue struct {
	Part  float64
	Total float64
}

type TL_statsURL

type TL_statsURL struct {
	Url string
}

type TL_stats_broadcastStats

type TL_stats_broadcastStats struct {
	Period                    TL   // StatsDateRangeDays
	Followers                 TL   // StatsAbsValueAndPrev
	ViewsPerPost              TL   // StatsAbsValueAndPrev
	SharesPerPost             TL   // StatsAbsValueAndPrev
	EnabledNotifications      TL   // StatsPercentValue
	GrowthGraph               TL   // StatsGraph
	FollowersGraph            TL   // StatsGraph
	MuteGraph                 TL   // StatsGraph
	TopHoursGraph             TL   // StatsGraph
	InteractionsGraph         TL   // StatsGraph
	IvInteractionsGraph       TL   // StatsGraph
	ViewsBySourceGraph        TL   // StatsGraph
	NewFollowersBySourceGraph TL   // StatsGraph
	LanguagesGraph            TL   // StatsGraph
	RecentMessageInteractions []TL // MessageInteractionCounters
}

type TL_stats_getBroadcastStats

type TL_stats_getBroadcastStats struct {
	Flags   int32
	Dark    bool //flag
	Channel TL   // InputChannel
}

type TL_stats_loadAsyncGraph

type TL_stats_loadAsyncGraph struct {
	Flags int32
	Token string
	X     int64 //flag
}

type TL_stickerPack

type TL_stickerPack struct {
	Emoticon  string
	Documents []int64
}

type TL_stickerSet

type TL_stickerSet struct {
	Flags         int32
	Archived      bool  //flag
	Official      bool  //flag
	Masks         bool  //flag
	Animated      bool  //flag
	InstalledDate int32 //flag
	ID            int64
	AccessHash    int64
	Title         string
	ShortName     string
	Thumb         TL    // PhotoSize //flag
	ThumbDcID     int32 //flag
	Count         int32
	Hash          int32
}

type TL_stickerSetCovered

type TL_stickerSetCovered struct {
	Set   TL // StickerSet
	Cover TL // Document
}

type TL_stickerSetMultiCovered

type TL_stickerSetMultiCovered struct {
	Set    TL   // StickerSet
	Covers []TL // Document
}

type TL_stickers_addStickerToSet

type TL_stickers_addStickerToSet struct {
	Stickerset TL // InputStickerSet
	Sticker    TL // InputStickerSetItem
}

type TL_stickers_changeStickerPosition

type TL_stickers_changeStickerPosition struct {
	Sticker  TL // InputDocument
	Position int32
}

type TL_stickers_createStickerSet

type TL_stickers_createStickerSet struct {
	Flags     int32
	Masks     bool //flag
	Animated  bool //flag
	UserID    TL   // InputUser
	Title     string
	ShortName string
	Thumb     TL   // InputDocument //flag
	Stickers  []TL // InputStickerSetItem
}

type TL_stickers_removeStickerFromSet

type TL_stickers_removeStickerFromSet struct {
	Sticker TL // InputDocument
}

type TL_stickers_setStickerSetThumb

type TL_stickers_setStickerSetThumb struct {
	Stickerset TL // InputStickerSet
	Thumb      TL // InputDocument
}

type TL_storage_fileGif

type TL_storage_fileGif struct {
}

type TL_storage_fileJpeg

type TL_storage_fileJpeg struct {
}

type TL_storage_fileMov

type TL_storage_fileMov struct {
}

type TL_storage_fileMp3

type TL_storage_fileMp3 struct {
}

type TL_storage_fileMp4

type TL_storage_fileMp4 struct {
}

type TL_storage_filePartial

type TL_storage_filePartial struct {
}

type TL_storage_filePdf

type TL_storage_filePdf struct {
}

type TL_storage_filePng

type TL_storage_filePng struct {
}

type TL_storage_fileUnknown

type TL_storage_fileUnknown struct {
}

type TL_storage_fileWebp

type TL_storage_fileWebp struct {
}

type TL_textAnchor

type TL_textAnchor struct {
	Text TL // RichText
	Name string
}

type TL_textBold

type TL_textBold struct {
	Text TL // RichText
}

type TL_textConcat

type TL_textConcat struct {
	Texts []TL // RichText
}

type TL_textEmail

type TL_textEmail struct {
	Text  TL // RichText
	Email string
}

type TL_textEmpty

type TL_textEmpty struct {
}

type TL_textFixed

type TL_textFixed struct {
	Text TL // RichText
}

type TL_textImage

type TL_textImage struct {
	DocumentID int64
	W          int32
	H          int32
}

type TL_textItalic

type TL_textItalic struct {
	Text TL // RichText
}

type TL_textMarked

type TL_textMarked struct {
	Text TL // RichText
}

type TL_textPhone

type TL_textPhone struct {
	Text  TL // RichText
	Phone string
}

type TL_textPlain

type TL_textPlain struct {
	Text string
}

type TL_textStrike

type TL_textStrike struct {
	Text TL // RichText
}

type TL_textSubscript

type TL_textSubscript struct {
	Text TL // RichText
}

type TL_textSuperscript

type TL_textSuperscript struct {
	Text TL // RichText
}

type TL_textUnderline

type TL_textUnderline struct {
	Text TL // RichText
}

type TL_textUrl

type TL_textUrl struct {
	Text      TL // RichText
	Url       string
	WebpageID int64
}

type TL_theme

type TL_theme struct {
	Flags         int32
	Creator       bool //flag
	Default       bool //flag
	ID            int64
	AccessHash    int64
	Slug          string
	Title         string
	Document      TL // Document //flag
	Settings      TL // ThemeSettings //flag
	InstallsCount int32
}

type TL_themeSettings

type TL_themeSettings struct {
	Flags              int32
	BaseTheme          TL // BaseTheme
	AccentColor        int32
	MessageTopColor    int32 //flag
	MessageBottomColor int32 //flag
	Wallpaper          TL    // WallPaper //flag
}

type TL_tlsBlockDomain

type TL_tlsBlockDomain struct {
}

type TL_tlsBlockGrease

type TL_tlsBlockGrease struct {
	Seed int32
}

type TL_tlsBlockPublicKey

type TL_tlsBlockPublicKey struct {
}

type TL_tlsBlockRandom

type TL_tlsBlockRandom struct {
	Length int32
}

type TL_tlsBlockScope

type TL_tlsBlockScope struct {
	Entries []TL // TlsBlock
}

type TL_tlsBlockString

type TL_tlsBlockString struct {
	Data string
}

type TL_tlsBlockZero

type TL_tlsBlockZero struct {
	Length int32
}

type TL_tlsClientHello

type TL_tlsClientHello struct {
	Blocks TL // vector<TlsBlock>
}

type TL_topPeer

type TL_topPeer struct {
	Peer   TL // Peer
	Rating float64
}

type TL_topPeerCategoryBotsInline

type TL_topPeerCategoryBotsInline struct {
}

type TL_topPeerCategoryBotsPM

type TL_topPeerCategoryBotsPM struct {
}

type TL_topPeerCategoryChannels

type TL_topPeerCategoryChannels struct {
}

type TL_topPeerCategoryCorrespondents

type TL_topPeerCategoryCorrespondents struct {
}

type TL_topPeerCategoryForwardChats

type TL_topPeerCategoryForwardChats struct {
}

type TL_topPeerCategoryForwardUsers

type TL_topPeerCategoryForwardUsers struct {
}

type TL_topPeerCategoryGroups

type TL_topPeerCategoryGroups struct {
}

type TL_topPeerCategoryPeers

type TL_topPeerCategoryPeers struct {
	Category TL // TopPeerCategory
	Count    int32
	Peers    []TL // TopPeer
}

type TL_topPeerCategoryPhoneCalls

type TL_topPeerCategoryPhoneCalls struct {
}

type TL_true

type TL_true struct {
}

type TL_updateBotCallbackQuery

type TL_updateBotCallbackQuery struct {
	Flags         int32
	QueryID       int64
	UserID        int32
	Peer          TL // Peer
	MsgID         int32
	ChatInstance  int64
	Data          []byte //flag
	GameShortName string //flag
}

type TL_updateBotInlineQuery

type TL_updateBotInlineQuery struct {
	Flags   int32
	QueryID int64
	UserID  int32
	Query   string
	Geo     TL // GeoPoint //flag
	Offset  string
}

type TL_updateBotInlineSend

type TL_updateBotInlineSend struct {
	Flags  int32
	UserID int32
	Query  string
	Geo    TL // GeoPoint //flag
	ID     string
	MsgID  TL // InputBotInlineMessageID //flag
}

type TL_updateBotPrecheckoutQuery

type TL_updateBotPrecheckoutQuery struct {
	Flags            int32
	QueryID          int64
	UserID           int32
	Payload          []byte
	Info             TL     // PaymentRequestedInfo //flag
	ShippingOptionID string //flag
	Currency         string
	TotalAmount      int64
}

type TL_updateBotShippingQuery

type TL_updateBotShippingQuery struct {
	QueryID         int64
	UserID          int32
	Payload         []byte
	ShippingAddress TL // PostAddress
}

type TL_updateBotWebhookJSON

type TL_updateBotWebhookJSON struct {
	Data TL // DataJSON
}

type TL_updateBotWebhookJSONQuery

type TL_updateBotWebhookJSONQuery struct {
	QueryID int64
	Data    TL // DataJSON
	Timeout int32
}

type TL_updateChannel

type TL_updateChannel struct {
	ChannelID int32
}

type TL_updateChannelAvailableMessages

type TL_updateChannelAvailableMessages struct {
	ChannelID      int32
	AvailableMinID int32
}

type TL_updateChannelMessageViews

type TL_updateChannelMessageViews struct {
	ChannelID int32
	ID        int32
	Views     int32
}

type TL_updateChannelPinnedMessage

type TL_updateChannelPinnedMessage struct {
	ChannelID int32
	ID        int32
}

type TL_updateChannelReadMessagesContents

type TL_updateChannelReadMessagesContents struct {
	ChannelID int32
	Messages  []int32
}

type TL_updateChannelTooLong

type TL_updateChannelTooLong struct {
	Flags     int32
	ChannelID int32
	Pts       int32 //flag
}

type TL_updateChannelWebPage

type TL_updateChannelWebPage struct {
	ChannelID int32
	Webpage   TL // WebPage
	Pts       int32
	PtsCount  int32
}

type TL_updateChatDefaultBannedRights

type TL_updateChatDefaultBannedRights struct {
	Peer                TL // Peer
	DefaultBannedRights TL // ChatBannedRights
	Version             int32
}

type TL_updateChatParticipantAdd

type TL_updateChatParticipantAdd struct {
	ChatID    int32
	UserID    int32
	InviterID int32
	Date      int32
	Version   int32
}

type TL_updateChatParticipantAdmin

type TL_updateChatParticipantAdmin struct {
	ChatID  int32
	UserID  int32
	IsAdmin TL // Bool
	Version int32
}

type TL_updateChatParticipantDelete

type TL_updateChatParticipantDelete struct {
	ChatID  int32
	UserID  int32
	Version int32
}

type TL_updateChatParticipants

type TL_updateChatParticipants struct {
	Participants TL // ChatParticipants
}

type TL_updateChatPinnedMessage

type TL_updateChatPinnedMessage struct {
	ChatID  int32
	ID      int32
	Version int32
}

type TL_updateChatUserTyping

type TL_updateChatUserTyping struct {
	ChatID int32
	UserID int32
	Action TL // SendMessageAction
}

type TL_updateConfig

type TL_updateConfig struct {
}

type TL_updateContactsReset

type TL_updateContactsReset struct {
}

type TL_updateDcOptions

type TL_updateDcOptions struct {
	DcOptions []TL // DcOption
}

type TL_updateDeleteChannelMessages

type TL_updateDeleteChannelMessages struct {
	ChannelID int32
	Messages  []int32
	Pts       int32
	PtsCount  int32
}

type TL_updateDeleteMessages

type TL_updateDeleteMessages struct {
	Messages []int32
	Pts      int32
	PtsCount int32
}

type TL_updateDeleteScheduledMessages

type TL_updateDeleteScheduledMessages struct {
	Peer     TL // Peer
	Messages []int32
}

type TL_updateDialogFilter

type TL_updateDialogFilter struct {
	Flags  int32
	ID     int32
	Filter TL // DialogFilter //flag
}

type TL_updateDialogFilterOrder

type TL_updateDialogFilterOrder struct {
	Order []int32
}

type TL_updateDialogFilters

type TL_updateDialogFilters struct {
}

type TL_updateDialogPinned

type TL_updateDialogPinned struct {
	Flags    int32
	Pinned   bool  //flag
	FolderID int32 //flag
	Peer     TL    // DialogPeer
}

type TL_updateDialogUnreadMark

type TL_updateDialogUnreadMark struct {
	Flags  int32
	Unread bool //flag
	Peer   TL   // DialogPeer
}

type TL_updateDraftMessage

type TL_updateDraftMessage struct {
	Peer  TL // Peer
	Draft TL // DraftMessage
}

type TL_updateEditChannelMessage

type TL_updateEditChannelMessage struct {
	Message  TL // Message
	Pts      int32
	PtsCount int32
}

type TL_updateEditMessage

type TL_updateEditMessage struct {
	Message  TL // Message
	Pts      int32
	PtsCount int32
}

type TL_updateEncryptedChatTyping

type TL_updateEncryptedChatTyping struct {
	ChatID int32
}

type TL_updateEncryptedMessagesRead

type TL_updateEncryptedMessagesRead struct {
	ChatID  int32
	MaxDate int32
	Date    int32
}

type TL_updateEncryption

type TL_updateEncryption struct {
	Chat TL // EncryptedChat
	Date int32
}

type TL_updateFavedStickers

type TL_updateFavedStickers struct {
}

type TL_updateFolderPeers

type TL_updateFolderPeers struct {
	FolderPeers []TL // FolderPeer
	Pts         int32
	PtsCount    int32
}

type TL_updateGeoLiveViewed

type TL_updateGeoLiveViewed struct {
	Peer  TL // Peer
	MsgID int32
}

type TL_updateInlineBotCallbackQuery

type TL_updateInlineBotCallbackQuery struct {
	Flags         int32
	QueryID       int64
	UserID        int32
	MsgID         TL // InputBotInlineMessageID
	ChatInstance  int64
	Data          []byte //flag
	GameShortName string //flag
}

type TL_updateLangPack

type TL_updateLangPack struct {
	Difference TL // LangPackDifference
}

type TL_updateLangPackTooLong

type TL_updateLangPackTooLong struct {
	LangCode string
}

type TL_updateLoginToken

type TL_updateLoginToken struct {
}

type TL_updateMessageID

type TL_updateMessageID struct {
	ID       int32
	RandomID int64
}

type TL_updateMessagePoll

type TL_updateMessagePoll struct {
	Flags   int32
	PollID  int64
	Poll    TL // Poll //flag
	Results TL // PollResults
}

type TL_updateMessagePollVote

type TL_updateMessagePollVote struct {
	PollID  int64
	UserID  int32
	Options []TL // bytes
}

type TL_updateNewChannelMessage

type TL_updateNewChannelMessage struct {
	Message  TL // Message
	Pts      int32
	PtsCount int32
}

type TL_updateNewEncryptedMessage

type TL_updateNewEncryptedMessage struct {
	Message TL // EncryptedMessage
	Qts     int32
}

type TL_updateNewMessage

type TL_updateNewMessage struct {
	Message  TL // Message
	Pts      int32
	PtsCount int32
}

type TL_updateNewScheduledMessage

type TL_updateNewScheduledMessage struct {
	Message TL // Message
}

type TL_updateNewStickerSet

type TL_updateNewStickerSet struct {
	Stickerset TL // messages_StickerSet
}

type TL_updateNotifySettings

type TL_updateNotifySettings struct {
	Peer           TL // NotifyPeer
	NotifySettings TL // PeerNotifySettings
}

type TL_updatePeerLocated

type TL_updatePeerLocated struct {
	Peers []TL // PeerLocated
}

type TL_updatePeerSettings

type TL_updatePeerSettings struct {
	Peer     TL // Peer
	Settings TL // PeerSettings
}

type TL_updatePhoneCall

type TL_updatePhoneCall struct {
	PhoneCall TL // PhoneCall
}

type TL_updatePhoneCallSignalingData

type TL_updatePhoneCallSignalingData struct {
	PhoneCallID int64
	Data        []byte
}

type TL_updatePinnedDialogs

type TL_updatePinnedDialogs struct {
	Flags    int32
	FolderID int32 //flag
	Order    []TL  // DialogPeer //flag
}

type TL_updatePrivacy

type TL_updatePrivacy struct {
	Key   TL   // PrivacyKey
	Rules []TL // PrivacyRule
}

type TL_updatePtsChanged

type TL_updatePtsChanged struct {
}

type TL_updateReadChannelInbox

type TL_updateReadChannelInbox struct {
	Flags            int32
	FolderID         int32 //flag
	ChannelID        int32
	MaxID            int32
	StillUnreadCount int32
	Pts              int32
}

type TL_updateReadChannelOutbox

type TL_updateReadChannelOutbox struct {
	ChannelID int32
	MaxID     int32
}

type TL_updateReadFeaturedStickers

type TL_updateReadFeaturedStickers struct {
}

type TL_updateReadHistoryInbox

type TL_updateReadHistoryInbox struct {
	Flags            int32
	FolderID         int32 //flag
	Peer             TL    // Peer
	MaxID            int32
	StillUnreadCount int32
	Pts              int32
	PtsCount         int32
}

type TL_updateReadHistoryOutbox

type TL_updateReadHistoryOutbox struct {
	Peer     TL // Peer
	MaxID    int32
	Pts      int32
	PtsCount int32
}

type TL_updateReadMessagesContents

type TL_updateReadMessagesContents struct {
	Messages []int32
	Pts      int32
	PtsCount int32
}

type TL_updateRecentStickers

type TL_updateRecentStickers struct {
}

type TL_updateSavedGifs

type TL_updateSavedGifs struct {
}

type TL_updateServiceNotification

type TL_updateServiceNotification struct {
	Flags     int32
	Popup     bool  //flag
	InboxDate int32 //flag
	Type      string
	Message   string
	Media     TL   // MessageMedia
	Entities  []TL // MessageEntity
}

type TL_updateShort

type TL_updateShort struct {
	Update TL // Update
	Date   int32
}

type TL_updateShortChatMessage

type TL_updateShortChatMessage struct {
	Flags        int32
	Out          bool //flag
	Mentioned    bool //flag
	MediaUnread  bool //flag
	Silent       bool //flag
	ID           int32
	FromID       int32
	ChatID       int32
	Message      string
	Pts          int32
	PtsCount     int32
	Date         int32
	FwdFrom      TL    // MessageFwdHeader //flag
	ViaBotID     int32 //flag
	ReplyToMsgID int32 //flag
	Entities     []TL  // MessageEntity //flag
}

type TL_updateShortMessage

type TL_updateShortMessage struct {
	Flags        int32
	Out          bool //flag
	Mentioned    bool //flag
	MediaUnread  bool //flag
	Silent       bool //flag
	ID           int32
	UserID       int32
	Message      string
	Pts          int32
	PtsCount     int32
	Date         int32
	FwdFrom      TL    // MessageFwdHeader //flag
	ViaBotID     int32 //flag
	ReplyToMsgID int32 //flag
	Entities     []TL  // MessageEntity //flag
}

type TL_updateShortSentMessage

type TL_updateShortSentMessage struct {
	Flags    int32
	Out      bool //flag
	ID       int32
	Pts      int32
	PtsCount int32
	Date     int32
	Media    TL   // MessageMedia //flag
	Entities []TL // MessageEntity //flag
}

type TL_updateStickerSets

type TL_updateStickerSets struct {
}

type TL_updateStickerSetsOrder

type TL_updateStickerSetsOrder struct {
	Flags int32
	Masks bool //flag
	Order []int64
}

type TL_updateTheme

type TL_updateTheme struct {
	Theme TL // Theme
}

type TL_updateUserBlocked

type TL_updateUserBlocked struct {
	UserID  int32
	Blocked TL // Bool
}

type TL_updateUserName

type TL_updateUserName struct {
	UserID    int32
	FirstName string
	LastName  string
	Username  string
}

type TL_updateUserPhone

type TL_updateUserPhone struct {
	UserID int32
	Phone  string
}

type TL_updateUserPhoto

type TL_updateUserPhoto struct {
	UserID   int32
	Date     int32
	Photo    TL // UserProfilePhoto
	Previous TL // Bool
}

type TL_updateUserPinnedMessage

type TL_updateUserPinnedMessage struct {
	UserID int32
	ID     int32
}

type TL_updateUserStatus

type TL_updateUserStatus struct {
	UserID int32
	Status TL // UserStatus
}

type TL_updateUserTyping

type TL_updateUserTyping struct {
	UserID int32
	Action TL // SendMessageAction
}

type TL_updateWebPage

type TL_updateWebPage struct {
	Webpage  TL // WebPage
	Pts      int32
	PtsCount int32
}

type TL_updates

type TL_updates struct {
	Updates []TL // Update
	Users   []TL // User
	Chats   []TL // Chat
	Date    int32
	Seq     int32
}

type TL_updatesCombined

type TL_updatesCombined struct {
	Updates  []TL // Update
	Users    []TL // User
	Chats    []TL // Chat
	Date     int32
	SeqStart int32
	Seq      int32
}

type TL_updatesTooLong

type TL_updatesTooLong struct {
}

type TL_updates_channelDifference

type TL_updates_channelDifference struct {
	Flags        int32
	Final        bool //flag
	Pts          int32
	Timeout      int32 //flag
	NewMessages  []TL  // Message
	OtherUpdates []TL  // Update
	Chats        []TL  // Chat
	Users        []TL  // User
}

type TL_updates_channelDifferenceEmpty

type TL_updates_channelDifferenceEmpty struct {
	Flags   int32
	Final   bool //flag
	Pts     int32
	Timeout int32 //flag
}

type TL_updates_channelDifferenceTooLong

type TL_updates_channelDifferenceTooLong struct {
	Flags    int32
	Final    bool  //flag
	Timeout  int32 //flag
	Dialog   TL    // Dialog
	Messages []TL  // Message
	Chats    []TL  // Chat
	Users    []TL  // User
}

type TL_updates_difference

type TL_updates_difference struct {
	NewMessages          []TL // Message
	NewEncryptedMessages []TL // EncryptedMessage
	OtherUpdates         []TL // Update
	Chats                []TL // Chat
	Users                []TL // User
	State                TL   // updates_State
}

type TL_updates_differenceEmpty

type TL_updates_differenceEmpty struct {
	Date int32
	Seq  int32
}

type TL_updates_differenceSlice

type TL_updates_differenceSlice struct {
	NewMessages          []TL // Message
	NewEncryptedMessages []TL // EncryptedMessage
	OtherUpdates         []TL // Update
	Chats                []TL // Chat
	Users                []TL // User
	IntermediateState    TL   // updates_State
}

type TL_updates_differenceTooLong

type TL_updates_differenceTooLong struct {
	Pts int32
}

type TL_updates_getChannelDifference

type TL_updates_getChannelDifference struct {
	Flags   int32
	Force   bool //flag
	Channel TL   // InputChannel
	Filter  TL   // ChannelMessagesFilter
	Pts     int32
	Limit   int32
}

type TL_updates_getDifference

type TL_updates_getDifference struct {
	Flags         int32
	Pts           int32
	PtsTotalLimit int32 //flag
	Date          int32
	Qts           int32
}

type TL_updates_getState

type TL_updates_getState struct {
}

type TL_updates_state

type TL_updates_state struct {
	Pts         int32
	Qts         int32
	Date        int32
	Seq         int32
	UnreadCount int32
}

type TL_upload_cdnFile

type TL_upload_cdnFile struct {
	Bytes []byte
}

type TL_upload_cdnFileReuploadNeeded

type TL_upload_cdnFileReuploadNeeded struct {
	RequestToken []byte
}

type TL_upload_file

type TL_upload_file struct {
	Type  TL // storage_FileType
	Mtime int32
	Bytes []byte
}

type TL_upload_fileCdnRedirect

type TL_upload_fileCdnRedirect struct {
	DcID          int32
	FileToken     []byte
	EncryptionKey []byte
	EncryptionIv  []byte
	FileHashes    []TL // FileHash
}

type TL_upload_getCdnFile

type TL_upload_getCdnFile struct {
	FileToken []byte
	Offset    int32
	Limit     int32
}

type TL_upload_getCdnFileHashes

type TL_upload_getCdnFileHashes struct {
	FileToken []byte
	Offset    int32
}

type TL_upload_getFile

type TL_upload_getFile struct {
	Flags        int32
	Precise      bool //flag
	CdnSupported bool //flag
	Location     TL   // InputFileLocation
	Offset       int32
	Limit        int32
}

type TL_upload_getFileHashes

type TL_upload_getFileHashes struct {
	Location TL // InputFileLocation
	Offset   int32
}

type TL_upload_getWebFile

type TL_upload_getWebFile struct {
	Location TL // InputWebFileLocation
	Offset   int32
	Limit    int32
}

type TL_upload_reuploadCdnFile

type TL_upload_reuploadCdnFile struct {
	FileToken    []byte
	RequestToken []byte
}

type TL_upload_saveBigFilePart

type TL_upload_saveBigFilePart struct {
	FileID         int64
	FilePart       int32
	FileTotalParts int32
	Bytes          []byte
}

type TL_upload_saveFilePart

type TL_upload_saveFilePart struct {
	FileID   int64
	FilePart int32
	Bytes    []byte
}

type TL_upload_webFile

type TL_upload_webFile struct {
	Size     int32
	MimeType string
	FileType TL // storage_FileType
	Mtime    int32
	Bytes    []byte
}

type TL_urlAuthResultAccepted

type TL_urlAuthResultAccepted struct {
	Url string
}

type TL_urlAuthResultDefault

type TL_urlAuthResultDefault struct {
}

type TL_urlAuthResultRequest

type TL_urlAuthResultRequest struct {
	Flags              int32
	RequestWriteAccess bool //flag
	Bot                TL   // User
	Domain             string
}

type TL_user

type TL_user struct {
	Flags                int32
	Self                 bool //flag
	Contact              bool //flag
	MutualContact        bool //flag
	Deleted              bool //flag
	Bot                  bool //flag
	BotChatHistory       bool //flag
	BotNochats           bool //flag
	Verified             bool //flag
	Restricted           bool //flag
	Min                  bool //flag
	BotInlineGeo         bool //flag
	Support              bool //flag
	Scam                 bool //flag
	ID                   int32
	AccessHash           int64  //flag
	FirstName            string //flag
	LastName             string //flag
	Username             string //flag
	Phone                string //flag
	Photo                TL     // UserProfilePhoto //flag
	Status               TL     // UserStatus //flag
	BotInfoVersion       int32  //flag
	RestrictionReason    []TL   // RestrictionReason //flag
	BotInlinePlaceholder string //flag
	LangCode             string //flag
}

type TL_userEmpty

type TL_userEmpty struct {
	ID int32
}

type TL_userFull

type TL_userFull struct {
	Flags               int32
	Blocked             bool   //flag
	PhoneCallsAvailable bool   //flag
	PhoneCallsPrivate   bool   //flag
	CanPinMessage       bool   //flag
	HasScheduled        bool   //flag
	User                TL     // User
	About               string //flag
	Settings            TL     // PeerSettings
	ProfilePhoto        TL     // Photo //flag
	NotifySettings      TL     // PeerNotifySettings
	BotInfo             TL     // BotInfo //flag
	PinnedMsgID         int32  //flag
	CommonChatsCount    int32
	FolderID            int32 //flag
}

type TL_userProfilePhoto

type TL_userProfilePhoto struct {
	PhotoID    int64
	PhotoSmall TL // FileLocation
	PhotoBig   TL // FileLocation
	DcID       int32
}

type TL_userProfilePhotoEmpty

type TL_userProfilePhotoEmpty struct {
}

type TL_userStatusEmpty

type TL_userStatusEmpty struct {
}

type TL_userStatusLastMonth

type TL_userStatusLastMonth struct {
}

type TL_userStatusLastWeek

type TL_userStatusLastWeek struct {
}

type TL_userStatusOffline

type TL_userStatusOffline struct {
	WasOnline int32
}

type TL_userStatusOnline

type TL_userStatusOnline struct {
	Expires int32
}

type TL_userStatusRecently

type TL_userStatusRecently struct {
}

type TL_users_getFullUser

type TL_users_getFullUser struct {
	ID TL // InputUser
}

type TL_users_getUsers

type TL_users_getUsers struct {
	ID []TL // InputUser
}

type TL_users_setSecureValueErrors

type TL_users_setSecureValueErrors struct {
	ID     TL   // InputUser
	Errors []TL // SecureValueError
}

type TL_videoSize

type TL_videoSize struct {
	Type     string
	Location TL // FileLocation
	W        int32
	H        int32
	Size     int32
}

type TL_wallPaper

type TL_wallPaper struct {
	ID         int64
	Flags      int32
	Creator    bool //flag
	Default    bool //flag
	Pattern    bool //flag
	Dark       bool //flag
	AccessHash int64
	Slug       string
	Document   TL // Document
	Settings   TL // WallPaperSettings //flag
}

type TL_wallPaperNoFile

type TL_wallPaperNoFile struct {
	Flags    int32
	Default  bool //flag
	Dark     bool //flag
	Settings TL   // WallPaperSettings //flag
}

type TL_wallPaperSettings

type TL_wallPaperSettings struct {
	Flags                 int32
	Blur                  bool  //flag
	Motion                bool  //flag
	BackgroundColor       int32 //flag
	SecondBackgroundColor int32 //flag
	Intensity             int32 //flag
	Rotation              int32 //flag
}

type TL_webAuthorization

type TL_webAuthorization struct {
	Hash        int64
	BotID       int32
	Domain      string
	Browser     string
	Platform    string
	DateCreated int32
	DateActive  int32
	Ip          string
	Region      string
}

type TL_webDocument

type TL_webDocument struct {
	Url        string
	AccessHash int64
	Size       int32
	MimeType   string
	Attributes []TL // DocumentAttribute
}

type TL_webDocumentNoProxy

type TL_webDocumentNoProxy struct {
	Url        string
	Size       int32
	MimeType   string
	Attributes []TL // DocumentAttribute
}

type TL_webPage

type TL_webPage struct {
	Flags       int32
	ID          int64
	Url         string
	DisplayUrl  string
	Hash        int32
	Type        string //flag
	SiteName    string //flag
	Title       string //flag
	Description string //flag
	Photo       TL     // Photo //flag
	EmbedUrl    string //flag
	EmbedType   string //flag
	EmbedWidth  int32  //flag
	EmbedHeight int32  //flag
	Duration    int32  //flag
	Author      string //flag
	Document    TL     // Document //flag
	CachedPage  TL     // Page //flag
	Attributes  []TL   // WebPageAttribute //flag
}

type TL_webPageAttributeTheme

type TL_webPageAttributeTheme struct {
	Flags     int32
	Documents []TL // Document //flag
	Settings  TL   // ThemeSettings //flag
}

type TL_webPageEmpty

type TL_webPageEmpty struct {
	ID int64
}

type TL_webPageNotModified

type TL_webPageNotModified struct {
	Flags           int32
	CachedPageViews int32 //flag
}

type TL_webPagePending

type TL_webPagePending struct {
	ID   int64
	Date int32
}

type VectorInt

type VectorInt []int32

type VectorLong

type VectorLong []int64

type VectorObject

type VectorObject []TL

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL