mtproto

package
v0.192.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 32 Imported by: 3

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                                                              = 192
	CRC_resPQ                                                             = 0x05162463
	CRC_pqInnerData                                                       = 0x83c95aec
	CRC_pqInnerDataDC                                                     = 0xa9f55f95
	CRC_pqInnerDataTemp                                                   = 0x3c6a84d4
	CRC_pqInnerDataTempDC                                                 = 0x56fddf88
	CRC_bindAuthKeyInner                                                  = 0x75a3f765
	CRC_serverDHParamsFail                                                = 0x79cb045d
	CRC_serverDHParamsOK                                                  = 0xd0e8075c
	CRC_serverDHInnerData                                                 = 0xb5890dba
	CRC_clientDHInnerData                                                 = 0x6643b654
	CRC_dhGenOK                                                           = 0x3bcbf734
	CRC_dhGenRetry                                                        = 0x46dc1fb9
	CRC_dhGenFail                                                         = 0xa69dae02
	CRC_destroyAuthKeyOK                                                  = 0xf660e1d4
	CRC_destroyAuthKeyNone                                                = 0x0a9f2259
	CRC_destroyAuthKeyFail                                                = 0xea109b13
	CRC_reqPQ                                                             = 0x60469778
	CRC_reqPQMulti                                                        = 0xbe7e8ef1
	CRC_reqDHParams                                                       = 0xd712e4be
	CRC_setClientDHParams                                                 = 0xf5045f1f
	CRC_destroyAuthKey                                                    = 0xd1435160
	CRC_msgsACK                                                           = 0x62d6b459
	CRC_badMsgNotification                                                = 0xa7eff811
	CRC_badServerSalt                                                     = 0xedab447b
	CRC_msgsStateReq                                                      = 0xda69fb52
	CRC_msgsStateInfo                                                     = 0x04deb57d
	CRC_msgsAllInfo                                                       = 0x8cc0d131
	CRC_msgDetailedInfo                                                   = 0x276d3ec6
	CRC_msgNewDetailedInfo                                                = 0x809db6df
	CRC_msgResendReq                                                      = 0x7d861a08
	CRC_rpcError                                                          = 0x2144ca19
	CRC_rpcAnswerUnknown                                                  = 0x5e2ad36e
	CRC_rpcAnswerDroppedRunning                                           = 0xcd78e586
	CRC_rpcAnswerDropped                                                  = 0xa43ad8b7
	CRC_futureSalt                                                        = 0x0949d9dc
	CRC_futureSalts                                                       = 0xae500895
	CRC_pong                                                              = 0x347773c5
	CRC_destroySessionOK                                                  = 0xe22045fc
	CRC_destroySessionNone                                                = 0x62d350c9
	CRC_newSessionCreated                                                 = 0x9ec20908
	CRC_httpWait                                                          = 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_tlsBlockPermutation                                               = 0xd51f148e
	CRC_rpcDropAnswer                                                     = 0x58e4a740
	CRC_getFutureSalts                                                    = 0xb921bd04
	CRC_ping                                                              = 0x7abe77ec
	CRC_pingDelayDisconnect                                               = 0xf3427b8c
	CRC_destroySession                                                    = 0xe7512126
	CRC_boolFalse                                                         = 0xbc799737
	CRC_boolTrue                                                          = 0x997275b5
	CRC_true                                                              = 0x3fedd339
	CRC_error                                                             = 0xc4b9f9bb
	CRC_null                                                              = 0x56730bcc
	CRC_inputPeerEmpty                                                    = 0x7f3b18ea
	CRC_inputPeerSelf                                                     = 0x7da07ec9
	CRC_inputPeerChat                                                     = 0x35a95cb9
	CRC_inputPeerUser                                                     = 0xdde8a54c
	CRC_inputPeerChannel                                                  = 0x27bcbbfc
	CRC_inputPeerUserFromMessage                                          = 0xa87b0a1c
	CRC_inputPeerChannelFromMessage                                       = 0xbd2a0840
	CRC_inputUserEmpty                                                    = 0xb98886cf
	CRC_inputUserSelf                                                     = 0xf7c1b13f
	CRC_inputUser                                                         = 0xf21158c6
	CRC_inputUserFromMessage                                              = 0x1da448e2
	CRC_inputPhoneContact                                                 = 0xf392b7f4
	CRC_inputFile                                                         = 0xf52ff27f
	CRC_inputFileBig                                                      = 0xfa4f0bb5
	CRC_inputFileStoryDocument                                            = 0x62dc8b48
	CRC_inputMediaEmpty                                                   = 0x9664f57f
	CRC_inputMediaUploadedPhoto                                           = 0x1e287d04
	CRC_inputMediaPhoto                                                   = 0xb3ba0635
	CRC_inputMediaGeoPoint                                                = 0xf9c44144
	CRC_inputMediaContact                                                 = 0xf8ab7dfb
	CRC_inputMediaUploadedDocument                                        = 0x5b38c6c1
	CRC_inputMediaDocument                                                = 0x33473058
	CRC_inputMediaVenue                                                   = 0xc13d1c11
	CRC_inputMediaPhotoExternal                                           = 0xe5bbfe1a
	CRC_inputMediaDocumentExternal                                        = 0xfb52dc99
	CRC_inputMediaGame                                                    = 0xd33f43f3
	CRC_inputMediaInvoice                                                 = 0x405fef0d
	CRC_inputMediaGeoLive                                                 = 0x971fa843
	CRC_inputMediaPoll                                                    = 0x0f94e5f1
	CRC_inputMediaDice                                                    = 0xe66fbf7b
	CRC_inputMediaStory                                                   = 0x89fdd778
	CRC_inputMediaWebPage                                                 = 0xc21b8849
	CRC_inputMediaPaidMedia                                               = 0xc4103386
	CRC_inputChatPhotoEmpty                                               = 0x1ca48f57
	CRC_inputChatUploadedPhoto                                            = 0xbdcdaec0
	CRC_inputChatPhoto                                                    = 0x8953ad37
	CRC_inputGeoPointEmpty                                                = 0xe4c123d6
	CRC_inputGeoPoint                                                     = 0x48222faf
	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                                        = 0x37257e99
	CRC_inputStickerSetThumb                                              = 0x9d84f3db
	CRC_inputGroupCallStream                                              = 0x0598a92a
	CRC_peerUser                                                          = 0x59511722
	CRC_peerChat                                                          = 0x36c6019a
	CRC_peerChannel                                                       = 0xa2a5371e
	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                                                         = 0xd3bc4b7a
	CRC_user                                                              = 0x83314fca
	CRC_userProfilePhotoEmpty                                             = 0x4f11bae1
	CRC_userProfilePhoto                                                  = 0x82d1f706
	CRC_userStatusEmpty                                                   = 0x09d05049
	CRC_userStatusOnline                                                  = 0xedb93949
	CRC_userStatusOffline                                                 = 0x008c703f
	CRC_userStatusRecently                                                = 0x7b197dc8
	CRC_userStatusLastWeek                                                = 0x541a1d1a
	CRC_userStatusLastMonth                                               = 0x65899777
	CRC_chatEmpty                                                         = 0x29562865
	CRC_chat                                                              = 0x41cbf256
	CRC_chatForbidden                                                     = 0x6592a1a7
	CRC_channel                                                           = 0xfe4478bd
	CRC_channelForbidden                                                  = 0x17d493d5
	CRC_chatFull                                                          = 0x2633421b
	CRC_channelFull                                                       = 0xbbab348d
	CRC_chatParticipant                                                   = 0xc02d4007
	CRC_chatParticipantCreator                                            = 0xe46bcee4
	CRC_chatParticipantAdmin                                              = 0xa0933f5b
	CRC_chatParticipantsForbidden                                         = 0x8763d3e1
	CRC_chatParticipants                                                  = 0x3cbc93f8
	CRC_chatPhotoEmpty                                                    = 0x37c1011c
	CRC_chatPhoto                                                         = 0x1c6e1c11
	CRC_messageEmpty                                                      = 0x90a6ca84
	CRC_message                                                           = 0x94345242
	CRC_messageService                                                    = 0x2b085862
	CRC_messageMediaEmpty                                                 = 0x3ded6320
	CRC_messageMediaPhoto                                                 = 0x695150d7
	CRC_messageMediaGeo                                                   = 0x56e0d474
	CRC_messageMediaContact                                               = 0x70322949
	CRC_messageMediaUnsupported                                           = 0x9f84f49e
	CRC_messageMediaDocument                                              = 0xdd570bd5
	CRC_messageMediaWebPage                                               = 0xddf10c3b
	CRC_messageMediaVenue                                                 = 0x2ec0533f
	CRC_messageMediaGame                                                  = 0xfdb19008
	CRC_messageMediaInvoice                                               = 0xf6a548d3
	CRC_messageMediaGeoLive                                               = 0xb940c666
	CRC_messageMediaPoll                                                  = 0x4bd6e798
	CRC_messageMediaDice                                                  = 0x3f7ee58b
	CRC_messageMediaStory                                                 = 0x68cb6283
	CRC_messageMediaGiveaway                                              = 0xaa073beb
	CRC_messageMediaGiveawayResults                                       = 0xceaa3ea1
	CRC_messageMediaPaidMedia                                             = 0xa8852491
	CRC_messageActionEmpty                                                = 0xb6aef7b0
	CRC_messageActionChatCreate                                           = 0xbd47cbad
	CRC_messageActionChatEditTitle                                        = 0xb5a1ce5a
	CRC_messageActionChatEditPhoto                                        = 0x7fcb13a8
	CRC_messageActionChatDeletePhoto                                      = 0x95e3fbef
	CRC_messageActionChatAddUser                                          = 0x15cefd00
	CRC_messageActionChatDeleteUser                                       = 0xa43f30cc
	CRC_messageActionChatJoinedByLink                                     = 0x031224c3
	CRC_messageActionChannelCreate                                        = 0x95d2ac92
	CRC_messageActionChatMigrateTo                                        = 0xe1037f92
	CRC_messageActionChannelMigrateFrom                                   = 0xea3948e9
	CRC_messageActionPINMessage                                           = 0x94bd38ed
	CRC_messageActionHistoryClear                                         = 0x9fbab604
	CRC_messageActionGameScore                                            = 0x92a72876
	CRC_messageActionPaymentSentMe                                        = 0x8f31b327
	CRC_messageActionPaymentSent                                          = 0x96163f56
	CRC_messageActionPhoneCall                                            = 0x80e11a7f
	CRC_messageActionScreenshotTaken                                      = 0x4792929b
	CRC_messageActionCustomAction                                         = 0xfae69f56
	CRC_messageActionBotAllowed                                           = 0xc516d679
	CRC_messageActionSecureValuesSentMe                                   = 0x1b287353
	CRC_messageActionSecureValuesSent                                     = 0xd95c6154
	CRC_messageActionContactSignUp                                        = 0xf3f25f76
	CRC_messageActionGeoProximityReached                                  = 0x98e0d697
	CRC_messageActionGroupCall                                            = 0x7a0d7f42
	CRC_messageActionInviteToGroupCall                                    = 0x502f92f7
	CRC_messageActionSetMessagesTTL                                       = 0x3c134d7b
	CRC_messageActionGroupCallScheduled                                   = 0xb3a07661
	CRC_messageActionSetChatTheme                                         = 0xaa786345
	CRC_messageActionChatJoinedByRequest                                  = 0xebbca3cb
	CRC_messageActionWebViewDataSentMe                                    = 0x47dd8079
	CRC_messageActionWebViewDataSent                                      = 0xb4c38cb5
	CRC_messageActionGiftPremium                                          = 0x6c6274fa
	CRC_messageActionTopicCreate                                          = 0x0d999256
	CRC_messageActionTopicEdit                                            = 0xc0944820
	CRC_messageActionSuggestProfilePhoto                                  = 0x57de635e
	CRC_messageActionRequestedPeer                                        = 0x31518e9b
	CRC_messageActionSetChatWallPaper                                     = 0x5060a3f4
	CRC_messageActionGiftCode                                             = 0x56d03994
	CRC_messageActionGiveawayLaunch                                       = 0xa80f51e4
	CRC_messageActionGiveawayResults                                      = 0x87e2f155
	CRC_messageActionBoostApply                                           = 0xcc02aa6d
	CRC_messageActionRequestedPeerSentMe                                  = 0x93b31848
	CRC_messageActionPaymentRefunded                                      = 0x41b3e202
	CRC_messageActionGiftStars                                            = 0x45d5b021
	CRC_messageActionPrizeStars                                           = 0xb00c47a2
	CRC_messageActionStarGift                                             = 0x9bb3ef44
	CRC_dialog                                                            = 0xd58a08c6
	CRC_dialogFolder                                                      = 0x71bd134c
	CRC_photoEmpty                                                        = 0x2331b22d
	CRC_photo                                                             = 0xfb197a65
	CRC_photoSizeEmpty                                                    = 0x0e17e23c
	CRC_photoSize                                                         = 0x75c78e60
	CRC_photoCachedSize                                                   = 0x021e1ad6
	CRC_photoStrippedSize                                                 = 0xe0b0bc2e
	CRC_photoSizeProgressive                                              = 0xfa3efb95
	CRC_photoPathSize                                                     = 0xd8214d41
	CRC_geoPointEmpty                                                     = 0x1117dd5f
	CRC_geoPoint                                                          = 0xb2a2f663
	CRC_auth_sentCode                                                     = 0x5e002502
	CRC_auth_sentCodeSuccess                                              = 0x2390fe44
	CRC_auth_authorization                                                = 0x2ea2c0d4
	CRC_auth_authorizationSignUpRequired                                  = 0x44747e9a
	CRC_auth_exportedAuthorization                                        = 0xb434e2b8
	CRC_inputNotifyPeer                                                   = 0xb8bc5b0c
	CRC_inputNotifyUsers                                                  = 0x193b4417
	CRC_inputNotifyChats                                                  = 0x4a95e84e
	CRC_inputNotifyBroadcasts                                             = 0xb1db7c7e
	CRC_inputNotifyForumTopic                                             = 0x5c467992
	CRC_inputPeerNotifySettings                                           = 0xcacb6ae2
	CRC_peerNotifySettings                                                = 0x99622c0c
	CRC_peerSettings                                                      = 0xacd66c5e
	CRC_wallPaper                                                         = 0xa437c3ed
	CRC_wallPaperNoFile                                                   = 0xe0804116
	CRC_inputReportReasonSpam                                             = 0x58dbcab8
	CRC_inputReportReasonViolence                                         = 0x1e22c78d
	CRC_inputReportReasonPornography                                      = 0x2e59d922
	CRC_inputReportReasonChildAbuse                                       = 0xadf44ee3
	CRC_inputReportReasonOther                                            = 0xc1e4a2b1
	CRC_inputReportReasonCopyright                                        = 0x9b89f93a
	CRC_inputReportReasonGeoIrrelevant                                    = 0xdbd4feed
	CRC_inputReportReasonFake                                             = 0xf5ddd6e7
	CRC_inputReportReasonIllegalDrugs                                     = 0x0a8eb2be
	CRC_inputReportReasonPersonalDetails                                  = 0x9ec7863d
	CRC_userFull                                                          = 0x1f58e369
	CRC_contact                                                           = 0x145ade0b
	CRC_importedContact                                                   = 0xc13e3c50
	CRC_contactStatus                                                     = 0x16d9703b
	CRC_contacts_contactsNotModified                                      = 0xb74ba9d2
	CRC_contacts_contacts                                                 = 0xeae87e42
	CRC_contacts_importedContacts                                         = 0x77d01c3b
	CRC_contacts_blocked                                                  = 0x0ade1591
	CRC_contacts_blockedSlice                                             = 0xe1664194
	CRC_messages_dialogs                                                  = 0x15ba6c40
	CRC_messages_dialogsSlice                                             = 0x71e094f3
	CRC_messages_dialogsNotModified                                       = 0xf0e3e596
	CRC_messages_messages                                                 = 0x8c718e87
	CRC_messages_messagesSlice                                            = 0x3a54685e
	CRC_messages_channelMessages                                          = 0xc776ba4e
	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_inputMessagesFilterPinned                                         = 0x1bb00451
	CRC_updateNewMessage                                                  = 0x1f2b0afd
	CRC_updateMessageID                                                   = 0x4e90bfd6
	CRC_updateDeleteMessages                                              = 0xa20db0e5
	CRC_updateUserTyping                                                  = 0xc01e857f
	CRC_updateChatUserTyping                                              = 0x83487af0
	CRC_updateChatParticipants                                            = 0x07761198
	CRC_updateUserStatus                                                  = 0xe5bdf8de
	CRC_updateUserName                                                    = 0xa7848924
	CRC_updateNewAuthorization                                            = 0x8951abef
	CRC_updateNewEncryptedMessage                                         = 0x12bcbd9a
	CRC_updateEncryptedChatTyping                                         = 0x1710f156
	CRC_updateEncryption                                                  = 0xb4a2e88d
	CRC_updateEncryptedMessagesRead                                       = 0x38fe25b7
	CRC_updateChatParticipantAdd                                          = 0x3dda5451
	CRC_updateChatParticipantDelete                                       = 0xe32f3d77
	CRC_updateDCOptions                                                   = 0x8e5e9873
	CRC_updateNotifySettings                                              = 0xbec268ef
	CRC_updateServiceNotification                                         = 0xebe46819
	CRC_updatePrivacy                                                     = 0xee3b272a
	CRC_updateUserPhone                                                   = 0x05492a13
	CRC_updateReadHistoryInbox                                            = 0x9c974fdf
	CRC_updateReadHistoryOutbox                                           = 0x2f2f21bf
	CRC_updateWebPage                                                     = 0x7f891213
	CRC_updateReadMessagesContents                                        = 0xf8227181
	CRC_updateChannelTooLong                                              = 0x108d941f
	CRC_updateChannel                                                     = 0x635b4c09
	CRC_updateNewChannelMessage                                           = 0x62ba04d9
	CRC_updateReadChannelInbox                                            = 0x922e6e10
	CRC_updateDeleteChannelMessages                                       = 0xc32d5b12
	CRC_updateChannelMessageViews                                         = 0xf226ac08
	CRC_updateChatParticipantAdmin                                        = 0xd7ca61a2
	CRC_updateNewStickerSet                                               = 0x688a30aa
	CRC_updateStickerSetsOrder                                            = 0x0bb2d201
	CRC_updateStickerSets                                                 = 0x31c24808
	CRC_updateSavedGIFs                                                   = 0x9375341e
	CRC_updateBotInlineQuery                                              = 0x496f379c
	CRC_updateBotInlineSend                                               = 0x12f12a07
	CRC_updateEditChannelMessage                                          = 0x1b3f4df7
	CRC_updateBotCallbackQuery                                            = 0xb9cfc48d
	CRC_updateEditMessage                                                 = 0xe40370a3
	CRC_updateInlineBotCallbackQuery                                      = 0x691e9052
	CRC_updateReadChannelOutbox                                           = 0xb75f99a9
	CRC_updateDraftMessage                                                = 0x1b49ec6d
	CRC_updateReadFeaturedStickers                                        = 0x571d2742
	CRC_updateRecentStickers                                              = 0x9a422c20
	CRC_updateConfig                                                      = 0xa229dd06
	CRC_updatePTSChanged                                                  = 0x3354678f
	CRC_updateChannelWebPage                                              = 0x2f2ba99f
	CRC_updateDialogPinned                                                = 0x6e6fe51c
	CRC_updatePinnedDialogs                                               = 0xfa0f3ca2
	CRC_updateBotWebhookJSON                                              = 0x8317c0c3
	CRC_updateBotWebhookJSONQuery                                         = 0x9b9240a6
	CRC_updateBotShippingQuery                                            = 0xb5aefd7d
	CRC_updateBotPrecheckoutQuery                                         = 0x8caa9a96
	CRC_updatePhoneCall                                                   = 0xab0f6b1e
	CRC_updateLangPackTooLong                                             = 0x46560264
	CRC_updateLangPack                                                    = 0x56022f4d
	CRC_updateFavedStickers                                               = 0xe511996d
	CRC_updateChannelReadMessagesContents                                 = 0xea29055d
	CRC_updateContactsReset                                               = 0x7084a7be
	CRC_updateChannelAvailableMessages                                    = 0xb23fc698
	CRC_updateDialogUnreadMark                                            = 0xe16459c3
	CRC_updateMessagePoll                                                 = 0xaca1657b
	CRC_updateChatDefaultBannedRights                                     = 0x54c01850
	CRC_updateFolderPeers                                                 = 0x19360dc0
	CRC_updatePeerSettings                                                = 0x6a7e7366
	CRC_updatePeerLocated                                                 = 0xb4afcfb0
	CRC_updateNewScheduledMessage                                         = 0x39a51dfb
	CRC_updateDeleteScheduledMessages                                     = 0xf2a71983
	CRC_updateTheme                                                       = 0x8216fba3
	CRC_updateGeoLiveViewed                                               = 0x871fb939
	CRC_updateLoginToken                                                  = 0x564fe691
	CRC_updateMessagePollVote                                             = 0x24f40e77
	CRC_updateDialogFilter                                                = 0x26ffde7d
	CRC_updateDialogFilterOrder                                           = 0xa5d72105
	CRC_updateDialogFilters                                               = 0x3504914f
	CRC_updatePhoneCallSignalingData                                      = 0x2661bf09
	CRC_updateChannelMessageForwards                                      = 0xd29a27f4
	CRC_updateReadChannelDiscussionInbox                                  = 0xd6b19546
	CRC_updateReadChannelDiscussionOutbox                                 = 0x695c9e7c
	CRC_updatePeerBlocked                                                 = 0xebe07752
	CRC_updateChannelUserTyping                                           = 0x8c88c923
	CRC_updatePinnedMessages                                              = 0xed85eab5
	CRC_updatePinnedChannelMessages                                       = 0x5bb98608
	CRC_updateChat                                                        = 0xf89a6a4e
	CRC_updateGroupCallParticipants                                       = 0xf2ebdb4e
	CRC_updateGroupCall                                                   = 0x14b24500
	CRC_updatePeerHistoryTTL                                              = 0xbb9bb9a5
	CRC_updateChatParticipant                                             = 0xd087663a
	CRC_updateChannelParticipant                                          = 0x985d3abb
	CRC_updateBotStopped                                                  = 0xc4870a49
	CRC_updateGroupCallConnection                                         = 0x0b783982
	CRC_updateBotCommands                                                 = 0x4d712f2e
	CRC_updatePendingJoinRequests                                         = 0x7063c3db
	CRC_updateBotChatInviteRequester                                      = 0x11dfa986
	CRC_updateMessageReactions                                            = 0x5e1b3cb8
	CRC_updateAttachMenuBots                                              = 0x17b7a20b
	CRC_updateWebViewResultSent                                           = 0x1592b79d
	CRC_updateBotMenuButton                                               = 0x14b85813
	CRC_updateSavedRingtones                                              = 0x74d8be99
	CRC_updateTranscribedAudio                                            = 0x0084cd5a
	CRC_updateReadFeaturedEmojiStickers                                   = 0xfb4c496c
	CRC_updateUserEmojiStatus                                             = 0x28373599
	CRC_updateRecentEmojiStatuses                                         = 0x30f443db
	CRC_updateRecentReactions                                             = 0x6f7863f4
	CRC_updateMoveStickerSetToTop                                         = 0x86fccf85
	CRC_updateMessageExtendedMedia                                        = 0xd5a41724
	CRC_updateChannelPinnedTopic                                          = 0x192efbe3
	CRC_updateChannelPinnedTopics                                         = 0xfe198602
	CRC_updateUser                                                        = 0x20529438
	CRC_updateAutoSaveSettings                                            = 0xec05b097
	CRC_updateStory                                                       = 0x75b3b798
	CRC_updateReadStories                                                 = 0xf74e932b
	CRC_updateStoryID                                                     = 0x1bf335b9
	CRC_updateStoriesStealthMode                                          = 0x2c084dc1
	CRC_updateSentStoryReaction                                           = 0x7d627683
	CRC_updateBotChatBoost                                                = 0x904dd49c
	CRC_updateChannelViewForumAsMessages                                  = 0x07b68920
	CRC_updatePeerWallpaper                                               = 0xae3f101d
	CRC_updateBotMessageReaction                                          = 0xac21d3ce
	CRC_updateBotMessageReactions                                         = 0x09cb7759
	CRC_updateSavedDialogPinned                                           = 0xaeaf9e74
	CRC_updatePinnedSavedDialogs                                          = 0x686c85a6
	CRC_updateSavedReactionTags                                           = 0x39c67432
	CRC_updateSMSJob                                                      = 0xf16269d4
	CRC_updateQuickReplies                                                = 0xf9470ab2
	CRC_updateNewQuickReply                                               = 0xf53da717
	CRC_updateDeleteQuickReply                                            = 0x53e6f1ec
	CRC_updateQuickReplyMessage                                           = 0x3e050d0f
	CRC_updateDeleteQuickReplyMessages                                    = 0x566fe7cd
	CRC_updateBotBusinessConnect                                          = 0x8ae5c97a
	CRC_updateBotNewBusinessMessage                                       = 0x9ddb347c
	CRC_updateBotEditBusinessMessage                                      = 0x07df587c
	CRC_updateBotDeleteBusinessMessage                                    = 0xa02a982e
	CRC_updateNewStoryReaction                                            = 0x1824e40b
	CRC_updateBroadcastRevenueTransactions                                = 0xdfd961f5
	CRC_updateStarsBalance                                                = 0x0fb85198
	CRC_updateBusinessBotCallbackQuery                                    = 0x1ea2fda7
	CRC_updateStarsRevenueStatus                                          = 0xa584b019
	CRC_updateBotPurchasedPaidMedia                                       = 0x283bd312
	CRC_updatePaidReactionPrivacy                                         = 0x51ca7aec
	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                                                = 0x313bc7f8
	CRC_updateShortChatMessage                                            = 0x4d6deea5
	CRC_updateShort                                                       = 0x78d4dec1
	CRC_updatesCombined                                                   = 0x725b04c3
	CRC_updates                                                           = 0x74ae4240
	CRC_updateShortSentMessage                                            = 0x9015e101
	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                                                            = 0xcc1a241e
	CRC_nearestDC                                                         = 0x8e1a1775
	CRC_help_appUpdate                                                    = 0xccbbce30
	CRC_help_noAppUpdate                                                  = 0xc45a6536
	CRC_help_inviteText                                                   = 0x18cb9f78
	CRC_encryptedChatEmpty                                                = 0xab7ec0a0
	CRC_encryptedChatWaiting                                              = 0x66b25953
	CRC_encryptedChatRequested                                            = 0x48f1d94c
	CRC_encryptedChat                                                     = 0x61f0d4c7
	CRC_encryptedChatDiscarded                                            = 0x1e1c7c45
	CRC_inputEncryptedChat                                                = 0xf141b5e1
	CRC_encryptedFileEmpty                                                = 0xc21f497e
	CRC_encryptedFile                                                     = 0xa8008cd8
	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                                                          = 0x8fd4c4d8
	CRC_help_support                                                      = 0x17c6b5f6
	CRC_notifyPeer                                                        = 0x9fd40bd8
	CRC_notifyUsers                                                       = 0xb4c83b4c
	CRC_notifyChats                                                       = 0xc007cec3
	CRC_notifyBroadcasts                                                  = 0xd612e8ef
	CRC_notifyForumTopic                                                  = 0x226e6308
	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_speakingInGroupCallAction                                         = 0xd92c2285
	CRC_sendMessageHistoryImportAction                                    = 0xdbda9246
	CRC_sendMessageChooseStickerAction                                    = 0xb05ac6b1
	CRC_sendMessageEmojiInteraction                                       = 0x25972bcb
	CRC_sendMessageEmojiInteractionSeen                                   = 0xb665902e
	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_inputPrivacyKeyVoiceMessages                                      = 0xaee69d68
	CRC_inputPrivacyKeyAbout                                              = 0x3823cc40
	CRC_inputPrivacyKeyBirthday                                           = 0xd65a11cc
	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_privacyKeyVoiceMessages                                           = 0x0697f414
	CRC_privacyKeyAbout                                                   = 0xa486b761
	CRC_privacyKeyBirthday                                                = 0x2000a518
	CRC_inputPrivacyValueAllowContacts                                    = 0x0d09e07b
	CRC_inputPrivacyValueAllowAll                                         = 0x184b35ce
	CRC_inputPrivacyValueAllowUsers                                       = 0x131cc67f
	CRC_inputPrivacyValueDisallowContacts                                 = 0x0ba52007
	CRC_inputPrivacyValueDisallowAll                                      = 0xd66b66c9
	CRC_inputPrivacyValueDisallowUsers                                    = 0x90110467
	CRC_inputPrivacyValueAllowChatParticipants                            = 0x840649cf
	CRC_inputPrivacyValueDisallowChatParticipants                         = 0xe94f0f86
	CRC_inputPrivacyValueAllowCloseFriends                                = 0x2f453e49
	CRC_inputPrivacyValueAllowPremium                                     = 0x77cdc9f1
	CRC_privacyValueAllowContacts                                         = 0xfffe1bac
	CRC_privacyValueAllowAll                                              = 0x65427b82
	CRC_privacyValueAllowUsers                                            = 0xb8905fb2
	CRC_privacyValueDisallowContacts                                      = 0xf888fa1a
	CRC_privacyValueDisallowAll                                           = 0x8b73e763
	CRC_privacyValueDisallowUsers                                         = 0xe4621141
	CRC_privacyValueAllowChatParticipants                                 = 0x6b134e8e
	CRC_privacyValueDisallowChatParticipants                              = 0x41c87565
	CRC_privacyValueAllowCloseFriends                                     = 0xf7e8d89b
	CRC_privacyValueAllowPremium                                          = 0xece9814b
	CRC_account_privacyRules                                              = 0x50a04e45
	CRC_accountDaysTTL                                                    = 0xb8d0afdf
	CRC_documentAttributeImageSize                                        = 0x6c37c15c
	CRC_documentAttributeAnimated                                         = 0x11b58939
	CRC_documentAttributeSticker                                          = 0x6319d612
	CRC_documentAttributeVideo                                            = 0x43c57c48
	CRC_documentAttributeAudio                                            = 0x9852f9c6
	CRC_documentAttributeFilename                                         = 0x15590068
	CRC_documentAttributeHasStickers                                      = 0x9801d2f7
	CRC_documentAttributeCustomEmoji                                      = 0xfd149899
	CRC_messages_stickersNotModified                                      = 0xf1749a22
	CRC_messages_stickers                                                 = 0x30a6ec7e
	CRC_stickerPack                                                       = 0x12b299d4
	CRC_messages_allStickersNotModified                                   = 0xe86602c3
	CRC_messages_allStickers                                              = 0xcdbbcebb
	CRC_messages_affectedMessages                                         = 0x84d19185
	CRC_webPageEmpty                                                      = 0x211a1788
	CRC_webPagePending                                                    = 0xb0d13e47
	CRC_webPage                                                           = 0xe89c45b2
	CRC_webPageNotModified                                                = 0x7311ca11
	CRC_authorization                                                     = 0xad01d61d
	CRC_account_authorizations                                            = 0x4bff8ea0
	CRC_account_password                                                  = 0x957b50fb
	CRC_account_passwordSettings                                          = 0x9a5c33e5
	CRC_account_passwordInputSettings                                     = 0xc23727c9
	CRC_auth_passwordRecovery                                             = 0x137948a5
	CRC_receivedNotifyMessage                                             = 0xa384b779
	CRC_chatInviteExported                                                = 0xa22cbd96
	CRC_chatInvitePublicJoinRequests                                      = 0xed107ab7
	CRC_chatInviteAlready                                                 = 0x5a686d7c
	CRC_chatInvite                                                        = 0xfe65389d
	CRC_chatInvitePeek                                                    = 0x61695cb0
	CRC_inputStickerSetEmpty                                              = 0xffb62b95
	CRC_inputStickerSetID                                                 = 0x9de7a269
	CRC_inputStickerSetShortName                                          = 0x861cc8a0
	CRC_inputStickerSetAnimatedEmoji                                      = 0x028703c8
	CRC_inputStickerSetDice                                               = 0xe67f520e
	CRC_inputStickerSetAnimatedEmojiAnimations                            = 0x0cde3739
	CRC_inputStickerSetPremiumGifts                                       = 0xc88b3b02
	CRC_inputStickerSetEmojiGenericAnimations                             = 0x04c4d4ce
	CRC_inputStickerSetEmojiDefaultStatuses                               = 0x29d0f5ee
	CRC_inputStickerSetEmojiDefaultTopicIcons                             = 0x44c1f8e9
	CRC_inputStickerSetEmojiChannelDefaultStatuses                        = 0x49748553
	CRC_stickerSet                                                        = 0x2dd14edc
	CRC_messages_stickerSet                                               = 0x6e153f16
	CRC_messages_stickerSetNotModified                                    = 0xd3f924eb
	CRC_botCommand                                                        = 0xc27ac8c7
	CRC_botInfo                                                           = 0x82437e74
	CRC_keyboardButton                                                    = 0xa2fa4880
	CRC_keyboardButtonURL                                                 = 0x258aff05
	CRC_keyboardButtonCallback                                            = 0x35bbdb6b
	CRC_keyboardButtonRequestPhone                                        = 0xb16a6c29
	CRC_keyboardButtonRequestGeoLocation                                  = 0xfc796b3f
	CRC_keyboardButtonSwitchInline                                        = 0x93b9fbb5
	CRC_keyboardButtonGame                                                = 0x50f41ccf
	CRC_keyboardButtonBuy                                                 = 0xafd93fbb
	CRC_keyboardButtonURLAuth                                             = 0x10b78d29
	CRC_inputKeyboardButtonURLAuth                                        = 0xd02e7fd4
	CRC_keyboardButtonRequestPoll                                         = 0xbbc7515d
	CRC_inputKeyboardButtonUserProfile                                    = 0xe988037b
	CRC_keyboardButtonUserProfile                                         = 0x308660c1
	CRC_keyboardButtonWebView                                             = 0x13767230
	CRC_keyboardButtonSimpleWebView                                       = 0xa0c0505c
	CRC_keyboardButtonRequestPeer                                         = 0x53d7bfd8
	CRC_inputKeyboardButtonRequestPeer                                    = 0xc9662d05
	CRC_keyboardButtonCopy                                                = 0x75d2698e
	CRC_keyboardButtonRow                                                 = 0x77608b83
	CRC_replyKeyboardHide                                                 = 0xa03e5b85
	CRC_replyKeyboardForceReply                                           = 0x86b40b08
	CRC_replyKeyboardMarkup                                               = 0x85dd99d1
	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                                          = 0xdc7b1140
	CRC_inputMessageEntityMentionName                                     = 0x208e68c9
	CRC_messageEntityPhone                                                = 0x9b69e34b
	CRC_messageEntityCashtag                                              = 0x4c4e743f
	CRC_messageEntityUnderline                                            = 0x9c4e7e8b
	CRC_messageEntityStrike                                               = 0xbf0693d4
	CRC_messageEntityBankCard                                             = 0x761e6af4
	CRC_messageEntitySpoiler                                              = 0x32ca960f
	CRC_messageEntityCustomEmoji                                          = 0xc8cf05f8
	CRC_messageEntityBlockquote                                           = 0xf1ccaaac
	CRC_inputChannelEmpty                                                 = 0xee8c1e86
	CRC_inputChannel                                                      = 0xf35aec28
	CRC_inputChannelFromMessage                                           = 0x5b934f9d
	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                                                = 0xcb397619
	CRC_channelParticipantSelf                                            = 0x4f607bef
	CRC_channelParticipantCreator                                         = 0x2fe601d3
	CRC_channelParticipantAdmin                                           = 0x34c3bb53
	CRC_channelParticipantBanned                                          = 0x6df8014e
	CRC_channelParticipantLeft                                            = 0x1b03f006
	CRC_channelParticipantsRecent                                         = 0xde3f3c79
	CRC_channelParticipantsAdmins                                         = 0xb4608969
	CRC_channelParticipantsKicked                                         = 0xa3b54985
	CRC_channelParticipantsBots                                           = 0xb0d1865b
	CRC_channelParticipantsBanned                                         = 0x1427a5e1
	CRC_channelParticipantsSearch                                         = 0x0656ac4b
	CRC_channelParticipantsContacts                                       = 0xbb6ae88d
	CRC_channelParticipantsMentions                                       = 0xe04b5ceb
	CRC_channels_channelParticipants                                      = 0x9ab0feaf
	CRC_channels_channelParticipantsNotModified                           = 0xf0173fe9
	CRC_channels_channelParticipant                                       = 0xdfb80317
	CRC_help_termsOfService                                               = 0x780a0310
	CRC_messages_savedGIFsNotModified                                     = 0xe8025ca2
	CRC_messages_savedGIFs                                                = 0x84a02a0d
	CRC_inputBotInlineMessageMediaAuto                                    = 0x3380c786
	CRC_inputBotInlineMessageText                                         = 0x3dcd7a87
	CRC_inputBotInlineMessageMediaGeo                                     = 0x96929a85
	CRC_inputBotInlineMessageMediaVenue                                   = 0x417bbf11
	CRC_inputBotInlineMessageMediaContact                                 = 0xa6edbffd
	CRC_inputBotInlineMessageGame                                         = 0x4b425864
	CRC_inputBotInlineMessageMediaInvoice                                 = 0xd7e78225
	CRC_inputBotInlineMessageMediaWebPage                                 = 0xbddcc510
	CRC_inputBotInlineResult                                              = 0x88bf9319
	CRC_inputBotInlineResultPhoto                                         = 0xa8d864a7
	CRC_inputBotInlineResultDocument                                      = 0xfff8fdc4
	CRC_inputBotInlineResultGame                                          = 0x4fa417f2
	CRC_botInlineMessageMediaAuto                                         = 0x764cf810
	CRC_botInlineMessageText                                              = 0x8c7f65e2
	CRC_botInlineMessageMediaGeo                                          = 0x051846fd
	CRC_botInlineMessageMediaVenue                                        = 0x8a86659c
	CRC_botInlineMessageMediaContact                                      = 0x18d1cdc2
	CRC_botInlineMessageMediaInvoice                                      = 0x354a9b09
	CRC_botInlineMessageMediaWebPage                                      = 0x809ad9a6
	CRC_botInlineResult                                                   = 0x11965f3a
	CRC_botInlineMediaResult                                              = 0x17db940b
	CRC_messages_botResults                                               = 0xe021f2f6
	CRC_exportedMessageLink                                               = 0x5dab1af4
	CRC_messageFwdHeader                                                  = 0x4e4df4bb
	CRC_auth_codeTypeSMS                                                  = 0x72a3158c
	CRC_auth_codeTypeCall                                                 = 0x741cd3e3
	CRC_auth_codeTypeFlashCall                                            = 0x226ccefb
	CRC_auth_codeTypeMissedCall                                           = 0xd61ad6ee
	CRC_auth_codeTypeFragmentSMS                                          = 0x06ed998c
	CRC_auth_sentCodeTypeApp                                              = 0x3dbb5986
	CRC_auth_sentCodeTypeSMS                                              = 0xc000bba2
	CRC_auth_sentCodeTypeCall                                             = 0x5353e5a7
	CRC_auth_sentCodeTypeFlashCall                                        = 0xab03c6d9
	CRC_auth_sentCodeTypeMissedCall                                       = 0x82006484
	CRC_auth_sentCodeTypeEmailCode                                        = 0xf450f59b
	CRC_auth_sentCodeTypeSetUpEmailRequired                               = 0xa5491dea
	CRC_auth_sentCodeTypeFragmentSMS                                      = 0xd9565c39
	CRC_auth_sentCodeTypeFirebaseSMS                                      = 0x009fd736
	CRC_auth_sentCodeTypeSMSWord                                          = 0xa416ac81
	CRC_auth_sentCodeTypeSMSPhrase                                        = 0xb37794af
	CRC_messages_botCallbackAnswer                                        = 0x36585ea4
	CRC_messages_messageEditData                                          = 0x26b5dde6
	CRC_inputBotInlineMessageID                                           = 0x890c3d89
	CRC_inputBotInlineMessageID64                                         = 0xb6d915d7
	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_topPeerCategoryBotsApp                                            = 0xfd9e7bec
	CRC_topPeerCategoryPeers                                              = 0xfb834291
	CRC_contacts_topPeersNotModified                                      = 0xde266ef5
	CRC_contacts_topPeers                                                 = 0x70b772a8
	CRC_contacts_topPeersDisabled                                         = 0xb52c939d
	CRC_draftMessageEmpty                                                 = 0x1b0c841a
	CRC_draftMessage                                                      = 0x2d65321f
	CRC_messages_featuredStickersNotModified                              = 0xc6dc0c66
	CRC_messages_featuredStickers                                         = 0xbe382906
	CRC_messages_recentStickersNotModified                                = 0x0b17f890
	CRC_messages_recentStickers                                           = 0x88d37c56
	CRC_messages_archivedStickers                                         = 0x4fcba9c8
	CRC_messages_stickerSetInstallResultSuccess                           = 0x38641628
	CRC_messages_stickerSetInstallResultArchive                           = 0x35e410a8
	CRC_stickerSetCovered                                                 = 0x6410a5d2
	CRC_stickerSetMultiCovered                                            = 0x3407e51b
	CRC_stickerSetFullCovered                                             = 0x40d13c0e
	CRC_stickerSetNoCovered                                               = 0x77b15d1c
	CRC_maskCoords                                                        = 0xaed6dbb2
	CRC_inputStickeredMediaPhoto                                          = 0x4a992157
	CRC_inputStickeredMediaDocument                                       = 0x0438865b
	CRC_game                                                              = 0xbdf9653b
	CRC_inputGameID                                                       = 0x032c3e77
	CRC_inputGameShortName                                                = 0xc331e80a
	CRC_highScore                                                         = 0x73a379eb
	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                                                           = 0x5db95a15
	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_inputWebFileAudioAlbumThumbLocation                               = 0xf46fe924
	CRC_upload_webFile                                                    = 0x21e753bc
	CRC_payments_paymentForm                                              = 0xa0058751
	CRC_payments_paymentFormStars                                         = 0x7bf6b15c
	CRC_payments_paymentFormStarGift                                      = 0xb425cfe1
	CRC_payments_validatedRequestedInfo                                   = 0xd1451883
	CRC_payments_paymentResult                                            = 0x4e5f810d
	CRC_payments_paymentVerificationNeeded                                = 0xd8411139
	CRC_payments_paymentReceipt                                           = 0x70c4fe03
	CRC_payments_paymentReceiptStars                                      = 0xdabbf83a
	CRC_payments_savedInfo                                                = 0xfb8fe43c
	CRC_inputPaymentCredentialsSaved                                      = 0xc10eb2cf
	CRC_inputPaymentCredentials                                           = 0x3417d728
	CRC_inputPaymentCredentialsApplePay                                   = 0x0aa1c39f
	CRC_inputPaymentCredentialsGooglePay                                  = 0x8ac32801
	CRC_account_tmpPassword                                               = 0xdb64fd34
	CRC_shippingOption                                                    = 0xb6213cdf
	CRC_inputStickerSetItem                                               = 0x32da9e9c
	CRC_inputPhoneCall                                                    = 0x1e36fded
	CRC_phoneCallEmpty                                                    = 0x5366c915
	CRC_phoneCallWaiting                                                  = 0xc5226f17
	CRC_phoneCallRequested                                                = 0x14b0ed0c
	CRC_phoneCallAccepted                                                 = 0x3660c311
	CRC_phoneCall                                                         = 0x30535af5
	CRC_phoneCallDiscarded                                                = 0x50ca4de1
	CRC_phoneConnection                                                   = 0x9cc123c7
	CRC_phoneConnectionWebrtc                                             = 0x635fe375
	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                        = 0x050c7ac8
	CRC_channelAdminLogEventActionChangeLocation                          = 0x0e6b76ae
	CRC_channelAdminLogEventActionToggleSlowMode                          = 0x53909779
	CRC_channelAdminLogEventActionStartGroupCall                          = 0x23209745
	CRC_channelAdminLogEventActionDiscardGroupCall                        = 0xdb9f9140
	CRC_channelAdminLogEventActionParticipantMute                         = 0xf92424d2
	CRC_channelAdminLogEventActionParticipantUnmute                       = 0xe64429c0
	CRC_channelAdminLogEventActionToggleGroupCallSetting                  = 0x56d6a247
	CRC_channelAdminLogEventActionParticipantJoinByInvite                 = 0xfe9fc158
	CRC_channelAdminLogEventActionExportedInviteDelete                    = 0x5a50fca4
	CRC_channelAdminLogEventActionExportedInviteRevoke                    = 0x410a134e
	CRC_channelAdminLogEventActionExportedInviteEdit                      = 0xe90ebb59
	CRC_channelAdminLogEventActionParticipantVolume                       = 0x3e7f6847
	CRC_channelAdminLogEventActionChangeHistoryTTL                        = 0x6e941a38
	CRC_channelAdminLogEventActionParticipantJoinByRequest                = 0xafb6144a
	CRC_channelAdminLogEventActionToggleNoForwards                        = 0xcb2ac766
	CRC_channelAdminLogEventActionSendMessage                             = 0x278f2868
	CRC_channelAdminLogEventActionChangeAvailableReactions                = 0xbe4e0ef8
	CRC_channelAdminLogEventActionChangeUsernames                         = 0xf04fb3a9
	CRC_channelAdminLogEventActionToggleForum                             = 0x02cc6383
	CRC_channelAdminLogEventActionCreateTopic                             = 0x58707d28
	CRC_channelAdminLogEventActionEditTopic                               = 0xf06fe208
	CRC_channelAdminLogEventActionDeleteTopic                             = 0xae168909
	CRC_channelAdminLogEventActionPINTopic                                = 0x5d8d353b
	CRC_channelAdminLogEventActionToggleAntiSpam                          = 0x64f36dfc
	CRC_channelAdminLogEventActionChangePeerColor                         = 0x5796e780
	CRC_channelAdminLogEventActionChangeProfilePeerColor                  = 0x5e477b25
	CRC_channelAdminLogEventActionChangeWallpaper                         = 0x31bb5d52
	CRC_channelAdminLogEventActionChangeEmojiStatus                       = 0x3ea9feb1
	CRC_channelAdminLogEventActionChangeEmojiStickerSet                   = 0x46d840ab
	CRC_channelAdminLogEventActionToggleSignatureProfiles                 = 0x60a79c79
	CRC_channelAdminLogEventActionParticipantSubExtend                    = 0x64642db3
	CRC_channelAdminLogEvent                                              = 0x1fad68cd
	CRC_channels_adminLogResults                                          = 0xed8af74d
	CRC_channelAdminLogEventsFilter                                       = 0xea107ae4
	CRC_popularContact                                                    = 0x5ce14175
	CRC_messages_favedStickersNotModified                                 = 0x9e8fa6d3
	CRC_messages_favedStickers                                            = 0x2cb51097
	CRC_recentMeURLUnknown                                                = 0x46e1d13d
	CRC_recentMeURLUser                                                   = 0xb92c09e2
	CRC_recentMeURLChat                                                   = 0xb2da71d2
	CRC_recentMeURLChatInvite                                             = 0xeb49081d
	CRC_recentMeURLStickerSet                                             = 0xbc0a57dc
	CRC_help_recentMeURLs                                                 = 0x0e0310d7
	CRC_inputSingleMedia                                                  = 0x1cc6e91f
	CRC_webAuthorization                                                  = 0xa6f8f452
	CRC_account_webAuthorizations                                         = 0xed56c9fc
	CRC_inputMessageID                                                    = 0xa676a322
	CRC_inputMessageReplyTo                                               = 0xbad88395
	CRC_inputMessagePinned                                                = 0x86872538
	CRC_inputMessageCallbackQuery                                         = 0xacfa1a7e
	CRC_inputDialogPeer                                                   = 0xfcaafeb7
	CRC_inputDialogPeerFolder                                             = 0x64600527
	CRC_dialogPeer                                                        = 0xe56dbf05
	CRC_dialogPeerFolder                                                  = 0x514519e2
	CRC_messages_foundStickerSetsNotModified                              = 0x0d54b65d
	CRC_messages_foundStickerSets                                         = 0x8af09dd2
	CRC_fileHash                                                          = 0xf39b035c
	CRC_inputClientProxy                                                  = 0x75588b3f
	CRC_help_termsOfServiceUpdateEmpty                                    = 0xe3309f7f
	CRC_help_termsOfServiceUpdate                                         = 0x28ecf961
	CRC_inputSecureFileUploaded                                           = 0x3334b0f0
	CRC_inputSecureFile                                                   = 0x5367e5be
	CRC_secureFileEmpty                                                   = 0x64199744
	CRC_secureFile                                                        = 0x7d09c27e
	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                                                        = 0xff16e2ca
	CRC_poll                                                              = 0x58747131
	CRC_pollAnswerVoters                                                  = 0x3b6ddad2
	CRC_pollResults                                                       = 0x7adf2420
	CRC_chatOnlines                                                       = 0xf041e250
	CRC_statsURL                                                          = 0x47a971e0
	CRC_chatAdminRights                                                   = 0x5fb224d5
	CRC_chatBannedRights                                                  = 0x9f120418
	CRC_inputWallPaper                                                    = 0xe630b979
	CRC_inputWallPaperSlug                                                = 0x72091c80
	CRC_inputWallPaperNoFile                                              = 0x967a462e
	CRC_account_wallPapersNotModified                                     = 0x1c199183
	CRC_account_wallPapers                                                = 0xcdc3858c
	CRC_codeSettings                                                      = 0xad253d78
	CRC_wallPaperSettings                                                 = 0x372efcd0
	CRC_autoDownloadSettings                                              = 0xbaa57628
	CRC_account_autoDownloadSettings                                      = 0x63cacf26
	CRC_emojiKeyword                                                      = 0xd5b3b9f9
	CRC_emojiKeywordDeleted                                               = 0x236df622
	CRC_emojiKeywordsDifference                                           = 0x5cc761bd
	CRC_emojiURL                                                          = 0xa575739d
	CRC_emojiLanguage                                                     = 0xb3fb5361
	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                                                             = 0xa00e67d6
	CRC_account_themesNotModified                                         = 0xf41eb622
	CRC_account_themes                                                    = 0x9a3d8c6d
	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                                                = 0x8fde504f
	CRC_themeSettings                                                     = 0xfa58b6d4
	CRC_webPageAttributeTheme                                             = 0x54b56617
	CRC_webPageAttributeStory                                             = 0x2e94c3e7
	CRC_webPageAttributeStickerSet                                        = 0x50cc03d3
	CRC_messages_votesList                                                = 0x4899484e
	CRC_bankCardOpenURL                                                   = 0xf568028a
	CRC_payments_bankCardData                                             = 0x3e24e573
	CRC_dialogFilter                                                      = 0x5fb5523b
	CRC_dialogFilterDefault                                               = 0x363293ae
	CRC_dialogFilterChatlist                                              = 0x9fe28ea4
	CRC_dialogFilterSuggested                                             = 0x77744d4a
	CRC_statsDateRangeDays                                                = 0xb637edaf
	CRC_statsAbsValueAndPrev                                              = 0xcb43acde
	CRC_statsPercentValue                                                 = 0xcbce2fe0
	CRC_statsGraphAsync                                                   = 0x4a27eb2d
	CRC_statsGraphError                                                   = 0xbedc9822
	CRC_statsGraph                                                        = 0x8ea464b6
	CRC_stats_broadcastStats                                              = 0x396ca5fc
	CRC_help_promoDataEmpty                                               = 0x98f6ac75
	CRC_help_promoData                                                    = 0x8c39793f
	CRC_videoSize                                                         = 0xde33b094
	CRC_videoSizeEmojiMarkup                                              = 0xf85c413c
	CRC_videoSizeStickerMarkup                                            = 0x0da082fe
	CRC_statsGroupTopPoster                                               = 0x9d04af9b
	CRC_statsGroupTopAdmin                                                = 0xd7584c87
	CRC_statsGroupTopInviter                                              = 0x535f779d
	CRC_stats_megagroupStats                                              = 0xef7ff916
	CRC_globalPrivacySettings                                             = 0x734c4ccb
	CRC_help_countryCode                                                  = 0x4203c5ef
	CRC_help_country                                                      = 0xc3878e23
	CRC_help_countriesListNotModified                                     = 0x93cc1f32
	CRC_help_countriesList                                                = 0x87d0759e
	CRC_messageViews                                                      = 0x455b853d
	CRC_messages_messageViews                                             = 0xb6c4f543
	CRC_messages_discussionMessage                                        = 0xa6341782
	CRC_messageReplyHeader                                                = 0xafbc09db
	CRC_messageReplyStoryHeader                                           = 0x0e5af939
	CRC_messageReplies                                                    = 0x83d60fc2
	CRC_peerBlocked                                                       = 0xe8fd8014
	CRC_stats_messageStats                                                = 0x7fe91c14
	CRC_groupCallDiscarded                                                = 0x7780bcb4
	CRC_groupCall                                                         = 0xd597650c
	CRC_inputGroupCall                                                    = 0xd8aa840f
	CRC_groupCallParticipant                                              = 0xeba636fe
	CRC_phone_groupCall                                                   = 0x9e727aad
	CRC_phone_groupParticipants                                           = 0xf47751b6
	CRC_inlineQueryPeerTypeSameBotPM                                      = 0x3081ed9d
	CRC_inlineQueryPeerTypePM                                             = 0x833c0fac
	CRC_inlineQueryPeerTypeChat                                           = 0xd766c50a
	CRC_inlineQueryPeerTypeMegagroup                                      = 0x5ec4be43
	CRC_inlineQueryPeerTypeBroadcast                                      = 0x6334ee9a
	CRC_inlineQueryPeerTypeBotPM                                          = 0x0e3b2d0c
	CRC_messages_historyImport                                            = 0x1662af0b
	CRC_messages_historyImportParsed                                      = 0x5e0fb7b9
	CRC_messages_affectedFoundMessages                                    = 0xef8d3e6c
	CRC_chatInviteImporter                                                = 0x8c5adfd9
	CRC_messages_exportedChatInvites                                      = 0xbdc62dcc
	CRC_messages_exportedChatInvite                                       = 0x1871be50
	CRC_messages_exportedChatInviteReplaced                               = 0x222600ef
	CRC_messages_chatInviteImporters                                      = 0x81b6b00a
	CRC_chatAdminWithInvites                                              = 0xf2ecef23
	CRC_messages_chatAdminsWithInvites                                    = 0xb69b72d7
	CRC_messages_checkedHistoryImportPeer                                 = 0xa24de717
	CRC_phone_joinAsPeers                                                 = 0xafe5623f
	CRC_phone_exportedGroupCallInvite                                     = 0x204bd158
	CRC_groupCallParticipantVideoSourceGroup                              = 0xdcb118b7
	CRC_groupCallParticipantVideo                                         = 0x67753ac8
	CRC_stickers_suggestedShortName                                       = 0x85fea03f
	CRC_botCommandScopeDefault                                            = 0x2f6cb2ab
	CRC_botCommandScopeUsers                                              = 0x3c4f04d8
	CRC_botCommandScopeChats                                              = 0x6fe1a881
	CRC_botCommandScopeChatAdmins                                         = 0xb9aa606a
	CRC_botCommandScopePeer                                               = 0xdb9d897d
	CRC_botCommandScopePeerAdmins                                         = 0x3fd863d1
	CRC_botCommandScopePeerUser                                           = 0x0a1321f3
	CRC_account_resetPasswordFailedWait                                   = 0xe3779861
	CRC_account_resetPasswordRequestedWait                                = 0xe9effc7d
	CRC_account_resetPasswordOK                                           = 0xe926d63e
	CRC_sponsoredMessage                                                  = 0x4d93a990
	CRC_messages_sponsoredMessages                                        = 0xc9ee1d87
	CRC_messages_sponsoredMessagesEmpty                                   = 0x1839490f
	CRC_searchResultsCalendarPeriod                                       = 0xc9b0539f
	CRC_messages_searchResultsCalendar                                    = 0x147ee23c
	CRC_searchResultPosition                                              = 0x7f648b67
	CRC_messages_searchResultsPositions                                   = 0x53b22baf
	CRC_channels_sendAsPeers                                              = 0xf496b0c6
	CRC_users_userFull                                                    = 0x3b6d152e
	CRC_messages_peerSettings                                             = 0x6880b94d
	CRC_auth_loggedOut                                                    = 0xc3a2835f
	CRC_reactionCount                                                     = 0xa3d1cb80
	CRC_messageReactions                                                  = 0x0a339f0b
	CRC_messages_messageReactionsList                                     = 0x31bd492d
	CRC_availableReaction                                                 = 0xc077ec01
	CRC_messages_availableReactionsNotModified                            = 0x9f071957
	CRC_messages_availableReactions                                       = 0x768e3aad
	CRC_messagePeerReaction                                               = 0x8c79b63c
	CRC_groupCallStreamChannel                                            = 0x80eb48af
	CRC_phone_groupCallStreamChannels                                     = 0xd0e482b2
	CRC_phone_groupCallStreamRTMPURL                                      = 0x2dbf3432
	CRC_attachMenuBotIconColor                                            = 0x4576f3f0
	CRC_attachMenuBotIcon                                                 = 0xb2a7386b
	CRC_attachMenuBot                                                     = 0xd90d8dfe
	CRC_attachMenuBotsNotModified                                         = 0xf1d88a5c
	CRC_attachMenuBots                                                    = 0x3c4301c0
	CRC_attachMenuBotsBot                                                 = 0x93bf667f
	CRC_webViewResultURL                                                  = 0x4d22ff98
	CRC_webViewMessageSent                                                = 0x0c94511c
	CRC_botMenuButtonDefault                                              = 0x7533a588
	CRC_botMenuButtonCommands                                             = 0x4258c205
	CRC_botMenuButton                                                     = 0xc7b57ce6
	CRC_account_savedRingtonesNotModified                                 = 0xfbf6e8b1
	CRC_account_savedRingtones                                            = 0xc1e92cc5
	CRC_notificationSoundDefault                                          = 0x97e8bebe
	CRC_notificationSoundNone                                             = 0x6f0c34df
	CRC_notificationSoundLocal                                            = 0x830b9ae4
	CRC_notificationSoundRingtone                                         = 0xff6c8049
	CRC_account_savedRingtone                                             = 0xb7263f6d
	CRC_account_savedRingtoneConverted                                    = 0x1f307eb7
	CRC_attachMenuPeerTypeSameBotPM                                       = 0x7d6be90e
	CRC_attachMenuPeerTypeBotPM                                           = 0xc32bfa1a
	CRC_attachMenuPeerTypePM                                              = 0xf146d31f
	CRC_attachMenuPeerTypeChat                                            = 0x0509113f
	CRC_attachMenuPeerTypeBroadcast                                       = 0x7bfbdefc
	CRC_inputInvoiceMessage                                               = 0xc5b56859
	CRC_inputInvoiceSlug                                                  = 0xc326caef
	CRC_inputInvoicePremiumGiftCode                                       = 0x98986c0d
	CRC_inputInvoiceStars                                                 = 0x65f00ce3
	CRC_inputInvoiceChatInviteSubscription                                = 0x34e793f1
	CRC_inputInvoiceStarGift                                              = 0x25d8c1d8
	CRC_payments_exportedInvoice                                          = 0xaed0cbd9
	CRC_messages_transcribedAudio                                         = 0xcfb9d957
	CRC_help_premiumPromo                                                 = 0x5334759c
	CRC_inputStorePaymentPremiumSubscription                              = 0xa6751e66
	CRC_inputStorePaymentGiftPremium                                      = 0x616f7fe8
	CRC_inputStorePaymentPremiumGiftCode                                  = 0xfb790393
	CRC_inputStorePaymentPremiumGiveaway                                  = 0x160544ca
	CRC_inputStorePaymentStarsTopup                                       = 0xdddd0f56
	CRC_inputStorePaymentStarsGift                                        = 0x1d741ef7
	CRC_inputStorePaymentStarsGiveaway                                    = 0x751f08fa
	CRC_premiumGiftOption                                                 = 0x74c34319
	CRC_paymentFormMethod                                                 = 0x88f8f21b
	CRC_emojiStatusEmpty                                                  = 0x2de11aae
	CRC_emojiStatus                                                       = 0x929b619d
	CRC_emojiStatusUntil                                                  = 0xfa30a8c7
	CRC_account_emojiStatusesNotModified                                  = 0xd08ce645
	CRC_account_emojiStatuses                                             = 0x90c467d1
	CRC_reactionEmpty                                                     = 0x79f5d419
	CRC_reactionEmoji                                                     = 0x1b2286b8
	CRC_reactionCustomEmoji                                               = 0x8935fc73
	CRC_reactionPaid                                                      = 0x523da4eb
	CRC_chatReactionsNone                                                 = 0xeafc32bc
	CRC_chatReactionsAll                                                  = 0x52928bca
	CRC_chatReactionsSome                                                 = 0x661d4037
	CRC_messages_reactionsNotModified                                     = 0xb06fdbdf
	CRC_messages_reactions                                                = 0xeafdf716
	CRC_emailVerifyPurposeLoginSetup                                      = 0x4345be73
	CRC_emailVerifyPurposeLoginChange                                     = 0x527d22eb
	CRC_emailVerifyPurposePassport                                        = 0xbbf51685
	CRC_emailVerificationCode                                             = 0x922e55a9
	CRC_emailVerificationGoogle                                           = 0xdb909ec2
	CRC_emailVerificationApple                                            = 0x96d074fd
	CRC_account_emailVerified                                             = 0x2b96cd1b
	CRC_account_emailVerifiedLogin                                        = 0xe1bb0d61
	CRC_premiumSubscriptionOption                                         = 0x5f2d1df2
	CRC_sendAsPeer                                                        = 0xb81c7034
	CRC_messageExtendedMediaPreview                                       = 0xad628cc8
	CRC_messageExtendedMedia                                              = 0xee479c64
	CRC_stickerKeyword                                                    = 0xfcfeb29c
	CRC_username                                                          = 0xb4073647
	CRC_forumTopicDeleted                                                 = 0x023f109b
	CRC_forumTopic                                                        = 0x71701da9
	CRC_messages_forumTopics                                              = 0x367617d3
	CRC_defaultHistoryTTL                                                 = 0x43b46b20
	CRC_exportedContactToken                                              = 0x41bf109b
	CRC_requestPeerTypeUser                                               = 0x5f3b8a00
	CRC_requestPeerTypeChat                                               = 0xc9f06e1b
	CRC_requestPeerTypeBroadcast                                          = 0x339bef6c
	CRC_emojiListNotModified                                              = 0x481eadfa
	CRC_emojiList                                                         = 0x7a1e11d1
	CRC_emojiGroup                                                        = 0x7a9abda9
	CRC_emojiGroupGreeting                                                = 0x80d26cc7
	CRC_emojiGroupPremium                                                 = 0x093bcf34
	CRC_messages_emojiGroupsNotModified                                   = 0x6fb4ad87
	CRC_messages_emojiGroups                                              = 0x881fb94b
	CRC_textWithEntities                                                  = 0x751f3146
	CRC_messages_translateResult                                          = 0x33db32f8
	CRC_autoSaveSettings                                                  = 0xc84834ce
	CRC_autoSaveException                                                 = 0x81602d47
	CRC_account_autoSaveSettings                                          = 0x4c3e069d
	CRC_help_appConfigNotModified                                         = 0x7cde641d
	CRC_help_appConfig                                                    = 0xdd18782e
	CRC_inputBotAppID                                                     = 0xa920bd7a
	CRC_inputBotAppShortName                                              = 0x908c0407
	CRC_botAppNotModified                                                 = 0x5da674b7
	CRC_botApp                                                            = 0x95fcd1d6
	CRC_messages_botApp                                                   = 0xeb50adf5
	CRC_inlineBotWebView                                                  = 0xb57295d5
	CRC_readParticipantDate                                               = 0x4a4ff172
	CRC_inputChatlistDialogFilter                                         = 0xf3e0da33
	CRC_exportedChatlistInvite                                            = 0x0c5181ac
	CRC_chatlists_exportedChatlistInvite                                  = 0x10e6e3a6
	CRC_chatlists_exportedInvites                                         = 0x10ab6dc7
	CRC_chatlists_chatlistInviteAlready                                   = 0xfa87f659
	CRC_chatlists_chatlistInvite                                          = 0x1dcd839d
	CRC_chatlists_chatlistUpdates                                         = 0x93bd878d
	CRC_bots_botInfo                                                      = 0xe8a775b0
	CRC_messagePeerVote                                                   = 0xb6cc2d5c
	CRC_messagePeerVoteInputOption                                        = 0x74cda504
	CRC_messagePeerVoteMultiple                                           = 0x4628f6e6
	CRC_storyViews                                                        = 0x8d595cd6
	CRC_storyItemDeleted                                                  = 0x51e6ee4f
	CRC_storyItemSkipped                                                  = 0xffadc913
	CRC_storyItem                                                         = 0x79b26a24
	CRC_stories_allStoriesNotModified                                     = 0x1158fe3e
	CRC_stories_allStories                                                = 0x6efc5e81
	CRC_stories_stories                                                   = 0x63c3dd0a
	CRC_storyView                                                         = 0xb0bdeac5
	CRC_storyViewPublicForward                                            = 0x9083670b
	CRC_storyViewPublicRepost                                             = 0xbd74cf49
	CRC_stories_storyViewsList                                            = 0x59d78fc5
	CRC_stories_storyViews                                                = 0xde9eed1d
	CRC_inputReplyToMessage                                               = 0x22c0f6d5
	CRC_inputReplyToStory                                                 = 0x5881323a
	CRC_exportedStoryLink                                                 = 0x3fc9053b
	CRC_storiesStealthMode                                                = 0x712e27fd
	CRC_mediaAreaCoordinates                                              = 0xcfc9e002
	CRC_mediaAreaVenue                                                    = 0xbe82db9c
	CRC_inputMediaAreaVenue                                               = 0xb282217f
	CRC_mediaAreaGeoPoint                                                 = 0xcad5452d
	CRC_mediaAreaSuggestedReaction                                        = 0x14455871
	CRC_mediaAreaChannelPost                                              = 0x770416af
	CRC_inputMediaAreaChannelPost                                         = 0x2271f2bf
	CRC_mediaAreaURL                                                      = 0x37381085
	CRC_mediaAreaWeather                                                  = 0x49a6549c
	CRC_peerStories                                                       = 0x9a35e999
	CRC_stories_peerStories                                               = 0xcae68768
	CRC_messages_webPage                                                  = 0xfd5e12bd
	CRC_premiumGiftCodeOption                                             = 0x257e962b
	CRC_payments_checkedGiftCode                                          = 0x284a1096
	CRC_payments_giveawayInfo                                             = 0x4367daa0
	CRC_payments_giveawayInfoResults                                      = 0xe175e66f
	CRC_prepaidGiveaway                                                   = 0xb2539d54
	CRC_prepaidStarsGiveaway                                              = 0x9a9d77e0
	CRC_boost                                                             = 0x4b3e14d6
	CRC_premium_boostsList                                                = 0x86f8613c
	CRC_myBoost                                                           = 0xc448415c
	CRC_premium_myBoosts                                                  = 0x9ae228e2
	CRC_premium_boostsStatus                                              = 0x4959427a
	CRC_storyFwdHeader                                                    = 0xb826e150
	CRC_postInteractionCountersMessage                                    = 0xe7058e7f
	CRC_postInteractionCountersStory                                      = 0x8a480e27
	CRC_stats_storyStats                                                  = 0x50cd067c
	CRC_publicForwardMessage                                              = 0x01f2bf4a
	CRC_publicForwardStory                                                = 0xedf3add0
	CRC_stats_publicForwards                                              = 0x93037e20
	CRC_peerColor                                                         = 0xb54b5acf
	CRC_help_peerColorSet                                                 = 0x26219a58
	CRC_help_peerColorProfileSet                                          = 0x767d61eb
	CRC_help_peerColorOption                                              = 0xadec6ebe
	CRC_help_peerColorsNotModified                                        = 0x2ba1f5ce
	CRC_help_peerColors                                                   = 0x00f8ed08
	CRC_storyReaction                                                     = 0x6090d6d5
	CRC_storyReactionPublicForward                                        = 0xbbab2643
	CRC_storyReactionPublicRepost                                         = 0xcfcd0f13
	CRC_stories_storyReactionsList                                        = 0xaa5f789c
	CRC_savedDialog                                                       = 0xbd87cb6c
	CRC_messages_savedDialogs                                             = 0xf83ae221
	CRC_messages_savedDialogsSlice                                        = 0x44ba9dd9
	CRC_messages_savedDialogsNotModified                                  = 0xc01f6fe8
	CRC_savedReactionTag                                                  = 0xcb6ff828
	CRC_messages_savedReactionTagsNotModified                             = 0x889b59ef
	CRC_messages_savedReactionTags                                        = 0x3259950a
	CRC_outboxReadDate                                                    = 0x3bb842ac
	CRC_smsjobs_eligibleToJoin                                            = 0xdc8b44cf
	CRC_smsjobs_status                                                    = 0x2aee9191
	CRC_smsJob                                                            = 0xe6a1eeb8
	CRC_businessWeeklyOpen                                                = 0x120b1ab9
	CRC_businessWorkHours                                                 = 0x8c92b098
	CRC_businessLocation                                                  = 0xac5c1af7
	CRC_inputBusinessRecipients                                           = 0x6f8b32aa
	CRC_businessRecipients                                                = 0x21108ff7
	CRC_businessAwayMessageScheduleAlways                                 = 0xc9b9e2b9
	CRC_businessAwayMessageScheduleOutsideWorkHours                       = 0xc3f2f501
	CRC_businessAwayMessageScheduleCustom                                 = 0xcc4d9ecc
	CRC_inputBusinessGreetingMessage                                      = 0x0194cb3b
	CRC_businessGreetingMessage                                           = 0xe519abab
	CRC_inputBusinessAwayMessage                                          = 0x832175e0
	CRC_businessAwayMessage                                               = 0xef156a5c
	CRC_timezone                                                          = 0xff9289f5
	CRC_help_timezonesListNotModified                                     = 0x970708cc
	CRC_help_timezonesList                                                = 0x7b74ed71
	CRC_quickReply                                                        = 0x0697102b
	CRC_inputQuickReplyShortcut                                           = 0x24596d41
	CRC_inputQuickReplyShortcutID                                         = 0x01190cf1
	CRC_messages_quickReplies                                             = 0xc68d6695
	CRC_messages_quickRepliesNotModified                                  = 0x5f91eb5b
	CRC_connectedBot                                                      = 0xbd068601
	CRC_account_connectedBots                                             = 0x17d7f87b
	CRC_messages_dialogFilters                                            = 0x2ad93719
	CRC_birthday                                                          = 0x6c8e1e06
	CRC_botBusinessConnection                                             = 0x896433b4
	CRC_inputBusinessIntro                                                = 0x09c469cd
	CRC_businessIntro                                                     = 0x5a0a066d
	CRC_messages_myStickers                                               = 0xfaff629d
	CRC_inputCollectibleUsername                                          = 0xe39460a9
	CRC_inputCollectiblePhone                                             = 0xa2e214a4
	CRC_fragment_collectibleInfo                                          = 0x6ebdff91
	CRC_inputBusinessBotRecipients                                        = 0xc4e5921e
	CRC_businessBotRecipients                                             = 0xb88cf373
	CRC_contactBirthday                                                   = 0x1d998733
	CRC_contacts_contactBirthdays                                         = 0x114ff30d
	CRC_missingInvitee                                                    = 0x628c9224
	CRC_messages_invitedUsers                                             = 0x7f5defa6
	CRC_inputBusinessChatLink                                             = 0x11679fa7
	CRC_businessChatLink                                                  = 0xb4ae666f
	CRC_account_businessChatLinks                                         = 0xec43a2d1
	CRC_account_resolvedBusinessChatLinks                                 = 0x9a23af21
	CRC_requestedPeerUser                                                 = 0xd62ff46a
	CRC_requestedPeerChat                                                 = 0x7307544f
	CRC_requestedPeerChannel                                              = 0x8ba403e4
	CRC_sponsoredMessageReportOption                                      = 0x430d3150
	CRC_channels_sponsoredMessageReportResultChooseOption                 = 0x846f9e42
	CRC_channels_sponsoredMessageReportResultAdsHidden                    = 0x3e3bcf2f
	CRC_channels_sponsoredMessageReportResultReported                     = 0xad798849
	CRC_stats_broadcastRevenueStats                                       = 0x5407e297
	CRC_stats_broadcastRevenueWithdrawalURL                               = 0xec659737
	CRC_broadcastRevenueTransactionProceeds                               = 0x557e2cc4
	CRC_broadcastRevenueTransactionWithdrawal                             = 0x5a590978
	CRC_broadcastRevenueTransactionRefund                                 = 0x42d30d2e
	CRC_stats_broadcastRevenueTransactions                                = 0x87158466
	CRC_reactionNotificationsFromContacts                                 = 0xbac3a61a
	CRC_reactionNotificationsFromAll                                      = 0x4b9e22a0
	CRC_reactionsNotifySettings                                           = 0x56e34970
	CRC_broadcastRevenueBalances                                          = 0xc3ff71e7
	CRC_availableEffect                                                   = 0x93c3e27e
	CRC_messages_availableEffectsNotModified                              = 0xd1ed9a5b
	CRC_messages_availableEffects                                         = 0xbddb616e
	CRC_factCheck                                                         = 0xb89bfccf
	CRC_starsTransactionPeerUnsupported                                   = 0x95f2bfe4
	CRC_starsTransactionPeerAppStore                                      = 0xb457b375
	CRC_starsTransactionPeerPlayMarket                                    = 0x7b560a0b
	CRC_starsTransactionPeerPremiumBot                                    = 0x250dbaf8
	CRC_starsTransactionPeerFragment                                      = 0xe92fd902
	CRC_starsTransactionPeer                                              = 0xd80da15d
	CRC_starsTransactionPeerAds                                           = 0x60682812
	CRC_starsTransactionPeerAPI                                           = 0xf9677aad
	CRC_starsTopupOption                                                  = 0x0bd915c0
	CRC_starsTransaction                                                  = 0x35d4f276
	CRC_payments_starsStatus                                              = 0xbbfa316c
	CRC_foundStory                                                        = 0xe87acbc0
	CRC_stories_foundStories                                              = 0xe2de7737
	CRC_geoPointAddress                                                   = 0xde4c5d93
	CRC_starsRevenueStatus                                                = 0x79342946
	CRC_payments_starsRevenueStats                                        = 0xc92bb73b
	CRC_payments_starsRevenueWithdrawalURL                                = 0x1dab80b7
	CRC_payments_starsRevenueAdsAccountURL                                = 0x394e7f21
	CRC_inputStarsTransaction                                             = 0x206ae6d1
	CRC_starsGiftOption                                                   = 0x5e0589f1
	CRC_bots_popularAppBots                                               = 0x1991b13b
	CRC_botPreviewMedia                                                   = 0x23e91ba3
	CRC_bots_previewInfo                                                  = 0x0ca71d64
	CRC_starsSubscriptionPricing                                          = 0x05416d58
	CRC_starsSubscription                                                 = 0x538ecf18
	CRC_messageReactor                                                    = 0x4ba3a95a
	CRC_starsGiveawayOption                                               = 0x94ce852a
	CRC_starsGiveawayWinnersOption                                        = 0x54236209
	CRC_starGift                                                          = 0x49c577cd
	CRC_payments_starGiftsNotModified                                     = 0xa388a368
	CRC_payments_starGifts                                                = 0x901689ea
	CRC_userStarGift                                                      = 0xeea49a6e
	CRC_payments_userStarGifts                                            = 0x6b65b517
	CRC_messageReportOption                                               = 0x7903e3d9
	CRC_reportResultChooseOption                                          = 0xf0e4e0b6
	CRC_reportResultAddComment                                            = 0x6f09ac31
	CRC_reportResultReported                                              = 0x8db33c4b
	CRC_invokeAfterMsg                                                    = 0xcb9f372d
	CRC_invokeAfterMsgs                                                   = 0x3dc4b4f0
	CRC_initConnection                                                    = 0xc1cd5ea9
	CRC_invokeWithLayer                                                   = 0xda9b0d0d
	CRC_invokeWithoutUpdates                                              = 0xbf9459b7
	CRC_invokeWithMessagesRange                                           = 0x365275f2
	CRC_invokeWithTakeout                                                 = 0xaca9fd2e
	CRC_invokeWithBusinessConnection                                      = 0xdd289f8e
	CRC_invokeWithGooglePlayIntegrity                                     = 0x1df92984
	CRC_invokeWithApnsSecret                                              = 0x0dae54f8
	CRC_auth_sendCode                                                     = 0xa677244f
	CRC_auth_signUp                                                       = 0xaac7b717
	CRC_auth_signIn                                                       = 0x8d52a951
	CRC_auth_logOut                                                       = 0x3e72ba19
	CRC_auth_resetAuthorizations                                          = 0x9fab0d1a
	CRC_auth_exportAuthorization                                          = 0xe5bfffcd
	CRC_auth_importAuthorization                                          = 0xa57a7dad
	CRC_auth_bindTempAuthKey                                              = 0xcdd42a05
	CRC_auth_importBotAuthorization                                       = 0x67a3ff2c
	CRC_auth_checkPassword                                                = 0xd18b4d16
	CRC_auth_requestPasswordRecovery                                      = 0xd897bc66
	CRC_auth_recoverPassword                                              = 0x37096c70
	CRC_auth_resendCode                                                   = 0xcae47523
	CRC_auth_cancelCode                                                   = 0x1f040578
	CRC_auth_dropTempAuthKeys                                             = 0x8e48a188
	CRC_auth_exportLoginToken                                             = 0xb7e085fe
	CRC_auth_importLoginToken                                             = 0x95ac5ce4
	CRC_auth_acceptLoginToken                                             = 0xe894ad4d
	CRC_auth_checkRecoveryPassword                                        = 0x0d36bf79
	CRC_auth_importWebTokenAuthorization                                  = 0x2db873a9
	CRC_auth_requestFirebaseSMS                                           = 0x8e39261e
	CRC_auth_resetLoginEmail                                              = 0x7e960193
	CRC_auth_reportMissingCode                                            = 0xcb9deff6
	CRC_account_registerDevice                                            = 0xec86017a
	CRC_account_unregisterDevice                                          = 0x6a0d3206
	CRC_account_updateNotifySettings                                      = 0x84be5b93
	CRC_account_getNotifySettings                                         = 0x12b3ad31
	CRC_account_resetNotifySettings                                       = 0xdb7e1747
	CRC_account_updateProfile                                             = 0x78515775
	CRC_account_updateStatus                                              = 0x6628562c
	CRC_account_getWallPapers                                             = 0x07967d36
	CRC_account_reportPeer                                                = 0xc5ba3d86
	CRC_account_checkUsername                                             = 0x2714d86c
	CRC_account_updateUsername                                            = 0x3e0bdd7c
	CRC_account_getPrivacy                                                = 0xdadbc950
	CRC_account_setPrivacy                                                = 0xc9f81ce8
	CRC_account_deleteAccount                                             = 0xa2c0cf74
	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                                      = 0xa929597a
	CRC_account_acceptAuthorization                                       = 0xf3ed4c73
	CRC_account_sendVerifyPhoneCode                                       = 0xa5a356f9
	CRC_account_verifyPhone                                               = 0x4dd3a7f6
	CRC_account_sendVerifyEmailCode                                       = 0x98e037bb
	CRC_account_verifyEmail                                               = 0x032da4cf
	CRC_account_initTakeoutSession                                        = 0x8ef3eab0
	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                                           = 0xe39a8f03
	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                                               = 0x652e4400
	CRC_account_updateTheme                                               = 0x2bf40ccc
	CRC_account_saveTheme                                                 = 0xf257106c
	CRC_account_installTheme                                              = 0xc727bb3b
	CRC_account_getTheme                                                  = 0x3a5869ec
	CRC_account_getThemes                                                 = 0x7206e458
	CRC_account_setContentSettings                                        = 0xb574b16b
	CRC_account_getContentSettings                                        = 0x8b9b4dae
	CRC_account_getMultiWallPapers                                        = 0x65ad71dc
	CRC_account_getGlobalPrivacySettings                                  = 0xeb2b4cf6
	CRC_account_setGlobalPrivacySettings                                  = 0x1edaaac2
	CRC_account_reportProfilePhoto                                        = 0xfa8cc6f5
	CRC_account_resetPassword                                             = 0x9308ce1b
	CRC_account_declinePasswordReset                                      = 0x4c9409f6
	CRC_account_getChatThemes                                             = 0xd638de89
	CRC_account_setAuthorizationTTL                                       = 0xbf899aa0
	CRC_account_changeAuthorizationSettings                               = 0x40f48462
	CRC_account_getSavedRingtones                                         = 0xe1902288
	CRC_account_saveRingtone                                              = 0x3dea5b03
	CRC_account_uploadRingtone                                            = 0x831a83a2
	CRC_account_updateEmojiStatus                                         = 0xfbd3de6b
	CRC_account_getDefaultEmojiStatuses                                   = 0xd6753386
	CRC_account_getRecentEmojiStatuses                                    = 0x0f578105
	CRC_account_clearRecentEmojiStatuses                                  = 0x18201aae
	CRC_account_reorderUsernames                                          = 0xef500eab
	CRC_account_toggleUsername                                            = 0x58d6b376
	CRC_account_getDefaultProfilePhotoEmojis                              = 0xe2750328
	CRC_account_getDefaultGroupPhotoEmojis                                = 0x915860ae
	CRC_account_getAutoSaveSettings                                       = 0xadcbbcda
	CRC_account_saveAutoSaveSettings                                      = 0xd69b8361
	CRC_account_deleteAutoSaveExceptions                                  = 0x53bc0020
	CRC_account_invalidateSignInCodes                                     = 0xca8ae8ba
	CRC_account_updateColor                                               = 0x7cefa15d
	CRC_account_getDefaultBackgroundEmojis                                = 0xa60ab9ce
	CRC_account_getChannelDefaultEmojiStatuses                            = 0x7727a7d5
	CRC_account_getChannelRestrictedStatusEmojis                          = 0x35a9e0d5
	CRC_account_updateBusinessWorkHours                                   = 0x4b00e066
	CRC_account_updateBusinessLocation                                    = 0x9e6b131a
	CRC_account_updateBusinessGreetingMessage                             = 0x66cdafc4
	CRC_account_updateBusinessAwayMessage                                 = 0xa26a7fa5
	CRC_account_updateConnectedBot                                        = 0x43d8521d
	CRC_account_getConnectedBots                                          = 0x4ea4c80f
	CRC_account_getBotBusinessConnection                                  = 0x76a86270
	CRC_account_updateBusinessIntro                                       = 0xa614d034
	CRC_account_toggleConnectedBotPaused                                  = 0x646e1097
	CRC_account_disablePeerConnectedBot                                   = 0x5e437ed9
	CRC_account_updateBirthday                                            = 0xcc6e0c11
	CRC_account_createBusinessChatLink                                    = 0x8851e68e
	CRC_account_editBusinessChatLink                                      = 0x8c3410af
	CRC_account_deleteBusinessChatLink                                    = 0x60073674
	CRC_account_getBusinessChatLinks                                      = 0x6f70dde1
	CRC_account_resolveBusinessChatLink                                   = 0x5492e5ee
	CRC_account_updatePersonalChannel                                     = 0xd94305e0
	CRC_account_toggleSponsoredMessages                                   = 0xb9d9a38d
	CRC_account_getReactionsNotifySettings                                = 0x06dd654c
	CRC_account_setReactionsNotifySettings                                = 0x316ce548
	CRC_users_getUsers                                                    = 0x0d91a548
	CRC_users_getFullUser                                                 = 0xb60f5918
	CRC_users_setSecureValueErrors                                        = 0x90c894b5
	CRC_users_getIsPremiumRequiredToContact                               = 0xa622aa10
	CRC_contacts_getContactIDs                                            = 0x7adc669d
	CRC_contacts_getStatuses                                              = 0xc4a353ee
	CRC_contacts_getContacts                                              = 0x5dd69e12
	CRC_contacts_importContacts                                           = 0x2c800be5
	CRC_contacts_deleteContacts                                           = 0x096a0e00
	CRC_contacts_deleteByPhones                                           = 0x1013fd9e
	CRC_contacts_block                                                    = 0x2e2e8734
	CRC_contacts_unblock                                                  = 0xb550d328
	CRC_contacts_getBlocked                                               = 0x9a868f80
	CRC_contacts_search                                                   = 0x11f812d8
	CRC_contacts_resolveUsername                                          = 0xf93ccba3
	CRC_contacts_getTopPeers                                              = 0x973478b6
	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_contacts_blockFromReplies                                         = 0x29a8962c
	CRC_contacts_resolvePhone                                             = 0x8af94344
	CRC_contacts_exportContactToken                                       = 0xf8654027
	CRC_contacts_importContactToken                                       = 0x13005788
	CRC_contacts_editCloseFriends                                         = 0xba6705f0
	CRC_contacts_setBlocked                                               = 0x94c65c76
	CRC_contacts_getBirthdays                                             = 0xdaeda864
	CRC_messages_getMessages                                              = 0x63c66506
	CRC_messages_getDialogs                                               = 0xa0f4cb4f
	CRC_messages_getHistory                                               = 0x4423e6c5
	CRC_messages_search                                                   = 0x29ee847a
	CRC_messages_readHistory                                              = 0x0e306d3a
	CRC_messages_deleteHistory                                            = 0xb08f922a
	CRC_messages_deleteMessages                                           = 0xe58e95d2
	CRC_messages_receivedMessages                                         = 0x05a954c0
	CRC_messages_setTyping                                                = 0x58943ee2
	CRC_messages_sendMessage                                              = 0x983f9745
	CRC_messages_sendMedia                                                = 0x7852834e
	CRC_messages_forwardMessages                                          = 0xd5039208
	CRC_messages_reportSpam                                               = 0xcf1592db
	CRC_messages_getPeerSettings                                          = 0xefd9a6a2
	CRC_messages_report                                                   = 0xfc78af9b
	CRC_messages_getChats                                                 = 0x49e9528f
	CRC_messages_getFullChat                                              = 0xaeb00b34
	CRC_messages_editChatTitle                                            = 0x73783ffd
	CRC_messages_editChatPhoto                                            = 0x35ddd674
	CRC_messages_addChatUser                                              = 0xcbc6d107
	CRC_messages_deleteChatUser                                           = 0xa2185cab
	CRC_messages_createChat                                               = 0x92ceddd4
	CRC_messages_getDHConfig                                              = 0x26cf8950
	CRC_messages_requestEncryption                                        = 0xf64daf43
	CRC_messages_acceptEncryption                                         = 0x3dbc0415
	CRC_messages_discardEncryption                                        = 0xf393aea0
	CRC_messages_setEncryptedTyping                                       = 0x791451ed
	CRC_messages_readEncryptedHistory                                     = 0x7f4b690a
	CRC_messages_sendEncrypted                                            = 0x44fa7a15
	CRC_messages_sendEncryptedFile                                        = 0x5559481d
	CRC_messages_sendEncryptedService                                     = 0x32d439a4
	CRC_messages_receivedQueue                                            = 0x55a5bb66
	CRC_messages_reportEncryptedSpam                                      = 0x4b0c8c0f
	CRC_messages_readMessageContents                                      = 0x36a73f77
	CRC_messages_getStickers                                              = 0xd5a5d3a1
	CRC_messages_getAllStickers                                           = 0xb8a0a1a8
	CRC_messages_getWebPagePreview                                        = 0x8b68b0cc
	CRC_messages_exportChatInvite                                         = 0xa455de90
	CRC_messages_checkChatInvite                                          = 0x3eadb1bb
	CRC_messages_importChatInvite                                         = 0x6c50051c
	CRC_messages_getStickerSet                                            = 0xc8a0ec74
	CRC_messages_installStickerSet                                        = 0xc78fe460
	CRC_messages_uninstallStickerSet                                      = 0xf96e55de
	CRC_messages_startBot                                                 = 0xe6df7378
	CRC_messages_getMessagesViews                                         = 0x5784d3e1
	CRC_messages_editChatAdmin                                            = 0xa85bd1c2
	CRC_messages_migrateChat                                              = 0xa2875319
	CRC_messages_searchGlobal                                             = 0x4bc6589a
	CRC_messages_reorderStickerSets                                       = 0x78337739
	CRC_messages_getDocumentByHash                                        = 0xb1f2061f
	CRC_messages_getSavedGIFs                                             = 0x5cf09635
	CRC_messages_saveGIF                                                  = 0x327a30cb
	CRC_messages_getInlineBotResults                                      = 0x514e999d
	CRC_messages_setInlineBotResults                                      = 0xbb12a419
	CRC_messages_sendInlineBotResult                                      = 0x3ebee86a
	CRC_messages_getMessageEditData                                       = 0xfda68d36
	CRC_messages_editMessage                                              = 0xdfd14005
	CRC_messages_editInlineBotMessage                                     = 0x83557dba
	CRC_messages_getBotCallbackAnswer                                     = 0x9342ca07
	CRC_messages_setBotCallbackAnswer                                     = 0xd58f130a
	CRC_messages_getPeerDialogs                                           = 0xe470bcfd
	CRC_messages_saveDraft                                                = 0xd372c5ce
	CRC_messages_getAllDrafts                                             = 0x6a3f8d65
	CRC_messages_getFeaturedStickers                                      = 0x64780b14
	CRC_messages_readFeaturedStickers                                     = 0x5b118126
	CRC_messages_getRecentStickers                                        = 0x9da9403b
	CRC_messages_saveRecentSticker                                        = 0x392718f8
	CRC_messages_clearRecentStickers                                      = 0x8999602d
	CRC_messages_getArchivedStickers                                      = 0x57f17692
	CRC_messages_getMaskStickers                                          = 0x640f82b8
	CRC_messages_getAttachedStickers                                      = 0xcc5b67cc
	CRC_messages_setGameScore                                             = 0x8ef8ecc0
	CRC_messages_setInlineGameScore                                       = 0x15ad9f64
	CRC_messages_getGameHighScores                                        = 0xe822649d
	CRC_messages_getInlineGameHighScores                                  = 0x0f635e1b
	CRC_messages_getCommonChats                                           = 0xe40ca104
	CRC_messages_getWebPage                                               = 0x8d9692a3
	CRC_messages_toggleDialogPIN                                          = 0xa731e257
	CRC_messages_reorderPinnedDialogs                                     = 0x3b1adf37
	CRC_messages_getPinnedDialogs                                         = 0xd6b94df2
	CRC_messages_setBotShippingResults                                    = 0xe5f672fa
	CRC_messages_setBotPrecheckoutResults                                 = 0x09c2dd95
	CRC_messages_uploadMedia                                              = 0x14967978
	CRC_messages_sendScreenshotNotification                               = 0xa1405817
	CRC_messages_getFavedStickers                                         = 0x04f1aaa9
	CRC_messages_faveSticker                                              = 0xb9ffc55b
	CRC_messages_getUnreadMentions                                        = 0xf107e790
	CRC_messages_readMentions                                             = 0x36e5bf4d
	CRC_messages_getRecentLocations                                       = 0x702a40e0
	CRC_messages_sendMultiMedia                                           = 0x37b74355
	CRC_messages_uploadEncryptedFile                                      = 0x5057c497
	CRC_messages_searchStickerSets                                        = 0x35705b8a
	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_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                                        = 0x1bbcf300
	CRC_messages_requestURLAuth                                           = 0x198fb446
	CRC_messages_acceptURLAuth                                            = 0xb12c7125
	CRC_messages_hidePeerSettingsBar                                      = 0x4facb138
	CRC_messages_getScheduledHistory                                      = 0xf516760b
	CRC_messages_getScheduledMessages                                     = 0xbdbb0464
	CRC_messages_sendScheduledMessages                                    = 0xbd38850a
	CRC_messages_deleteScheduledMessages                                  = 0x59ae2b16
	CRC_messages_getPollVotes                                             = 0xb86e380e
	CRC_messages_toggleStickerSets                                        = 0xb5052fea
	CRC_messages_getDialogFilters                                         = 0xefd48c89
	CRC_messages_getSuggestedDialogFilters                                = 0xa29cd42c
	CRC_messages_updateDialogFilter                                       = 0x1ad4a04a
	CRC_messages_updateDialogFiltersOrder                                 = 0xc563c1e4
	CRC_messages_getOldFeaturedStickers                                   = 0x7ed094a1
	CRC_messages_getReplies                                               = 0x22ddd30c
	CRC_messages_getDiscussionMessage                                     = 0x446972fd
	CRC_messages_readDiscussion                                           = 0xf731a9f4
	CRC_messages_unpinAllMessages                                         = 0xee22b9a8
	CRC_messages_deleteChat                                               = 0x5bd0ee50
	CRC_messages_deletePhoneCallHistory                                   = 0xf9cbe409
	CRC_messages_checkHistoryImport                                       = 0x43fe19f3
	CRC_messages_initHistoryImport                                        = 0x34090c3b
	CRC_messages_uploadImportedMedia                                      = 0x2a862092
	CRC_messages_startHistoryImport                                       = 0xb43df344
	CRC_messages_getExportedChatInvites                                   = 0xa2b5a3f6
	CRC_messages_getExportedChatInvite                                    = 0x73746f5c
	CRC_messages_editExportedChatInvite                                   = 0xbdca2f75
	CRC_messages_deleteRevokedExportedChatInvites                         = 0x56987bd5
	CRC_messages_deleteExportedChatInvite                                 = 0xd464a42b
	CRC_messages_getAdminsWithInvites                                     = 0x3920e6ef
	CRC_messages_getChatInviteImporters                                   = 0xdf04dd4e
	CRC_messages_setHistoryTTL                                            = 0xb80e5fe4
	CRC_messages_checkHistoryImportPeer                                   = 0x5dc60f03
	CRC_messages_setChatTheme                                             = 0xe63be13f
	CRC_messages_getMessageReadParticipants                               = 0x31c1c44f
	CRC_messages_getSearchResultsCalendar                                 = 0x6aa3f6bd
	CRC_messages_getSearchResultsPositions                                = 0x9c7f2f10
	CRC_messages_hideChatJoinRequest                                      = 0x7fe7e815
	CRC_messages_hideAllChatJoinRequests                                  = 0xe085f4ea
	CRC_messages_toggleNoForwards                                         = 0xb11eafa2
	CRC_messages_saveDefaultSendAs                                        = 0xccfddf96
	CRC_messages_sendReaction                                             = 0xd30d78d4
	CRC_messages_getMessagesReactions                                     = 0x8bba90e6
	CRC_messages_getMessageReactionsList                                  = 0x461b3f48
	CRC_messages_setChatAvailableReactions                                = 0x864b2581
	CRC_messages_getAvailableReactions                                    = 0x18dea0ac
	CRC_messages_setDefaultReaction                                       = 0x4f47a016
	CRC_messages_translateText                                            = 0x63183030
	CRC_messages_getUnreadReactions                                       = 0x3223495b
	CRC_messages_readReactions                                            = 0x54aa7f8e
	CRC_messages_searchSentMedia                                          = 0x107e31a0
	CRC_messages_getAttachMenuBots                                        = 0x16fcc2cb
	CRC_messages_getAttachMenuBot                                         = 0x77216192
	CRC_messages_toggleBotInAttachMenu                                    = 0x69f59d69
	CRC_messages_requestWebView                                           = 0x269dc2c1
	CRC_messages_prolongWebView                                           = 0xb0d81a83
	CRC_messages_requestSimpleWebView                                     = 0x413a3e73
	CRC_messages_sendWebViewResultMessage                                 = 0x0a4314f5
	CRC_messages_sendWebViewData                                          = 0xdc0242c8
	CRC_messages_transcribeAudio                                          = 0x269e9a49
	CRC_messages_rateTranscribedAudio                                     = 0x7f1d072f
	CRC_messages_getCustomEmojiDocuments                                  = 0xd9ab0f54
	CRC_messages_getEmojiStickers                                         = 0xfbfca18f
	CRC_messages_getFeaturedEmojiStickers                                 = 0x0ecf6736
	CRC_messages_reportReaction                                           = 0x3f64c076
	CRC_messages_getTopReactions                                          = 0xbb8125ba
	CRC_messages_getRecentReactions                                       = 0x39461db2
	CRC_messages_clearRecentReactions                                     = 0x9dfeefb4
	CRC_messages_getExtendedMedia                                         = 0x84f80814
	CRC_messages_setDefaultHistoryTTL                                     = 0x9eb51445
	CRC_messages_getDefaultHistoryTTL                                     = 0x658b7188
	CRC_messages_sendBotRequestedPeer                                     = 0x91b2d060
	CRC_messages_getEmojiGroups                                           = 0x7488ce5b
	CRC_messages_getEmojiStatusGroups                                     = 0x2ecd56cd
	CRC_messages_getEmojiProfilePhotoGroups                               = 0x21a548f3
	CRC_messages_searchCustomEmoji                                        = 0x2c11c0d7
	CRC_messages_togglePeerTranslations                                   = 0xe47cb579
	CRC_messages_getBotApp                                                = 0x34fdc5c3
	CRC_messages_requestAppWebView                                        = 0x53618bce
	CRC_messages_setChatWallPaper                                         = 0x8ffacae1
	CRC_messages_searchEmojiStickerSets                                   = 0x92b4494c
	CRC_messages_getSavedDialogs                                          = 0x5381d21a
	CRC_messages_getSavedHistory                                          = 0x3d9a414d
	CRC_messages_deleteSavedHistory                                       = 0x6e98102b
	CRC_messages_getPinnedSavedDialogs                                    = 0xd63d94e0
	CRC_messages_toggleSavedDialogPIN                                     = 0xac81bbde
	CRC_messages_reorderPinnedSavedDialogs                                = 0x8b716587
	CRC_messages_getSavedReactionTags                                     = 0x3637e05b
	CRC_messages_updateSavedReactionTag                                   = 0x60297dec
	CRC_messages_getDefaultTagReactions                                   = 0xbdf93428
	CRC_messages_getOutboxReadDate                                        = 0x8c4bfe5d
	CRC_messages_getQuickReplies                                          = 0xd483f2a8
	CRC_messages_reorderQuickReplies                                      = 0x60331907
	CRC_messages_checkQuickReplyShortcut                                  = 0xf1d0fbd3
	CRC_messages_editQuickReplyShortcut                                   = 0x5c003cef
	CRC_messages_deleteQuickReplyShortcut                                 = 0x3cc04740
	CRC_messages_getQuickReplyMessages                                    = 0x94a495c3
	CRC_messages_sendQuickReplyMessages                                   = 0x6c750de1
	CRC_messages_deleteQuickReplyMessages                                 = 0xe105e910
	CRC_messages_toggleDialogFilterTags                                   = 0xfd2dda49
	CRC_messages_getMyStickers                                            = 0xd0b5e1fc
	CRC_messages_getEmojiStickerGroups                                    = 0x1dd840f5
	CRC_messages_getAvailableEffects                                      = 0xdea20a39
	CRC_messages_editFactCheck                                            = 0x0589ee75
	CRC_messages_deleteFactCheck                                          = 0xd1da940c
	CRC_messages_getFactCheck                                             = 0xb9cdc5ee
	CRC_messages_requestMainWebView                                       = 0xc9e01e7b
	CRC_messages_sendPaidReaction                                         = 0x9dd6a67b
	CRC_messages_togglePaidReactionPrivacy                                = 0x849ad397
	CRC_messages_getPaidReactionPrivacy                                   = 0x472455aa
	CRC_messages_viewSponsoredMessage                                     = 0x673ad8f1
	CRC_messages_clickSponsoredMessage                                    = 0x0f093465
	CRC_messages_reportSponsoredMessage                                   = 0x1af3dbb8
	CRC_messages_getSponsoredMessages                                     = 0x9bd2f439
	CRC_updates_getState                                                  = 0xedd4882a
	CRC_updates_getDifference                                             = 0x19c2f763
	CRC_updates_getChannelDifference                                      = 0x03173d78
	CRC_photos_updateProfilePhoto                                         = 0x09e82039
	CRC_photos_uploadProfilePhoto                                         = 0x0388a3b5
	CRC_photos_deletePhotos                                               = 0x87cf7f2f
	CRC_photos_getUserPhotos                                              = 0x91cd32a8
	CRC_photos_uploadContactProfilePhoto                                  = 0xe14c4a71
	CRC_upload_saveFilePart                                               = 0xb304a621
	CRC_upload_getFile                                                    = 0xbe5335be
	CRC_upload_saveBigFilePart                                            = 0xde7b673d
	CRC_upload_getWebFile                                                 = 0x24e6818d
	CRC_upload_getCDNFile                                                 = 0x395f69da
	CRC_upload_reuploadCDNFile                                            = 0x9b2754a8
	CRC_upload_getCDNFileHashes                                           = 0x91dc3f31
	CRC_upload_getFileHashes                                              = 0x9156982a
	CRC_help_getConfig                                                    = 0xc4f9186b
	CRC_help_getNearestDC                                                 = 0x1fb33026
	CRC_help_getAppUpdate                                                 = 0x522d5a7d
	CRC_help_getInviteText                                                = 0x4d392343
	CRC_help_getSupport                                                   = 0x9cdf08cd
	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                                                 = 0x61e3f854
	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_help_dismissSuggestion                                            = 0xf50dbaa1
	CRC_help_getCountriesList                                             = 0x735787a8
	CRC_help_getPremiumPromo                                              = 0xb81b93d4
	CRC_help_getPeerColors                                                = 0xda80f42f
	CRC_help_getPeerProfileColors                                         = 0xabcfa9fd
	CRC_help_getTimezonesList                                             = 0x49b30240
	CRC_channels_readHistory                                              = 0xcc104937
	CRC_channels_deleteMessages                                           = 0x84c1fd4e
	CRC_channels_reportSpam                                               = 0xf44a8315
	CRC_channels_getMessages                                              = 0xad8c9a23
	CRC_channels_getParticipants                                          = 0x77ced9d0
	CRC_channels_getParticipant                                           = 0xa0ab6cc6
	CRC_channels_getChannels                                              = 0x0a7f6bbb
	CRC_channels_getFullChannel                                           = 0x08736a09
	CRC_channels_createChannel                                            = 0x91006707
	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                                          = 0xc9e33d54
	CRC_channels_deleteChannel                                            = 0xc0111fe3
	CRC_channels_exportMessageLink                                        = 0xe63fadeb
	CRC_channels_toggleSignatures                                         = 0x418d549c
	CRC_channels_getAdminedPublicChannels                                 = 0xf8b036af
	CRC_channels_editBanned                                               = 0x96e6cd81
	CRC_channels_getAdminLog                                              = 0x33ddf480
	CRC_channels_setStickers                                              = 0xea8ca4f9
	CRC_channels_readMessageContents                                      = 0xeab5dc38
	CRC_channels_deleteHistory                                            = 0x9baa9647
	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_channels_convertToGigagroup                                       = 0x0b290c69
	CRC_channels_getSendAs                                                = 0x0dc770ee
	CRC_channels_deleteParticipantHistory                                 = 0x367544db
	CRC_channels_toggleJoinToSend                                         = 0xe4cb9580
	CRC_channels_toggleJoinRequest                                        = 0x4c2985b6
	CRC_channels_reorderUsernames                                         = 0xb45ced1d
	CRC_channels_toggleUsername                                           = 0x50f24105
	CRC_channels_deactivateAllUsernames                                   = 0x0a245dd3
	CRC_channels_toggleForum                                              = 0xa4298b29
	CRC_channels_createForumTopic                                         = 0xf40c0224
	CRC_channels_getForumTopics                                           = 0x0de560d1
	CRC_channels_getForumTopicsByID                                       = 0xb0831eb9
	CRC_channels_editForumTopic                                           = 0xf4dfa185
	CRC_channels_updatePinnedForumTopic                                   = 0x6c2d9026
	CRC_channels_deleteTopicHistory                                       = 0x34435f2d
	CRC_channels_reorderPinnedForumTopics                                 = 0x2950a18f
	CRC_channels_toggleAntiSpam                                           = 0x68f3e4eb
	CRC_channels_reportAntiSpamFalsePositive                              = 0xa850a693
	CRC_channels_toggleParticipantsHidden                                 = 0x6a6e7854
	CRC_channels_updateColor                                              = 0xd8aa3671
	CRC_channels_toggleViewForumAsMessages                                = 0x9738bb15
	CRC_channels_getChannelRecommendations                                = 0x25a71742
	CRC_channels_updateEmojiStatus                                        = 0xf0d3e6a8
	CRC_channels_setBoostsToUnblockRestrictions                           = 0xad399cee
	CRC_channels_setEmojiStickers                                         = 0x3cd930b7
	CRC_channels_restrictSponsoredMessages                                = 0x9ae91519
	CRC_channels_searchPosts                                              = 0xd19f987b
	CRC_bots_sendCustomRequest                                            = 0xaa2769ed
	CRC_bots_answerWebhookJSONQuery                                       = 0xe6213f4d
	CRC_bots_setBotCommands                                               = 0x0517165a
	CRC_bots_resetBotCommands                                             = 0x3d8de0f9
	CRC_bots_getBotCommands                                               = 0xe34c0dd6
	CRC_bots_setBotMenuButton                                             = 0x4504d54f
	CRC_bots_getBotMenuButton                                             = 0x9c60eb28
	CRC_bots_setBotBroadcastDefaultAdminRights                            = 0x788464e1
	CRC_bots_setBotGroupDefaultAdminRights                                = 0x925ec9ea
	CRC_bots_setBotInfo                                                   = 0x10cf3123
	CRC_bots_getBotInfo                                                   = 0xdcd914fd
	CRC_bots_reorderUsernames                                             = 0x9709b1c2
	CRC_bots_toggleUsername                                               = 0x053ca973
	CRC_bots_canSendMessage                                               = 0x1359f4e6
	CRC_bots_allowSendMessage                                             = 0xf132e3ef
	CRC_bots_invokeWebViewCustomMethod                                    = 0x087fc5e7
	CRC_bots_getPopularAppBots                                            = 0xc2510192
	CRC_bots_addPreviewMedia                                              = 0x17aeb75a
	CRC_bots_editPreviewMedia                                             = 0x8525606f
	CRC_bots_deletePreviewMedia                                           = 0x2d0135b3
	CRC_bots_reorderPreviewMedias                                         = 0xb627f3aa
	CRC_bots_getPreviewInfo                                               = 0x423ab3ad
	CRC_bots_getPreviewMedias                                             = 0xa2a5594d
	CRC_payments_getPaymentForm                                           = 0x37148dbb
	CRC_payments_getPaymentReceipt                                        = 0x2478d1cc
	CRC_payments_validateRequestedInfo                                    = 0xb6c8f12b
	CRC_payments_sendPaymentForm                                          = 0x2d03522f
	CRC_payments_getSavedInfo                                             = 0x227d824b
	CRC_payments_clearSavedInfo                                           = 0xd83d70c1
	CRC_payments_getBankCardData                                          = 0x2e79d779
	CRC_payments_exportInvoice                                            = 0x0f91b065
	CRC_payments_assignAppStoreTransaction                                = 0x80ed747d
	CRC_payments_assignPlayMarketTransaction                              = 0xdffd50d3
	CRC_payments_canPurchasePremium                                       = 0x9fc19eb6
	CRC_payments_getPremiumGiftCodeOptions                                = 0x2757ba54
	CRC_payments_checkGiftCode                                            = 0x8e51b4c1
	CRC_payments_applyGiftCode                                            = 0xf6e26854
	CRC_payments_getGiveawayInfo                                          = 0xf4239425
	CRC_payments_launchPrepaidGiveaway                                    = 0x5ff58f20
	CRC_payments_getStarsTopupOptions                                     = 0xc00ec7d3
	CRC_payments_getStarsStatus                                           = 0x104fcfa7
	CRC_payments_getStarsTransactions                                     = 0x69da4557
	CRC_payments_sendStarsForm                                            = 0x7998c914
	CRC_payments_refundStarsCharge                                        = 0x25ae8f4a
	CRC_payments_getStarsRevenueStats                                     = 0xd91ffad6
	CRC_payments_getStarsRevenueWithdrawalURL                             = 0x13bbe8b3
	CRC_payments_getStarsRevenueAdsAccountURL                             = 0xd1d7efc5
	CRC_payments_getStarsTransactionsByID                                 = 0x27842d2e
	CRC_payments_getStarsGiftOptions                                      = 0xd3c96bc8
	CRC_payments_getStarsSubscriptions                                    = 0x032512c5
	CRC_payments_changeStarsSubscription                                  = 0xc7770878
	CRC_payments_fulfillStarsSubscription                                 = 0xcc5bebb3
	CRC_payments_getStarsGiveawayOptions                                  = 0xbd1efd3e
	CRC_payments_getStarGifts                                             = 0xc4563590
	CRC_payments_getUserStarGifts                                         = 0x5e72c7e1
	CRC_payments_saveStarGift                                             = 0x87acf08e
	CRC_payments_convertStarGift                                          = 0x0421e027
	CRC_stickers_createStickerSet                                         = 0x9021ab67
	CRC_stickers_removeStickerFromSet                                     = 0xf7760f51
	CRC_stickers_changeStickerPosition                                    = 0xffb6d4ca
	CRC_stickers_addStickerToSet                                          = 0x8653febe
	CRC_stickers_setStickerSetThumb                                       = 0xa76a5392
	CRC_stickers_checkShortName                                           = 0x284b3639
	CRC_stickers_suggestShortName                                         = 0x4dafc503
	CRC_stickers_changeSticker                                            = 0xf5537ebc
	CRC_stickers_renameStickerSet                                         = 0x124b1c00
	CRC_stickers_deleteStickerSet                                         = 0x87704394
	CRC_stickers_replaceSticker                                           = 0x4696459a
	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_phone_createGroupCall                                             = 0x48cdc6d8
	CRC_phone_joinGroupCall                                               = 0xb132ff7b
	CRC_phone_leaveGroupCall                                              = 0x500377f9
	CRC_phone_inviteToGroupCall                                           = 0x7b393160
	CRC_phone_discardGroupCall                                            = 0x7a777135
	CRC_phone_toggleGroupCallSettings                                     = 0x74bbb43d
	CRC_phone_getGroupCall                                                = 0x041845db
	CRC_phone_getGroupParticipants                                        = 0xc558d8ab
	CRC_phone_checkGroupCall                                              = 0xb59cf977
	CRC_phone_toggleGroupCallRecord                                       = 0xf128c708
	CRC_phone_editGroupCallParticipant                                    = 0xa5273abf
	CRC_phone_editGroupCallTitle                                          = 0x1ca6ac0a
	CRC_phone_getGroupCallJoinAs                                          = 0xef7c213a
	CRC_phone_exportGroupCallInvite                                       = 0xe6aa647f
	CRC_phone_toggleGroupCallStartSubscription                            = 0x219c34e6
	CRC_phone_startScheduledGroupCall                                     = 0x5680e342
	CRC_phone_saveDefaultGroupCallJoinAs                                  = 0x575e1f8c
	CRC_phone_joinGroupCallPresentation                                   = 0xcbea6bc4
	CRC_phone_leaveGroupCallPresentation                                  = 0x1c50d144
	CRC_phone_getGroupCallStreamChannels                                  = 0x1ab21940
	CRC_phone_getGroupCallStreamRTMPURL                                   = 0xdeb3abbf
	CRC_phone_saveCallLog                                                 = 0x41248786
	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_stats_getBroadcastStats                                           = 0xab42441a
	CRC_stats_loadAsyncGraph                                              = 0x621d5fa0
	CRC_stats_getMegagroupStats                                           = 0xdcdf8607
	CRC_stats_getMessagePublicForwards                                    = 0x5f150144
	CRC_stats_getMessageStats                                             = 0xb6e0a3f5
	CRC_stats_getStoryStats                                               = 0x374fef40
	CRC_stats_getStoryPublicForwards                                      = 0xa6437ef6
	CRC_stats_getBroadcastRevenueStats                                    = 0xf788ee19
	CRC_stats_getBroadcastRevenueWithdrawalURL                            = 0x9df4faad
	CRC_stats_getBroadcastRevenueTransactions                             = 0x70990b6d
	CRC_chatlists_exportChatlistInvite                                    = 0x8472478e
	CRC_chatlists_deleteExportedInvite                                    = 0x719c5c5e
	CRC_chatlists_editExportedInvite                                      = 0x653db63d
	CRC_chatlists_getExportedInvites                                      = 0xce03da83
	CRC_chatlists_checkChatlistInvite                                     = 0x41c10fff
	CRC_chatlists_joinChatlistInvite                                      = 0xa6b1e39a
	CRC_chatlists_getChatlistUpdates                                      = 0x89419521
	CRC_chatlists_joinChatlistUpdates                                     = 0xe089f8f5
	CRC_chatlists_hideChatlistUpdates                                     = 0x66e486fb
	CRC_chatlists_getLeaveChatlistSuggestions                             = 0xfdbcd714
	CRC_chatlists_leaveChatlist                                           = 0x74fae13a
	CRC_stories_canSendStory                                              = 0xc7dfdfdd
	CRC_stories_sendStory                                                 = 0xe4e6694b
	CRC_stories_editStory                                                 = 0xb583ba46
	CRC_stories_deleteStories                                             = 0xae59db5f
	CRC_stories_togglePinned                                              = 0x9a75a1ef
	CRC_stories_getAllStories                                             = 0xeeb0d625
	CRC_stories_getPinnedStories                                          = 0x5821a5dc
	CRC_stories_getStoriesArchive                                         = 0xb4352016
	CRC_stories_getStoriesByID                                            = 0x5774ca74
	CRC_stories_toggleAllStoriesHidden                                    = 0x7c2557c4
	CRC_stories_readStories                                               = 0xa556dac8
	CRC_stories_incrementStoryViews                                       = 0xb2028afb
	CRC_stories_getStoryViewsList                                         = 0x7ed23c57
	CRC_stories_getStoriesViews                                           = 0x28e16cc8
	CRC_stories_exportStoryLink                                           = 0x7b8def20
	CRC_stories_report                                                    = 0x19d8eb45
	CRC_stories_activateStealthMode                                       = 0x57bbd166
	CRC_stories_sendReaction                                              = 0x7fd736b2
	CRC_stories_getPeerStories                                            = 0x2c4ada50
	CRC_stories_getAllReadPeerStories                                     = 0x9b5ae7f9
	CRC_stories_getPeerMaxIDs                                             = 0x535983c3
	CRC_stories_getChatsToSend                                            = 0xa56a8b60
	CRC_stories_togglePeerStoriesHidden                                   = 0xbd0415c4
	CRC_stories_getStoryReactionsList                                     = 0xb9b2881f
	CRC_stories_togglePinnedToTop                                         = 0x0b297e9b
	CRC_stories_searchPosts                                               = 0xd1810907
	CRC_premium_getBoostsList                                             = 0x60f67660
	CRC_premium_getMyBoosts                                               = 0x0be77b4a
	CRC_premium_applyBoost                                                = 0x6b7da746
	CRC_premium_getBoostsStatus                                           = 0x042f1f61
	CRC_premium_getUserBoosts                                             = 0x39854d1f
	CRC_smsjobs_isEligibleToJoin                                          = 0x0edc39d0
	CRC_smsjobs_join                                                      = 0xa74ece2d
	CRC_smsjobs_leave                                                     = 0x9898ad73
	CRC_smsjobs_updateSettings                                            = 0x093fa0bf
	CRC_smsjobs_getStatus                                                 = 0x10a698e8
	CRC_smsjobs_getSMSJob                                                 = 0x778d902f
	CRC_smsjobs_finishJob                                                 = 0x4f1ebf24
	CRC_fragment_getCollectibleInfo                                       = 0xbe1e85ba
)
View Source
const ErrorBufStackKey = "mtproto_decode_err_buf_stack"
View Source
const FloodPremiumWaitErrPerfix = "FLOOD_PREMIUM_WAIT_"
View Source
const FloodWaitErrPerfix = "FLOOD_WAIT_"
View Source
const ROUTINES_COUNT = 5

Variables

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

Functions

func DecodeBuf_GenericObject added in v0.166.2

func DecodeBuf_GenericObject[T TL](m *DecodeBuf) T

func DecodeBuf_GenericVector added in v0.166.2

func DecodeBuf_GenericVector[T TL](m *DecodeBuf) []T

func DerefOr added in v0.166.2

func DerefOr[T any](val *T, defaultVal T) T

func EncodeBuf_GenericVector added in v0.166.2

func EncodeBuf_GenericVector[T TL](e *EncodeBuf, v []T)

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(tlOrErr any) (time.Duration, bool)

func Ref added in v0.166.2

func Ref[T any](val T) *T

func Sprint

func Sprint(obj TL) string

func UnexpectedTL

func UnexpectedTL(name string, obj TL) string

func UnwrapWrongRespError added in v0.181.1

func UnwrapWrongRespError[T TL](err error) (T, bool)

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)
	Password() (string, error)
}

type ColorLogHandler

type ColorLogHandler struct {
	SimpleLogHandler
	StdLogger *log.Logger
}

ColorLogHandler adds log line colors depending on severity level

func NewColorLogHandler

func NewColorLogHandler() *ColorLogHandler

func (ColorLogHandler) AddLevelColor

func (h ColorLogHandler) AddLevelColor(level LogLevel, text string) string

func (ColorLogHandler) Log

func (h ColorLogHandler) Log(level LogLevel, err error, msg string, args ...interface{})

func (ColorLogHandler) Message

func (h ColorLogHandler) Message(isIncoming bool, msg TL, id int64)

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) Bytes16 added in v0.166.2

func (m *DecodeBuf) Bytes16() [16]byte

func (*DecodeBuf) Bytes32 added in v0.166.2

func (m *DecodeBuf) Bytes32() [32]byte

func (*DecodeBuf) BytesTo added in v0.186.1

func (m *DecodeBuf) BytesTo(dest []byte) []byte

func (*DecodeBuf) Double

func (m *DecodeBuf) Double() float64

func (*DecodeBuf) Err added in v0.167.2

func (m *DecodeBuf) Err() error

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) RemainingLen added in v0.167.2

func (m *DecodeBuf) RemainingLen() int

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) Vector2d

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

func (*DecodeBuf) VectorBytes

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

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) Bool added in v0.166.2

func (e *EncodeBuf) Bool(s bool)

func (*EncodeBuf) Buf added in v0.167.2

func (e *EncodeBuf) Buf() []byte

func (*EncodeBuf) Bytes

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

func (*EncodeBuf) Bytes16 added in v0.166.2

func (e *EncodeBuf) Bytes16(s [16]byte)

func (*EncodeBuf) Bytes32 added in v0.166.2

func (e *EncodeBuf) Bytes32(s [32]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) Object added in v0.166.2

func (e *EncodeBuf) Object(obj TL)

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) Vector2d

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

func (*EncodeBuf) VectorBytes

func (e *EncodeBuf) VectorBytes(v [][]byte)

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 LogHandler

type LogHandler interface {
	Log(LogLevel, error, string, ...interface{})
	Message(bool, TL, int64)
}

type LogLevel

type LogLevel int
const (
	ERROR LogLevel = iota
	WARN
	INFO
	DEBUG
)

type Logger

type Logger struct {
	Hnd LogHandler
}

func (Logger) Debug

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

func (Logger) Error

func (l Logger) Error(err error, msg string, args ...interface{})

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 LogHandler
	AppID      int32
	AppHash    string
	AppConfig  *AppConfig
	ConnDialer proxy.Dialer
	SessStore  SessionStore
	Session    *SessionInfo
	TimeOffset time.Duration
}

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) 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) Disconnect

func (m *MTProto) Disconnect() error

func (*MTProto) GetContacts

func (m *MTProto) GetContacts() error

GetContacts prints account contacts as a table. For demonstration/debuging purposes.

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))

func (*MTProto) SetReconnectionHandler

func (m *MTProto) SetReconnectionHandler(handler func() error)

type NoopLogHandler

type NoopLogHandler struct{}

func (NoopLogHandler) Log

func (h NoopLogHandler) Log(level LogLevel, err error, msg string, args ...interface{})

func (NoopLogHandler) Message

func (h NoopLogHandler) Message(isIncoming bool, msg TL, id int64)

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)

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 SessFileStoreExt

type SessFileStoreExt struct {
	SessFileStore
	RequirePresent   bool // Session file must be already present
	IgnoreUnreadable bool // Session file can be unreadable and will be overwritten, if unreadable and writeable
}

func (*SessFileStoreExt) Load

func (s *SessFileStoreExt) Load(sess *SessionInfo) 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 SimpleLogHandler

type SimpleLogHandler struct{}

func (SimpleLogHandler) AddLevelPrevix

func (h SimpleLogHandler) AddLevelPrevix(level LogLevel, text string) string

func (SimpleLogHandler) Log

func (h SimpleLogHandler) Log(level LogLevel, err error, msg string, args ...interface{})

func (SimpleLogHandler) Message

func (h SimpleLogHandler) Message(isIncoming bool, msg TL, id int64)

func (SimpleLogHandler) StringifyLog

func (h SimpleLogHandler) StringifyLog(level LogLevel, err error, msg string, args ...interface{}) string

func (SimpleLogHandler) StringifyMessage

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

func (SimpleLogHandler) TLName

func (h SimpleLogHandler) TLName(obj interface{}) string

type TL

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

type TLReq

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

type TL_accessPointRule

type TL_accessPointRule struct {
	PhonePrefixRules string
	DCID             int32
	IPs              []TL // IpPort: TL_ipPort | TL_ipPortSecret
}

Constructs AccessPointRule

type TL_accountDaysTTL

type TL_accountDaysTTL struct {
	Days int32
}

Constructs AccountDaysTTL

type TL_account_acceptAuthorization

type TL_account_acceptAuthorization struct {
	BotID       int64
	Scope       string
	PublicKey   string
	ValueHashes []TL_secureValueHash
	Credentials TL_secureCredentialsEncrypted
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_authorizationForm

type TL_account_authorizationForm struct {
	RequiredTypes    []TL // SecureRequiredType: TL_secureRequiredType | TL_secureRequiredTypeOneOf
	Values           []TL_secureValue
	Errors           []TL    // SecureValueError: TL_secureValueErrorData | TL_secureValueErrorFrontSide | TL_secureValueErrorReverseSide | TL_secureValueErrorSelfie | TL_secureValueErrorFile | TL_secureValueErrorFiles | TL_secureValueError | TL_secureValueErrorTranslationFile | TL_secureValueErrorTranslationFiles
	Users            []TL    // User: TL_userEmpty | TL_user
	PrivacyPolicyURL *string // (optional)
}

Constructs account.AuthorizationForm

type TL_account_authorizations

type TL_account_authorizations struct {
	AuthorizationTTLDays int32
	Authorizations       []TL_authorization
}

Constructs account.Authorizations

type TL_account_autoDownloadSettings

type TL_account_autoDownloadSettings struct {
	Low    TL_autoDownloadSettings
	Medium TL_autoDownloadSettings
	High   TL_autoDownloadSettings
}

Constructs account.AutoDownloadSettings

type TL_account_autoSaveSettings

type TL_account_autoSaveSettings struct {
	UsersSettings      TL_autoSaveSettings
	ChatsSettings      TL_autoSaveSettings
	BroadcastsSettings TL_autoSaveSettings
	Exceptions         []TL_autoSaveException
	Chats              []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users              []TL // User: TL_userEmpty | TL_user
}

Constructs account.AutoSaveSettings

type TL_account_businessChatLinks struct {
	Links []TL_businessChatLink
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs account.BusinessChatLinks

type TL_account_cancelPasswordEmail

type TL_account_cancelPasswordEmail struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_changeAuthorizationSettings

type TL_account_changeAuthorizationSettings struct {
	Confirmed                 bool
	Hash                      int64
	EncryptedRequestsDisabled *bool // (optional)
	CallRequestsDisabled      *bool // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_changePhone

type TL_account_changePhone struct {
	PhoneNumber   string
	PhoneCodeHash string
	PhoneCode     string
}

Returns User: TL_userEmpty | TL_user

type TL_account_checkUsername

type TL_account_checkUsername struct {
	Username string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_clearRecentEmojiStatuses

type TL_account_clearRecentEmojiStatuses struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_confirmPasswordEmail

type TL_account_confirmPasswordEmail struct {
	Code string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_confirmPhone

type TL_account_confirmPhone struct {
	PhoneCodeHash string
	PhoneCode     string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_connectedBots added in v0.181.0

type TL_account_connectedBots struct {
	ConnectedBots []TL_connectedBot
	Users         []TL // User: TL_userEmpty | TL_user
}

Constructs account.ConnectedBots

type TL_account_contentSettings

type TL_account_contentSettings struct {
	SensitiveEnabled   bool
	SensitiveCanChange bool
}

Constructs account.ContentSettings

type TL_account_createBusinessChatLink struct {
	Link TL_inputBusinessChatLink
}

Returns BusinessChatLink: TL_businessChatLink

type TL_account_createTheme

type TL_account_createTheme struct {
	Slug     string
	Title    string
	Document TL                      // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Settings []TL_inputThemeSettings // (optional)
}

Returns Theme: TL_theme

type TL_account_declinePasswordReset

type TL_account_declinePasswordReset struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_deleteAccount

type TL_account_deleteAccount struct {
	Reason   string
	Password TL // (optional) InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_deleteAutoSaveExceptions

type TL_account_deleteAutoSaveExceptions struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_deleteBusinessChatLink struct {
	Slug string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_deleteSecureValue

type TL_account_deleteSecureValue struct {
	Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_disablePeerConnectedBot added in v0.181.0

type TL_account_disablePeerConnectedBot struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_editBusinessChatLink struct {
	Slug string
	Link TL_inputBusinessChatLink
}

Returns BusinessChatLink: TL_businessChatLink

type TL_account_emailVerified

type TL_account_emailVerified struct {
	Email string
}

Constructs account.EmailVerified

type TL_account_emailVerifiedLogin

type TL_account_emailVerifiedLogin struct {
	Email    string
	SentCode TL // auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess
}

Constructs account.EmailVerified

type TL_account_emojiStatuses

type TL_account_emojiStatuses struct {
	Hash     int64
	Statuses []TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
}

Constructs account.EmojiStatuses

type TL_account_emojiStatusesNotModified

type TL_account_emojiStatusesNotModified struct {
}

Constructs account.EmojiStatuses

type TL_account_finishTakeoutSession

type TL_account_finishTakeoutSession struct {
	Success bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_getAccountTTL

type TL_account_getAccountTTL struct {
}

Returns AccountDaysTTL: TL_accountDaysTTL

type TL_account_getAllSecureValues

type TL_account_getAllSecureValues struct {
}

Returns Vector<SecureValue>: TL_secureValue

type TL_account_getAuthorizationForm

type TL_account_getAuthorizationForm struct {
	BotID     int64
	Scope     string
	PublicKey string
}

Returns account.AuthorizationForm: TL_account_authorizationForm

type TL_account_getAuthorizations

type TL_account_getAuthorizations struct {
}

Returns account.Authorizations: TL_account_authorizations

type TL_account_getAutoDownloadSettings

type TL_account_getAutoDownloadSettings struct {
}

Returns account.AutoDownloadSettings: TL_account_autoDownloadSettings

type TL_account_getAutoSaveSettings

type TL_account_getAutoSaveSettings struct {
}

Returns account.AutoSaveSettings: TL_account_autoSaveSettings

type TL_account_getBotBusinessConnection added in v0.181.0

type TL_account_getBotBusinessConnection struct {
	ConnectionID string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_account_getBusinessChatLinks struct {
}

Returns account.BusinessChatLinks: TL_account_businessChatLinks

type TL_account_getChannelDefaultEmojiStatuses added in v0.181.0

type TL_account_getChannelDefaultEmojiStatuses struct {
	Hash int64
}

Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses

type TL_account_getChannelRestrictedStatusEmojis added in v0.181.0

type TL_account_getChannelRestrictedStatusEmojis struct {
	Hash int64
}

Returns EmojiList: TL_emojiListNotModified | TL_emojiList

type TL_account_getChatThemes

type TL_account_getChatThemes struct {
	Hash int64
}

Returns account.Themes: TL_account_themesNotModified | TL_account_themes

type TL_account_getConnectedBots added in v0.181.0

type TL_account_getConnectedBots struct {
}

Returns account.ConnectedBots: TL_account_connectedBots

type TL_account_getContactSignUpNotification

type TL_account_getContactSignUpNotification struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_getContentSettings

type TL_account_getContentSettings struct {
}

Returns account.ContentSettings: TL_account_contentSettings

type TL_account_getDefaultBackgroundEmojis added in v0.166.0

type TL_account_getDefaultBackgroundEmojis struct {
	Hash int64
}

Returns EmojiList: TL_emojiListNotModified | TL_emojiList

type TL_account_getDefaultEmojiStatuses

type TL_account_getDefaultEmojiStatuses struct {
	Hash int64
}

Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses

type TL_account_getDefaultGroupPhotoEmojis

type TL_account_getDefaultGroupPhotoEmojis struct {
	Hash int64
}

Returns EmojiList: TL_emojiListNotModified | TL_emojiList

type TL_account_getDefaultProfilePhotoEmojis

type TL_account_getDefaultProfilePhotoEmojis struct {
	Hash int64
}

Returns EmojiList: TL_emojiListNotModified | TL_emojiList

type TL_account_getGlobalPrivacySettings

type TL_account_getGlobalPrivacySettings struct {
}

Returns GlobalPrivacySettings: TL_globalPrivacySettings

type TL_account_getMultiWallPapers

type TL_account_getMultiWallPapers struct {
	Wallpapers []TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
}

Returns Vector<WallPaper>: TL_wallPaper | TL_wallPaperNoFile

type TL_account_getNotifyExceptions

type TL_account_getNotifyExceptions struct {
	CompareSound   bool
	CompareStories bool
	Peer           TL // (optional) InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_account_getNotifySettings

type TL_account_getNotifySettings struct {
	Peer TL // InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
}

Returns PeerNotifySettings: TL_peerNotifySettings

type TL_account_getPassword

type TL_account_getPassword struct {
}

Returns account.Password: TL_account_password

type TL_account_getPasswordSettings

type TL_account_getPasswordSettings struct {
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns account.PasswordSettings: TL_account_passwordSettings

type TL_account_getPrivacy

type TL_account_getPrivacy struct {
	Key TL // InputPrivacyKey: TL_inputPrivacyKeyStatusTimestamp | TL_inputPrivacyKeyChatInvite | TL_inputPrivacyKeyPhoneCall | TL_inputPrivacyKeyPhoneP2P | TL_inputPrivacyKeyForwards | TL_inputPrivacyKeyProfilePhoto | TL_inputPrivacyKeyPhoneNumber | TL_inputPrivacyKeyAddedByPhone | TL_inputPrivacyKeyVoiceMessages | TL_inputPrivacyKeyAbout | TL_inputPrivacyKeyBirthday
}

Returns account.PrivacyRules: TL_account_privacyRules

type TL_account_getReactionsNotifySettings added in v0.181.0

type TL_account_getReactionsNotifySettings struct {
}

Returns ReactionsNotifySettings: TL_reactionsNotifySettings

type TL_account_getRecentEmojiStatuses

type TL_account_getRecentEmojiStatuses struct {
	Hash int64
}

Returns account.EmojiStatuses: TL_account_emojiStatusesNotModified | TL_account_emojiStatuses

type TL_account_getSavedRingtones

type TL_account_getSavedRingtones struct {
	Hash int64
}

Returns account.SavedRingtones: TL_account_savedRingtonesNotModified | TL_account_savedRingtones

type TL_account_getSecureValue

type TL_account_getSecureValue struct {
	Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}

Returns Vector<SecureValue>: TL_secureValue

type TL_account_getTheme

type TL_account_getTheme struct {
	Format string
	Theme  TL // InputTheme: TL_inputTheme | TL_inputThemeSlug
}

Returns Theme: TL_theme

type TL_account_getThemes

type TL_account_getThemes struct {
	Format string
	Hash   int64
}

Returns account.Themes: TL_account_themesNotModified | TL_account_themes

type TL_account_getTmpPassword

type TL_account_getTmpPassword struct {
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
	Period   int32
}

Returns account.TmpPassword: TL_account_tmpPassword

type TL_account_getWallPaper

type TL_account_getWallPaper struct {
	Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
}

Returns WallPaper: TL_wallPaper | TL_wallPaperNoFile

type TL_account_getWallPapers

type TL_account_getWallPapers struct {
	Hash int64
}

Returns account.WallPapers: TL_account_wallPapersNotModified | TL_account_wallPapers

type TL_account_getWebAuthorizations

type TL_account_getWebAuthorizations struct {
}

Returns account.WebAuthorizations: TL_account_webAuthorizations

type TL_account_initTakeoutSession

type TL_account_initTakeoutSession struct {
	Contacts          bool
	MessageUsers      bool
	MessageChats      bool
	MessageMegagroups bool
	MessageChannels   bool
	Files             bool
	FileMaxSize       *int64 // (optional)
}

Returns account.Takeout: TL_account_takeout

type TL_account_installTheme

type TL_account_installTheme struct {
	Dark      bool
	Theme     TL      // (optional) InputTheme: TL_inputTheme | TL_inputThemeSlug
	Format    *string // (optional)
	BaseTheme TL      // (optional) BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_installWallPaper

type TL_account_installWallPaper struct {
	Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
	Settings  TL_wallPaperSettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_invalidateSignInCodes added in v0.166.0

type TL_account_invalidateSignInCodes struct {
	Codes []string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_password

type TL_account_password struct {
	HasRecovery             bool
	HasSecureValues         bool
	HasPassword             bool
	CurrentAlgo             TL      // (optional) PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
	SrpB                    []byte  // (optional)
	SrpID                   *int64  // (optional)
	Hint                    *string // (optional)
	EmailUnconfirmedPattern *string // (optional)
	NewAlgo                 TL      // PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
	NewSecureAlgo           TL      // SecurePasswordKdfAlgo: TL_securePasswordKDFAlgoUnknown | TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 | TL_securePasswordKDFAlgoSHA512
	SecureRandom            []byte
	PendingResetDate        *int32  // (optional)
	LoginEmailPattern       *string // (optional)
}

Constructs account.Password

type TL_account_passwordInputSettings

type TL_account_passwordInputSettings struct {
	NewAlgo           TL                       // (optional) PasswordKdfAlgo: TL_passwordKDFAlgoUnknown | TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow
	NewPasswordHash   []byte                   // (optional)
	Hint              *string                  // (optional)
	Email             *string                  // (optional)
	NewSecureSettings *TL_secureSecretSettings // (optional)
}

Constructs account.PasswordInputSettings

type TL_account_passwordSettings

type TL_account_passwordSettings struct {
	Email          *string                  // (optional)
	SecureSettings *TL_secureSecretSettings // (optional)
}

Constructs account.PasswordSettings

type TL_account_privacyRules

type TL_account_privacyRules struct {
	Rules []TL // PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs account.PrivacyRules

type TL_account_registerDevice

type TL_account_registerDevice struct {
	NoMuted    bool
	TokenType  int32
	Token      string
	AppSandbox bool
	Secret     []byte
	OtherUIDs  []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_reorderUsernames

type TL_account_reorderUsernames struct {
	Order []string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_reportPeer

type TL_account_reportPeer struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Reason  TL // ReportReason: TL_inputReportReasonSpam | TL_inputReportReasonViolence | TL_inputReportReasonPornography | TL_inputReportReasonChildAbuse | TL_inputReportReasonOther | TL_inputReportReasonCopyright | TL_inputReportReasonGeoIrrelevant | TL_inputReportReasonFake | TL_inputReportReasonIllegalDrugs | TL_inputReportReasonPersonalDetails
	Message string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_reportProfilePhoto

type TL_account_reportProfilePhoto struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	PhotoID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
	Reason  TL // ReportReason: TL_inputReportReasonSpam | TL_inputReportReasonViolence | TL_inputReportReasonPornography | TL_inputReportReasonChildAbuse | TL_inputReportReasonOther | TL_inputReportReasonCopyright | TL_inputReportReasonGeoIrrelevant | TL_inputReportReasonFake | TL_inputReportReasonIllegalDrugs | TL_inputReportReasonPersonalDetails
	Message string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resendPasswordEmail

type TL_account_resendPasswordEmail struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resetAuthorization

type TL_account_resetAuthorization struct {
	Hash int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resetNotifySettings

type TL_account_resetNotifySettings struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resetPassword

type TL_account_resetPassword struct {
}

Returns account.ResetPasswordResult: TL_account_resetPasswordFailedWait | TL_account_resetPasswordRequestedWait | TL_account_resetPasswordOK

type TL_account_resetPasswordFailedWait

type TL_account_resetPasswordFailedWait struct {
	RetryDate int32
}

Constructs account.ResetPasswordResult

type TL_account_resetPasswordOK added in v0.166.2

type TL_account_resetPasswordOK struct {
}

Constructs account.ResetPasswordResult

type TL_account_resetPasswordRequestedWait

type TL_account_resetPasswordRequestedWait struct {
	UntilDate int32
}

Constructs account.ResetPasswordResult

type TL_account_resetWallPapers

type TL_account_resetWallPapers struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resetWebAuthorization

type TL_account_resetWebAuthorization struct {
	Hash int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resetWebAuthorizations

type TL_account_resetWebAuthorizations struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_resolveBusinessChatLink struct {
	Slug string
}

Returns account.ResolvedBusinessChatLinks: TL_account_resolvedBusinessChatLinks

type TL_account_resolvedBusinessChatLinks struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Message  string
	Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs account.ResolvedBusinessChatLinks

type TL_account_saveAutoDownloadSettings

type TL_account_saveAutoDownloadSettings struct {
	Low      bool
	High     bool
	Settings TL_autoDownloadSettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_saveAutoSaveSettings

type TL_account_saveAutoSaveSettings struct {
	Users      bool
	Chats      bool
	Broadcasts bool
	Peer       TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Settings   TL_autoSaveSettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_saveRingtone

type TL_account_saveRingtone struct {
	ID     TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Unsave bool
}

Returns account.SavedRingtone: TL_account_savedRingtone | TL_account_savedRingtoneConverted

type TL_account_saveSecureValue

type TL_account_saveSecureValue struct {
	Value          TL_inputSecureValue
	SecureSecretID int64
}

Returns SecureValue: TL_secureValue

type TL_account_saveTheme

type TL_account_saveTheme struct {
	Theme  TL // InputTheme: TL_inputTheme | TL_inputThemeSlug
	Unsave bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_saveWallPaper

type TL_account_saveWallPaper struct {
	Wallpaper TL // InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
	Unsave    bool
	Settings  TL_wallPaperSettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_savedRingtone

type TL_account_savedRingtone struct {
}

Constructs account.SavedRingtone

type TL_account_savedRingtoneConverted

type TL_account_savedRingtoneConverted struct {
	Document TL // Document: TL_documentEmpty | TL_document
}

Constructs account.SavedRingtone

type TL_account_savedRingtones

type TL_account_savedRingtones struct {
	Hash      int64
	Ringtones []TL // Document: TL_documentEmpty | TL_document
}

Constructs account.SavedRingtones

type TL_account_savedRingtonesNotModified

type TL_account_savedRingtonesNotModified struct {
}

Constructs account.SavedRingtones

type TL_account_sendChangePhoneCode

type TL_account_sendChangePhoneCode struct {
	PhoneNumber string
	Settings    TL_codeSettings
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_account_sendConfirmPhoneCode

type TL_account_sendConfirmPhoneCode struct {
	Hash     string
	Settings TL_codeSettings
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_account_sendVerifyEmailCode

type TL_account_sendVerifyEmailCode struct {
	Purpose TL // EmailVerifyPurpose: TL_emailVerifyPurposeLoginSetup | TL_emailVerifyPurposeLoginChange | TL_emailVerifyPurposePassport
	Email   string
}

Returns account.SentEmailCode: TL_account_sentEmailCode

type TL_account_sendVerifyPhoneCode

type TL_account_sendVerifyPhoneCode struct {
	PhoneNumber string
	Settings    TL_codeSettings
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_account_sentEmailCode

type TL_account_sentEmailCode struct {
	EmailPattern string
	Length       int32
}

Constructs account.SentEmailCode

type TL_account_setAccountTTL

type TL_account_setAccountTTL struct {
	TTL TL_accountDaysTTL
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_setAuthorizationTTL

type TL_account_setAuthorizationTTL struct {
	AuthorizationTTLDays int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_setContactSignUpNotification

type TL_account_setContactSignUpNotification struct {
	Silent bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_setContentSettings

type TL_account_setContentSettings struct {
	SensitiveEnabled bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_setGlobalPrivacySettings

type TL_account_setGlobalPrivacySettings struct {
	Settings TL_globalPrivacySettings
}

Returns GlobalPrivacySettings: TL_globalPrivacySettings

type TL_account_setPrivacy

type TL_account_setPrivacy struct {
	Key   TL   // InputPrivacyKey: TL_inputPrivacyKeyStatusTimestamp | TL_inputPrivacyKeyChatInvite | TL_inputPrivacyKeyPhoneCall | TL_inputPrivacyKeyPhoneP2P | TL_inputPrivacyKeyForwards | TL_inputPrivacyKeyProfilePhoto | TL_inputPrivacyKeyPhoneNumber | TL_inputPrivacyKeyAddedByPhone | TL_inputPrivacyKeyVoiceMessages | TL_inputPrivacyKeyAbout | TL_inputPrivacyKeyBirthday
	Rules []TL // InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium
}

Returns account.PrivacyRules: TL_account_privacyRules

type TL_account_setReactionsNotifySettings added in v0.181.0

type TL_account_setReactionsNotifySettings struct {
	Settings TL_reactionsNotifySettings
}

Returns ReactionsNotifySettings: TL_reactionsNotifySettings

type TL_account_takeout

type TL_account_takeout struct {
	ID int64
}

Constructs account.Takeout

type TL_account_themes

type TL_account_themes struct {
	Hash   int64
	Themes []TL_theme
}

Constructs account.Themes

type TL_account_themesNotModified

type TL_account_themesNotModified struct {
}

Constructs account.Themes

type TL_account_tmpPassword

type TL_account_tmpPassword struct {
	TmpPassword []byte
	ValidUntil  int32
}

Constructs account.TmpPassword

type TL_account_toggleConnectedBotPaused added in v0.181.0

type TL_account_toggleConnectedBotPaused struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Paused bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_toggleSponsoredMessages added in v0.181.0

type TL_account_toggleSponsoredMessages struct {
	Enabled bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_toggleUsername

type TL_account_toggleUsername struct {
	Username string
	Active   bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_unregisterDevice

type TL_account_unregisterDevice struct {
	TokenType int32
	Token     string
	OtherUIDs []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBirthday added in v0.181.0

type TL_account_updateBirthday struct {
	Birthday *TL_birthday // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBusinessAwayMessage added in v0.181.0

type TL_account_updateBusinessAwayMessage struct {
	Message *TL_inputBusinessAwayMessage // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBusinessGreetingMessage added in v0.181.0

type TL_account_updateBusinessGreetingMessage struct {
	Message *TL_inputBusinessGreetingMessage // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBusinessIntro added in v0.181.0

type TL_account_updateBusinessIntro struct {
	Intro *TL_inputBusinessIntro // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBusinessLocation added in v0.181.0

type TL_account_updateBusinessLocation struct {
	GeoPoint TL      // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Address  *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateBusinessWorkHours added in v0.181.0

type TL_account_updateBusinessWorkHours struct {
	BusinessWorkHours *TL_businessWorkHours // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateColor added in v0.166.0

type TL_account_updateColor struct {
	ForProfile        bool
	Color             *int32 // (optional)
	BackgroundEmojiID *int64 // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateConnectedBot added in v0.181.0

type TL_account_updateConnectedBot struct {
	CanReply   bool
	Deleted    bool
	Bot        TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Recipients TL_inputBusinessBotRecipients
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_account_updateDeviceLocked

type TL_account_updateDeviceLocked struct {
	Period int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateEmojiStatus

type TL_account_updateEmojiStatus struct {
	EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateNotifySettings

type TL_account_updateNotifySettings struct {
	Peer     TL // InputNotifyPeer: TL_inputNotifyPeer | TL_inputNotifyUsers | TL_inputNotifyChats | TL_inputNotifyBroadcasts | TL_inputNotifyForumTopic
	Settings TL_inputPeerNotifySettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updatePasswordSettings

type TL_account_updatePasswordSettings struct {
	Password    TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
	NewSettings TL_account_passwordInputSettings
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updatePersonalChannel added in v0.181.0

type TL_account_updatePersonalChannel struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateProfile

type TL_account_updateProfile struct {
	FirstName *string // (optional)
	LastName  *string // (optional)
	About     *string // (optional)
}

Returns User: TL_userEmpty | TL_user

type TL_account_updateStatus

type TL_account_updateStatus struct {
	Offline bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_updateTheme

type TL_account_updateTheme struct {
	Format   string
	Theme    TL                      // InputTheme: TL_inputTheme | TL_inputThemeSlug
	Slug     *string                 // (optional)
	Title    *string                 // (optional)
	Document TL                      // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Settings []TL_inputThemeSettings // (optional)
}

Returns Theme: TL_theme

type TL_account_updateUsername

type TL_account_updateUsername struct {
	Username string
}

Returns User: TL_userEmpty | TL_user

type TL_account_uploadRingtone

type TL_account_uploadRingtone struct {
	File     TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	FileName string
	MIMEType string
}

Returns Document: TL_documentEmpty | TL_document

type TL_account_uploadTheme

type TL_account_uploadTheme struct {
	File     TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Thumb    TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	FileName string
	MIMEType string
}

Returns Document: TL_documentEmpty | TL_document

type TL_account_uploadWallPaper

type TL_account_uploadWallPaper struct {
	ForChat  bool
	File     TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	MIMEType string
	Settings TL_wallPaperSettings
}

Returns WallPaper: TL_wallPaper | TL_wallPaperNoFile

type TL_account_verifyEmail

type TL_account_verifyEmail struct {
	Purpose      TL // EmailVerifyPurpose: TL_emailVerifyPurposeLoginSetup | TL_emailVerifyPurposeLoginChange | TL_emailVerifyPurposePassport
	Verification TL // EmailVerification: TL_emailVerificationCode | TL_emailVerificationGoogle | TL_emailVerificationApple
}

Returns account.EmailVerified: TL_account_emailVerified | TL_account_emailVerifiedLogin

type TL_account_verifyPhone

type TL_account_verifyPhone struct {
	PhoneNumber   string
	PhoneCodeHash string
	PhoneCode     string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_account_wallPapers

type TL_account_wallPapers struct {
	Hash       int64
	Wallpapers []TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}

Constructs account.WallPapers

type TL_account_wallPapersNotModified

type TL_account_wallPapersNotModified struct {
}

Constructs account.WallPapers

type TL_account_webAuthorizations

type TL_account_webAuthorizations struct {
	Authorizations []TL_webAuthorization
	Users          []TL // User: TL_userEmpty | TL_user
}

Constructs account.WebAuthorizations

type TL_attachMenuBot

type TL_attachMenuBot struct {
	Inactive                 bool
	HasSettings              bool
	RequestWriteAccess       bool
	ShowInAttachMenu         bool
	ShowInSideMenu           bool
	SideMenuDisclaimerNeeded bool
	BotID                    int64
	ShortName                string
	PeerTypes                []TL // (optional) AttachMenuPeerType: TL_attachMenuPeerTypeSameBotPM | TL_attachMenuPeerTypeBotPM | TL_attachMenuPeerTypePM | TL_attachMenuPeerTypeChat | TL_attachMenuPeerTypeBroadcast
	Icons                    []TL_attachMenuBotIcon
}

Constructs AttachMenuBot

type TL_attachMenuBotIcon

type TL_attachMenuBotIcon struct {
	Name   string
	Icon   TL                          // Document: TL_documentEmpty | TL_document
	Colors []TL_attachMenuBotIconColor // (optional)
}

Constructs AttachMenuBotIcon

type TL_attachMenuBotIconColor

type TL_attachMenuBotIconColor struct {
	Name  string
	Color int32
}

Constructs AttachMenuBotIconColor

type TL_attachMenuBots

type TL_attachMenuBots struct {
	Hash  int64
	Bots  []TL_attachMenuBot
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs AttachMenuBots

type TL_attachMenuBotsBot

type TL_attachMenuBotsBot struct {
	Bot   TL_attachMenuBot
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs AttachMenuBotsBot

type TL_attachMenuBotsNotModified

type TL_attachMenuBotsNotModified struct {
}

Constructs AttachMenuBots

type TL_attachMenuPeerTypeBotPM

type TL_attachMenuPeerTypeBotPM struct {
}

Constructs AttachMenuPeerType

type TL_attachMenuPeerTypeBroadcast

type TL_attachMenuPeerTypeBroadcast struct {
}

Constructs AttachMenuPeerType

type TL_attachMenuPeerTypeChat

type TL_attachMenuPeerTypeChat struct {
}

Constructs AttachMenuPeerType

type TL_attachMenuPeerTypePM

type TL_attachMenuPeerTypePM struct {
}

Constructs AttachMenuPeerType

type TL_attachMenuPeerTypeSameBotPM

type TL_attachMenuPeerTypeSameBotPM struct {
}

Constructs AttachMenuPeerType

type TL_auth_acceptLoginToken

type TL_auth_acceptLoginToken struct {
	Token []byte
}

Returns Authorization: TL_authorization

type TL_auth_authorization

type TL_auth_authorization struct {
	SetupPasswordRequired bool
	OtherwiseReloginDays  *int32 // (optional)
	TmpSessions           *int32 // (optional)
	FutureAuthToken       []byte // (optional)
	User                  TL     // User: TL_userEmpty | TL_user
}

Constructs auth.Authorization

type TL_auth_authorizationSignUpRequired

type TL_auth_authorizationSignUpRequired struct {
	TermsOfService *TL_help_termsOfService // (optional)
}

Constructs auth.Authorization

type TL_auth_bindTempAuthKey

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

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_cancelCode

type TL_auth_cancelCode struct {
	PhoneNumber   string
	PhoneCodeHash string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_checkPassword

type TL_auth_checkPassword struct {
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_checkRecoveryPassword

type TL_auth_checkRecoveryPassword struct {
	Code string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_codeTypeCall

type TL_auth_codeTypeCall struct {
}

Constructs auth.CodeType

type TL_auth_codeTypeFlashCall

type TL_auth_codeTypeFlashCall struct {
}

Constructs auth.CodeType

type TL_auth_codeTypeFragmentSMS added in v0.166.2

type TL_auth_codeTypeFragmentSMS struct {
}

Constructs auth.CodeType

type TL_auth_codeTypeMissedCall

type TL_auth_codeTypeMissedCall struct {
}

Constructs auth.CodeType

type TL_auth_codeTypeSMS added in v0.166.2

type TL_auth_codeTypeSMS struct {
}

Constructs auth.CodeType

type TL_auth_dropTempAuthKeys

type TL_auth_dropTempAuthKeys struct {
	ExceptAuthKeys []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_exportAuthorization

type TL_auth_exportAuthorization struct {
	DCID int32
}

Returns auth.ExportedAuthorization: TL_auth_exportedAuthorization

type TL_auth_exportLoginToken

type TL_auth_exportLoginToken struct {
	APIID     int32
	APIHash   string
	ExceptIDs []int64
}

Returns auth.LoginToken: TL_auth_loginToken | TL_auth_loginTokenMigrateTo | TL_auth_loginTokenSuccess

type TL_auth_exportedAuthorization

type TL_auth_exportedAuthorization struct {
	ID    int64
	Bytes []byte
}

Constructs auth.ExportedAuthorization

type TL_auth_importAuthorization

type TL_auth_importAuthorization struct {
	ID    int64
	Bytes []byte
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_importBotAuthorization

type TL_auth_importBotAuthorization struct {
	Flags        int32
	APIID        int32
	APIHash      string
	BotAuthToken string
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_importLoginToken

type TL_auth_importLoginToken struct {
	Token []byte
}

Returns auth.LoginToken: TL_auth_loginToken | TL_auth_loginTokenMigrateTo | TL_auth_loginTokenSuccess

type TL_auth_importWebTokenAuthorization

type TL_auth_importWebTokenAuthorization struct {
	APIID        int32
	APIHash      string
	WebAuthToken string
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_logOut

type TL_auth_logOut struct {
}

Returns auth.LoggedOut: TL_auth_loggedOut

type TL_auth_loggedOut

type TL_auth_loggedOut struct {
	FutureAuthToken []byte // (optional)
}

Constructs auth.LoggedOut

type TL_auth_loginToken

type TL_auth_loginToken struct {
	Expires int32
	Token   []byte
}

Constructs auth.LoginToken

type TL_auth_loginTokenMigrateTo

type TL_auth_loginTokenMigrateTo struct {
	DCID  int32
	Token []byte
}

Constructs auth.LoginToken

type TL_auth_loginTokenSuccess

type TL_auth_loginTokenSuccess struct {
	Authorization TL // auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
}

Constructs auth.LoginToken

type TL_auth_passwordRecovery

type TL_auth_passwordRecovery struct {
	EmailPattern string
}

Constructs auth.PasswordRecovery

type TL_auth_recoverPassword

type TL_auth_recoverPassword struct {
	Code        string
	NewSettings *TL_account_passwordInputSettings // (optional)
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_reportMissingCode added in v0.181.0

type TL_auth_reportMissingCode struct {
	PhoneNumber   string
	PhoneCodeHash string
	Mnc           string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_requestFirebaseSMS added in v0.166.2

type TL_auth_requestFirebaseSMS struct {
	PhoneNumber        string
	PhoneCodeHash      string
	SafetyNetToken     *string // (optional)
	PlayIntegrityToken *string // (optional)
	IOSPushSecret      *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_requestPasswordRecovery

type TL_auth_requestPasswordRecovery struct {
}

Returns auth.PasswordRecovery: TL_auth_passwordRecovery

type TL_auth_resendCode

type TL_auth_resendCode struct {
	PhoneNumber   string
	PhoneCodeHash string
	Reason        *string // (optional)
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_auth_resetAuthorizations

type TL_auth_resetAuthorizations struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_auth_resetLoginEmail

type TL_auth_resetLoginEmail struct {
	PhoneNumber   string
	PhoneCodeHash string
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_auth_sendCode

type TL_auth_sendCode struct {
	PhoneNumber string
	APIID       int32
	APIHash     string
	Settings    TL_codeSettings
}

Returns auth.SentCode: TL_auth_sentCode | TL_auth_sentCodeSuccess

type TL_auth_sentCode

type TL_auth_sentCode struct {
	Type          TL // auth.SentCodeType: TL_auth_sentCodeTypeApp | TL_auth_sentCodeTypeSMS | TL_auth_sentCodeTypeCall | TL_auth_sentCodeTypeFlashCall | TL_auth_sentCodeTypeMissedCall | TL_auth_sentCodeTypeEmailCode | TL_auth_sentCodeTypeSetUpEmailRequired | TL_auth_sentCodeTypeFragmentSMS | TL_auth_sentCodeTypeFirebaseSMS | TL_auth_sentCodeTypeSMSWord | TL_auth_sentCodeTypeSMSPhrase
	PhoneCodeHash string
	NextType      TL     // (optional) auth.CodeType: TL_auth_codeTypeSMS | TL_auth_codeTypeCall | TL_auth_codeTypeFlashCall | TL_auth_codeTypeMissedCall | TL_auth_codeTypeFragmentSMS
	Timeout       *int32 // (optional)
}

Constructs auth.SentCode

type TL_auth_sentCodeSuccess

type TL_auth_sentCodeSuccess struct {
	Authorization TL // auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired
}

Constructs auth.SentCode

type TL_auth_sentCodeTypeApp

type TL_auth_sentCodeTypeApp struct {
	Length int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeCall

type TL_auth_sentCodeTypeCall struct {
	Length int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeEmailCode

type TL_auth_sentCodeTypeEmailCode struct {
	AppleSigninAllowed   bool
	GoogleSigninAllowed  bool
	EmailPattern         string
	Length               int32
	ResetAvailablePeriod *int32 // (optional)
	ResetPendingDate     *int32 // (optional)
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeFirebaseSMS added in v0.166.2

type TL_auth_sentCodeTypeFirebaseSMS struct {
	Nonce                  []byte  // (optional)
	PlayIntegrityProjectID *int64  // (optional)
	PlayIntegrityNonce     []byte  // (optional)
	Receipt                *string // (optional)
	PushTimeout            *int32  // (optional)
	Length                 int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeFlashCall

type TL_auth_sentCodeTypeFlashCall struct {
	Pattern string
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeFragmentSMS added in v0.166.2

type TL_auth_sentCodeTypeFragmentSMS struct {
	URL    string
	Length int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeMissedCall

type TL_auth_sentCodeTypeMissedCall struct {
	Prefix string
	Length int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeSMS added in v0.166.2

type TL_auth_sentCodeTypeSMS struct {
	Length int32
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeSMSPhrase added in v0.181.0

type TL_auth_sentCodeTypeSMSPhrase struct {
	Beginning *string // (optional)
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeSMSWord added in v0.181.0

type TL_auth_sentCodeTypeSMSWord struct {
	Beginning *string // (optional)
}

Constructs auth.SentCodeType

type TL_auth_sentCodeTypeSetUpEmailRequired

type TL_auth_sentCodeTypeSetUpEmailRequired struct {
	AppleSigninAllowed  bool
	GoogleSigninAllowed bool
}

Constructs auth.SentCodeType

type TL_auth_signIn

type TL_auth_signIn struct {
	PhoneNumber       string
	PhoneCodeHash     string
	PhoneCode         *string // (optional)
	EmailVerification TL      // (optional) EmailVerification: TL_emailVerificationCode | TL_emailVerificationGoogle | TL_emailVerificationApple
}

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_auth_signUp

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

Returns auth.Authorization: TL_auth_authorization | TL_auth_authorizationSignUpRequired

type TL_authorization

type TL_authorization struct {
	Current                   bool
	OfficialApp               bool
	PasswordPending           bool
	EncryptedRequestsDisabled bool
	CallRequestsDisabled      bool
	Unconfirmed               bool
	Hash                      int64
	DeviceModel               string
	Platform                  string
	SystemVersion             string
	APIID                     int32
	AppName                   string
	AppVersion                string
	DateCreated               int32
	DateActive                int32
	IP                        string
	Country                   string
	Region                    string
}

Constructs Authorization

type TL_autoDownloadSettings

type TL_autoDownloadSettings struct {
	Disabled                      bool
	VideoPreloadLarge             bool
	AudioPreloadNext              bool
	PhonecallsLessData            bool
	StoriesPreload                bool
	PhotoSizeMax                  int32
	VideoSizeMax                  int64
	FileSizeMax                   int64
	VideoUploadMaxbitrate         int32
	SmallQueueActiveOperationsMax int32
	LargeQueueActiveOperationsMax int32
}

Constructs AutoDownloadSettings

type TL_autoSaveException

type TL_autoSaveException struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Settings TL_autoSaveSettings
}

Constructs AutoSaveException

type TL_autoSaveSettings

type TL_autoSaveSettings struct {
	Photos       bool
	Videos       bool
	VideoMaxSize *int64 // (optional)
}

Constructs AutoSaveSettings

type TL_availableEffect added in v0.181.0

type TL_availableEffect struct {
	PremiumRequired   bool
	ID                int64
	Emoticon          string
	StaticIconID      *int64 // (optional)
	EffectStickerID   int64
	EffectAnimationID *int64 // (optional)
}

Constructs AvailableEffect

type TL_availableReaction

type TL_availableReaction struct {
	Inactive          bool
	Premium           bool
	Reaction          string
	Title             string
	StaticIcon        TL // Document: TL_documentEmpty | TL_document
	AppearAnimation   TL // Document: TL_documentEmpty | TL_document
	SelectAnimation   TL // Document: TL_documentEmpty | TL_document
	ActivateAnimation TL // Document: TL_documentEmpty | TL_document
	EffectAnimation   TL // Document: TL_documentEmpty | TL_document
	AroundAnimation   TL // (optional) Document: TL_documentEmpty | TL_document
	CenterIcon        TL // (optional) Document: TL_documentEmpty | TL_document
}

Constructs AvailableReaction

type TL_badMsgNotification added in v0.166.2

type TL_badMsgNotification struct {
	BadMsgID    int64
	BadMsgSeqno int32
	ErrorCode   int32
}

Constructs BadMsgNotification

type TL_badServerSalt added in v0.166.2

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

Constructs BadMsgNotification

type TL_bankCardOpenURL added in v0.166.2

type TL_bankCardOpenURL struct {
	URL  string
	Name string
}

Constructs BankCardOpenUrl

type TL_baseThemeArctic

type TL_baseThemeArctic struct {
}

Constructs BaseTheme

type TL_baseThemeClassic

type TL_baseThemeClassic struct {
}

Constructs BaseTheme

type TL_baseThemeDay

type TL_baseThemeDay struct {
}

Constructs BaseTheme

type TL_baseThemeNight

type TL_baseThemeNight struct {
}

Constructs BaseTheme

type TL_baseThemeTinted

type TL_baseThemeTinted struct {
}

Constructs BaseTheme

type TL_bindAuthKeyInner added in v0.166.2

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

Constructs BindAuthKeyInner

type TL_birthday added in v0.181.0

type TL_birthday struct {
	Day   int32
	Month int32
	Year  *int32 // (optional)
}

Constructs Birthday

type TL_boolFalse

type TL_boolFalse struct {
}

Constructs Bool

type TL_boolTrue

type TL_boolTrue struct {
}

Constructs Bool

type TL_boost added in v0.166.0

type TL_boost struct {
	Gift          bool
	Giveaway      bool
	Unclaimed     bool
	ID            string
	UserID        *int64 // (optional)
	GiveawayMsgID *int32 // (optional)
	Date          int32
	Expires       int32
	UsedGiftSlug  *string // (optional)
	Multiplier    *int32  // (optional)
	Stars         *int64  // (optional)
}

Constructs Boost

type TL_botApp

type TL_botApp struct {
	ID          int64
	AccessHash  int64
	ShortName   string
	Title       string
	Description string
	Photo       TL // Photo: TL_photoEmpty | TL_photo
	Document    TL // (optional) Document: TL_documentEmpty | TL_document
	Hash        int64
}

Constructs BotApp

type TL_botAppNotModified

type TL_botAppNotModified struct {
}

Constructs BotApp

type TL_botBusinessConnection added in v0.181.0

type TL_botBusinessConnection struct {
	CanReply     bool
	Disabled     bool
	ConnectionID string
	UserID       int64
	DCID         int32
	Date         int32
}

Constructs BotBusinessConnection

type TL_botCommand

type TL_botCommand struct {
	Command     string
	Description string
}

Constructs BotCommand

type TL_botCommandScopeChatAdmins

type TL_botCommandScopeChatAdmins struct {
}

Constructs BotCommandScope

type TL_botCommandScopeChats

type TL_botCommandScopeChats struct {
}

Constructs BotCommandScope

type TL_botCommandScopeDefault

type TL_botCommandScopeDefault struct {
}

Constructs BotCommandScope

type TL_botCommandScopePeer

type TL_botCommandScopePeer struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs BotCommandScope

type TL_botCommandScopePeerAdmins

type TL_botCommandScopePeerAdmins struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs BotCommandScope

type TL_botCommandScopePeerUser

type TL_botCommandScopePeerUser struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs BotCommandScope

type TL_botCommandScopeUsers

type TL_botCommandScopeUsers struct {
}

Constructs BotCommandScope

type TL_botInfo

type TL_botInfo struct {
	HasPreviewMedias    bool
	UserID              *int64          // (optional)
	Description         *string         // (optional)
	DescriptionPhoto    TL              // (optional) Photo: TL_photoEmpty | TL_photo
	DescriptionDocument TL              // (optional) Document: TL_documentEmpty | TL_document
	Commands            []TL_botCommand // (optional)
	MenuButton          TL              // (optional) BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
	PrivacyPolicyURL    *string         // (optional)
}

Constructs BotInfo

type TL_botInlineMediaResult

type TL_botInlineMediaResult struct {
	ID          string
	Type        string
	Photo       TL      // (optional) Photo: TL_photoEmpty | TL_photo
	Document    TL      // (optional) Document: TL_documentEmpty | TL_document
	Title       *string // (optional)
	Description *string // (optional)
	SendMessage TL      // BotInlineMessage: TL_botInlineMessageMediaAuto | TL_botInlineMessageText | TL_botInlineMessageMediaGeo | TL_botInlineMessageMediaVenue | TL_botInlineMessageMediaContact | TL_botInlineMessageMediaInvoice | TL_botInlineMessageMediaWebPage
}

Constructs BotInlineResult

type TL_botInlineMessageMediaAuto

type TL_botInlineMessageMediaAuto struct {
	InvertMedia bool
	Message     string
	Entities    []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ReplyMarkup TL   // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageMediaContact

type TL_botInlineMessageMediaContact struct {
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
	ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageMediaGeo

type TL_botInlineMessageMediaGeo struct {
	Geo                         TL     // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Heading                     *int32 // (optional)
	Period                      *int32 // (optional)
	ProximityNotificationRadius *int32 // (optional)
	ReplyMarkup                 TL     // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageMediaInvoice

type TL_botInlineMessageMediaInvoice struct {
	ShippingAddressRequested bool
	Test                     bool
	Title                    string
	Description              string
	Photo                    TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Currency                 string
	TotalAmount              int64
	ReplyMarkup              TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageMediaVenue

type TL_botInlineMessageMediaVenue struct {
	Geo         TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Title       string
	Address     string
	Provider    string
	VenueID     string
	VenueType   string
	ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageMediaWebPage added in v0.166.0

type TL_botInlineMessageMediaWebPage struct {
	InvertMedia     bool
	ForceLargeMedia bool
	ForceSmallMedia bool
	Manual          bool
	Safe            bool
	Message         string
	Entities        []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	URL             string
	ReplyMarkup     TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineMessageText

type TL_botInlineMessageText struct {
	NoWebpage   bool
	InvertMedia bool
	Message     string
	Entities    []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ReplyMarkup TL   // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs BotInlineMessage

type TL_botInlineResult

type TL_botInlineResult struct {
	ID          string
	Type        string
	Title       *string // (optional)
	Description *string // (optional)
	URL         *string // (optional)
	Thumb       TL      // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Content     TL      // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	SendMessage TL      // BotInlineMessage: TL_botInlineMessageMediaAuto | TL_botInlineMessageText | TL_botInlineMessageMediaGeo | TL_botInlineMessageMediaVenue | TL_botInlineMessageMediaContact | TL_botInlineMessageMediaInvoice | TL_botInlineMessageMediaWebPage
}

Constructs BotInlineResult

type TL_botMenuButton

type TL_botMenuButton struct {
	Text string
	URL  string
}

Constructs BotMenuButton

type TL_botMenuButtonCommands

type TL_botMenuButtonCommands struct {
}

Constructs BotMenuButton

type TL_botMenuButtonDefault

type TL_botMenuButtonDefault struct {
}

Constructs BotMenuButton

type TL_botPreviewMedia added in v0.185.0

type TL_botPreviewMedia struct {
	Date  int32
	Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
}

Constructs BotPreviewMedia

type TL_bots_addPreviewMedia added in v0.185.0

type TL_bots_addPreviewMedia struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
	Media    TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns BotPreviewMedia: TL_botPreviewMedia

type TL_bots_allowSendMessage added in v0.166.0

type TL_bots_allowSendMessage struct {
	Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_bots_answerWebhookJSONQuery

type TL_bots_answerWebhookJSONQuery struct {
	QueryID int64
	Data    TL_dataJSON
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_botInfo

type TL_bots_botInfo struct {
	Name        string
	About       string
	Description string
}

Constructs bots.BotInfo

type TL_bots_canSendMessage added in v0.166.0

type TL_bots_canSendMessage struct {
	Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_deletePreviewMedia added in v0.185.0

type TL_bots_deletePreviewMedia struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
	Media    []TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_editPreviewMedia added in v0.185.0

type TL_bots_editPreviewMedia struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
	Media    TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	NewMedia TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns BotPreviewMedia: TL_botPreviewMedia

type TL_bots_getBotCommands

type TL_bots_getBotCommands struct {
	Scope    TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
	LangCode string
}

Returns Vector<BotCommand>: TL_botCommand

type TL_bots_getBotInfo

type TL_bots_getBotInfo struct {
	Bot      TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
}

Returns bots.BotInfo: TL_bots_botInfo

type TL_bots_getBotMenuButton

type TL_bots_getBotMenuButton struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton

type TL_bots_getPopularAppBots added in v0.185.0

type TL_bots_getPopularAppBots struct {
	Offset string
	Limit  int32
}

Returns bots.PopularAppBots: TL_bots_popularAppBots

type TL_bots_getPreviewInfo added in v0.185.0

type TL_bots_getPreviewInfo struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
}

Returns bots.PreviewInfo: TL_bots_previewInfo

type TL_bots_getPreviewMedias added in v0.185.0

type TL_bots_getPreviewMedias struct {
	Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Vector<BotPreviewMedia>: TL_botPreviewMedia

type TL_bots_invokeWebViewCustomMethod added in v0.166.0

type TL_bots_invokeWebViewCustomMethod struct {
	Bot          TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	CustomMethod string
	Params       TL_dataJSON
}

Returns DataJSON: TL_dataJSON

type TL_bots_popularAppBots added in v0.185.0

type TL_bots_popularAppBots struct {
	NextOffset *string // (optional)
	Users      []TL    // User: TL_userEmpty | TL_user
}

Constructs bots.PopularAppBots

type TL_bots_previewInfo added in v0.185.0

type TL_bots_previewInfo struct {
	Media     []TL_botPreviewMedia
	LangCodes []string
}

Constructs bots.PreviewInfo

type TL_bots_reorderPreviewMedias added in v0.185.0

type TL_bots_reorderPreviewMedias struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode string
	Order    []TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_reorderUsernames

type TL_bots_reorderUsernames struct {
	Bot   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Order []string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_resetBotCommands

type TL_bots_resetBotCommands struct {
	Scope    TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
	LangCode string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_sendCustomRequest

type TL_bots_sendCustomRequest struct {
	CustomMethod string
	Params       TL_dataJSON
}

Returns DataJSON: TL_dataJSON

type TL_bots_setBotBroadcastDefaultAdminRights

type TL_bots_setBotBroadcastDefaultAdminRights struct {
	AdminRights TL_chatAdminRights
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_setBotCommands

type TL_bots_setBotCommands struct {
	Scope    TL // BotCommandScope: TL_botCommandScopeDefault | TL_botCommandScopeUsers | TL_botCommandScopeChats | TL_botCommandScopeChatAdmins | TL_botCommandScopePeer | TL_botCommandScopePeerAdmins | TL_botCommandScopePeerUser
	LangCode string
	Commands []TL_botCommand
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_setBotGroupDefaultAdminRights

type TL_bots_setBotGroupDefaultAdminRights struct {
	AdminRights TL_chatAdminRights
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_setBotInfo

type TL_bots_setBotInfo struct {
	Bot         TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	LangCode    string
	Name        *string // (optional)
	About       *string // (optional)
	Description *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_setBotMenuButton

type TL_bots_setBotMenuButton struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Button TL // BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_bots_toggleUsername

type TL_bots_toggleUsername struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Username string
	Active   bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_broadcastRevenueBalances added in v0.181.0

type TL_broadcastRevenueBalances struct {
	WithdrawalEnabled bool
	CurrentBalance    int64
	AvailableBalance  int64
	OverallRevenue    int64
}

Constructs BroadcastRevenueBalances

type TL_broadcastRevenueTransactionProceeds added in v0.181.0

type TL_broadcastRevenueTransactionProceeds struct {
	Amount   int64
	FromDate int32
	ToDate   int32
}

Constructs BroadcastRevenueTransaction

type TL_broadcastRevenueTransactionRefund added in v0.181.0

type TL_broadcastRevenueTransactionRefund struct {
	Amount   int64
	Date     int32
	Provider string
}

Constructs BroadcastRevenueTransaction

type TL_broadcastRevenueTransactionWithdrawal added in v0.181.0

type TL_broadcastRevenueTransactionWithdrawal struct {
	Pending         bool
	Failed          bool
	Amount          int64
	Date            int32
	Provider        string
	TransactionDate *int32  // (optional)
	TransactionURL  *string // (optional)
}

Constructs BroadcastRevenueTransaction

type TL_businessAwayMessage added in v0.181.0

type TL_businessAwayMessage struct {
	OfflineOnly bool
	ShortcutID  int32
	Schedule    TL // BusinessAwayMessageSchedule: TL_businessAwayMessageScheduleAlways | TL_businessAwayMessageScheduleOutsideWorkHours | TL_businessAwayMessageScheduleCustom
	Recipients  TL_businessRecipients
}

Constructs BusinessAwayMessage

type TL_businessAwayMessageScheduleAlways added in v0.181.0

type TL_businessAwayMessageScheduleAlways struct {
}

Constructs BusinessAwayMessageSchedule

type TL_businessAwayMessageScheduleCustom added in v0.181.0

type TL_businessAwayMessageScheduleCustom struct {
	StartDate int32
	EndDate   int32
}

Constructs BusinessAwayMessageSchedule

type TL_businessAwayMessageScheduleOutsideWorkHours added in v0.181.0

type TL_businessAwayMessageScheduleOutsideWorkHours struct {
}

Constructs BusinessAwayMessageSchedule

type TL_businessBotRecipients added in v0.181.0

type TL_businessBotRecipients struct {
	ExistingChats   bool
	NewChats        bool
	Contacts        bool
	NonContacts     bool
	ExcludeSelected bool
	Users           []int64 // (optional)
	ExcludeUsers    []int64 // (optional)
}

Constructs BusinessBotRecipients

type TL_businessChatLink struct {
	Link     string
	Message  string
	Entities []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Title    *string // (optional)
	Views    int32
}

Constructs BusinessChatLink

type TL_businessGreetingMessage added in v0.181.0

type TL_businessGreetingMessage struct {
	ShortcutID     int32
	Recipients     TL_businessRecipients
	NoActivityDays int32
}

Constructs BusinessGreetingMessage

type TL_businessIntro added in v0.181.0

type TL_businessIntro struct {
	Title       string
	Description string
	Sticker     TL // (optional) Document: TL_documentEmpty | TL_document
}

Constructs BusinessIntro

type TL_businessLocation added in v0.181.0

type TL_businessLocation struct {
	GeoPoint TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Address  string
}

Constructs BusinessLocation

type TL_businessRecipients added in v0.181.0

type TL_businessRecipients struct {
	ExistingChats   bool
	NewChats        bool
	Contacts        bool
	NonContacts     bool
	ExcludeSelected bool
	Users           []int64 // (optional)
}

Constructs BusinessRecipients

type TL_businessWeeklyOpen added in v0.181.0

type TL_businessWeeklyOpen struct {
	StartMinute int32
	EndMinute   int32
}

Constructs BusinessWeeklyOpen

type TL_businessWorkHours added in v0.181.0

type TL_businessWorkHours struct {
	OpenNow    bool
	TimezoneID string
	WeeklyOpen []TL_businessWeeklyOpen
}

Constructs BusinessWorkHours

type TL_cdnConfig

type TL_cdnConfig struct {
	PublicKeys []TL_cdnPublicKey
}

Constructs CdnConfig

type TL_cdnPublicKey

type TL_cdnPublicKey struct {
	DCID      int32
	PublicKey string
}

Constructs CdnPublicKey

type TL_channel

type TL_channel struct {
	Creator               bool
	Left                  bool
	Broadcast             bool
	Verified              bool
	Megagroup             bool
	Restricted            bool
	Signatures            bool
	Min                   bool
	Scam                  bool
	HasLink               bool
	HasGeo                bool
	SlowmodeEnabled       bool
	CallActive            bool
	CallNotEmpty          bool
	Fake                  bool
	Gigagroup             bool
	Noforwards            bool
	JoinToSend            bool
	JoinRequest           bool
	Forum                 bool
	StoriesHidden         bool
	StoriesHiddenMin      bool
	StoriesUnavailable    bool
	SignatureProfiles     bool
	ID                    int64
	AccessHash            *int64 // (optional)
	Title                 string
	Username              *string // (optional)
	Photo                 TL      // ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
	Date                  int32
	RestrictionReason     []TL_restrictionReason // (optional)
	AdminRights           *TL_chatAdminRights    // (optional)
	BannedRights          *TL_chatBannedRights   // (optional)
	DefaultBannedRights   *TL_chatBannedRights   // (optional)
	ParticipantsCount     *int32                 // (optional)
	Usernames             []TL_username          // (optional)
	StoriesMaxID          *int32                 // (optional)
	Color                 *TL_peerColor          // (optional)
	ProfileColor          *TL_peerColor          // (optional)
	EmojiStatus           TL                     // (optional) EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
	Level                 *int32                 // (optional)
	SubscriptionUntilDate *int32                 // (optional)
}

Constructs Chat

type TL_channelAdminLogEvent

type TL_channelAdminLogEvent struct {
	ID     int64
	Date   int32
	UserID int64
	Action TL // ChannelAdminLogEventAction: TL_channelAdminLogEventActionChangeTitle | TL_channelAdminLogEventActionChangeAbout | TL_channelAdminLogEventActionChangeUsername | TL_channelAdminLogEventActionChangePhoto | TL_channelAdminLogEventActionToggleInvites | TL_channelAdminLogEventActionToggleSignatures | TL_channelAdminLogEventActionUpdatePinned | TL_channelAdminLogEventActionEditMessage | TL_channelAdminLogEventActionDeleteMessage | TL_channelAdminLogEventActionParticipantJoin | TL_channelAdminLogEventActionParticipantLeave | TL_channelAdminLogEventActionParticipantInvite | TL_channelAdminLogEventActionParticipantToggleBan | TL_channelAdminLogEventActionParticipantToggleAdmin | TL_channelAdminLogEventActionChangeStickerSet | TL_channelAdminLogEventActionTogglePreHistoryHidden | TL_channelAdminLogEventActionDefaultBannedRights | TL_channelAdminLogEventActionStopPoll | TL_channelAdminLogEventActionChangeLinkedChat | TL_channelAdminLogEventActionChangeLocation | TL_channelAdminLogEventActionToggleSlowMode | TL_channelAdminLogEventActionStartGroupCall | TL_channelAdminLogEventActionDiscardGroupCall | TL_channelAdminLogEventActionParticipantMute | TL_channelAdminLogEventActionParticipantUnmute | TL_channelAdminLogEventActionToggleGroupCallSetting | TL_channelAdminLogEventActionParticipantJoinByInvite | TL_channelAdminLogEventActionExportedInviteDelete | TL_channelAdminLogEventActionExportedInviteRevoke | TL_channelAdminLogEventActionExportedInviteEdit | TL_channelAdminLogEventActionParticipantVolume | TL_channelAdminLogEventActionChangeHistoryTTL | TL_channelAdminLogEventActionParticipantJoinByRequest | TL_channelAdminLogEventActionToggleNoForwards | TL_channelAdminLogEventActionSendMessage | TL_channelAdminLogEventActionChangeAvailableReactions | TL_channelAdminLogEventActionChangeUsernames | TL_channelAdminLogEventActionToggleForum | TL_channelAdminLogEventActionCreateTopic | TL_channelAdminLogEventActionEditTopic | TL_channelAdminLogEventActionDeleteTopic | TL_channelAdminLogEventActionPINTopic | TL_channelAdminLogEventActionToggleAntiSpam | TL_channelAdminLogEventActionChangePeerColor | TL_channelAdminLogEventActionChangeProfilePeerColor | TL_channelAdminLogEventActionChangeWallpaper | TL_channelAdminLogEventActionChangeEmojiStatus | TL_channelAdminLogEventActionChangeEmojiStickerSet | TL_channelAdminLogEventActionToggleSignatureProfiles | TL_channelAdminLogEventActionParticipantSubExtend
}

Constructs ChannelAdminLogEvent

type TL_channelAdminLogEventActionChangeAbout

type TL_channelAdminLogEventActionChangeAbout struct {
	PrevValue string
	NewValue  string
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeAvailableReactions

type TL_channelAdminLogEventActionChangeAvailableReactions struct {
	PrevValue TL // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
	NewValue  TL // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeEmojiStatus added in v0.181.0

type TL_channelAdminLogEventActionChangeEmojiStatus struct {
	PrevValue TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
	NewValue  TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeEmojiStickerSet added in v0.181.0

type TL_channelAdminLogEventActionChangeEmojiStickerSet struct {
	PrevStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	NewStickerset  TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeHistoryTTL

type TL_channelAdminLogEventActionChangeHistoryTTL struct {
	PrevValue int32
	NewValue  int32
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeLinkedChat

type TL_channelAdminLogEventActionChangeLinkedChat struct {
	PrevValue int64
	NewValue  int64
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeLocation

type TL_channelAdminLogEventActionChangeLocation struct {
	PrevValue TL // ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
	NewValue  TL // ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangePeerColor added in v0.181.0

type TL_channelAdminLogEventActionChangePeerColor struct {
	PrevValue TL_peerColor
	NewValue  TL_peerColor
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangePhoto

type TL_channelAdminLogEventActionChangePhoto struct {
	PrevPhoto TL // Photo: TL_photoEmpty | TL_photo
	NewPhoto  TL // Photo: TL_photoEmpty | TL_photo
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeProfilePeerColor added in v0.181.0

type TL_channelAdminLogEventActionChangeProfilePeerColor struct {
	PrevValue TL_peerColor
	NewValue  TL_peerColor
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeStickerSet

type TL_channelAdminLogEventActionChangeStickerSet struct {
	PrevStickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	NewStickerset  TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeTitle

type TL_channelAdminLogEventActionChangeTitle struct {
	PrevValue string
	NewValue  string
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeUsername

type TL_channelAdminLogEventActionChangeUsername struct {
	PrevValue string
	NewValue  string
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeUsernames

type TL_channelAdminLogEventActionChangeUsernames struct {
	PrevValue []string
	NewValue  []string
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionChangeWallpaper added in v0.181.0

type TL_channelAdminLogEventActionChangeWallpaper struct {
	PrevValue TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
	NewValue  TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionCreateTopic

type TL_channelAdminLogEventActionCreateTopic struct {
	Topic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionDefaultBannedRights

type TL_channelAdminLogEventActionDefaultBannedRights struct {
	PrevBannedRights TL_chatBannedRights
	NewBannedRights  TL_chatBannedRights
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionDeleteMessage

type TL_channelAdminLogEventActionDeleteMessage struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionDeleteTopic

type TL_channelAdminLogEventActionDeleteTopic struct {
	Topic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionDiscardGroupCall

type TL_channelAdminLogEventActionDiscardGroupCall struct {
	Call TL_inputGroupCall
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionEditMessage

type TL_channelAdminLogEventActionEditMessage struct {
	PrevMessage TL // Message: TL_messageEmpty | TL_message | TL_messageService
	NewMessage  TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionEditTopic

type TL_channelAdminLogEventActionEditTopic struct {
	PrevTopic TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
	NewTopic  TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionExportedInviteDelete

type TL_channelAdminLogEventActionExportedInviteDelete struct {
	Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionExportedInviteEdit

type TL_channelAdminLogEventActionExportedInviteEdit struct {
	PrevInvite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	NewInvite  TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionExportedInviteRevoke

type TL_channelAdminLogEventActionExportedInviteRevoke struct {
	Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionPINTopic added in v0.166.2

type TL_channelAdminLogEventActionPINTopic struct {
	PrevTopic TL // (optional) ForumTopic: TL_forumTopicDeleted | TL_forumTopic
	NewTopic  TL // (optional) ForumTopic: TL_forumTopicDeleted | TL_forumTopic
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantInvite

type TL_channelAdminLogEventActionParticipantInvite struct {
	Participant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantJoin

type TL_channelAdminLogEventActionParticipantJoin struct {
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantJoinByInvite

type TL_channelAdminLogEventActionParticipantJoinByInvite struct {
	ViaChatlist bool
	Invite      TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantJoinByRequest

type TL_channelAdminLogEventActionParticipantJoinByRequest struct {
	Invite     TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	ApprovedBy int64
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantLeave

type TL_channelAdminLogEventActionParticipantLeave struct {
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantMute

type TL_channelAdminLogEventActionParticipantMute struct {
	Participant TL_groupCallParticipant
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantSubExtend added in v0.187.0

type TL_channelAdminLogEventActionParticipantSubExtend struct {
	PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	NewParticipant  TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantToggleAdmin

type TL_channelAdminLogEventActionParticipantToggleAdmin struct {
	PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	NewParticipant  TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantToggleBan

type TL_channelAdminLogEventActionParticipantToggleBan struct {
	PrevParticipant TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	NewParticipant  TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantUnmute

type TL_channelAdminLogEventActionParticipantUnmute struct {
	Participant TL_groupCallParticipant
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionParticipantVolume

type TL_channelAdminLogEventActionParticipantVolume struct {
	Participant TL_groupCallParticipant
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionSendMessage

type TL_channelAdminLogEventActionSendMessage struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionStartGroupCall

type TL_channelAdminLogEventActionStartGroupCall struct {
	Call TL_inputGroupCall
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionStopPoll

type TL_channelAdminLogEventActionStopPoll struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleAntiSpam

type TL_channelAdminLogEventActionToggleAntiSpam struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleForum

type TL_channelAdminLogEventActionToggleForum struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleGroupCallSetting

type TL_channelAdminLogEventActionToggleGroupCallSetting struct {
	JoinMuted bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleInvites

type TL_channelAdminLogEventActionToggleInvites struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleNoForwards

type TL_channelAdminLogEventActionToggleNoForwards struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionTogglePreHistoryHidden

type TL_channelAdminLogEventActionTogglePreHistoryHidden struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleSignatureProfiles added in v0.186.0

type TL_channelAdminLogEventActionToggleSignatureProfiles struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleSignatures

type TL_channelAdminLogEventActionToggleSignatures struct {
	NewValue bool
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionToggleSlowMode

type TL_channelAdminLogEventActionToggleSlowMode struct {
	PrevValue int32
	NewValue  int32
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventActionUpdatePinned

type TL_channelAdminLogEventActionUpdatePinned struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs ChannelAdminLogEventAction

type TL_channelAdminLogEventsFilter

type TL_channelAdminLogEventsFilter struct {
	Join      bool
	Leave     bool
	Invite    bool
	Ban       bool
	Unban     bool
	Kick      bool
	Unkick    bool
	Promote   bool
	Demote    bool
	Info      bool
	Settings  bool
	Pinned    bool
	Edit      bool
	Delete    bool
	GroupCall bool
	Invites   bool
	Send      bool
	Forums    bool
	SubExtend bool
}

Constructs ChannelAdminLogEventsFilter

type TL_channelForbidden

type TL_channelForbidden struct {
	Broadcast  bool
	Megagroup  bool
	ID         int64
	AccessHash int64
	Title      string
	UntilDate  *int32 // (optional)
}

Constructs Chat

type TL_channelFull

type TL_channelFull struct {
	CanViewParticipants    bool
	CanSetUsername         bool
	CanSetStickers         bool
	HiddenPrehistory       bool
	CanSetLocation         bool
	HasScheduled           bool
	CanViewStats           bool
	Blocked                bool
	CanDeleteChannel       bool
	Antispam               bool
	ParticipantsHidden     bool
	TranslationsDisabled   bool
	StoriesPinnedAvailable bool
	ViewForumAsMessages    bool
	RestrictedSponsored    bool
	CanViewRevenue         bool
	PaidMediaAllowed       bool
	CanViewStarsRevenue    bool
	PaidReactionsAvailable bool
	ID                     int64
	About                  string
	ParticipantsCount      *int32 // (optional)
	AdminsCount            *int32 // (optional)
	KickedCount            *int32 // (optional)
	BannedCount            *int32 // (optional)
	OnlineCount            *int32 // (optional)
	ReadInboxMaxID         int32
	ReadOutboxMaxID        int32
	UnreadCount            int32
	ChatPhoto              TL // Photo: TL_photoEmpty | TL_photo
	NotifySettings         TL_peerNotifySettings
	ExportedInvite         TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	BotInfo                []TL_botInfo
	MigratedFromChatID     *int64         // (optional)
	MigratedFromMaxID      *int32         // (optional)
	PinnedMsgID            *int32         // (optional)
	Stickerset             *TL_stickerSet // (optional)
	AvailableMinID         *int32         // (optional)
	FolderID               *int32         // (optional)
	LinkedChatID           *int64         // (optional)
	Location               TL             // (optional) ChannelLocation: TL_channelLocationEmpty | TL_channelLocation
	SlowmodeSeconds        *int32         // (optional)
	SlowmodeNextSendDate   *int32         // (optional)
	StatsDC                *int32         // (optional)
	PTS                    int32
	Call                   *TL_inputGroupCall // (optional)
	TTLPeriod              *int32             // (optional)
	PendingSuggestions     []string           // (optional)
	GroupcallDefaultJoinAs TL                 // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ThemeEmoticon          *string            // (optional)
	RequestsPending        *int32             // (optional)
	RecentRequesters       []int64            // (optional)
	DefaultSendAs          TL                 // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	AvailableReactions     TL                 // (optional) ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
	ReactionsLimit         *int32             // (optional)
	Stories                *TL_peerStories    // (optional)
	Wallpaper              TL                 // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
	BoostsApplied          *int32             // (optional)
	BoostsUnrestrict       *int32             // (optional)
	Emojiset               *TL_stickerSet     // (optional)
}

Constructs ChatFull

type TL_channelLocation

type TL_channelLocation struct {
	GeoPoint TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Address  string
}

Constructs ChannelLocation

type TL_channelLocationEmpty

type TL_channelLocationEmpty struct {
}

Constructs ChannelLocation

type TL_channelMessagesFilter

type TL_channelMessagesFilter struct {
	ExcludeNewMessages bool
	Ranges             []TL_messageRange
}

Constructs ChannelMessagesFilter

type TL_channelMessagesFilterEmpty

type TL_channelMessagesFilterEmpty struct {
}

Constructs ChannelMessagesFilter

type TL_channelParticipant

type TL_channelParticipant struct {
	UserID                int64
	Date                  int32
	SubscriptionUntilDate *int32 // (optional)
}

Constructs ChannelParticipant

type TL_channelParticipantAdmin

type TL_channelParticipantAdmin struct {
	CanEdit     bool
	Self        bool
	UserID      int64
	InviterID   *int64 // (optional)
	PromotedBy  int64
	Date        int32
	AdminRights TL_chatAdminRights
	Rank        *string // (optional)
}

Constructs ChannelParticipant

type TL_channelParticipantBanned

type TL_channelParticipantBanned struct {
	Left         bool
	Peer         TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	KickedBy     int64
	Date         int32
	BannedRights TL_chatBannedRights
}

Constructs ChannelParticipant

type TL_channelParticipantCreator

type TL_channelParticipantCreator struct {
	UserID      int64
	AdminRights TL_chatAdminRights
	Rank        *string // (optional)
}

Constructs ChannelParticipant

type TL_channelParticipantLeft

type TL_channelParticipantLeft struct {
	Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs ChannelParticipant

type TL_channelParticipantSelf

type TL_channelParticipantSelf struct {
	ViaRequest            bool
	UserID                int64
	InviterID             int64
	Date                  int32
	SubscriptionUntilDate *int32 // (optional)
}

Constructs ChannelParticipant

type TL_channelParticipantsAdmins

type TL_channelParticipantsAdmins struct {
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsBanned

type TL_channelParticipantsBanned struct {
	Q string
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsBots

type TL_channelParticipantsBots struct {
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsContacts

type TL_channelParticipantsContacts struct {
	Q string
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsKicked

type TL_channelParticipantsKicked struct {
	Q string
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsMentions

type TL_channelParticipantsMentions struct {
	Q        *string // (optional)
	TopMsgID *int32  // (optional)
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsRecent

type TL_channelParticipantsRecent struct {
}

Constructs ChannelParticipantsFilter

type TL_channelParticipantsSearch

type TL_channelParticipantsSearch struct {
	Q string
}

Constructs ChannelParticipantsFilter

type TL_channels_adminLogResults

type TL_channels_adminLogResults struct {
	Events []TL_channelAdminLogEvent
	Chats  []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs channels.AdminLogResults

type TL_channels_channelParticipant

type TL_channels_channelParticipant struct {
	Participant TL   // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	Chats       []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users       []TL // User: TL_userEmpty | TL_user
}

Constructs channels.ChannelParticipant

type TL_channels_channelParticipants

type TL_channels_channelParticipants struct {
	Count        int32
	Participants []TL // ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
}

Constructs channels.ChannelParticipants

type TL_channels_channelParticipantsNotModified

type TL_channels_channelParticipantsNotModified struct {
}

Constructs channels.ChannelParticipants

type TL_channels_checkUsername

type TL_channels_checkUsername struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Username string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_convertToGigagroup

type TL_channels_convertToGigagroup struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_createChannel

type TL_channels_createChannel struct {
	Broadcast bool
	Megagroup bool
	ForImport bool
	Forum     bool
	Title     string
	About     string
	GeoPoint  TL      // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Address   *string // (optional)
	TTLPeriod *int32  // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_createForumTopic

type TL_channels_createForumTopic struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Title       string
	IconColor   *int32 // (optional)
	IconEmojiID *int64 // (optional)
	RandomID    int64
	SendAs      TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_deactivateAllUsernames

type TL_channels_deactivateAllUsernames struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_deleteChannel

type TL_channels_deleteChannel struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_deleteHistory

type TL_channels_deleteHistory struct {
	ForEveryone bool
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MaxID       int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_deleteMessages

type TL_channels_deleteMessages struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	ID      []int32
}

Returns messages.AffectedMessages: TL_messages_affectedMessages

type TL_channels_deleteParticipantHistory

type TL_channels_deleteParticipantHistory struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_channels_deleteTopicHistory

type TL_channels_deleteTopicHistory struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	TopMsgID int32
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_channels_editAdmin

type TL_channels_editAdmin struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	UserID      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	AdminRights TL_chatAdminRights
	Rank        string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_editBanned

type TL_channels_editBanned struct {
	Channel      TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Participant  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	BannedRights TL_chatBannedRights
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_editCreator

type TL_channels_editCreator struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_editForumTopic

type TL_channels_editForumTopic struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	TopicID     int32
	Title       *string // (optional)
	IconEmojiID *int64  // (optional)
	Closed      *bool   // (optional)
	Hidden      *bool   // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_editLocation

type TL_channels_editLocation struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Address  string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_editPhoto

type TL_channels_editPhoto struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Photo   TL // InputChatPhoto: TL_inputChatPhotoEmpty | TL_inputChatUploadedPhoto | TL_inputChatPhoto
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_editTitle

type TL_channels_editTitle struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Title   string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_exportMessageLink struct {
	Grouped bool
	Thread  bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	ID      int32
}

Returns ExportedMessageLink: TL_exportedMessageLink

type TL_channels_getAdminLog

type TL_channels_getAdminLog struct {
	Channel      TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Q            string
	EventsFilter *TL_channelAdminLogEventsFilter // (optional)
	Admins       []TL                            // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	MaxID        int64
	MinID        int64
	Limit        int32
}

Returns channels.AdminLogResults: TL_channels_adminLogResults

type TL_channels_getAdminedPublicChannels

type TL_channels_getAdminedPublicChannels struct {
	ByLocation  bool
	CheckLimit  bool
	ForPersonal bool
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_channels_getChannelRecommendations added in v0.167.0

type TL_channels_getChannelRecommendations struct {
	Channel TL // (optional) InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_channels_getChannels

type TL_channels_getChannels struct {
	ID []TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_channels_getForumTopics

type TL_channels_getForumTopics struct {
	Channel     TL      // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Q           *string // (optional)
	OffsetDate  int32
	OffsetID    int32
	OffsetTopic int32
	Limit       int32
}

Returns messages.ForumTopics: TL_messages_forumTopics

type TL_channels_getForumTopicsByID

type TL_channels_getForumTopicsByID struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Topics  []int32
}

Returns messages.ForumTopics: TL_messages_forumTopics

type TL_channels_getFullChannel

type TL_channels_getFullChannel struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns messages.ChatFull: TL_messages_chatFull

type TL_channels_getGroupsForDiscussion

type TL_channels_getGroupsForDiscussion struct {
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_channels_getInactiveChannels

type TL_channels_getInactiveChannels struct {
}

Returns messages.InactiveChats: TL_messages_inactiveChats

type TL_channels_getLeftChannels

type TL_channels_getLeftChannels struct {
	Offset int32
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_channels_getMessages

type TL_channels_getMessages struct {
	Channel TL   // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	ID      []TL // InputMessage: TL_inputMessageID | TL_inputMessageReplyTo | TL_inputMessagePinned | TL_inputMessageCallbackQuery
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_channels_getParticipant

type TL_channels_getParticipant struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns channels.ChannelParticipant: TL_channels_channelParticipant

type TL_channels_getParticipants

type TL_channels_getParticipants struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Filter  TL // ChannelParticipantsFilter: TL_channelParticipantsRecent | TL_channelParticipantsAdmins | TL_channelParticipantsKicked | TL_channelParticipantsBots | TL_channelParticipantsBanned | TL_channelParticipantsSearch | TL_channelParticipantsContacts | TL_channelParticipantsMentions
	Offset  int32
	Limit   int32
	Hash    int64
}

Returns channels.ChannelParticipants: TL_channels_channelParticipants | TL_channels_channelParticipantsNotModified

type TL_channels_getSendAs

type TL_channels_getSendAs struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns channels.SendAsPeers: TL_channels_sendAsPeers

type TL_channels_inviteToChannel

type TL_channels_inviteToChannel struct {
	Channel TL   // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Users   []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns messages.InvitedUsers: TL_messages_invitedUsers

type TL_channels_joinChannel

type TL_channels_joinChannel struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_leaveChannel

type TL_channels_leaveChannel struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_readHistory

type TL_channels_readHistory struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MaxID   int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_readMessageContents

type TL_channels_readMessageContents struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	ID      []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_reorderPinnedForumTopics

type TL_channels_reorderPinnedForumTopics struct {
	Force   bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Order   []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_reorderUsernames

type TL_channels_reorderUsernames struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Order   []string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_reportAntiSpamFalsePositive

type TL_channels_reportAntiSpamFalsePositive struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MsgID   int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_reportSpam

type TL_channels_reportSpam struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Participant TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID          []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_restrictSponsoredMessages added in v0.181.0

type TL_channels_restrictSponsoredMessages struct {
	Channel    TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Restricted bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_searchPosts added in v0.181.0

type TL_channels_searchPosts struct {
	Hashtag    string
	OffsetRate int32
	OffsetPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID   int32
	Limit      int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_channels_sendAsPeers

type TL_channels_sendAsPeers struct {
	Peers []TL_sendAsPeer
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs channels.SendAsPeers

type TL_channels_setBoostsToUnblockRestrictions added in v0.181.0

type TL_channels_setBoostsToUnblockRestrictions struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Boosts  int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_setDiscussionGroup

type TL_channels_setDiscussionGroup struct {
	Broadcast TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Group     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_setEmojiStickers added in v0.181.0

type TL_channels_setEmojiStickers struct {
	Channel    TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_setStickers

type TL_channels_setStickers struct {
	Channel    TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_sponsoredMessageReportResultAdsHidden added in v0.181.0

type TL_channels_sponsoredMessageReportResultAdsHidden struct {
}

Constructs channels.SponsoredMessageReportResult

type TL_channels_sponsoredMessageReportResultChooseOption added in v0.181.0

type TL_channels_sponsoredMessageReportResultChooseOption struct {
	Title   string
	Options []TL_sponsoredMessageReportOption
}

Constructs channels.SponsoredMessageReportResult

type TL_channels_sponsoredMessageReportResultReported added in v0.181.0

type TL_channels_sponsoredMessageReportResultReported struct {
}

Constructs channels.SponsoredMessageReportResult

type TL_channels_toggleAntiSpam

type TL_channels_toggleAntiSpam struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleForum

type TL_channels_toggleForum struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleJoinRequest

type TL_channels_toggleJoinRequest struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleJoinToSend

type TL_channels_toggleJoinToSend struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleParticipantsHidden

type TL_channels_toggleParticipantsHidden struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_togglePreHistoryHidden

type TL_channels_togglePreHistoryHidden struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleSignatures

type TL_channels_toggleSignatures struct {
	SignaturesEnabled bool
	ProfilesEnabled   bool
	Channel           TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleSlowMode

type TL_channels_toggleSlowMode struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Seconds int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_toggleUsername

type TL_channels_toggleUsername struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Username string
	Active   bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_channels_toggleViewForumAsMessages added in v0.167.0

type TL_channels_toggleViewForumAsMessages struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_updateColor added in v0.166.0

type TL_channels_updateColor struct {
	ForProfile        bool
	Channel           TL     // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Color             *int32 // (optional)
	BackgroundEmojiID *int64 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_updateEmojiStatus added in v0.181.0

type TL_channels_updateEmojiStatus struct {
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_updatePinnedForumTopic

type TL_channels_updatePinnedForumTopic struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	TopicID int32
	Pinned  bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_channels_updateUsername

type TL_channels_updateUsername struct {
	Channel  TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Username string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_chat

type TL_chat struct {
	Creator             bool
	Left                bool
	Deactivated         bool
	CallActive          bool
	CallNotEmpty        bool
	Noforwards          bool
	ID                  int64
	Title               string
	Photo               TL // ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
	ParticipantsCount   int32
	Date                int32
	Version             int32
	MigratedTo          TL                   // (optional) InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	AdminRights         *TL_chatAdminRights  // (optional)
	DefaultBannedRights *TL_chatBannedRights // (optional)
}

Constructs Chat

type TL_chatAdminRights

type TL_chatAdminRights struct {
	ChangeInfo     bool
	PostMessages   bool
	EditMessages   bool
	DeleteMessages bool
	BanUsers       bool
	InviteUsers    bool
	PINMessages    bool
	AddAdmins      bool
	Anonymous      bool
	ManageCall     bool
	Other          bool
	ManageTopics   bool
	PostStories    bool
	EditStories    bool
	DeleteStories  bool
}

Constructs ChatAdminRights

type TL_chatAdminWithInvites

type TL_chatAdminWithInvites struct {
	AdminID             int64
	InvitesCount        int32
	RevokedInvitesCount int32
}

Constructs ChatAdminWithInvites

type TL_chatBannedRights

type TL_chatBannedRights struct {
	ViewMessages    bool
	SendMessages    bool
	SendMedia       bool
	SendStickers    bool
	SendGIFs        bool
	SendGames       bool
	SendInline      bool
	EmbedLinks      bool
	SendPolls       bool
	ChangeInfo      bool
	InviteUsers     bool
	PINMessages     bool
	ManageTopics    bool
	SendPhotos      bool
	SendVideos      bool
	SendRoundvideos bool
	SendAudios      bool
	SendVoices      bool
	SendDocs        bool
	SendPlain       bool
	UntilDate       int32
}

Constructs ChatBannedRights

type TL_chatEmpty

type TL_chatEmpty struct {
	ID int64
}

Constructs Chat

type TL_chatForbidden

type TL_chatForbidden struct {
	ID    int64
	Title string
}

Constructs Chat

type TL_chatFull

type TL_chatFull struct {
	CanSetUsername         bool
	HasScheduled           bool
	TranslationsDisabled   bool
	ID                     int64
	About                  string
	Participants           TL // ChatParticipants: TL_chatParticipantsForbidden | TL_chatParticipants
	ChatPhoto              TL // (optional) Photo: TL_photoEmpty | TL_photo
	NotifySettings         TL_peerNotifySettings
	ExportedInvite         TL                 // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	BotInfo                []TL_botInfo       // (optional)
	PinnedMsgID            *int32             // (optional)
	FolderID               *int32             // (optional)
	Call                   *TL_inputGroupCall // (optional)
	TTLPeriod              *int32             // (optional)
	GroupcallDefaultJoinAs TL                 // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ThemeEmoticon          *string            // (optional)
	RequestsPending        *int32             // (optional)
	RecentRequesters       []int64            // (optional)
	AvailableReactions     TL                 // (optional) ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
	ReactionsLimit         *int32             // (optional)
}

Constructs ChatFull

type TL_chatInvite

type TL_chatInvite struct {
	Channel                  bool
	Broadcast                bool
	Public                   bool
	Megagroup                bool
	RequestNeeded            bool
	Verified                 bool
	Scam                     bool
	Fake                     bool
	CanRefulfillSubscription bool
	Title                    string
	About                    *string // (optional)
	Photo                    TL      // Photo: TL_photoEmpty | TL_photo
	ParticipantsCount        int32
	Participants             []TL // (optional) User: TL_userEmpty | TL_user
	Color                    int32
	SubscriptionPricing      *TL_starsSubscriptionPricing // (optional)
	SubscriptionFormID       *int64                       // (optional)
}

Constructs ChatInvite

type TL_chatInviteAlready

type TL_chatInviteAlready struct {
	Chat TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}

Constructs ChatInvite

type TL_chatInviteExported

type TL_chatInviteExported struct {
	Revoked             bool
	Permanent           bool
	RequestNeeded       bool
	Link                string
	AdminID             int64
	Date                int32
	StartDate           *int32                       // (optional)
	ExpireDate          *int32                       // (optional)
	UsageLimit          *int32                       // (optional)
	Usage               *int32                       // (optional)
	Requested           *int32                       // (optional)
	SubscriptionExpired *int32                       // (optional)
	Title               *string                      // (optional)
	SubscriptionPricing *TL_starsSubscriptionPricing // (optional)
}

Constructs ExportedChatInvite

type TL_chatInviteImporter

type TL_chatInviteImporter struct {
	Requested   bool
	ViaChatlist bool
	UserID      int64
	Date        int32
	About       *string // (optional)
	ApprovedBy  *int64  // (optional)
}

Constructs ChatInviteImporter

type TL_chatInvitePeek

type TL_chatInvitePeek struct {
	Chat    TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Expires int32
}

Constructs ChatInvite

type TL_chatInvitePublicJoinRequests

type TL_chatInvitePublicJoinRequests struct {
}

Constructs ExportedChatInvite

type TL_chatOnlines

type TL_chatOnlines struct {
	Onlines int32
}

Constructs ChatOnlines

type TL_chatParticipant

type TL_chatParticipant struct {
	UserID    int64
	InviterID int64
	Date      int32
}

Constructs ChatParticipant

type TL_chatParticipantAdmin

type TL_chatParticipantAdmin struct {
	UserID    int64
	InviterID int64
	Date      int32
}

Constructs ChatParticipant

type TL_chatParticipantCreator

type TL_chatParticipantCreator struct {
	UserID int64
}

Constructs ChatParticipant

type TL_chatParticipants

type TL_chatParticipants struct {
	ChatID       int64
	Participants []TL // ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
	Version      int32
}

Constructs ChatParticipants

type TL_chatParticipantsForbidden

type TL_chatParticipantsForbidden struct {
	ChatID          int64
	SelfParticipant TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
}

Constructs ChatParticipants

type TL_chatPhoto

type TL_chatPhoto struct {
	HasVideo      bool
	PhotoID       int64
	StrippedThumb []byte // (optional)
	DCID          int32
}

Constructs ChatPhoto

type TL_chatPhotoEmpty

type TL_chatPhotoEmpty struct {
}

Constructs ChatPhoto

type TL_chatReactionsAll

type TL_chatReactionsAll struct {
	AllowCustom bool
}

Constructs ChatReactions

type TL_chatReactionsNone

type TL_chatReactionsNone struct {
}

Constructs ChatReactions

type TL_chatReactionsSome

type TL_chatReactionsSome struct {
	Reactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs ChatReactions

type TL_chatlists_chatlistInvite

type TL_chatlists_chatlistInvite struct {
	Title    string
	Emoticon *string // (optional)
	Peers    []TL    // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats    []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL    // User: TL_userEmpty | TL_user
}

Constructs chatlists.ChatlistInvite

type TL_chatlists_chatlistInviteAlready

type TL_chatlists_chatlistInviteAlready struct {
	FilterID     int32
	MissingPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	AlreadyPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
}

Constructs chatlists.ChatlistInvite

type TL_chatlists_chatlistUpdates

type TL_chatlists_chatlistUpdates struct {
	MissingPeers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
}

Constructs chatlists.ChatlistUpdates

type TL_chatlists_checkChatlistInvite

type TL_chatlists_checkChatlistInvite struct {
	Slug string
}

Returns chatlists.ChatlistInvite: TL_chatlists_chatlistInviteAlready | TL_chatlists_chatlistInvite

type TL_chatlists_deleteExportedInvite

type TL_chatlists_deleteExportedInvite struct {
	Chatlist TL_inputChatlistDialogFilter
	Slug     string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_chatlists_editExportedInvite

type TL_chatlists_editExportedInvite struct {
	Chatlist TL_inputChatlistDialogFilter
	Slug     string
	Title    *string // (optional)
	Peers    []TL    // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns ExportedChatlistInvite: TL_exportedChatlistInvite

type TL_chatlists_exportChatlistInvite

type TL_chatlists_exportChatlistInvite struct {
	Chatlist TL_inputChatlistDialogFilter
	Title    string
	Peers    []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns chatlists.ExportedChatlistInvite: TL_chatlists_exportedChatlistInvite

type TL_chatlists_exportedChatlistInvite

type TL_chatlists_exportedChatlistInvite struct {
	Filter TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
	Invite TL_exportedChatlistInvite
}

Constructs chatlists.ExportedChatlistInvite

type TL_chatlists_exportedInvites

type TL_chatlists_exportedInvites struct {
	Invites []TL_exportedChatlistInvite
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs chatlists.ExportedInvites

type TL_chatlists_getChatlistUpdates

type TL_chatlists_getChatlistUpdates struct {
	Chatlist TL_inputChatlistDialogFilter
}

Returns chatlists.ChatlistUpdates: TL_chatlists_chatlistUpdates

type TL_chatlists_getExportedInvites

type TL_chatlists_getExportedInvites struct {
	Chatlist TL_inputChatlistDialogFilter
}

Returns chatlists.ExportedInvites: TL_chatlists_exportedInvites

type TL_chatlists_getLeaveChatlistSuggestions

type TL_chatlists_getLeaveChatlistSuggestions struct {
	Chatlist TL_inputChatlistDialogFilter
}

Returns Vector<Peer>: TL_peerUser | TL_peerChat | TL_peerChannel

type TL_chatlists_hideChatlistUpdates

type TL_chatlists_hideChatlistUpdates struct {
	Chatlist TL_inputChatlistDialogFilter
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_chatlists_joinChatlistInvite

type TL_chatlists_joinChatlistInvite struct {
	Slug  string
	Peers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_chatlists_joinChatlistUpdates

type TL_chatlists_joinChatlistUpdates struct {
	Chatlist TL_inputChatlistDialogFilter
	Peers    []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_chatlists_leaveChatlist

type TL_chatlists_leaveChatlist struct {
	Chatlist TL_inputChatlistDialogFilter
	Peers    []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_clientDHInnerData added in v0.166.2

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

Constructs Client_DH_Inner_Data

type TL_codeSettings

type TL_codeSettings struct {
	AllowFlashcall  bool
	CurrentNumber   bool
	AllowAppHash    bool
	AllowMissedCall bool
	AllowFirebase   bool
	UnknownNumber   bool
	LogoutTokens    [][]byte // (optional)
	Token           *string  // (optional)
	AppSandbox      *bool    // (optional)
}

Constructs CodeSettings

type TL_config

type TL_config struct {
	DefaultP2PContacts      bool
	PreloadFeaturedStickers bool
	RevokePMInbox           bool
	BlockedMode             bool
	ForceTryIPv6            bool
	Date                    int32
	Expires                 int32
	TestMode                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
	EditTimeLimit           int32
	RevokeTimeLimit         int32
	RevokePMTimeLimit       int32
	RatingEDecay            int32
	StickersRecentLimit     int32
	ChannelsReadMediaPeriod int32
	TmpSessions             *int32 // (optional)
	CallReceiveTimeoutMS    int32
	CallRingTimeoutMS       int32
	CallConnectTimeoutMS    int32
	CallPacketTimeoutMS     int32
	MeURLPrefix             string
	AutoupdateURLPrefix     *string // (optional)
	GIFSearchUsername       *string // (optional)
	VenueSearchUsername     *string // (optional)
	ImgSearchUsername       *string // (optional)
	StaticMapsProvider      *string // (optional)
	CaptionLengthMax        int32
	MessageLengthMax        int32
	WebfileDCID             int32
	SuggestedLangCode       *string // (optional)
	LangPackVersion         *int32  // (optional)
	BaseLangPackVersion     *int32  // (optional)
	ReactionsDefault        TL      // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	AutologinToken          *string // (optional)
}

Constructs Config

type TL_connectedBot added in v0.181.0

type TL_connectedBot struct {
	CanReply   bool
	BotID      int64
	Recipients TL_businessBotRecipients
}

Constructs ConnectedBot

type TL_contact

type TL_contact struct {
	UserID int64
	Mutual bool
}

Constructs Contact

type TL_contactBirthday added in v0.181.0

type TL_contactBirthday struct {
	ContactID int64
	Birthday  TL_birthday
}

Constructs ContactBirthday

type TL_contactStatus

type TL_contactStatus struct {
	UserID int64
	Status TL // UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
}

Constructs ContactStatus

type TL_contacts_acceptContact

type TL_contacts_acceptContact struct {
	ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_contacts_addContact

type TL_contacts_addContact struct {
	AddPhonePrivacyException bool
	ID                       TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	FirstName                string
	LastName                 string
	Phone                    string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_contacts_block

type TL_contacts_block struct {
	MyStoriesFrom bool
	ID            TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_blockFromReplies

type TL_contacts_blockFromReplies struct {
	DeleteMessage bool
	DeleteHistory bool
	ReportSpam    bool
	MsgID         int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_contacts_blocked

type TL_contacts_blocked struct {
	Blocked []TL_peerBlocked
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.Blocked

type TL_contacts_blockedSlice

type TL_contacts_blockedSlice struct {
	Count   int32
	Blocked []TL_peerBlocked
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.Blocked

type TL_contacts_contactBirthdays added in v0.181.0

type TL_contacts_contactBirthdays struct {
	Contacts []TL_contactBirthday
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.ContactBirthdays

type TL_contacts_contacts

type TL_contacts_contacts struct {
	Contacts   []TL_contact
	SavedCount int32
	Users      []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.Contacts

type TL_contacts_contactsNotModified

type TL_contacts_contactsNotModified struct {
}

Constructs contacts.Contacts

type TL_contacts_deleteByPhones

type TL_contacts_deleteByPhones struct {
	Phones []string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_deleteContacts

type TL_contacts_deleteContacts struct {
	ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_contacts_editCloseFriends added in v0.166.0

type TL_contacts_editCloseFriends struct {
	ID []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_exportContactToken

type TL_contacts_exportContactToken struct {
}

Returns ExportedContactToken: TL_exportedContactToken

type TL_contacts_found

type TL_contacts_found struct {
	MyResults []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Results   []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats     []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users     []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.Found

type TL_contacts_getBirthdays added in v0.181.0

type TL_contacts_getBirthdays struct {
}

Returns contacts.ContactBirthdays: TL_contacts_contactBirthdays

type TL_contacts_getBlocked

type TL_contacts_getBlocked struct {
	MyStoriesFrom bool
	Offset        int32
	Limit         int32
}

Returns contacts.Blocked: TL_contacts_blocked | TL_contacts_blockedSlice

type TL_contacts_getContactIDs

type TL_contacts_getContactIDs struct {
	Hash int64
}

Returns Vector<int>:

type TL_contacts_getContacts

type TL_contacts_getContacts struct {
	Hash int64
}

Returns contacts.Contacts: TL_contacts_contactsNotModified | TL_contacts_contacts

type TL_contacts_getLocated

type TL_contacts_getLocated struct {
	Background  bool
	GeoPoint    TL     // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	SelfExpires *int32 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_contacts_getSaved

type TL_contacts_getSaved struct {
}

Returns Vector<SavedContact>: TL_savedPhoneContact

type TL_contacts_getStatuses

type TL_contacts_getStatuses struct {
}

Returns Vector<ContactStatus>: TL_contactStatus

type TL_contacts_getTopPeers

type TL_contacts_getTopPeers struct {
	Correspondents bool
	BotsPM         bool
	BotsInline     bool
	PhoneCalls     bool
	ForwardUsers   bool
	ForwardChats   bool
	Groups         bool
	Channels       bool
	BotsApp        bool
	Offset         int32
	Limit          int32
	Hash           int64
}

Returns contacts.TopPeers: TL_contacts_topPeersNotModified | TL_contacts_topPeers | TL_contacts_topPeersDisabled

type TL_contacts_importContactToken

type TL_contacts_importContactToken struct {
	Token string
}

Returns User: TL_userEmpty | TL_user

type TL_contacts_importContacts

type TL_contacts_importContacts struct {
	Contacts []TL_inputPhoneContact
}

Returns contacts.ImportedContacts: TL_contacts_importedContacts

type TL_contacts_importedContacts

type TL_contacts_importedContacts struct {
	Imported       []TL_importedContact
	PopularInvites []TL_popularContact
	RetryContacts  []int64
	Users          []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.ImportedContacts

type TL_contacts_resetSaved

type TL_contacts_resetSaved struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_resetTopPeerRating

type TL_contacts_resetTopPeerRating struct {
	Category TL // TopPeerCategory: TL_topPeerCategoryBotsPM | TL_topPeerCategoryBotsInline | TL_topPeerCategoryCorrespondents | TL_topPeerCategoryGroups | TL_topPeerCategoryChannels | TL_topPeerCategoryPhoneCalls | TL_topPeerCategoryForwardUsers | TL_topPeerCategoryForwardChats | TL_topPeerCategoryBotsApp
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_resolvePhone

type TL_contacts_resolvePhone struct {
	Phone string
}

Returns contacts.ResolvedPeer: TL_contacts_resolvedPeer

type TL_contacts_resolveUsername

type TL_contacts_resolveUsername struct {
	Username string
}

Returns contacts.ResolvedPeer: TL_contacts_resolvedPeer

type TL_contacts_resolvedPeer

type TL_contacts_resolvedPeer struct {
	Peer  TL   // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.ResolvedPeer

type TL_contacts_search struct {
	Q     string
	Limit int32
}

Returns contacts.Found: TL_contacts_found

type TL_contacts_setBlocked added in v0.166.0

type TL_contacts_setBlocked struct {
	MyStoriesFrom bool
	ID            []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Limit         int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_toggleTopPeers

type TL_contacts_toggleTopPeers struct {
	Enabled bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_contacts_topPeers

type TL_contacts_topPeers struct {
	Categories []TL_topPeerCategoryPeers
	Chats      []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL // User: TL_userEmpty | TL_user
}

Constructs contacts.TopPeers

type TL_contacts_topPeersDisabled

type TL_contacts_topPeersDisabled struct {
}

Constructs contacts.TopPeers

type TL_contacts_topPeersNotModified

type TL_contacts_topPeersNotModified struct {
}

Constructs contacts.TopPeers

type TL_contacts_unblock

type TL_contacts_unblock struct {
	MyStoriesFrom bool
	ID            TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_dataJSON

type TL_dataJSON struct {
	Data string
}

Constructs DataJSON

type TL_dcOption

type TL_dcOption struct {
	IPv6         bool
	MediaOnly    bool
	TCPOOnly     bool
	CDN          bool
	Static       bool
	ThisPortOnly bool
	ID           int32
	IPAddress    string
	Port         int32
	Secret       []byte // (optional)
}

Constructs DcOption

type TL_defaultHistoryTTL

type TL_defaultHistoryTTL struct {
	Period int32
}

Constructs DefaultHistoryTTL

type TL_destroyAuthKey added in v0.166.2

type TL_destroyAuthKey struct {
}

Returns DestroyAuthKeyRes: TL_destroyAuthKeyOK | TL_destroyAuthKeyNone | TL_destroyAuthKeyFail

type TL_destroyAuthKeyFail added in v0.166.2

type TL_destroyAuthKeyFail struct {
}

Constructs DestroyAuthKeyRes

type TL_destroyAuthKeyNone added in v0.166.2

type TL_destroyAuthKeyNone struct {
}

Constructs DestroyAuthKeyRes

type TL_destroyAuthKeyOK added in v0.166.2

type TL_destroyAuthKeyOK struct {
}

Constructs DestroyAuthKeyRes

type TL_destroySession added in v0.166.2

type TL_destroySession struct {
	SessionID int64
}

Returns DestroySessionRes: TL_destroySessionOK | TL_destroySessionNone

type TL_destroySessionNone added in v0.166.2

type TL_destroySessionNone struct {
	SessionID int64
}

Constructs DestroySessionRes

type TL_destroySessionOK added in v0.166.2

type TL_destroySessionOK struct {
	SessionID int64
}

Constructs DestroySessionRes

type TL_dhGenFail added in v0.166.2

type TL_dhGenFail struct {
	Nonce         [16]byte
	ServerNonce   [16]byte
	NewNonceHash3 [16]byte
}

Constructs Set_client_DH_params_answer

type TL_dhGenOK added in v0.166.2

type TL_dhGenOK struct {
	Nonce         [16]byte
	ServerNonce   [16]byte
	NewNonceHash1 [16]byte
}

Constructs Set_client_DH_params_answer

type TL_dhGenRetry added in v0.166.2

type TL_dhGenRetry struct {
	Nonce         [16]byte
	ServerNonce   [16]byte
	NewNonceHash2 [16]byte
}

Constructs Set_client_DH_params_answer

type TL_dialog

type TL_dialog struct {
	Pinned               bool
	UnreadMark           bool
	ViewForumAsMessages  bool
	Peer                 TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TopMessage           int32
	ReadInboxMaxID       int32
	ReadOutboxMaxID      int32
	UnreadCount          int32
	UnreadMentionsCount  int32
	UnreadReactionsCount int32
	NotifySettings       TL_peerNotifySettings
	PTS                  *int32 // (optional)
	Draft                TL     // (optional) DraftMessage: TL_draftMessageEmpty | TL_draftMessage
	FolderID             *int32 // (optional)
	TTLPeriod            *int32 // (optional)
}

Constructs Dialog

type TL_dialogFilter

type TL_dialogFilter struct {
	Contacts        bool
	NonContacts     bool
	Groups          bool
	Broadcasts      bool
	Bots            bool
	ExcludeMuted    bool
	ExcludeRead     bool
	ExcludeArchived bool
	ID              int32
	Title           string
	Emoticon        *string // (optional)
	Color           *int32  // (optional)
	PinnedPeers     []TL    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	IncludePeers    []TL    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ExcludePeers    []TL    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs DialogFilter

type TL_dialogFilterChatlist

type TL_dialogFilterChatlist struct {
	HasMyInvites bool
	ID           int32
	Title        string
	Emoticon     *string // (optional)
	Color        *int32  // (optional)
	PinnedPeers  []TL    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	IncludePeers []TL    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs DialogFilter

type TL_dialogFilterDefault

type TL_dialogFilterDefault struct {
}

Constructs DialogFilter

type TL_dialogFilterSuggested

type TL_dialogFilterSuggested struct {
	Filter      TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
	Description string
}

Constructs DialogFilterSuggested

type TL_dialogFolder

type TL_dialogFolder struct {
	Pinned                     bool
	Folder                     TL_folder
	Peer                       TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TopMessage                 int32
	UnreadMutedPeersCount      int32
	UnreadUnmutedPeersCount    int32
	UnreadMutedMessagesCount   int32
	UnreadUnmutedMessagesCount int32
}

Constructs Dialog

type TL_dialogPeer

type TL_dialogPeer struct {
	Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs DialogPeer

type TL_dialogPeerFolder

type TL_dialogPeerFolder struct {
	FolderID int32
}

Constructs DialogPeer

type TL_document

type TL_document struct {
	ID            int64
	AccessHash    int64
	FileReference []byte
	Date          int32
	MIMEType      string
	Size          int64
	Thumbs        []TL // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
	VideoThumbs   []TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
	DCID          int32
	Attributes    []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}

Constructs Document

type TL_documentAttributeAnimated

type TL_documentAttributeAnimated struct {
}

Constructs DocumentAttribute

type TL_documentAttributeAudio

type TL_documentAttributeAudio struct {
	Voice     bool
	Duration  int32
	Title     *string // (optional)
	Performer *string // (optional)
	Waveform  []byte  // (optional)
}

Constructs DocumentAttribute

type TL_documentAttributeCustomEmoji

type TL_documentAttributeCustomEmoji struct {
	Free       bool
	TextColor  bool
	Alt        string
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Constructs DocumentAttribute

type TL_documentAttributeFilename

type TL_documentAttributeFilename struct {
	FileName string
}

Constructs DocumentAttribute

type TL_documentAttributeHasStickers

type TL_documentAttributeHasStickers struct {
}

Constructs DocumentAttribute

type TL_documentAttributeImageSize

type TL_documentAttributeImageSize struct {
	W int32
	H int32
}

Constructs DocumentAttribute

type TL_documentAttributeSticker

type TL_documentAttributeSticker struct {
	Mask       bool
	Alt        string
	Stickerset TL             // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	MaskCoords *TL_maskCoords // (optional)
}

Constructs DocumentAttribute

type TL_documentAttributeVideo

type TL_documentAttributeVideo struct {
	RoundMessage      bool
	SupportsStreaming bool
	Nosound           bool
	Duration          float64
	W                 int32
	H                 int32
	PreloadPrefixSize *int32   // (optional)
	VideoStartTS      *float64 // (optional)
	VideoCodec        *string  // (optional)
}

Constructs DocumentAttribute

type TL_documentEmpty

type TL_documentEmpty struct {
	ID int64
}

Constructs Document

type TL_draftMessage

type TL_draftMessage struct {
	NoWebpage   bool
	InvertMedia bool
	ReplyTo     TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	Message     string
	Entities    []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Media       TL   // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	Date        int32
	Effect      *int64 // (optional)
}

Constructs DraftMessage

type TL_draftMessageEmpty

type TL_draftMessageEmpty struct {
	Date *int32 // (optional)
}

Constructs DraftMessage

type TL_emailVerificationApple

type TL_emailVerificationApple struct {
	Token string
}

Constructs EmailVerification

type TL_emailVerificationCode

type TL_emailVerificationCode struct {
	Code string
}

Constructs EmailVerification

type TL_emailVerificationGoogle

type TL_emailVerificationGoogle struct {
	Token string
}

Constructs EmailVerification

type TL_emailVerifyPurposeLoginChange

type TL_emailVerifyPurposeLoginChange struct {
}

Constructs EmailVerifyPurpose

type TL_emailVerifyPurposeLoginSetup

type TL_emailVerifyPurposeLoginSetup struct {
	PhoneNumber   string
	PhoneCodeHash string
}

Constructs EmailVerifyPurpose

type TL_emailVerifyPurposePassport

type TL_emailVerifyPurposePassport struct {
}

Constructs EmailVerifyPurpose

type TL_emojiGroup

type TL_emojiGroup struct {
	Title       string
	IconEmojiID int64
	Emoticons   []string
}

Constructs EmojiGroup

type TL_emojiGroupGreeting added in v0.181.0

type TL_emojiGroupGreeting struct {
	Title       string
	IconEmojiID int64
	Emoticons   []string
}

Constructs EmojiGroup

type TL_emojiGroupPremium added in v0.181.0

type TL_emojiGroupPremium struct {
	Title       string
	IconEmojiID int64
}

Constructs EmojiGroup

type TL_emojiKeyword

type TL_emojiKeyword struct {
	Keyword   string
	Emoticons []string
}

Constructs EmojiKeyword

type TL_emojiKeywordDeleted

type TL_emojiKeywordDeleted struct {
	Keyword   string
	Emoticons []string
}

Constructs EmojiKeyword

type TL_emojiKeywordsDifference

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

Constructs EmojiKeywordsDifference

type TL_emojiLanguage

type TL_emojiLanguage struct {
	LangCode string
}

Constructs EmojiLanguage

type TL_emojiList

type TL_emojiList struct {
	Hash       int64
	DocumentID []int64
}

Constructs EmojiList

type TL_emojiListNotModified

type TL_emojiListNotModified struct {
}

Constructs EmojiList

type TL_emojiStatus

type TL_emojiStatus struct {
	DocumentID int64
}

Constructs EmojiStatus

type TL_emojiStatusEmpty

type TL_emojiStatusEmpty struct {
}

Constructs EmojiStatus

type TL_emojiStatusUntil

type TL_emojiStatusUntil struct {
	DocumentID int64
	Until      int32
}

Constructs EmojiStatus

type TL_emojiURL

type TL_emojiURL struct {
	URL string
}

Constructs EmojiURL

type TL_encryptedChat

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

Constructs EncryptedChat

type TL_encryptedChatDiscarded

type TL_encryptedChatDiscarded struct {
	HistoryDeleted bool
	ID             int32
}

Constructs EncryptedChat

type TL_encryptedChatEmpty

type TL_encryptedChatEmpty struct {
	ID int32
}

Constructs EncryptedChat

type TL_encryptedChatRequested

type TL_encryptedChatRequested struct {
	FolderID      *int32 // (optional)
	ID            int32
	AccessHash    int64
	Date          int32
	AdminID       int64
	ParticipantID int64
	GA            []byte
}

Constructs EncryptedChat

type TL_encryptedChatWaiting

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

Constructs EncryptedChat

type TL_encryptedFile

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

Constructs EncryptedFile

type TL_encryptedFileEmpty

type TL_encryptedFileEmpty struct {
}

Constructs EncryptedFile

type TL_encryptedMessage

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

Constructs EncryptedMessage

type TL_encryptedMessageService

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

Constructs EncryptedMessage

type TL_error

type TL_error struct {
	Code int32
	Text string
}

Constructs Error

type TL_exportedChatlistInvite

type TL_exportedChatlistInvite struct {
	Title string
	URL   string
	Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs ExportedChatlistInvite

type TL_exportedContactToken

type TL_exportedContactToken struct {
	URL     string
	Expires int32
}

Constructs ExportedContactToken

type TL_exportedMessageLink struct {
	Link string
	HTML string
}

Constructs ExportedMessageLink

type TL_exportedStoryLink struct {
	Link string
}

Constructs ExportedStoryLink

type TL_factCheck added in v0.181.0

type TL_factCheck struct {
	NeedCheck bool
	Country   *string              // (optional)
	Text      *TL_textWithEntities // (optional)
	Hash      int64
}

Constructs FactCheck

type TL_fileHash

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

Constructs FileHash

type TL_folder

type TL_folder struct {
	AutofillNewBroadcasts     bool
	AutofillPublicGroups      bool
	AutofillNewCorrespondents bool
	ID                        int32
	Title                     string
	Photo                     TL // (optional) ChatPhoto: TL_chatPhotoEmpty | TL_chatPhoto
}

Constructs Folder

type TL_folderPeer

type TL_folderPeer struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FolderID int32
}

Constructs FolderPeer

type TL_folders_editPeerFolders

type TL_folders_editPeerFolders struct {
	FolderPeers []TL_inputFolderPeer
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_forumTopic

type TL_forumTopic struct {
	My                   bool
	Closed               bool
	Pinned               bool
	Short                bool
	Hidden               bool
	ID                   int32
	Date                 int32
	Title                string
	IconColor            int32
	IconEmojiID          *int64 // (optional)
	TopMessage           int32
	ReadInboxMaxID       int32
	ReadOutboxMaxID      int32
	UnreadCount          int32
	UnreadMentionsCount  int32
	UnreadReactionsCount int32
	FromID               TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	NotifySettings       TL_peerNotifySettings
	Draft                TL // (optional) DraftMessage: TL_draftMessageEmpty | TL_draftMessage
}

Constructs ForumTopic

type TL_forumTopicDeleted

type TL_forumTopicDeleted struct {
	ID int32
}

Constructs ForumTopic

type TL_foundStory added in v0.183.0

type TL_foundStory struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs FoundStory

type TL_fragment_collectibleInfo added in v0.181.0

type TL_fragment_collectibleInfo struct {
	PurchaseDate   int32
	Currency       string
	Amount         int64
	CryptoCurrency string
	CryptoAmount   int64
	URL            string
}

Constructs fragment.CollectibleInfo

type TL_fragment_getCollectibleInfo added in v0.181.0

type TL_fragment_getCollectibleInfo struct {
	Collectible TL // InputCollectible: TL_inputCollectibleUsername | TL_inputCollectiblePhone
}

Returns fragment.CollectibleInfo: TL_fragment_collectibleInfo

type TL_futureSalt added in v0.166.2

type TL_futureSalt struct {
	ValidSince int32
	ValidUntil int32
	Salt       int64
}

Constructs FutureSalt

type TL_futureSalts added in v0.166.2

type TL_futureSalts struct {
	ReqMsgID int64
	Now      int32
	Salts    []TL // future_salt:
}

Constructs FutureSalts

type TL_game

type TL_game struct {
	ID          int64
	AccessHash  int64
	ShortName   string
	Title       string
	Description string
	Photo       TL // Photo: TL_photoEmpty | TL_photo
	Document    TL // (optional) Document: TL_documentEmpty | TL_document
}

Constructs Game

type TL_geoPoint

type TL_geoPoint struct {
	Long           float64
	Lat            float64
	AccessHash     int64
	AccuracyRadius *int32 // (optional)
}

Constructs GeoPoint

type TL_geoPointAddress added in v0.183.0

type TL_geoPointAddress struct {
	CountryISO2 string
	State       *string // (optional)
	City        *string // (optional)
	Street      *string // (optional)
}

Constructs GeoPointAddress

type TL_geoPointEmpty

type TL_geoPointEmpty struct {
}

Constructs GeoPoint

type TL_getFutureSalts added in v0.166.2

type TL_getFutureSalts struct {
	Num int32
}

Returns FutureSalts: TL_futureSalts

type TL_globalPrivacySettings

type TL_globalPrivacySettings struct {
	ArchiveAndMuteNewNoncontactPeers bool
	KeepArchivedUnmuted              bool
	KeepArchivedFolders              bool
	HideReadMarks                    bool
	NewNoncontactPeersRequirePremium bool
}

Constructs GlobalPrivacySettings

type TL_groupCall

type TL_groupCall struct {
	JoinMuted               bool
	CanChangeJoinMuted      bool
	JoinDateAsc             bool
	ScheduleStartSubscribed bool
	CanStartVideo           bool
	RecordVideoActive       bool
	RTMPStream              bool
	ListenersHidden         bool
	ID                      int64
	AccessHash              int64
	ParticipantsCount       int32
	Title                   *string // (optional)
	StreamDCID              *int32  // (optional)
	RecordStartDate         *int32  // (optional)
	ScheduleDate            *int32  // (optional)
	UnmutedVideoCount       *int32  // (optional)
	UnmutedVideoLimit       int32
	Version                 int32
}

Constructs GroupCall

type TL_groupCallDiscarded

type TL_groupCallDiscarded struct {
	ID         int64
	AccessHash int64
	Duration   int32
}

Constructs GroupCall

type TL_groupCallParticipant

type TL_groupCallParticipant struct {
	Muted           bool
	Left            bool
	CanSelfUnmute   bool
	JustJoined      bool
	Versioned       bool
	Min             bool
	MutedByYou      bool
	VolumeByAdmin   bool
	Self            bool
	VideoJoined     bool
	Peer            TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date            int32
	ActiveDate      *int32 // (optional)
	Source          int32
	Volume          *int32                        // (optional)
	About           *string                       // (optional)
	RaiseHandRating *int64                        // (optional)
	Video           *TL_groupCallParticipantVideo // (optional)
	Presentation    *TL_groupCallParticipantVideo // (optional)
}

Constructs GroupCallParticipant

type TL_groupCallParticipantVideo

type TL_groupCallParticipantVideo struct {
	Paused       bool
	Endpoint     string
	SourceGroups []TL_groupCallParticipantVideoSourceGroup
	AudioSource  *int32 // (optional)
}

Constructs GroupCallParticipantVideo

type TL_groupCallParticipantVideoSourceGroup

type TL_groupCallParticipantVideoSourceGroup struct {
	Semantics string
	Sources   []int32
}

Constructs GroupCallParticipantVideoSourceGroup

type TL_groupCallStreamChannel

type TL_groupCallStreamChannel struct {
	Channel         int32
	Scale           int32
	LastTimestampMS int64
}

Constructs GroupCallStreamChannel

type TL_help_acceptTermsOfService

type TL_help_acceptTermsOfService struct {
	ID TL_dataJSON
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_help_appConfig

type TL_help_appConfig struct {
	Hash   int32
	Config TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}

Constructs help.AppConfig

type TL_help_appConfigNotModified

type TL_help_appConfigNotModified struct {
}

Constructs help.AppConfig

type TL_help_appUpdate

type TL_help_appUpdate struct {
	CanNotSkip bool
	ID         int32
	Version    string
	Text       string
	Entities   []TL    // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Document   TL      // (optional) Document: TL_documentEmpty | TL_document
	URL        *string // (optional)
	Sticker    TL      // (optional) Document: TL_documentEmpty | TL_document
}

Constructs help.AppUpdate

type TL_help_configSimple

type TL_help_configSimple struct {
	Date    int32
	Expires int32
	Rules   []TL_accessPointRule
}

Constructs help.ConfigSimple

type TL_help_countriesList

type TL_help_countriesList struct {
	Countries []TL_help_country
	Hash      int32
}

Constructs help.CountriesList

type TL_help_countriesListNotModified

type TL_help_countriesListNotModified struct {
}

Constructs help.CountriesList

type TL_help_country

type TL_help_country struct {
	Hidden       bool
	ISO2         string
	DefaultName  string
	Name         *string // (optional)
	CountryCodes []TL_help_countryCode
}

Constructs help.Country

type TL_help_countryCode

type TL_help_countryCode struct {
	CountryCode string
	Prefixes    []string // (optional)
	Patterns    []string // (optional)
}

Constructs help.CountryCode

type TL_help_deepLinkInfo

type TL_help_deepLinkInfo struct {
	UpdateApp bool
	Message   string
	Entities  []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs help.DeepLinkInfo

type TL_help_deepLinkInfoEmpty

type TL_help_deepLinkInfoEmpty struct {
}

Constructs help.DeepLinkInfo

type TL_help_dismissSuggestion

type TL_help_dismissSuggestion struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Suggestion string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_help_editUserInfo

type TL_help_editUserInfo struct {
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Message  string
	Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Returns help.UserInfo: TL_help_userInfoEmpty | TL_help_userInfo

type TL_help_getAppConfig

type TL_help_getAppConfig struct {
	Hash int32
}

Returns help.AppConfig: TL_help_appConfigNotModified | TL_help_appConfig

type TL_help_getAppUpdate

type TL_help_getAppUpdate struct {
	Source string
}

Returns help.AppUpdate: TL_help_appUpdate | TL_help_noAppUpdate

type TL_help_getCDNConfig added in v0.166.2

type TL_help_getCDNConfig struct {
}

Returns CdnConfig: TL_cdnConfig

type TL_help_getConfig

type TL_help_getConfig struct {
}

Returns Config: TL_config

type TL_help_getCountriesList

type TL_help_getCountriesList struct {
	LangCode string
	Hash     int32
}

Returns help.CountriesList: TL_help_countriesListNotModified | TL_help_countriesList

type TL_help_getDeepLinkInfo

type TL_help_getDeepLinkInfo struct {
	Path string
}

Returns help.DeepLinkInfo: TL_help_deepLinkInfoEmpty | TL_help_deepLinkInfo

type TL_help_getInviteText

type TL_help_getInviteText struct {
}

Returns help.InviteText: TL_help_inviteText

type TL_help_getNearestDC added in v0.166.2

type TL_help_getNearestDC struct {
}

Returns NearestDc: TL_nearestDC

type TL_help_getPassportConfig

type TL_help_getPassportConfig struct {
	Hash int32
}

Returns help.PassportConfig: TL_help_passportConfigNotModified | TL_help_passportConfig

type TL_help_getPeerColors added in v0.167.0

type TL_help_getPeerColors struct {
	Hash int32
}

Returns help.PeerColors: TL_help_peerColorsNotModified | TL_help_peerColors

type TL_help_getPeerProfileColors added in v0.167.0

type TL_help_getPeerProfileColors struct {
	Hash int32
}

Returns help.PeerColors: TL_help_peerColorsNotModified | TL_help_peerColors

type TL_help_getPremiumPromo

type TL_help_getPremiumPromo struct {
}

Returns help.PremiumPromo: TL_help_premiumPromo

type TL_help_getPromoData

type TL_help_getPromoData struct {
}

Returns help.PromoData: TL_help_promoDataEmpty | TL_help_promoData

type TL_help_getRecentMeURLs added in v0.166.2

type TL_help_getRecentMeURLs struct {
	Referer string
}

Returns help.RecentMeUrls: TL_help_recentMeURLs

type TL_help_getSupport

type TL_help_getSupport struct {
}

Returns help.Support: TL_help_support

type TL_help_getSupportName

type TL_help_getSupportName struct {
}

Returns help.SupportName: TL_help_supportName

type TL_help_getTermsOfServiceUpdate

type TL_help_getTermsOfServiceUpdate struct {
}

Returns help.TermsOfServiceUpdate: TL_help_termsOfServiceUpdateEmpty | TL_help_termsOfServiceUpdate

type TL_help_getTimezonesList added in v0.181.0

type TL_help_getTimezonesList struct {
	Hash int32
}

Returns help.TimezonesList: TL_help_timezonesListNotModified | TL_help_timezonesList

type TL_help_getUserInfo

type TL_help_getUserInfo struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns help.UserInfo: TL_help_userInfoEmpty | TL_help_userInfo

type TL_help_hidePromoData

type TL_help_hidePromoData struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_help_inviteText

type TL_help_inviteText struct {
	Message string
}

Constructs help.InviteText

type TL_help_noAppUpdate

type TL_help_noAppUpdate struct {
}

Constructs help.AppUpdate

type TL_help_passportConfig

type TL_help_passportConfig struct {
	Hash           int32
	CountriesLangs TL_dataJSON
}

Constructs help.PassportConfig

type TL_help_passportConfigNotModified

type TL_help_passportConfigNotModified struct {
}

Constructs help.PassportConfig

type TL_help_peerColorOption added in v0.167.0

type TL_help_peerColorOption struct {
	Hidden          bool
	ColorID         int32
	Colors          TL     // (optional) help.PeerColorSet: TL_help_peerColorSet | TL_help_peerColorProfileSet
	DarkColors      TL     // (optional) help.PeerColorSet: TL_help_peerColorSet | TL_help_peerColorProfileSet
	ChannelMinLevel *int32 // (optional)
	GroupMinLevel   *int32 // (optional)
}

Constructs help.PeerColorOption

type TL_help_peerColorProfileSet added in v0.167.0

type TL_help_peerColorProfileSet struct {
	PaletteColors []int32
	BgColors      []int32
	StoryColors   []int32
}

Constructs help.PeerColorSet

type TL_help_peerColorSet added in v0.167.0

type TL_help_peerColorSet struct {
	Colors []int32
}

Constructs help.PeerColorSet

type TL_help_peerColors added in v0.167.0

type TL_help_peerColors struct {
	Hash   int32
	Colors []TL_help_peerColorOption
}

Constructs help.PeerColors

type TL_help_peerColorsNotModified added in v0.167.0

type TL_help_peerColorsNotModified struct {
}

Constructs help.PeerColors

type TL_help_premiumPromo

type TL_help_premiumPromo struct {
	StatusText     string
	StatusEntities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	VideoSections  []string
	Videos         []TL // Document: TL_documentEmpty | TL_document
	PeriodOptions  []TL_premiumSubscriptionOption
	Users          []TL // User: TL_userEmpty | TL_user
}

Constructs help.PremiumPromo

type TL_help_promoData

type TL_help_promoData struct {
	Proxy      bool
	Expires    int32
	Peer       TL      // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
	PSAType    *string // (optional)
	PSAMessage *string // (optional)
}

Constructs help.PromoData

type TL_help_promoDataEmpty

type TL_help_promoDataEmpty struct {
	Expires int32
}

Constructs help.PromoData

type TL_help_recentMeURLs added in v0.166.2

type TL_help_recentMeURLs struct {
	URLs  []TL // RecentMeUrl: TL_recentMeURLUnknown | TL_recentMeURLUser | TL_recentMeURLChat | TL_recentMeURLChatInvite | TL_recentMeURLStickerSet
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs help.RecentMeUrls

type TL_help_saveAppLog

type TL_help_saveAppLog struct {
	Events []TL_inputAppEvent
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_help_setBotUpdatesStatus

type TL_help_setBotUpdatesStatus struct {
	PendingUpdatesCount int32
	Message             string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_help_support

type TL_help_support struct {
	PhoneNumber string
	User        TL // User: TL_userEmpty | TL_user
}

Constructs help.Support

type TL_help_supportName

type TL_help_supportName struct {
	Name string
}

Constructs help.SupportName

type TL_help_termsOfService

type TL_help_termsOfService struct {
	Popup         bool
	ID            TL_dataJSON
	Text          string
	Entities      []TL   // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	MinAgeConfirm *int32 // (optional)
}

Constructs help.TermsOfService

type TL_help_termsOfServiceUpdate

type TL_help_termsOfServiceUpdate struct {
	Expires        int32
	TermsOfService TL_help_termsOfService
}

Constructs help.TermsOfServiceUpdate

type TL_help_termsOfServiceUpdateEmpty

type TL_help_termsOfServiceUpdateEmpty struct {
	Expires int32
}

Constructs help.TermsOfServiceUpdate

type TL_help_timezonesList added in v0.181.0

type TL_help_timezonesList struct {
	Timezones []TL_timezone
	Hash      int32
}

Constructs help.TimezonesList

type TL_help_timezonesListNotModified added in v0.181.0

type TL_help_timezonesListNotModified struct {
}

Constructs help.TimezonesList

type TL_help_userInfo

type TL_help_userInfo struct {
	Message  string
	Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Author   string
	Date     int32
}

Constructs help.UserInfo

type TL_help_userInfoEmpty

type TL_help_userInfoEmpty struct {
}

Constructs help.UserInfo

type TL_highScore

type TL_highScore struct {
	Pos    int32
	UserID int64
	Score  int32
}

Constructs HighScore

type TL_httpWait added in v0.166.2

type TL_httpWait struct {
	MaxDelay  int32
	WaitAfter int32
	MaxWait   int32
}

Constructs HttpWait

type TL_importedContact

type TL_importedContact struct {
	UserID   int64
	ClientID int64
}

Constructs ImportedContact

type TL_initConnection

type TL_initConnection struct {
	APIID          int32
	DeviceModel    string
	SystemVersion  string
	AppVersion     string
	SystemLangCode string
	LangPack       string
	LangCode       string
	Proxy          *TL_inputClientProxy // (optional)
	Params         TL                   // (optional) JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
	Query          TLReq
}

Returns response to Query

type TL_inlineBotSwitchPM

type TL_inlineBotSwitchPM struct {
	Text       string
	StartParam string
}

Constructs InlineBotSwitchPM

type TL_inlineBotWebView

type TL_inlineBotWebView struct {
	Text string
	URL  string
}

Constructs InlineBotWebView

type TL_inlineQueryPeerTypeBotPM

type TL_inlineQueryPeerTypeBotPM struct {
}

Constructs InlineQueryPeerType

type TL_inlineQueryPeerTypeBroadcast

type TL_inlineQueryPeerTypeBroadcast struct {
}

Constructs InlineQueryPeerType

type TL_inlineQueryPeerTypeChat

type TL_inlineQueryPeerTypeChat struct {
}

Constructs InlineQueryPeerType

type TL_inlineQueryPeerTypeMegagroup

type TL_inlineQueryPeerTypeMegagroup struct {
}

Constructs InlineQueryPeerType

type TL_inlineQueryPeerTypePM

type TL_inlineQueryPeerTypePM struct {
}

Constructs InlineQueryPeerType

type TL_inlineQueryPeerTypeSameBotPM

type TL_inlineQueryPeerTypeSameBotPM struct {
}

Constructs InlineQueryPeerType

type TL_inputAppEvent

type TL_inputAppEvent struct {
	Time float64
	Type string
	Peer int64
	Data TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}

Constructs InputAppEvent

type TL_inputBotAppID

type TL_inputBotAppID struct {
	ID         int64
	AccessHash int64
}

Constructs InputBotApp

type TL_inputBotAppShortName

type TL_inputBotAppShortName struct {
	BotID     TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	ShortName string
}

Constructs InputBotApp

type TL_inputBotInlineMessageGame

type TL_inputBotInlineMessageGame struct {
	ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageID

type TL_inputBotInlineMessageID struct {
	DCID       int32
	ID         int64
	AccessHash int64
}

Constructs InputBotInlineMessageID

type TL_inputBotInlineMessageID64

type TL_inputBotInlineMessageID64 struct {
	DCID       int32
	OwnerID    int64
	ID         int32
	AccessHash int64
}

Constructs InputBotInlineMessageID

type TL_inputBotInlineMessageMediaAuto

type TL_inputBotInlineMessageMediaAuto struct {
	InvertMedia bool
	Message     string
	Entities    []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ReplyMarkup TL   // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageMediaContact

type TL_inputBotInlineMessageMediaContact struct {
	PhoneNumber string
	FirstName   string
	LastName    string
	Vcard       string
	ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageMediaGeo

type TL_inputBotInlineMessageMediaGeo struct {
	GeoPoint                    TL     // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Heading                     *int32 // (optional)
	Period                      *int32 // (optional)
	ProximityNotificationRadius *int32 // (optional)
	ReplyMarkup                 TL     // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageMediaInvoice

type TL_inputBotInlineMessageMediaInvoice struct {
	Title        string
	Description  string
	Photo        *TL_inputWebDocument // (optional)
	Invoice      TL_invoice
	Payload      []byte
	Provider     string
	ProviderData TL_dataJSON
	ReplyMarkup  TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageMediaVenue

type TL_inputBotInlineMessageMediaVenue struct {
	GeoPoint    TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Title       string
	Address     string
	Provider    string
	VenueID     string
	VenueType   string
	ReplyMarkup TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageMediaWebPage added in v0.166.0

type TL_inputBotInlineMessageMediaWebPage struct {
	InvertMedia     bool
	ForceLargeMedia bool
	ForceSmallMedia bool
	Optional        bool
	Message         string
	Entities        []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	URL             string
	ReplyMarkup     TL // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineMessageText

type TL_inputBotInlineMessageText struct {
	NoWebpage   bool
	InvertMedia bool
	Message     string
	Entities    []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ReplyMarkup TL   // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
}

Constructs InputBotInlineMessage

type TL_inputBotInlineResult

type TL_inputBotInlineResult struct {
	ID          string
	Type        string
	Title       *string              // (optional)
	Description *string              // (optional)
	URL         *string              // (optional)
	Thumb       *TL_inputWebDocument // (optional)
	Content     *TL_inputWebDocument // (optional)
	SendMessage TL                   // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}

Constructs InputBotInlineResult

type TL_inputBotInlineResultDocument

type TL_inputBotInlineResultDocument struct {
	ID          string
	Type        string
	Title       *string // (optional)
	Description *string // (optional)
	Document    TL      // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	SendMessage TL      // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}

Constructs InputBotInlineResult

type TL_inputBotInlineResultGame

type TL_inputBotInlineResultGame struct {
	ID          string
	ShortName   string
	SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}

Constructs InputBotInlineResult

type TL_inputBotInlineResultPhoto

type TL_inputBotInlineResultPhoto struct {
	ID          string
	Type        string
	Photo       TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
	SendMessage TL // InputBotInlineMessage: TL_inputBotInlineMessageMediaAuto | TL_inputBotInlineMessageText | TL_inputBotInlineMessageMediaGeo | TL_inputBotInlineMessageMediaVenue | TL_inputBotInlineMessageMediaContact | TL_inputBotInlineMessageGame | TL_inputBotInlineMessageMediaInvoice | TL_inputBotInlineMessageMediaWebPage
}

Constructs InputBotInlineResult

type TL_inputBusinessAwayMessage added in v0.181.0

type TL_inputBusinessAwayMessage struct {
	OfflineOnly bool
	ShortcutID  int32
	Schedule    TL // BusinessAwayMessageSchedule: TL_businessAwayMessageScheduleAlways | TL_businessAwayMessageScheduleOutsideWorkHours | TL_businessAwayMessageScheduleCustom
	Recipients  TL_inputBusinessRecipients
}

Constructs InputBusinessAwayMessage

type TL_inputBusinessBotRecipients added in v0.181.0

type TL_inputBusinessBotRecipients struct {
	ExistingChats   bool
	NewChats        bool
	Contacts        bool
	NonContacts     bool
	ExcludeSelected bool
	Users           []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	ExcludeUsers    []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs InputBusinessBotRecipients

type TL_inputBusinessChatLink struct {
	Message  string
	Entities []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Title    *string // (optional)
}

Constructs InputBusinessChatLink

type TL_inputBusinessGreetingMessage added in v0.181.0

type TL_inputBusinessGreetingMessage struct {
	ShortcutID     int32
	Recipients     TL_inputBusinessRecipients
	NoActivityDays int32
}

Constructs InputBusinessGreetingMessage

type TL_inputBusinessIntro added in v0.181.0

type TL_inputBusinessIntro struct {
	Title       string
	Description string
	Sticker     TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}

Constructs InputBusinessIntro

type TL_inputBusinessRecipients added in v0.181.0

type TL_inputBusinessRecipients struct {
	ExistingChats   bool
	NewChats        bool
	Contacts        bool
	NonContacts     bool
	ExcludeSelected bool
	Users           []TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs InputBusinessRecipients

type TL_inputChannel

type TL_inputChannel struct {
	ChannelID  int64
	AccessHash int64
}

Constructs InputChannel

type TL_inputChannelEmpty

type TL_inputChannelEmpty struct {
}

Constructs InputChannel

type TL_inputChannelFromMessage

type TL_inputChannelFromMessage struct {
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID     int32
	ChannelID int64
}

Constructs InputChannel

type TL_inputChatPhoto

type TL_inputChatPhoto struct {
	ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}

Constructs InputChatPhoto

type TL_inputChatPhotoEmpty

type TL_inputChatPhotoEmpty struct {
}

Constructs InputChatPhoto

type TL_inputChatUploadedPhoto

type TL_inputChatUploadedPhoto struct {
	File             TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Video            TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	VideoStartTS     *float64 // (optional)
	VideoEmojiMarkup TL       // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}

Constructs InputChatPhoto

type TL_inputChatlistDialogFilter

type TL_inputChatlistDialogFilter struct {
	FilterID int32
}

Constructs InputChatlist

type TL_inputCheckPasswordEmpty

type TL_inputCheckPasswordEmpty struct {
}

Constructs InputCheckPasswordSRP

type TL_inputCheckPasswordSRP

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

Constructs InputCheckPasswordSRP

type TL_inputClientProxy

type TL_inputClientProxy struct {
	Address string
	Port    int32
}

Constructs InputClientProxy

type TL_inputCollectiblePhone added in v0.181.0

type TL_inputCollectiblePhone struct {
	Phone string
}

Constructs InputCollectible

type TL_inputCollectibleUsername added in v0.181.0

type TL_inputCollectibleUsername struct {
	Username string
}

Constructs InputCollectible

type TL_inputDialogPeer

type TL_inputDialogPeer struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs InputDialogPeer

type TL_inputDialogPeerFolder

type TL_inputDialogPeerFolder struct {
	FolderID int32
}

Constructs InputDialogPeer

type TL_inputDocument

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

Constructs InputDocument

type TL_inputDocumentEmpty

type TL_inputDocumentEmpty struct {
}

Constructs InputDocument

type TL_inputDocumentFileLocation

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

Constructs InputFileLocation

type TL_inputEncryptedChat

type TL_inputEncryptedChat struct {
	ChatID     int32
	AccessHash int64
}

Constructs InputEncryptedChat

type TL_inputEncryptedFile

type TL_inputEncryptedFile struct {
	ID         int64
	AccessHash int64
}

Constructs InputEncryptedFile

type TL_inputEncryptedFileBigUploaded

type TL_inputEncryptedFileBigUploaded struct {
	ID             int64
	Parts          int32
	KeyFingerprint int32
}

Constructs InputEncryptedFile

type TL_inputEncryptedFileEmpty

type TL_inputEncryptedFileEmpty struct {
}

Constructs InputEncryptedFile

type TL_inputEncryptedFileLocation

type TL_inputEncryptedFileLocation struct {
	ID         int64
	AccessHash int64
}

Constructs InputFileLocation

type TL_inputEncryptedFileUploaded

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

Constructs InputEncryptedFile

type TL_inputFile

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

Constructs InputFile

type TL_inputFileBig

type TL_inputFileBig struct {
	ID    int64
	Parts int32
	Name  string
}

Constructs InputFile

type TL_inputFileLocation

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

Constructs InputFileLocation

type TL_inputFileStoryDocument added in v0.186.0

type TL_inputFileStoryDocument struct {
	ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}

Constructs InputFile

type TL_inputFolderPeer

type TL_inputFolderPeer struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	FolderID int32
}

Constructs InputFolderPeer

type TL_inputGameID

type TL_inputGameID struct {
	ID         int64
	AccessHash int64
}

Constructs InputGame

type TL_inputGameShortName

type TL_inputGameShortName struct {
	BotID     TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	ShortName string
}

Constructs InputGame

type TL_inputGeoPoint

type TL_inputGeoPoint struct {
	Lat            float64
	Long           float64
	AccuracyRadius *int32 // (optional)
}

Constructs InputGeoPoint

type TL_inputGeoPointEmpty

type TL_inputGeoPointEmpty struct {
}

Constructs InputGeoPoint

type TL_inputGroupCall

type TL_inputGroupCall struct {
	ID         int64
	AccessHash int64
}

Constructs InputGroupCall

type TL_inputGroupCallStream

type TL_inputGroupCallStream struct {
	Call         TL_inputGroupCall
	TimeMS       int64
	Scale        int32
	VideoChannel *int32 // (optional)
	VideoQuality *int32 // (optional)
}

Constructs InputFileLocation

type TL_inputInvoiceChatInviteSubscription added in v0.186.0

type TL_inputInvoiceChatInviteSubscription struct {
	Hash string
}

Constructs InputInvoice

type TL_inputInvoiceMessage

type TL_inputInvoiceMessage struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Constructs InputInvoice

type TL_inputInvoicePremiumGiftCode added in v0.166.0

type TL_inputInvoicePremiumGiftCode struct {
	Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
	Option  TL_premiumGiftCodeOption
}

Constructs InputInvoice

type TL_inputInvoiceSlug

type TL_inputInvoiceSlug struct {
	Slug string
}

Constructs InputInvoice

type TL_inputInvoiceStarGift added in v0.192.0

type TL_inputInvoiceStarGift struct {
	HideName bool
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	GiftID   int64
	Message  *TL_textWithEntities // (optional)
}

Constructs InputInvoice

type TL_inputInvoiceStars added in v0.181.0

type TL_inputInvoiceStars struct {
	Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
}

Constructs InputInvoice

type TL_inputKeyboardButtonRequestPeer added in v0.181.0

type TL_inputKeyboardButtonRequestPeer struct {
	NameRequested     bool
	UsernameRequested bool
	PhotoRequested    bool
	Text              string
	ButtonID          int32
	PeerType          TL // RequestPeerType: TL_requestPeerTypeUser | TL_requestPeerTypeChat | TL_requestPeerTypeBroadcast
	MaxQuantity       int32
}

Constructs KeyboardButton

type TL_inputKeyboardButtonURLAuth added in v0.166.2

type TL_inputKeyboardButtonURLAuth struct {
	RequestWriteAccess bool
	Text               string
	FwdText            *string // (optional)
	URL                string
	Bot                TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs KeyboardButton

type TL_inputKeyboardButtonUserProfile

type TL_inputKeyboardButtonUserProfile struct {
	Text   string
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs KeyboardButton

type TL_inputMediaAreaChannelPost added in v0.181.0

type TL_inputMediaAreaChannelPost struct {
	Coordinates TL_mediaAreaCoordinates
	Channel     TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MsgID       int32
}

Constructs MediaArea

type TL_inputMediaAreaVenue added in v0.166.0

type TL_inputMediaAreaVenue struct {
	Coordinates TL_mediaAreaCoordinates
	QueryID     int64
	ResultID    string
}

Constructs MediaArea

type TL_inputMediaContact

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

Constructs InputMedia

type TL_inputMediaDice

type TL_inputMediaDice struct {
	Emoticon string
}

Constructs InputMedia

type TL_inputMediaDocument

type TL_inputMediaDocument struct {
	Spoiler    bool
	ID         TL      // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	TTLSeconds *int32  // (optional)
	Query      *string // (optional)
}

Constructs InputMedia

type TL_inputMediaDocumentExternal

type TL_inputMediaDocumentExternal struct {
	Spoiler    bool
	URL        string
	TTLSeconds *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaEmpty

type TL_inputMediaEmpty struct {
}

Constructs InputMedia

type TL_inputMediaGame

type TL_inputMediaGame struct {
	ID TL // InputGame: TL_inputGameID | TL_inputGameShortName
}

Constructs InputMedia

type TL_inputMediaGeoLive

type TL_inputMediaGeoLive struct {
	Stopped                     bool
	GeoPoint                    TL     // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Heading                     *int32 // (optional)
	Period                      *int32 // (optional)
	ProximityNotificationRadius *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaGeoPoint

type TL_inputMediaGeoPoint struct {
	GeoPoint TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
}

Constructs InputMedia

type TL_inputMediaInvoice

type TL_inputMediaInvoice struct {
	Title         string
	Description   string
	Photo         *TL_inputWebDocument // (optional)
	Invoice       TL_invoice
	Payload       []byte
	Provider      *string // (optional)
	ProviderData  TL_dataJSON
	StartParam    *string // (optional)
	ExtendedMedia TL      // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Constructs InputMedia

type TL_inputMediaPaidMedia added in v0.183.0

type TL_inputMediaPaidMedia struct {
	StarsAmount   int64
	ExtendedMedia []TL    // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	Payload       *string // (optional)
}

Constructs InputMedia

type TL_inputMediaPhoto

type TL_inputMediaPhoto struct {
	Spoiler    bool
	ID         TL     // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
	TTLSeconds *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaPhotoExternal

type TL_inputMediaPhotoExternal struct {
	Spoiler    bool
	URL        string
	TTLSeconds *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaPoll

type TL_inputMediaPoll struct {
	Poll             TL_poll
	CorrectAnswers   [][]byte // (optional)
	Solution         *string  // (optional)
	SolutionEntities []TL     // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs InputMedia

type TL_inputMediaStory added in v0.166.0

type TL_inputMediaStory struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   int32
}

Constructs InputMedia

type TL_inputMediaUploadedDocument

type TL_inputMediaUploadedDocument struct {
	NosoundVideo bool
	ForceFile    bool
	Spoiler      bool
	File         TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Thumb        TL // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	MIMEType     string
	Attributes   []TL   // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
	Stickers     []TL   // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	TTLSeconds   *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaUploadedPhoto

type TL_inputMediaUploadedPhoto struct {
	Spoiler    bool
	File       TL     // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Stickers   []TL   // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	TTLSeconds *int32 // (optional)
}

Constructs InputMedia

type TL_inputMediaVenue

type TL_inputMediaVenue struct {
	GeoPoint  TL // InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Title     string
	Address   string
	Provider  string
	VenueID   string
	VenueType string
}

Constructs InputMedia

type TL_inputMediaWebPage added in v0.166.0

type TL_inputMediaWebPage struct {
	ForceLargeMedia bool
	ForceSmallMedia bool
	Optional        bool
	URL             string
}

Constructs InputMedia

type TL_inputMessageCallbackQuery

type TL_inputMessageCallbackQuery struct {
	ID      int32
	QueryID int64
}

Constructs InputMessage

type TL_inputMessageEntityMentionName

type TL_inputMessageEntityMentionName struct {
	Offset int32
	Length int32
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs MessageEntity

type TL_inputMessageID

type TL_inputMessageID struct {
	ID int32
}

Constructs InputMessage

type TL_inputMessagePinned

type TL_inputMessagePinned struct {
}

Constructs InputMessage

type TL_inputMessageReplyTo

type TL_inputMessageReplyTo struct {
	ID int32
}

Constructs InputMessage

type TL_inputMessagesFilterChatPhotos

type TL_inputMessagesFilterChatPhotos struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterContacts

type TL_inputMessagesFilterContacts struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterDocument

type TL_inputMessagesFilterDocument struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterEmpty

type TL_inputMessagesFilterEmpty struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterGIF added in v0.166.2

type TL_inputMessagesFilterGIF struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterGeo

type TL_inputMessagesFilterGeo struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterMusic

type TL_inputMessagesFilterMusic struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterMyMentions

type TL_inputMessagesFilterMyMentions struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterPhoneCalls

type TL_inputMessagesFilterPhoneCalls struct {
	Missed bool
}

Constructs MessagesFilter

type TL_inputMessagesFilterPhotoVideo

type TL_inputMessagesFilterPhotoVideo struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterPhotos

type TL_inputMessagesFilterPhotos struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterPinned

type TL_inputMessagesFilterPinned struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterRoundVideo

type TL_inputMessagesFilterRoundVideo struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterRoundVoice

type TL_inputMessagesFilterRoundVoice struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterURL added in v0.166.2

type TL_inputMessagesFilterURL struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterVideo

type TL_inputMessagesFilterVideo struct {
}

Constructs MessagesFilter

type TL_inputMessagesFilterVoice

type TL_inputMessagesFilterVoice struct {
}

Constructs MessagesFilter

type TL_inputNotifyBroadcasts

type TL_inputNotifyBroadcasts struct {
}

Constructs InputNotifyPeer

type TL_inputNotifyChats

type TL_inputNotifyChats struct {
}

Constructs InputNotifyPeer

type TL_inputNotifyForumTopic

type TL_inputNotifyForumTopic struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID int32
}

Constructs InputNotifyPeer

type TL_inputNotifyPeer

type TL_inputNotifyPeer struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Constructs InputNotifyPeer

type TL_inputNotifyUsers

type TL_inputNotifyUsers struct {
}

Constructs InputNotifyPeer

type TL_inputPaymentCredentials

type TL_inputPaymentCredentials struct {
	Save bool
	Data TL_dataJSON
}

Constructs InputPaymentCredentials

type TL_inputPaymentCredentialsApplePay

type TL_inputPaymentCredentialsApplePay struct {
	PaymentData TL_dataJSON
}

Constructs InputPaymentCredentials

type TL_inputPaymentCredentialsGooglePay

type TL_inputPaymentCredentialsGooglePay struct {
	PaymentToken TL_dataJSON
}

Constructs InputPaymentCredentials

type TL_inputPaymentCredentialsSaved

type TL_inputPaymentCredentialsSaved struct {
	ID          string
	TmpPassword []byte
}

Constructs InputPaymentCredentials

type TL_inputPeerChannel

type TL_inputPeerChannel struct {
	ChannelID  int64
	AccessHash int64
}

Constructs InputPeer

type TL_inputPeerChannelFromMessage

type TL_inputPeerChannelFromMessage struct {
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID     int32
	ChannelID int64
}

Constructs InputPeer

type TL_inputPeerChat

type TL_inputPeerChat struct {
	ChatID int64
}

Constructs InputPeer

type TL_inputPeerEmpty

type TL_inputPeerEmpty struct {
}

Constructs InputPeer

type TL_inputPeerNotifySettings

type TL_inputPeerNotifySettings struct {
	ShowPreviews      *bool  // (optional)
	Silent            *bool  // (optional)
	MuteUntil         *int32 // (optional)
	Sound             TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	StoriesMuted      *bool  // (optional)
	StoriesHideSender *bool  // (optional)
	StoriesSound      TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
}

Constructs InputPeerNotifySettings

type TL_inputPeerPhotoFileLocation

type TL_inputPeerPhotoFileLocation struct {
	Big     bool
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	PhotoID int64
}

Constructs InputFileLocation

type TL_inputPeerSelf

type TL_inputPeerSelf struct {
}

Constructs InputPeer

type TL_inputPeerUser

type TL_inputPeerUser struct {
	UserID     int64
	AccessHash int64
}

Constructs InputPeer

type TL_inputPeerUserFromMessage

type TL_inputPeerUserFromMessage struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID  int32
	UserID int64
}

Constructs InputPeer

type TL_inputPhoneCall

type TL_inputPhoneCall struct {
	ID         int64
	AccessHash int64
}

Constructs InputPhoneCall

type TL_inputPhoneContact

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

Constructs InputContact

type TL_inputPhoto

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

Constructs InputPhoto

type TL_inputPhotoEmpty

type TL_inputPhotoEmpty struct {
}

Constructs InputPhoto

type TL_inputPhotoFileLocation

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

Constructs InputFileLocation

type TL_inputPhotoLegacyFileLocation

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

Constructs InputFileLocation

type TL_inputPrivacyKeyAbout added in v0.166.0

type TL_inputPrivacyKeyAbout struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyAddedByPhone

type TL_inputPrivacyKeyAddedByPhone struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyBirthday added in v0.181.0

type TL_inputPrivacyKeyBirthday struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyChatInvite

type TL_inputPrivacyKeyChatInvite struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyForwards

type TL_inputPrivacyKeyForwards struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyPhoneCall

type TL_inputPrivacyKeyPhoneCall struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyPhoneNumber

type TL_inputPrivacyKeyPhoneNumber struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyPhoneP2P

type TL_inputPrivacyKeyPhoneP2P struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyProfilePhoto

type TL_inputPrivacyKeyProfilePhoto struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyStatusTimestamp

type TL_inputPrivacyKeyStatusTimestamp struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyKeyVoiceMessages

type TL_inputPrivacyKeyVoiceMessages struct {
}

Constructs InputPrivacyKey

type TL_inputPrivacyValueAllowAll

type TL_inputPrivacyValueAllowAll struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueAllowChatParticipants

type TL_inputPrivacyValueAllowChatParticipants struct {
	Chats []int64
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueAllowCloseFriends added in v0.166.0

type TL_inputPrivacyValueAllowCloseFriends struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueAllowContacts

type TL_inputPrivacyValueAllowContacts struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueAllowPremium added in v0.181.0

type TL_inputPrivacyValueAllowPremium struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueAllowUsers

type TL_inputPrivacyValueAllowUsers struct {
	Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueDisallowAll

type TL_inputPrivacyValueDisallowAll struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueDisallowChatParticipants

type TL_inputPrivacyValueDisallowChatParticipants struct {
	Chats []int64
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueDisallowContacts

type TL_inputPrivacyValueDisallowContacts struct {
}

Constructs InputPrivacyRule

type TL_inputPrivacyValueDisallowUsers

type TL_inputPrivacyValueDisallowUsers struct {
	Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Constructs InputPrivacyRule

type TL_inputQuickReplyShortcut added in v0.181.0

type TL_inputQuickReplyShortcut struct {
	Shortcut string
}

Constructs InputQuickReplyShortcut

type TL_inputQuickReplyShortcutID added in v0.181.0

type TL_inputQuickReplyShortcutID struct {
	ShortcutID int32
}

Constructs InputQuickReplyShortcut

type TL_inputReplyToMessage added in v0.166.0

type TL_inputReplyToMessage struct {
	ReplyToMsgID  int32
	TopMsgID      *int32  // (optional)
	ReplyToPeerID TL      // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuoteText     *string // (optional)
	QuoteEntities []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	QuoteOffset   *int32  // (optional)
}

Constructs InputReplyTo

type TL_inputReplyToStory added in v0.166.0

type TL_inputReplyToStory struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	StoryID int32
}

Constructs InputReplyTo

type TL_inputReportReasonChildAbuse

type TL_inputReportReasonChildAbuse struct {
}

Constructs ReportReason

type TL_inputReportReasonCopyright

type TL_inputReportReasonCopyright struct {
}

Constructs ReportReason

type TL_inputReportReasonFake

type TL_inputReportReasonFake struct {
}

Constructs ReportReason

type TL_inputReportReasonGeoIrrelevant

type TL_inputReportReasonGeoIrrelevant struct {
}

Constructs ReportReason

type TL_inputReportReasonIllegalDrugs

type TL_inputReportReasonIllegalDrugs struct {
}

Constructs ReportReason

type TL_inputReportReasonOther

type TL_inputReportReasonOther struct {
}

Constructs ReportReason

type TL_inputReportReasonPersonalDetails

type TL_inputReportReasonPersonalDetails struct {
}

Constructs ReportReason

type TL_inputReportReasonPornography

type TL_inputReportReasonPornography struct {
}

Constructs ReportReason

type TL_inputReportReasonSpam

type TL_inputReportReasonSpam struct {
}

Constructs ReportReason

type TL_inputReportReasonViolence

type TL_inputReportReasonViolence struct {
}

Constructs ReportReason

type TL_inputSecureFile

type TL_inputSecureFile struct {
	ID         int64
	AccessHash int64
}

Constructs InputSecureFile

type TL_inputSecureFileLocation

type TL_inputSecureFileLocation struct {
	ID         int64
	AccessHash int64
}

Constructs InputFileLocation

type TL_inputSecureFileUploaded

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

Constructs InputSecureFile

type TL_inputSecureValue

type TL_inputSecureValue struct {
	Type        TL             // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	Data        *TL_secureData // (optional)
	FrontSide   TL             // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
	ReverseSide TL             // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
	Selfie      TL             // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
	Translation []TL           // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
	Files       []TL           // (optional) InputSecureFile: TL_inputSecureFileUploaded | TL_inputSecureFile
	PlainData   TL             // (optional) SecurePlainData: TL_securePlainPhone | TL_securePlainEmail
}

Constructs InputSecureValue

type TL_inputSingleMedia

type TL_inputSingleMedia struct {
	Media    TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	RandomID int64
	Message  string
	Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs InputSingleMedia

type TL_inputStarsTransaction added in v0.183.0

type TL_inputStarsTransaction struct {
	Refund bool
	ID     string
}

Constructs InputStarsTransaction

type TL_inputStickerSetAnimatedEmoji

type TL_inputStickerSetAnimatedEmoji struct {
}

Constructs InputStickerSet

type TL_inputStickerSetAnimatedEmojiAnimations

type TL_inputStickerSetAnimatedEmojiAnimations struct {
}

Constructs InputStickerSet

type TL_inputStickerSetDice

type TL_inputStickerSetDice struct {
	Emoticon string
}

Constructs InputStickerSet

type TL_inputStickerSetEmojiChannelDefaultStatuses added in v0.181.0

type TL_inputStickerSetEmojiChannelDefaultStatuses struct {
}

Constructs InputStickerSet

type TL_inputStickerSetEmojiDefaultStatuses

type TL_inputStickerSetEmojiDefaultStatuses struct {
}

Constructs InputStickerSet

type TL_inputStickerSetEmojiDefaultTopicIcons

type TL_inputStickerSetEmojiDefaultTopicIcons struct {
}

Constructs InputStickerSet

type TL_inputStickerSetEmojiGenericAnimations

type TL_inputStickerSetEmojiGenericAnimations struct {
}

Constructs InputStickerSet

type TL_inputStickerSetEmpty

type TL_inputStickerSetEmpty struct {
}

Constructs InputStickerSet

type TL_inputStickerSetID

type TL_inputStickerSetID struct {
	ID         int64
	AccessHash int64
}

Constructs InputStickerSet

type TL_inputStickerSetItem

type TL_inputStickerSetItem struct {
	Document   TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Emoji      string
	MaskCoords *TL_maskCoords // (optional)
	Keywords   *string        // (optional)
}

Constructs InputStickerSetItem

type TL_inputStickerSetPremiumGifts

type TL_inputStickerSetPremiumGifts struct {
}

Constructs InputStickerSet

type TL_inputStickerSetShortName

type TL_inputStickerSetShortName struct {
	ShortName string
}

Constructs InputStickerSet

type TL_inputStickerSetThumb

type TL_inputStickerSetThumb struct {
	Stickerset   TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	ThumbVersion int32
}

Constructs InputFileLocation

type TL_inputStickeredMediaDocument

type TL_inputStickeredMediaDocument struct {
	ID TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}

Constructs InputStickeredMedia

type TL_inputStickeredMediaPhoto

type TL_inputStickeredMediaPhoto struct {
	ID TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}

Constructs InputStickeredMedia

type TL_inputStorePaymentGiftPremium

type TL_inputStorePaymentGiftPremium struct {
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Currency string
	Amount   int64
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentPremiumGiftCode added in v0.166.0

type TL_inputStorePaymentPremiumGiftCode struct {
	Users     []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	BoostPeer TL   // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Currency  string
	Amount    int64
	Message   *TL_textWithEntities // (optional)
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentPremiumGiveaway added in v0.166.0

type TL_inputStorePaymentPremiumGiveaway struct {
	OnlyNewSubscribers bool
	WinnersAreVisible  bool
	BoostPeer          TL       // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	AdditionalPeers    []TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	CountriesISO2      []string // (optional)
	PrizeDescription   *string  // (optional)
	RandomID           int64
	UntilDate          int32
	Currency           string
	Amount             int64
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentPremiumSubscription

type TL_inputStorePaymentPremiumSubscription struct {
	Restore bool
	Upgrade bool
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentStarsGift added in v0.185.0

type TL_inputStorePaymentStarsGift struct {
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Stars    int64
	Currency string
	Amount   int64
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentStarsGiveaway added in v0.187.0

type TL_inputStorePaymentStarsGiveaway struct {
	OnlyNewSubscribers bool
	WinnersAreVisible  bool
	Stars              int64
	BoostPeer          TL       // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	AdditionalPeers    []TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	CountriesISO2      []string // (optional)
	PrizeDescription   *string  // (optional)
	RandomID           int64
	UntilDate          int32
	Currency           string
	Amount             int64
	Users              int32
}

Constructs InputStorePaymentPurpose

type TL_inputStorePaymentStarsTopup added in v0.185.0

type TL_inputStorePaymentStarsTopup struct {
	Stars    int64
	Currency string
	Amount   int64
}

Constructs InputStorePaymentPurpose

type TL_inputTakeoutFileLocation

type TL_inputTakeoutFileLocation struct {
}

Constructs InputFileLocation

type TL_inputTheme

type TL_inputTheme struct {
	ID         int64
	AccessHash int64
}

Constructs InputTheme

type TL_inputThemeSettings

type TL_inputThemeSettings struct {
	MessageColorsAnimated bool
	BaseTheme             TL // BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
	AccentColor           int32
	OutboxAccentColor     *int32                // (optional)
	MessageColors         []int32               // (optional)
	Wallpaper             TL                    // (optional) InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
	WallpaperSettings     *TL_wallPaperSettings // (optional)
}

Constructs InputThemeSettings

type TL_inputThemeSlug

type TL_inputThemeSlug struct {
	Slug string
}

Constructs InputTheme

type TL_inputUser

type TL_inputUser struct {
	UserID     int64
	AccessHash int64
}

Constructs InputUser

type TL_inputUserEmpty

type TL_inputUserEmpty struct {
}

Constructs InputUser

type TL_inputUserFromMessage

type TL_inputUserFromMessage struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID  int32
	UserID int64
}

Constructs InputUser

type TL_inputUserSelf

type TL_inputUserSelf struct {
}

Constructs InputUser

type TL_inputWallPaper

type TL_inputWallPaper struct {
	ID         int64
	AccessHash int64
}

Constructs InputWallPaper

type TL_inputWallPaperNoFile

type TL_inputWallPaperNoFile struct {
	ID int64
}

Constructs InputWallPaper

type TL_inputWallPaperSlug

type TL_inputWallPaperSlug struct {
	Slug string
}

Constructs InputWallPaper

type TL_inputWebDocument

type TL_inputWebDocument struct {
	URL        string
	Size       int32
	MIMEType   string
	Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}

Constructs InputWebDocument

type TL_inputWebFileAudioAlbumThumbLocation

type TL_inputWebFileAudioAlbumThumbLocation struct {
	Small     bool
	Document  TL      // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Title     *string // (optional)
	Performer *string // (optional)
}

Constructs InputWebFileLocation

type TL_inputWebFileGeoPointLocation

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

Constructs InputWebFileLocation

type TL_inputWebFileLocation

type TL_inputWebFileLocation struct {
	URL        string
	AccessHash int64
}

Constructs InputWebFileLocation

type TL_invoice

type TL_invoice struct {
	Test                     bool
	NameRequested            bool
	PhoneRequested           bool
	EmailRequested           bool
	ShippingAddressRequested bool
	Flexible                 bool
	PhoneToProvider          bool
	EmailToProvider          bool
	Recurring                bool
	Currency                 string
	Prices                   []TL_labeledPrice
	MaxTipAmount             *int64  // (optional)
	SuggestedTipAmounts      []int64 // (optional)
	TermsURL                 *string // (optional)
}

Constructs Invoice

type TL_invokeAfterMsg

type TL_invokeAfterMsg struct {
	MsgID int64
	Query TLReq
}

Returns response to Query

type TL_invokeAfterMsgs

type TL_invokeAfterMsgs struct {
	MsgIDs []int64
	Query  TLReq
}

Returns response to Query

type TL_invokeWithApnsSecret added in v0.181.0

type TL_invokeWithApnsSecret struct {
	Nonce  string
	Secret string
	Query  TLReq
}

Returns response to Query

type TL_invokeWithBusinessConnection added in v0.181.0

type TL_invokeWithBusinessConnection struct {
	ConnectionID string
	Query        TLReq
}

Returns response to Query

type TL_invokeWithGooglePlayIntegrity added in v0.181.0

type TL_invokeWithGooglePlayIntegrity struct {
	Nonce string
	Token string
	Query TLReq
}

Returns response to Query

type TL_invokeWithLayer

type TL_invokeWithLayer struct {
	Layer int32
	Query TLReq
}

Returns response to Query

type TL_invokeWithMessagesRange

type TL_invokeWithMessagesRange struct {
	Range TL_messageRange
	Query TLReq
}

Returns response to Query

type TL_invokeWithTakeout

type TL_invokeWithTakeout struct {
	TakeoutID int64
	Query     TLReq
}

Returns response to Query

type TL_invokeWithoutUpdates

type TL_invokeWithoutUpdates struct {
	Query TLReq
}

Returns response to Query

type TL_ipPort

type TL_ipPort struct {
	IPv4 int32
	Port int32
}

Constructs IpPort

type TL_ipPortSecret

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

Constructs IpPort

type TL_jsonArray

type TL_jsonArray struct {
	Value []TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}

Constructs JSONValue

type TL_jsonBool

type TL_jsonBool struct {
	Value bool
}

Constructs JSONValue

type TL_jsonNull

type TL_jsonNull struct {
}

Constructs JSONValue

type TL_jsonNumber

type TL_jsonNumber struct {
	Value float64
}

Constructs JSONValue

type TL_jsonObject

type TL_jsonObject struct {
	Value []TL_jsonObjectValue
}

Constructs JSONValue

type TL_jsonObjectValue

type TL_jsonObjectValue struct {
	Key   string
	Value TL // JSONValue: TL_jsonNull | TL_jsonBool | TL_jsonNumber | TL_jsonString | TL_jsonArray | TL_jsonObject
}

Constructs JSONObjectValue

type TL_jsonString

type TL_jsonString struct {
	Value string
}

Constructs JSONValue

type TL_keyboardButton

type TL_keyboardButton struct {
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonBuy

type TL_keyboardButtonBuy struct {
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonCallback

type TL_keyboardButtonCallback struct {
	RequiresPassword bool
	Text             string
	Data             []byte
}

Constructs KeyboardButton

type TL_keyboardButtonCopy added in v0.192.0

type TL_keyboardButtonCopy struct {
	Text     string
	CopyText string
}

Constructs KeyboardButton

type TL_keyboardButtonGame

type TL_keyboardButtonGame struct {
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonRequestGeoLocation

type TL_keyboardButtonRequestGeoLocation struct {
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonRequestPeer

type TL_keyboardButtonRequestPeer struct {
	Text        string
	ButtonID    int32
	PeerType    TL // RequestPeerType: TL_requestPeerTypeUser | TL_requestPeerTypeChat | TL_requestPeerTypeBroadcast
	MaxQuantity int32
}

Constructs KeyboardButton

type TL_keyboardButtonRequestPhone

type TL_keyboardButtonRequestPhone struct {
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonRequestPoll

type TL_keyboardButtonRequestPoll struct {
	Quiz *bool // (optional)
	Text string
}

Constructs KeyboardButton

type TL_keyboardButtonRow

type TL_keyboardButtonRow struct {
	Buttons []TL // KeyboardButton: TL_keyboardButton | TL_keyboardButtonURL | TL_keyboardButtonCallback | TL_keyboardButtonRequestPhone | TL_keyboardButtonRequestGeoLocation | TL_keyboardButtonSwitchInline | TL_keyboardButtonGame | TL_keyboardButtonBuy | TL_keyboardButtonURLAuth | TL_inputKeyboardButtonURLAuth | TL_keyboardButtonRequestPoll | TL_inputKeyboardButtonUserProfile | TL_keyboardButtonUserProfile | TL_keyboardButtonWebView | TL_keyboardButtonSimpleWebView | TL_keyboardButtonRequestPeer | TL_inputKeyboardButtonRequestPeer | TL_keyboardButtonCopy
}

Constructs KeyboardButtonRow

type TL_keyboardButtonSimpleWebView

type TL_keyboardButtonSimpleWebView struct {
	Text string
	URL  string
}

Constructs KeyboardButton

type TL_keyboardButtonSwitchInline

type TL_keyboardButtonSwitchInline struct {
	SamePeer  bool
	Text      string
	Query     string
	PeerTypes []TL // (optional) InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
}

Constructs KeyboardButton

type TL_keyboardButtonURL added in v0.166.2

type TL_keyboardButtonURL struct {
	Text string
	URL  string
}

Constructs KeyboardButton

type TL_keyboardButtonURLAuth added in v0.166.2

type TL_keyboardButtonURLAuth struct {
	Text     string
	FwdText  *string // (optional)
	URL      string
	ButtonID int32
}

Constructs KeyboardButton

type TL_keyboardButtonUserProfile

type TL_keyboardButtonUserProfile struct {
	Text   string
	UserID int64
}

Constructs KeyboardButton

type TL_keyboardButtonWebView

type TL_keyboardButtonWebView struct {
	Text string
	URL  string
}

Constructs KeyboardButton

type TL_labeledPrice

type TL_labeledPrice struct {
	Label  string
	Amount int64
}

Constructs LabeledPrice

type TL_langPackDifference

type TL_langPackDifference struct {
	LangCode    string
	FromVersion int32
	Version     int32
	Strings     []TL // LangPackString: TL_langPackString | TL_langPackStringPluralized | TL_langPackStringDeleted
}

Constructs LangPackDifference

type TL_langPackLanguage

type TL_langPackLanguage struct {
	Official        bool
	RTL             bool
	Beta            bool
	Name            string
	NativeName      string
	LangCode        string
	BaseLangCode    *string // (optional)
	PluralCode      string
	StringsCount    int32
	TranslatedCount int32
	TranslationsURL string
}

Constructs LangPackLanguage

type TL_langPackString

type TL_langPackString struct {
	Key   string
	Value string
}

Constructs LangPackString

type TL_langPackStringDeleted

type TL_langPackStringDeleted struct {
	Key string
}

Constructs LangPackString

type TL_langPackStringPluralized

type TL_langPackStringPluralized struct {
	Key        string
	ZeroValue  *string // (optional)
	OneValue   *string // (optional)
	TwoValue   *string // (optional)
	FewValue   *string // (optional)
	ManyValue  *string // (optional)
	OtherValue string
}

Constructs LangPackString

type TL_langpack_getDifference

type TL_langpack_getDifference struct {
	LangPack    string
	LangCode    string
	FromVersion int32
}

Returns LangPackDifference: TL_langPackDifference

type TL_langpack_getLangPack

type TL_langpack_getLangPack struct {
	LangPack string
	LangCode string
}

Returns LangPackDifference: TL_langPackDifference

type TL_langpack_getLanguage

type TL_langpack_getLanguage struct {
	LangPack string
	LangCode string
}

Returns LangPackLanguage: TL_langPackLanguage

type TL_langpack_getLanguages

type TL_langpack_getLanguages struct {
	LangPack string
}

Returns Vector<LangPackLanguage>: TL_langPackLanguage

type TL_langpack_getStrings

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

Returns Vector<LangPackString>: TL_langPackString | TL_langPackStringPluralized | TL_langPackStringDeleted

type TL_maskCoords

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

Constructs MaskCoords

type TL_mediaAreaChannelPost added in v0.181.0

type TL_mediaAreaChannelPost struct {
	Coordinates TL_mediaAreaCoordinates
	ChannelID   int64
	MsgID       int32
}

Constructs MediaArea

type TL_mediaAreaCoordinates added in v0.166.0

type TL_mediaAreaCoordinates struct {
	X        float64
	Y        float64
	W        float64
	H        float64
	Rotation float64
	Radius   *float64 // (optional)
}

Constructs MediaAreaCoordinates

type TL_mediaAreaGeoPoint added in v0.166.0

type TL_mediaAreaGeoPoint struct {
	Coordinates TL_mediaAreaCoordinates
	Geo         TL                  // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Address     *TL_geoPointAddress // (optional)
}

Constructs MediaArea

type TL_mediaAreaSuggestedReaction added in v0.166.0

type TL_mediaAreaSuggestedReaction struct {
	Dark        bool
	Flipped     bool
	Coordinates TL_mediaAreaCoordinates
	Reaction    TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs MediaArea

type TL_mediaAreaURL added in v0.183.0

type TL_mediaAreaURL struct {
	Coordinates TL_mediaAreaCoordinates
	URL         string
}

Constructs MediaArea

type TL_mediaAreaVenue added in v0.166.0

type TL_mediaAreaVenue struct {
	Coordinates TL_mediaAreaCoordinates
	Geo         TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Title       string
	Address     string
	Provider    string
	VenueID     string
	VenueType   string
}

Constructs MediaArea

type TL_mediaAreaWeather added in v0.185.0

type TL_mediaAreaWeather struct {
	Coordinates  TL_mediaAreaCoordinates
	Emoji        string
	TemperatureC float64
	Color        int32
}

Constructs MediaArea

type TL_message

type TL_message struct {
	Out                    bool
	Mentioned              bool
	MediaUnread            bool
	Silent                 bool
	Post                   bool
	FromScheduled          bool
	Legacy                 bool
	EditHide               bool
	Pinned                 bool
	Noforwards             bool
	InvertMedia            bool
	Offline                bool
	VideoProcessingPending bool
	ID                     int32
	FromID                 TL                   // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FromBoostsApplied      *int32               // (optional)
	PeerID                 TL                   // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	SavedPeerID            TL                   // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FwdFrom                *TL_messageFwdHeader // (optional)
	ViaBotID               *int64               // (optional)
	ViaBusinessBotID       *int64               // (optional)
	ReplyTo                TL                   // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
	Date                   int32
	Message                string
	Media                  TL                     // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	ReplyMarkup            TL                     // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
	Entities               []TL                   // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Views                  *int32                 // (optional)
	Forwards               *int32                 // (optional)
	Replies                *TL_messageReplies     // (optional)
	EditDate               *int32                 // (optional)
	PostAuthor             *string                // (optional)
	GroupedID              *int64                 // (optional)
	Reactions              *TL_messageReactions   // (optional)
	RestrictionReason      []TL_restrictionReason // (optional)
	TTLPeriod              *int32                 // (optional)
	QuickReplyShortcutID   *int32                 // (optional)
	Effect                 *int64                 // (optional)
	Factcheck              *TL_factCheck          // (optional)
}

Constructs Message

type TL_messageActionBoostApply added in v0.181.0

type TL_messageActionBoostApply struct {
	Boosts int32
}

Constructs MessageAction

type TL_messageActionBotAllowed

type TL_messageActionBotAllowed struct {
	AttachMenu  bool
	FromRequest bool
	Domain      *string // (optional)
	App         TL      // (optional) BotApp: TL_botAppNotModified | TL_botApp
}

Constructs MessageAction

type TL_messageActionChannelCreate

type TL_messageActionChannelCreate struct {
	Title string
}

Constructs MessageAction

type TL_messageActionChannelMigrateFrom

type TL_messageActionChannelMigrateFrom struct {
	Title  string
	ChatID int64
}

Constructs MessageAction

type TL_messageActionChatAddUser

type TL_messageActionChatAddUser struct {
	Users []int64
}

Constructs MessageAction

type TL_messageActionChatCreate

type TL_messageActionChatCreate struct {
	Title string
	Users []int64
}

Constructs MessageAction

type TL_messageActionChatDeletePhoto

type TL_messageActionChatDeletePhoto struct {
}

Constructs MessageAction

type TL_messageActionChatDeleteUser

type TL_messageActionChatDeleteUser struct {
	UserID int64
}

Constructs MessageAction

type TL_messageActionChatEditPhoto

type TL_messageActionChatEditPhoto struct {
	Photo TL // Photo: TL_photoEmpty | TL_photo
}

Constructs MessageAction

type TL_messageActionChatEditTitle

type TL_messageActionChatEditTitle struct {
	Title string
}

Constructs MessageAction

type TL_messageActionChatJoinedByLink struct {
	InviterID int64
}

Constructs MessageAction

type TL_messageActionChatJoinedByRequest

type TL_messageActionChatJoinedByRequest struct {
}

Constructs MessageAction

type TL_messageActionChatMigrateTo

type TL_messageActionChatMigrateTo struct {
	ChannelID int64
}

Constructs MessageAction

type TL_messageActionContactSignUp

type TL_messageActionContactSignUp struct {
}

Constructs MessageAction

type TL_messageActionCustomAction

type TL_messageActionCustomAction struct {
	Message string
}

Constructs MessageAction

type TL_messageActionEmpty

type TL_messageActionEmpty struct {
}

Constructs MessageAction

type TL_messageActionGameScore

type TL_messageActionGameScore struct {
	GameID int64
	Score  int32
}

Constructs MessageAction

type TL_messageActionGeoProximityReached

type TL_messageActionGeoProximityReached struct {
	FromID   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ToID     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Distance int32
}

Constructs MessageAction

type TL_messageActionGiftCode added in v0.166.0

type TL_messageActionGiftCode struct {
	ViaGiveaway    bool
	Unclaimed      bool
	BoostPeer      TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Months         int32
	Slug           string
	Currency       *string              // (optional)
	Amount         *int64               // (optional)
	CryptoCurrency *string              // (optional)
	CryptoAmount   *int64               // (optional)
	Message        *TL_textWithEntities // (optional)
}

Constructs MessageAction

type TL_messageActionGiftPremium

type TL_messageActionGiftPremium struct {
	Currency       string
	Amount         int64
	Months         int32
	CryptoCurrency *string              // (optional)
	CryptoAmount   *int64               // (optional)
	Message        *TL_textWithEntities // (optional)
}

Constructs MessageAction

type TL_messageActionGiftStars added in v0.185.0

type TL_messageActionGiftStars struct {
	Currency       string
	Amount         int64
	Stars          int64
	CryptoCurrency *string // (optional)
	CryptoAmount   *int64  // (optional)
	TransactionID  *string // (optional)
}

Constructs MessageAction

type TL_messageActionGiveawayLaunch added in v0.166.0

type TL_messageActionGiveawayLaunch struct {
	Stars *int64 // (optional)
}

Constructs MessageAction

type TL_messageActionGiveawayResults added in v0.167.0

type TL_messageActionGiveawayResults struct {
	Stars          bool
	WinnersCount   int32
	UnclaimedCount int32
}

Constructs MessageAction

type TL_messageActionGroupCall

type TL_messageActionGroupCall struct {
	Call     TL_inputGroupCall
	Duration *int32 // (optional)
}

Constructs MessageAction

type TL_messageActionGroupCallScheduled

type TL_messageActionGroupCallScheduled struct {
	Call         TL_inputGroupCall
	ScheduleDate int32
}

Constructs MessageAction

type TL_messageActionHistoryClear

type TL_messageActionHistoryClear struct {
}

Constructs MessageAction

type TL_messageActionInviteToGroupCall

type TL_messageActionInviteToGroupCall struct {
	Call  TL_inputGroupCall
	Users []int64
}

Constructs MessageAction

type TL_messageActionPINMessage added in v0.166.2

type TL_messageActionPINMessage struct {
}

Constructs MessageAction

type TL_messageActionPaymentRefunded added in v0.185.0

type TL_messageActionPaymentRefunded struct {
	Peer        TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Currency    string
	TotalAmount int64
	Payload     []byte // (optional)
	Charge      TL_paymentCharge
}

Constructs MessageAction

type TL_messageActionPaymentSent

type TL_messageActionPaymentSent struct {
	RecurringInit bool
	RecurringUsed bool
	Currency      string
	TotalAmount   int64
	InvoiceSlug   *string // (optional)
}

Constructs MessageAction

type TL_messageActionPaymentSentMe

type TL_messageActionPaymentSentMe struct {
	RecurringInit    bool
	RecurringUsed    bool
	Currency         string
	TotalAmount      int64
	Payload          []byte
	Info             *TL_paymentRequestedInfo // (optional)
	ShippingOptionID *string                  // (optional)
	Charge           TL_paymentCharge
}

Constructs MessageAction

type TL_messageActionPhoneCall

type TL_messageActionPhoneCall struct {
	Video    bool
	CallID   int64
	Reason   TL     // (optional) PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy
	Duration *int32 // (optional)
}

Constructs MessageAction

type TL_messageActionPrizeStars added in v0.187.0

type TL_messageActionPrizeStars struct {
	Unclaimed     bool
	Stars         int64
	TransactionID string
	BoostPeer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	GiveawayMsgID int32
}

Constructs MessageAction

type TL_messageActionRequestedPeer

type TL_messageActionRequestedPeer struct {
	ButtonID int32
	Peers    []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs MessageAction

type TL_messageActionRequestedPeerSentMe added in v0.181.0

type TL_messageActionRequestedPeerSentMe struct {
	ButtonID int32
	Peers    []TL // RequestedPeer: TL_requestedPeerUser | TL_requestedPeerChat | TL_requestedPeerChannel
}

Constructs MessageAction

type TL_messageActionScreenshotTaken

type TL_messageActionScreenshotTaken struct {
}

Constructs MessageAction

type TL_messageActionSecureValuesSent

type TL_messageActionSecureValuesSent struct {
	Types []TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}

Constructs MessageAction

type TL_messageActionSecureValuesSentMe

type TL_messageActionSecureValuesSentMe struct {
	Values      []TL_secureValue
	Credentials TL_secureCredentialsEncrypted
}

Constructs MessageAction

type TL_messageActionSetChatTheme

type TL_messageActionSetChatTheme struct {
	Emoticon string
}

Constructs MessageAction

type TL_messageActionSetChatWallPaper

type TL_messageActionSetChatWallPaper struct {
	Same      bool
	ForBoth   bool
	Wallpaper TL // WallPaper: TL_wallPaper | TL_wallPaperNoFile
}

Constructs MessageAction

type TL_messageActionSetMessagesTTL

type TL_messageActionSetMessagesTTL struct {
	Period          int32
	AutoSettingFrom *int64 // (optional)
}

Constructs MessageAction

type TL_messageActionStarGift added in v0.192.0

type TL_messageActionStarGift struct {
	NameHidden   bool
	Saved        bool
	Converted    bool
	Gift         TL_starGift
	Message      *TL_textWithEntities // (optional)
	ConvertStars int64
}

Constructs MessageAction

type TL_messageActionSuggestProfilePhoto

type TL_messageActionSuggestProfilePhoto struct {
	Photo TL // Photo: TL_photoEmpty | TL_photo
}

Constructs MessageAction

type TL_messageActionTopicCreate

type TL_messageActionTopicCreate struct {
	Title       string
	IconColor   int32
	IconEmojiID *int64 // (optional)
}

Constructs MessageAction

type TL_messageActionTopicEdit

type TL_messageActionTopicEdit struct {
	Title       *string // (optional)
	IconEmojiID *int64  // (optional)
	Closed      *bool   // (optional)
	Hidden      *bool   // (optional)
}

Constructs MessageAction

type TL_messageActionWebViewDataSent

type TL_messageActionWebViewDataSent struct {
	Text string
}

Constructs MessageAction

type TL_messageActionWebViewDataSentMe

type TL_messageActionWebViewDataSentMe struct {
	Text string
	Data string
}

Constructs MessageAction

type TL_messageEmpty

type TL_messageEmpty struct {
	ID     int32
	PeerID TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs Message

type TL_messageEntityBankCard

type TL_messageEntityBankCard struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityBlockquote

type TL_messageEntityBlockquote struct {
	Collapsed bool
	Offset    int32
	Length    int32
}

Constructs MessageEntity

type TL_messageEntityBold

type TL_messageEntityBold struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityBotCommand

type TL_messageEntityBotCommand struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityCashtag

type TL_messageEntityCashtag struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityCode

type TL_messageEntityCode struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityCustomEmoji

type TL_messageEntityCustomEmoji struct {
	Offset     int32
	Length     int32
	DocumentID int64
}

Constructs MessageEntity

type TL_messageEntityEmail

type TL_messageEntityEmail struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityHashtag

type TL_messageEntityHashtag struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityItalic

type TL_messageEntityItalic struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityMention

type TL_messageEntityMention struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityMentionName

type TL_messageEntityMentionName struct {
	Offset int32
	Length int32
	UserID int64
}

Constructs MessageEntity

type TL_messageEntityPhone

type TL_messageEntityPhone struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityPre

type TL_messageEntityPre struct {
	Offset   int32
	Length   int32
	Language string
}

Constructs MessageEntity

type TL_messageEntitySpoiler

type TL_messageEntitySpoiler struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityStrike

type TL_messageEntityStrike struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityTextURL added in v0.166.2

type TL_messageEntityTextURL struct {
	Offset int32
	Length int32
	URL    string
}

Constructs MessageEntity

type TL_messageEntityURL added in v0.166.2

type TL_messageEntityURL struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityUnderline

type TL_messageEntityUnderline struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageEntityUnknown

type TL_messageEntityUnknown struct {
	Offset int32
	Length int32
}

Constructs MessageEntity

type TL_messageExtendedMedia

type TL_messageExtendedMedia struct {
	Media TL // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
}

Constructs MessageExtendedMedia

type TL_messageExtendedMediaPreview

type TL_messageExtendedMediaPreview struct {
	W             *int32 // (optional)
	H             *int32 // (optional)
	Thumb         TL     // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
	VideoDuration *int32 // (optional)
}

Constructs MessageExtendedMedia

type TL_messageFwdHeader

type TL_messageFwdHeader struct {
	Imported       bool
	SavedOut       bool
	FromID         TL      // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FromName       *string // (optional)
	Date           int32
	ChannelPost    *int32  // (optional)
	PostAuthor     *string // (optional)
	SavedFromPeer  TL      // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	SavedFromMsgID *int32  // (optional)
	SavedFromID    TL      // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	SavedFromName  *string // (optional)
	SavedDate      *int32  // (optional)
	PSAType        *string // (optional)
}

Constructs MessageFwdHeader

type TL_messageMediaContact

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

Constructs MessageMedia

type TL_messageMediaDice

type TL_messageMediaDice struct {
	Value    int32
	Emoticon string
}

Constructs MessageMedia

type TL_messageMediaDocument

type TL_messageMediaDocument struct {
	Nopremium    bool
	Spoiler      bool
	Video        bool
	Round        bool
	Voice        bool
	Document     TL     // (optional) Document: TL_documentEmpty | TL_document
	AltDocuments []TL   // (optional) Document: TL_documentEmpty | TL_document
	TTLSeconds   *int32 // (optional)
}

Constructs MessageMedia

type TL_messageMediaEmpty

type TL_messageMediaEmpty struct {
}

Constructs MessageMedia

type TL_messageMediaGame

type TL_messageMediaGame struct {
	Game TL_game
}

Constructs MessageMedia

type TL_messageMediaGeo

type TL_messageMediaGeo struct {
	Geo TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
}

Constructs MessageMedia

type TL_messageMediaGeoLive

type TL_messageMediaGeoLive struct {
	Geo                         TL     // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Heading                     *int32 // (optional)
	Period                      int32
	ProximityNotificationRadius *int32 // (optional)
}

Constructs MessageMedia

type TL_messageMediaGiveaway added in v0.166.0

type TL_messageMediaGiveaway struct {
	OnlyNewSubscribers bool
	WinnersAreVisible  bool
	Channels           []int64
	CountriesISO2      []string // (optional)
	PrizeDescription   *string  // (optional)
	Quantity           int32
	Months             *int32 // (optional)
	Stars              *int64 // (optional)
	UntilDate          int32
}

Constructs MessageMedia

type TL_messageMediaGiveawayResults added in v0.181.0

type TL_messageMediaGiveawayResults struct {
	OnlyNewSubscribers   bool
	Refunded             bool
	ChannelID            int64
	AdditionalPeersCount *int32 // (optional)
	LaunchMsgID          int32
	WinnersCount         int32
	UnclaimedCount       int32
	Winners              []int64
	Months               *int32  // (optional)
	Stars                *int64  // (optional)
	PrizeDescription     *string // (optional)
	UntilDate            int32
}

Constructs MessageMedia

type TL_messageMediaInvoice

type TL_messageMediaInvoice struct {
	ShippingAddressRequested bool
	Test                     bool
	Title                    string
	Description              string
	Photo                    TL     // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	ReceiptMsgID             *int32 // (optional)
	Currency                 string
	TotalAmount              int64
	StartParam               string
	ExtendedMedia            TL // (optional) MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}

Constructs MessageMedia

type TL_messageMediaPaidMedia added in v0.183.0

type TL_messageMediaPaidMedia struct {
	StarsAmount   int64
	ExtendedMedia []TL // MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}

Constructs MessageMedia

type TL_messageMediaPhoto

type TL_messageMediaPhoto struct {
	Spoiler    bool
	Photo      TL     // (optional) Photo: TL_photoEmpty | TL_photo
	TTLSeconds *int32 // (optional)
}

Constructs MessageMedia

type TL_messageMediaPoll

type TL_messageMediaPoll struct {
	Poll    TL_poll
	Results TL_pollResults
}

Constructs MessageMedia

type TL_messageMediaStory added in v0.166.0

type TL_messageMediaStory struct {
	ViaMention bool
	Peer       TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ID         int32
	Story      TL // (optional) StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs MessageMedia

type TL_messageMediaUnsupported

type TL_messageMediaUnsupported struct {
}

Constructs MessageMedia

type TL_messageMediaVenue

type TL_messageMediaVenue struct {
	Geo       TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Title     string
	Address   string
	Provider  string
	VenueID   string
	VenueType string
}

Constructs MessageMedia

type TL_messageMediaWebPage

type TL_messageMediaWebPage struct {
	ForceLargeMedia bool
	ForceSmallMedia bool
	Manual          bool
	Safe            bool
	Webpage         TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
}

Constructs MessageMedia

type TL_messagePeerReaction

type TL_messagePeerReaction struct {
	Big      bool
	Unread   bool
	My       bool
	PeerID   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date     int32
	Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs MessagePeerReaction

type TL_messagePeerVote added in v0.166.0

type TL_messagePeerVote struct {
	Peer   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Option []byte
	Date   int32
}

Constructs MessagePeerVote

type TL_messagePeerVoteInputOption added in v0.166.0

type TL_messagePeerVoteInputOption struct {
	Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date int32
}

Constructs MessagePeerVote

type TL_messagePeerVoteMultiple added in v0.166.0

type TL_messagePeerVoteMultiple struct {
	Peer    TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Options [][]byte
	Date    int32
}

Constructs MessagePeerVote

type TL_messageRange

type TL_messageRange struct {
	MinID int32
	MaxID int32
}

Constructs MessageRange

type TL_messageReactions

type TL_messageReactions struct {
	Min             bool
	CanSeeList      bool
	ReactionsAsTags bool
	Results         []TL_reactionCount
	RecentReactions []TL_messagePeerReaction // (optional)
	TopReactors     []TL_messageReactor      // (optional)
}

Constructs MessageReactions

type TL_messageReactor added in v0.186.0

type TL_messageReactor struct {
	Top       bool
	My        bool
	Anonymous bool
	PeerID    TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Count     int32
}

Constructs MessageReactor

type TL_messageReplies

type TL_messageReplies struct {
	Comments       bool
	Replies        int32
	RepliesPTS     int32
	RecentRepliers []TL   // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ChannelID      *int64 // (optional)
	MaxID          *int32 // (optional)
	ReadMaxID      *int32 // (optional)
}

Constructs MessageReplies

type TL_messageReplyHeader

type TL_messageReplyHeader struct {
	ReplyToScheduled bool
	ForumTopic       bool
	Quote            bool
	ReplyToMsgID     *int32               // (optional)
	ReplyToPeerID    TL                   // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ReplyFrom        *TL_messageFwdHeader // (optional)
	ReplyMedia       TL                   // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	ReplyToTopID     *int32               // (optional)
	QuoteText        *string              // (optional)
	QuoteEntities    []TL                 // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	QuoteOffset      *int32               // (optional)
}

Constructs MessageReplyHeader

type TL_messageReplyStoryHeader added in v0.166.0

type TL_messageReplyStoryHeader struct {
	Peer    TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	StoryID int32
}

Constructs MessageReplyHeader

type TL_messageReportOption added in v0.192.0

type TL_messageReportOption struct {
	Text   string
	Option []byte
}

Constructs MessageReportOption

type TL_messageService

type TL_messageService struct {
	Out         bool
	Mentioned   bool
	MediaUnread bool
	Silent      bool
	Post        bool
	Legacy      bool
	ID          int32
	FromID      TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	PeerID      TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ReplyTo     TL // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
	Date        int32
	Action      TL     // MessageAction: TL_messageActionEmpty | TL_messageActionChatCreate | TL_messageActionChatEditTitle | TL_messageActionChatEditPhoto | TL_messageActionChatDeletePhoto | TL_messageActionChatAddUser | TL_messageActionChatDeleteUser | TL_messageActionChatJoinedByLink | TL_messageActionChannelCreate | TL_messageActionChatMigrateTo | TL_messageActionChannelMigrateFrom | TL_messageActionPINMessage | TL_messageActionHistoryClear | TL_messageActionGameScore | TL_messageActionPaymentSentMe | TL_messageActionPaymentSent | TL_messageActionPhoneCall | TL_messageActionScreenshotTaken | TL_messageActionCustomAction | TL_messageActionBotAllowed | TL_messageActionSecureValuesSentMe | TL_messageActionSecureValuesSent | TL_messageActionContactSignUp | TL_messageActionGeoProximityReached | TL_messageActionGroupCall | TL_messageActionInviteToGroupCall | TL_messageActionSetMessagesTTL | TL_messageActionGroupCallScheduled | TL_messageActionSetChatTheme | TL_messageActionChatJoinedByRequest | TL_messageActionWebViewDataSentMe | TL_messageActionWebViewDataSent | TL_messageActionGiftPremium | TL_messageActionTopicCreate | TL_messageActionTopicEdit | TL_messageActionSuggestProfilePhoto | TL_messageActionRequestedPeer | TL_messageActionSetChatWallPaper | TL_messageActionGiftCode | TL_messageActionGiveawayLaunch | TL_messageActionGiveawayResults | TL_messageActionBoostApply | TL_messageActionRequestedPeerSentMe | TL_messageActionPaymentRefunded | TL_messageActionGiftStars | TL_messageActionPrizeStars | TL_messageActionStarGift
	TTLPeriod   *int32 // (optional)
}

Constructs Message

type TL_messageViews

type TL_messageViews struct {
	Views    *int32             // (optional)
	Forwards *int32             // (optional)
	Replies  *TL_messageReplies // (optional)
}

Constructs MessageViews

type TL_messages_acceptEncryption

type TL_messages_acceptEncryption struct {
	Peer           TL_inputEncryptedChat
	GB             []byte
	KeyFingerprint int64
}

Returns EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded

type TL_messages_acceptURLAuth added in v0.166.2

type TL_messages_acceptURLAuth struct {
	WriteAllowed bool
	Peer         TL      // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID        *int32  // (optional)
	ButtonID     *int32  // (optional)
	URL          *string // (optional)
}

Returns UrlAuthResult: TL_urlAuthResultRequest | TL_urlAuthResultAccepted | TL_urlAuthResultDefault

type TL_messages_addChatUser

type TL_messages_addChatUser struct {
	ChatID   int64
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	FwdLimit int32
}

Returns messages.InvitedUsers: TL_messages_invitedUsers

type TL_messages_affectedFoundMessages

type TL_messages_affectedFoundMessages struct {
	PTS      int32
	PTSCount int32
	Offset   int32
	Messages []int32
}

Constructs messages.AffectedFoundMessages

type TL_messages_affectedHistory

type TL_messages_affectedHistory struct {
	PTS      int32
	PTSCount int32
	Offset   int32
}

Constructs messages.AffectedHistory

type TL_messages_affectedMessages

type TL_messages_affectedMessages struct {
	PTS      int32
	PTSCount int32
}

Constructs messages.AffectedMessages

type TL_messages_allStickers

type TL_messages_allStickers struct {
	Hash int64
	Sets []TL_stickerSet
}

Constructs messages.AllStickers

type TL_messages_allStickersNotModified

type TL_messages_allStickersNotModified struct {
}

Constructs messages.AllStickers

type TL_messages_archivedStickers

type TL_messages_archivedStickers struct {
	Count int32
	Sets  []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}

Constructs messages.ArchivedStickers

type TL_messages_availableEffects added in v0.181.0

type TL_messages_availableEffects struct {
	Hash      int32
	Effects   []TL_availableEffect
	Documents []TL // Document: TL_documentEmpty | TL_document
}

Constructs messages.AvailableEffects

type TL_messages_availableEffectsNotModified added in v0.181.0

type TL_messages_availableEffectsNotModified struct {
}

Constructs messages.AvailableEffects

type TL_messages_availableReactions

type TL_messages_availableReactions struct {
	Hash      int32
	Reactions []TL_availableReaction
}

Constructs messages.AvailableReactions

type TL_messages_availableReactionsNotModified

type TL_messages_availableReactionsNotModified struct {
}

Constructs messages.AvailableReactions

type TL_messages_botApp

type TL_messages_botApp struct {
	Inactive           bool
	RequestWriteAccess bool
	HasSettings        bool
	App                TL // BotApp: TL_botAppNotModified | TL_botApp
}

Constructs messages.BotApp

type TL_messages_botCallbackAnswer

type TL_messages_botCallbackAnswer struct {
	Alert     bool
	HasURL    bool
	NativeUI  bool
	Message   *string // (optional)
	URL       *string // (optional)
	CacheTime int32
}

Constructs messages.BotCallbackAnswer

type TL_messages_botResults

type TL_messages_botResults struct {
	Gallery       bool
	QueryID       int64
	NextOffset    *string               // (optional)
	SwitchPM      *TL_inlineBotSwitchPM // (optional)
	SwitchWebview *TL_inlineBotWebView  // (optional)
	Results       []TL                  // BotInlineResult: TL_botInlineResult | TL_botInlineMediaResult
	CacheTime     int32
	Users         []TL // User: TL_userEmpty | TL_user
}

Constructs messages.BotResults

type TL_messages_channelMessages

type TL_messages_channelMessages struct {
	Inexact        bool
	PTS            int32
	Count          int32
	OffsetIDOffset *int32 // (optional)
	Messages       []TL   // Message: TL_messageEmpty | TL_message | TL_messageService
	Topics         []TL   // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
	Chats          []TL   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users          []TL   // User: TL_userEmpty | TL_user
}

Constructs messages.Messages

type TL_messages_chatAdminsWithInvites

type TL_messages_chatAdminsWithInvites struct {
	Admins []TL_chatAdminWithInvites
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ChatAdminsWithInvites

type TL_messages_chatFull

type TL_messages_chatFull struct {
	FullChat TL   // ChatFull: TL_chatFull | TL_channelFull
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ChatFull

type TL_messages_chatInviteImporters

type TL_messages_chatInviteImporters struct {
	Count     int32
	Importers []TL_chatInviteImporter
	Users     []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ChatInviteImporters

type TL_messages_chats

type TL_messages_chats struct {
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}

Constructs messages.Chats

type TL_messages_chatsSlice

type TL_messages_chatsSlice struct {
	Count int32
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}

Constructs messages.Chats

type TL_messages_checkChatInvite

type TL_messages_checkChatInvite struct {
	Hash string
}

Returns ChatInvite: TL_chatInviteAlready | TL_chatInvite | TL_chatInvitePeek

type TL_messages_checkHistoryImport

type TL_messages_checkHistoryImport struct {
	ImportHead string
}

Returns messages.HistoryImportParsed: TL_messages_historyImportParsed

type TL_messages_checkHistoryImportPeer

type TL_messages_checkHistoryImportPeer struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns messages.CheckedHistoryImportPeer: TL_messages_checkedHistoryImportPeer

type TL_messages_checkQuickReplyShortcut added in v0.181.0

type TL_messages_checkQuickReplyShortcut struct {
	Shortcut string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_checkedHistoryImportPeer

type TL_messages_checkedHistoryImportPeer struct {
	ConfirmText string
}

Constructs messages.CheckedHistoryImportPeer

type TL_messages_clearAllDrafts

type TL_messages_clearAllDrafts struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_clearRecentReactions

type TL_messages_clearRecentReactions struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_clearRecentStickers

type TL_messages_clearRecentStickers struct {
	Attached bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_clickSponsoredMessage added in v0.192.0

type TL_messages_clickSponsoredMessage struct {
	Media      bool
	Fullscreen bool
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	RandomID   []byte
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_createChat

type TL_messages_createChat struct {
	Users     []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Title     string
	TTLPeriod *int32 // (optional)
}

Returns messages.InvitedUsers: TL_messages_invitedUsers

type TL_messages_deleteChat

type TL_messages_deleteChat struct {
	ChatID int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_deleteChatUser

type TL_messages_deleteChatUser struct {
	RevokeHistory bool
	ChatID        int64
	UserID        TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_deleteExportedChatInvite

type TL_messages_deleteExportedChatInvite struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Link string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_deleteFactCheck added in v0.181.0

type TL_messages_deleteFactCheck struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_deleteHistory

type TL_messages_deleteHistory struct {
	JustClear bool
	Revoke    bool
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MaxID     int32
	MinDate   *int32 // (optional)
	MaxDate   *int32 // (optional)
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_messages_deleteMessages

type TL_messages_deleteMessages struct {
	Revoke bool
	ID     []int32
}

Returns messages.AffectedMessages: TL_messages_affectedMessages

type TL_messages_deletePhoneCallHistory

type TL_messages_deletePhoneCallHistory struct {
	Revoke bool
}

Returns messages.AffectedFoundMessages: TL_messages_affectedFoundMessages

type TL_messages_deleteQuickReplyMessages added in v0.181.0

type TL_messages_deleteQuickReplyMessages struct {
	ShortcutID int32
	ID         []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_deleteQuickReplyShortcut added in v0.181.0

type TL_messages_deleteQuickReplyShortcut struct {
	ShortcutID int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_deleteRevokedExportedChatInvites

type TL_messages_deleteRevokedExportedChatInvites struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	AdminID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_deleteSavedHistory added in v0.181.0

type TL_messages_deleteSavedHistory struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MaxID   int32
	MinDate *int32 // (optional)
	MaxDate *int32 // (optional)
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_messages_deleteScheduledMessages

type TL_messages_deleteScheduledMessages struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_dhConfig

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

Constructs messages.DhConfig

type TL_messages_dhConfigNotModified

type TL_messages_dhConfigNotModified struct {
	Random []byte
}

Constructs messages.DhConfig

type TL_messages_dialogFilters added in v0.181.0

type TL_messages_dialogFilters struct {
	TagsEnabled bool
	Filters     []TL // DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}

Constructs messages.DialogFilters

type TL_messages_dialogs

type TL_messages_dialogs struct {
	Dialogs  []TL // Dialog: TL_dialog | TL_dialogFolder
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.Dialogs

type TL_messages_dialogsNotModified

type TL_messages_dialogsNotModified struct {
	Count int32
}

Constructs messages.Dialogs

type TL_messages_dialogsSlice

type TL_messages_dialogsSlice struct {
	Count    int32
	Dialogs  []TL // Dialog: TL_dialog | TL_dialogFolder
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.Dialogs

type TL_messages_discardEncryption

type TL_messages_discardEncryption struct {
	DeleteHistory bool
	ChatID        int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_discussionMessage

type TL_messages_discussionMessage struct {
	Messages        []TL   // Message: TL_messageEmpty | TL_message | TL_messageService
	MaxID           *int32 // (optional)
	ReadInboxMaxID  *int32 // (optional)
	ReadOutboxMaxID *int32 // (optional)
	UnreadCount     int32
	Chats           []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users           []TL // User: TL_userEmpty | TL_user
}

Constructs messages.DiscussionMessage

type TL_messages_editChatAbout

type TL_messages_editChatAbout struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	About string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_editChatAdmin

type TL_messages_editChatAdmin struct {
	ChatID  int64
	UserID  TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	IsAdmin bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_editChatDefaultBannedRights

type TL_messages_editChatDefaultBannedRights struct {
	Peer         TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	BannedRights TL_chatBannedRights
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_editChatPhoto

type TL_messages_editChatPhoto struct {
	ChatID int64
	Photo  TL // InputChatPhoto: TL_inputChatPhotoEmpty | TL_inputChatUploadedPhoto | TL_inputChatPhoto
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_editChatTitle

type TL_messages_editChatTitle struct {
	ChatID int64
	Title  string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_editExportedChatInvite

type TL_messages_editExportedChatInvite struct {
	Revoked       bool
	Peer          TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Link          string
	ExpireDate    *int32  // (optional)
	UsageLimit    *int32  // (optional)
	RequestNeeded *bool   // (optional)
	Title         *string // (optional)
}

Returns messages.ExportedChatInvite: TL_messages_exportedChatInvite | TL_messages_exportedChatInviteReplaced

type TL_messages_editFactCheck added in v0.181.0

type TL_messages_editFactCheck struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
	Text  TL_textWithEntities
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_editInlineBotMessage

type TL_messages_editInlineBotMessage struct {
	NoWebpage   bool
	InvertMedia bool
	ID          TL      // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
	Message     *string // (optional)
	Media       TL      // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	ReplyMarkup TL      // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
	Entities    []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_editMessage

type TL_messages_editMessage struct {
	NoWebpage            bool
	InvertMedia          bool
	Peer                 TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID                   int32
	Message              *string // (optional)
	Media                TL      // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	ReplyMarkup          TL      // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
	Entities             []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ScheduleDate         *int32  // (optional)
	QuickReplyShortcutID *int32  // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_editQuickReplyShortcut added in v0.181.0

type TL_messages_editQuickReplyShortcut struct {
	ShortcutID int32
	Shortcut   string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_emojiGroups

type TL_messages_emojiGroups struct {
	Hash   int32
	Groups []TL // EmojiGroup: TL_emojiGroup | TL_emojiGroupGreeting | TL_emojiGroupPremium
}

Constructs messages.EmojiGroups

type TL_messages_emojiGroupsNotModified

type TL_messages_emojiGroupsNotModified struct {
}

Constructs messages.EmojiGroups

type TL_messages_exportChatInvite

type TL_messages_exportChatInvite struct {
	LegacyRevokePermanent bool
	RequestNeeded         bool
	Peer                  TL                           // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ExpireDate            *int32                       // (optional)
	UsageLimit            *int32                       // (optional)
	Title                 *string                      // (optional)
	SubscriptionPricing   *TL_starsSubscriptionPricing // (optional)
}

Returns ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests

type TL_messages_exportedChatInvite

type TL_messages_exportedChatInvite struct {
	Invite TL   // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ExportedChatInvite

type TL_messages_exportedChatInviteReplaced

type TL_messages_exportedChatInviteReplaced struct {
	Invite    TL   // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	NewInvite TL   // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	Users     []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ExportedChatInvite

type TL_messages_exportedChatInvites

type TL_messages_exportedChatInvites struct {
	Count   int32
	Invites []TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs messages.ExportedChatInvites

type TL_messages_faveSticker

type TL_messages_faveSticker struct {
	ID     TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Unfave bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_favedStickers

type TL_messages_favedStickers struct {
	Hash     int64
	Packs    []TL_stickerPack
	Stickers []TL // Document: TL_documentEmpty | TL_document
}

Constructs messages.FavedStickers

type TL_messages_favedStickersNotModified

type TL_messages_favedStickersNotModified struct {
}

Constructs messages.FavedStickers

type TL_messages_featuredStickers

type TL_messages_featuredStickers struct {
	Premium bool
	Hash    int64
	Count   int32
	Sets    []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
	Unread  []int64
}

Constructs messages.FeaturedStickers

type TL_messages_featuredStickersNotModified

type TL_messages_featuredStickersNotModified struct {
	Count int32
}

Constructs messages.FeaturedStickers

type TL_messages_forumTopics

type TL_messages_forumTopics struct {
	OrderByCreateDate bool
	Count             int32
	Topics            []TL // ForumTopic: TL_forumTopicDeleted | TL_forumTopic
	Messages          []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats             []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users             []TL // User: TL_userEmpty | TL_user
	PTS               int32
}

Constructs messages.ForumTopics

type TL_messages_forwardMessages

type TL_messages_forwardMessages struct {
	Silent             bool
	Background         bool
	WithMyScore        bool
	DropAuthor         bool
	DropMediaCaptions  bool
	Noforwards         bool
	AllowPaidFloodskip bool
	FromPeer           TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID                 []int32
	RandomID           []int64
	ToPeer             TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID           *int32 // (optional)
	ScheduleDate       *int32 // (optional)
	SendAs             TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuickReplyShortcut TL     // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_foundStickerSets

type TL_messages_foundStickerSets struct {
	Hash int64
	Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}

Constructs messages.FoundStickerSets

type TL_messages_foundStickerSetsNotModified

type TL_messages_foundStickerSetsNotModified struct {
}

Constructs messages.FoundStickerSets

type TL_messages_getAdminsWithInvites

type TL_messages_getAdminsWithInvites struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns messages.ChatAdminsWithInvites: TL_messages_chatAdminsWithInvites

type TL_messages_getAllDrafts

type TL_messages_getAllDrafts struct {
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_getAllStickers

type TL_messages_getAllStickers struct {
	Hash int64
}

Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers

type TL_messages_getArchivedStickers

type TL_messages_getArchivedStickers struct {
	Masks    bool
	Emojis   bool
	OffsetID int64
	Limit    int32
}

Returns messages.ArchivedStickers: TL_messages_archivedStickers

type TL_messages_getAttachMenuBot

type TL_messages_getAttachMenuBot struct {
	Bot TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns AttachMenuBotsBot: TL_attachMenuBotsBot

type TL_messages_getAttachMenuBots

type TL_messages_getAttachMenuBots struct {
	Hash int64
}

Returns AttachMenuBots: TL_attachMenuBotsNotModified | TL_attachMenuBots

type TL_messages_getAttachedStickers

type TL_messages_getAttachedStickers struct {
	Media TL // InputStickeredMedia: TL_inputStickeredMediaPhoto | TL_inputStickeredMediaDocument
}

Returns Vector<StickerSetCovered>: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered

type TL_messages_getAvailableEffects added in v0.181.0

type TL_messages_getAvailableEffects struct {
	Hash int32
}

Returns messages.AvailableEffects: TL_messages_availableEffectsNotModified | TL_messages_availableEffects

type TL_messages_getAvailableReactions

type TL_messages_getAvailableReactions struct {
	Hash int32
}

Returns messages.AvailableReactions: TL_messages_availableReactionsNotModified | TL_messages_availableReactions

type TL_messages_getBotApp

type TL_messages_getBotApp struct {
	App  TL // InputBotApp: TL_inputBotAppID | TL_inputBotAppShortName
	Hash int64
}

Returns messages.BotApp: TL_messages_botApp

type TL_messages_getBotCallbackAnswer

type TL_messages_getBotCallbackAnswer struct {
	Game     bool
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID    int32
	Data     []byte // (optional)
	Password TL     // (optional) InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns messages.BotCallbackAnswer: TL_messages_botCallbackAnswer

type TL_messages_getChatInviteImporters

type TL_messages_getChatInviteImporters struct {
	Requested           bool
	SubscriptionExpired bool
	Peer                TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Link                *string // (optional)
	Q                   *string // (optional)
	OffsetDate          int32
	OffsetUser          TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Limit               int32
}

Returns messages.ChatInviteImporters: TL_messages_chatInviteImporters

type TL_messages_getChats

type TL_messages_getChats struct {
	ID []int64
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_messages_getCommonChats

type TL_messages_getCommonChats struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	MaxID  int64
	Limit  int32
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_messages_getCustomEmojiDocuments

type TL_messages_getCustomEmojiDocuments struct {
	DocumentID []int64
}

Returns Vector<Document>: TL_documentEmpty | TL_document

type TL_messages_getDHConfig added in v0.166.2

type TL_messages_getDHConfig struct {
	Version      int32
	RandomLength int32
}

Returns messages.DhConfig: TL_messages_dhConfigNotModified | TL_messages_dhConfig

type TL_messages_getDefaultHistoryTTL

type TL_messages_getDefaultHistoryTTL struct {
}

Returns DefaultHistoryTTL: TL_defaultHistoryTTL

type TL_messages_getDefaultTagReactions added in v0.181.0

type TL_messages_getDefaultTagReactions struct {
	Hash int64
}

Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions

type TL_messages_getDialogFilters

type TL_messages_getDialogFilters struct {
}

Returns messages.DialogFilters: TL_messages_dialogFilters

type TL_messages_getDialogUnreadMarks

type TL_messages_getDialogUnreadMarks struct {
}

Returns Vector<DialogPeer>: TL_dialogPeer | TL_dialogPeerFolder

type TL_messages_getDialogs

type TL_messages_getDialogs struct {
	ExcludePinned bool
	FolderID      *int32 // (optional)
	OffsetDate    int32
	OffsetID      int32
	OffsetPeer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Limit         int32
	Hash          int64
}

Returns messages.Dialogs: TL_messages_dialogs | TL_messages_dialogsSlice | TL_messages_dialogsNotModified

type TL_messages_getDiscussionMessage

type TL_messages_getDiscussionMessage struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns messages.DiscussionMessage: TL_messages_discussionMessage

type TL_messages_getDocumentByHash

type TL_messages_getDocumentByHash struct {
	Sha256   []byte
	Size     int64
	MIMEType string
}

Returns Document: TL_documentEmpty | TL_document

type TL_messages_getEmojiGroups

type TL_messages_getEmojiGroups struct {
	Hash int32
}

Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups

type TL_messages_getEmojiKeywords

type TL_messages_getEmojiKeywords struct {
	LangCode string
}

Returns EmojiKeywordsDifference: TL_emojiKeywordsDifference

type TL_messages_getEmojiKeywordsDifference

type TL_messages_getEmojiKeywordsDifference struct {
	LangCode    string
	FromVersion int32
}

Returns EmojiKeywordsDifference: TL_emojiKeywordsDifference

type TL_messages_getEmojiKeywordsLanguages

type TL_messages_getEmojiKeywordsLanguages struct {
	LangCodes []string
}

Returns Vector<EmojiLanguage>: TL_emojiLanguage

type TL_messages_getEmojiProfilePhotoGroups

type TL_messages_getEmojiProfilePhotoGroups struct {
	Hash int32
}

Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups

type TL_messages_getEmojiStatusGroups

type TL_messages_getEmojiStatusGroups struct {
	Hash int32
}

Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups

type TL_messages_getEmojiStickerGroups added in v0.181.0

type TL_messages_getEmojiStickerGroups struct {
	Hash int32
}

Returns messages.EmojiGroups: TL_messages_emojiGroupsNotModified | TL_messages_emojiGroups

type TL_messages_getEmojiStickers

type TL_messages_getEmojiStickers struct {
	Hash int64
}

Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers

type TL_messages_getEmojiURL

type TL_messages_getEmojiURL struct {
	LangCode string
}

Returns EmojiURL: TL_emojiURL

type TL_messages_getExportedChatInvite

type TL_messages_getExportedChatInvite struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Link string
}

Returns messages.ExportedChatInvite: TL_messages_exportedChatInvite | TL_messages_exportedChatInviteReplaced

type TL_messages_getExportedChatInvites

type TL_messages_getExportedChatInvites struct {
	Revoked    bool
	Peer       TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	AdminID    TL      // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	OffsetDate *int32  // (optional)
	OffsetLink *string // (optional)
	Limit      int32
}

Returns messages.ExportedChatInvites: TL_messages_exportedChatInvites

type TL_messages_getExtendedMedia

type TL_messages_getExtendedMedia struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_getFactCheck added in v0.181.0

type TL_messages_getFactCheck struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID []int32
}

Returns Vector<FactCheck>: TL_factCheck

type TL_messages_getFavedStickers

type TL_messages_getFavedStickers struct {
	Hash int64
}

Returns messages.FavedStickers: TL_messages_favedStickersNotModified | TL_messages_favedStickers

type TL_messages_getFeaturedEmojiStickers

type TL_messages_getFeaturedEmojiStickers struct {
	Hash int64
}

Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers

type TL_messages_getFeaturedStickers

type TL_messages_getFeaturedStickers struct {
	Hash int64
}

Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers

type TL_messages_getFullChat

type TL_messages_getFullChat struct {
	ChatID int64
}

Returns messages.ChatFull: TL_messages_chatFull

type TL_messages_getGameHighScores

type TL_messages_getGameHighScores struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID     int32
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns messages.HighScores: TL_messages_highScores

type TL_messages_getHistory

type TL_messages_getHistory struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID   int32
	OffsetDate int32
	AddOffset  int32
	Limit      int32
	MaxID      int32
	MinID      int32
	Hash       int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getInlineBotResults

type TL_messages_getInlineBotResults struct {
	Bot      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	GeoPoint TL // (optional) InputGeoPoint: TL_inputGeoPointEmpty | TL_inputGeoPoint
	Query    string
	Offset   string
}

Returns messages.BotResults: TL_messages_botResults

type TL_messages_getInlineGameHighScores

type TL_messages_getInlineGameHighScores struct {
	ID     TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns messages.HighScores: TL_messages_highScores

type TL_messages_getMaskStickers

type TL_messages_getMaskStickers struct {
	Hash int64
}

Returns messages.AllStickers: TL_messages_allStickersNotModified | TL_messages_allStickers

type TL_messages_getMessageEditData

type TL_messages_getMessageEditData struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   int32
}

Returns messages.MessageEditData: TL_messages_messageEditData

type TL_messages_getMessageReactionsList

type TL_messages_getMessageReactionsList struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID       int32
	Reaction TL      // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	Offset   *string // (optional)
	Limit    int32
}

Returns messages.MessageReactionsList: TL_messages_messageReactionsList

type TL_messages_getMessageReadParticipants

type TL_messages_getMessageReadParticipants struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns Vector<ReadParticipantDate>: TL_readParticipantDate

type TL_messages_getMessages

type TL_messages_getMessages struct {
	ID []TL // InputMessage: TL_inputMessageID | TL_inputMessageReplyTo | TL_inputMessagePinned | TL_inputMessageCallbackQuery
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getMessagesReactions

type TL_messages_getMessagesReactions struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_getMessagesViews

type TL_messages_getMessagesViews struct {
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID        []int32
	Increment bool
}

Returns messages.MessageViews: TL_messages_messageViews

type TL_messages_getMyStickers added in v0.181.0

type TL_messages_getMyStickers struct {
	OffsetID int64
	Limit    int32
}

Returns messages.MyStickers: TL_messages_myStickers

type TL_messages_getOldFeaturedStickers

type TL_messages_getOldFeaturedStickers struct {
	Offset int32
	Limit  int32
	Hash   int64
}

Returns messages.FeaturedStickers: TL_messages_featuredStickersNotModified | TL_messages_featuredStickers

type TL_messages_getOnlines

type TL_messages_getOnlines struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns ChatOnlines: TL_chatOnlines

type TL_messages_getOutboxReadDate added in v0.181.0

type TL_messages_getOutboxReadDate struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns OutboxReadDate: TL_outboxReadDate

type TL_messages_getPaidReactionPrivacy added in v0.187.0

type TL_messages_getPaidReactionPrivacy struct {
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_getPeerDialogs

type TL_messages_getPeerDialogs struct {
	Peers []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns messages.PeerDialogs: TL_messages_peerDialogs

type TL_messages_getPeerSettings

type TL_messages_getPeerSettings struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns messages.PeerSettings: TL_messages_peerSettings

type TL_messages_getPinnedDialogs

type TL_messages_getPinnedDialogs struct {
	FolderID int32
}

Returns messages.PeerDialogs: TL_messages_peerDialogs

type TL_messages_getPinnedSavedDialogs added in v0.181.0

type TL_messages_getPinnedSavedDialogs struct {
}

Returns messages.SavedDialogs: TL_messages_savedDialogs | TL_messages_savedDialogsSlice | TL_messages_savedDialogsNotModified

type TL_messages_getPollResults

type TL_messages_getPollResults struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_getPollVotes

type TL_messages_getPollVotes struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID     int32
	Option []byte  // (optional)
	Offset *string // (optional)
	Limit  int32
}

Returns messages.VotesList: TL_messages_votesList

type TL_messages_getQuickReplies added in v0.181.0

type TL_messages_getQuickReplies struct {
	Hash int64
}

Returns messages.QuickReplies: TL_messages_quickReplies | TL_messages_quickRepliesNotModified

type TL_messages_getQuickReplyMessages added in v0.181.0

type TL_messages_getQuickReplyMessages struct {
	ShortcutID int32
	ID         []int32 // (optional)
	Hash       int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getRecentLocations

type TL_messages_getRecentLocations struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Limit int32
	Hash  int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getRecentReactions

type TL_messages_getRecentReactions struct {
	Limit int32
	Hash  int64
}

Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions

type TL_messages_getRecentStickers

type TL_messages_getRecentStickers struct {
	Attached bool
	Hash     int64
}

Returns messages.RecentStickers: TL_messages_recentStickersNotModified | TL_messages_recentStickers

type TL_messages_getReplies

type TL_messages_getReplies struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID      int32
	OffsetID   int32
	OffsetDate int32
	AddOffset  int32
	Limit      int32
	MaxID      int32
	MinID      int32
	Hash       int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getSavedDialogs added in v0.181.0

type TL_messages_getSavedDialogs struct {
	ExcludePinned bool
	OffsetDate    int32
	OffsetID      int32
	OffsetPeer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Limit         int32
	Hash          int64
}

Returns messages.SavedDialogs: TL_messages_savedDialogs | TL_messages_savedDialogsSlice | TL_messages_savedDialogsNotModified

type TL_messages_getSavedGIFs added in v0.166.2

type TL_messages_getSavedGIFs struct {
	Hash int64
}

Returns messages.SavedGifs: TL_messages_savedGIFsNotModified | TL_messages_savedGIFs

type TL_messages_getSavedHistory added in v0.181.0

type TL_messages_getSavedHistory struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID   int32
	OffsetDate int32
	AddOffset  int32
	Limit      int32
	MaxID      int32
	MinID      int32
	Hash       int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getSavedReactionTags added in v0.181.0

type TL_messages_getSavedReactionTags struct {
	Peer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Hash int64
}

Returns messages.SavedReactionTags: TL_messages_savedReactionTagsNotModified | TL_messages_savedReactionTags

type TL_messages_getScheduledHistory

type TL_messages_getScheduledHistory struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Hash int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getScheduledMessages

type TL_messages_getScheduledMessages struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getSearchCounters

type TL_messages_getSearchCounters struct {
	Peer        TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SavedPeerID TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID    *int32 // (optional)
	Filters     []TL   // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
}

Returns Vector<messages.SearchCounter>: TL_messages_searchCounter

type TL_messages_getSearchResultsCalendar

type TL_messages_getSearchResultsCalendar struct {
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Filter      TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	OffsetID    int32
	OffsetDate  int32
}

Returns messages.SearchResultsCalendar: TL_messages_searchResultsCalendar

type TL_messages_getSearchResultsPositions

type TL_messages_getSearchResultsPositions struct {
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SavedPeerID TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Filter      TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	OffsetID    int32
	Limit       int32
}

Returns messages.SearchResultsPositions: TL_messages_searchResultsPositions

type TL_messages_getSplitRanges

type TL_messages_getSplitRanges struct {
}

Returns Vector<MessageRange>: TL_messageRange

type TL_messages_getSponsoredMessages added in v0.192.0

type TL_messages_getSponsoredMessages struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns messages.SponsoredMessages: TL_messages_sponsoredMessages | TL_messages_sponsoredMessagesEmpty

type TL_messages_getStickerSet

type TL_messages_getStickerSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	Hash       int32
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_messages_getStickers

type TL_messages_getStickers struct {
	Emoticon string
	Hash     int64
}

Returns messages.Stickers: TL_messages_stickersNotModified | TL_messages_stickers

type TL_messages_getSuggestedDialogFilters

type TL_messages_getSuggestedDialogFilters struct {
}

Returns Vector<DialogFilterSuggested>: TL_dialogFilterSuggested

type TL_messages_getTopReactions

type TL_messages_getTopReactions struct {
	Limit int32
	Hash  int64
}

Returns messages.Reactions: TL_messages_reactionsNotModified | TL_messages_reactions

type TL_messages_getUnreadMentions

type TL_messages_getUnreadMentions struct {
	Peer      TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID  *int32 // (optional)
	OffsetID  int32
	AddOffset int32
	Limit     int32
	MaxID     int32
	MinID     int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getUnreadReactions

type TL_messages_getUnreadReactions struct {
	Peer      TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID  *int32 // (optional)
	OffsetID  int32
	AddOffset int32
	Limit     int32
	MaxID     int32
	MinID     int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_getWebPage

type TL_messages_getWebPage struct {
	URL  string
	Hash int32
}

Returns messages.WebPage: TL_messages_webPage

type TL_messages_getWebPagePreview

type TL_messages_getWebPagePreview struct {
	Message  string
	Entities []TL // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Returns MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia

type TL_messages_hideAllChatJoinRequests

type TL_messages_hideAllChatJoinRequests struct {
	Approved bool
	Peer     TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Link     *string // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_hideChatJoinRequest

type TL_messages_hideChatJoinRequest struct {
	Approved bool
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_hidePeerSettingsBar

type TL_messages_hidePeerSettingsBar struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_highScores

type TL_messages_highScores struct {
	Scores []TL_highScore
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs messages.HighScores

type TL_messages_historyImport

type TL_messages_historyImport struct {
	ID int64
}

Constructs messages.HistoryImport

type TL_messages_historyImportParsed

type TL_messages_historyImportParsed struct {
	PM    bool
	Group bool
	Title *string // (optional)
}

Constructs messages.HistoryImportParsed

type TL_messages_importChatInvite

type TL_messages_importChatInvite struct {
	Hash string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_inactiveChats

type TL_messages_inactiveChats struct {
	Dates []int32
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs messages.InactiveChats

type TL_messages_initHistoryImport

type TL_messages_initHistoryImport struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	File       TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	MediaCount int32
}

Returns messages.HistoryImport: TL_messages_historyImport

type TL_messages_installStickerSet

type TL_messages_installStickerSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	Archived   bool
}

Returns messages.StickerSetInstallResult: TL_messages_stickerSetInstallResultSuccess | TL_messages_stickerSetInstallResultArchive

type TL_messages_invitedUsers added in v0.181.0

type TL_messages_invitedUsers struct {
	Updates         TL // Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
	MissingInvitees []TL_missingInvitee
}

Constructs messages.InvitedUsers

type TL_messages_markDialogUnread

type TL_messages_markDialogUnread struct {
	Unread bool
	Peer   TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_messageEditData

type TL_messages_messageEditData struct {
	Caption bool
}

Constructs messages.MessageEditData

type TL_messages_messageReactionsList

type TL_messages_messageReactionsList struct {
	Count      int32
	Reactions  []TL_messagePeerReaction
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
	NextOffset *string // (optional)
}

Constructs messages.MessageReactionsList

type TL_messages_messageViews

type TL_messages_messageViews struct {
	Views []TL_messageViews
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs messages.MessageViews

type TL_messages_messages

type TL_messages_messages struct {
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.Messages

type TL_messages_messagesNotModified

type TL_messages_messagesNotModified struct {
	Count int32
}

Constructs messages.Messages

type TL_messages_messagesSlice

type TL_messages_messagesSlice struct {
	Inexact        bool
	Count          int32
	NextRate       *int32 // (optional)
	OffsetIDOffset *int32 // (optional)
	Messages       []TL   // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats          []TL   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users          []TL   // User: TL_userEmpty | TL_user
}

Constructs messages.Messages

type TL_messages_migrateChat

type TL_messages_migrateChat struct {
	ChatID int64
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_myStickers added in v0.181.0

type TL_messages_myStickers struct {
	Count int32
	Sets  []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}

Constructs messages.MyStickers

type TL_messages_peerDialogs

type TL_messages_peerDialogs struct {
	Dialogs  []TL // Dialog: TL_dialog | TL_dialogFolder
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
	State    TL_updates_state
}

Constructs messages.PeerDialogs

type TL_messages_peerSettings

type TL_messages_peerSettings struct {
	Settings TL_peerSettings
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.PeerSettings

type TL_messages_prolongWebView

type TL_messages_prolongWebView struct {
	Silent  bool
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Bot     TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	QueryID int64
	ReplyTo TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	SendAs  TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_quickReplies added in v0.181.0

type TL_messages_quickReplies struct {
	QuickReplies []TL_quickReply
	Messages     []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
}

Constructs messages.QuickReplies

type TL_messages_quickRepliesNotModified added in v0.181.0

type TL_messages_quickRepliesNotModified struct {
}

Constructs messages.QuickReplies

type TL_messages_rateTranscribedAudio

type TL_messages_rateTranscribedAudio struct {
	Peer            TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID           int32
	TranscriptionID int64
	Good            bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reactions

type TL_messages_reactions struct {
	Hash      int64
	Reactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs messages.Reactions

type TL_messages_reactionsNotModified

type TL_messages_reactionsNotModified struct {
}

Constructs messages.Reactions

type TL_messages_readDiscussion

type TL_messages_readDiscussion struct {
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID     int32
	ReadMaxID int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_readEncryptedHistory

type TL_messages_readEncryptedHistory struct {
	Peer    TL_inputEncryptedChat
	MaxDate int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_readFeaturedStickers

type TL_messages_readFeaturedStickers struct {
	ID []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_readHistory

type TL_messages_readHistory struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MaxID int32
}

Returns messages.AffectedMessages: TL_messages_affectedMessages

type TL_messages_readMentions

type TL_messages_readMentions struct {
	Peer     TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID *int32 // (optional)
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_messages_readMessageContents

type TL_messages_readMessageContents struct {
	ID []int32
}

Returns messages.AffectedMessages: TL_messages_affectedMessages

type TL_messages_readReactions

type TL_messages_readReactions struct {
	Peer     TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID *int32 // (optional)
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_messages_receivedMessages

type TL_messages_receivedMessages struct {
	MaxID int32
}

Returns Vector<ReceivedNotifyMessage>: TL_receivedNotifyMessage

type TL_messages_receivedQueue

type TL_messages_receivedQueue struct {
	MaxQTS int32
}

Returns Vector<long>:

type TL_messages_recentStickers

type TL_messages_recentStickers struct {
	Hash     int64
	Packs    []TL_stickerPack
	Stickers []TL // Document: TL_documentEmpty | TL_document
	Dates    []int32
}

Constructs messages.RecentStickers

type TL_messages_recentStickersNotModified

type TL_messages_recentStickersNotModified struct {
}

Constructs messages.RecentStickers

type TL_messages_reorderPinnedDialogs

type TL_messages_reorderPinnedDialogs struct {
	Force    bool
	FolderID int32
	Order    []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reorderPinnedSavedDialogs added in v0.181.0

type TL_messages_reorderPinnedSavedDialogs struct {
	Force bool
	Order []TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reorderQuickReplies added in v0.181.0

type TL_messages_reorderQuickReplies struct {
	Order []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reorderStickerSets

type TL_messages_reorderStickerSets struct {
	Masks  bool
	Emojis bool
	Order  []int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_report

type TL_messages_report struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID      []int32
	Option  []byte
	Message string
}

Returns ReportResult: TL_reportResultChooseOption | TL_reportResultAddComment | TL_reportResultReported

type TL_messages_reportEncryptedSpam

type TL_messages_reportEncryptedSpam struct {
	Peer TL_inputEncryptedChat
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reportReaction

type TL_messages_reportReaction struct {
	Peer         TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID           int32
	ReactionPeer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reportSpam

type TL_messages_reportSpam struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_reportSponsoredMessage added in v0.192.0

type TL_messages_reportSponsoredMessage struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	RandomID []byte
	Option   []byte
}

Returns channels.SponsoredMessageReportResult: TL_channels_sponsoredMessageReportResultChooseOption | TL_channels_sponsoredMessageReportResultAdsHidden | TL_channels_sponsoredMessageReportResultReported

type TL_messages_requestAppWebView

type TL_messages_requestAppWebView struct {
	WriteAllowed bool
	Compact      bool
	Peer         TL           // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	App          TL           // InputBotApp: TL_inputBotAppID | TL_inputBotAppShortName
	StartParam   *string      // (optional)
	ThemeParams  *TL_dataJSON // (optional)
	Platform     string
}

Returns WebViewResult: TL_webViewResultURL

type TL_messages_requestEncryption

type TL_messages_requestEncryption struct {
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	RandomID int32
	GA       []byte
}

Returns EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded

type TL_messages_requestMainWebView added in v0.185.0

type TL_messages_requestMainWebView struct {
	Compact     bool
	Peer        TL           // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Bot         TL           // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	StartParam  *string      // (optional)
	ThemeParams *TL_dataJSON // (optional)
	Platform    string
}

Returns WebViewResult: TL_webViewResultURL

type TL_messages_requestSimpleWebView

type TL_messages_requestSimpleWebView struct {
	FromSwitchWebview bool
	FromSideMenu      bool
	Compact           bool
	Bot               TL           // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	URL               *string      // (optional)
	StartParam        *string      // (optional)
	ThemeParams       *TL_dataJSON // (optional)
	Platform          string
}

Returns WebViewResult: TL_webViewResultURL

type TL_messages_requestURLAuth added in v0.166.2

type TL_messages_requestURLAuth struct {
	Peer     TL      // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID    *int32  // (optional)
	ButtonID *int32  // (optional)
	URL      *string // (optional)
}

Returns UrlAuthResult: TL_urlAuthResultRequest | TL_urlAuthResultAccepted | TL_urlAuthResultDefault

type TL_messages_requestWebView

type TL_messages_requestWebView struct {
	FromBotMenu bool
	Silent      bool
	Compact     bool
	Peer        TL           // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Bot         TL           // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	URL         *string      // (optional)
	StartParam  *string      // (optional)
	ThemeParams *TL_dataJSON // (optional)
	Platform    string
	ReplyTo     TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	SendAs      TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns WebViewResult: TL_webViewResultURL

type TL_messages_saveDefaultSendAs

type TL_messages_saveDefaultSendAs struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SendAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_saveDraft

type TL_messages_saveDraft struct {
	NoWebpage   bool
	InvertMedia bool
	ReplyTo     TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Message     string
	Entities    []TL   // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Media       TL     // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	Effect      *int64 // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_saveGIF added in v0.166.2

type TL_messages_saveGIF struct {
	ID     TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Unsave bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_saveRecentSticker

type TL_messages_saveRecentSticker struct {
	Attached bool
	ID       TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Unsave   bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_savedDialogs added in v0.181.0

type TL_messages_savedDialogs struct {
	Dialogs  []TL_savedDialog
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.SavedDialogs

type TL_messages_savedDialogsNotModified added in v0.181.0

type TL_messages_savedDialogsNotModified struct {
	Count int32
}

Constructs messages.SavedDialogs

type TL_messages_savedDialogsSlice added in v0.181.0

type TL_messages_savedDialogsSlice struct {
	Count    int32
	Dialogs  []TL_savedDialog
	Messages []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs messages.SavedDialogs

type TL_messages_savedGIFs added in v0.166.2

type TL_messages_savedGIFs struct {
	Hash int64
	GIFs []TL // Document: TL_documentEmpty | TL_document
}

Constructs messages.SavedGifs

type TL_messages_savedGIFsNotModified added in v0.166.2

type TL_messages_savedGIFsNotModified struct {
}

Constructs messages.SavedGifs

type TL_messages_savedReactionTags added in v0.181.0

type TL_messages_savedReactionTags struct {
	Tags []TL_savedReactionTag
	Hash int64
}

Constructs messages.SavedReactionTags

type TL_messages_savedReactionTagsNotModified added in v0.181.0

type TL_messages_savedReactionTagsNotModified struct {
}

Constructs messages.SavedReactionTags

type TL_messages_search struct {
	Peer          TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Q             string
	FromID        TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SavedPeerID   TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SavedReaction []TL   // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	TopMsgID      *int32 // (optional)
	Filter        TL     // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	MinDate       int32
	MaxDate       int32
	OffsetID      int32
	AddOffset     int32
	Limit         int32
	MaxID         int32
	MinID         int32
	Hash          int64
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_searchCounter

type TL_messages_searchCounter struct {
	Inexact bool
	Filter  TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	Count   int32
}

Constructs messages.SearchCounter

type TL_messages_searchCustomEmoji

type TL_messages_searchCustomEmoji struct {
	Emoticon string
	Hash     int64
}

Returns EmojiList: TL_emojiListNotModified | TL_emojiList

type TL_messages_searchEmojiStickerSets added in v0.167.0

type TL_messages_searchEmojiStickerSets struct {
	ExcludeFeatured bool
	Q               string
	Hash            int64
}

Returns messages.FoundStickerSets: TL_messages_foundStickerSetsNotModified | TL_messages_foundStickerSets

type TL_messages_searchGlobal

type TL_messages_searchGlobal struct {
	BroadcastsOnly bool
	FolderID       *int32 // (optional)
	Q              string
	Filter         TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	MinDate        int32
	MaxDate        int32
	OffsetRate     int32
	OffsetPeer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID       int32
	Limit          int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_searchResultsCalendar

type TL_messages_searchResultsCalendar struct {
	Inexact        bool
	Count          int32
	MinDate        int32
	MinMsgID       int32
	OffsetIDOffset *int32 // (optional)
	Periods        []TL_searchResultsCalendarPeriod
	Messages       []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats          []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users          []TL // User: TL_userEmpty | TL_user
}

Constructs messages.SearchResultsCalendar

type TL_messages_searchResultsPositions

type TL_messages_searchResultsPositions struct {
	Count     int32
	Positions []TL_searchResultPosition
}

Constructs messages.SearchResultsPositions

type TL_messages_searchSentMedia

type TL_messages_searchSentMedia struct {
	Q      string
	Filter TL // MessagesFilter: TL_inputMessagesFilterEmpty | TL_inputMessagesFilterPhotos | TL_inputMessagesFilterVideo | TL_inputMessagesFilterPhotoVideo | TL_inputMessagesFilterDocument | TL_inputMessagesFilterURL | TL_inputMessagesFilterGIF | TL_inputMessagesFilterVoice | TL_inputMessagesFilterMusic | TL_inputMessagesFilterChatPhotos | TL_inputMessagesFilterPhoneCalls | TL_inputMessagesFilterRoundVoice | TL_inputMessagesFilterRoundVideo | TL_inputMessagesFilterMyMentions | TL_inputMessagesFilterGeo | TL_inputMessagesFilterContacts | TL_inputMessagesFilterPinned
	Limit  int32
}

Returns messages.Messages: TL_messages_messages | TL_messages_messagesSlice | TL_messages_channelMessages | TL_messages_messagesNotModified

type TL_messages_searchStickerSets

type TL_messages_searchStickerSets struct {
	ExcludeFeatured bool
	Q               string
	Hash            int64
}

Returns messages.FoundStickerSets: TL_messages_foundStickerSetsNotModified | TL_messages_foundStickerSets

type TL_messages_sendBotRequestedPeer

type TL_messages_sendBotRequestedPeer struct {
	Peer           TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID          int32
	ButtonID       int32
	RequestedPeers []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendEncrypted

type TL_messages_sendEncrypted struct {
	Silent   bool
	Peer     TL_inputEncryptedChat
	RandomID int64
	Data     []byte
}

Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile

type TL_messages_sendEncryptedFile

type TL_messages_sendEncryptedFile struct {
	Silent   bool
	Peer     TL_inputEncryptedChat
	RandomID int64
	Data     []byte
	File     TL // InputEncryptedFile: TL_inputEncryptedFileEmpty | TL_inputEncryptedFileUploaded | TL_inputEncryptedFile | TL_inputEncryptedFileBigUploaded
}

Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile

type TL_messages_sendEncryptedService

type TL_messages_sendEncryptedService struct {
	Peer     TL_inputEncryptedChat
	RandomID int64
	Data     []byte
}

Returns messages.SentEncryptedMessage: TL_messages_sentEncryptedMessage | TL_messages_sentEncryptedFile

type TL_messages_sendInlineBotResult

type TL_messages_sendInlineBotResult struct {
	Silent             bool
	Background         bool
	ClearDraft         bool
	HideVia            bool
	Peer               TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ReplyTo            TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	RandomID           int64
	QueryID            int64
	ID                 string
	ScheduleDate       *int32 // (optional)
	SendAs             TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuickReplyShortcut TL     // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendMedia

type TL_messages_sendMedia struct {
	Silent                 bool
	Background             bool
	ClearDraft             bool
	Noforwards             bool
	UpdateStickersetsOrder bool
	InvertMedia            bool
	AllowPaidFloodskip     bool
	Peer                   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ReplyTo                TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	Media                  TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	Message                string
	RandomID               int64
	ReplyMarkup            TL     // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
	Entities               []TL   // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ScheduleDate           *int32 // (optional)
	SendAs                 TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuickReplyShortcut     TL     // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
	Effect                 *int64 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendMessage

type TL_messages_sendMessage struct {
	NoWebpage              bool
	Silent                 bool
	Background             bool
	ClearDraft             bool
	Noforwards             bool
	UpdateStickersetsOrder bool
	InvertMedia            bool
	AllowPaidFloodskip     bool
	Peer                   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ReplyTo                TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	Message                string
	RandomID               int64
	ReplyMarkup            TL     // (optional) ReplyMarkup: TL_replyKeyboardHide | TL_replyKeyboardForceReply | TL_replyKeyboardMarkup | TL_replyInlineMarkup
	Entities               []TL   // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	ScheduleDate           *int32 // (optional)
	SendAs                 TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuickReplyShortcut     TL     // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
	Effect                 *int64 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendMultiMedia

type TL_messages_sendMultiMedia struct {
	Silent                 bool
	Background             bool
	ClearDraft             bool
	Noforwards             bool
	UpdateStickersetsOrder bool
	InvertMedia            bool
	AllowPaidFloodskip     bool
	Peer                   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ReplyTo                TL // (optional) InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	MultiMedia             []TL_inputSingleMedia
	ScheduleDate           *int32 // (optional)
	SendAs                 TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	QuickReplyShortcut     TL     // (optional) InputQuickReplyShortcut: TL_inputQuickReplyShortcut | TL_inputQuickReplyShortcutID
	Effect                 *int64 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendPaidReaction added in v0.186.0

type TL_messages_sendPaidReaction struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID    int32
	Count    int32
	RandomID int64
	Private  *bool // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendQuickReplyMessages added in v0.181.0

type TL_messages_sendQuickReplyMessages struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ShortcutID int32
	ID         []int32
	RandomID   []int64
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendReaction

type TL_messages_sendReaction struct {
	Big         bool
	AddToRecent bool
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID       int32
	Reaction    []TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendScheduledMessages

type TL_messages_sendScheduledMessages struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendScreenshotNotification

type TL_messages_sendScreenshotNotification struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ReplyTo  TL // InputReplyTo: TL_inputReplyToMessage | TL_inputReplyToStory
	RandomID int64
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendVote

type TL_messages_sendVote struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID   int32
	Options [][]byte
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendWebViewData

type TL_messages_sendWebViewData struct {
	Bot        TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	RandomID   int64
	ButtonText string
	Data       string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_sendWebViewResultMessage

type TL_messages_sendWebViewResultMessage struct {
	BotQueryID string
	Result     TL // InputBotInlineResult: TL_inputBotInlineResult | TL_inputBotInlineResultPhoto | TL_inputBotInlineResultDocument | TL_inputBotInlineResultGame
}

Returns WebViewMessageSent: TL_webViewMessageSent

type TL_messages_sentEncryptedFile

type TL_messages_sentEncryptedFile struct {
	Date int32
	File TL // EncryptedFile: TL_encryptedFileEmpty | TL_encryptedFile
}

Constructs messages.SentEncryptedMessage

type TL_messages_sentEncryptedMessage

type TL_messages_sentEncryptedMessage struct {
	Date int32
}

Constructs messages.SentEncryptedMessage

type TL_messages_setBotCallbackAnswer

type TL_messages_setBotCallbackAnswer struct {
	Alert     bool
	QueryID   int64
	Message   *string // (optional)
	URL       *string // (optional)
	CacheTime int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setBotPrecheckoutResults

type TL_messages_setBotPrecheckoutResults struct {
	Success bool
	QueryID int64
	Error   *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setBotShippingResults

type TL_messages_setBotShippingResults struct {
	QueryID         int64
	Error           *string             // (optional)
	ShippingOptions []TL_shippingOption // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setChatAvailableReactions

type TL_messages_setChatAvailableReactions struct {
	Peer               TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	AvailableReactions TL     // ChatReactions: TL_chatReactionsNone | TL_chatReactionsAll | TL_chatReactionsSome
	ReactionsLimit     *int32 // (optional)
	PaidEnabled        *bool  // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_setChatTheme

type TL_messages_setChatTheme struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Emoticon string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_setChatWallPaper

type TL_messages_setChatWallPaper struct {
	ForBoth   bool
	Revert    bool
	Peer      TL                    // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Wallpaper TL                    // (optional) InputWallPaper: TL_inputWallPaper | TL_inputWallPaperSlug | TL_inputWallPaperNoFile
	Settings  *TL_wallPaperSettings // (optional)
	ID        *int32                // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_setDefaultHistoryTTL

type TL_messages_setDefaultHistoryTTL struct {
	Period int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setDefaultReaction

type TL_messages_setDefaultReaction struct {
	Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setEncryptedTyping

type TL_messages_setEncryptedTyping struct {
	Peer   TL_inputEncryptedChat
	Typing bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setGameScore

type TL_messages_setGameScore struct {
	EditMessage bool
	Force       bool
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID          int32
	UserID      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Score       int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_setHistoryTTL

type TL_messages_setHistoryTTL struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Period int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_setInlineBotResults

type TL_messages_setInlineBotResults struct {
	Gallery       bool
	Private       bool
	QueryID       int64
	Results       []TL // InputBotInlineResult: TL_inputBotInlineResult | TL_inputBotInlineResultPhoto | TL_inputBotInlineResultDocument | TL_inputBotInlineResultGame
	CacheTime     int32
	NextOffset    *string               // (optional)
	SwitchPM      *TL_inlineBotSwitchPM // (optional)
	SwitchWebview *TL_inlineBotWebView  // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setInlineGameScore

type TL_messages_setInlineGameScore struct {
	EditMessage bool
	Force       bool
	ID          TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
	UserID      TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Score       int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_setTyping

type TL_messages_setTyping struct {
	Peer     TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID *int32 // (optional)
	Action   TL     // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_sponsoredMessages

type TL_messages_sponsoredMessages struct {
	PostsBetween *int32 // (optional)
	Messages     []TL_sponsoredMessage
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
}

Constructs messages.SponsoredMessages

type TL_messages_sponsoredMessagesEmpty

type TL_messages_sponsoredMessagesEmpty struct {
}

Constructs messages.SponsoredMessages

type TL_messages_startBot

type TL_messages_startBot struct {
	Bot        TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	RandomID   int64
	StartParam string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_startHistoryImport

type TL_messages_startHistoryImport struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ImportID int64
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_stickerSet

type TL_messages_stickerSet struct {
	Set       TL_stickerSet
	Packs     []TL_stickerPack
	Keywords  []TL_stickerKeyword
	Documents []TL // Document: TL_documentEmpty | TL_document
}

Constructs messages.StickerSet

type TL_messages_stickerSetInstallResultArchive

type TL_messages_stickerSetInstallResultArchive struct {
	Sets []TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}

Constructs messages.StickerSetInstallResult

type TL_messages_stickerSetInstallResultSuccess

type TL_messages_stickerSetInstallResultSuccess struct {
}

Constructs messages.StickerSetInstallResult

type TL_messages_stickerSetNotModified

type TL_messages_stickerSetNotModified struct {
}

Constructs messages.StickerSet

type TL_messages_stickers

type TL_messages_stickers struct {
	Hash     int64
	Stickers []TL // Document: TL_documentEmpty | TL_document
}

Constructs messages.Stickers

type TL_messages_stickersNotModified

type TL_messages_stickersNotModified struct {
}

Constructs messages.Stickers

type TL_messages_toggleBotInAttachMenu

type TL_messages_toggleBotInAttachMenu struct {
	WriteAllowed bool
	Bot          TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Enabled      bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_toggleDialogFilterTags added in v0.181.0

type TL_messages_toggleDialogFilterTags struct {
	Enabled bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_toggleDialogPIN added in v0.166.2

type TL_messages_toggleDialogPIN struct {
	Pinned bool
	Peer   TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_toggleNoForwards

type TL_messages_toggleNoForwards struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Enabled bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_togglePaidReactionPrivacy added in v0.186.0

type TL_messages_togglePaidReactionPrivacy struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID   int32
	Private bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_togglePeerTranslations

type TL_messages_togglePeerTranslations struct {
	Disabled bool
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_toggleSavedDialogPIN added in v0.181.0

type TL_messages_toggleSavedDialogPIN struct {
	Pinned bool
	Peer   TL // InputDialogPeer: TL_inputDialogPeer | TL_inputDialogPeerFolder
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_toggleStickerSets

type TL_messages_toggleStickerSets struct {
	Uninstall   bool
	Archive     bool
	Unarchive   bool
	Stickersets []TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_transcribeAudio

type TL_messages_transcribeAudio struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns messages.TranscribedAudio: TL_messages_transcribedAudio

type TL_messages_transcribedAudio

type TL_messages_transcribedAudio struct {
	Pending               bool
	TranscriptionID       int64
	Text                  string
	TrialRemainsNum       *int32 // (optional)
	TrialRemainsUntilDate *int32 // (optional)
}

Constructs messages.TranscribedAudio

type TL_messages_translateResult

type TL_messages_translateResult struct {
	Result []TL_textWithEntities
}

Constructs messages.TranslatedText

type TL_messages_translateText

type TL_messages_translateText struct {
	Peer   TL                    // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID     []int32               // (optional)
	Text   []TL_textWithEntities // (optional)
	ToLang string
}

Returns messages.TranslatedText: TL_messages_translateResult

type TL_messages_uninstallStickerSet

type TL_messages_uninstallStickerSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_unpinAllMessages

type TL_messages_unpinAllMessages struct {
	Peer     TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	TopMsgID *int32 // (optional)
}

Returns messages.AffectedHistory: TL_messages_affectedHistory

type TL_messages_updateDialogFilter

type TL_messages_updateDialogFilter struct {
	ID     int32
	Filter TL // (optional) DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_updateDialogFiltersOrder

type TL_messages_updateDialogFiltersOrder struct {
	Order []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_updatePinnedMessage

type TL_messages_updatePinnedMessage struct {
	Silent    bool
	Unpin     bool
	PMOneside bool
	Peer      TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID        int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_messages_updateSavedReactionTag added in v0.181.0

type TL_messages_updateSavedReactionTag struct {
	Reaction TL      // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	Title    *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_uploadEncryptedFile

type TL_messages_uploadEncryptedFile struct {
	Peer TL_inputEncryptedChat
	File TL // InputEncryptedFile: TL_inputEncryptedFileEmpty | TL_inputEncryptedFileUploaded | TL_inputEncryptedFile | TL_inputEncryptedFileBigUploaded
}

Returns EncryptedFile: TL_encryptedFileEmpty | TL_encryptedFile

type TL_messages_uploadImportedMedia

type TL_messages_uploadImportedMedia struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ImportID int64
	FileName string
	Media    TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia

type TL_messages_uploadMedia

type TL_messages_uploadMedia struct {
	BusinessConnectionID *string // (optional)
	Peer                 TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Media                TL      // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia

type TL_messages_viewSponsoredMessage added in v0.192.0

type TL_messages_viewSponsoredMessage struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	RandomID []byte
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_messages_votesList

type TL_messages_votesList struct {
	Count      int32
	Votes      []TL    // MessagePeerVote: TL_messagePeerVote | TL_messagePeerVoteInputOption | TL_messagePeerVoteMultiple
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
	NextOffset *string // (optional)
}

Constructs messages.VotesList

type TL_messages_webPage added in v0.166.0

type TL_messages_webPage struct {
	Webpage TL   // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs messages.WebPage

type TL_missingInvitee added in v0.181.0

type TL_missingInvitee struct {
	PremiumWouldAllowInvite bool
	PremiumRequiredForPM    bool
	UserID                  int64
}

Constructs MissingInvitee

type TL_msgContainer added in v0.166.2

type TL_msgContainer struct {
	Items []TL_mtMessage
}

type TL_msgDetailedInfo added in v0.166.2

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

Constructs MsgDetailedInfo

type TL_msgNewDetailedInfo added in v0.166.2

type TL_msgNewDetailedInfo struct {
	AnswerMsgID int64
	Bytes       int32
	Status      int32
}

Constructs MsgDetailedInfo

type TL_msgResendReq added in v0.166.2

type TL_msgResendReq struct {
	MsgIDs []int64
}

Constructs MsgResendReq

type TL_msgsACK added in v0.166.2

type TL_msgsACK struct {
	MsgIDs []int64
}

Constructs MsgsAck

type TL_msgsAllInfo added in v0.166.2

type TL_msgsAllInfo struct {
	MsgIDs []int64
	Info   string
}

Constructs MsgsAllInfo

type TL_msgsStateInfo added in v0.166.2

type TL_msgsStateInfo struct {
	ReqMsgID int64
	Info     string
}

Constructs MsgsStateInfo

type TL_msgsStateReq added in v0.166.2

type TL_msgsStateReq struct {
	MsgIDs []int64
}

Constructs MsgsStateReq

type TL_mtMessage added in v0.166.2

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

type TL_myBoost added in v0.166.0

type TL_myBoost struct {
	Slot              int32
	Peer              TL // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date              int32
	Expires           int32
	CooldownUntilDate *int32 // (optional)
}

Constructs MyBoost

type TL_nearestDC added in v0.166.2

type TL_nearestDC struct {
	Country   string
	ThisDC    int32
	NearestDC int32
}

Constructs NearestDc

type TL_newSessionCreated added in v0.166.2

type TL_newSessionCreated struct {
	FirstMsgID int64
	UniqueID   int64
	ServerSalt int64
}

Constructs NewSession

type TL_notificationSoundDefault

type TL_notificationSoundDefault struct {
}

Constructs NotificationSound

type TL_notificationSoundLocal

type TL_notificationSoundLocal struct {
	Title string
	Data  string
}

Constructs NotificationSound

type TL_notificationSoundNone

type TL_notificationSoundNone struct {
}

Constructs NotificationSound

type TL_notificationSoundRingtone

type TL_notificationSoundRingtone struct {
	ID int64
}

Constructs NotificationSound

type TL_notifyBroadcasts

type TL_notifyBroadcasts struct {
}

Constructs NotifyPeer

type TL_notifyChats

type TL_notifyChats struct {
}

Constructs NotifyPeer

type TL_notifyForumTopic

type TL_notifyForumTopic struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TopMsgID int32
}

Constructs NotifyPeer

type TL_notifyPeer

type TL_notifyPeer struct {
	Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs NotifyPeer

type TL_notifyUsers

type TL_notifyUsers struct {
}

Constructs NotifyPeer

type TL_null

type TL_null struct {
}

Constructs Null

type TL_outboxReadDate added in v0.181.0

type TL_outboxReadDate struct {
	Date int32
}

Constructs OutboxReadDate

type TL_page

type TL_page struct {
	Part      bool
	RTL       bool
	V2        bool
	URL       string
	Blocks    []TL   // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
	Photos    []TL   // Photo: TL_photoEmpty | TL_photo
	Documents []TL   // Document: TL_documentEmpty | TL_document
	Views     *int32 // (optional)
}

Constructs Page

type TL_pageBlockAnchor

type TL_pageBlockAnchor struct {
	Name string
}

Constructs PageBlock

type TL_pageBlockAudio

type TL_pageBlockAudio struct {
	AudioID int64
	Caption TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockAuthorDate

type TL_pageBlockAuthorDate struct {
	Author        TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	PublishedDate int32
}

Constructs PageBlock

type TL_pageBlockBlockquote

type TL_pageBlockBlockquote struct {
	Text    TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Caption TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockChannel

type TL_pageBlockChannel struct {
	Channel TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
}

Constructs PageBlock

type TL_pageBlockCollage

type TL_pageBlockCollage struct {
	Items   []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
	Caption TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockCover

type TL_pageBlockCover struct {
	Cover TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}

Constructs PageBlock

type TL_pageBlockDetails

type TL_pageBlockDetails struct {
	Open   bool
	Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
	Title  TL   // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockDivider

type TL_pageBlockDivider struct {
}

Constructs PageBlock

type TL_pageBlockEmbed

type TL_pageBlockEmbed struct {
	FullWidth      bool
	AllowScrolling bool
	URL            *string // (optional)
	HTML           *string // (optional)
	PosterPhotoID  *int64  // (optional)
	W              *int32  // (optional)
	H              *int32  // (optional)
	Caption        TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockEmbedPost

type TL_pageBlockEmbedPost struct {
	URL           string
	WebpageID     int64
	AuthorPhotoID int64
	Author        string
	Date          int32
	Blocks        []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
	Caption       TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockFooter

type TL_pageBlockFooter struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockHeader

type TL_pageBlockHeader struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockKicker

type TL_pageBlockKicker struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockList

type TL_pageBlockList struct {
	Items []TL // PageListItem: TL_pageListItemText | TL_pageListItemBlocks
}

Constructs PageBlock

type TL_pageBlockMap

type TL_pageBlockMap struct {
	Geo     TL // GeoPoint: TL_geoPointEmpty | TL_geoPoint
	Zoom    int32
	W       int32
	H       int32
	Caption TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockOrderedList

type TL_pageBlockOrderedList struct {
	Items []TL // PageListOrderedItem: TL_pageListOrderedItemText | TL_pageListOrderedItemBlocks
}

Constructs PageBlock

type TL_pageBlockParagraph

type TL_pageBlockParagraph struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockPhoto

type TL_pageBlockPhoto struct {
	PhotoID   int64
	Caption   TL_pageCaption
	URL       *string // (optional)
	WebpageID *int64  // (optional)
}

Constructs PageBlock

type TL_pageBlockPreformatted

type TL_pageBlockPreformatted struct {
	Text     TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Language string
}

Constructs PageBlock

type TL_pageBlockPullquote

type TL_pageBlockPullquote struct {
	Text    TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Caption TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockRelatedArticles

type TL_pageBlockRelatedArticles struct {
	Title    TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Articles []TL_pageRelatedArticle
}

Constructs PageBlock

type TL_pageBlockSlideshow

type TL_pageBlockSlideshow struct {
	Items   []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
	Caption TL_pageCaption
}

Constructs PageBlock

type TL_pageBlockSubheader

type TL_pageBlockSubheader struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockSubtitle

type TL_pageBlockSubtitle struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockTable

type TL_pageBlockTable struct {
	Bordered bool
	Striped  bool
	Title    TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Rows     []TL_pageTableRow
}

Constructs PageBlock

type TL_pageBlockTitle

type TL_pageBlockTitle struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageBlock

type TL_pageBlockUnsupported

type TL_pageBlockUnsupported struct {
}

Constructs PageBlock

type TL_pageBlockVideo

type TL_pageBlockVideo struct {
	Autoplay bool
	Loop     bool
	VideoID  int64
	Caption  TL_pageCaption
}

Constructs PageBlock

type TL_pageCaption

type TL_pageCaption struct {
	Text   TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Credit TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageCaption

type TL_pageListItemBlocks

type TL_pageListItemBlocks struct {
	Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}

Constructs PageListItem

type TL_pageListItemText

type TL_pageListItemText struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageListItem

type TL_pageListOrderedItemBlocks

type TL_pageListOrderedItemBlocks struct {
	Num    string
	Blocks []TL // PageBlock: TL_pageBlockUnsupported | TL_pageBlockTitle | TL_pageBlockSubtitle | TL_pageBlockAuthorDate | TL_pageBlockHeader | TL_pageBlockSubheader | TL_pageBlockParagraph | TL_pageBlockPreformatted | TL_pageBlockFooter | TL_pageBlockDivider | TL_pageBlockAnchor | TL_pageBlockList | TL_pageBlockBlockquote | TL_pageBlockPullquote | TL_pageBlockPhoto | TL_pageBlockVideo | TL_pageBlockCover | TL_pageBlockEmbed | TL_pageBlockEmbedPost | TL_pageBlockCollage | TL_pageBlockSlideshow | TL_pageBlockChannel | TL_pageBlockAudio | TL_pageBlockKicker | TL_pageBlockTable | TL_pageBlockOrderedList | TL_pageBlockDetails | TL_pageBlockRelatedArticles | TL_pageBlockMap
}

Constructs PageListOrderedItem

type TL_pageListOrderedItemText

type TL_pageListOrderedItemText struct {
	Num  string
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs PageListOrderedItem

type TL_pageRelatedArticle

type TL_pageRelatedArticle struct {
	URL           string
	WebpageID     int64
	Title         *string // (optional)
	Description   *string // (optional)
	PhotoID       *int64  // (optional)
	Author        *string // (optional)
	PublishedDate *int32  // (optional)
}

Constructs PageRelatedArticle

type TL_pageTableCell

type TL_pageTableCell struct {
	Header       bool
	AlignCenter  bool
	AlignRight   bool
	ValignMiddle bool
	ValignBottom bool
	Text         TL     // (optional) RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Colspan      *int32 // (optional)
	Rowspan      *int32 // (optional)
}

Constructs PageTableCell

type TL_pageTableRow

type TL_pageTableRow struct {
	Cells []TL_pageTableCell
}

Constructs PageTableRow

type TL_passwordKDFAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow added in v0.166.2

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

Constructs PasswordKdfAlgo

type TL_passwordKDFAlgoUnknown added in v0.166.2

type TL_passwordKDFAlgoUnknown struct {
}

Constructs PasswordKdfAlgo

type TL_paymentCharge

type TL_paymentCharge struct {
	ID               string
	ProviderChargeID string
}

Constructs PaymentCharge

type TL_paymentFormMethod

type TL_paymentFormMethod struct {
	URL   string
	Title string
}

Constructs PaymentFormMethod

type TL_paymentRequestedInfo

type TL_paymentRequestedInfo struct {
	Name            *string         // (optional)
	Phone           *string         // (optional)
	Email           *string         // (optional)
	ShippingAddress *TL_postAddress // (optional)
}

Constructs PaymentRequestedInfo

type TL_paymentSavedCredentialsCard

type TL_paymentSavedCredentialsCard struct {
	ID    string
	Title string
}

Constructs PaymentSavedCredentials

type TL_payments_applyGiftCode added in v0.166.0

type TL_payments_applyGiftCode struct {
	Slug string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_payments_assignAppStoreTransaction

type TL_payments_assignAppStoreTransaction struct {
	Receipt []byte
	Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_payments_assignPlayMarketTransaction

type TL_payments_assignPlayMarketTransaction struct {
	Receipt TL_dataJSON
	Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_payments_bankCardData

type TL_payments_bankCardData struct {
	Title    string
	OpenURLs []TL_bankCardOpenURL
}

Constructs payments.BankCardData

type TL_payments_canPurchasePremium

type TL_payments_canPurchasePremium struct {
	Purpose TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_changeStarsSubscription added in v0.186.0

type TL_payments_changeStarsSubscription struct {
	Peer           TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SubscriptionID string
	Canceled       *bool // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_checkGiftCode added in v0.166.0

type TL_payments_checkGiftCode struct {
	Slug string
}

Returns payments.CheckedGiftCode: TL_payments_checkedGiftCode

type TL_payments_checkedGiftCode added in v0.166.0

type TL_payments_checkedGiftCode struct {
	ViaGiveaway   bool
	FromID        TL     // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	GiveawayMsgID *int32 // (optional)
	ToID          *int64 // (optional)
	Date          int32
	Months        int32
	UsedDate      *int32 // (optional)
	Chats         []TL   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users         []TL   // User: TL_userEmpty | TL_user
}

Constructs payments.CheckedGiftCode

type TL_payments_clearSavedInfo

type TL_payments_clearSavedInfo struct {
	Credentials bool
	Info        bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_convertStarGift added in v0.192.0

type TL_payments_convertStarGift struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	MsgID  int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_exportInvoice

type TL_payments_exportInvoice struct {
	InvoiceMedia TL // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
}

Returns payments.ExportedInvoice: TL_payments_exportedInvoice

type TL_payments_exportedInvoice

type TL_payments_exportedInvoice struct {
	URL string
}

Constructs payments.ExportedInvoice

type TL_payments_fulfillStarsSubscription added in v0.186.0

type TL_payments_fulfillStarsSubscription struct {
	Peer           TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	SubscriptionID string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_getBankCardData

type TL_payments_getBankCardData struct {
	Number string
}

Returns payments.BankCardData: TL_payments_bankCardData

type TL_payments_getGiveawayInfo added in v0.166.0

type TL_payments_getGiveawayInfo struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns payments.GiveawayInfo: TL_payments_giveawayInfo | TL_payments_giveawayInfoResults

type TL_payments_getPaymentForm

type TL_payments_getPaymentForm struct {
	Invoice     TL           // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift
	ThemeParams *TL_dataJSON // (optional)
}

Returns payments.PaymentForm: TL_payments_paymentForm | TL_payments_paymentFormStars | TL_payments_paymentFormStarGift

type TL_payments_getPaymentReceipt

type TL_payments_getPaymentReceipt struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MsgID int32
}

Returns payments.PaymentReceipt: TL_payments_paymentReceipt | TL_payments_paymentReceiptStars

type TL_payments_getPremiumGiftCodeOptions added in v0.166.0

type TL_payments_getPremiumGiftCodeOptions struct {
	BoostPeer TL // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Vector<PremiumGiftCodeOption>: TL_premiumGiftCodeOption

type TL_payments_getSavedInfo

type TL_payments_getSavedInfo struct {
}

Returns payments.SavedInfo: TL_payments_savedInfo

type TL_payments_getStarGifts added in v0.192.0

type TL_payments_getStarGifts struct {
	Hash int32
}

Returns payments.StarGifts: TL_payments_starGiftsNotModified | TL_payments_starGifts

type TL_payments_getStarsGiftOptions added in v0.185.0

type TL_payments_getStarsGiftOptions struct {
	UserID TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Vector<StarsGiftOption>: TL_starsGiftOption

type TL_payments_getStarsGiveawayOptions added in v0.187.0

type TL_payments_getStarsGiveawayOptions struct {
}

Returns Vector<StarsGiveawayOption>: TL_starsGiveawayOption

type TL_payments_getStarsRevenueAdsAccountURL added in v0.183.0

type TL_payments_getStarsRevenueAdsAccountURL struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns payments.StarsRevenueAdsAccountUrl: TL_payments_starsRevenueAdsAccountURL

type TL_payments_getStarsRevenueStats added in v0.183.0

type TL_payments_getStarsRevenueStats struct {
	Dark bool
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns payments.StarsRevenueStats: TL_payments_starsRevenueStats

type TL_payments_getStarsRevenueWithdrawalURL added in v0.183.0

type TL_payments_getStarsRevenueWithdrawalURL struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Stars    int64
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns payments.StarsRevenueWithdrawalUrl: TL_payments_starsRevenueWithdrawalURL

type TL_payments_getStarsStatus added in v0.181.0

type TL_payments_getStarsStatus struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns payments.StarsStatus: TL_payments_starsStatus

type TL_payments_getStarsSubscriptions added in v0.186.0

type TL_payments_getStarsSubscriptions struct {
	MissingBalance bool
	Peer           TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Offset         string
}

Returns payments.StarsStatus: TL_payments_starsStatus

type TL_payments_getStarsTopupOptions added in v0.181.0

type TL_payments_getStarsTopupOptions struct {
}

Returns Vector<StarsTopupOption>: TL_starsTopupOption

type TL_payments_getStarsTransactions added in v0.181.0

type TL_payments_getStarsTransactions struct {
	Inbound        bool
	Outbound       bool
	Ascending      bool
	SubscriptionID *string // (optional)
	Peer           TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Offset         string
	Limit          int32
}

Returns payments.StarsStatus: TL_payments_starsStatus

type TL_payments_getStarsTransactionsByID added in v0.183.0

type TL_payments_getStarsTransactionsByID struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []TL_inputStarsTransaction
}

Returns payments.StarsStatus: TL_payments_starsStatus

type TL_payments_getUserStarGifts added in v0.192.0

type TL_payments_getUserStarGifts struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Offset string
	Limit  int32
}

Returns payments.UserStarGifts: TL_payments_userStarGifts

type TL_payments_giveawayInfo added in v0.166.0

type TL_payments_giveawayInfo struct {
	Participating         bool
	PreparingResults      bool
	StartDate             int32
	JoinedTooEarlyDate    *int32  // (optional)
	AdminDisallowedChatID *int64  // (optional)
	DisallowedCountry     *string // (optional)
}

Constructs payments.GiveawayInfo

type TL_payments_giveawayInfoResults added in v0.166.0

type TL_payments_giveawayInfoResults struct {
	Winner         bool
	Refunded       bool
	StartDate      int32
	GiftCodeSlug   *string // (optional)
	StarsPrize     *int64  // (optional)
	FinishDate     int32
	WinnersCount   int32
	ActivatedCount *int32 // (optional)
}

Constructs payments.GiveawayInfo

type TL_payments_launchPrepaidGiveaway added in v0.166.0

type TL_payments_launchPrepaidGiveaway struct {
	Peer       TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	GiveawayID int64
	Purpose    TL // InputStorePaymentPurpose: TL_inputStorePaymentPremiumSubscription | TL_inputStorePaymentGiftPremium | TL_inputStorePaymentPremiumGiftCode | TL_inputStorePaymentPremiumGiveaway | TL_inputStorePaymentStarsTopup | TL_inputStorePaymentStarsGift | TL_inputStorePaymentStarsGiveaway
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_payments_paymentForm

type TL_payments_paymentForm struct {
	CanSaveCredentials bool
	PasswordMissing    bool
	FormID             int64
	BotID              int64
	Title              string
	Description        string
	Photo              TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Invoice            TL_invoice
	ProviderID         int64
	URL                string
	NativeProvider     *string                          // (optional)
	NativeParams       *TL_dataJSON                     // (optional)
	AdditionalMethods  []TL_paymentFormMethod           // (optional)
	SavedInfo          *TL_paymentRequestedInfo         // (optional)
	SavedCredentials   []TL_paymentSavedCredentialsCard // (optional)
	Users              []TL                             // User: TL_userEmpty | TL_user
}

Constructs payments.PaymentForm

type TL_payments_paymentFormStarGift added in v0.192.0

type TL_payments_paymentFormStarGift struct {
	FormID  int64
	Invoice TL_invoice
}

Constructs payments.PaymentForm

type TL_payments_paymentFormStars added in v0.181.0

type TL_payments_paymentFormStars struct {
	FormID      int64
	BotID       int64
	Title       string
	Description string
	Photo       TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Invoice     TL_invoice
	Users       []TL // User: TL_userEmpty | TL_user
}

Constructs payments.PaymentForm

type TL_payments_paymentReceipt

type TL_payments_paymentReceipt struct {
	Date             int32
	BotID            int64
	ProviderID       int64
	Title            string
	Description      string
	Photo            TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Invoice          TL_invoice
	Info             *TL_paymentRequestedInfo // (optional)
	Shipping         *TL_shippingOption       // (optional)
	TipAmount        *int64                   // (optional)
	Currency         string
	TotalAmount      int64
	CredentialsTitle string
	Users            []TL // User: TL_userEmpty | TL_user
}

Constructs payments.PaymentReceipt

type TL_payments_paymentReceiptStars added in v0.181.0

type TL_payments_paymentReceiptStars struct {
	Date          int32
	BotID         int64
	Title         string
	Description   string
	Photo         TL // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	Invoice       TL_invoice
	Currency      string
	TotalAmount   int64
	TransactionID string
	Users         []TL // User: TL_userEmpty | TL_user
}

Constructs payments.PaymentReceipt

type TL_payments_paymentResult

type TL_payments_paymentResult struct {
	Updates TL // Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage
}

Constructs payments.PaymentResult

type TL_payments_paymentVerificationNeeded

type TL_payments_paymentVerificationNeeded struct {
	URL string
}

Constructs payments.PaymentResult

type TL_payments_refundStarsCharge added in v0.181.0

type TL_payments_refundStarsCharge struct {
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	ChargeID string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_payments_saveStarGift added in v0.192.0

type TL_payments_saveStarGift struct {
	Unsave bool
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	MsgID  int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_payments_savedInfo

type TL_payments_savedInfo struct {
	HasSavedCredentials bool
	SavedInfo           *TL_paymentRequestedInfo // (optional)
}

Constructs payments.SavedInfo

type TL_payments_sendPaymentForm

type TL_payments_sendPaymentForm struct {
	FormID           int64
	Invoice          TL      // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift
	RequestedInfoID  *string // (optional)
	ShippingOptionID *string // (optional)
	Credentials      TL      // InputPaymentCredentials: TL_inputPaymentCredentialsSaved | TL_inputPaymentCredentials | TL_inputPaymentCredentialsApplePay | TL_inputPaymentCredentialsGooglePay
	TipAmount        *int64  // (optional)
}

Returns payments.PaymentResult: TL_payments_paymentResult | TL_payments_paymentVerificationNeeded

type TL_payments_sendStarsForm added in v0.181.0

type TL_payments_sendStarsForm struct {
	FormID  int64
	Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift
}

Returns payments.PaymentResult: TL_payments_paymentResult | TL_payments_paymentVerificationNeeded

type TL_payments_starGifts added in v0.192.0

type TL_payments_starGifts struct {
	Hash  int32
	Gifts []TL_starGift
}

Constructs payments.StarGifts

type TL_payments_starGiftsNotModified added in v0.192.0

type TL_payments_starGiftsNotModified struct {
}

Constructs payments.StarGifts

type TL_payments_starsRevenueAdsAccountURL added in v0.183.0

type TL_payments_starsRevenueAdsAccountURL struct {
	URL string
}

Constructs payments.StarsRevenueAdsAccountUrl

type TL_payments_starsRevenueStats added in v0.183.0

type TL_payments_starsRevenueStats struct {
	RevenueGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	Status       TL_starsRevenueStatus
	UsdRate      float64
}

Constructs payments.StarsRevenueStats

type TL_payments_starsRevenueWithdrawalURL added in v0.183.0

type TL_payments_starsRevenueWithdrawalURL struct {
	URL string
}

Constructs payments.StarsRevenueWithdrawalUrl

type TL_payments_starsStatus added in v0.181.0

type TL_payments_starsStatus struct {
	Balance                     int64
	Subscriptions               []TL_starsSubscription // (optional)
	SubscriptionsNextOffset     *string                // (optional)
	SubscriptionsMissingBalance *int64                 // (optional)
	History                     []TL_starsTransaction  // (optional)
	NextOffset                  *string                // (optional)
	Chats                       []TL                   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users                       []TL                   // User: TL_userEmpty | TL_user
}

Constructs payments.StarsStatus

type TL_payments_userStarGifts added in v0.192.0

type TL_payments_userStarGifts struct {
	Count      int32
	Gifts      []TL_userStarGift
	NextOffset *string // (optional)
	Users      []TL    // User: TL_userEmpty | TL_user
}

Constructs payments.UserStarGifts

type TL_payments_validateRequestedInfo

type TL_payments_validateRequestedInfo struct {
	Save    bool
	Invoice TL // InputInvoice: TL_inputInvoiceMessage | TL_inputInvoiceSlug | TL_inputInvoicePremiumGiftCode | TL_inputInvoiceStars | TL_inputInvoiceChatInviteSubscription | TL_inputInvoiceStarGift
	Info    TL_paymentRequestedInfo
}

Returns payments.ValidatedRequestedInfo: TL_payments_validatedRequestedInfo

type TL_payments_validatedRequestedInfo

type TL_payments_validatedRequestedInfo struct {
	ID              *string             // (optional)
	ShippingOptions []TL_shippingOption // (optional)
}

Constructs payments.ValidatedRequestedInfo

type TL_peerBlocked

type TL_peerBlocked struct {
	PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date   int32
}

Constructs PeerBlocked

type TL_peerChannel

type TL_peerChannel struct {
	ChannelID int64
}

Constructs Peer

type TL_peerChat

type TL_peerChat struct {
	ChatID int64
}

Constructs Peer

type TL_peerColor added in v0.167.0

type TL_peerColor struct {
	Color             *int32 // (optional)
	BackgroundEmojiID *int64 // (optional)
}

Constructs PeerColor

type TL_peerLocated

type TL_peerLocated struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Expires  int32
	Distance int32
}

Constructs PeerLocated

type TL_peerNotifySettings

type TL_peerNotifySettings struct {
	ShowPreviews        *bool  // (optional)
	Silent              *bool  // (optional)
	MuteUntil           *int32 // (optional)
	IOSSound            TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	AndroidSound        TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	OtherSound          TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	StoriesMuted        *bool  // (optional)
	StoriesHideSender   *bool  // (optional)
	StoriesIOSSound     TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	StoriesAndroidSound TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	StoriesOtherSound   TL     // (optional) NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
}

Constructs PeerNotifySettings

type TL_peerSelfLocated

type TL_peerSelfLocated struct {
	Expires int32
}

Constructs PeerLocated

type TL_peerSettings

type TL_peerSettings struct {
	ReportSpam            bool
	AddContact            bool
	BlockContact          bool
	ShareContact          bool
	NeedContactsException bool
	ReportGeo             bool
	Autoarchived          bool
	InviteMembers         bool
	RequestChatBroadcast  bool
	BusinessBotPaused     bool
	BusinessBotCanReply   bool
	GeoDistance           *int32  // (optional)
	RequestChatTitle      *string // (optional)
	RequestChatDate       *int32  // (optional)
	BusinessBotID         *int64  // (optional)
	BusinessBotManageURL  *string // (optional)
}

Constructs PeerSettings

type TL_peerStories added in v0.166.0

type TL_peerStories struct {
	Peer      TL     // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MaxReadID *int32 // (optional)
	Stories   []TL   // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs PeerStories

type TL_peerUser

type TL_peerUser struct {
	UserID int64
}

Constructs Peer

type TL_phoneCall

type TL_phoneCall struct {
	P2PAllowed       bool
	Video            bool
	ID               int64
	AccessHash       int64
	Date             int32
	AdminID          int64
	ParticipantID    int64
	GAOrB            []byte
	KeyFingerprint   int64
	Protocol         TL_phoneCallProtocol
	Connections      []TL // PhoneConnection: TL_phoneConnection | TL_phoneConnectionWebrtc
	StartDate        int32
	CustomParameters *TL_dataJSON // (optional)
}

Constructs PhoneCall

type TL_phoneCallAccepted

type TL_phoneCallAccepted struct {
	Video         bool
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int64
	ParticipantID int64
	GB            []byte
	Protocol      TL_phoneCallProtocol
}

Constructs PhoneCall

type TL_phoneCallDiscardReasonBusy

type TL_phoneCallDiscardReasonBusy struct {
}

Constructs PhoneCallDiscardReason

type TL_phoneCallDiscardReasonDisconnect

type TL_phoneCallDiscardReasonDisconnect struct {
}

Constructs PhoneCallDiscardReason

type TL_phoneCallDiscardReasonHangup

type TL_phoneCallDiscardReasonHangup struct {
}

Constructs PhoneCallDiscardReason

type TL_phoneCallDiscardReasonMissed

type TL_phoneCallDiscardReasonMissed struct {
}

Constructs PhoneCallDiscardReason

type TL_phoneCallDiscarded

type TL_phoneCallDiscarded struct {
	NeedRating bool
	NeedDebug  bool
	Video      bool
	ID         int64
	Reason     TL     // (optional) PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy
	Duration   *int32 // (optional)
}

Constructs PhoneCall

type TL_phoneCallEmpty

type TL_phoneCallEmpty struct {
	ID int64
}

Constructs PhoneCall

type TL_phoneCallProtocol

type TL_phoneCallProtocol struct {
	UDPP2P          bool
	UDPReflector    bool
	MinLayer        int32
	MaxLayer        int32
	LibraryVersions []string
}

Constructs PhoneCallProtocol

type TL_phoneCallRequested

type TL_phoneCallRequested struct {
	Video         bool
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int64
	ParticipantID int64
	GAHash        []byte
	Protocol      TL_phoneCallProtocol
}

Constructs PhoneCall

type TL_phoneCallWaiting

type TL_phoneCallWaiting struct {
	Video         bool
	ID            int64
	AccessHash    int64
	Date          int32
	AdminID       int64
	ParticipantID int64
	Protocol      TL_phoneCallProtocol
	ReceiveDate   *int32 // (optional)
}

Constructs PhoneCall

type TL_phoneConnection

type TL_phoneConnection struct {
	TCP     bool
	ID      int64
	IP      string
	IPv6    string
	Port    int32
	PeerTag []byte
}

Constructs PhoneConnection

type TL_phoneConnectionWebrtc

type TL_phoneConnectionWebrtc struct {
	Turn     bool
	STUN     bool
	ID       int64
	IP       string
	IPv6     string
	Port     int32
	Username string
	Password string
}

Constructs PhoneConnection

type TL_phone_acceptCall

type TL_phone_acceptCall struct {
	Peer     TL_inputPhoneCall
	GB       []byte
	Protocol TL_phoneCallProtocol
}

Returns phone.PhoneCall: TL_phone_phoneCall

type TL_phone_checkGroupCall

type TL_phone_checkGroupCall struct {
	Call    TL_inputGroupCall
	Sources []int32
}

Returns Vector<int>:

type TL_phone_confirmCall

type TL_phone_confirmCall struct {
	Peer           TL_inputPhoneCall
	GA             []byte
	KeyFingerprint int64
	Protocol       TL_phoneCallProtocol
}

Returns phone.PhoneCall: TL_phone_phoneCall

type TL_phone_createGroupCall

type TL_phone_createGroupCall struct {
	RTMPStream   bool
	Peer         TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	RandomID     int32
	Title        *string // (optional)
	ScheduleDate *int32  // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_discardCall

type TL_phone_discardCall struct {
	Video        bool
	Peer         TL_inputPhoneCall
	Duration     int32
	Reason       TL // PhoneCallDiscardReason: TL_phoneCallDiscardReasonMissed | TL_phoneCallDiscardReasonDisconnect | TL_phoneCallDiscardReasonHangup | TL_phoneCallDiscardReasonBusy
	ConnectionID int64
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_discardGroupCall

type TL_phone_discardGroupCall struct {
	Call TL_inputGroupCall
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_editGroupCallParticipant

type TL_phone_editGroupCallParticipant struct {
	Call               TL_inputGroupCall
	Participant        TL     // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Muted              *bool  // (optional)
	Volume             *int32 // (optional)
	RaiseHand          *bool  // (optional)
	VideoStopped       *bool  // (optional)
	VideoPaused        *bool  // (optional)
	PresentationPaused *bool  // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_editGroupCallTitle

type TL_phone_editGroupCallTitle struct {
	Call  TL_inputGroupCall
	Title string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_exportGroupCallInvite

type TL_phone_exportGroupCallInvite struct {
	CanSelfUnmute bool
	Call          TL_inputGroupCall
}

Returns phone.ExportedGroupCallInvite: TL_phone_exportedGroupCallInvite

type TL_phone_exportedGroupCallInvite

type TL_phone_exportedGroupCallInvite struct {
	Link string
}

Constructs phone.ExportedGroupCallInvite

type TL_phone_getCallConfig

type TL_phone_getCallConfig struct {
}

Returns DataJSON: TL_dataJSON

type TL_phone_getGroupCall

type TL_phone_getGroupCall struct {
	Call  TL_inputGroupCall
	Limit int32
}

Returns phone.GroupCall: TL_phone_groupCall

type TL_phone_getGroupCallJoinAs

type TL_phone_getGroupCallJoinAs struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns phone.JoinAsPeers: TL_phone_joinAsPeers

type TL_phone_getGroupCallStreamChannels

type TL_phone_getGroupCallStreamChannels struct {
	Call TL_inputGroupCall
}

Returns phone.GroupCallStreamChannels: TL_phone_groupCallStreamChannels

type TL_phone_getGroupCallStreamRTMPURL added in v0.166.2

type TL_phone_getGroupCallStreamRTMPURL struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Revoke bool
}

Returns phone.GroupCallStreamRtmpUrl: TL_phone_groupCallStreamRTMPURL

type TL_phone_getGroupParticipants

type TL_phone_getGroupParticipants struct {
	Call    TL_inputGroupCall
	IDs     []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Sources []int32
	Offset  string
	Limit   int32
}

Returns phone.GroupParticipants: TL_phone_groupParticipants

type TL_phone_groupCall

type TL_phone_groupCall struct {
	Call                   TL // GroupCall: TL_groupCallDiscarded | TL_groupCall
	Participants           []TL_groupCallParticipant
	ParticipantsNextOffset string
	Chats                  []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users                  []TL // User: TL_userEmpty | TL_user
}

Constructs phone.GroupCall

type TL_phone_groupCallStreamChannels

type TL_phone_groupCallStreamChannels struct {
	Channels []TL_groupCallStreamChannel
}

Constructs phone.GroupCallStreamChannels

type TL_phone_groupCallStreamRTMPURL added in v0.166.2

type TL_phone_groupCallStreamRTMPURL struct {
	URL string
	Key string
}

Constructs phone.GroupCallStreamRtmpUrl

type TL_phone_groupParticipants

type TL_phone_groupParticipants struct {
	Count        int32
	Participants []TL_groupCallParticipant
	NextOffset   string
	Chats        []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL // User: TL_userEmpty | TL_user
	Version      int32
}

Constructs phone.GroupParticipants

type TL_phone_inviteToGroupCall

type TL_phone_inviteToGroupCall struct {
	Call  TL_inputGroupCall
	Users []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_joinAsPeers

type TL_phone_joinAsPeers struct {
	Peers []TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Chats []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs phone.JoinAsPeers

type TL_phone_joinGroupCall

type TL_phone_joinGroupCall struct {
	Muted        bool
	VideoStopped bool
	Call         TL_inputGroupCall
	JoinAs       TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	InviteHash   *string // (optional)
	Params       TL_dataJSON
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_joinGroupCallPresentation

type TL_phone_joinGroupCallPresentation struct {
	Call   TL_inputGroupCall
	Params TL_dataJSON
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_leaveGroupCall

type TL_phone_leaveGroupCall struct {
	Call   TL_inputGroupCall
	Source int32
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_leaveGroupCallPresentation

type TL_phone_leaveGroupCallPresentation struct {
	Call TL_inputGroupCall
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_phoneCall

type TL_phone_phoneCall struct {
	PhoneCall TL   // PhoneCall: TL_phoneCallEmpty | TL_phoneCallWaiting | TL_phoneCallRequested | TL_phoneCallAccepted | TL_phoneCall | TL_phoneCallDiscarded
	Users     []TL // User: TL_userEmpty | TL_user
}

Constructs phone.PhoneCall

type TL_phone_receivedCall

type TL_phone_receivedCall struct {
	Peer TL_inputPhoneCall
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_phone_requestCall

type TL_phone_requestCall struct {
	Video    bool
	UserID   TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	RandomID int32
	GAHash   []byte
	Protocol TL_phoneCallProtocol
}

Returns phone.PhoneCall: TL_phone_phoneCall

type TL_phone_saveCallDebug

type TL_phone_saveCallDebug struct {
	Peer  TL_inputPhoneCall
	Debug TL_dataJSON
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_phone_saveCallLog

type TL_phone_saveCallLog struct {
	Peer TL_inputPhoneCall
	File TL // InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_phone_saveDefaultGroupCallJoinAs

type TL_phone_saveDefaultGroupCallJoinAs struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	JoinAs TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_phone_sendSignalingData

type TL_phone_sendSignalingData struct {
	Peer TL_inputPhoneCall
	Data []byte
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_phone_setCallRating

type TL_phone_setCallRating struct {
	UserInitiative bool
	Peer           TL_inputPhoneCall
	Rating         int32
	Comment        string
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_startScheduledGroupCall

type TL_phone_startScheduledGroupCall struct {
	Call TL_inputGroupCall
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_toggleGroupCallRecord

type TL_phone_toggleGroupCallRecord struct {
	Start         bool
	Video         bool
	Call          TL_inputGroupCall
	Title         *string // (optional)
	VideoPortrait *bool   // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_toggleGroupCallSettings

type TL_phone_toggleGroupCallSettings struct {
	ResetInviteHash bool
	Call            TL_inputGroupCall
	JoinMuted       *bool // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_phone_toggleGroupCallStartSubscription

type TL_phone_toggleGroupCallStartSubscription struct {
	Call       TL_inputGroupCall
	Subscribed bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_photo

type TL_photo struct {
	HasStickers   bool
	ID            int64
	AccessHash    int64
	FileReference []byte
	Date          int32
	Sizes         []TL // PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
	VideoSizes    []TL // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
	DCID          int32
}

Constructs Photo

type TL_photoCachedSize

type TL_photoCachedSize struct {
	Type  string
	W     int32
	H     int32
	Bytes []byte
}

Constructs PhotoSize

type TL_photoEmpty

type TL_photoEmpty struct {
	ID int64
}

Constructs Photo

type TL_photoPathSize

type TL_photoPathSize struct {
	Type  string
	Bytes []byte
}

Constructs PhotoSize

type TL_photoSize

type TL_photoSize struct {
	Type string
	W    int32
	H    int32
	Size int32
}

Constructs PhotoSize

type TL_photoSizeEmpty

type TL_photoSizeEmpty struct {
	Type string
}

Constructs PhotoSize

type TL_photoSizeProgressive

type TL_photoSizeProgressive struct {
	Type  string
	W     int32
	H     int32
	Sizes []int32
}

Constructs PhotoSize

type TL_photoStrippedSize

type TL_photoStrippedSize struct {
	Type  string
	Bytes []byte
}

Constructs PhotoSize

type TL_photos_deletePhotos

type TL_photos_deletePhotos struct {
	ID []TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}

Returns Vector<long>:

type TL_photos_getUserPhotos

type TL_photos_getUserPhotos struct {
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Offset int32
	MaxID  int64
	Limit  int32
}

Returns photos.Photos: TL_photos_photos | TL_photos_photosSlice

type TL_photos_photo

type TL_photos_photo struct {
	Photo TL   // Photo: TL_photoEmpty | TL_photo
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs photos.Photo

type TL_photos_photos

type TL_photos_photos struct {
	Photos []TL // Photo: TL_photoEmpty | TL_photo
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs photos.Photos

type TL_photos_photosSlice

type TL_photos_photosSlice struct {
	Count  int32
	Photos []TL // Photo: TL_photoEmpty | TL_photo
	Users  []TL // User: TL_userEmpty | TL_user
}

Constructs photos.Photos

type TL_photos_updateProfilePhoto

type TL_photos_updateProfilePhoto struct {
	Fallback bool
	Bot      TL // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	ID       TL // InputPhoto: TL_inputPhotoEmpty | TL_inputPhoto
}

Returns photos.Photo: TL_photos_photo

type TL_photos_uploadContactProfilePhoto

type TL_photos_uploadContactProfilePhoto struct {
	Suggest          bool
	Save             bool
	UserID           TL       // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	File             TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Video            TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	VideoStartTS     *float64 // (optional)
	VideoEmojiMarkup TL       // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}

Returns photos.Photo: TL_photos_photo

type TL_photos_uploadProfilePhoto

type TL_photos_uploadProfilePhoto struct {
	Fallback         bool
	Bot              TL       // (optional) InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	File             TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	Video            TL       // (optional) InputFile: TL_inputFile | TL_inputFileBig | TL_inputFileStoryDocument
	VideoStartTS     *float64 // (optional)
	VideoEmojiMarkup TL       // (optional) VideoSize: TL_videoSize | TL_videoSizeEmojiMarkup | TL_videoSizeStickerMarkup
}

Returns photos.Photo: TL_photos_photo

type TL_ping

type TL_ping struct {
	PingID int64
}

Returns Pong: TL_pong

type TL_pingDelayDisconnect added in v0.166.2

type TL_pingDelayDisconnect struct {
	PingID          int64
	DisconnectDelay int32
}

Returns Pong: TL_pong

type TL_poll

type TL_poll struct {
	ID             int64
	Closed         bool
	PublicVoters   bool
	MultipleChoice bool
	Quiz           bool
	Question       TL_textWithEntities
	Answers        []TL_pollAnswer
	ClosePeriod    *int32 // (optional)
	CloseDate      *int32 // (optional)
}

Constructs Poll

type TL_pollAnswer

type TL_pollAnswer struct {
	Text   TL_textWithEntities
	Option []byte
}

Constructs PollAnswer

type TL_pollAnswerVoters

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

Constructs PollAnswerVoters

type TL_pollResults

type TL_pollResults struct {
	Min              bool
	Results          []TL_pollAnswerVoters // (optional)
	TotalVoters      *int32                // (optional)
	RecentVoters     []TL                  // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Solution         *string               // (optional)
	SolutionEntities []TL                  // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs PollResults

type TL_pong

type TL_pong struct {
	MsgID  int64
	PingID int64
}

Constructs Pong

type TL_popularContact

type TL_popularContact struct {
	ClientID  int64
	Importers int32
}

Constructs PopularContact

type TL_postAddress

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

Constructs PostAddress

type TL_postInteractionCountersMessage added in v0.167.0

type TL_postInteractionCountersMessage struct {
	MsgID     int32
	Views     int32
	Forwards  int32
	Reactions int32
}

Constructs PostInteractionCounters

type TL_postInteractionCountersStory added in v0.167.0

type TL_postInteractionCountersStory struct {
	StoryID   int32
	Views     int32
	Forwards  int32
	Reactions int32
}

Constructs PostInteractionCounters

type TL_pqInnerData added in v0.166.2

type TL_pqInnerData struct {
	PQ          string
	P           string
	Q           string
	Nonce       [16]byte
	ServerNonce [16]byte
	NewNonce    [32]byte
}

Constructs P_Q_inner_data

type TL_pqInnerDataDC added in v0.166.2

type TL_pqInnerDataDC struct {
	PQ          string
	P           string
	Q           string
	Nonce       [16]byte
	ServerNonce [16]byte
	NewNonce    [32]byte
	DC          int32
}

Constructs P_Q_inner_data

type TL_pqInnerDataTemp added in v0.166.2

type TL_pqInnerDataTemp struct {
	PQ          string
	P           string
	Q           string
	Nonce       [16]byte
	ServerNonce [16]byte
	NewNonce    [32]byte
	ExpiresIn   int32
}

Constructs P_Q_inner_data

type TL_pqInnerDataTempDC added in v0.166.2

type TL_pqInnerDataTempDC struct {
	PQ          string
	P           string
	Q           string
	Nonce       [16]byte
	ServerNonce [16]byte
	NewNonce    [32]byte
	DC          int32
	ExpiresIn   int32
}

Constructs P_Q_inner_data

type TL_premiumGiftCodeOption added in v0.166.0

type TL_premiumGiftCodeOption struct {
	Users         int32
	Months        int32
	StoreProduct  *string // (optional)
	StoreQuantity *int32  // (optional)
	Currency      string
	Amount        int64
}

Constructs PremiumGiftCodeOption

type TL_premiumGiftOption

type TL_premiumGiftOption struct {
	Months       int32
	Currency     string
	Amount       int64
	BotURL       string
	StoreProduct *string // (optional)
}

Constructs PremiumGiftOption

type TL_premiumSubscriptionOption

type TL_premiumSubscriptionOption struct {
	Current            bool
	CanPurchaseUpgrade bool
	Transaction        *string // (optional)
	Months             int32
	Currency           string
	Amount             int64
	BotURL             string
	StoreProduct       *string // (optional)
}

Constructs PremiumSubscriptionOption

type TL_premium_applyBoost added in v0.166.0

type TL_premium_applyBoost struct {
	Slots []int32 // (optional)
	Peer  TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns premium.MyBoosts: TL_premium_myBoosts

type TL_premium_boostsList added in v0.166.0

type TL_premium_boostsList struct {
	Count      int32
	Boosts     []TL_boost
	NextOffset *string // (optional)
	Users      []TL    // User: TL_userEmpty | TL_user
}

Constructs premium.BoostsList

type TL_premium_boostsStatus added in v0.166.0

type TL_premium_boostsStatus struct {
	MyBoost            bool
	Level              int32
	CurrentLevelBoosts int32
	Boosts             int32
	GiftBoosts         *int32                // (optional)
	NextLevelBoosts    *int32                // (optional)
	PremiumAudience    *TL_statsPercentValue // (optional)
	BoostURL           string
	PrepaidGiveaways   []TL    // (optional) PrepaidGiveaway: TL_prepaidGiveaway | TL_prepaidStarsGiveaway
	MyBoostSlots       []int32 // (optional)
}

Constructs premium.BoostsStatus

type TL_premium_getBoostsList added in v0.166.0

type TL_premium_getBoostsList struct {
	Gifts  bool
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Offset string
	Limit  int32
}

Returns premium.BoostsList: TL_premium_boostsList

type TL_premium_getBoostsStatus added in v0.166.0

type TL_premium_getBoostsStatus struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns premium.BoostsStatus: TL_premium_boostsStatus

type TL_premium_getMyBoosts added in v0.166.0

type TL_premium_getMyBoosts struct {
}

Returns premium.MyBoosts: TL_premium_myBoosts

type TL_premium_getUserBoosts added in v0.167.0

type TL_premium_getUserBoosts struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	UserID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns premium.BoostsList: TL_premium_boostsList

type TL_premium_myBoosts added in v0.166.0

type TL_premium_myBoosts struct {
	MyBoosts []TL_myBoost
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs premium.MyBoosts

type TL_prepaidGiveaway added in v0.166.0

type TL_prepaidGiveaway struct {
	ID       int64
	Months   int32
	Quantity int32
	Date     int32
}

Constructs PrepaidGiveaway

type TL_prepaidStarsGiveaway added in v0.187.0

type TL_prepaidStarsGiveaway struct {
	ID       int64
	Stars    int64
	Quantity int32
	Boosts   int32
	Date     int32
}

Constructs PrepaidGiveaway

type TL_privacyKeyAbout added in v0.166.0

type TL_privacyKeyAbout struct {
}

Constructs PrivacyKey

type TL_privacyKeyAddedByPhone

type TL_privacyKeyAddedByPhone struct {
}

Constructs PrivacyKey

type TL_privacyKeyBirthday added in v0.181.0

type TL_privacyKeyBirthday struct {
}

Constructs PrivacyKey

type TL_privacyKeyChatInvite

type TL_privacyKeyChatInvite struct {
}

Constructs PrivacyKey

type TL_privacyKeyForwards

type TL_privacyKeyForwards struct {
}

Constructs PrivacyKey

type TL_privacyKeyPhoneCall

type TL_privacyKeyPhoneCall struct {
}

Constructs PrivacyKey

type TL_privacyKeyPhoneNumber

type TL_privacyKeyPhoneNumber struct {
}

Constructs PrivacyKey

type TL_privacyKeyPhoneP2P

type TL_privacyKeyPhoneP2P struct {
}

Constructs PrivacyKey

type TL_privacyKeyProfilePhoto

type TL_privacyKeyProfilePhoto struct {
}

Constructs PrivacyKey

type TL_privacyKeyStatusTimestamp

type TL_privacyKeyStatusTimestamp struct {
}

Constructs PrivacyKey

type TL_privacyKeyVoiceMessages

type TL_privacyKeyVoiceMessages struct {
}

Constructs PrivacyKey

type TL_privacyValueAllowAll

type TL_privacyValueAllowAll struct {
}

Constructs PrivacyRule

type TL_privacyValueAllowChatParticipants

type TL_privacyValueAllowChatParticipants struct {
	Chats []int64
}

Constructs PrivacyRule

type TL_privacyValueAllowCloseFriends added in v0.166.0

type TL_privacyValueAllowCloseFriends struct {
}

Constructs PrivacyRule

type TL_privacyValueAllowContacts

type TL_privacyValueAllowContacts struct {
}

Constructs PrivacyRule

type TL_privacyValueAllowPremium added in v0.181.0

type TL_privacyValueAllowPremium struct {
}

Constructs PrivacyRule

type TL_privacyValueAllowUsers

type TL_privacyValueAllowUsers struct {
	Users []int64
}

Constructs PrivacyRule

type TL_privacyValueDisallowAll

type TL_privacyValueDisallowAll struct {
}

Constructs PrivacyRule

type TL_privacyValueDisallowChatParticipants

type TL_privacyValueDisallowChatParticipants struct {
	Chats []int64
}

Constructs PrivacyRule

type TL_privacyValueDisallowContacts

type TL_privacyValueDisallowContacts struct {
}

Constructs PrivacyRule

type TL_privacyValueDisallowUsers

type TL_privacyValueDisallowUsers struct {
	Users []int64
}

Constructs PrivacyRule

type TL_publicForwardMessage added in v0.167.0

type TL_publicForwardMessage struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs PublicForward

type TL_publicForwardStory added in v0.167.0

type TL_publicForwardStory struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs PublicForward

type TL_quickReply added in v0.181.0

type TL_quickReply struct {
	ShortcutID int32
	Shortcut   string
	TopMessage int32
	Count      int32
}

Constructs QuickReply

type TL_reactionCount

type TL_reactionCount struct {
	ChosenOrder *int32 // (optional)
	Reaction    TL     // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	Count       int32
}

Constructs ReactionCount

type TL_reactionCustomEmoji

type TL_reactionCustomEmoji struct {
	DocumentID int64
}

Constructs Reaction

type TL_reactionEmoji

type TL_reactionEmoji struct {
	Emoticon string
}

Constructs Reaction

type TL_reactionEmpty

type TL_reactionEmpty struct {
}

Constructs Reaction

type TL_reactionNotificationsFromAll added in v0.181.0

type TL_reactionNotificationsFromAll struct {
}

Constructs ReactionNotificationsFrom

type TL_reactionNotificationsFromContacts added in v0.181.0

type TL_reactionNotificationsFromContacts struct {
}

Constructs ReactionNotificationsFrom

type TL_reactionPaid added in v0.186.0

type TL_reactionPaid struct {
}

Constructs Reaction

type TL_reactionsNotifySettings added in v0.181.0

type TL_reactionsNotifySettings struct {
	MessagesNotifyFrom TL // (optional) ReactionNotificationsFrom: TL_reactionNotificationsFromContacts | TL_reactionNotificationsFromAll
	StoriesNotifyFrom  TL // (optional) ReactionNotificationsFrom: TL_reactionNotificationsFromContacts | TL_reactionNotificationsFromAll
	Sound              TL // NotificationSound: TL_notificationSoundDefault | TL_notificationSoundNone | TL_notificationSoundLocal | TL_notificationSoundRingtone
	ShowPreviews       bool
}

Constructs ReactionsNotifySettings

type TL_readParticipantDate

type TL_readParticipantDate struct {
	UserID int64
	Date   int32
}

Constructs ReadParticipantDate

type TL_receivedNotifyMessage

type TL_receivedNotifyMessage struct {
	ID    int32
	Flags int32
}

Constructs ReceivedNotifyMessage

type TL_recentMeURLChat added in v0.166.2

type TL_recentMeURLChat struct {
	URL    string
	ChatID int64
}

Constructs RecentMeUrl

type TL_recentMeURLChatInvite added in v0.166.2

type TL_recentMeURLChatInvite struct {
	URL        string
	ChatInvite TL // ChatInvite: TL_chatInviteAlready | TL_chatInvite | TL_chatInvitePeek
}

Constructs RecentMeUrl

type TL_recentMeURLStickerSet added in v0.166.2

type TL_recentMeURLStickerSet struct {
	URL string
	Set TL // StickerSetCovered: TL_stickerSetCovered | TL_stickerSetMultiCovered | TL_stickerSetFullCovered | TL_stickerSetNoCovered
}

Constructs RecentMeUrl

type TL_recentMeURLUnknown added in v0.166.2

type TL_recentMeURLUnknown struct {
	URL string
}

Constructs RecentMeUrl

type TL_recentMeURLUser added in v0.166.2

type TL_recentMeURLUser struct {
	URL    string
	UserID int64
}

Constructs RecentMeUrl

type TL_replyInlineMarkup

type TL_replyInlineMarkup struct {
	Rows []TL_keyboardButtonRow
}

Constructs ReplyMarkup

type TL_replyKeyboardForceReply

type TL_replyKeyboardForceReply struct {
	SingleUse   bool
	Selective   bool
	Placeholder *string // (optional)
}

Constructs ReplyMarkup

type TL_replyKeyboardHide

type TL_replyKeyboardHide struct {
	Selective bool
}

Constructs ReplyMarkup

type TL_replyKeyboardMarkup

type TL_replyKeyboardMarkup struct {
	Resize      bool
	SingleUse   bool
	Selective   bool
	Persistent  bool
	Rows        []TL_keyboardButtonRow
	Placeholder *string // (optional)
}

Constructs ReplyMarkup

type TL_reportResultAddComment added in v0.192.0

type TL_reportResultAddComment struct {
	Optional bool
	Option   []byte
}

Constructs ReportResult

type TL_reportResultChooseOption added in v0.192.0

type TL_reportResultChooseOption struct {
	Title   string
	Options []TL_messageReportOption
}

Constructs ReportResult

type TL_reportResultReported added in v0.192.0

type TL_reportResultReported struct {
}

Constructs ReportResult

type TL_reqDHParams added in v0.166.2

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

Returns Server_DH_Params: TL_serverDHParamsFail | TL_serverDHParamsOK

type TL_reqPQ added in v0.166.2

type TL_reqPQ struct {
	Nonce [16]byte
}

Returns ResPQ: TL_resPQ

type TL_reqPQMulti added in v0.166.2

type TL_reqPQMulti struct {
	Nonce [16]byte
}

Returns ResPQ: TL_resPQ

type TL_requestPeerTypeBroadcast

type TL_requestPeerTypeBroadcast struct {
	Creator         bool
	HasUsername     *bool               // (optional)
	UserAdminRights *TL_chatAdminRights // (optional)
	BotAdminRights  *TL_chatAdminRights // (optional)
}

Constructs RequestPeerType

type TL_requestPeerTypeChat

type TL_requestPeerTypeChat struct {
	Creator         bool
	BotParticipant  bool
	HasUsername     *bool               // (optional)
	Forum           *bool               // (optional)
	UserAdminRights *TL_chatAdminRights // (optional)
	BotAdminRights  *TL_chatAdminRights // (optional)
}

Constructs RequestPeerType

type TL_requestPeerTypeUser

type TL_requestPeerTypeUser struct {
	Bot     *bool // (optional)
	Premium *bool // (optional)
}

Constructs RequestPeerType

type TL_requestedPeerChannel added in v0.181.0

type TL_requestedPeerChannel struct {
	ChannelID int64
	Title     *string // (optional)
	Username  *string // (optional)
	Photo     TL      // (optional) Photo: TL_photoEmpty | TL_photo
}

Constructs RequestedPeer

type TL_requestedPeerChat added in v0.181.0

type TL_requestedPeerChat struct {
	ChatID int64
	Title  *string // (optional)
	Photo  TL      // (optional) Photo: TL_photoEmpty | TL_photo
}

Constructs RequestedPeer

type TL_requestedPeerUser added in v0.181.0

type TL_requestedPeerUser struct {
	UserID    int64
	FirstName *string // (optional)
	LastName  *string // (optional)
	Username  *string // (optional)
	Photo     TL      // (optional) Photo: TL_photoEmpty | TL_photo
}

Constructs RequestedPeer

type TL_resPQ

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

Constructs ResPQ

type TL_restrictionReason

type TL_restrictionReason struct {
	Platform string
	Reason   string
	Text     string
}

Constructs RestrictionReason

type TL_rpcAnswerDropped added in v0.166.2

type TL_rpcAnswerDropped struct {
	MsgID int64
	SeqNo int32
	Bytes int32
}

Constructs RpcDropAnswer

type TL_rpcAnswerDroppedRunning added in v0.166.2

type TL_rpcAnswerDroppedRunning struct {
}

Constructs RpcDropAnswer

type TL_rpcAnswerUnknown added in v0.166.2

type TL_rpcAnswerUnknown struct {
}

Constructs RpcDropAnswer

type TL_rpcDropAnswer added in v0.166.2

type TL_rpcDropAnswer struct {
	ReqMsgID int64
}

Returns RpcDropAnswer: TL_rpcAnswerUnknown | TL_rpcAnswerDroppedRunning | TL_rpcAnswerDropped

type TL_rpcError added in v0.166.2

type TL_rpcError struct {
	ErrorCode    int32
	ErrorMessage string
}

Constructs RpcError

type TL_rpcResult added in v0.166.2

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

type TL_savedDialog added in v0.181.0

type TL_savedDialog struct {
	Pinned     bool
	Peer       TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TopMessage int32
}

Constructs SavedDialog

type TL_savedPhoneContact

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

Constructs SavedContact

type TL_savedReactionTag added in v0.181.0

type TL_savedReactionTag struct {
	Reaction TL      // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	Title    *string // (optional)
	Count    int32
}

Constructs SavedReactionTag

type TL_searchResultPosition

type TL_searchResultPosition struct {
	MsgID  int32
	Date   int32
	Offset int32
}

Constructs SearchResultsPosition

type TL_searchResultsCalendarPeriod

type TL_searchResultsCalendarPeriod struct {
	Date     int32
	MinMsgID int32
	MaxMsgID int32
	Count    int32
}

Constructs SearchResultsCalendarPeriod

type TL_secureCredentialsEncrypted

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

Constructs SecureCredentialsEncrypted

type TL_secureData

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

Constructs SecureData

type TL_secureFile

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

Constructs SecureFile

type TL_secureFileEmpty

type TL_secureFileEmpty struct {
}

Constructs SecureFile

type TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 added in v0.166.2

type TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 struct {
	Salt []byte
}

Constructs SecurePasswordKdfAlgo

type TL_securePasswordKDFAlgoSHA512 added in v0.166.2

type TL_securePasswordKDFAlgoSHA512 struct {
	Salt []byte
}

Constructs SecurePasswordKdfAlgo

type TL_securePasswordKDFAlgoUnknown added in v0.166.2

type TL_securePasswordKDFAlgoUnknown struct {
}

Constructs SecurePasswordKdfAlgo

type TL_securePlainEmail

type TL_securePlainEmail struct {
	Email string
}

Constructs SecurePlainData

type TL_securePlainPhone

type TL_securePlainPhone struct {
	Phone string
}

Constructs SecurePlainData

type TL_secureRequiredType

type TL_secureRequiredType struct {
	NativeNames         bool
	SelfieRequired      bool
	TranslationRequired bool
	Type                TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
}

Constructs SecureRequiredType

type TL_secureRequiredTypeOneOf

type TL_secureRequiredTypeOneOf struct {
	Types []TL // SecureRequiredType: TL_secureRequiredType | TL_secureRequiredTypeOneOf
}

Constructs SecureRequiredType

type TL_secureSecretSettings

type TL_secureSecretSettings struct {
	SecureAlgo     TL // SecurePasswordKdfAlgo: TL_securePasswordKDFAlgoUnknown | TL_securePasswordKDFAlgoPBKDF2HMACSHA512iter100000 | TL_securePasswordKDFAlgoSHA512
	SecureSecret   []byte
	SecureSecretID int64
}

Constructs SecureSecretSettings

type TL_secureValue

type TL_secureValue struct {
	Type        TL             // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	Data        *TL_secureData // (optional)
	FrontSide   TL             // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
	ReverseSide TL             // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
	Selfie      TL             // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
	Translation []TL           // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
	Files       []TL           // (optional) SecureFile: TL_secureFileEmpty | TL_secureFile
	PlainData   TL             // (optional) SecurePlainData: TL_securePlainPhone | TL_securePlainEmail
	Hash        []byte
}

Constructs SecureValue

type TL_secureValueError

type TL_secureValueError struct {
	Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	Hash []byte
	Text string
}

Constructs SecureValueError

type TL_secureValueErrorData

type TL_secureValueErrorData struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	DataHash []byte
	Field    string
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorFile

type TL_secureValueErrorFile struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash []byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorFiles

type TL_secureValueErrorFiles struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash [][]byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorFrontSide

type TL_secureValueErrorFrontSide struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash []byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorReverseSide

type TL_secureValueErrorReverseSide struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash []byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorSelfie

type TL_secureValueErrorSelfie struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash []byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorTranslationFile

type TL_secureValueErrorTranslationFile struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash []byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueErrorTranslationFiles

type TL_secureValueErrorTranslationFiles struct {
	Type     TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	FileHash [][]byte
	Text     string
}

Constructs SecureValueError

type TL_secureValueHash

type TL_secureValueHash struct {
	Type TL // SecureValueType: TL_secureValueTypePersonalDetails | TL_secureValueTypePassport | TL_secureValueTypeDriverLicense | TL_secureValueTypeIdentityCard | TL_secureValueTypeInternalPassport | TL_secureValueTypeAddress | TL_secureValueTypeUtilityBill | TL_secureValueTypeBankStatement | TL_secureValueTypeRentalAgreement | TL_secureValueTypePassportRegistration | TL_secureValueTypeTemporaryRegistration | TL_secureValueTypePhone | TL_secureValueTypeEmail
	Hash []byte
}

Constructs SecureValueHash

type TL_secureValueTypeAddress

type TL_secureValueTypeAddress struct {
}

Constructs SecureValueType

type TL_secureValueTypeBankStatement

type TL_secureValueTypeBankStatement struct {
}

Constructs SecureValueType

type TL_secureValueTypeDriverLicense

type TL_secureValueTypeDriverLicense struct {
}

Constructs SecureValueType

type TL_secureValueTypeEmail

type TL_secureValueTypeEmail struct {
}

Constructs SecureValueType

type TL_secureValueTypeIdentityCard

type TL_secureValueTypeIdentityCard struct {
}

Constructs SecureValueType

type TL_secureValueTypeInternalPassport

type TL_secureValueTypeInternalPassport struct {
}

Constructs SecureValueType

type TL_secureValueTypePassport

type TL_secureValueTypePassport struct {
}

Constructs SecureValueType

type TL_secureValueTypePassportRegistration

type TL_secureValueTypePassportRegistration struct {
}

Constructs SecureValueType

type TL_secureValueTypePersonalDetails

type TL_secureValueTypePersonalDetails struct {
}

Constructs SecureValueType

type TL_secureValueTypePhone

type TL_secureValueTypePhone struct {
}

Constructs SecureValueType

type TL_secureValueTypeRentalAgreement

type TL_secureValueTypeRentalAgreement struct {
}

Constructs SecureValueType

type TL_secureValueTypeTemporaryRegistration

type TL_secureValueTypeTemporaryRegistration struct {
}

Constructs SecureValueType

type TL_secureValueTypeUtilityBill

type TL_secureValueTypeUtilityBill struct {
}

Constructs SecureValueType

type TL_sendAsPeer

type TL_sendAsPeer struct {
	PremiumRequired bool
	Peer            TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs SendAsPeer

type TL_sendMessageCancelAction

type TL_sendMessageCancelAction struct {
}

Constructs SendMessageAction

type TL_sendMessageChooseContactAction

type TL_sendMessageChooseContactAction struct {
}

Constructs SendMessageAction

type TL_sendMessageChooseStickerAction

type TL_sendMessageChooseStickerAction struct {
}

Constructs SendMessageAction

type TL_sendMessageEmojiInteraction

type TL_sendMessageEmojiInteraction struct {
	Emoticon    string
	MsgID       int32
	Interaction TL_dataJSON
}

Constructs SendMessageAction

type TL_sendMessageEmojiInteractionSeen

type TL_sendMessageEmojiInteractionSeen struct {
	Emoticon string
}

Constructs SendMessageAction

type TL_sendMessageGamePlayAction

type TL_sendMessageGamePlayAction struct {
}

Constructs SendMessageAction

type TL_sendMessageGeoLocationAction

type TL_sendMessageGeoLocationAction struct {
}

Constructs SendMessageAction

type TL_sendMessageHistoryImportAction

type TL_sendMessageHistoryImportAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_sendMessageRecordAudioAction

type TL_sendMessageRecordAudioAction struct {
}

Constructs SendMessageAction

type TL_sendMessageRecordRoundAction

type TL_sendMessageRecordRoundAction struct {
}

Constructs SendMessageAction

type TL_sendMessageRecordVideoAction

type TL_sendMessageRecordVideoAction struct {
}

Constructs SendMessageAction

type TL_sendMessageTypingAction

type TL_sendMessageTypingAction struct {
}

Constructs SendMessageAction

type TL_sendMessageUploadAudioAction

type TL_sendMessageUploadAudioAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_sendMessageUploadDocumentAction

type TL_sendMessageUploadDocumentAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_sendMessageUploadPhotoAction

type TL_sendMessageUploadPhotoAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_sendMessageUploadRoundAction

type TL_sendMessageUploadRoundAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_sendMessageUploadVideoAction

type TL_sendMessageUploadVideoAction struct {
	Progress int32
}

Constructs SendMessageAction

type TL_serverDHInnerData added in v0.166.2

type TL_serverDHInnerData struct {
	Nonce       [16]byte
	ServerNonce [16]byte
	G           int32
	DHPrime     string
	GA          string
	ServerTime  int32
}

Constructs Server_DH_inner_data

type TL_serverDHParamsFail added in v0.166.2

type TL_serverDHParamsFail struct {
	Nonce        [16]byte
	ServerNonce  [16]byte
	NewNonceHash [16]byte
}

Constructs Server_DH_Params

type TL_serverDHParamsOK added in v0.166.2

type TL_serverDHParamsOK struct {
	Nonce           [16]byte
	ServerNonce     [16]byte
	EncryptedAnswer string
}

Constructs Server_DH_Params

type TL_setClientDHParams added in v0.166.2

type TL_setClientDHParams struct {
	Nonce         [16]byte
	ServerNonce   [16]byte
	EncryptedData string
}

Returns Set_client_DH_params_answer: TL_dhGenOK | TL_dhGenRetry | TL_dhGenFail

type TL_shippingOption

type TL_shippingOption struct {
	ID     string
	Title  string
	Prices []TL_labeledPrice
}

Constructs ShippingOption

type TL_smsJob added in v0.181.0

type TL_smsJob struct {
	JobID       string
	PhoneNumber string
	Text        string
}

Constructs SmsJob

type TL_smsjobs_eligibleToJoin added in v0.181.0

type TL_smsjobs_eligibleToJoin struct {
	TermsURL       string
	MonthlySentSMS int32
}

Constructs smsjobs.EligibilityToJoin

type TL_smsjobs_finishJob added in v0.181.0

type TL_smsjobs_finishJob struct {
	JobID string
	Error *string // (optional)
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_smsjobs_getSMSJob added in v0.181.0

type TL_smsjobs_getSMSJob struct {
	JobID string
}

Returns SmsJob: TL_smsJob

type TL_smsjobs_getStatus added in v0.181.0

type TL_smsjobs_getStatus struct {
}

Returns smsjobs.Status: TL_smsjobs_status

type TL_smsjobs_isEligibleToJoin added in v0.181.0

type TL_smsjobs_isEligibleToJoin struct {
}

Returns smsjobs.EligibilityToJoin: TL_smsjobs_eligibleToJoin

type TL_smsjobs_join added in v0.181.0

type TL_smsjobs_join struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_smsjobs_leave added in v0.181.0

type TL_smsjobs_leave struct {
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_smsjobs_status added in v0.181.0

type TL_smsjobs_status struct {
	AllowInternational bool
	RecentSent         int32
	RecentSince        int32
	RecentRemains      int32
	TotalSent          int32
	TotalSince         int32
	LastGiftSlug       *string // (optional)
	TermsURL           string
}

Constructs smsjobs.Status

type TL_smsjobs_updateSettings added in v0.181.0

type TL_smsjobs_updateSettings struct {
	AllowInternational bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_speakingInGroupCallAction

type TL_speakingInGroupCallAction struct {
}

Constructs SendMessageAction

type TL_sponsoredMessage

type TL_sponsoredMessage struct {
	Recommended    bool
	CanReport      bool
	RandomID       []byte
	URL            string
	Title          string
	Message        string
	Entities       []TL          // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Photo          TL            // (optional) Photo: TL_photoEmpty | TL_photo
	Media          TL            // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	Color          *TL_peerColor // (optional)
	ButtonText     string
	SponsorInfo    *string // (optional)
	AdditionalInfo *string // (optional)
}

Constructs SponsoredMessage

type TL_sponsoredMessageReportOption added in v0.181.0

type TL_sponsoredMessageReportOption struct {
	Text   string
	Option []byte
}

Constructs SponsoredMessageReportOption

type TL_starGift added in v0.192.0

type TL_starGift struct {
	Limited             bool
	SoldOut             bool
	ID                  int64
	Sticker             TL // Document: TL_documentEmpty | TL_document
	Stars               int64
	AvailabilityRemains *int32 // (optional)
	AvailabilityTotal   *int32 // (optional)
	ConvertStars        int64
	FirstSaleDate       *int32 // (optional)
	LastSaleDate        *int32 // (optional)
}

Constructs StarGift

type TL_starsGiftOption added in v0.185.0

type TL_starsGiftOption struct {
	Extended     bool
	Stars        int64
	StoreProduct *string // (optional)
	Currency     string
	Amount       int64
}

Constructs StarsGiftOption

type TL_starsGiveawayOption added in v0.187.0

type TL_starsGiveawayOption struct {
	Extended     bool
	Default      bool
	Stars        int64
	YearlyBoosts int32
	StoreProduct *string // (optional)
	Currency     string
	Amount       int64
	Winners      []TL_starsGiveawayWinnersOption
}

Constructs StarsGiveawayOption

type TL_starsGiveawayWinnersOption added in v0.187.0

type TL_starsGiveawayWinnersOption struct {
	Default      bool
	Users        int32
	PerUserStars int64
}

Constructs StarsGiveawayWinnersOption

type TL_starsRevenueStatus added in v0.183.0

type TL_starsRevenueStatus struct {
	WithdrawalEnabled bool
	CurrentBalance    int64
	AvailableBalance  int64
	OverallRevenue    int64
	NextWithdrawalAt  *int32 // (optional)
}

Constructs StarsRevenueStatus

type TL_starsSubscription added in v0.186.0

type TL_starsSubscription struct {
	Canceled       bool
	CanRefulfill   bool
	MissingBalance bool
	ID             string
	Peer           TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	UntilDate      int32
	Pricing        TL_starsSubscriptionPricing
	ChatInviteHash *string // (optional)
}

Constructs StarsSubscription

type TL_starsSubscriptionPricing added in v0.186.0

type TL_starsSubscriptionPricing struct {
	Period int32
	Amount int64
}

Constructs StarsSubscriptionPricing

type TL_starsTopupOption added in v0.181.0

type TL_starsTopupOption struct {
	Extended     bool
	Stars        int64
	StoreProduct *string // (optional)
	Currency     string
	Amount       int64
}

Constructs StarsTopupOption

type TL_starsTransaction added in v0.181.0

type TL_starsTransaction struct {
	Refund             bool
	Pending            bool
	Failed             bool
	Gift               bool
	Reaction           bool
	ID                 string
	Stars              int64
	Date               int32
	Peer               TL           // StarsTransactionPeer: TL_starsTransactionPeerUnsupported | TL_starsTransactionPeerAppStore | TL_starsTransactionPeerPlayMarket | TL_starsTransactionPeerPremiumBot | TL_starsTransactionPeerFragment | TL_starsTransactionPeer | TL_starsTransactionPeerAds | TL_starsTransactionPeerAPI
	Title              *string      // (optional)
	Description        *string      // (optional)
	Photo              TL           // (optional) WebDocument: TL_webDocument | TL_webDocumentNoProxy
	TransactionDate    *int32       // (optional)
	TransactionURL     *string      // (optional)
	BotPayload         []byte       // (optional)
	MsgID              *int32       // (optional)
	ExtendedMedia      []TL         // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	SubscriptionPeriod *int32       // (optional)
	GiveawayPostID     *int32       // (optional)
	Stargift           *TL_starGift // (optional)
	FloodskipNumber    *int32       // (optional)
}

Constructs StarsTransaction

type TL_starsTransactionPeer added in v0.181.0

type TL_starsTransactionPeer struct {
	Peer TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerAPI added in v0.192.0

type TL_starsTransactionPeerAPI struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerAds added in v0.183.0

type TL_starsTransactionPeerAds struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerAppStore added in v0.181.0

type TL_starsTransactionPeerAppStore struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerFragment added in v0.181.0

type TL_starsTransactionPeerFragment struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerPlayMarket added in v0.181.0

type TL_starsTransactionPeerPlayMarket struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerPremiumBot added in v0.181.0

type TL_starsTransactionPeerPremiumBot struct {
}

Constructs StarsTransactionPeer

type TL_starsTransactionPeerUnsupported added in v0.181.0

type TL_starsTransactionPeerUnsupported struct {
}

Constructs StarsTransactionPeer

type TL_statsAbsValueAndPrev

type TL_statsAbsValueAndPrev struct {
	Current  float64
	Previous float64
}

Constructs StatsAbsValueAndPrev

type TL_statsDateRangeDays

type TL_statsDateRangeDays struct {
	MinDate int32
	MaxDate int32
}

Constructs StatsDateRangeDays

type TL_statsGraph

type TL_statsGraph struct {
	JSON      TL_dataJSON
	ZoomToken *string // (optional)
}

Constructs StatsGraph

type TL_statsGraphAsync

type TL_statsGraphAsync struct {
	Token string
}

Constructs StatsGraph

type TL_statsGraphError

type TL_statsGraphError struct {
	Error string
}

Constructs StatsGraph

type TL_statsGroupTopAdmin

type TL_statsGroupTopAdmin struct {
	UserID  int64
	Deleted int32
	Kicked  int32
	Banned  int32
}

Constructs StatsGroupTopAdmin

type TL_statsGroupTopInviter

type TL_statsGroupTopInviter struct {
	UserID      int64
	Invitations int32
}

Constructs StatsGroupTopInviter

type TL_statsGroupTopPoster

type TL_statsGroupTopPoster struct {
	UserID   int64
	Messages int32
	AvgChars int32
}

Constructs StatsGroupTopPoster

type TL_statsPercentValue

type TL_statsPercentValue struct {
	Part  float64
	Total float64
}

Constructs StatsPercentValue

type TL_statsURL

type TL_statsURL struct {
	URL string
}

Constructs StatsURL

type TL_stats_broadcastRevenueStats added in v0.181.0

type TL_stats_broadcastRevenueStats struct {
	TopHoursGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	RevenueGraph  TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	Balances      TL_broadcastRevenueBalances
	UsdRate       float64
}

Constructs stats.BroadcastRevenueStats

type TL_stats_broadcastRevenueTransactions added in v0.181.0

type TL_stats_broadcastRevenueTransactions struct {
	Count        int32
	Transactions []TL // BroadcastRevenueTransaction: TL_broadcastRevenueTransactionProceeds | TL_broadcastRevenueTransactionWithdrawal | TL_broadcastRevenueTransactionRefund
}

Constructs stats.BroadcastRevenueTransactions

type TL_stats_broadcastRevenueWithdrawalURL added in v0.181.0

type TL_stats_broadcastRevenueWithdrawalURL struct {
	URL string
}

Constructs stats.BroadcastRevenueWithdrawalUrl

type TL_stats_broadcastStats

type TL_stats_broadcastStats struct {
	Period                       TL_statsDateRangeDays
	Followers                    TL_statsAbsValueAndPrev
	ViewsPerPost                 TL_statsAbsValueAndPrev
	SharesPerPost                TL_statsAbsValueAndPrev
	ReactionsPerPost             TL_statsAbsValueAndPrev
	ViewsPerStory                TL_statsAbsValueAndPrev
	SharesPerStory               TL_statsAbsValueAndPrev
	ReactionsPerStory            TL_statsAbsValueAndPrev
	EnabledNotifications         TL_statsPercentValue
	GrowthGraph                  TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	FollowersGraph               TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	MuteGraph                    TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	TopHoursGraph                TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	InteractionsGraph            TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	IVInteractionsGraph          TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	ViewsBySourceGraph           TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	NewFollowersBySourceGraph    TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	LanguagesGraph               TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	ReactionsByEmotionGraph      TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	StoryInteractionsGraph       TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	StoryReactionsByEmotionGraph TL   // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	RecentPostsInteractions      []TL // PostInteractionCounters: TL_postInteractionCountersMessage | TL_postInteractionCountersStory
}

Constructs stats.BroadcastStats

type TL_stats_getBroadcastRevenueStats added in v0.181.0

type TL_stats_getBroadcastRevenueStats struct {
	Dark bool
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns stats.BroadcastRevenueStats: TL_stats_broadcastRevenueStats

type TL_stats_getBroadcastRevenueTransactions added in v0.181.0

type TL_stats_getBroadcastRevenueTransactions struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Offset int32
	Limit  int32
}

Returns stats.BroadcastRevenueTransactions: TL_stats_broadcastRevenueTransactions

type TL_stats_getBroadcastRevenueWithdrawalURL added in v0.181.0

type TL_stats_getBroadcastRevenueWithdrawalURL struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Password TL // InputCheckPasswordSRP: TL_inputCheckPasswordEmpty | TL_inputCheckPasswordSRP
}

Returns stats.BroadcastRevenueWithdrawalUrl: TL_stats_broadcastRevenueWithdrawalURL

type TL_stats_getBroadcastStats

type TL_stats_getBroadcastStats struct {
	Dark    bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns stats.BroadcastStats: TL_stats_broadcastStats

type TL_stats_getMegagroupStats

type TL_stats_getMegagroupStats struct {
	Dark    bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
}

Returns stats.MegagroupStats: TL_stats_megagroupStats

type TL_stats_getMessagePublicForwards

type TL_stats_getMessagePublicForwards struct {
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MsgID   int32
	Offset  string
	Limit   int32
}

Returns stats.PublicForwards: TL_stats_publicForwards

type TL_stats_getMessageStats

type TL_stats_getMessageStats struct {
	Dark    bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	MsgID   int32
}

Returns stats.MessageStats: TL_stats_messageStats

type TL_stats_getStoryPublicForwards added in v0.167.0

type TL_stats_getStoryPublicForwards struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID     int32
	Offset string
	Limit  int32
}

Returns stats.PublicForwards: TL_stats_publicForwards

type TL_stats_getStoryStats added in v0.167.0

type TL_stats_getStoryStats struct {
	Dark bool
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   int32
}

Returns stats.StoryStats: TL_stats_storyStats

type TL_stats_loadAsyncGraph

type TL_stats_loadAsyncGraph struct {
	Token string
	X     *int64 // (optional)
}

Returns StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph

type TL_stats_megagroupStats

type TL_stats_megagroupStats struct {
	Period                  TL_statsDateRangeDays
	Members                 TL_statsAbsValueAndPrev
	Messages                TL_statsAbsValueAndPrev
	Viewers                 TL_statsAbsValueAndPrev
	Posters                 TL_statsAbsValueAndPrev
	GrowthGraph             TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	MembersGraph            TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	NewMembersBySourceGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	LanguagesGraph          TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	MessagesGraph           TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	ActionsGraph            TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	TopHoursGraph           TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	WeekdaysGraph           TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	TopPosters              []TL_statsGroupTopPoster
	TopAdmins               []TL_statsGroupTopAdmin
	TopInviters             []TL_statsGroupTopInviter
	Users                   []TL // User: TL_userEmpty | TL_user
}

Constructs stats.MegagroupStats

type TL_stats_messageStats

type TL_stats_messageStats struct {
	ViewsGraph              TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	ReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
}

Constructs stats.MessageStats

type TL_stats_publicForwards added in v0.167.0

type TL_stats_publicForwards struct {
	Count      int32
	Forwards   []TL    // PublicForward: TL_publicForwardMessage | TL_publicForwardStory
	NextOffset *string // (optional)
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
}

Constructs stats.PublicForwards

type TL_stats_storyStats added in v0.167.0

type TL_stats_storyStats struct {
	ViewsGraph              TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
	ReactionsByEmotionGraph TL // StatsGraph: TL_statsGraphAsync | TL_statsGraphError | TL_statsGraph
}

Constructs stats.StoryStats

type TL_stickerKeyword

type TL_stickerKeyword struct {
	DocumentID int64
	Keyword    []string
}

Constructs StickerKeyword

type TL_stickerPack

type TL_stickerPack struct {
	Emoticon  string
	Documents []int64
}

Constructs StickerPack

type TL_stickerSet

type TL_stickerSet struct {
	Archived           bool
	Official           bool
	Masks              bool
	Emojis             bool
	TextColor          bool
	ChannelEmojiStatus bool
	Creator            bool
	InstalledDate      *int32 // (optional)
	ID                 int64
	AccessHash         int64
	Title              string
	ShortName          string
	Thumbs             []TL   // (optional) PhotoSize: TL_photoSizeEmpty | TL_photoSize | TL_photoCachedSize | TL_photoStrippedSize | TL_photoSizeProgressive | TL_photoPathSize
	ThumbDCID          *int32 // (optional)
	ThumbVersion       *int32 // (optional)
	ThumbDocumentID    *int64 // (optional)
	Count              int32
	Hash               int32
}

Constructs StickerSet

type TL_stickerSetCovered

type TL_stickerSetCovered struct {
	Set   TL_stickerSet
	Cover TL // Document: TL_documentEmpty | TL_document
}

Constructs StickerSetCovered

type TL_stickerSetFullCovered

type TL_stickerSetFullCovered struct {
	Set       TL_stickerSet
	Packs     []TL_stickerPack
	Keywords  []TL_stickerKeyword
	Documents []TL // Document: TL_documentEmpty | TL_document
}

Constructs StickerSetCovered

type TL_stickerSetMultiCovered

type TL_stickerSetMultiCovered struct {
	Set    TL_stickerSet
	Covers []TL // Document: TL_documentEmpty | TL_document
}

Constructs StickerSetCovered

type TL_stickerSetNoCovered

type TL_stickerSetNoCovered struct {
	Set TL_stickerSet
}

Constructs StickerSetCovered

type TL_stickers_addStickerToSet

type TL_stickers_addStickerToSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	Sticker    TL_inputStickerSetItem
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_changeSticker

type TL_stickers_changeSticker struct {
	Sticker    TL             // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Emoji      *string        // (optional)
	MaskCoords *TL_maskCoords // (optional)
	Keywords   *string        // (optional)
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_changeStickerPosition

type TL_stickers_changeStickerPosition struct {
	Sticker  TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Position int32
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_checkShortName

type TL_stickers_checkShortName struct {
	ShortName string
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stickers_createStickerSet

type TL_stickers_createStickerSet struct {
	Masks     bool
	Emojis    bool
	TextColor bool
	UserID    TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Title     string
	ShortName string
	Thumb     TL // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	Stickers  []TL_inputStickerSetItem
	Software  *string // (optional)
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_deleteStickerSet

type TL_stickers_deleteStickerSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stickers_removeStickerFromSet

type TL_stickers_removeStickerFromSet struct {
	Sticker TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_renameStickerSet

type TL_stickers_renameStickerSet struct {
	Stickerset TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	Title      string
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_replaceSticker added in v0.181.0

type TL_stickers_replaceSticker struct {
	Sticker    TL // InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	NewSticker TL_inputStickerSetItem
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_setStickerSetThumb

type TL_stickers_setStickerSetThumb struct {
	Stickerset      TL     // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	Thumb           TL     // (optional) InputDocument: TL_inputDocumentEmpty | TL_inputDocument
	ThumbDocumentID *int64 // (optional)
}

Returns messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified

type TL_stickers_suggestShortName

type TL_stickers_suggestShortName struct {
	Title string
}

Returns stickers.SuggestedShortName: TL_stickers_suggestedShortName

type TL_stickers_suggestedShortName

type TL_stickers_suggestedShortName struct {
	ShortName string
}

Constructs stickers.SuggestedShortName

type TL_storage_fileGIF added in v0.166.2

type TL_storage_fileGIF struct {
}

Constructs storage.FileType

type TL_storage_fileJPEG added in v0.166.2

type TL_storage_fileJPEG struct {
}

Constructs storage.FileType

type TL_storage_fileMOV added in v0.166.2

type TL_storage_fileMOV struct {
}

Constructs storage.FileType

type TL_storage_fileMP3 added in v0.166.2

type TL_storage_fileMP3 struct {
}

Constructs storage.FileType

type TL_storage_fileMP4 added in v0.166.2

type TL_storage_fileMP4 struct {
}

Constructs storage.FileType

type TL_storage_filePDF added in v0.166.2

type TL_storage_filePDF struct {
}

Constructs storage.FileType

type TL_storage_filePNG added in v0.166.2

type TL_storage_filePNG struct {
}

Constructs storage.FileType

type TL_storage_filePartial

type TL_storage_filePartial struct {
}

Constructs storage.FileType

type TL_storage_fileUnknown

type TL_storage_fileUnknown struct {
}

Constructs storage.FileType

type TL_storage_fileWEBP added in v0.166.2

type TL_storage_fileWEBP struct {
}

Constructs storage.FileType

type TL_storiesStealthMode added in v0.166.0

type TL_storiesStealthMode struct {
	ActiveUntilDate   *int32 // (optional)
	CooldownUntilDate *int32 // (optional)
}

Constructs StoriesStealthMode

type TL_stories_activateStealthMode added in v0.166.0

type TL_stories_activateStealthMode struct {
	Past   bool
	Future bool
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_stories_allStories added in v0.166.0

type TL_stories_allStories struct {
	HasMore     bool
	Count       int32
	State       string
	PeerStories []TL_peerStories
	Chats       []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users       []TL // User: TL_userEmpty | TL_user
	StealthMode TL_storiesStealthMode
}

Constructs stories.AllStories

type TL_stories_allStoriesNotModified added in v0.166.0

type TL_stories_allStoriesNotModified struct {
	State       string
	StealthMode TL_storiesStealthMode
}

Constructs stories.AllStories

type TL_stories_canSendStory added in v0.166.0

type TL_stories_canSendStory struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stories_deleteStories added in v0.166.0

type TL_stories_deleteStories struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Vector<int>:

type TL_stories_editStory added in v0.166.0

type TL_stories_editStory struct {
	Peer         TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID           int32
	Media        TL      // (optional) InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	MediaAreas   []TL    // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather
	Caption      *string // (optional)
	Entities     []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	PrivacyRules []TL    // (optional) InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_stories_exportStoryLink struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   int32
}

Returns ExportedStoryLink: TL_exportedStoryLink

type TL_stories_foundStories added in v0.183.0

type TL_stories_foundStories struct {
	Count      int32
	Stories    []TL_foundStory
	NextOffset *string // (optional)
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
}

Constructs stories.FoundStories

type TL_stories_getAllReadPeerStories added in v0.166.0

type TL_stories_getAllReadPeerStories struct {
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_stories_getAllStories added in v0.166.0

type TL_stories_getAllStories struct {
	Next   bool
	Hidden bool
	State  *string // (optional)
}

Returns stories.AllStories: TL_stories_allStoriesNotModified | TL_stories_allStories

type TL_stories_getChatsToSend added in v0.166.0

type TL_stories_getChatsToSend struct {
}

Returns messages.Chats: TL_messages_chats | TL_messages_chatsSlice

type TL_stories_getPeerMaxIDs added in v0.166.0

type TL_stories_getPeerMaxIDs struct {
	ID []TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns Vector<int>:

type TL_stories_getPeerStories added in v0.166.0

type TL_stories_getPeerStories struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
}

Returns stories.PeerStories: TL_stories_peerStories

type TL_stories_getPinnedStories added in v0.166.0

type TL_stories_getPinnedStories struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID int32
	Limit    int32
}

Returns stories.Stories: TL_stories_stories

type TL_stories_getStoriesArchive added in v0.166.0

type TL_stories_getStoriesArchive struct {
	Peer     TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	OffsetID int32
	Limit    int32
}

Returns stories.Stories: TL_stories_stories

type TL_stories_getStoriesByID added in v0.166.0

type TL_stories_getStoriesByID struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns stories.Stories: TL_stories_stories

type TL_stories_getStoriesViews added in v0.166.0

type TL_stories_getStoriesViews struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns stories.StoryViews: TL_stories_storyViews

type TL_stories_getStoryReactionsList added in v0.181.0

type TL_stories_getStoryReactionsList struct {
	ForwardsFirst bool
	Peer          TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID            int32
	Reaction      TL      // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	Offset        *string // (optional)
	Limit         int32
}

Returns stories.StoryReactionsList: TL_stories_storyReactionsList

type TL_stories_getStoryViewsList added in v0.166.0

type TL_stories_getStoryViewsList struct {
	JustContacts   bool
	ReactionsFirst bool
	ForwardsFirst  bool
	Peer           TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Q              *string // (optional)
	ID             int32
	Offset         string
	Limit          int32
}

Returns stories.StoryViewsList: TL_stories_storyViewsList

type TL_stories_incrementStoryViews added in v0.166.0

type TL_stories_incrementStoryViews struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stories_peerStories added in v0.166.0

type TL_stories_peerStories struct {
	Stories TL_peerStories
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users   []TL // User: TL_userEmpty | TL_user
}

Constructs stories.PeerStories

type TL_stories_readStories added in v0.166.0

type TL_stories_readStories struct {
	Peer  TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	MaxID int32
}

Returns Vector<int>:

type TL_stories_report added in v0.166.0

type TL_stories_report struct {
	Peer    TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID      []int32
	Option  []byte
	Message string
}

Returns ReportResult: TL_reportResultChooseOption | TL_reportResultAddComment | TL_reportResultReported

type TL_stories_searchPosts added in v0.183.0

type TL_stories_searchPosts struct {
	Hashtag *string // (optional)
	Area    TL      // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather
	Peer    TL      // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Offset  string
	Limit   int32
}

Returns stories.FoundStories: TL_stories_foundStories

type TL_stories_sendReaction added in v0.166.0

type TL_stories_sendReaction struct {
	AddToRecent bool
	Peer        TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	StoryID     int32
	Reaction    TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_stories_sendStory added in v0.166.0

type TL_stories_sendStory struct {
	Pinned       bool
	Noforwards   bool
	FwdModified  bool
	Peer         TL      // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Media        TL      // InputMedia: TL_inputMediaEmpty | TL_inputMediaUploadedPhoto | TL_inputMediaPhoto | TL_inputMediaGeoPoint | TL_inputMediaContact | TL_inputMediaUploadedDocument | TL_inputMediaDocument | TL_inputMediaVenue | TL_inputMediaPhotoExternal | TL_inputMediaDocumentExternal | TL_inputMediaGame | TL_inputMediaInvoice | TL_inputMediaGeoLive | TL_inputMediaPoll | TL_inputMediaDice | TL_inputMediaStory | TL_inputMediaWebPage | TL_inputMediaPaidMedia
	MediaAreas   []TL    // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather
	Caption      *string // (optional)
	Entities     []TL    // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	PrivacyRules []TL    // InputPrivacyRule: TL_inputPrivacyValueAllowContacts | TL_inputPrivacyValueAllowAll | TL_inputPrivacyValueAllowUsers | TL_inputPrivacyValueDisallowContacts | TL_inputPrivacyValueDisallowAll | TL_inputPrivacyValueDisallowUsers | TL_inputPrivacyValueAllowChatParticipants | TL_inputPrivacyValueDisallowChatParticipants | TL_inputPrivacyValueAllowCloseFriends | TL_inputPrivacyValueAllowPremium
	RandomID     int64
	Period       *int32 // (optional)
	FwdFromID    TL     // (optional) InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	FwdFromStory *int32 // (optional)
}

Returns Updates: TL_updatesTooLong | TL_updateShortMessage | TL_updateShortChatMessage | TL_updateShort | TL_updatesCombined | TL_updates | TL_updateShortSentMessage

type TL_stories_stories added in v0.166.0

type TL_stories_stories struct {
	Count       int32
	Stories     []TL    // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
	PinnedToTop []int32 // (optional)
	Chats       []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users       []TL    // User: TL_userEmpty | TL_user
}

Constructs stories.Stories

type TL_stories_storyReactionsList added in v0.181.0

type TL_stories_storyReactionsList struct {
	Count      int32
	Reactions  []TL    // StoryReaction: TL_storyReaction | TL_storyReactionPublicForward | TL_storyReactionPublicRepost
	Chats      []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users      []TL    // User: TL_userEmpty | TL_user
	NextOffset *string // (optional)
}

Constructs stories.StoryReactionsList

type TL_stories_storyViews added in v0.166.0

type TL_stories_storyViews struct {
	Views []TL_storyViews
	Users []TL // User: TL_userEmpty | TL_user
}

Constructs stories.StoryViews

type TL_stories_storyViewsList added in v0.166.0

type TL_stories_storyViewsList struct {
	Count          int32
	ViewsCount     int32
	ForwardsCount  int32
	ReactionsCount int32
	Views          []TL    // StoryView: TL_storyView | TL_storyViewPublicForward | TL_storyViewPublicRepost
	Chats          []TL    // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users          []TL    // User: TL_userEmpty | TL_user
	NextOffset     *string // (optional)
}

Constructs stories.StoryViewsList

type TL_stories_toggleAllStoriesHidden added in v0.166.0

type TL_stories_toggleAllStoriesHidden struct {
	Hidden bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stories_togglePeerStoriesHidden added in v0.166.0

type TL_stories_togglePeerStoriesHidden struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	Hidden bool
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_stories_togglePinned added in v0.166.0

type TL_stories_togglePinned struct {
	Peer   TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID     []int32
	Pinned bool
}

Returns Vector<int>:

type TL_stories_togglePinnedToTop added in v0.181.0

type TL_stories_togglePinnedToTop struct {
	Peer TL // InputPeer: TL_inputPeerEmpty | TL_inputPeerSelf | TL_inputPeerChat | TL_inputPeerUser | TL_inputPeerChannel | TL_inputPeerUserFromMessage | TL_inputPeerChannelFromMessage
	ID   []int32
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_storyFwdHeader added in v0.167.0

type TL_storyFwdHeader struct {
	Modified bool
	From     TL      // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FromName *string // (optional)
	StoryID  *int32  // (optional)
}

Constructs StoryFwdHeader

type TL_storyItem added in v0.166.0

type TL_storyItem struct {
	Pinned           bool
	Public           bool
	CloseFriends     bool
	Min              bool
	Noforwards       bool
	Edited           bool
	Contacts         bool
	SelectedContacts bool
	Out              bool
	ID               int32
	Date             int32
	FromID           TL                 // (optional) Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	FwdFrom          *TL_storyFwdHeader // (optional)
	ExpireDate       int32
	Caption          *string        // (optional)
	Entities         []TL           // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	Media            TL             // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	MediaAreas       []TL           // (optional) MediaArea: TL_mediaAreaVenue | TL_inputMediaAreaVenue | TL_mediaAreaGeoPoint | TL_mediaAreaSuggestedReaction | TL_mediaAreaChannelPost | TL_inputMediaAreaChannelPost | TL_mediaAreaURL | TL_mediaAreaWeather
	Privacy          []TL           // (optional) PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium
	Views            *TL_storyViews // (optional)
	SentReaction     TL             // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs StoryItem

type TL_storyItemDeleted added in v0.166.0

type TL_storyItemDeleted struct {
	ID int32
}

Constructs StoryItem

type TL_storyItemSkipped added in v0.166.0

type TL_storyItemSkipped struct {
	CloseFriends bool
	ID           int32
	Date         int32
	ExpireDate   int32
}

Constructs StoryItem

type TL_storyReaction added in v0.181.0

type TL_storyReaction struct {
	PeerID   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date     int32
	Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs StoryReaction

type TL_storyReactionPublicForward added in v0.181.0

type TL_storyReactionPublicForward struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs StoryReaction

type TL_storyReactionPublicRepost added in v0.181.0

type TL_storyReactionPublicRepost struct {
	PeerID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Story  TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs StoryReaction

type TL_storyView added in v0.166.0

type TL_storyView struct {
	Blocked              bool
	BlockedMyStoriesFrom bool
	UserID               int64
	Date                 int32
	Reaction             TL // (optional) Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs StoryView

type TL_storyViewPublicForward added in v0.181.0

type TL_storyViewPublicForward struct {
	Blocked              bool
	BlockedMyStoriesFrom bool
	Message              TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs StoryView

type TL_storyViewPublicRepost added in v0.181.0

type TL_storyViewPublicRepost struct {
	Blocked              bool
	BlockedMyStoriesFrom bool
	PeerID               TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Story                TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs StoryView

type TL_storyViews added in v0.166.0

type TL_storyViews struct {
	HasViewers     bool
	ViewsCount     int32
	ForwardsCount  *int32             // (optional)
	Reactions      []TL_reactionCount // (optional)
	ReactionsCount *int32             // (optional)
	RecentViewers  []int64            // (optional)
}

Constructs StoryViews

type TL_textAnchor

type TL_textAnchor struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Name string
}

Constructs RichText

type TL_textBold

type TL_textBold struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textConcat

type TL_textConcat struct {
	Texts []TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textEmail

type TL_textEmail struct {
	Text  TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Email string
}

Constructs RichText

type TL_textEmpty

type TL_textEmpty struct {
}

Constructs RichText

type TL_textFixed

type TL_textFixed struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textImage

type TL_textImage struct {
	DocumentID int64
	W          int32
	H          int32
}

Constructs RichText

type TL_textItalic

type TL_textItalic struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textMarked

type TL_textMarked struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textPhone

type TL_textPhone struct {
	Text  TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	Phone string
}

Constructs RichText

type TL_textPlain

type TL_textPlain struct {
	Text string
}

Constructs RichText

type TL_textStrike

type TL_textStrike struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textSubscript

type TL_textSubscript struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textSuperscript

type TL_textSuperscript struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textURL added in v0.166.2

type TL_textURL struct {
	Text      TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
	URL       string
	WebpageID int64
}

Constructs RichText

type TL_textUnderline

type TL_textUnderline struct {
	Text TL // RichText: TL_textEmpty | TL_textPlain | TL_textBold | TL_textItalic | TL_textUnderline | TL_textStrike | TL_textFixed | TL_textURL | TL_textEmail | TL_textConcat | TL_textSubscript | TL_textSuperscript | TL_textMarked | TL_textPhone | TL_textImage | TL_textAnchor
}

Constructs RichText

type TL_textWithEntities

type TL_textWithEntities struct {
	Text     string
	Entities []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs TextWithEntities

type TL_theme

type TL_theme struct {
	Creator       bool
	Default       bool
	ForChat       bool
	ID            int64
	AccessHash    int64
	Slug          string
	Title         string
	Document      TL                 // (optional) Document: TL_documentEmpty | TL_document
	Settings      []TL_themeSettings // (optional)
	Emoticon      *string            // (optional)
	InstallsCount *int32             // (optional)
}

Constructs Theme

type TL_themeSettings

type TL_themeSettings struct {
	MessageColorsAnimated bool
	BaseTheme             TL // BaseTheme: TL_baseThemeClassic | TL_baseThemeDay | TL_baseThemeNight | TL_baseThemeTinted | TL_baseThemeArctic
	AccentColor           int32
	OutboxAccentColor     *int32  // (optional)
	MessageColors         []int32 // (optional)
	Wallpaper             TL      // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
}

Constructs ThemeSettings

type TL_timezone added in v0.181.0

type TL_timezone struct {
	ID        string
	Name      string
	UtcOffset int32
}

Constructs Timezone

type TL_tlsBlockDomain

type TL_tlsBlockDomain struct {
}

Constructs TlsBlock

type TL_tlsBlockGrease

type TL_tlsBlockGrease struct {
	Seed int32
}

Constructs TlsBlock

type TL_tlsBlockPermutation

type TL_tlsBlockPermutation struct {
	Entries [][]TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation
}

Constructs TlsBlock

type TL_tlsBlockPublicKey

type TL_tlsBlockPublicKey struct {
}

Constructs TlsBlock

type TL_tlsBlockRandom

type TL_tlsBlockRandom struct {
	Length int32
}

Constructs TlsBlock

type TL_tlsBlockScope

type TL_tlsBlockScope struct {
	Entries []TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation
}

Constructs TlsBlock

type TL_tlsBlockString

type TL_tlsBlockString struct {
	Data string
}

Constructs TlsBlock

type TL_tlsBlockZero

type TL_tlsBlockZero struct {
	Length int32
}

Constructs TlsBlock

type TL_tlsClientHello

type TL_tlsClientHello struct {
	Blocks []TL // TlsBlock: TL_tlsBlockString | TL_tlsBlockRandom | TL_tlsBlockZero | TL_tlsBlockDomain | TL_tlsBlockGrease | TL_tlsBlockPublicKey | TL_tlsBlockScope | TL_tlsBlockPermutation
}

Constructs TlsClientHello

type TL_topPeer

type TL_topPeer struct {
	Peer   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Rating float64
}

Constructs TopPeer

type TL_topPeerCategoryBotsApp added in v0.185.0

type TL_topPeerCategoryBotsApp struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryBotsInline

type TL_topPeerCategoryBotsInline struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryBotsPM

type TL_topPeerCategoryBotsPM struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryChannels

type TL_topPeerCategoryChannels struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryCorrespondents

type TL_topPeerCategoryCorrespondents struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryForwardChats

type TL_topPeerCategoryForwardChats struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryForwardUsers

type TL_topPeerCategoryForwardUsers struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryGroups

type TL_topPeerCategoryGroups struct {
}

Constructs TopPeerCategory

type TL_topPeerCategoryPeers

type TL_topPeerCategoryPeers struct {
	Category TL // TopPeerCategory: TL_topPeerCategoryBotsPM | TL_topPeerCategoryBotsInline | TL_topPeerCategoryCorrespondents | TL_topPeerCategoryGroups | TL_topPeerCategoryChannels | TL_topPeerCategoryPhoneCalls | TL_topPeerCategoryForwardUsers | TL_topPeerCategoryForwardChats | TL_topPeerCategoryBotsApp
	Count    int32
	Peers    []TL_topPeer
}

Constructs TopPeerCategoryPeers

type TL_topPeerCategoryPhoneCalls

type TL_topPeerCategoryPhoneCalls struct {
}

Constructs TopPeerCategory

type TL_true

type TL_true struct {
}

Constructs True

type TL_updateAttachMenuBots

type TL_updateAttachMenuBots struct {
}

Constructs Update

type TL_updateAutoSaveSettings

type TL_updateAutoSaveSettings struct {
}

Constructs Update

type TL_updateBotBusinessConnect added in v0.181.0

type TL_updateBotBusinessConnect struct {
	Connection TL_botBusinessConnection
	QTS        int32
}

Constructs Update

type TL_updateBotCallbackQuery

type TL_updateBotCallbackQuery struct {
	QueryID       int64
	UserID        int64
	Peer          TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID         int32
	ChatInstance  int64
	Data          []byte  // (optional)
	GameShortName *string // (optional)
}

Constructs Update

type TL_updateBotChatBoost added in v0.167.0

type TL_updateBotChatBoost struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Boost TL_boost
	QTS   int32
}

Constructs Update

type TL_updateBotChatInviteRequester

type TL_updateBotChatInviteRequester struct {
	Peer   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Date   int32
	UserID int64
	About  string
	Invite TL // ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	QTS    int32
}

Constructs Update

type TL_updateBotCommands

type TL_updateBotCommands struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	BotID    int64
	Commands []TL_botCommand
}

Constructs Update

type TL_updateBotDeleteBusinessMessage added in v0.181.0

type TL_updateBotDeleteBusinessMessage struct {
	ConnectionID string
	Peer         TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Messages     []int32
	QTS          int32
}

Constructs Update

type TL_updateBotEditBusinessMessage added in v0.181.0

type TL_updateBotEditBusinessMessage struct {
	ConnectionID   string
	Message        TL // Message: TL_messageEmpty | TL_message | TL_messageService
	ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
	QTS            int32
}

Constructs Update

type TL_updateBotInlineQuery

type TL_updateBotInlineQuery struct {
	QueryID  int64
	UserID   int64
	Query    string
	Geo      TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
	PeerType TL // (optional) InlineQueryPeerType: TL_inlineQueryPeerTypeSameBotPM | TL_inlineQueryPeerTypePM | TL_inlineQueryPeerTypeChat | TL_inlineQueryPeerTypeMegagroup | TL_inlineQueryPeerTypeBroadcast | TL_inlineQueryPeerTypeBotPM
	Offset   string
}

Constructs Update

type TL_updateBotInlineSend

type TL_updateBotInlineSend struct {
	UserID int64
	Query  string
	Geo    TL // (optional) GeoPoint: TL_geoPointEmpty | TL_geoPoint
	ID     string
	MsgID  TL // (optional) InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
}

Constructs Update

type TL_updateBotMenuButton

type TL_updateBotMenuButton struct {
	BotID  int64
	Button TL // BotMenuButton: TL_botMenuButtonDefault | TL_botMenuButtonCommands | TL_botMenuButton
}

Constructs Update

type TL_updateBotMessageReaction added in v0.181.0

type TL_updateBotMessageReaction struct {
	Peer         TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID        int32
	Date         int32
	Actor        TL   // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	OldReactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	NewReactions []TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
	QTS          int32
}

Constructs Update

type TL_updateBotMessageReactions added in v0.181.0

type TL_updateBotMessageReactions struct {
	Peer      TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID     int32
	Date      int32
	Reactions []TL_reactionCount
	QTS       int32
}

Constructs Update

type TL_updateBotNewBusinessMessage added in v0.181.0

type TL_updateBotNewBusinessMessage struct {
	ConnectionID   string
	Message        TL // Message: TL_messageEmpty | TL_message | TL_messageService
	ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
	QTS            int32
}

Constructs Update

type TL_updateBotPrecheckoutQuery

type TL_updateBotPrecheckoutQuery struct {
	QueryID          int64
	UserID           int64
	Payload          []byte
	Info             *TL_paymentRequestedInfo // (optional)
	ShippingOptionID *string                  // (optional)
	Currency         string
	TotalAmount      int64
}

Constructs Update

type TL_updateBotPurchasedPaidMedia added in v0.187.0

type TL_updateBotPurchasedPaidMedia struct {
	UserID  int64
	Payload string
	QTS     int32
}

Constructs Update

type TL_updateBotShippingQuery

type TL_updateBotShippingQuery struct {
	QueryID         int64
	UserID          int64
	Payload         []byte
	ShippingAddress TL_postAddress
}

Constructs Update

type TL_updateBotStopped

type TL_updateBotStopped struct {
	UserID  int64
	Date    int32
	Stopped bool
	QTS     int32
}

Constructs Update

type TL_updateBotWebhookJSON

type TL_updateBotWebhookJSON struct {
	Data TL_dataJSON
}

Constructs Update

type TL_updateBotWebhookJSONQuery

type TL_updateBotWebhookJSONQuery struct {
	QueryID int64
	Data    TL_dataJSON
	Timeout int32
}

Constructs Update

type TL_updateBroadcastRevenueTransactions added in v0.181.0

type TL_updateBroadcastRevenueTransactions struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Balances TL_broadcastRevenueBalances
}

Constructs Update

type TL_updateBusinessBotCallbackQuery added in v0.183.0

type TL_updateBusinessBotCallbackQuery struct {
	QueryID        int64
	UserID         int64
	ConnectionID   string
	Message        TL // Message: TL_messageEmpty | TL_message | TL_messageService
	ReplyToMessage TL // (optional) Message: TL_messageEmpty | TL_message | TL_messageService
	ChatInstance   int64
	Data           []byte // (optional)
}

Constructs Update

type TL_updateChannel

type TL_updateChannel struct {
	ChannelID int64
}

Constructs Update

type TL_updateChannelAvailableMessages

type TL_updateChannelAvailableMessages struct {
	ChannelID      int64
	AvailableMinID int32
}

Constructs Update

type TL_updateChannelMessageForwards

type TL_updateChannelMessageForwards struct {
	ChannelID int64
	ID        int32
	Forwards  int32
}

Constructs Update

type TL_updateChannelMessageViews

type TL_updateChannelMessageViews struct {
	ChannelID int64
	ID        int32
	Views     int32
}

Constructs Update

type TL_updateChannelParticipant

type TL_updateChannelParticipant struct {
	ViaChatlist     bool
	ChannelID       int64
	Date            int32
	ActorID         int64
	UserID          int64
	PrevParticipant TL // (optional) ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	NewParticipant  TL // (optional) ChannelParticipant: TL_channelParticipant | TL_channelParticipantSelf | TL_channelParticipantCreator | TL_channelParticipantAdmin | TL_channelParticipantBanned | TL_channelParticipantLeft
	Invite          TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	QTS             int32
}

Constructs Update

type TL_updateChannelPinnedTopic

type TL_updateChannelPinnedTopic struct {
	Pinned    bool
	ChannelID int64
	TopicID   int32
}

Constructs Update

type TL_updateChannelPinnedTopics

type TL_updateChannelPinnedTopics struct {
	ChannelID int64
	Order     []int32 // (optional)
}

Constructs Update

type TL_updateChannelReadMessagesContents

type TL_updateChannelReadMessagesContents struct {
	ChannelID int64
	TopMsgID  *int32 // (optional)
	Messages  []int32
}

Constructs Update

type TL_updateChannelTooLong

type TL_updateChannelTooLong struct {
	ChannelID int64
	PTS       *int32 // (optional)
}

Constructs Update

type TL_updateChannelUserTyping

type TL_updateChannelUserTyping struct {
	ChannelID int64
	TopMsgID  *int32 // (optional)
	FromID    TL     // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Action    TL     // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen
}

Constructs Update

type TL_updateChannelViewForumAsMessages added in v0.167.0

type TL_updateChannelViewForumAsMessages struct {
	ChannelID int64
	Enabled   bool
}

Constructs Update

type TL_updateChannelWebPage

type TL_updateChannelWebPage struct {
	ChannelID int64
	Webpage   TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
	PTS       int32
	PTSCount  int32
}

Constructs Update

type TL_updateChat

type TL_updateChat struct {
	ChatID int64
}

Constructs Update

type TL_updateChatDefaultBannedRights

type TL_updateChatDefaultBannedRights struct {
	Peer                TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	DefaultBannedRights TL_chatBannedRights
	Version             int32
}

Constructs Update

type TL_updateChatParticipant

type TL_updateChatParticipant struct {
	ChatID          int64
	Date            int32
	ActorID         int64
	UserID          int64
	PrevParticipant TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
	NewParticipant  TL // (optional) ChatParticipant: TL_chatParticipant | TL_chatParticipantCreator | TL_chatParticipantAdmin
	Invite          TL // (optional) ExportedChatInvite: TL_chatInviteExported | TL_chatInvitePublicJoinRequests
	QTS             int32
}

Constructs Update

type TL_updateChatParticipantAdd

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

Constructs Update

type TL_updateChatParticipantAdmin

type TL_updateChatParticipantAdmin struct {
	ChatID  int64
	UserID  int64
	IsAdmin bool
	Version int32
}

Constructs Update

type TL_updateChatParticipantDelete

type TL_updateChatParticipantDelete struct {
	ChatID  int64
	UserID  int64
	Version int32
}

Constructs Update

type TL_updateChatParticipants

type TL_updateChatParticipants struct {
	Participants TL // ChatParticipants: TL_chatParticipantsForbidden | TL_chatParticipants
}

Constructs Update

type TL_updateChatUserTyping

type TL_updateChatUserTyping struct {
	ChatID int64
	FromID TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen
}

Constructs Update

type TL_updateConfig

type TL_updateConfig struct {
}

Constructs Update

type TL_updateContactsReset

type TL_updateContactsReset struct {
}

Constructs Update

type TL_updateDCOptions added in v0.166.2

type TL_updateDCOptions struct {
	DCOptions []TL_dcOption
}

Constructs Update

type TL_updateDeleteChannelMessages

type TL_updateDeleteChannelMessages struct {
	ChannelID int64
	Messages  []int32
	PTS       int32
	PTSCount  int32
}

Constructs Update

type TL_updateDeleteMessages

type TL_updateDeleteMessages struct {
	Messages []int32
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateDeleteQuickReply added in v0.181.0

type TL_updateDeleteQuickReply struct {
	ShortcutID int32
}

Constructs Update

type TL_updateDeleteQuickReplyMessages added in v0.181.0

type TL_updateDeleteQuickReplyMessages struct {
	ShortcutID int32
	Messages   []int32
}

Constructs Update

type TL_updateDeleteScheduledMessages

type TL_updateDeleteScheduledMessages struct {
	Peer         TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Messages     []int32
	SentMessages []int32 // (optional)
}

Constructs Update

type TL_updateDialogFilter

type TL_updateDialogFilter struct {
	ID     int32
	Filter TL // (optional) DialogFilter: TL_dialogFilter | TL_dialogFilterDefault | TL_dialogFilterChatlist
}

Constructs Update

type TL_updateDialogFilterOrder

type TL_updateDialogFilterOrder struct {
	Order []int32
}

Constructs Update

type TL_updateDialogFilters

type TL_updateDialogFilters struct {
}

Constructs Update

type TL_updateDialogPinned

type TL_updateDialogPinned struct {
	Pinned   bool
	FolderID *int32 // (optional)
	Peer     TL     // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}

Constructs Update

type TL_updateDialogUnreadMark

type TL_updateDialogUnreadMark struct {
	Unread bool
	Peer   TL // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}

Constructs Update

type TL_updateDraftMessage

type TL_updateDraftMessage struct {
	Peer     TL     // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TopMsgID *int32 // (optional)
	Draft    TL     // DraftMessage: TL_draftMessageEmpty | TL_draftMessage
}

Constructs Update

type TL_updateEditChannelMessage

type TL_updateEditChannelMessage struct {
	Message  TL // Message: TL_messageEmpty | TL_message | TL_messageService
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateEditMessage

type TL_updateEditMessage struct {
	Message  TL // Message: TL_messageEmpty | TL_message | TL_messageService
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateEncryptedChatTyping

type TL_updateEncryptedChatTyping struct {
	ChatID int32
}

Constructs Update

type TL_updateEncryptedMessagesRead

type TL_updateEncryptedMessagesRead struct {
	ChatID  int32
	MaxDate int32
	Date    int32
}

Constructs Update

type TL_updateEncryption

type TL_updateEncryption struct {
	Chat TL // EncryptedChat: TL_encryptedChatEmpty | TL_encryptedChatWaiting | TL_encryptedChatRequested | TL_encryptedChat | TL_encryptedChatDiscarded
	Date int32
}

Constructs Update

type TL_updateFavedStickers

type TL_updateFavedStickers struct {
}

Constructs Update

type TL_updateFolderPeers

type TL_updateFolderPeers struct {
	FolderPeers []TL_folderPeer
	PTS         int32
	PTSCount    int32
}

Constructs Update

type TL_updateGeoLiveViewed

type TL_updateGeoLiveViewed struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID int32
}

Constructs Update

type TL_updateGroupCall

type TL_updateGroupCall struct {
	ChatID int64
	Call   TL // GroupCall: TL_groupCallDiscarded | TL_groupCall
}

Constructs Update

type TL_updateGroupCallConnection

type TL_updateGroupCallConnection struct {
	Presentation bool
	Params       TL_dataJSON
}

Constructs Update

type TL_updateGroupCallParticipants

type TL_updateGroupCallParticipants struct {
	Call         TL_inputGroupCall
	Participants []TL_groupCallParticipant
	Version      int32
}

Constructs Update

type TL_updateInlineBotCallbackQuery

type TL_updateInlineBotCallbackQuery struct {
	QueryID       int64
	UserID        int64
	MsgID         TL // InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
	ChatInstance  int64
	Data          []byte  // (optional)
	GameShortName *string // (optional)
}

Constructs Update

type TL_updateLangPack

type TL_updateLangPack struct {
	Difference TL_langPackDifference
}

Constructs Update

type TL_updateLangPackTooLong

type TL_updateLangPackTooLong struct {
	LangCode string
}

Constructs Update

type TL_updateLoginToken

type TL_updateLoginToken struct {
}

Constructs Update

type TL_updateMessageExtendedMedia

type TL_updateMessageExtendedMedia struct {
	Peer          TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID         int32
	ExtendedMedia []TL // MessageExtendedMedia: TL_messageExtendedMediaPreview | TL_messageExtendedMedia
}

Constructs Update

type TL_updateMessageID

type TL_updateMessageID struct {
	ID       int32
	RandomID int64
}

Constructs Update

type TL_updateMessagePoll

type TL_updateMessagePoll struct {
	PollID  int64
	Poll    *TL_poll // (optional)
	Results TL_pollResults
}

Constructs Update

type TL_updateMessagePollVote

type TL_updateMessagePollVote struct {
	PollID  int64
	Peer    TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Options [][]byte
	QTS     int32
}

Constructs Update

type TL_updateMessageReactions

type TL_updateMessageReactions struct {
	Peer      TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID     int32
	TopMsgID  *int32 // (optional)
	Reactions TL_messageReactions
}

Constructs Update

type TL_updateMoveStickerSetToTop

type TL_updateMoveStickerSetToTop struct {
	Masks      bool
	Emojis     bool
	Stickerset int64
}

Constructs Update

type TL_updateNewAuthorization added in v0.166.0

type TL_updateNewAuthorization struct {
	Unconfirmed bool
	Hash        int64
	Date        *int32  // (optional)
	Device      *string // (optional)
	Location    *string // (optional)
}

Constructs Update

type TL_updateNewChannelMessage

type TL_updateNewChannelMessage struct {
	Message  TL // Message: TL_messageEmpty | TL_message | TL_messageService
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateNewEncryptedMessage

type TL_updateNewEncryptedMessage struct {
	Message TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
	QTS     int32
}

Constructs Update

type TL_updateNewMessage

type TL_updateNewMessage struct {
	Message  TL // Message: TL_messageEmpty | TL_message | TL_messageService
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateNewQuickReply added in v0.181.0

type TL_updateNewQuickReply struct {
	QuickReply TL_quickReply
}

Constructs Update

type TL_updateNewScheduledMessage

type TL_updateNewScheduledMessage struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs Update

type TL_updateNewStickerSet

type TL_updateNewStickerSet struct {
	Stickerset TL // messages.StickerSet: TL_messages_stickerSet | TL_messages_stickerSetNotModified
}

Constructs Update

type TL_updateNewStoryReaction added in v0.181.0

type TL_updateNewStoryReaction struct {
	StoryID  int32
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs Update

type TL_updateNotifySettings

type TL_updateNotifySettings struct {
	Peer           TL // NotifyPeer: TL_notifyPeer | TL_notifyUsers | TL_notifyChats | TL_notifyBroadcasts | TL_notifyForumTopic
	NotifySettings TL_peerNotifySettings
}

Constructs Update

type TL_updatePTSChanged added in v0.166.2

type TL_updatePTSChanged struct {
}

Constructs Update

type TL_updatePaidReactionPrivacy added in v0.187.0

type TL_updatePaidReactionPrivacy struct {
	Private bool
}

Constructs Update

type TL_updatePeerBlocked

type TL_updatePeerBlocked struct {
	Blocked              bool
	BlockedMyStoriesFrom bool
	PeerID               TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
}

Constructs Update

type TL_updatePeerHistoryTTL

type TL_updatePeerHistoryTTL struct {
	Peer      TL     // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	TTLPeriod *int32 // (optional)
}

Constructs Update

type TL_updatePeerLocated

type TL_updatePeerLocated struct {
	Peers []TL // PeerLocated: TL_peerLocated | TL_peerSelfLocated
}

Constructs Update

type TL_updatePeerSettings

type TL_updatePeerSettings struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Settings TL_peerSettings
}

Constructs Update

type TL_updatePeerWallpaper added in v0.167.0

type TL_updatePeerWallpaper struct {
	WallpaperOverridden bool
	Peer                TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Wallpaper           TL // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
}

Constructs Update

type TL_updatePendingJoinRequests

type TL_updatePendingJoinRequests struct {
	Peer             TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	RequestsPending  int32
	RecentRequesters []int64
}

Constructs Update

type TL_updatePhoneCall

type TL_updatePhoneCall struct {
	PhoneCall TL // PhoneCall: TL_phoneCallEmpty | TL_phoneCallWaiting | TL_phoneCallRequested | TL_phoneCallAccepted | TL_phoneCall | TL_phoneCallDiscarded
}

Constructs Update

type TL_updatePhoneCallSignalingData

type TL_updatePhoneCallSignalingData struct {
	PhoneCallID int64
	Data        []byte
}

Constructs Update

type TL_updatePinnedChannelMessages

type TL_updatePinnedChannelMessages struct {
	Pinned    bool
	ChannelID int64
	Messages  []int32
	PTS       int32
	PTSCount  int32
}

Constructs Update

type TL_updatePinnedDialogs

type TL_updatePinnedDialogs struct {
	FolderID *int32 // (optional)
	Order    []TL   // (optional) DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}

Constructs Update

type TL_updatePinnedMessages

type TL_updatePinnedMessages struct {
	Pinned   bool
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Messages []int32
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updatePinnedSavedDialogs added in v0.181.0

type TL_updatePinnedSavedDialogs struct {
	Order []TL // (optional) DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}

Constructs Update

type TL_updatePrivacy

type TL_updatePrivacy struct {
	Key   TL   // PrivacyKey: TL_privacyKeyStatusTimestamp | TL_privacyKeyChatInvite | TL_privacyKeyPhoneCall | TL_privacyKeyPhoneP2P | TL_privacyKeyForwards | TL_privacyKeyProfilePhoto | TL_privacyKeyPhoneNumber | TL_privacyKeyAddedByPhone | TL_privacyKeyVoiceMessages | TL_privacyKeyAbout | TL_privacyKeyBirthday
	Rules []TL // PrivacyRule: TL_privacyValueAllowContacts | TL_privacyValueAllowAll | TL_privacyValueAllowUsers | TL_privacyValueDisallowContacts | TL_privacyValueDisallowAll | TL_privacyValueDisallowUsers | TL_privacyValueAllowChatParticipants | TL_privacyValueDisallowChatParticipants | TL_privacyValueAllowCloseFriends | TL_privacyValueAllowPremium
}

Constructs Update

type TL_updateQuickReplies added in v0.181.0

type TL_updateQuickReplies struct {
	QuickReplies []TL_quickReply
}

Constructs Update

type TL_updateQuickReplyMessage added in v0.181.0

type TL_updateQuickReplyMessage struct {
	Message TL // Message: TL_messageEmpty | TL_message | TL_messageService
}

Constructs Update

type TL_updateReadChannelDiscussionInbox

type TL_updateReadChannelDiscussionInbox struct {
	ChannelID     int64
	TopMsgID      int32
	ReadMaxID     int32
	BroadcastID   *int64 // (optional)
	BroadcastPost *int32 // (optional)
}

Constructs Update

type TL_updateReadChannelDiscussionOutbox

type TL_updateReadChannelDiscussionOutbox struct {
	ChannelID int64
	TopMsgID  int32
	ReadMaxID int32
}

Constructs Update

type TL_updateReadChannelInbox

type TL_updateReadChannelInbox struct {
	FolderID         *int32 // (optional)
	ChannelID        int64
	MaxID            int32
	StillUnreadCount int32
	PTS              int32
}

Constructs Update

type TL_updateReadChannelOutbox

type TL_updateReadChannelOutbox struct {
	ChannelID int64
	MaxID     int32
}

Constructs Update

type TL_updateReadFeaturedEmojiStickers

type TL_updateReadFeaturedEmojiStickers struct {
}

Constructs Update

type TL_updateReadFeaturedStickers

type TL_updateReadFeaturedStickers struct {
}

Constructs Update

type TL_updateReadHistoryInbox

type TL_updateReadHistoryInbox struct {
	FolderID         *int32 // (optional)
	Peer             TL     // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MaxID            int32
	StillUnreadCount int32
	PTS              int32
	PTSCount         int32
}

Constructs Update

type TL_updateReadHistoryOutbox

type TL_updateReadHistoryOutbox struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MaxID    int32
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateReadMessagesContents

type TL_updateReadMessagesContents struct {
	Messages []int32
	PTS      int32
	PTSCount int32
	Date     *int32 // (optional)
}

Constructs Update

type TL_updateReadStories added in v0.166.0

type TL_updateReadStories struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MaxID int32
}

Constructs Update

type TL_updateRecentEmojiStatuses

type TL_updateRecentEmojiStatuses struct {
}

Constructs Update

type TL_updateRecentReactions

type TL_updateRecentReactions struct {
}

Constructs Update

type TL_updateRecentStickers

type TL_updateRecentStickers struct {
}

Constructs Update

type TL_updateSMSJob added in v0.181.0

type TL_updateSMSJob struct {
	JobID string
}

Constructs Update

type TL_updateSavedDialogPinned added in v0.181.0

type TL_updateSavedDialogPinned struct {
	Pinned bool
	Peer   TL // DialogPeer: TL_dialogPeer | TL_dialogPeerFolder
}

Constructs Update

type TL_updateSavedGIFs added in v0.166.2

type TL_updateSavedGIFs struct {
}

Constructs Update

type TL_updateSavedReactionTags added in v0.181.0

type TL_updateSavedReactionTags struct {
}

Constructs Update

type TL_updateSavedRingtones

type TL_updateSavedRingtones struct {
}

Constructs Update

type TL_updateSentStoryReaction added in v0.166.0

type TL_updateSentStoryReaction struct {
	Peer     TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	StoryID  int32
	Reaction TL // Reaction: TL_reactionEmpty | TL_reactionEmoji | TL_reactionCustomEmoji | TL_reactionPaid
}

Constructs Update

type TL_updateServiceNotification

type TL_updateServiceNotification struct {
	Popup       bool
	InvertMedia bool
	InboxDate   *int32 // (optional)
	Type        string
	Message     string
	Media       TL   // MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	Entities    []TL // MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
}

Constructs Update

type TL_updateShort

type TL_updateShort struct {
	Update TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Date   int32
}

Constructs Updates

type TL_updateShortChatMessage

type TL_updateShortChatMessage struct {
	Out         bool
	Mentioned   bool
	MediaUnread bool
	Silent      bool
	ID          int32
	FromID      int64
	ChatID      int64
	Message     string
	PTS         int32
	PTSCount    int32
	Date        int32
	FwdFrom     *TL_messageFwdHeader // (optional)
	ViaBotID    *int64               // (optional)
	ReplyTo     TL                   // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
	Entities    []TL                 // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	TTLPeriod   *int32               // (optional)
}

Constructs Updates

type TL_updateShortMessage

type TL_updateShortMessage struct {
	Out         bool
	Mentioned   bool
	MediaUnread bool
	Silent      bool
	ID          int32
	UserID      int64
	Message     string
	PTS         int32
	PTSCount    int32
	Date        int32
	FwdFrom     *TL_messageFwdHeader // (optional)
	ViaBotID    *int64               // (optional)
	ReplyTo     TL                   // (optional) MessageReplyHeader: TL_messageReplyHeader | TL_messageReplyStoryHeader
	Entities    []TL                 // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	TTLPeriod   *int32               // (optional)
}

Constructs Updates

type TL_updateShortSentMessage

type TL_updateShortSentMessage struct {
	Out       bool
	ID        int32
	PTS       int32
	PTSCount  int32
	Date      int32
	Media     TL     // (optional) MessageMedia: TL_messageMediaEmpty | TL_messageMediaPhoto | TL_messageMediaGeo | TL_messageMediaContact | TL_messageMediaUnsupported | TL_messageMediaDocument | TL_messageMediaWebPage | TL_messageMediaVenue | TL_messageMediaGame | TL_messageMediaInvoice | TL_messageMediaGeoLive | TL_messageMediaPoll | TL_messageMediaDice | TL_messageMediaStory | TL_messageMediaGiveaway | TL_messageMediaGiveawayResults | TL_messageMediaPaidMedia
	Entities  []TL   // (optional) MessageEntity: TL_messageEntityUnknown | TL_messageEntityMention | TL_messageEntityHashtag | TL_messageEntityBotCommand | TL_messageEntityURL | TL_messageEntityEmail | TL_messageEntityBold | TL_messageEntityItalic | TL_messageEntityCode | TL_messageEntityPre | TL_messageEntityTextURL | TL_messageEntityMentionName | TL_inputMessageEntityMentionName | TL_messageEntityPhone | TL_messageEntityCashtag | TL_messageEntityUnderline | TL_messageEntityStrike | TL_messageEntityBankCard | TL_messageEntitySpoiler | TL_messageEntityCustomEmoji | TL_messageEntityBlockquote
	TTLPeriod *int32 // (optional)
}

Constructs Updates

type TL_updateStarsBalance added in v0.181.0

type TL_updateStarsBalance struct {
	Balance int64
}

Constructs Update

type TL_updateStarsRevenueStatus added in v0.183.0

type TL_updateStarsRevenueStatus struct {
	Peer   TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Status TL_starsRevenueStatus
}

Constructs Update

type TL_updateStickerSets

type TL_updateStickerSets struct {
	Masks  bool
	Emojis bool
}

Constructs Update

type TL_updateStickerSetsOrder

type TL_updateStickerSetsOrder struct {
	Masks  bool
	Emojis bool
	Order  []int64
}

Constructs Update

type TL_updateStoriesStealthMode added in v0.166.0

type TL_updateStoriesStealthMode struct {
	StealthMode TL_storiesStealthMode
}

Constructs Update

type TL_updateStory added in v0.166.0

type TL_updateStory struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	Story TL // StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs Update

type TL_updateStoryID added in v0.166.0

type TL_updateStoryID struct {
	ID       int32
	RandomID int64
}

Constructs Update

type TL_updateTheme

type TL_updateTheme struct {
	Theme TL_theme
}

Constructs Update

type TL_updateTranscribedAudio

type TL_updateTranscribedAudio struct {
	Pending         bool
	Peer            TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	MsgID           int32
	TranscriptionID int64
	Text            string
}

Constructs Update

type TL_updateUser

type TL_updateUser struct {
	UserID int64
}

Constructs Update

type TL_updateUserEmojiStatus

type TL_updateUserEmojiStatus struct {
	UserID      int64
	EmojiStatus TL // EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
}

Constructs Update

type TL_updateUserName

type TL_updateUserName struct {
	UserID    int64
	FirstName string
	LastName  string
	Usernames []TL_username
}

Constructs Update

type TL_updateUserPhone

type TL_updateUserPhone struct {
	UserID int64
	Phone  string
}

Constructs Update

type TL_updateUserStatus

type TL_updateUserStatus struct {
	UserID int64
	Status TL // UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
}

Constructs Update

type TL_updateUserTyping

type TL_updateUserTyping struct {
	UserID int64
	Action TL // SendMessageAction: TL_sendMessageTypingAction | TL_sendMessageCancelAction | TL_sendMessageRecordVideoAction | TL_sendMessageUploadVideoAction | TL_sendMessageRecordAudioAction | TL_sendMessageUploadAudioAction | TL_sendMessageUploadPhotoAction | TL_sendMessageUploadDocumentAction | TL_sendMessageGeoLocationAction | TL_sendMessageChooseContactAction | TL_sendMessageGamePlayAction | TL_sendMessageRecordRoundAction | TL_sendMessageUploadRoundAction | TL_speakingInGroupCallAction | TL_sendMessageHistoryImportAction | TL_sendMessageChooseStickerAction | TL_sendMessageEmojiInteraction | TL_sendMessageEmojiInteractionSeen
}

Constructs Update

type TL_updateWebPage

type TL_updateWebPage struct {
	Webpage  TL // WebPage: TL_webPageEmpty | TL_webPagePending | TL_webPage | TL_webPageNotModified
	PTS      int32
	PTSCount int32
}

Constructs Update

type TL_updateWebViewResultSent

type TL_updateWebViewResultSent struct {
	QueryID int64
}

Constructs Update

type TL_updates

type TL_updates struct {
	Updates []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Users   []TL // User: TL_userEmpty | TL_user
	Chats   []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Date    int32
	Seq     int32
}

Constructs Updates

type TL_updatesCombined

type TL_updatesCombined struct {
	Updates  []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Users    []TL // User: TL_userEmpty | TL_user
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Date     int32
	SeqStart int32
	Seq      int32
}

Constructs Updates

type TL_updatesTooLong

type TL_updatesTooLong struct {
}

Constructs Updates

type TL_updates_channelDifference

type TL_updates_channelDifference struct {
	Final        bool
	PTS          int32
	Timeout      *int32 // (optional)
	NewMessages  []TL   // Message: TL_messageEmpty | TL_message | TL_messageService
	OtherUpdates []TL   // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Chats        []TL   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users        []TL   // User: TL_userEmpty | TL_user
}

Constructs updates.ChannelDifference

type TL_updates_channelDifferenceEmpty

type TL_updates_channelDifferenceEmpty struct {
	Final   bool
	PTS     int32
	Timeout *int32 // (optional)
}

Constructs updates.ChannelDifference

type TL_updates_channelDifferenceTooLong

type TL_updates_channelDifferenceTooLong struct {
	Final    bool
	Timeout  *int32 // (optional)
	Dialog   TL     // Dialog: TL_dialog | TL_dialogFolder
	Messages []TL   // Message: TL_messageEmpty | TL_message | TL_messageService
	Chats    []TL   // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL   // User: TL_userEmpty | TL_user
}

Constructs updates.ChannelDifference

type TL_updates_difference

type TL_updates_difference struct {
	NewMessages          []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	NewEncryptedMessages []TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
	OtherUpdates         []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Chats                []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users                []TL // User: TL_userEmpty | TL_user
	State                TL_updates_state
}

Constructs updates.Difference

type TL_updates_differenceEmpty

type TL_updates_differenceEmpty struct {
	Date int32
	Seq  int32
}

Constructs updates.Difference

type TL_updates_differenceSlice

type TL_updates_differenceSlice struct {
	NewMessages          []TL // Message: TL_messageEmpty | TL_message | TL_messageService
	NewEncryptedMessages []TL // EncryptedMessage: TL_encryptedMessage | TL_encryptedMessageService
	OtherUpdates         []TL // Update: TL_updateNewMessage | TL_updateMessageID | TL_updateDeleteMessages | TL_updateUserTyping | TL_updateChatUserTyping | TL_updateChatParticipants | TL_updateUserStatus | TL_updateUserName | TL_updateNewAuthorization | TL_updateNewEncryptedMessage | TL_updateEncryptedChatTyping | TL_updateEncryption | TL_updateEncryptedMessagesRead | TL_updateChatParticipantAdd | TL_updateChatParticipantDelete | TL_updateDCOptions | TL_updateNotifySettings | TL_updateServiceNotification | TL_updatePrivacy | TL_updateUserPhone | TL_updateReadHistoryInbox | TL_updateReadHistoryOutbox | TL_updateWebPage | TL_updateReadMessagesContents | TL_updateChannelTooLong | TL_updateChannel | TL_updateNewChannelMessage | TL_updateReadChannelInbox | TL_updateDeleteChannelMessages | TL_updateChannelMessageViews | TL_updateChatParticipantAdmin | TL_updateNewStickerSet | TL_updateStickerSetsOrder | TL_updateStickerSets | TL_updateSavedGIFs | TL_updateBotInlineQuery | TL_updateBotInlineSend | TL_updateEditChannelMessage | TL_updateBotCallbackQuery | TL_updateEditMessage | TL_updateInlineBotCallbackQuery | TL_updateReadChannelOutbox | TL_updateDraftMessage | TL_updateReadFeaturedStickers | TL_updateRecentStickers | TL_updateConfig | TL_updatePTSChanged | TL_updateChannelWebPage | TL_updateDialogPinned | TL_updatePinnedDialogs | TL_updateBotWebhookJSON | TL_updateBotWebhookJSONQuery | TL_updateBotShippingQuery | TL_updateBotPrecheckoutQuery | TL_updatePhoneCall | TL_updateLangPackTooLong | TL_updateLangPack | TL_updateFavedStickers | TL_updateChannelReadMessagesContents | TL_updateContactsReset | TL_updateChannelAvailableMessages | TL_updateDialogUnreadMark | TL_updateMessagePoll | TL_updateChatDefaultBannedRights | TL_updateFolderPeers | TL_updatePeerSettings | TL_updatePeerLocated | TL_updateNewScheduledMessage | TL_updateDeleteScheduledMessages | TL_updateTheme | TL_updateGeoLiveViewed | TL_updateLoginToken | TL_updateMessagePollVote | TL_updateDialogFilter | TL_updateDialogFilterOrder | TL_updateDialogFilters | TL_updatePhoneCallSignalingData | TL_updateChannelMessageForwards | TL_updateReadChannelDiscussionInbox | TL_updateReadChannelDiscussionOutbox | TL_updatePeerBlocked | TL_updateChannelUserTyping | TL_updatePinnedMessages | TL_updatePinnedChannelMessages | TL_updateChat | TL_updateGroupCallParticipants | TL_updateGroupCall | TL_updatePeerHistoryTTL | TL_updateChatParticipant | TL_updateChannelParticipant | TL_updateBotStopped | TL_updateGroupCallConnection | TL_updateBotCommands | TL_updatePendingJoinRequests | TL_updateBotChatInviteRequester | TL_updateMessageReactions | TL_updateAttachMenuBots | TL_updateWebViewResultSent | TL_updateBotMenuButton | TL_updateSavedRingtones | TL_updateTranscribedAudio | TL_updateReadFeaturedEmojiStickers | TL_updateUserEmojiStatus | TL_updateRecentEmojiStatuses | TL_updateRecentReactions | TL_updateMoveStickerSetToTop | TL_updateMessageExtendedMedia | TL_updateChannelPinnedTopic | TL_updateChannelPinnedTopics | TL_updateUser | TL_updateAutoSaveSettings | TL_updateStory | TL_updateReadStories | TL_updateStoryID | TL_updateStoriesStealthMode | TL_updateSentStoryReaction | TL_updateBotChatBoost | TL_updateChannelViewForumAsMessages | TL_updatePeerWallpaper | TL_updateBotMessageReaction | TL_updateBotMessageReactions | TL_updateSavedDialogPinned | TL_updatePinnedSavedDialogs | TL_updateSavedReactionTags | TL_updateSMSJob | TL_updateQuickReplies | TL_updateNewQuickReply | TL_updateDeleteQuickReply | TL_updateQuickReplyMessage | TL_updateDeleteQuickReplyMessages | TL_updateBotBusinessConnect | TL_updateBotNewBusinessMessage | TL_updateBotEditBusinessMessage | TL_updateBotDeleteBusinessMessage | TL_updateNewStoryReaction | TL_updateBroadcastRevenueTransactions | TL_updateStarsBalance | TL_updateBusinessBotCallbackQuery | TL_updateStarsRevenueStatus | TL_updateBotPurchasedPaidMedia | TL_updatePaidReactionPrivacy
	Chats                []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users                []TL // User: TL_userEmpty | TL_user
	IntermediateState    TL_updates_state
}

Constructs updates.Difference

type TL_updates_differenceTooLong

type TL_updates_differenceTooLong struct {
	PTS int32
}

Constructs updates.Difference

type TL_updates_getChannelDifference

type TL_updates_getChannelDifference struct {
	Force   bool
	Channel TL // InputChannel: TL_inputChannelEmpty | TL_inputChannel | TL_inputChannelFromMessage
	Filter  TL // ChannelMessagesFilter: TL_channelMessagesFilterEmpty | TL_channelMessagesFilter
	PTS     int32
	Limit   int32
}

Returns updates.ChannelDifference: TL_updates_channelDifferenceEmpty | TL_updates_channelDifferenceTooLong | TL_updates_channelDifference

type TL_updates_getDifference

type TL_updates_getDifference struct {
	PTS           int32
	PTSLimit      *int32 // (optional)
	PTSTotalLimit *int32 // (optional)
	Date          int32
	QTS           int32
	QTSLimit      *int32 // (optional)
}

Returns updates.Difference: TL_updates_differenceEmpty | TL_updates_difference | TL_updates_differenceSlice | TL_updates_differenceTooLong

type TL_updates_getState

type TL_updates_getState struct {
}

Returns updates.State: TL_updates_state

type TL_updates_state

type TL_updates_state struct {
	PTS         int32
	QTS         int32
	Date        int32
	Seq         int32
	UnreadCount int32
}

Constructs updates.State

type TL_upload_cdnFile

type TL_upload_cdnFile struct {
	Bytes []byte
}

Constructs upload.CdnFile

type TL_upload_cdnFileReuploadNeeded

type TL_upload_cdnFileReuploadNeeded struct {
	RequestToken []byte
}

Constructs upload.CdnFile

type TL_upload_file

type TL_upload_file struct {
	Type  TL // storage.FileType: TL_storage_fileUnknown | TL_storage_filePartial | TL_storage_fileJPEG | TL_storage_fileGIF | TL_storage_filePNG | TL_storage_filePDF | TL_storage_fileMP3 | TL_storage_fileMOV | TL_storage_fileMP4 | TL_storage_fileWEBP
	Mtime int32
	Bytes []byte
}

Constructs upload.File

type TL_upload_fileCDNRedirect added in v0.166.2

type TL_upload_fileCDNRedirect struct {
	DCID          int32
	FileToken     []byte
	EncryptionKey []byte
	EncryptionIV  []byte
	FileHashes    []TL_fileHash
}

Constructs upload.File

type TL_upload_getCDNFile added in v0.166.2

type TL_upload_getCDNFile struct {
	FileToken []byte
	Offset    int64
	Limit     int32
}

Returns upload.CdnFile: TL_upload_cdnFileReuploadNeeded | TL_upload_cdnFile

type TL_upload_getCDNFileHashes added in v0.166.2

type TL_upload_getCDNFileHashes struct {
	FileToken []byte
	Offset    int64
}

Returns Vector<FileHash>: TL_fileHash

type TL_upload_getFile

type TL_upload_getFile struct {
	Precise      bool
	CDNSupported bool
	Location     TL // InputFileLocation: TL_inputFileLocation | TL_inputEncryptedFileLocation | TL_inputDocumentFileLocation | TL_inputSecureFileLocation | TL_inputTakeoutFileLocation | TL_inputPhotoFileLocation | TL_inputPhotoLegacyFileLocation | TL_inputPeerPhotoFileLocation | TL_inputStickerSetThumb | TL_inputGroupCallStream
	Offset       int64
	Limit        int32
}

Returns upload.File: TL_upload_file | TL_upload_fileCDNRedirect

type TL_upload_getFileHashes

type TL_upload_getFileHashes struct {
	Location TL // InputFileLocation: TL_inputFileLocation | TL_inputEncryptedFileLocation | TL_inputDocumentFileLocation | TL_inputSecureFileLocation | TL_inputTakeoutFileLocation | TL_inputPhotoFileLocation | TL_inputPhotoLegacyFileLocation | TL_inputPeerPhotoFileLocation | TL_inputStickerSetThumb | TL_inputGroupCallStream
	Offset   int64
}

Returns Vector<FileHash>: TL_fileHash

type TL_upload_getWebFile

type TL_upload_getWebFile struct {
	Location TL // InputWebFileLocation: TL_inputWebFileLocation | TL_inputWebFileGeoPointLocation | TL_inputWebFileAudioAlbumThumbLocation
	Offset   int32
	Limit    int32
}

Returns upload.WebFile: TL_upload_webFile

type TL_upload_reuploadCDNFile added in v0.166.2

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

Returns Vector<FileHash>: TL_fileHash

type TL_upload_saveBigFilePart

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

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_upload_saveFilePart

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

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_upload_webFile

type TL_upload_webFile struct {
	Size     int32
	MIMEType string
	FileType TL // storage.FileType: TL_storage_fileUnknown | TL_storage_filePartial | TL_storage_fileJPEG | TL_storage_fileGIF | TL_storage_filePNG | TL_storage_filePDF | TL_storage_fileMP3 | TL_storage_fileMOV | TL_storage_fileMP4 | TL_storage_fileWEBP
	Mtime    int32
	Bytes    []byte
}

Constructs upload.WebFile

type TL_urlAuthResultAccepted

type TL_urlAuthResultAccepted struct {
	URL string
}

Constructs UrlAuthResult

type TL_urlAuthResultDefault

type TL_urlAuthResultDefault struct {
}

Constructs UrlAuthResult

type TL_urlAuthResultRequest

type TL_urlAuthResultRequest struct {
	RequestWriteAccess bool
	Bot                TL // User: TL_userEmpty | TL_user
	Domain             string
}

Constructs UrlAuthResult

type TL_user

type TL_user struct {
	Self                  bool
	Contact               bool
	MutualContact         bool
	Deleted               bool
	Bot                   bool
	BotChatHistory        bool
	BotNochats            bool
	Verified              bool
	Restricted            bool
	Min                   bool
	BotInlineGeo          bool
	Support               bool
	Scam                  bool
	ApplyMinPhoto         bool
	Fake                  bool
	BotAttachMenu         bool
	Premium               bool
	AttachMenuEnabled     bool
	BotCanEdit            bool
	CloseFriend           bool
	StoriesHidden         bool
	StoriesUnavailable    bool
	ContactRequirePremium bool
	BotBusiness           bool
	BotHasMainApp         bool
	ID                    int64
	AccessHash            *int64                 // (optional)
	FirstName             *string                // (optional)
	LastName              *string                // (optional)
	Username              *string                // (optional)
	Phone                 *string                // (optional)
	Photo                 TL                     // (optional) UserProfilePhoto: TL_userProfilePhotoEmpty | TL_userProfilePhoto
	Status                TL                     // (optional) UserStatus: TL_userStatusEmpty | TL_userStatusOnline | TL_userStatusOffline | TL_userStatusRecently | TL_userStatusLastWeek | TL_userStatusLastMonth
	BotInfoVersion        *int32                 // (optional)
	RestrictionReason     []TL_restrictionReason // (optional)
	BotInlinePlaceholder  *string                // (optional)
	LangCode              *string                // (optional)
	EmojiStatus           TL                     // (optional) EmojiStatus: TL_emojiStatusEmpty | TL_emojiStatus | TL_emojiStatusUntil
	Usernames             []TL_username          // (optional)
	StoriesMaxID          *int32                 // (optional)
	Color                 *TL_peerColor          // (optional)
	ProfileColor          *TL_peerColor          // (optional)
	BotActiveUsers        *int32                 // (optional)
}

Constructs User

type TL_userEmpty

type TL_userEmpty struct {
	ID int64
}

Constructs User

type TL_userFull

type TL_userFull struct {
	Blocked                 bool
	PhoneCallsAvailable     bool
	PhoneCallsPrivate       bool
	CanPINMessage           bool
	HasScheduled            bool
	VideoCallsAvailable     bool
	VoiceMessagesForbidden  bool
	TranslationsDisabled    bool
	StoriesPinnedAvailable  bool
	BlockedMyStoriesFrom    bool
	WallpaperOverridden     bool
	ContactRequirePremium   bool
	ReadDatesPrivate        bool
	SponsoredEnabled        bool
	CanViewRevenue          bool
	ID                      int64
	About                   *string // (optional)
	Settings                TL_peerSettings
	PersonalPhoto           TL // (optional) Photo: TL_photoEmpty | TL_photo
	ProfilePhoto            TL // (optional) Photo: TL_photoEmpty | TL_photo
	FallbackPhoto           TL // (optional) Photo: TL_photoEmpty | TL_photo
	NotifySettings          TL_peerNotifySettings
	BotInfo                 *TL_botInfo // (optional)
	PinnedMsgID             *int32      // (optional)
	CommonChatsCount        int32
	FolderID                *int32                      // (optional)
	TTLPeriod               *int32                      // (optional)
	ThemeEmoticon           *string                     // (optional)
	PrivateForwardName      *string                     // (optional)
	BotGroupAdminRights     *TL_chatAdminRights         // (optional)
	BotBroadcastAdminRights *TL_chatAdminRights         // (optional)
	PremiumGifts            []TL_premiumGiftOption      // (optional)
	Wallpaper               TL                          // (optional) WallPaper: TL_wallPaper | TL_wallPaperNoFile
	Stories                 *TL_peerStories             // (optional)
	BusinessWorkHours       *TL_businessWorkHours       // (optional)
	BusinessLocation        *TL_businessLocation        // (optional)
	BusinessGreetingMessage *TL_businessGreetingMessage // (optional)
	BusinessAwayMessage     *TL_businessAwayMessage     // (optional)
	BusinessIntro           *TL_businessIntro           // (optional)
	Birthday                *TL_birthday                // (optional)
	PersonalChannelID       *int64                      // (optional)
	PersonalChannelMessage  *int32                      // (optional)
	StargiftsCount          *int32                      // (optional)
}

Constructs UserFull

type TL_userProfilePhoto

type TL_userProfilePhoto struct {
	HasVideo      bool
	Personal      bool
	PhotoID       int64
	StrippedThumb []byte // (optional)
	DCID          int32
}

Constructs UserProfilePhoto

type TL_userProfilePhotoEmpty

type TL_userProfilePhotoEmpty struct {
}

Constructs UserProfilePhoto

type TL_userStarGift added in v0.192.0

type TL_userStarGift struct {
	NameHidden   bool
	Unsaved      bool
	FromID       *int64 // (optional)
	Date         int32
	Gift         TL_starGift
	Message      *TL_textWithEntities // (optional)
	MsgID        *int32               // (optional)
	ConvertStars *int64               // (optional)
}

Constructs UserStarGift

type TL_userStatusEmpty

type TL_userStatusEmpty struct {
}

Constructs UserStatus

type TL_userStatusLastMonth

type TL_userStatusLastMonth struct {
	ByMe bool
}

Constructs UserStatus

type TL_userStatusLastWeek

type TL_userStatusLastWeek struct {
	ByMe bool
}

Constructs UserStatus

type TL_userStatusOffline

type TL_userStatusOffline struct {
	WasOnline int32
}

Constructs UserStatus

type TL_userStatusOnline

type TL_userStatusOnline struct {
	Expires int32
}

Constructs UserStatus

type TL_userStatusRecently

type TL_userStatusRecently struct {
	ByMe bool
}

Constructs UserStatus

type TL_username

type TL_username struct {
	Editable bool
	Active   bool
	Username string
}

Constructs Username

type TL_users_getFullUser

type TL_users_getFullUser struct {
	ID TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns users.UserFull: TL_users_userFull

type TL_users_getIsPremiumRequiredToContact added in v0.181.0

type TL_users_getIsPremiumRequiredToContact struct {
	ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Vector<Bool>: TL_boolFalse | TL_boolTrue

type TL_users_getUsers

type TL_users_getUsers struct {
	ID []TL // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
}

Returns Vector<User>: TL_userEmpty | TL_user

type TL_users_setSecureValueErrors

type TL_users_setSecureValueErrors struct {
	ID     TL   // InputUser: TL_inputUserEmpty | TL_inputUserSelf | TL_inputUser | TL_inputUserFromMessage
	Errors []TL // SecureValueError: TL_secureValueErrorData | TL_secureValueErrorFrontSide | TL_secureValueErrorReverseSide | TL_secureValueErrorSelfie | TL_secureValueErrorFile | TL_secureValueErrorFiles | TL_secureValueError | TL_secureValueErrorTranslationFile | TL_secureValueErrorTranslationFiles
}

Returns Bool: TL_boolFalse | TL_boolTrue

type TL_users_userFull

type TL_users_userFull struct {
	FullUser TL_userFull
	Chats    []TL // Chat: TL_chatEmpty | TL_chat | TL_chatForbidden | TL_channel | TL_channelForbidden
	Users    []TL // User: TL_userEmpty | TL_user
}

Constructs users.UserFull

type TL_videoSize

type TL_videoSize struct {
	Type         string
	W            int32
	H            int32
	Size         int32
	VideoStartTS *float64 // (optional)
}

Constructs VideoSize

type TL_videoSizeEmojiMarkup

type TL_videoSizeEmojiMarkup struct {
	EmojiID          int64
	BackgroundColors []int32
}

Constructs VideoSize

type TL_videoSizeStickerMarkup

type TL_videoSizeStickerMarkup struct {
	Stickerset       TL // InputStickerSet: TL_inputStickerSetEmpty | TL_inputStickerSetID | TL_inputStickerSetShortName | TL_inputStickerSetAnimatedEmoji | TL_inputStickerSetDice | TL_inputStickerSetAnimatedEmojiAnimations | TL_inputStickerSetPremiumGifts | TL_inputStickerSetEmojiGenericAnimations | TL_inputStickerSetEmojiDefaultStatuses | TL_inputStickerSetEmojiDefaultTopicIcons | TL_inputStickerSetEmojiChannelDefaultStatuses
	StickerID        int64
	BackgroundColors []int32
}

Constructs VideoSize

type TL_wallPaper

type TL_wallPaper struct {
	ID         int64
	Creator    bool
	Default    bool
	Pattern    bool
	Dark       bool
	AccessHash int64
	Slug       string
	Document   TL                    // Document: TL_documentEmpty | TL_document
	Settings   *TL_wallPaperSettings // (optional)
}

Constructs WallPaper

type TL_wallPaperNoFile

type TL_wallPaperNoFile struct {
	ID       int64
	Default  bool
	Dark     bool
	Settings *TL_wallPaperSettings // (optional)
}

Constructs WallPaper

type TL_wallPaperSettings

type TL_wallPaperSettings struct {
	Blur                  bool
	Motion                bool
	BackgroundColor       *int32  // (optional)
	SecondBackgroundColor *int32  // (optional)
	ThirdBackgroundColor  *int32  // (optional)
	FourthBackgroundColor *int32  // (optional)
	Intensity             *int32  // (optional)
	Rotation              *int32  // (optional)
	Emoticon              *string // (optional)
}

Constructs WallPaperSettings

type TL_webAuthorization

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

Constructs WebAuthorization

type TL_webDocument

type TL_webDocument struct {
	URL        string
	AccessHash int64
	Size       int32
	MIMEType   string
	Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}

Constructs WebDocument

type TL_webDocumentNoProxy

type TL_webDocumentNoProxy struct {
	URL        string
	Size       int32
	MIMEType   string
	Attributes []TL // DocumentAttribute: TL_documentAttributeImageSize | TL_documentAttributeAnimated | TL_documentAttributeSticker | TL_documentAttributeVideo | TL_documentAttributeAudio | TL_documentAttributeFilename | TL_documentAttributeHasStickers | TL_documentAttributeCustomEmoji
}

Constructs WebDocument

type TL_webPage

type TL_webPage struct {
	HasLargeMedia bool
	ID            int64
	URL           string
	DisplayURL    string
	Hash          int32
	Type          *string  // (optional)
	SiteName      *string  // (optional)
	Title         *string  // (optional)
	Description   *string  // (optional)
	Photo         TL       // (optional) Photo: TL_photoEmpty | TL_photo
	EmbedURL      *string  // (optional)
	EmbedType     *string  // (optional)
	EmbedWidth    *int32   // (optional)
	EmbedHeight   *int32   // (optional)
	Duration      *int32   // (optional)
	Author        *string  // (optional)
	Document      TL       // (optional) Document: TL_documentEmpty | TL_document
	CachedPage    *TL_page // (optional)
	Attributes    []TL     // (optional) WebPageAttribute: TL_webPageAttributeTheme | TL_webPageAttributeStory | TL_webPageAttributeStickerSet
}

Constructs WebPage

type TL_webPageAttributeStickerSet added in v0.181.0

type TL_webPageAttributeStickerSet struct {
	Emojis    bool
	TextColor bool
	Stickers  []TL // Document: TL_documentEmpty | TL_document
}

Constructs WebPageAttribute

type TL_webPageAttributeStory added in v0.166.0

type TL_webPageAttributeStory struct {
	Peer  TL // Peer: TL_peerUser | TL_peerChat | TL_peerChannel
	ID    int32
	Story TL // (optional) StoryItem: TL_storyItemDeleted | TL_storyItemSkipped | TL_storyItem
}

Constructs WebPageAttribute

type TL_webPageAttributeTheme

type TL_webPageAttributeTheme struct {
	Documents []TL              // (optional) Document: TL_documentEmpty | TL_document
	Settings  *TL_themeSettings // (optional)
}

Constructs WebPageAttribute

type TL_webPageEmpty

type TL_webPageEmpty struct {
	ID  int64
	URL *string // (optional)
}

Constructs WebPage

type TL_webPageNotModified

type TL_webPageNotModified struct {
	CachedPageViews *int32 // (optional)
}

Constructs WebPage

type TL_webPagePending

type TL_webPagePending struct {
	ID   int64
	URL  *string // (optional)
	Date int32
}

Constructs WebPage

type TL_webViewMessageSent

type TL_webViewMessageSent struct {
	MsgID TL // (optional) InputBotInlineMessageID: TL_inputBotInlineMessageID | TL_inputBotInlineMessageID64
}

Constructs WebViewMessageSent

type TL_webViewResultURL added in v0.166.2

type TL_webViewResultURL struct {
	Fullsize bool
	QueryID  *int64 // (optional)
	URL      string
}

Constructs WebViewResult

type UnexpectedTypeError added in v0.181.1

type UnexpectedTypeError struct {
	Value TL
}

func (UnexpectedTypeError) Error added in v0.181.1

func (r UnexpectedTypeError) Error() string

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