mtproto

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Code generated by tlc (github.com/andreyvit/telegramapi/tl/cmd/tlc). DO NOT EDIT.

Index

Constants

View Source
const (
	TagResPQ                   uint32 = 0x05162463
	TagPQInnerData                    = 0x83c95aec
	TagServerDHParamsFail             = 0x79cb045d
	TagServerDHParamsOK               = 0xd0e8075c
	TagServerDHInnerData              = 0xb5890dba
	TagClientDHInnerData              = 0x6643b654
	TagDHGenOK                        = 0x3bcbf734
	TagDHGenRetry                     = 0x46dc1fb9
	TagDHGenFail                      = 0xa69dae02
	TagRPCResult                      = 0xf35c6d01
	TagRPCError                       = 0x2144ca19
	TagRPCAnswerUnknown               = 0x5e2ad36e
	TagRPCAnswerDroppedRunning        = 0xcd78e586
	TagRPCAnswerDropped               = 0xa43ad8b7
	TagFutureSalt                     = 0x0949d9dc
	TagFutureSalts                    = 0xae500895
	TagPong                           = 0x347773c5
	TagDestroySessionOK               = 0xe22045fc
	TagDestroySessionNone             = 0x62d350c9
	TagNewSessionCreated              = 0x9ec20908
	TagMsgContainer                   = 0x73f1f8dc
	TagProtoMessage                   = 0x5bb8e511
	TagMsgCopy                        = 0xe06046b2
	TagGzipPacked                     = 0x3072cfa1
	TagMsgsAck                        = 0x62d6b459
	TagBadMsgNotification             = 0xa7eff811
	TagBadServerSalt                  = 0xedab447b
	TagMsgResendReq                   = 0x7d861a08
	TagMsgsStateReq                   = 0xda69fb52
	TagMsgsStateInfo                  = 0x04deb57d
	TagMsgsAllInfo                    = 0x8cc0d131
	TagMsgDetailedInfo                = 0x276d3ec6
	TagMsgNewDetailedInfo             = 0x809db6df
	TagReqPQ                          = 0x60469778
	TagReqDHParams                    = 0xd712e4be
	TagSetClientDHParams              = 0xf5045f1f
	TagRPCDropAnswer                  = 0x58e4a740
	TagGetFutureSalts                 = 0xb921bd04
	TagPing                           = 0x7abe77ec
	TagPingDelayDisconnect            = 0xf3427b8c
	TagDestroySession                 = 0xe7512126
	TagHttpWait                       = 0x9299359f
)

from MTProto

View Source
const (
	TagError                                  uint32 = 0xc4b9f9bb
	TagNull                                          = 0x56730bcc
	TagInputPeerEmpty                                = 0x7f3b18ea
	TagInputPeerSelf                                 = 0x7da07ec9
	TagInputPeerChat                                 = 0x179be863
	TagInputPeerUser                                 = 0x7b8e7de6
	TagInputPeerChannel                              = 0x20adaef8
	TagInputUserEmpty                                = 0xb98886cf
	TagInputUserSelf                                 = 0xf7c1b13f
	TagInputUser                                     = 0xd8292816
	TagInputPhoneContact                             = 0xf392b7f4
	TagInputFile                                     = 0xf52ff27f
	TagInputFileBig                                  = 0xfa4f0bb5
	TagInputMediaEmpty                               = 0x9664f57f
	TagInputMediaUploadedPhoto                       = 0x630c9af1
	TagInputMediaPhoto                               = 0xe9bfb4f3
	TagInputMediaGeoPoint                            = 0xf9c44144
	TagInputMediaContact                             = 0xa6e45987
	TagInputMediaUploadedDocument                    = 0xd070f1e9
	TagInputMediaUploadedThumbDocument               = 0x50d88cae
	TagInputMediaDocument                            = 0x1a77f29c
	TagInputMediaVenue                               = 0x2827a81a
	TagInputMediaGifExternal                         = 0x4843b0fd
	TagInputMediaPhotoExternal                       = 0xb55f4f18
	TagInputMediaDocumentExternal                    = 0xe5e9607c
	TagInputMediaGame                                = 0xd33f43f3
	TagInputMediaInvoice                             = 0x92153685
	TagInputChatPhotoEmpty                           = 0x1ca48f57
	TagInputChatUploadedPhoto                        = 0x927c55b4
	TagInputChatPhoto                                = 0x8953ad37
	TagInputGeoPointEmpty                            = 0xe4c123d6
	TagInputGeoPoint                                 = 0xf3b7acc9
	TagInputPhotoEmpty                               = 0x1cd7bf0d
	TagInputPhoto                                    = 0xfb95c6c4
	TagInputFileLocation                             = 0x14637196
	TagInputEncryptedFileLocation                    = 0xf5235d55
	TagInputDocumentFileLocation                     = 0x430f0724
	TagInputAppEvent                                 = 0x770656a8
	TagPeerUser                                      = 0x9db1bc6d
	TagPeerChat                                      = 0xbad0e5bb
	TagPeerChannel                                   = 0xbddde532
	TagStorageFileUnknown                            = 0xaa963b05
	TagStorageFilePartial                            = 0x40bc6f52
	TagStorageFileJpeg                               = 0x007efe0e
	TagStorageFileGif                                = 0xcae1aadf
	TagStorageFilePng                                = 0x0a4f63c0
	TagStorageFilePdf                                = 0xae1e508d
	TagStorageFileMp3                                = 0x528a0677
	TagStorageFileMov                                = 0x4b09ebbc
	TagStorageFileMp4                                = 0xb3cea0e4
	TagStorageFileWebp                               = 0x1081464c
	TagFileLocationUnavailable                       = 0x7c596b46
	TagFileLocation                                  = 0x53d69076
	TagUserEmpty                                     = 0x200250ba
	TagUser                                          = 0xd10d979a
	TagUserProfilePhotoEmpty                         = 0x4f11bae1
	TagUserProfilePhoto                              = 0xd559d8c8
	TagUserStatusEmpty                               = 0x09d05049
	TagUserStatusOnline                              = 0xedb93949
	TagUserStatusOffline                             = 0x008c703f
	TagUserStatusRecently                            = 0xe26f42f1
	TagUserStatusLastWeek                            = 0x07bf09fc
	TagUserStatusLastMonth                           = 0x77ebc742
	TagChatEmpty                                     = 0x9ba2d800
	TagChat                                          = 0xd91cdd54
	TagChatForbidden                                 = 0x07328bdb
	TagChannel                                       = 0xa14dca52
	TagChannelForbidden                              = 0x8537784f
	TagChatFull                                      = 0x2e02a614
	TagChannelFull                                   = 0xc3d5512f
	TagChatParticipant                               = 0xc8d7493e
	TagChatParticipantCreator                        = 0xda13538a
	TagChatParticipantAdmin                          = 0xe2d6e436
	TagChatParticipantsForbidden                     = 0xfc900c2b
	TagChatParticipants                              = 0x3f460fed
	TagChatPhotoEmpty                                = 0x37c1011c
	TagChatPhoto                                     = 0x6153276a
	TagMessageEmpty                                  = 0x83e5de54
	TagMessage                                       = 0xc09be45f
	TagMessageService                                = 0x9e19a1f6
	TagMessageMediaEmpty                             = 0x3ded6320
	TagMessageMediaPhoto                             = 0x3d8ce53d
	TagMessageMediaGeo                               = 0x56e0d474
	TagMessageMediaContact                           = 0x5e7d2f39
	TagMessageMediaUnsupported                       = 0x9f84f49e
	TagMessageMediaDocument                          = 0xf3e02ea8
	TagMessageMediaWebPage                           = 0xa32dd600
	TagMessageMediaVenue                             = 0x7912b71f
	TagMessageMediaGame                              = 0xfdb19008
	TagMessageMediaInvoice                           = 0x84551347
	TagMessageActionEmpty                            = 0xb6aef7b0
	TagMessageActionChatCreate                       = 0xa6638b9a
	TagMessageActionChatEditTitle                    = 0xb5a1ce5a
	TagMessageActionChatEditPhoto                    = 0x7fcb13a8
	TagMessageActionChatDeletePhoto                  = 0x95e3fbef
	TagMessageActionChatAddUser                      = 0x488a7337
	TagMessageActionChatDeleteUser                   = 0xb2ae9b0c
	TagMessageActionChatJoinedByLink                 = 0xf89cf5e8
	TagMessageActionChannelCreate                    = 0x95d2ac92
	TagMessageActionChatMigrateTo                    = 0x51bdb021
	TagMessageActionChannelMigrateFrom               = 0xb055eaee
	TagMessageActionPinMessage                       = 0x94bd38ed
	TagMessageActionHistoryClear                     = 0x9fbab604
	TagMessageActionGameScore                        = 0x92a72876
	TagMessageActionPaymentSentMe                    = 0x8f31b327
	TagMessageActionPaymentSent                      = 0x40699cd0
	TagMessageActionPhoneCall                        = 0x80e11a7f
	TagDialog                                        = 0x66ffba14
	TagPhotoEmpty                                    = 0x2331b22d
	TagPhoto                                         = 0x9288dd29
	TagPhotoSizeEmpty                                = 0x0e17e23c
	TagPhotoSize                                     = 0x77bfb61b
	TagPhotoCachedSize                               = 0xe9a734fa
	TagGeoPointEmpty                                 = 0x1117dd5f
	TagGeoPoint                                      = 0x2049d70c
	TagAuthCheckedPhone                              = 0x811ea28e
	TagAuthSentCode                                  = 0x5e002502
	TagAuthAuthorization                             = 0xcd050916
	TagAuthExportedAuthorization                     = 0xdf969c2d
	TagInputNotifyPeer                               = 0xb8bc5b0c
	TagInputNotifyUsers                              = 0x193b4417
	TagInputNotifyChats                              = 0x4a95e84e
	TagInputNotifyAll                                = 0xa429b886
	TagInputPeerNotifyEventsEmpty                    = 0xf03064d8
	TagInputPeerNotifyEventsAll                      = 0xe86a2c74
	TagInputPeerNotifySettings                       = 0x38935eb2
	TagPeerNotifyEventsEmpty                         = 0xadd53cb3
	TagPeerNotifyEventsAll                           = 0x6d1ded88
	TagPeerNotifySettingsEmpty                       = 0x70a68512
	TagPeerNotifySettings                            = 0x9acda4c0
	TagPeerSettings                                  = 0x818426cd
	TagWallPaper                                     = 0xccb03657
	TagWallPaperSolid                                = 0x63117f24
	TagInputReportReasonSpam                         = 0x58dbcab8
	TagInputReportReasonViolence                     = 0x1e22c78d
	TagInputReportReasonPornography                  = 0x2e59d922
	TagInputReportReasonOther                        = 0xe1746d0a
	TagUserFull                                      = 0x0f220f3f
	TagContact                                       = 0xf911c994
	TagImportedContact                               = 0xd0028438
	TagContactBlocked                                = 0x561bc879
	TagContactStatus                                 = 0xd3680c61
	TagContactsLink                                  = 0x3ace484c
	TagContactsContactsNotModified                   = 0xb74ba9d2
	TagContactsContacts                              = 0x6f8b8cb2
	TagContactsImportedContacts                      = 0xad524315
	TagContactsBlocked                               = 0x1c138d15
	TagContactsBlockedSlice                          = 0x900802a1
	TagMessagesDialogs                               = 0x15ba6c40
	TagMessagesDialogsSlice                          = 0x71e094f3
	TagMessagesMessages                              = 0x8c718e87
	TagMessagesMessagesSlice                         = 0x0b446ae3
	TagMessagesChannelMessages                       = 0x99262e37
	TagMessagesChats                                 = 0x64ff9fd5
	TagMessagesChatsSlice                            = 0x9cd81144
	TagMessagesChatFull                              = 0xe5d7d19c
	TagMessagesAffectedHistory                       = 0xb45c69d1
	TagInputMessagesFilterEmpty                      = 0x57e2f66c
	TagInputMessagesFilterPhotos                     = 0x9609a51c
	TagInputMessagesFilterVideo                      = 0x9fc00e65
	TagInputMessagesFilterPhotoVideo                 = 0x56e9f0e4
	TagInputMessagesFilterPhotoVideoDocuments        = 0xd95e73bb
	TagInputMessagesFilterDocument                   = 0x9eddf188
	TagInputMessagesFilterURL                        = 0x7ef0dd87
	TagInputMessagesFilterGif                        = 0xffc86587
	TagInputMessagesFilterVoice                      = 0x50f5c392
	TagInputMessagesFilterMusic                      = 0x3751b49e
	TagInputMessagesFilterChatPhotos                 = 0x3a20ecb8
	TagInputMessagesFilterPhoneCalls                 = 0x80c99768
	TagUpdateNewMessage                              = 0x1f2b0afd
	TagUpdateMessageID                               = 0x4e90bfd6
	TagUpdateDeleteMessages                          = 0xa20db0e5
	TagUpdateUserTyping                              = 0x5c486927
	TagUpdateChatUserTyping                          = 0x9a65ea1f
	TagUpdateChatParticipants                        = 0x07761198
	TagUpdateUserStatus                              = 0x1bfbd823
	TagUpdateUserName                                = 0xa7332b73
	TagUpdateUserPhoto                               = 0x95313b0c
	TagUpdateContactRegistered                       = 0x2575bbb9
	TagUpdateContactLink                             = 0x9d2e67c5
	TagUpdateNewEncryptedMessage                     = 0x12bcbd9a
	TagUpdateEncryptedChatTyping                     = 0x1710f156
	TagUpdateEncryption                              = 0xb4a2e88d
	TagUpdateEncryptedMessagesRead                   = 0x38fe25b7
	TagUpdateChatParticipantAdd                      = 0xea4b0e5c
	TagUpdateChatParticipantDelete                   = 0x6e5f8c22
	TagUpdateDCOptions                               = 0x8e5e9873
	TagUpdateUserBlocked                             = 0x80ece81a
	TagUpdateNotifySettings                          = 0xbec268ef
	TagUpdateServiceNotification                     = 0xebe46819
	TagUpdatePrivacy                                 = 0xee3b272a
	TagUpdateUserPhone                               = 0x12b9417b
	TagUpdateReadHistoryInbox                        = 0x9961fd5c
	TagUpdateReadHistoryOutbox                       = 0x2f2f21bf
	TagUpdateWebPage                                 = 0x7f891213
	TagUpdateReadMessagesContents                    = 0x68c13933
	TagUpdateChannelTooLong                          = 0xeb0467fb
	TagUpdateChannel                                 = 0xb6d45656
	TagUpdateNewChannelMessage                       = 0x62ba04d9
	TagUpdateReadChannelInbox                        = 0x4214f37f
	TagUpdateDeleteChannelMessages                   = 0xc37521c9
	TagUpdateChannelMessageViews                     = 0x98a12b4b
	TagUpdateChatAdmins                              = 0x6e947941
	TagUpdateChatParticipantAdmin                    = 0xb6901959
	TagUpdateNewStickerSet                           = 0x688a30aa
	TagUpdateStickerSetsOrder                        = 0x0bb2d201
	TagUpdateStickerSets                             = 0x43ae3dec
	TagUpdateSavedGifs                               = 0x9375341e
	TagUpdateBotInlineQuery                          = 0x54826690
	TagUpdateBotInlineSend                           = 0x0e48f964
	TagUpdateEditChannelMessage                      = 0x1b3f4df7
	TagUpdateChannelPinnedMessage                    = 0x98592475
	TagUpdateBotCallbackQuery                        = 0xe73547e1
	TagUpdateEditMessage                             = 0xe40370a3
	TagUpdateInlineBotCallbackQuery                  = 0xf9d27a5a
	TagUpdateReadChannelOutbox                       = 0x25d6c9c7
	TagUpdateDraftMessage                            = 0xee2bb969
	TagUpdateReadFeaturedStickers                    = 0x571d2742
	TagUpdateRecentStickers                          = 0x9a422c20
	TagUpdateConfig                                  = 0xa229dd06
	TagUpdatePtsChanged                              = 0x3354678f
	TagUpdateChannelWebPage                          = 0x40771900
	TagUpdateDialogPinned                            = 0xd711a2cc
	TagUpdatePinnedDialogs                           = 0xd8caf68d
	TagUpdateBotWebhookJSON                          = 0x8317c0c3
	TagUpdateBotWebhookJSONQuery                     = 0x9b9240a6
	TagUpdateBotShippingQuery                        = 0xe0cdc940
	TagUpdateBotPrecheckoutQuery                     = 0x5d2f3aa9
	TagUpdatePhoneCall                               = 0xab0f6b1e
	TagUpdatesState                                  = 0xa56c2a3e
	TagUpdatesDifferenceEmpty                        = 0x5d75a138
	TagUpdatesDifference                             = 0x00f49ca0
	TagUpdatesDifferenceSlice                        = 0xa8fb1981
	TagUpdatesDifferenceTooLong                      = 0x4afe8f6d
	TagUpdatesTooLong                                = 0xe317af7e
	TagUpdateShortMessage                            = 0x914fbf11
	TagUpdateShortChatMessage                        = 0x16812688
	TagUpdateShort                                   = 0x78d4dec1
	TagUpdatesCombined                               = 0x725b04c3
	TagUpdates                                       = 0x74ae4240
	TagUpdateShortSentMessage                        = 0x11f1331c
	TagPhotosPhotos                                  = 0x8dca6aa5
	TagPhotosPhotosSlice                             = 0x15051f54
	TagPhotosPhoto                                   = 0x20212ca8
	TagUploadFile                                    = 0x096a18d5
	TagDCOption                                      = 0x05d8c6cc
	TagConfig                                        = 0xcb601684
	TagNearestDC                                     = 0x8e1a1775
	TagHelpAppUpdate                                 = 0x8987f311
	TagHelpNoAppUpdate                               = 0xc45a6536
	TagHelpInviteText                                = 0x18cb9f78
	TagEncryptedChatEmpty                            = 0xab7ec0a0
	TagEncryptedChatWaiting                          = 0x3bf703dc
	TagEncryptedChatRequested                        = 0xc878527e
	TagEncryptedChat                                 = 0xfa56ce36
	TagEncryptedChatDiscarded                        = 0x13d6dd27
	TagInputEncryptedChat                            = 0xf141b5e1
	TagEncryptedFileEmpty                            = 0xc21f497e
	TagEncryptedFile                                 = 0x4a70994c
	TagInputEncryptedFileEmpty                       = 0x1837c364
	TagInputEncryptedFileUploaded                    = 0x64bd0306
	TagInputEncryptedFile                            = 0x5a17b5e5
	TagInputEncryptedFileBigUploaded                 = 0x2dc173c8
	TagEncryptedMessage                              = 0xed18c118
	TagEncryptedMessageService                       = 0x23734b06
	TagMessagesDHConfigNotModified                   = 0xc0e24635
	TagMessagesDHConfig                              = 0x2c221edd
	TagMessagesSentEncryptedMessage                  = 0x560f8935
	TagMessagesSentEncryptedFile                     = 0x9493ff32
	TagInputDocumentEmpty                            = 0x72f0eaae
	TagInputDocument                                 = 0x18798952
	TagDocumentEmpty                                 = 0x36f8c871
	TagDocument                                      = 0x87232bc7
	TagHelpSupport                                   = 0x17c6b5f6
	TagNotifyPeer                                    = 0x9fd40bd8
	TagNotifyUsers                                   = 0xb4c83b4c
	TagNotifyChats                                   = 0xc007cec3
	TagNotifyAll                                     = 0x74d07c60
	TagSendMessageTypingAction                       = 0x16bf744e
	TagSendMessageCancelAction                       = 0xfd5ec8f5
	TagSendMessageRecordVideoAction                  = 0xa187d66f
	TagSendMessageUploadVideoAction                  = 0xe9763aec
	TagSendMessageRecordAudioAction                  = 0xd52f73f7
	TagSendMessageUploadAudioAction                  = 0xf351d7ab
	TagSendMessageUploadPhotoAction                  = 0xd1d34a26
	TagSendMessageUploadDocumentAction               = 0xaa0cd9e4
	TagSendMessageGeoLocationAction                  = 0x176f8ba1
	TagSendMessageChooseContactAction                = 0x628cbc6f
	TagSendMessageGamePlayAction                     = 0xdd6a8f48
	TagContactsFound                                 = 0x1aa1f784
	TagInputPrivacyKeyStatusTimestamp                = 0x4f96cb18
	TagInputPrivacyKeyChatInvite                     = 0xbdfb0426
	TagInputPrivacyKeyPhoneCall                      = 0xfabadc5f
	TagPrivacyKeyStatusTimestamp                     = 0xbc2eab30
	TagPrivacyKeyChatInvite                          = 0x500e6dfa
	TagPrivacyKeyPhoneCall                           = 0x3d662b7b
	TagInputPrivacyValueAllowContacts                = 0x0d09e07b
	TagInputPrivacyValueAllowAll                     = 0x184b35ce
	TagInputPrivacyValueAllowUsers                   = 0x131cc67f
	TagInputPrivacyValueDisallowContacts             = 0x0ba52007
	TagInputPrivacyValueDisallowAll                  = 0xd66b66c9
	TagInputPrivacyValueDisallowUsers                = 0x90110467
	TagPrivacyValueAllowContacts                     = 0xfffe1bac
	TagPrivacyValueAllowAll                          = 0x65427b82
	TagPrivacyValueAllowUsers                        = 0x4d5bbe0c
	TagPrivacyValueDisallowContacts                  = 0xf888fa1a
	TagPrivacyValueDisallowAll                       = 0x8b73e763
	TagPrivacyValueDisallowUsers                     = 0x0c7f49b7
	TagAccountPrivacyRules                           = 0x554abb6f
	TagAccountDaysTTL                                = 0xb8d0afdf
	TagDocumentAttributeImageSize                    = 0x6c37c15c
	TagDocumentAttributeAnimated                     = 0x11b58939
	TagDocumentAttributeSticker                      = 0x6319d612
	TagDocumentAttributeVideo                        = 0x5910cccb
	TagDocumentAttributeAudio                        = 0x9852f9c6
	TagDocumentAttributeFilename                     = 0x15590068
	TagDocumentAttributeHasStickers                  = 0x9801d2f7
	TagMessagesStickersNotModified                   = 0xf1749a22
	TagMessagesStickers                              = 0x8a8ecd32
	TagStickerPack                                   = 0x12b299d4
	TagMessagesAllStickersNotModified                = 0xe86602c3
	TagMessagesAllStickers                           = 0xedfd405f
	TagDisabledFeature                               = 0xae636f24
	TagMessagesAffectedMessages                      = 0x84d19185
	TagContactLinkUnknown                            = 0x5f4f9247
	TagContactLinkNone                               = 0xfeedd3ad
	TagContactLinkHasPhone                           = 0x268f3f59
	TagContactLinkContact                            = 0xd502c2d0
	TagWebPageEmpty                                  = 0xeb1477e8
	TagWebPagePending                                = 0xc586da1c
	TagWebPage                                       = 0x5f07b4bc
	TagWebPageNotModified                            = 0x85849473
	TagAuthorization                                 = 0x7bf2e6f6
	TagAccountAuthorizations                         = 0x1250abde
	TagAccountNoPassword                             = 0x96dabc18
	TagAccountPassword                               = 0x7c18141c
	TagAccountPasswordSettings                       = 0xb7b72ab3
	TagAccountPasswordInputSettings                  = 0x86916deb
	TagAuthPasswordRecovery                          = 0x137948a5
	TagReceivedNotifyMessage                         = 0xa384b779
	TagChatInviteEmpty                               = 0x69df3769
	TagChatInviteExported                            = 0xfc2e05bc
	TagChatInviteAlready                             = 0x5a686d7c
	TagChatInvite                                    = 0xdb74f558
	TagInputStickerSetEmpty                          = 0xffb62b95
	TagInputStickerSetID                             = 0x9de7a269
	TagInputStickerSetShortName                      = 0x861cc8a0
	TagStickerSet                                    = 0xcd303b41
	TagMessagesStickerSet                            = 0xb60a24a6
	TagBotCommand                                    = 0xc27ac8c7
	TagBotInfo                                       = 0x98e81d3a
	TagKeyboardButton                                = 0xa2fa4880
	TagKeyboardButtonURL                             = 0x258aff05
	TagKeyboardButtonCallback                        = 0x683a5e46
	TagKeyboardButtonRequestPhone                    = 0xb16a6c29
	TagKeyboardButtonRequestGeoLocation              = 0xfc796b3f
	TagKeyboardButtonSwitchInline                    = 0x0568a748
	TagKeyboardButtonGame                            = 0x50f41ccf
	TagKeyboardButtonBuy                             = 0xafd93fbb
	TagKeyboardButtonRow                             = 0x77608b83
	TagReplyKeyboardHide                             = 0xa03e5b85
	TagReplyKeyboardForceReply                       = 0xf4108aa0
	TagReplyKeyboardMarkup                           = 0x3502758c
	TagReplyInlineMarkup                             = 0x48a30254
	TagMessageEntityUnknown                          = 0xbb92ba95
	TagMessageEntityMention                          = 0xfa04579d
	TagMessageEntityHashtag                          = 0x6f635b0d
	TagMessageEntityBotCommand                       = 0x6cef8ac7
	TagMessageEntityURL                              = 0x6ed02538
	TagMessageEntityEmail                            = 0x64e475c2
	TagMessageEntityBold                             = 0xbd610bc9
	TagMessageEntityItalic                           = 0x826f8b60
	TagMessageEntityCode                             = 0x28a20571
	TagMessageEntityPre                              = 0x73924be0
	TagMessageEntityTextURL                          = 0x76a6d327
	TagMessageEntityMentionName                      = 0x352dca58
	TagInputMessageEntityMentionName                 = 0x208e68c9
	TagInputChannelEmpty                             = 0xee8c1e86
	TagInputChannel                                  = 0xafeb712e
	TagContactsResolvedPeer                          = 0x7f077ad9
	TagMessageRange                                  = 0x0ae30253
	TagUpdatesChannelDifferenceEmpty                 = 0x3e11affb
	TagUpdatesChannelDifferenceTooLong               = 0x410dee07
	TagUpdatesChannelDifference                      = 0x2064674e
	TagChannelMessagesFilterEmpty                    = 0x94d42ee7
	TagChannelMessagesFilter                         = 0xcd77d957
	TagChannelParticipant                            = 0x15ebac1d
	TagChannelParticipantSelf                        = 0xa3289a6d
	TagChannelParticipantModerator                   = 0x91057fef
	TagChannelParticipantEditor                      = 0x98192d61
	TagChannelParticipantKicked                      = 0x8cc5e69a
	TagChannelParticipantCreator                     = 0xe3e2e1f9
	TagChannelParticipantsRecent                     = 0xde3f3c79
	TagChannelParticipantsAdmins                     = 0xb4608969
	TagChannelParticipantsKicked                     = 0x3c37bb7a
	TagChannelParticipantsBots                       = 0xb0d1865b
	TagChannelRoleEmpty                              = 0xb285a0c6
	TagChannelRoleModerator                          = 0x9618d975
	TagChannelRoleEditor                             = 0x820bfe8c
	TagChannelsChannelParticipants                   = 0xf56ee2a8
	TagChannelsChannelParticipant                    = 0xd0d9b163
	TagHelpTermsOfService                            = 0xf1ee3e90
	TagFoundGif                                      = 0x162ecc1f
	TagFoundGifCached                                = 0x9c750409
	TagMessagesFoundGifs                             = 0x450a1c0a
	TagMessagesSavedGifsNotModified                  = 0xe8025ca2
	TagMessagesSavedGifs                             = 0x2e0709a5
	TagInputBotInlineMessageMediaAuto                = 0x292fed13
	TagInputBotInlineMessageText                     = 0x3dcd7a87
	TagInputBotInlineMessageMediaGeo                 = 0xf4a59de1
	TagInputBotInlineMessageMediaVenue               = 0xaaafadc8
	TagInputBotInlineMessageMediaContact             = 0x2daf01a7
	TagInputBotInlineMessageGame                     = 0x4b425864
	TagInputBotInlineResult                          = 0x2cbbe15a
	TagInputBotInlineResultPhoto                     = 0xa8d864a7
	TagInputBotInlineResultDocument                  = 0xfff8fdc4
	TagInputBotInlineResultGame                      = 0x4fa417f2
	TagBotInlineMessageMediaAuto                     = 0x0a74b15b
	TagBotInlineMessageText                          = 0x8c7f65e2
	TagBotInlineMessageMediaGeo                      = 0x3a8fd8b8
	TagBotInlineMessageMediaVenue                    = 0x4366232e
	TagBotInlineMessageMediaContact                  = 0x35edb4d4
	TagBotInlineResult                               = 0x9bebaeb9
	TagBotInlineMediaResult                          = 0x17db940b
	TagMessagesBotResults                            = 0xccd3563d
	TagExportedMessageLink                           = 0x1f486803
	TagMessageFwdHeader                              = 0xc786ddcb
	TagAuthCodeTypeSms                               = 0x72a3158c
	TagAuthCodeTypeCall                              = 0x741cd3e3
	TagAuthCodeTypeFlashCall                         = 0x226ccefb
	TagAuthSentCodeTypeApp                           = 0x3dbb5986
	TagAuthSentCodeTypeSms                           = 0xc000bba2
	TagAuthSentCodeTypeCall                          = 0x5353e5a7
	TagAuthSentCodeTypeFlashCall                     = 0xab03c6d9
	TagMessagesBotCallbackAnswer                     = 0x36585ea4
	TagMessagesMessageEditData                       = 0x26b5dde6
	TagInputBotInlineMessageID                       = 0x890c3d89
	TagInlineBotSwitchPM                             = 0x3c20629f
	TagMessagesPeerDialogs                           = 0x3371c354
	TagTopPeer                                       = 0xedcdc05b
	TagTopPeerCategoryBotsPM                         = 0xab661b5b
	TagTopPeerCategoryBotsInline                     = 0x148677e2
	TagTopPeerCategoryCorrespondents                 = 0x0637b7ed
	TagTopPeerCategoryGroups                         = 0xbd17a14a
	TagTopPeerCategoryChannels                       = 0x161d9628
	TagTopPeerCategoryPeers                          = 0xfb834291
	TagContactsTopPeersNotModified                   = 0xde266ef5
	TagContactsTopPeers                              = 0x70b772a8
	TagDraftMessageEmpty                             = 0xba4baec5
	TagDraftMessage                                  = 0xfd8e711f
	TagMessagesFeaturedStickersNotModified           = 0x04ede3cf
	TagMessagesFeaturedStickers                      = 0xf89d88e5
	TagMessagesRecentStickersNotModified             = 0x0b17f890
	TagMessagesRecentStickers                        = 0x5ce20970
	TagMessagesArchivedStickers                      = 0x4fcba9c8
	TagMessagesStickerSetInstallResultSuccess        = 0x38641628
	TagMessagesStickerSetInstallResultArchive        = 0x35e410a8
	TagStickerSetCovered                             = 0x6410a5d2
	TagStickerSetMultiCovered                        = 0x3407e51b
	TagMaskCoords                                    = 0xaed6dbb2
	TagInputStickeredMediaPhoto                      = 0x4a992157
	TagInputStickeredMediaDocument                   = 0x0438865b
	TagGame                                          = 0xbdf9653b
	TagInputGameID                                   = 0x032c3e77
	TagInputGameShortName                            = 0xc331e80a
	TagHighScore                                     = 0x58fffcd0
	TagMessagesHighScores                            = 0x9a3bfd99
	TagTextEmpty                                     = 0xdc3d824f
	TagTextPlain                                     = 0x744694e0
	TagTextBold                                      = 0x6724abc4
	TagTextItalic                                    = 0xd912a59c
	TagTextUnderline                                 = 0xc12622c4
	TagTextStrike                                    = 0x9bf8bb95
	TagTextFixed                                     = 0x6c3f19b9
	TagTextURL                                       = 0x3c2884c1
	TagTextEmail                                     = 0xde5a0dd6
	TagTextConcat                                    = 0x7e6260d7
	TagPageBlockUnsupported                          = 0x13567e8a
	TagPageBlockTitle                                = 0x70abc3fd
	TagPageBlockSubtitle                             = 0x8ffa9a1f
	TagPageBlockAuthorDate                           = 0xbaafe5e0
	TagPageBlockHeader                               = 0xbfd064ec
	TagPageBlockSubheader                            = 0xf12bb6e1
	TagPageBlockParagraph                            = 0x467a0766
	TagPageBlockPreformatted                         = 0xc070d93e
	TagPageBlockFooter                               = 0x48870999
	TagPageBlockDivider                              = 0xdb20b188
	TagPageBlockAnchor                               = 0xce0d37b0
	TagPageBlockList                                 = 0x3a58c7f4
	TagPageBlockBlockquote                           = 0x263d7c26
	TagPageBlockPullquote                            = 0x4f4456d3
	TagPageBlockPhoto                                = 0xe9c69982
	TagPageBlockVideo                                = 0xd9d71866
	TagPageBlockCover                                = 0x39f23300
	TagPageBlockEmbed                                = 0xcde200d1
	TagPageBlockEmbedPost                            = 0x292c7be9
	TagPageBlockCollage                              = 0x08b31c4f
	TagPageBlockSlideshow                            = 0x130c8963
	TagPagePart                                      = 0x8dee6c44
	TagPageFull                                      = 0xd7a19d69
	TagPhoneCallDiscardReasonMissed                  = 0x85e42301
	TagPhoneCallDiscardReasonDisconnect              = 0xe095c1a0
	TagPhoneCallDiscardReasonHangup                  = 0x57adc690
	TagPhoneCallDiscardReasonBusy                    = 0xfaf7e8c9
	TagDataJSON                                      = 0x7d748d04
	TagLabeledPrice                                  = 0xcb296bf8
	TagInvoice                                       = 0xc30aa358
	TagPaymentCharge                                 = 0xea02c27e
	TagPostAddress                                   = 0x1e8caaeb
	TagPaymentRequestedInfo                          = 0x909c3f94
	TagPaymentSavedCredentialsCard                   = 0xcdc27a1f
	TagWebDocument                                   = 0xc61acbd8
	TagInputWebDocument                              = 0x9bed434d
	TagInputWebFileLocation                          = 0xc239d686
	TagUploadWebFile                                 = 0x21e753bc
	TagPaymentsPaymentForm                           = 0x3f56aea3
	TagPaymentsValidatedRequestedInfo                = 0xd1451883
	TagPaymentsPaymentResult                         = 0x4e5f810d
	TagPaymentsPaymentVerficationNeeded              = 0x6b56b921
	TagPaymentsPaymentReceipt                        = 0x500911e1
	TagPaymentsSavedInfo                             = 0xfb8fe43c
	TagInputPaymentCredentialsSaved                  = 0xc10eb2cf
	TagInputPaymentCredentials                       = 0x3417d728
	TagAccountTmpPassword                            = 0xdb64fd34
	TagShippingOption                                = 0xb6213cdf
	TagInputPhoneCall                                = 0x1e36fded
	TagPhoneCallEmpty                                = 0x5366c915
	TagPhoneCallWaiting                              = 0x1b8f4ad1
	TagPhoneCallRequested                            = 0x83761ce4
	TagPhoneCallAccepted                             = 0x6d003d3f
	TagPhoneCall                                     = 0xffe6ab67
	TagPhoneCallDiscarded                            = 0x50ca4de1
	TagPhoneConnection                               = 0x9d4c17c0
	TagPhoneCallProtocol                             = 0xa2bb35cb
	TagPhonePhoneCall                                = 0xec82e140
	TagInvokeAfterMsg                                = 0xcb9f372d
	TagInvokeAfterMsgs                               = 0x3dc4b4f0
	TagInitConnection                                = 0x69796de9
	TagInvokeWithLayer                               = 0xda9b0d0d
	TagInvokeWithoutUpdates                          = 0xbf9459b7
	TagAuthCheckPhone                                = 0x6fe51dfb
	TagAuthSendCode                                  = 0x86aef0ec
	TagAuthSignUp                                    = 0x1b067634
	TagAuthSignIn                                    = 0xbcd51581
	TagAuthLogOut                                    = 0x5717da40
	TagAuthResetAuthorizations                       = 0x9fab0d1a
	TagAuthSendInvites                               = 0x771c1d97
	TagAuthExportAuthorization                       = 0xe5bfffcd
	TagAuthImportAuthorization                       = 0xe3ef9613
	TagAuthBindTempAuthKey                           = 0xcdd42a05
	TagAuthImportBotAuthorization                    = 0x67a3ff2c
	TagAuthCheckPassword                             = 0x0a63011e
	TagAuthRequestPasswordRecovery                   = 0xd897bc66
	TagAuthRecoverPassword                           = 0x4ea56e92
	TagAuthResendCode                                = 0x3ef1a9bf
	TagAuthCancelCode                                = 0x1f040578
	TagAuthDropTempAuthKeys                          = 0x8e48a188
	TagAccountRegisterDevice                         = 0x637ea878
	TagAccountUnregisterDevice                       = 0x65c55b40
	TagAccountUpdateNotifySettings                   = 0x84be5b93
	TagAccountGetNotifySettings                      = 0x12b3ad31
	TagAccountResetNotifySettings                    = 0xdb7e1747
	TagAccountUpdateProfile                          = 0x78515775
	TagAccountUpdateStatus                           = 0x6628562c
	TagAccountGetWallPapers                          = 0xc04cfac2
	TagAccountReportPeer                             = 0xae189d5f
	TagAccountCheckUsername                          = 0x2714d86c
	TagAccountUpdateUsername                         = 0x3e0bdd7c
	TagAccountGetPrivacy                             = 0xdadbc950
	TagAccountSetPrivacy                             = 0xc9f81ce8
	TagAccountDeleteAccount                          = 0x418d4e0b
	TagAccountGetAccountTTL                          = 0x08fc711d
	TagAccountSetAccountTTL                          = 0x2442485e
	TagAccountSendChangePhoneCode                    = 0x08e57deb
	TagAccountChangePhone                            = 0x70c32edb
	TagAccountUpdateDeviceLocked                     = 0x38df3532
	TagAccountGetAuthorizations                      = 0xe320c158
	TagAccountResetAuthorization                     = 0xdf77f3bc
	TagAccountGetPassword                            = 0x548a30f5
	TagAccountGetPasswordSettings                    = 0xbc8d11bb
	TagAccountUpdatePasswordSettings                 = 0xfa7c4b86
	TagAccountSendConfirmPhoneCode                   = 0x1516d7bd
	TagAccountConfirmPhone                           = 0x5f2178c3
	TagAccountGetTmpPassword                         = 0x4a82327e
	TagUsersGetUsers                                 = 0x0d91a548
	TagUsersGetFullUser                              = 0xca30a5b1
	TagContactsGetStatuses                           = 0xc4a353ee
	TagContactsGetContacts                           = 0x22c6aa08
	TagContactsImportContacts                        = 0xda30b32d
	TagContactsDeleteContact                         = 0x8e953744
	TagContactsDeleteContacts                        = 0x59ab389e
	TagContactsBlock                                 = 0x332b49fc
	TagContactsUnblock                               = 0xe54100bd
	TagContactsGetBlocked                            = 0xf57c350f
	TagContactsExportCard                            = 0x84e53737
	TagContactsImportCard                            = 0x4fe196fe
	TagContactsSearch                                = 0x11f812d8
	TagContactsResolveUsername                       = 0xf93ccba3
	TagContactsGetTopPeers                           = 0xd4982db5
	TagContactsResetTopPeerRating                    = 0x1ae373ac
	TagMessagesGetMessages                           = 0x4222fa74
	TagMessagesGetDialogs                            = 0x191ba9c5
	TagMessagesGetHistory                            = 0xafa92846
	TagMessagesSearch                                = 0xd4569248
	TagMessagesReadHistory                           = 0x0e306d3a
	TagMessagesDeleteHistory                         = 0x1c015b09
	TagMessagesDeleteMessages                        = 0xe58e95d2
	TagMessagesReceivedMessages                      = 0x05a954c0
	TagMessagesSetTyping                             = 0xa3825e50
	TagMessagesSendMessage                           = 0xfa88427a
	TagMessagesSendMedia                             = 0xc8f16791
	TagMessagesForwardMessages                       = 0x708e0195
	TagMessagesReportSpam                            = 0xcf1592db
	TagMessagesHideReportSpam                        = 0xa8f1709b
	TagMessagesGetPeerSettings                       = 0x3672e09c
	TagMessagesGetChats                              = 0x3c6aa187
	TagMessagesGetFullChat                           = 0x3b831c66
	TagMessagesEditChatTitle                         = 0xdc452855
	TagMessagesEditChatPhoto                         = 0xca4c79d8
	TagMessagesAddChatUser                           = 0xf9a0aa09
	TagMessagesDeleteChatUser                        = 0xe0611f16
	TagMessagesCreateChat                            = 0x09cb126e
	TagMessagesForwardMessage                        = 0x33963bf9
	TagMessagesGetDHConfig                           = 0x26cf8950
	TagMessagesRequestEncryption                     = 0xf64daf43
	TagMessagesAcceptEncryption                      = 0x3dbc0415
	TagMessagesDiscardEncryption                     = 0xedd923c5
	TagMessagesSetEncryptedTyping                    = 0x791451ed
	TagMessagesReadEncryptedHistory                  = 0x7f4b690a
	TagMessagesSendEncrypted                         = 0xa9776773
	TagMessagesSendEncryptedFile                     = 0x9a901b66
	TagMessagesSendEncryptedService                  = 0x32d439a4
	TagMessagesReceivedQueue                         = 0x55a5bb66
	TagMessagesReportEncryptedSpam                   = 0x4b0c8c0f
	TagMessagesReadMessageContents                   = 0x36a73f77
	TagMessagesGetAllStickers                        = 0x1c9618b1
	TagMessagesGetWebPagePreview                     = 0x25223e24
	TagMessagesExportChatInvite                      = 0x7d885289
	TagMessagesCheckChatInvite                       = 0x3eadb1bb
	TagMessagesImportChatInvite                      = 0x6c50051c
	TagMessagesGetStickerSet                         = 0x2619a90e
	TagMessagesInstallStickerSet                     = 0xc78fe460
	TagMessagesUninstallStickerSet                   = 0xf96e55de
	TagMessagesStartBot                              = 0xe6df7378
	TagMessagesGetMessagesViews                      = 0xc4c8a55d
	TagMessagesToggleChatAdmins                      = 0xec8bd9e1
	TagMessagesEditChatAdmin                         = 0xa9e69f2e
	TagMessagesMigrateChat                           = 0x15a3b8e3
	TagMessagesSearchGlobal                          = 0x9e3cacb0
	TagMessagesReorderStickerSets                    = 0x78337739
	TagMessagesGetDocumentByHash                     = 0x338e2464
	TagMessagesSearchGifs                            = 0xbf9a776b
	TagMessagesGetSavedGifs                          = 0x83bf3d52
	TagMessagesSaveGif                               = 0x327a30cb
	TagMessagesGetInlineBotResults                   = 0x514e999d
	TagMessagesSetInlineBotResults                   = 0xeb5ea206
	TagMessagesSendInlineBotResult                   = 0xb16e06fe
	TagMessagesGetMessageEditData                    = 0xfda68d36
	TagMessagesEditMessage                           = 0xce91e4ca
	TagMessagesEditInlineBotMessage                  = 0x130c2c85
	TagMessagesGetBotCallbackAnswer                  = 0x810a9fec
	TagMessagesSetBotCallbackAnswer                  = 0xd58f130a
	TagMessagesGetPeerDialogs                        = 0x2d9776b9
	TagMessagesSaveDraft                             = 0xbc39e14b
	TagMessagesGetAllDrafts                          = 0x6a3f8d65
	TagMessagesGetFeaturedStickers                   = 0x2dacca4f
	TagMessagesReadFeaturedStickers                  = 0x5b118126
	TagMessagesGetRecentStickers                     = 0x5ea192c9
	TagMessagesSaveRecentSticker                     = 0x392718f8
	TagMessagesClearRecentStickers                   = 0x8999602d
	TagMessagesGetArchivedStickers                   = 0x57f17692
	TagMessagesGetMaskStickers                       = 0x65b8c79f
	TagMessagesGetAttachedStickers                   = 0xcc5b67cc
	TagMessagesSetGameScore                          = 0x8ef8ecc0
	TagMessagesSetInlineGameScore                    = 0x15ad9f64
	TagMessagesGetGameHighScores                     = 0xe822649d
	TagMessagesGetInlineGameHighScores               = 0x0f635e1b
	TagMessagesGetCommonChats                        = 0x0d0a48c4
	TagMessagesGetAllChats                           = 0xeba80ff0
	TagMessagesGetWebPage                            = 0x32ca8f91
	TagMessagesToggleDialogPin                       = 0x3289be6a
	TagMessagesReorderPinnedDialogs                  = 0x959ff644
	TagMessagesGetPinnedDialogs                      = 0xe254d64e
	TagMessagesSetBotShippingResults                 = 0xe5f672fa
	TagMessagesSetBotPrecheckoutResults              = 0x09c2dd95
	TagUpdatesGetState                               = 0xedd4882a
	TagUpdatesGetDifference                          = 0x25939651
	TagUpdatesGetChannelDifference                   = 0x03173d78
	TagPhotosUpdateProfilePhoto                      = 0xf0bb5152
	TagPhotosUploadProfilePhoto                      = 0x4f32c098
	TagPhotosDeletePhotos                            = 0x87cf7f2f
	TagPhotosGetUserPhotos                           = 0x91cd32a8
	TagUploadSaveFilePart                            = 0xb304a621
	TagUploadGetFile                                 = 0xe3a6cfb5
	TagUploadSaveBigFilePart                         = 0xde7b673d
	TagUploadGetWebFile                              = 0x24e6818d
	TagHelpGetConfig                                 = 0xc4f9186b
	TagHelpGetNearestDC                              = 0x1fb33026
	TagHelpGetAppUpdate                              = 0xae2de196
	TagHelpSaveAppLog                                = 0x6f02f748
	TagHelpGetInviteText                             = 0x4d392343
	TagHelpGetSupport                                = 0x9cdf08cd
	TagHelpGetAppChangelog                           = 0x9010ef6f
	TagHelpGetTermsOfService                         = 0x350170f3
	TagHelpSetBotUpdatesStatus                       = 0xec22cfcd
	TagChannelsReadHistory                           = 0xcc104937
	TagChannelsDeleteMessages                        = 0x84c1fd4e
	TagChannelsDeleteUserHistory                     = 0xd10dd71b
	TagChannelsReportSpam                            = 0xfe087810
	TagChannelsGetMessages                           = 0x93d7b347
	TagChannelsGetParticipants                       = 0x24d98f92
	TagChannelsGetParticipant                        = 0x546dd7a6
	TagChannelsGetChannels                           = 0x0a7f6bbb
	TagChannelsGetFullChannel                        = 0x08736a09
	TagChannelsCreateChannel                         = 0xf4893d7f
	TagChannelsEditAbout                             = 0x13e27f1e
	TagChannelsEditAdmin                             = 0xeb7611d0
	TagChannelsEditTitle                             = 0x566decd0
	TagChannelsEditPhoto                             = 0xf12e57c9
	TagChannelsCheckUsername                         = 0x10e6bd2c
	TagChannelsUpdateUsername                        = 0x3514b3de
	TagChannelsJoinChannel                           = 0x24b524c5
	TagChannelsLeaveChannel                          = 0xf836aa95
	TagChannelsInviteToChannel                       = 0x199f3a6c
	TagChannelsKickFromChannel                       = 0xa672de14
	TagChannelsExportInvite                          = 0xc7560885
	TagChannelsDeleteChannel                         = 0xc0111fe3
	TagChannelsToggleInvites                         = 0x49609307
	TagChannelsExportMessageLink                     = 0xc846d22d
	TagChannelsToggleSignatures                      = 0x1f69b606
	TagChannelsUpdatePinnedMessage                   = 0xa72ded52
	TagChannelsGetAdminedPublicChannels              = 0x8d8d82d7
	TagBotsSendCustomRequest                         = 0xaa2769ed
	TagBotsAnswerWebhookJSONQuery                    = 0xe6213f4d
	TagPaymentsGetPaymentForm                        = 0x99f09745
	TagPaymentsGetPaymentReceipt                     = 0xa092a980
	TagPaymentsValidateRequestedInfo                 = 0x770a8e74
	TagPaymentsSendPaymentForm                       = 0x2b8879b3
	TagPaymentsGetSavedInfo                          = 0x227d824b
	TagPaymentsClearSavedInfo                        = 0xd83d70c1
	TagPhoneGetCallConfig                            = 0x55451fa9
	TagPhoneRequestCall                              = 0x5b95b3d4
	TagPhoneAcceptCall                               = 0x3bd2b4a0
	TagPhoneConfirmCall                              = 0x2efe1722
	TagPhoneReceivedCall                             = 0x17d54f61
	TagPhoneDiscardCall                              = 0x78d413a6
	TagPhoneSetCallRating                            = 0x1c536a34
	TagPhoneSaveCallDebug                            = 0x277add7e
)

from Telegram

View Source
const (
	TagTrue      uint32 = 0x3fedd339
	TagBoolFalse        = 0xbc799737
	TagBoolTrue         = 0x997275b5
	TagString           = 0xb5286e24
	TagInt              = 0xa8509bda
	TagLong             = 0x22076cba
	TagDouble           = 0x2210c154
	TagBytes            = 0xebefb69e
	TagObject           = 0x29704ca0
	TagVector           = 0x1cb5c415
)

from builtin

View Source
const (
	KeyExInit keyExState = iota
	KeyExDone
	KeyExFailed
	KeyExReqPQ
	KeyExReqDHParams
	KeyExSetClientDHParams
)
View Source
const (
	ContentMsg MsgType = 0
	ServiceMsg         = 1
	KeyExMsg           = 2
)

Variables

View Source
var ErrAfterKeyExchangeFailed = errors.New("no commands can be processed after failed key exchange")
View Source
var ErrCmdNotHandled = errors.New("not handled")
View Source
var ErrHashMismatch = errors.New("encrypted data hash does not match")
View Source
var ErrInvalidMsg = errors.New("invalid message")
View Source
var ErrKeyExchangeNotFinished = errors.New("key exchange not yet finished")
View Source
var ErrNotBlockSizeMultiple = errors.New("input not multiple of block size")
View Source
var ErrReconnectRequired = errors.New("reconnect required")
View Source
var ErrUnexpectedCommand = errors.New("unexpected command")
View Source
var ErrUnknownKeyID = errors.New("unknown auth key ID")
View Source
var Schema = &tl.Schema{
	Factory: func(cmd uint32) tl.Object {
		switch cmd {
		case TagResPQ:
			return new(TLResPQ)
		case TagPQInnerData:
			return new(TLPQInnerData)
		case TagServerDHInnerData:
			return new(TLServerDHInnerData)
		case TagClientDHInnerData:
			return new(TLClientDHInnerData)
		case TagRPCResult:
			return new(TLRPCResult)
		case TagRPCError:
			return new(TLRPCError)
		case TagFutureSalt:
			return new(TLFutureSalt)
		case TagFutureSalts:
			return new(TLFutureSalts)
		case TagPong:
			return new(TLPong)
		case TagNewSessionCreated:
			return new(TLNewSessionCreated)
		case TagMsgContainer:
			return new(TLMsgContainer)
		case TagProtoMessage:
			return new(TLProtoMessage)
		case TagMsgCopy:
			return new(TLMsgCopy)
		case TagMsgsAck:
			return new(TLMsgsAck)
		case TagMsgResendReq:
			return new(TLMsgResendReq)
		case TagMsgsStateReq:
			return new(TLMsgsStateReq)
		case TagMsgsStateInfo:
			return new(TLMsgsStateInfo)
		case TagMsgsAllInfo:
			return new(TLMsgsAllInfo)
		case TagError:
			return new(TLError)
		case TagNull:
			return new(TLNull)
		case TagInputPhoneContact:
			return new(TLInputPhoneContact)
		case TagInputAppEvent:
			return new(TLInputAppEvent)
		case TagDialog:
			return new(TLDialog)
		case TagAuthCheckedPhone:
			return new(TLAuthCheckedPhone)
		case TagAuthSentCode:
			return new(TLAuthSentCode)
		case TagAuthAuthorization:
			return new(TLAuthAuthorization)
		case TagAuthExportedAuthorization:
			return new(TLAuthExportedAuthorization)
		case TagInputPeerNotifySettings:
			return new(TLInputPeerNotifySettings)
		case TagPeerSettings:
			return new(TLPeerSettings)
		case TagUserFull:
			return new(TLUserFull)
		case TagContact:
			return new(TLContact)
		case TagImportedContact:
			return new(TLImportedContact)
		case TagContactBlocked:
			return new(TLContactBlocked)
		case TagContactStatus:
			return new(TLContactStatus)
		case TagContactsLink:
			return new(TLContactsLink)
		case TagContactsImportedContacts:
			return new(TLContactsImportedContacts)
		case TagMessagesChatFull:
			return new(TLMessagesChatFull)
		case TagMessagesAffectedHistory:
			return new(TLMessagesAffectedHistory)
		case TagUpdatesState:
			return new(TLUpdatesState)
		case TagPhotosPhoto:
			return new(TLPhotosPhoto)
		case TagUploadFile:
			return new(TLUploadFile)
		case TagDCOption:
			return new(TLDCOption)
		case TagConfig:
			return new(TLConfig)
		case TagNearestDC:
			return new(TLNearestDC)
		case TagHelpInviteText:
			return new(TLHelpInviteText)
		case TagInputEncryptedChat:
			return new(TLInputEncryptedChat)
		case TagHelpSupport:
			return new(TLHelpSupport)
		case TagContactsFound:
			return new(TLContactsFound)
		case TagAccountPrivacyRules:
			return new(TLAccountPrivacyRules)
		case TagAccountDaysTTL:
			return new(TLAccountDaysTTL)
		case TagStickerPack:
			return new(TLStickerPack)
		case TagDisabledFeature:
			return new(TLDisabledFeature)
		case TagMessagesAffectedMessages:
			return new(TLMessagesAffectedMessages)
		case TagAuthorization:
			return new(TLAuthorization)
		case TagAccountAuthorizations:
			return new(TLAccountAuthorizations)
		case TagAccountPasswordSettings:
			return new(TLAccountPasswordSettings)
		case TagAccountPasswordInputSettings:
			return new(TLAccountPasswordInputSettings)
		case TagAuthPasswordRecovery:
			return new(TLAuthPasswordRecovery)
		case TagReceivedNotifyMessage:
			return new(TLReceivedNotifyMessage)
		case TagStickerSet:
			return new(TLStickerSet)
		case TagMessagesStickerSet:
			return new(TLMessagesStickerSet)
		case TagBotCommand:
			return new(TLBotCommand)
		case TagBotInfo:
			return new(TLBotInfo)
		case TagKeyboardButtonRow:
			return new(TLKeyboardButtonRow)
		case TagContactsResolvedPeer:
			return new(TLContactsResolvedPeer)
		case TagMessageRange:
			return new(TLMessageRange)
		case TagChannelsChannelParticipants:
			return new(TLChannelsChannelParticipants)
		case TagChannelsChannelParticipant:
			return new(TLChannelsChannelParticipant)
		case TagHelpTermsOfService:
			return new(TLHelpTermsOfService)
		case TagMessagesFoundGifs:
			return new(TLMessagesFoundGifs)
		case TagMessagesBotResults:
			return new(TLMessagesBotResults)
		case TagExportedMessageLink:
			return new(TLExportedMessageLink)
		case TagMessageFwdHeader:
			return new(TLMessageFwdHeader)
		case TagMessagesBotCallbackAnswer:
			return new(TLMessagesBotCallbackAnswer)
		case TagMessagesMessageEditData:
			return new(TLMessagesMessageEditData)
		case TagInputBotInlineMessageID:
			return new(TLInputBotInlineMessageID)
		case TagInlineBotSwitchPM:
			return new(TLInlineBotSwitchPM)
		case TagMessagesPeerDialogs:
			return new(TLMessagesPeerDialogs)
		case TagTopPeer:
			return new(TLTopPeer)
		case TagTopPeerCategoryPeers:
			return new(TLTopPeerCategoryPeers)
		case TagMessagesArchivedStickers:
			return new(TLMessagesArchivedStickers)
		case TagMaskCoords:
			return new(TLMaskCoords)
		case TagGame:
			return new(TLGame)
		case TagHighScore:
			return new(TLHighScore)
		case TagMessagesHighScores:
			return new(TLMessagesHighScores)
		case TagDataJSON:
			return new(TLDataJSON)
		case TagLabeledPrice:
			return new(TLLabeledPrice)
		case TagInvoice:
			return new(TLInvoice)
		case TagPaymentCharge:
			return new(TLPaymentCharge)
		case TagPostAddress:
			return new(TLPostAddress)
		case TagPaymentRequestedInfo:
			return new(TLPaymentRequestedInfo)
		case TagPaymentSavedCredentialsCard:
			return new(TLPaymentSavedCredentialsCard)
		case TagWebDocument:
			return new(TLWebDocument)
		case TagInputWebDocument:
			return new(TLInputWebDocument)
		case TagInputWebFileLocation:
			return new(TLInputWebFileLocation)
		case TagUploadWebFile:
			return new(TLUploadWebFile)
		case TagPaymentsPaymentForm:
			return new(TLPaymentsPaymentForm)
		case TagPaymentsValidatedRequestedInfo:
			return new(TLPaymentsValidatedRequestedInfo)
		case TagPaymentsPaymentReceipt:
			return new(TLPaymentsPaymentReceipt)
		case TagPaymentsSavedInfo:
			return new(TLPaymentsSavedInfo)
		case TagAccountTmpPassword:
			return new(TLAccountTmpPassword)
		case TagShippingOption:
			return new(TLShippingOption)
		case TagInputPhoneCall:
			return new(TLInputPhoneCall)
		case TagPhoneConnection:
			return new(TLPhoneConnection)
		case TagPhoneCallProtocol:
			return new(TLPhoneCallProtocol)
		case TagPhonePhoneCall:
			return new(TLPhonePhoneCall)
		case TagReqPQ:
			return new(TLReqPQ)
		case TagReqDHParams:
			return new(TLReqDHParams)
		case TagSetClientDHParams:
			return new(TLSetClientDHParams)
		case TagRPCDropAnswer:
			return new(TLRPCDropAnswer)
		case TagGetFutureSalts:
			return new(TLGetFutureSalts)
		case TagPing:
			return new(TLPing)
		case TagPingDelayDisconnect:
			return new(TLPingDelayDisconnect)
		case TagDestroySession:
			return new(TLDestroySession)
		case TagHttpWait:
			return new(TLHttpWait)
		case TagInvokeAfterMsg:
			return new(TLInvokeAfterMsg)
		case TagInvokeAfterMsgs:
			return new(TLInvokeAfterMsgs)
		case TagInitConnection:
			return new(TLInitConnection)
		case TagInvokeWithLayer:
			return new(TLInvokeWithLayer)
		case TagInvokeWithoutUpdates:
			return new(TLInvokeWithoutUpdates)
		case TagAuthCheckPhone:
			return new(TLAuthCheckPhone)
		case TagAuthSendCode:
			return new(TLAuthSendCode)
		case TagAuthSignUp:
			return new(TLAuthSignUp)
		case TagAuthSignIn:
			return new(TLAuthSignIn)
		case TagAuthLogOut:
			return new(TLAuthLogOut)
		case TagAuthResetAuthorizations:
			return new(TLAuthResetAuthorizations)
		case TagAuthSendInvites:
			return new(TLAuthSendInvites)
		case TagAuthExportAuthorization:
			return new(TLAuthExportAuthorization)
		case TagAuthImportAuthorization:
			return new(TLAuthImportAuthorization)
		case TagAuthBindTempAuthKey:
			return new(TLAuthBindTempAuthKey)
		case TagAuthImportBotAuthorization:
			return new(TLAuthImportBotAuthorization)
		case TagAuthCheckPassword:
			return new(TLAuthCheckPassword)
		case TagAuthRequestPasswordRecovery:
			return new(TLAuthRequestPasswordRecovery)
		case TagAuthRecoverPassword:
			return new(TLAuthRecoverPassword)
		case TagAuthResendCode:
			return new(TLAuthResendCode)
		case TagAuthCancelCode:
			return new(TLAuthCancelCode)
		case TagAuthDropTempAuthKeys:
			return new(TLAuthDropTempAuthKeys)
		case TagAccountRegisterDevice:
			return new(TLAccountRegisterDevice)
		case TagAccountUnregisterDevice:
			return new(TLAccountUnregisterDevice)
		case TagAccountUpdateNotifySettings:
			return new(TLAccountUpdateNotifySettings)
		case TagAccountGetNotifySettings:
			return new(TLAccountGetNotifySettings)
		case TagAccountResetNotifySettings:
			return new(TLAccountResetNotifySettings)
		case TagAccountUpdateProfile:
			return new(TLAccountUpdateProfile)
		case TagAccountUpdateStatus:
			return new(TLAccountUpdateStatus)
		case TagAccountGetWallPapers:
			return new(TLAccountGetWallPapers)
		case TagAccountReportPeer:
			return new(TLAccountReportPeer)
		case TagAccountCheckUsername:
			return new(TLAccountCheckUsername)
		case TagAccountUpdateUsername:
			return new(TLAccountUpdateUsername)
		case TagAccountGetPrivacy:
			return new(TLAccountGetPrivacy)
		case TagAccountSetPrivacy:
			return new(TLAccountSetPrivacy)
		case TagAccountDeleteAccount:
			return new(TLAccountDeleteAccount)
		case TagAccountGetAccountTTL:
			return new(TLAccountGetAccountTTL)
		case TagAccountSetAccountTTL:
			return new(TLAccountSetAccountTTL)
		case TagAccountSendChangePhoneCode:
			return new(TLAccountSendChangePhoneCode)
		case TagAccountChangePhone:
			return new(TLAccountChangePhone)
		case TagAccountUpdateDeviceLocked:
			return new(TLAccountUpdateDeviceLocked)
		case TagAccountGetAuthorizations:
			return new(TLAccountGetAuthorizations)
		case TagAccountResetAuthorization:
			return new(TLAccountResetAuthorization)
		case TagAccountGetPassword:
			return new(TLAccountGetPassword)
		case TagAccountGetPasswordSettings:
			return new(TLAccountGetPasswordSettings)
		case TagAccountUpdatePasswordSettings:
			return new(TLAccountUpdatePasswordSettings)
		case TagAccountSendConfirmPhoneCode:
			return new(TLAccountSendConfirmPhoneCode)
		case TagAccountConfirmPhone:
			return new(TLAccountConfirmPhone)
		case TagAccountGetTmpPassword:
			return new(TLAccountGetTmpPassword)
		case TagUsersGetUsers:
			return new(TLUsersGetUsers)
		case TagUsersGetFullUser:
			return new(TLUsersGetFullUser)
		case TagContactsGetStatuses:
			return new(TLContactsGetStatuses)
		case TagContactsGetContacts:
			return new(TLContactsGetContacts)
		case TagContactsImportContacts:
			return new(TLContactsImportContacts)
		case TagContactsDeleteContact:
			return new(TLContactsDeleteContact)
		case TagContactsDeleteContacts:
			return new(TLContactsDeleteContacts)
		case TagContactsBlock:
			return new(TLContactsBlock)
		case TagContactsUnblock:
			return new(TLContactsUnblock)
		case TagContactsGetBlocked:
			return new(TLContactsGetBlocked)
		case TagContactsExportCard:
			return new(TLContactsExportCard)
		case TagContactsImportCard:
			return new(TLContactsImportCard)
		case TagContactsSearch:
			return new(TLContactsSearch)
		case TagContactsResolveUsername:
			return new(TLContactsResolveUsername)
		case TagContactsGetTopPeers:
			return new(TLContactsGetTopPeers)
		case TagContactsResetTopPeerRating:
			return new(TLContactsResetTopPeerRating)
		case TagMessagesGetMessages:
			return new(TLMessagesGetMessages)
		case TagMessagesGetDialogs:
			return new(TLMessagesGetDialogs)
		case TagMessagesGetHistory:
			return new(TLMessagesGetHistory)
		case TagMessagesSearch:
			return new(TLMessagesSearch)
		case TagMessagesReadHistory:
			return new(TLMessagesReadHistory)
		case TagMessagesDeleteHistory:
			return new(TLMessagesDeleteHistory)
		case TagMessagesDeleteMessages:
			return new(TLMessagesDeleteMessages)
		case TagMessagesReceivedMessages:
			return new(TLMessagesReceivedMessages)
		case TagMessagesSetTyping:
			return new(TLMessagesSetTyping)
		case TagMessagesSendMessage:
			return new(TLMessagesSendMessage)
		case TagMessagesSendMedia:
			return new(TLMessagesSendMedia)
		case TagMessagesForwardMessages:
			return new(TLMessagesForwardMessages)
		case TagMessagesReportSpam:
			return new(TLMessagesReportSpam)
		case TagMessagesHideReportSpam:
			return new(TLMessagesHideReportSpam)
		case TagMessagesGetPeerSettings:
			return new(TLMessagesGetPeerSettings)
		case TagMessagesGetChats:
			return new(TLMessagesGetChats)
		case TagMessagesGetFullChat:
			return new(TLMessagesGetFullChat)
		case TagMessagesEditChatTitle:
			return new(TLMessagesEditChatTitle)
		case TagMessagesEditChatPhoto:
			return new(TLMessagesEditChatPhoto)
		case TagMessagesAddChatUser:
			return new(TLMessagesAddChatUser)
		case TagMessagesDeleteChatUser:
			return new(TLMessagesDeleteChatUser)
		case TagMessagesCreateChat:
			return new(TLMessagesCreateChat)
		case TagMessagesForwardMessage:
			return new(TLMessagesForwardMessage)
		case TagMessagesGetDHConfig:
			return new(TLMessagesGetDHConfig)
		case TagMessagesRequestEncryption:
			return new(TLMessagesRequestEncryption)
		case TagMessagesAcceptEncryption:
			return new(TLMessagesAcceptEncryption)
		case TagMessagesDiscardEncryption:
			return new(TLMessagesDiscardEncryption)
		case TagMessagesSetEncryptedTyping:
			return new(TLMessagesSetEncryptedTyping)
		case TagMessagesReadEncryptedHistory:
			return new(TLMessagesReadEncryptedHistory)
		case TagMessagesSendEncrypted:
			return new(TLMessagesSendEncrypted)
		case TagMessagesSendEncryptedFile:
			return new(TLMessagesSendEncryptedFile)
		case TagMessagesSendEncryptedService:
			return new(TLMessagesSendEncryptedService)
		case TagMessagesReceivedQueue:
			return new(TLMessagesReceivedQueue)
		case TagMessagesReportEncryptedSpam:
			return new(TLMessagesReportEncryptedSpam)
		case TagMessagesReadMessageContents:
			return new(TLMessagesReadMessageContents)
		case TagMessagesGetAllStickers:
			return new(TLMessagesGetAllStickers)
		case TagMessagesGetWebPagePreview:
			return new(TLMessagesGetWebPagePreview)
		case TagMessagesExportChatInvite:
			return new(TLMessagesExportChatInvite)
		case TagMessagesCheckChatInvite:
			return new(TLMessagesCheckChatInvite)
		case TagMessagesImportChatInvite:
			return new(TLMessagesImportChatInvite)
		case TagMessagesGetStickerSet:
			return new(TLMessagesGetStickerSet)
		case TagMessagesInstallStickerSet:
			return new(TLMessagesInstallStickerSet)
		case TagMessagesUninstallStickerSet:
			return new(TLMessagesUninstallStickerSet)
		case TagMessagesStartBot:
			return new(TLMessagesStartBot)
		case TagMessagesGetMessagesViews:
			return new(TLMessagesGetMessagesViews)
		case TagMessagesToggleChatAdmins:
			return new(TLMessagesToggleChatAdmins)
		case TagMessagesEditChatAdmin:
			return new(TLMessagesEditChatAdmin)
		case TagMessagesMigrateChat:
			return new(TLMessagesMigrateChat)
		case TagMessagesSearchGlobal:
			return new(TLMessagesSearchGlobal)
		case TagMessagesReorderStickerSets:
			return new(TLMessagesReorderStickerSets)
		case TagMessagesGetDocumentByHash:
			return new(TLMessagesGetDocumentByHash)
		case TagMessagesSearchGifs:
			return new(TLMessagesSearchGifs)
		case TagMessagesGetSavedGifs:
			return new(TLMessagesGetSavedGifs)
		case TagMessagesSaveGif:
			return new(TLMessagesSaveGif)
		case TagMessagesGetInlineBotResults:
			return new(TLMessagesGetInlineBotResults)
		case TagMessagesSetInlineBotResults:
			return new(TLMessagesSetInlineBotResults)
		case TagMessagesSendInlineBotResult:
			return new(TLMessagesSendInlineBotResult)
		case TagMessagesGetMessageEditData:
			return new(TLMessagesGetMessageEditData)
		case TagMessagesEditMessage:
			return new(TLMessagesEditMessage)
		case TagMessagesEditInlineBotMessage:
			return new(TLMessagesEditInlineBotMessage)
		case TagMessagesGetBotCallbackAnswer:
			return new(TLMessagesGetBotCallbackAnswer)
		case TagMessagesSetBotCallbackAnswer:
			return new(TLMessagesSetBotCallbackAnswer)
		case TagMessagesGetPeerDialogs:
			return new(TLMessagesGetPeerDialogs)
		case TagMessagesSaveDraft:
			return new(TLMessagesSaveDraft)
		case TagMessagesGetAllDrafts:
			return new(TLMessagesGetAllDrafts)
		case TagMessagesGetFeaturedStickers:
			return new(TLMessagesGetFeaturedStickers)
		case TagMessagesReadFeaturedStickers:
			return new(TLMessagesReadFeaturedStickers)
		case TagMessagesGetRecentStickers:
			return new(TLMessagesGetRecentStickers)
		case TagMessagesSaveRecentSticker:
			return new(TLMessagesSaveRecentSticker)
		case TagMessagesClearRecentStickers:
			return new(TLMessagesClearRecentStickers)
		case TagMessagesGetArchivedStickers:
			return new(TLMessagesGetArchivedStickers)
		case TagMessagesGetMaskStickers:
			return new(TLMessagesGetMaskStickers)
		case TagMessagesGetAttachedStickers:
			return new(TLMessagesGetAttachedStickers)
		case TagMessagesSetGameScore:
			return new(TLMessagesSetGameScore)
		case TagMessagesSetInlineGameScore:
			return new(TLMessagesSetInlineGameScore)
		case TagMessagesGetGameHighScores:
			return new(TLMessagesGetGameHighScores)
		case TagMessagesGetInlineGameHighScores:
			return new(TLMessagesGetInlineGameHighScores)
		case TagMessagesGetCommonChats:
			return new(TLMessagesGetCommonChats)
		case TagMessagesGetAllChats:
			return new(TLMessagesGetAllChats)
		case TagMessagesGetWebPage:
			return new(TLMessagesGetWebPage)
		case TagMessagesToggleDialogPin:
			return new(TLMessagesToggleDialogPin)
		case TagMessagesReorderPinnedDialogs:
			return new(TLMessagesReorderPinnedDialogs)
		case TagMessagesGetPinnedDialogs:
			return new(TLMessagesGetPinnedDialogs)
		case TagMessagesSetBotShippingResults:
			return new(TLMessagesSetBotShippingResults)
		case TagMessagesSetBotPrecheckoutResults:
			return new(TLMessagesSetBotPrecheckoutResults)
		case TagUpdatesGetState:
			return new(TLUpdatesGetState)
		case TagUpdatesGetDifference:
			return new(TLUpdatesGetDifference)
		case TagUpdatesGetChannelDifference:
			return new(TLUpdatesGetChannelDifference)
		case TagPhotosUpdateProfilePhoto:
			return new(TLPhotosUpdateProfilePhoto)
		case TagPhotosUploadProfilePhoto:
			return new(TLPhotosUploadProfilePhoto)
		case TagPhotosDeletePhotos:
			return new(TLPhotosDeletePhotos)
		case TagPhotosGetUserPhotos:
			return new(TLPhotosGetUserPhotos)
		case TagUploadSaveFilePart:
			return new(TLUploadSaveFilePart)
		case TagUploadGetFile:
			return new(TLUploadGetFile)
		case TagUploadSaveBigFilePart:
			return new(TLUploadSaveBigFilePart)
		case TagUploadGetWebFile:
			return new(TLUploadGetWebFile)
		case TagHelpGetConfig:
			return new(TLHelpGetConfig)
		case TagHelpGetNearestDC:
			return new(TLHelpGetNearestDC)
		case TagHelpGetAppUpdate:
			return new(TLHelpGetAppUpdate)
		case TagHelpSaveAppLog:
			return new(TLHelpSaveAppLog)
		case TagHelpGetInviteText:
			return new(TLHelpGetInviteText)
		case TagHelpGetSupport:
			return new(TLHelpGetSupport)
		case TagHelpGetAppChangelog:
			return new(TLHelpGetAppChangelog)
		case TagHelpGetTermsOfService:
			return new(TLHelpGetTermsOfService)
		case TagHelpSetBotUpdatesStatus:
			return new(TLHelpSetBotUpdatesStatus)
		case TagChannelsReadHistory:
			return new(TLChannelsReadHistory)
		case TagChannelsDeleteMessages:
			return new(TLChannelsDeleteMessages)
		case TagChannelsDeleteUserHistory:
			return new(TLChannelsDeleteUserHistory)
		case TagChannelsReportSpam:
			return new(TLChannelsReportSpam)
		case TagChannelsGetMessages:
			return new(TLChannelsGetMessages)
		case TagChannelsGetParticipants:
			return new(TLChannelsGetParticipants)
		case TagChannelsGetParticipant:
			return new(TLChannelsGetParticipant)
		case TagChannelsGetChannels:
			return new(TLChannelsGetChannels)
		case TagChannelsGetFullChannel:
			return new(TLChannelsGetFullChannel)
		case TagChannelsCreateChannel:
			return new(TLChannelsCreateChannel)
		case TagChannelsEditAbout:
			return new(TLChannelsEditAbout)
		case TagChannelsEditAdmin:
			return new(TLChannelsEditAdmin)
		case TagChannelsEditTitle:
			return new(TLChannelsEditTitle)
		case TagChannelsEditPhoto:
			return new(TLChannelsEditPhoto)
		case TagChannelsCheckUsername:
			return new(TLChannelsCheckUsername)
		case TagChannelsUpdateUsername:
			return new(TLChannelsUpdateUsername)
		case TagChannelsJoinChannel:
			return new(TLChannelsJoinChannel)
		case TagChannelsLeaveChannel:
			return new(TLChannelsLeaveChannel)
		case TagChannelsInviteToChannel:
			return new(TLChannelsInviteToChannel)
		case TagChannelsKickFromChannel:
			return new(TLChannelsKickFromChannel)
		case TagChannelsExportInvite:
			return new(TLChannelsExportInvite)
		case TagChannelsDeleteChannel:
			return new(TLChannelsDeleteChannel)
		case TagChannelsToggleInvites:
			return new(TLChannelsToggleInvites)
		case TagChannelsExportMessageLink:
			return new(TLChannelsExportMessageLink)
		case TagChannelsToggleSignatures:
			return new(TLChannelsToggleSignatures)
		case TagChannelsUpdatePinnedMessage:
			return new(TLChannelsUpdatePinnedMessage)
		case TagChannelsGetAdminedPublicChannels:
			return new(TLChannelsGetAdminedPublicChannels)
		case TagBotsSendCustomRequest:
			return new(TLBotsSendCustomRequest)
		case TagBotsAnswerWebhookJSONQuery:
			return new(TLBotsAnswerWebhookJSONQuery)
		case TagPaymentsGetPaymentForm:
			return new(TLPaymentsGetPaymentForm)
		case TagPaymentsGetPaymentReceipt:
			return new(TLPaymentsGetPaymentReceipt)
		case TagPaymentsValidateRequestedInfo:
			return new(TLPaymentsValidateRequestedInfo)
		case TagPaymentsSendPaymentForm:
			return new(TLPaymentsSendPaymentForm)
		case TagPaymentsGetSavedInfo:
			return new(TLPaymentsGetSavedInfo)
		case TagPaymentsClearSavedInfo:
			return new(TLPaymentsClearSavedInfo)
		case TagPhoneGetCallConfig:
			return new(TLPhoneGetCallConfig)
		case TagPhoneRequestCall:
			return new(TLPhoneRequestCall)
		case TagPhoneAcceptCall:
			return new(TLPhoneAcceptCall)
		case TagPhoneConfirmCall:
			return new(TLPhoneConfirmCall)
		case TagPhoneReceivedCall:
			return new(TLPhoneReceivedCall)
		case TagPhoneDiscardCall:
			return new(TLPhoneDiscardCall)
		case TagPhoneSetCallRating:
			return new(TLPhoneSetCallRating)
		case TagPhoneSaveCallDebug:
			return new(TLPhoneSaveCallDebug)
		case TagServerDHParamsFail:
			return new(TLServerDHParamsFail)
		case TagServerDHParamsOK:
			return new(TLServerDHParamsOK)
		case TagDHGenOK:
			return new(TLDHGenOK)
		case TagDHGenRetry:
			return new(TLDHGenRetry)
		case TagDHGenFail:
			return new(TLDHGenFail)
		case TagRPCAnswerUnknown:
			return new(TLRPCAnswerUnknown)
		case TagRPCAnswerDroppedRunning:
			return new(TLRPCAnswerDroppedRunning)
		case TagRPCAnswerDropped:
			return new(TLRPCAnswerDropped)
		case TagDestroySessionOK:
			return new(TLDestroySessionOK)
		case TagDestroySessionNone:
			return new(TLDestroySessionNone)
		case TagMessageEmpty:
			return new(TLMessageEmpty)
		case TagMessage:
			return new(TLMessage)
		case TagMessageService:
			return new(TLMessageService)
		case TagBadMsgNotification:
			return new(TLBadMsgNotification)
		case TagBadServerSalt:
			return new(TLBadServerSalt)
		case TagMsgDetailedInfo:
			return new(TLMsgDetailedInfo)
		case TagMsgNewDetailedInfo:
			return new(TLMsgNewDetailedInfo)
		case TagInputPeerEmpty:
			return new(TLInputPeerEmpty)
		case TagInputPeerSelf:
			return new(TLInputPeerSelf)
		case TagInputPeerChat:
			return new(TLInputPeerChat)
		case TagInputPeerUser:
			return new(TLInputPeerUser)
		case TagInputPeerChannel:
			return new(TLInputPeerChannel)
		case TagInputUserEmpty:
			return new(TLInputUserEmpty)
		case TagInputUserSelf:
			return new(TLInputUserSelf)
		case TagInputUser:
			return new(TLInputUser)
		case TagInputFile:
			return new(TLInputFile)
		case TagInputFileBig:
			return new(TLInputFileBig)
		case TagInputMediaEmpty:
			return new(TLInputMediaEmpty)
		case TagInputMediaUploadedPhoto:
			return new(TLInputMediaUploadedPhoto)
		case TagInputMediaPhoto:
			return new(TLInputMediaPhoto)
		case TagInputMediaGeoPoint:
			return new(TLInputMediaGeoPoint)
		case TagInputMediaContact:
			return new(TLInputMediaContact)
		case TagInputMediaUploadedDocument:
			return new(TLInputMediaUploadedDocument)
		case TagInputMediaUploadedThumbDocument:
			return new(TLInputMediaUploadedThumbDocument)
		case TagInputMediaDocument:
			return new(TLInputMediaDocument)
		case TagInputMediaVenue:
			return new(TLInputMediaVenue)
		case TagInputMediaGifExternal:
			return new(TLInputMediaGifExternal)
		case TagInputMediaPhotoExternal:
			return new(TLInputMediaPhotoExternal)
		case TagInputMediaDocumentExternal:
			return new(TLInputMediaDocumentExternal)
		case TagInputMediaGame:
			return new(TLInputMediaGame)
		case TagInputMediaInvoice:
			return new(TLInputMediaInvoice)
		case TagInputChatPhotoEmpty:
			return new(TLInputChatPhotoEmpty)
		case TagInputChatUploadedPhoto:
			return new(TLInputChatUploadedPhoto)
		case TagInputChatPhoto:
			return new(TLInputChatPhoto)
		case TagInputGeoPointEmpty:
			return new(TLInputGeoPointEmpty)
		case TagInputGeoPoint:
			return new(TLInputGeoPoint)
		case TagInputPhotoEmpty:
			return new(TLInputPhotoEmpty)
		case TagInputPhoto:
			return new(TLInputPhoto)
		case TagInputFileLocation:
			return new(TLInputFileLocation)
		case TagInputEncryptedFileLocation:
			return new(TLInputEncryptedFileLocation)
		case TagInputDocumentFileLocation:
			return new(TLInputDocumentFileLocation)
		case TagPeerUser:
			return new(TLPeerUser)
		case TagPeerChat:
			return new(TLPeerChat)
		case TagPeerChannel:
			return new(TLPeerChannel)
		case TagStorageFileUnknown:
			return new(TLStorageFileUnknown)
		case TagStorageFilePartial:
			return new(TLStorageFilePartial)
		case TagStorageFileJpeg:
			return new(TLStorageFileJpeg)
		case TagStorageFileGif:
			return new(TLStorageFileGif)
		case TagStorageFilePng:
			return new(TLStorageFilePng)
		case TagStorageFilePdf:
			return new(TLStorageFilePdf)
		case TagStorageFileMp3:
			return new(TLStorageFileMp3)
		case TagStorageFileMov:
			return new(TLStorageFileMov)
		case TagStorageFileMp4:
			return new(TLStorageFileMp4)
		case TagStorageFileWebp:
			return new(TLStorageFileWebp)
		case TagFileLocationUnavailable:
			return new(TLFileLocationUnavailable)
		case TagFileLocation:
			return new(TLFileLocation)
		case TagUserEmpty:
			return new(TLUserEmpty)
		case TagUser:
			return new(TLUser)
		case TagUserProfilePhotoEmpty:
			return new(TLUserProfilePhotoEmpty)
		case TagUserProfilePhoto:
			return new(TLUserProfilePhoto)
		case TagUserStatusEmpty:
			return new(TLUserStatusEmpty)
		case TagUserStatusOnline:
			return new(TLUserStatusOnline)
		case TagUserStatusOffline:
			return new(TLUserStatusOffline)
		case TagUserStatusRecently:
			return new(TLUserStatusRecently)
		case TagUserStatusLastWeek:
			return new(TLUserStatusLastWeek)
		case TagUserStatusLastMonth:
			return new(TLUserStatusLastMonth)
		case TagChatEmpty:
			return new(TLChatEmpty)
		case TagChat:
			return new(TLChat)
		case TagChatForbidden:
			return new(TLChatForbidden)
		case TagChannel:
			return new(TLChannel)
		case TagChannelForbidden:
			return new(TLChannelForbidden)
		case TagChatFull:
			return new(TLChatFull)
		case TagChannelFull:
			return new(TLChannelFull)
		case TagChatParticipant:
			return new(TLChatParticipant)
		case TagChatParticipantCreator:
			return new(TLChatParticipantCreator)
		case TagChatParticipantAdmin:
			return new(TLChatParticipantAdmin)
		case TagChatParticipantsForbidden:
			return new(TLChatParticipantsForbidden)
		case TagChatParticipants:
			return new(TLChatParticipants)
		case TagChatPhotoEmpty:
			return new(TLChatPhotoEmpty)
		case TagChatPhoto:
			return new(TLChatPhoto)
		case TagMessageMediaEmpty:
			return new(TLMessageMediaEmpty)
		case TagMessageMediaPhoto:
			return new(TLMessageMediaPhoto)
		case TagMessageMediaGeo:
			return new(TLMessageMediaGeo)
		case TagMessageMediaContact:
			return new(TLMessageMediaContact)
		case TagMessageMediaUnsupported:
			return new(TLMessageMediaUnsupported)
		case TagMessageMediaDocument:
			return new(TLMessageMediaDocument)
		case TagMessageMediaWebPage:
			return new(TLMessageMediaWebPage)
		case TagMessageMediaVenue:
			return new(TLMessageMediaVenue)
		case TagMessageMediaGame:
			return new(TLMessageMediaGame)
		case TagMessageMediaInvoice:
			return new(TLMessageMediaInvoice)
		case TagMessageActionEmpty:
			return new(TLMessageActionEmpty)
		case TagMessageActionChatCreate:
			return new(TLMessageActionChatCreate)
		case TagMessageActionChatEditTitle:
			return new(TLMessageActionChatEditTitle)
		case TagMessageActionChatEditPhoto:
			return new(TLMessageActionChatEditPhoto)
		case TagMessageActionChatDeletePhoto:
			return new(TLMessageActionChatDeletePhoto)
		case TagMessageActionChatAddUser:
			return new(TLMessageActionChatAddUser)
		case TagMessageActionChatDeleteUser:
			return new(TLMessageActionChatDeleteUser)
		case TagMessageActionChatJoinedByLink:
			return new(TLMessageActionChatJoinedByLink)
		case TagMessageActionChannelCreate:
			return new(TLMessageActionChannelCreate)
		case TagMessageActionChatMigrateTo:
			return new(TLMessageActionChatMigrateTo)
		case TagMessageActionChannelMigrateFrom:
			return new(TLMessageActionChannelMigrateFrom)
		case TagMessageActionPinMessage:
			return new(TLMessageActionPinMessage)
		case TagMessageActionHistoryClear:
			return new(TLMessageActionHistoryClear)
		case TagMessageActionGameScore:
			return new(TLMessageActionGameScore)
		case TagMessageActionPaymentSentMe:
			return new(TLMessageActionPaymentSentMe)
		case TagMessageActionPaymentSent:
			return new(TLMessageActionPaymentSent)
		case TagMessageActionPhoneCall:
			return new(TLMessageActionPhoneCall)
		case TagPeerNotifySettingsEmpty:
			return new(TLPeerNotifySettingsEmpty)
		case TagPeerNotifySettings:
			return new(TLPeerNotifySettings)
		case TagDraftMessageEmpty:
			return new(TLDraftMessageEmpty)
		case TagDraftMessage:
			return new(TLDraftMessage)
		case TagPhotoEmpty:
			return new(TLPhotoEmpty)
		case TagPhoto:
			return new(TLPhoto)
		case TagPhotoSizeEmpty:
			return new(TLPhotoSizeEmpty)
		case TagPhotoSize:
			return new(TLPhotoSize)
		case TagPhotoCachedSize:
			return new(TLPhotoCachedSize)
		case TagGeoPointEmpty:
			return new(TLGeoPointEmpty)
		case TagGeoPoint:
			return new(TLGeoPoint)
		case TagAuthSentCodeTypeApp:
			return new(TLAuthSentCodeTypeApp)
		case TagAuthSentCodeTypeSms:
			return new(TLAuthSentCodeTypeSms)
		case TagAuthSentCodeTypeCall:
			return new(TLAuthSentCodeTypeCall)
		case TagAuthSentCodeTypeFlashCall:
			return new(TLAuthSentCodeTypeFlashCall)
		case TagAuthCodeTypeSms:
			return new(TLAuthCodeTypeSms)
		case TagAuthCodeTypeCall:
			return new(TLAuthCodeTypeCall)
		case TagAuthCodeTypeFlashCall:
			return new(TLAuthCodeTypeFlashCall)
		case TagInputNotifyPeer:
			return new(TLInputNotifyPeer)
		case TagInputNotifyUsers:
			return new(TLInputNotifyUsers)
		case TagInputNotifyChats:
			return new(TLInputNotifyChats)
		case TagInputNotifyAll:
			return new(TLInputNotifyAll)
		case TagInputPeerNotifyEventsEmpty:
			return new(TLInputPeerNotifyEventsEmpty)
		case TagInputPeerNotifyEventsAll:
			return new(TLInputPeerNotifyEventsAll)
		case TagPeerNotifyEventsEmpty:
			return new(TLPeerNotifyEventsEmpty)
		case TagPeerNotifyEventsAll:
			return new(TLPeerNotifyEventsAll)
		case TagWallPaper:
			return new(TLWallPaper)
		case TagWallPaperSolid:
			return new(TLWallPaperSolid)
		case TagInputReportReasonSpam:
			return new(TLInputReportReasonSpam)
		case TagInputReportReasonViolence:
			return new(TLInputReportReasonViolence)
		case TagInputReportReasonPornography:
			return new(TLInputReportReasonPornography)
		case TagInputReportReasonOther:
			return new(TLInputReportReasonOther)
		case TagContactLinkUnknown:
			return new(TLContactLinkUnknown)
		case TagContactLinkNone:
			return new(TLContactLinkNone)
		case TagContactLinkHasPhone:
			return new(TLContactLinkHasPhone)
		case TagContactLinkContact:
			return new(TLContactLinkContact)
		case TagContactsContactsNotModified:
			return new(TLContactsContactsNotModified)
		case TagContactsContacts:
			return new(TLContactsContacts)
		case TagContactsBlocked:
			return new(TLContactsBlocked)
		case TagContactsBlockedSlice:
			return new(TLContactsBlockedSlice)
		case TagMessagesDialogs:
			return new(TLMessagesDialogs)
		case TagMessagesDialogsSlice:
			return new(TLMessagesDialogsSlice)
		case TagMessagesMessages:
			return new(TLMessagesMessages)
		case TagMessagesMessagesSlice:
			return new(TLMessagesMessagesSlice)
		case TagMessagesChannelMessages:
			return new(TLMessagesChannelMessages)
		case TagMessagesChats:
			return new(TLMessagesChats)
		case TagMessagesChatsSlice:
			return new(TLMessagesChatsSlice)
		case TagInputMessagesFilterEmpty:
			return new(TLInputMessagesFilterEmpty)
		case TagInputMessagesFilterPhotos:
			return new(TLInputMessagesFilterPhotos)
		case TagInputMessagesFilterVideo:
			return new(TLInputMessagesFilterVideo)
		case TagInputMessagesFilterPhotoVideo:
			return new(TLInputMessagesFilterPhotoVideo)
		case TagInputMessagesFilterPhotoVideoDocuments:
			return new(TLInputMessagesFilterPhotoVideoDocuments)
		case TagInputMessagesFilterDocument:
			return new(TLInputMessagesFilterDocument)
		case TagInputMessagesFilterURL:
			return new(TLInputMessagesFilterURL)
		case TagInputMessagesFilterGif:
			return new(TLInputMessagesFilterGif)
		case TagInputMessagesFilterVoice:
			return new(TLInputMessagesFilterVoice)
		case TagInputMessagesFilterMusic:
			return new(TLInputMessagesFilterMusic)
		case TagInputMessagesFilterChatPhotos:
			return new(TLInputMessagesFilterChatPhotos)
		case TagInputMessagesFilterPhoneCalls:
			return new(TLInputMessagesFilterPhoneCalls)
		case TagUpdateNewMessage:
			return new(TLUpdateNewMessage)
		case TagUpdateMessageID:
			return new(TLUpdateMessageID)
		case TagUpdateDeleteMessages:
			return new(TLUpdateDeleteMessages)
		case TagUpdateUserTyping:
			return new(TLUpdateUserTyping)
		case TagUpdateChatUserTyping:
			return new(TLUpdateChatUserTyping)
		case TagUpdateChatParticipants:
			return new(TLUpdateChatParticipants)
		case TagUpdateUserStatus:
			return new(TLUpdateUserStatus)
		case TagUpdateUserName:
			return new(TLUpdateUserName)
		case TagUpdateUserPhoto:
			return new(TLUpdateUserPhoto)
		case TagUpdateContactRegistered:
			return new(TLUpdateContactRegistered)
		case TagUpdateContactLink:
			return new(TLUpdateContactLink)
		case TagUpdateNewEncryptedMessage:
			return new(TLUpdateNewEncryptedMessage)
		case TagUpdateEncryptedChatTyping:
			return new(TLUpdateEncryptedChatTyping)
		case TagUpdateEncryption:
			return new(TLUpdateEncryption)
		case TagUpdateEncryptedMessagesRead:
			return new(TLUpdateEncryptedMessagesRead)
		case TagUpdateChatParticipantAdd:
			return new(TLUpdateChatParticipantAdd)
		case TagUpdateChatParticipantDelete:
			return new(TLUpdateChatParticipantDelete)
		case TagUpdateDCOptions:
			return new(TLUpdateDCOptions)
		case TagUpdateUserBlocked:
			return new(TLUpdateUserBlocked)
		case TagUpdateNotifySettings:
			return new(TLUpdateNotifySettings)
		case TagUpdateServiceNotification:
			return new(TLUpdateServiceNotification)
		case TagUpdatePrivacy:
			return new(TLUpdatePrivacy)
		case TagUpdateUserPhone:
			return new(TLUpdateUserPhone)
		case TagUpdateReadHistoryInbox:
			return new(TLUpdateReadHistoryInbox)
		case TagUpdateReadHistoryOutbox:
			return new(TLUpdateReadHistoryOutbox)
		case TagUpdateWebPage:
			return new(TLUpdateWebPage)
		case TagUpdateReadMessagesContents:
			return new(TLUpdateReadMessagesContents)
		case TagUpdateChannelTooLong:
			return new(TLUpdateChannelTooLong)
		case TagUpdateChannel:
			return new(TLUpdateChannel)
		case TagUpdateNewChannelMessage:
			return new(TLUpdateNewChannelMessage)
		case TagUpdateReadChannelInbox:
			return new(TLUpdateReadChannelInbox)
		case TagUpdateDeleteChannelMessages:
			return new(TLUpdateDeleteChannelMessages)
		case TagUpdateChannelMessageViews:
			return new(TLUpdateChannelMessageViews)
		case TagUpdateChatAdmins:
			return new(TLUpdateChatAdmins)
		case TagUpdateChatParticipantAdmin:
			return new(TLUpdateChatParticipantAdmin)
		case TagUpdateNewStickerSet:
			return new(TLUpdateNewStickerSet)
		case TagUpdateStickerSetsOrder:
			return new(TLUpdateStickerSetsOrder)
		case TagUpdateStickerSets:
			return new(TLUpdateStickerSets)
		case TagUpdateSavedGifs:
			return new(TLUpdateSavedGifs)
		case TagUpdateBotInlineQuery:
			return new(TLUpdateBotInlineQuery)
		case TagUpdateBotInlineSend:
			return new(TLUpdateBotInlineSend)
		case TagUpdateEditChannelMessage:
			return new(TLUpdateEditChannelMessage)
		case TagUpdateChannelPinnedMessage:
			return new(TLUpdateChannelPinnedMessage)
		case TagUpdateBotCallbackQuery:
			return new(TLUpdateBotCallbackQuery)
		case TagUpdateEditMessage:
			return new(TLUpdateEditMessage)
		case TagUpdateInlineBotCallbackQuery:
			return new(TLUpdateInlineBotCallbackQuery)
		case TagUpdateReadChannelOutbox:
			return new(TLUpdateReadChannelOutbox)
		case TagUpdateDraftMessage:
			return new(TLUpdateDraftMessage)
		case TagUpdateReadFeaturedStickers:
			return new(TLUpdateReadFeaturedStickers)
		case TagUpdateRecentStickers:
			return new(TLUpdateRecentStickers)
		case TagUpdateConfig:
			return new(TLUpdateConfig)
		case TagUpdatePtsChanged:
			return new(TLUpdatePtsChanged)
		case TagUpdateChannelWebPage:
			return new(TLUpdateChannelWebPage)
		case TagUpdateDialogPinned:
			return new(TLUpdateDialogPinned)
		case TagUpdatePinnedDialogs:
			return new(TLUpdatePinnedDialogs)
		case TagUpdateBotWebhookJSON:
			return new(TLUpdateBotWebhookJSON)
		case TagUpdateBotWebhookJSONQuery:
			return new(TLUpdateBotWebhookJSONQuery)
		case TagUpdateBotShippingQuery:
			return new(TLUpdateBotShippingQuery)
		case TagUpdateBotPrecheckoutQuery:
			return new(TLUpdateBotPrecheckoutQuery)
		case TagUpdatePhoneCall:
			return new(TLUpdatePhoneCall)
		case TagUpdatesDifferenceEmpty:
			return new(TLUpdatesDifferenceEmpty)
		case TagUpdatesDifference:
			return new(TLUpdatesDifference)
		case TagUpdatesDifferenceSlice:
			return new(TLUpdatesDifferenceSlice)
		case TagUpdatesDifferenceTooLong:
			return new(TLUpdatesDifferenceTooLong)
		case TagUpdatesTooLong:
			return new(TLUpdatesTooLong)
		case TagUpdateShortMessage:
			return new(TLUpdateShortMessage)
		case TagUpdateShortChatMessage:
			return new(TLUpdateShortChatMessage)
		case TagUpdateShort:
			return new(TLUpdateShort)
		case TagUpdatesCombined:
			return new(TLUpdatesCombined)
		case TagUpdates:
			return new(TLUpdates)
		case TagUpdateShortSentMessage:
			return new(TLUpdateShortSentMessage)
		case TagPhotosPhotos:
			return new(TLPhotosPhotos)
		case TagPhotosPhotosSlice:
			return new(TLPhotosPhotosSlice)
		case TagHelpAppUpdate:
			return new(TLHelpAppUpdate)
		case TagHelpNoAppUpdate:
			return new(TLHelpNoAppUpdate)
		case TagEncryptedChatEmpty:
			return new(TLEncryptedChatEmpty)
		case TagEncryptedChatWaiting:
			return new(TLEncryptedChatWaiting)
		case TagEncryptedChatRequested:
			return new(TLEncryptedChatRequested)
		case TagEncryptedChat:
			return new(TLEncryptedChat)
		case TagEncryptedChatDiscarded:
			return new(TLEncryptedChatDiscarded)
		case TagEncryptedFileEmpty:
			return new(TLEncryptedFileEmpty)
		case TagEncryptedFile:
			return new(TLEncryptedFile)
		case TagInputEncryptedFileEmpty:
			return new(TLInputEncryptedFileEmpty)
		case TagInputEncryptedFileUploaded:
			return new(TLInputEncryptedFileUploaded)
		case TagInputEncryptedFile:
			return new(TLInputEncryptedFile)
		case TagInputEncryptedFileBigUploaded:
			return new(TLInputEncryptedFileBigUploaded)
		case TagEncryptedMessage:
			return new(TLEncryptedMessage)
		case TagEncryptedMessageService:
			return new(TLEncryptedMessageService)
		case TagMessagesDHConfigNotModified:
			return new(TLMessagesDHConfigNotModified)
		case TagMessagesDHConfig:
			return new(TLMessagesDHConfig)
		case TagMessagesSentEncryptedMessage:
			return new(TLMessagesSentEncryptedMessage)
		case TagMessagesSentEncryptedFile:
			return new(TLMessagesSentEncryptedFile)
		case TagInputDocumentEmpty:
			return new(TLInputDocumentEmpty)
		case TagInputDocument:
			return new(TLInputDocument)
		case TagDocumentEmpty:
			return new(TLDocumentEmpty)
		case TagDocument:
			return new(TLDocument)
		case TagNotifyPeer:
			return new(TLNotifyPeer)
		case TagNotifyUsers:
			return new(TLNotifyUsers)
		case TagNotifyChats:
			return new(TLNotifyChats)
		case TagNotifyAll:
			return new(TLNotifyAll)
		case TagSendMessageTypingAction:
			return new(TLSendMessageTypingAction)
		case TagSendMessageCancelAction:
			return new(TLSendMessageCancelAction)
		case TagSendMessageRecordVideoAction:
			return new(TLSendMessageRecordVideoAction)
		case TagSendMessageUploadVideoAction:
			return new(TLSendMessageUploadVideoAction)
		case TagSendMessageRecordAudioAction:
			return new(TLSendMessageRecordAudioAction)
		case TagSendMessageUploadAudioAction:
			return new(TLSendMessageUploadAudioAction)
		case TagSendMessageUploadPhotoAction:
			return new(TLSendMessageUploadPhotoAction)
		case TagSendMessageUploadDocumentAction:
			return new(TLSendMessageUploadDocumentAction)
		case TagSendMessageGeoLocationAction:
			return new(TLSendMessageGeoLocationAction)
		case TagSendMessageChooseContactAction:
			return new(TLSendMessageChooseContactAction)
		case TagSendMessageGamePlayAction:
			return new(TLSendMessageGamePlayAction)
		case TagInputPrivacyKeyStatusTimestamp:
			return new(TLInputPrivacyKeyStatusTimestamp)
		case TagInputPrivacyKeyChatInvite:
			return new(TLInputPrivacyKeyChatInvite)
		case TagInputPrivacyKeyPhoneCall:
			return new(TLInputPrivacyKeyPhoneCall)
		case TagPrivacyKeyStatusTimestamp:
			return new(TLPrivacyKeyStatusTimestamp)
		case TagPrivacyKeyChatInvite:
			return new(TLPrivacyKeyChatInvite)
		case TagPrivacyKeyPhoneCall:
			return new(TLPrivacyKeyPhoneCall)
		case TagInputPrivacyValueAllowContacts:
			return new(TLInputPrivacyValueAllowContacts)
		case TagInputPrivacyValueAllowAll:
			return new(TLInputPrivacyValueAllowAll)
		case TagInputPrivacyValueAllowUsers:
			return new(TLInputPrivacyValueAllowUsers)
		case TagInputPrivacyValueDisallowContacts:
			return new(TLInputPrivacyValueDisallowContacts)
		case TagInputPrivacyValueDisallowAll:
			return new(TLInputPrivacyValueDisallowAll)
		case TagInputPrivacyValueDisallowUsers:
			return new(TLInputPrivacyValueDisallowUsers)
		case TagPrivacyValueAllowContacts:
			return new(TLPrivacyValueAllowContacts)
		case TagPrivacyValueAllowAll:
			return new(TLPrivacyValueAllowAll)
		case TagPrivacyValueAllowUsers:
			return new(TLPrivacyValueAllowUsers)
		case TagPrivacyValueDisallowContacts:
			return new(TLPrivacyValueDisallowContacts)
		case TagPrivacyValueDisallowAll:
			return new(TLPrivacyValueDisallowAll)
		case TagPrivacyValueDisallowUsers:
			return new(TLPrivacyValueDisallowUsers)
		case TagDocumentAttributeImageSize:
			return new(TLDocumentAttributeImageSize)
		case TagDocumentAttributeAnimated:
			return new(TLDocumentAttributeAnimated)
		case TagDocumentAttributeSticker:
			return new(TLDocumentAttributeSticker)
		case TagDocumentAttributeVideo:
			return new(TLDocumentAttributeVideo)
		case TagDocumentAttributeAudio:
			return new(TLDocumentAttributeAudio)
		case TagDocumentAttributeFilename:
			return new(TLDocumentAttributeFilename)
		case TagDocumentAttributeHasStickers:
			return new(TLDocumentAttributeHasStickers)
		case TagMessagesStickersNotModified:
			return new(TLMessagesStickersNotModified)
		case TagMessagesStickers:
			return new(TLMessagesStickers)
		case TagMessagesAllStickersNotModified:
			return new(TLMessagesAllStickersNotModified)
		case TagMessagesAllStickers:
			return new(TLMessagesAllStickers)
		case TagWebPageEmpty:
			return new(TLWebPageEmpty)
		case TagWebPagePending:
			return new(TLWebPagePending)
		case TagWebPage:
			return new(TLWebPage)
		case TagWebPageNotModified:
			return new(TLWebPageNotModified)
		case TagAccountNoPassword:
			return new(TLAccountNoPassword)
		case TagAccountPassword:
			return new(TLAccountPassword)
		case TagChatInviteEmpty:
			return new(TLChatInviteEmpty)
		case TagChatInviteExported:
			return new(TLChatInviteExported)
		case TagChatInviteAlready:
			return new(TLChatInviteAlready)
		case TagChatInvite:
			return new(TLChatInvite)
		case TagInputStickerSetEmpty:
			return new(TLInputStickerSetEmpty)
		case TagInputStickerSetID:
			return new(TLInputStickerSetID)
		case TagInputStickerSetShortName:
			return new(TLInputStickerSetShortName)
		case TagKeyboardButton:
			return new(TLKeyboardButton)
		case TagKeyboardButtonURL:
			return new(TLKeyboardButtonURL)
		case TagKeyboardButtonCallback:
			return new(TLKeyboardButtonCallback)
		case TagKeyboardButtonRequestPhone:
			return new(TLKeyboardButtonRequestPhone)
		case TagKeyboardButtonRequestGeoLocation:
			return new(TLKeyboardButtonRequestGeoLocation)
		case TagKeyboardButtonSwitchInline:
			return new(TLKeyboardButtonSwitchInline)
		case TagKeyboardButtonGame:
			return new(TLKeyboardButtonGame)
		case TagKeyboardButtonBuy:
			return new(TLKeyboardButtonBuy)
		case TagReplyKeyboardHide:
			return new(TLReplyKeyboardHide)
		case TagReplyKeyboardForceReply:
			return new(TLReplyKeyboardForceReply)
		case TagReplyKeyboardMarkup:
			return new(TLReplyKeyboardMarkup)
		case TagReplyInlineMarkup:
			return new(TLReplyInlineMarkup)
		case TagMessageEntityUnknown:
			return new(TLMessageEntityUnknown)
		case TagMessageEntityMention:
			return new(TLMessageEntityMention)
		case TagMessageEntityHashtag:
			return new(TLMessageEntityHashtag)
		case TagMessageEntityBotCommand:
			return new(TLMessageEntityBotCommand)
		case TagMessageEntityURL:
			return new(TLMessageEntityURL)
		case TagMessageEntityEmail:
			return new(TLMessageEntityEmail)
		case TagMessageEntityBold:
			return new(TLMessageEntityBold)
		case TagMessageEntityItalic:
			return new(TLMessageEntityItalic)
		case TagMessageEntityCode:
			return new(TLMessageEntityCode)
		case TagMessageEntityPre:
			return new(TLMessageEntityPre)
		case TagMessageEntityTextURL:
			return new(TLMessageEntityTextURL)
		case TagMessageEntityMentionName:
			return new(TLMessageEntityMentionName)
		case TagInputMessageEntityMentionName:
			return new(TLInputMessageEntityMentionName)
		case TagInputChannelEmpty:
			return new(TLInputChannelEmpty)
		case TagInputChannel:
			return new(TLInputChannel)
		case TagUpdatesChannelDifferenceEmpty:
			return new(TLUpdatesChannelDifferenceEmpty)
		case TagUpdatesChannelDifferenceTooLong:
			return new(TLUpdatesChannelDifferenceTooLong)
		case TagUpdatesChannelDifference:
			return new(TLUpdatesChannelDifference)
		case TagChannelMessagesFilterEmpty:
			return new(TLChannelMessagesFilterEmpty)
		case TagChannelMessagesFilter:
			return new(TLChannelMessagesFilter)
		case TagChannelParticipant:
			return new(TLChannelParticipant)
		case TagChannelParticipantSelf:
			return new(TLChannelParticipantSelf)
		case TagChannelParticipantModerator:
			return new(TLChannelParticipantModerator)
		case TagChannelParticipantEditor:
			return new(TLChannelParticipantEditor)
		case TagChannelParticipantKicked:
			return new(TLChannelParticipantKicked)
		case TagChannelParticipantCreator:
			return new(TLChannelParticipantCreator)
		case TagChannelParticipantsRecent:
			return new(TLChannelParticipantsRecent)
		case TagChannelParticipantsAdmins:
			return new(TLChannelParticipantsAdmins)
		case TagChannelParticipantsKicked:
			return new(TLChannelParticipantsKicked)
		case TagChannelParticipantsBots:
			return new(TLChannelParticipantsBots)
		case TagChannelRoleEmpty:
			return new(TLChannelRoleEmpty)
		case TagChannelRoleModerator:
			return new(TLChannelRoleModerator)
		case TagChannelRoleEditor:
			return new(TLChannelRoleEditor)
		case TagFoundGif:
			return new(TLFoundGif)
		case TagFoundGifCached:
			return new(TLFoundGifCached)
		case TagMessagesSavedGifsNotModified:
			return new(TLMessagesSavedGifsNotModified)
		case TagMessagesSavedGifs:
			return new(TLMessagesSavedGifs)
		case TagInputBotInlineMessageMediaAuto:
			return new(TLInputBotInlineMessageMediaAuto)
		case TagInputBotInlineMessageText:
			return new(TLInputBotInlineMessageText)
		case TagInputBotInlineMessageMediaGeo:
			return new(TLInputBotInlineMessageMediaGeo)
		case TagInputBotInlineMessageMediaVenue:
			return new(TLInputBotInlineMessageMediaVenue)
		case TagInputBotInlineMessageMediaContact:
			return new(TLInputBotInlineMessageMediaContact)
		case TagInputBotInlineMessageGame:
			return new(TLInputBotInlineMessageGame)
		case TagInputBotInlineResult:
			return new(TLInputBotInlineResult)
		case TagInputBotInlineResultPhoto:
			return new(TLInputBotInlineResultPhoto)
		case TagInputBotInlineResultDocument:
			return new(TLInputBotInlineResultDocument)
		case TagInputBotInlineResultGame:
			return new(TLInputBotInlineResultGame)
		case TagBotInlineMessageMediaAuto:
			return new(TLBotInlineMessageMediaAuto)
		case TagBotInlineMessageText:
			return new(TLBotInlineMessageText)
		case TagBotInlineMessageMediaGeo:
			return new(TLBotInlineMessageMediaGeo)
		case TagBotInlineMessageMediaVenue:
			return new(TLBotInlineMessageMediaVenue)
		case TagBotInlineMessageMediaContact:
			return new(TLBotInlineMessageMediaContact)
		case TagBotInlineResult:
			return new(TLBotInlineResult)
		case TagBotInlineMediaResult:
			return new(TLBotInlineMediaResult)
		case TagTopPeerCategoryBotsPM:
			return new(TLTopPeerCategoryBotsPM)
		case TagTopPeerCategoryBotsInline:
			return new(TLTopPeerCategoryBotsInline)
		case TagTopPeerCategoryCorrespondents:
			return new(TLTopPeerCategoryCorrespondents)
		case TagTopPeerCategoryGroups:
			return new(TLTopPeerCategoryGroups)
		case TagTopPeerCategoryChannels:
			return new(TLTopPeerCategoryChannels)
		case TagContactsTopPeersNotModified:
			return new(TLContactsTopPeersNotModified)
		case TagContactsTopPeers:
			return new(TLContactsTopPeers)
		case TagMessagesFeaturedStickersNotModified:
			return new(TLMessagesFeaturedStickersNotModified)
		case TagMessagesFeaturedStickers:
			return new(TLMessagesFeaturedStickers)
		case TagMessagesRecentStickersNotModified:
			return new(TLMessagesRecentStickersNotModified)
		case TagMessagesRecentStickers:
			return new(TLMessagesRecentStickers)
		case TagMessagesStickerSetInstallResultSuccess:
			return new(TLMessagesStickerSetInstallResultSuccess)
		case TagMessagesStickerSetInstallResultArchive:
			return new(TLMessagesStickerSetInstallResultArchive)
		case TagStickerSetCovered:
			return new(TLStickerSetCovered)
		case TagStickerSetMultiCovered:
			return new(TLStickerSetMultiCovered)
		case TagInputStickeredMediaPhoto:
			return new(TLInputStickeredMediaPhoto)
		case TagInputStickeredMediaDocument:
			return new(TLInputStickeredMediaDocument)
		case TagInputGameID:
			return new(TLInputGameID)
		case TagInputGameShortName:
			return new(TLInputGameShortName)
		case TagTextEmpty:
			return new(TLTextEmpty)
		case TagTextPlain:
			return new(TLTextPlain)
		case TagTextBold:
			return new(TLTextBold)
		case TagTextItalic:
			return new(TLTextItalic)
		case TagTextUnderline:
			return new(TLTextUnderline)
		case TagTextStrike:
			return new(TLTextStrike)
		case TagTextFixed:
			return new(TLTextFixed)
		case TagTextURL:
			return new(TLTextURL)
		case TagTextEmail:
			return new(TLTextEmail)
		case TagTextConcat:
			return new(TLTextConcat)
		case TagPageBlockUnsupported:
			return new(TLPageBlockUnsupported)
		case TagPageBlockTitle:
			return new(TLPageBlockTitle)
		case TagPageBlockSubtitle:
			return new(TLPageBlockSubtitle)
		case TagPageBlockAuthorDate:
			return new(TLPageBlockAuthorDate)
		case TagPageBlockHeader:
			return new(TLPageBlockHeader)
		case TagPageBlockSubheader:
			return new(TLPageBlockSubheader)
		case TagPageBlockParagraph:
			return new(TLPageBlockParagraph)
		case TagPageBlockPreformatted:
			return new(TLPageBlockPreformatted)
		case TagPageBlockFooter:
			return new(TLPageBlockFooter)
		case TagPageBlockDivider:
			return new(TLPageBlockDivider)
		case TagPageBlockAnchor:
			return new(TLPageBlockAnchor)
		case TagPageBlockList:
			return new(TLPageBlockList)
		case TagPageBlockBlockquote:
			return new(TLPageBlockBlockquote)
		case TagPageBlockPullquote:
			return new(TLPageBlockPullquote)
		case TagPageBlockPhoto:
			return new(TLPageBlockPhoto)
		case TagPageBlockVideo:
			return new(TLPageBlockVideo)
		case TagPageBlockCover:
			return new(TLPageBlockCover)
		case TagPageBlockEmbed:
			return new(TLPageBlockEmbed)
		case TagPageBlockEmbedPost:
			return new(TLPageBlockEmbedPost)
		case TagPageBlockCollage:
			return new(TLPageBlockCollage)
		case TagPageBlockSlideshow:
			return new(TLPageBlockSlideshow)
		case TagPagePart:
			return new(TLPagePart)
		case TagPageFull:
			return new(TLPageFull)
		case TagPhoneCallDiscardReasonMissed:
			return new(TLPhoneCallDiscardReasonMissed)
		case TagPhoneCallDiscardReasonDisconnect:
			return new(TLPhoneCallDiscardReasonDisconnect)
		case TagPhoneCallDiscardReasonHangup:
			return new(TLPhoneCallDiscardReasonHangup)
		case TagPhoneCallDiscardReasonBusy:
			return new(TLPhoneCallDiscardReasonBusy)
		case TagPaymentsPaymentResult:
			return new(TLPaymentsPaymentResult)
		case TagPaymentsPaymentVerficationNeeded:
			return new(TLPaymentsPaymentVerficationNeeded)
		case TagInputPaymentCredentialsSaved:
			return new(TLInputPaymentCredentialsSaved)
		case TagInputPaymentCredentials:
			return new(TLInputPaymentCredentials)
		case TagPhoneCallEmpty:
			return new(TLPhoneCallEmpty)
		case TagPhoneCallWaiting:
			return new(TLPhoneCallWaiting)
		case TagPhoneCallRequested:
			return new(TLPhoneCallRequested)
		case TagPhoneCallAccepted:
			return new(TLPhoneCallAccepted)
		case TagPhoneCall:
			return new(TLPhoneCall)
		case TagPhoneCallDiscarded:
			return new(TLPhoneCallDiscarded)
		default:
			return nil
		}
	},
}

Functions

func AESIGEDecrypt

func AESIGEDecrypt(dst, src, key, iv []byte) ([]byte, error)

func AESIGEDecryptWithHash

func AESIGEDecryptWithHash(dst, src, key, iv []byte) ([]byte, []byte, error)

func AESIGEPadEncrypt

func AESIGEPadEncrypt(dst, src, key, iv []byte, random io.Reader) ([]byte, error)

func AESIGEPadEncryptWithHash

func AESIGEPadEncryptWithHash(dst, src, key, iv []byte, random io.Reader) ([]byte, error)

func ComputePubKeyFingerprint

func ComputePubKeyFingerprint(key *rsa.PublicKey) uint64

func EncryptRSA

func EncryptRSA(data []byte, key *rsa.PublicKey) []byte

func EncryptRSAWithHash

func EncryptRSAWithHash(unencrypted []byte, paddingSource []byte, pubKey *rsa.PublicKey) []byte

func IsContentMsg

func IsContentMsg(o tl.Object) bool

func Pad

func Pad(src []byte, blockSize int, random io.Reader) ([]byte, error)

func ParsePublicKey

func ParsePublicKey(s string) (*rsa.PublicKey, error)

func ReadAbridgedTCPMessage

func ReadAbridgedTCPMessage(r TCPReader, maxMsgLen int, firstByteTimeout time.Duration, msgTimeout time.Duration) ([]byte, error)

func ReadAbridgedTCPMessageLen

func ReadAbridgedTCPMessageLen(r io.Reader) (int, error)

func ReadN

func ReadN(r io.Reader, n int) ([]byte, error)

func RequiresAck

func RequiresAck(o tl.Object) bool

Types

type Accum

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

func (*Accum) Error

func (a *Accum) Error() error

func (*Accum) Failed

func (a *Accum) Failed() bool

func (*Accum) Push

func (a *Accum) Push(err error)

type AuthResult

type AuthResult struct {
	Key        []byte
	KeyID      uint64
	ServerSalt [8]byte
	TimeOffset int
	SessionID  [8]byte
}

type Framer

type Framer struct {
	MsgIDOverride uint64
	RandomReader  io.Reader

	FramerState
	// contains filtered or unexported fields
}

func (*Framer) Format

func (fr *Framer) Format(msg Msg) ([]byte, uint64, error)

func (*Framer) Parse

func (fr *Framer) Parse(raw []byte) (Msg, error)

func (*Framer) Restore

func (fr *Framer) Restore(state FramerState)

func (*Framer) SetAuth

func (fr *Framer) SetAuth(auth *AuthResult)

func (*Framer) State

func (fr *Framer) State() (*AuthResult, FramerState)

type FramerState

type FramerState struct {
	SeqNo uint32
}

type Handler

type Handler func(msgID uint64, o tl.Object) ([]tl.Object, error)

type KeyEx

type KeyEx struct {
	RandomReader io.Reader
	PubKey       *rsa.PublicKey
	// contains filtered or unexported fields
}

func (*KeyEx) Handle

func (kex *KeyEx) Handle(o tl.Object) (tl.Object, error)

func (*KeyEx) IsFinished

func (kex *KeyEx) IsFinished() bool

func (*KeyEx) Result

func (kex *KeyEx) Result() (*AuthResult, error)

func (*KeyEx) Start

func (kex *KeyEx) Start() tl.Object

type Msg

type Msg struct {
	Payload []byte
	Type    MsgType
	MsgID   uint64
}

func MsgFromObj

func MsgFromObj(o tl.Object) Msg

type MsgIDGen

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

func (*MsgIDGen) Generate

func (g *MsgIDGen) Generate() uint64

func (*MsgIDGen) GenerateAt

func (g *MsgIDGen) GenerateAt(tm time.Time) uint64

type MsgType

type MsgType int

func (MsgType) String

func (t MsgType) String() string

type SchemaOrigin

type SchemaOrigin int
const (
	SchemaOriginMTProto SchemaOrigin = 1 + iota
	SchemaOriginTelegram
	SchemaOriginBuiltin
)

type Session

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

func NewSession

func NewSession(transport Transport, options SessionOptions) *Session

func (*Session) AddHandler

func (sess *Session) AddHandler(handler func(msgID uint64, o tl.Object) ([]tl.Object, error))

func (*Session) AuthState

func (sess *Session) AuthState() (*AuthResult, FramerState)

func (*Session) DC

func (sess *Session) DC() int

func (*Session) Err

func (sess *Session) Err() error

func (*Session) Fail

func (sess *Session) Fail(err error)

func (*Session) OnStateChanged

func (sess *Session) OnStateChanged(f func())

func (*Session) RestoreAuthState

func (sess *Session) RestoreAuthState(auth *AuthResult, fs FramerState)

func (*Session) Run

func (sess *Session) Run()

func (*Session) RunJob

func (sess *Session) RunJob(f func() error)

func (*Session) Send

func (sess *Session) Send(o tl.Object) (tl.Object, error)

func (*Session) SetDC

func (sess *Session) SetDC(dc int)

func (*Session) Shutdown

func (sess *Session) Shutdown()

func (*Session) Wait

func (sess *Session) Wait()

func (*Session) WaitReady

func (sess *Session) WaitReady()

type SessionOptions

type SessionOptions struct {
	PubKey  *rsa.PublicKey
	AppID   string
	APIHash string
	Verbose int
}

type TCPReader

type TCPReader interface {
	io.Reader

	// see net.Conn.SetReadDeadline
	SetReadDeadline(t time.Time) error
}

type TCPTransport

type TCPTransport struct {
	Conn net.Conn
	// contains filtered or unexported fields
}

func DialTCP

func DialTCP(endpoint string, options TCPTransportOptions) (*TCPTransport, error)

func (*TCPTransport) Close

func (tr *TCPTransport) Close()

func (*TCPTransport) Recv

func (tr *TCPTransport) Recv() ([]byte, int, error)

func (*TCPTransport) Send

func (tr *TCPTransport) Send(data []byte) error

type TCPTransportOptions

type TCPTransportOptions struct {
	MaxMsgLen int
}

type TLAccountAuthorizations

type TLAccountAuthorizations struct {
	Authorizations []*TLAuthorization // authorizations:Vector<Authorization>
}

TLAccountAuthorizations represents ctor account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations from Telegram

func (*TLAccountAuthorizations) Cmd

func (*TLAccountAuthorizations) ReadBareFrom

func (o *TLAccountAuthorizations) ReadBareFrom(r *tl.Reader)

func (*TLAccountAuthorizations) String

func (o *TLAccountAuthorizations) String() string

func (*TLAccountAuthorizations) WriteBareTo

func (o *TLAccountAuthorizations) WriteBareTo(w *tl.Writer)

type TLAccountChangePhone

type TLAccountChangePhone struct {
	PhoneNumber   string // phone_number:string
	PhoneCodeHash string // phone_code_hash:string
	PhoneCode     string // phone_code:string
}

TLAccountChangePhone represents func account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User from Telegram

func (*TLAccountChangePhone) Cmd

func (o *TLAccountChangePhone) Cmd() uint32

func (*TLAccountChangePhone) ReadBareFrom

func (o *TLAccountChangePhone) ReadBareFrom(r *tl.Reader)

func (*TLAccountChangePhone) String

func (o *TLAccountChangePhone) String() string

func (*TLAccountChangePhone) WriteBareTo

func (o *TLAccountChangePhone) WriteBareTo(w *tl.Writer)

type TLAccountCheckUsername

type TLAccountCheckUsername struct {
	Username string // username:string
}

TLAccountCheckUsername represents func account.checkUsername#2714d86c username:string = Bool from Telegram

func (*TLAccountCheckUsername) Cmd

func (o *TLAccountCheckUsername) Cmd() uint32

func (*TLAccountCheckUsername) ReadBareFrom

func (o *TLAccountCheckUsername) ReadBareFrom(r *tl.Reader)

func (*TLAccountCheckUsername) String

func (o *TLAccountCheckUsername) String() string

func (*TLAccountCheckUsername) WriteBareTo

func (o *TLAccountCheckUsername) WriteBareTo(w *tl.Writer)

type TLAccountConfirmPhone

type TLAccountConfirmPhone struct {
	PhoneCodeHash string // phone_code_hash:string
	PhoneCode     string // phone_code:string
}

TLAccountConfirmPhone represents func account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool from Telegram

func (*TLAccountConfirmPhone) Cmd

func (o *TLAccountConfirmPhone) Cmd() uint32

func (*TLAccountConfirmPhone) ReadBareFrom

func (o *TLAccountConfirmPhone) ReadBareFrom(r *tl.Reader)

func (*TLAccountConfirmPhone) String

func (o *TLAccountConfirmPhone) String() string

func (*TLAccountConfirmPhone) WriteBareTo

func (o *TLAccountConfirmPhone) WriteBareTo(w *tl.Writer)

type TLAccountDaysTTL

type TLAccountDaysTTL struct {
	Days int // days:int
}

TLAccountDaysTTL represents ctor accountDaysTTL#b8d0afdf days:int = AccountDaysTTL from Telegram

func (*TLAccountDaysTTL) Cmd

func (o *TLAccountDaysTTL) Cmd() uint32

func (*TLAccountDaysTTL) ReadBareFrom

func (o *TLAccountDaysTTL) ReadBareFrom(r *tl.Reader)

func (*TLAccountDaysTTL) String

func (o *TLAccountDaysTTL) String() string

func (*TLAccountDaysTTL) WriteBareTo

func (o *TLAccountDaysTTL) WriteBareTo(w *tl.Writer)

type TLAccountDeleteAccount

type TLAccountDeleteAccount struct {
	Reason string // reason:string
}

TLAccountDeleteAccount represents func account.deleteAccount#418d4e0b reason:string = Bool from Telegram

func (*TLAccountDeleteAccount) Cmd

func (o *TLAccountDeleteAccount) Cmd() uint32

func (*TLAccountDeleteAccount) ReadBareFrom

func (o *TLAccountDeleteAccount) ReadBareFrom(r *tl.Reader)

func (*TLAccountDeleteAccount) String

func (o *TLAccountDeleteAccount) String() string

func (*TLAccountDeleteAccount) WriteBareTo

func (o *TLAccountDeleteAccount) WriteBareTo(w *tl.Writer)

type TLAccountGetAccountTTL

type TLAccountGetAccountTTL struct {
}

TLAccountGetAccountTTL represents func account.getAccountTTL#08fc711d = AccountDaysTTL from Telegram

func (*TLAccountGetAccountTTL) Cmd

func (o *TLAccountGetAccountTTL) Cmd() uint32

func (*TLAccountGetAccountTTL) ReadBareFrom

func (o *TLAccountGetAccountTTL) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetAccountTTL) String

func (o *TLAccountGetAccountTTL) String() string

func (*TLAccountGetAccountTTL) WriteBareTo

func (o *TLAccountGetAccountTTL) WriteBareTo(w *tl.Writer)

type TLAccountGetAuthorizations

type TLAccountGetAuthorizations struct {
}

TLAccountGetAuthorizations represents func account.getAuthorizations#e320c158 = account.Authorizations from Telegram

func (*TLAccountGetAuthorizations) Cmd

func (*TLAccountGetAuthorizations) ReadBareFrom

func (o *TLAccountGetAuthorizations) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetAuthorizations) String

func (o *TLAccountGetAuthorizations) String() string

func (*TLAccountGetAuthorizations) WriteBareTo

func (o *TLAccountGetAuthorizations) WriteBareTo(w *tl.Writer)

type TLAccountGetNotifySettings

type TLAccountGetNotifySettings struct {
	Peer TLInputNotifyPeerType // peer:InputNotifyPeer
}

TLAccountGetNotifySettings represents func account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings from Telegram

func (*TLAccountGetNotifySettings) Cmd

func (*TLAccountGetNotifySettings) ReadBareFrom

func (o *TLAccountGetNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetNotifySettings) String

func (o *TLAccountGetNotifySettings) String() string

func (*TLAccountGetNotifySettings) WriteBareTo

func (o *TLAccountGetNotifySettings) WriteBareTo(w *tl.Writer)

type TLAccountGetPassword

type TLAccountGetPassword struct {
}

TLAccountGetPassword represents func account.getPassword#548a30f5 = account.Password from Telegram

func (*TLAccountGetPassword) Cmd

func (o *TLAccountGetPassword) Cmd() uint32

func (*TLAccountGetPassword) ReadBareFrom

func (o *TLAccountGetPassword) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetPassword) String

func (o *TLAccountGetPassword) String() string

func (*TLAccountGetPassword) WriteBareTo

func (o *TLAccountGetPassword) WriteBareTo(w *tl.Writer)

type TLAccountGetPasswordSettings

type TLAccountGetPasswordSettings struct {
	CurrentPasswordHash []byte // current_password_hash:bytes
}

TLAccountGetPasswordSettings represents func account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings from Telegram

func (*TLAccountGetPasswordSettings) Cmd

func (*TLAccountGetPasswordSettings) ReadBareFrom

func (o *TLAccountGetPasswordSettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetPasswordSettings) String

func (*TLAccountGetPasswordSettings) WriteBareTo

func (o *TLAccountGetPasswordSettings) WriteBareTo(w *tl.Writer)

type TLAccountGetPrivacy

type TLAccountGetPrivacy struct {
	Key TLInputPrivacyKeyType // key:InputPrivacyKey
}

TLAccountGetPrivacy represents func account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules from Telegram

func (*TLAccountGetPrivacy) Cmd

func (o *TLAccountGetPrivacy) Cmd() uint32

func (*TLAccountGetPrivacy) ReadBareFrom

func (o *TLAccountGetPrivacy) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetPrivacy) String

func (o *TLAccountGetPrivacy) String() string

func (*TLAccountGetPrivacy) WriteBareTo

func (o *TLAccountGetPrivacy) WriteBareTo(w *tl.Writer)

type TLAccountGetTmpPassword

type TLAccountGetTmpPassword struct {
	PasswordHash []byte // password_hash:bytes
	Period       int    // period:int
}

TLAccountGetTmpPassword represents func account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword from Telegram

func (*TLAccountGetTmpPassword) Cmd

func (*TLAccountGetTmpPassword) ReadBareFrom

func (o *TLAccountGetTmpPassword) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetTmpPassword) String

func (o *TLAccountGetTmpPassword) String() string

func (*TLAccountGetTmpPassword) WriteBareTo

func (o *TLAccountGetTmpPassword) WriteBareTo(w *tl.Writer)

type TLAccountGetWallPapers

type TLAccountGetWallPapers struct {
}

TLAccountGetWallPapers represents func account.getWallPapers#c04cfac2 = Vector<WallPaper> from Telegram

func (*TLAccountGetWallPapers) Cmd

func (o *TLAccountGetWallPapers) Cmd() uint32

func (*TLAccountGetWallPapers) ReadBareFrom

func (o *TLAccountGetWallPapers) ReadBareFrom(r *tl.Reader)

func (*TLAccountGetWallPapers) String

func (o *TLAccountGetWallPapers) String() string

func (*TLAccountGetWallPapers) WriteBareTo

func (o *TLAccountGetWallPapers) WriteBareTo(w *tl.Writer)

type TLAccountNoPassword

type TLAccountNoPassword struct {
	NewSalt                 []byte // new_salt:bytes
	EmailUnconfirmedPattern string // email_unconfirmed_pattern:string
}

TLAccountNoPassword represents ctor account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password from Telegram

func (*TLAccountNoPassword) Cmd

func (o *TLAccountNoPassword) Cmd() uint32

func (*TLAccountNoPassword) IsTLAccountPassword

func (o *TLAccountNoPassword) IsTLAccountPassword()

func (*TLAccountNoPassword) ReadBareFrom

func (o *TLAccountNoPassword) ReadBareFrom(r *tl.Reader)

func (*TLAccountNoPassword) String

func (o *TLAccountNoPassword) String() string

func (*TLAccountNoPassword) WriteBareTo

func (o *TLAccountNoPassword) WriteBareTo(w *tl.Writer)

type TLAccountPassword

type TLAccountPassword struct {
	CurrentSalt             []byte // current_salt:bytes
	NewSalt                 []byte // new_salt:bytes
	Hint                    string // hint:string
	HasRecovery             bool   // has_recovery:Bool
	EmailUnconfirmedPattern string // email_unconfirmed_pattern:string
}

TLAccountPassword represents ctor account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password from Telegram

func (*TLAccountPassword) Cmd

func (o *TLAccountPassword) Cmd() uint32

func (*TLAccountPassword) IsTLAccountPassword

func (o *TLAccountPassword) IsTLAccountPassword()

func (*TLAccountPassword) ReadBareFrom

func (o *TLAccountPassword) ReadBareFrom(r *tl.Reader)

func (*TLAccountPassword) String

func (o *TLAccountPassword) String() string

func (*TLAccountPassword) WriteBareTo

func (o *TLAccountPassword) WriteBareTo(w *tl.Writer)

type TLAccountPasswordInputSettings

type TLAccountPasswordInputSettings struct {
	Flags           uint   // flags:#
	NewSalt         []byte // flags.0?new_salt:bytes
	NewPasswordHash []byte // flags.0?new_password_hash:bytes
	Hint            string // flags.0?hint:string
	Email           string // flags.1?email:string
}

TLAccountPasswordInputSettings represents ctor account.passwordInputSettings#86916deb flags:# flags.0?new_salt:bytes flags.0?new_password_hash:bytes flags.0?hint:string flags.1?email:string = account.PasswordInputSettings from Telegram

func (*TLAccountPasswordInputSettings) Cmd

func (*TLAccountPasswordInputSettings) HasEmail

func (o *TLAccountPasswordInputSettings) HasEmail() bool

func (*TLAccountPasswordInputSettings) HasHint

func (o *TLAccountPasswordInputSettings) HasHint() bool

func (*TLAccountPasswordInputSettings) HasNewPasswordHash

func (o *TLAccountPasswordInputSettings) HasNewPasswordHash() bool

func (*TLAccountPasswordInputSettings) HasNewSalt

func (o *TLAccountPasswordInputSettings) HasNewSalt() bool

func (*TLAccountPasswordInputSettings) ReadBareFrom

func (o *TLAccountPasswordInputSettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountPasswordInputSettings) SetHasEmail

func (o *TLAccountPasswordInputSettings) SetHasEmail(v bool)

func (*TLAccountPasswordInputSettings) SetHasHint

func (o *TLAccountPasswordInputSettings) SetHasHint(v bool)

func (*TLAccountPasswordInputSettings) SetHasNewPasswordHash

func (o *TLAccountPasswordInputSettings) SetHasNewPasswordHash(v bool)

func (*TLAccountPasswordInputSettings) SetHasNewSalt

func (o *TLAccountPasswordInputSettings) SetHasNewSalt(v bool)

func (*TLAccountPasswordInputSettings) String

func (*TLAccountPasswordInputSettings) WriteBareTo

func (o *TLAccountPasswordInputSettings) WriteBareTo(w *tl.Writer)

type TLAccountPasswordSettings

type TLAccountPasswordSettings struct {
	Email string // email:string
}

TLAccountPasswordSettings represents ctor account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings from Telegram

func (*TLAccountPasswordSettings) Cmd

func (*TLAccountPasswordSettings) ReadBareFrom

func (o *TLAccountPasswordSettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountPasswordSettings) String

func (o *TLAccountPasswordSettings) String() string

func (*TLAccountPasswordSettings) WriteBareTo

func (o *TLAccountPasswordSettings) WriteBareTo(w *tl.Writer)

type TLAccountPasswordType

type TLAccountPasswordType interface {
	IsTLAccountPassword()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLAccountPasswordType represents account.Password from Telegram

type TLAccountPrivacyRules

type TLAccountPrivacyRules struct {
	Rules []TLPrivacyRuleType // rules:Vector<PrivacyRule>
	Users []TLUserType        // users:Vector<User>
}

TLAccountPrivacyRules represents ctor account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules from Telegram

func (*TLAccountPrivacyRules) Cmd

func (o *TLAccountPrivacyRules) Cmd() uint32

func (*TLAccountPrivacyRules) ReadBareFrom

func (o *TLAccountPrivacyRules) ReadBareFrom(r *tl.Reader)

func (*TLAccountPrivacyRules) String

func (o *TLAccountPrivacyRules) String() string

func (*TLAccountPrivacyRules) WriteBareTo

func (o *TLAccountPrivacyRules) WriteBareTo(w *tl.Writer)

type TLAccountRegisterDevice

type TLAccountRegisterDevice struct {
	TokenType int    // token_type:int
	Token     string // token:string
}

TLAccountRegisterDevice represents func account.registerDevice#637ea878 token_type:int token:string = Bool from Telegram

func (*TLAccountRegisterDevice) Cmd

func (*TLAccountRegisterDevice) ReadBareFrom

func (o *TLAccountRegisterDevice) ReadBareFrom(r *tl.Reader)

func (*TLAccountRegisterDevice) String

func (o *TLAccountRegisterDevice) String() string

func (*TLAccountRegisterDevice) WriteBareTo

func (o *TLAccountRegisterDevice) WriteBareTo(w *tl.Writer)

type TLAccountReportPeer

type TLAccountReportPeer struct {
	Peer   TLInputPeerType    // peer:InputPeer
	Reason TLReportReasonType // reason:ReportReason
}

TLAccountReportPeer represents func account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool from Telegram

func (*TLAccountReportPeer) Cmd

func (o *TLAccountReportPeer) Cmd() uint32

func (*TLAccountReportPeer) ReadBareFrom

func (o *TLAccountReportPeer) ReadBareFrom(r *tl.Reader)

func (*TLAccountReportPeer) String

func (o *TLAccountReportPeer) String() string

func (*TLAccountReportPeer) WriteBareTo

func (o *TLAccountReportPeer) WriteBareTo(w *tl.Writer)

type TLAccountResetAuthorization

type TLAccountResetAuthorization struct {
	Hash uint64 // hash:long
}

TLAccountResetAuthorization represents func account.resetAuthorization#df77f3bc hash:long = Bool from Telegram

func (*TLAccountResetAuthorization) Cmd

func (*TLAccountResetAuthorization) ReadBareFrom

func (o *TLAccountResetAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAccountResetAuthorization) String

func (o *TLAccountResetAuthorization) String() string

func (*TLAccountResetAuthorization) WriteBareTo

func (o *TLAccountResetAuthorization) WriteBareTo(w *tl.Writer)

type TLAccountResetNotifySettings

type TLAccountResetNotifySettings struct {
}

TLAccountResetNotifySettings represents func account.resetNotifySettings#db7e1747 = Bool from Telegram

func (*TLAccountResetNotifySettings) Cmd

func (*TLAccountResetNotifySettings) ReadBareFrom

func (o *TLAccountResetNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountResetNotifySettings) String

func (*TLAccountResetNotifySettings) WriteBareTo

func (o *TLAccountResetNotifySettings) WriteBareTo(w *tl.Writer)

type TLAccountSendChangePhoneCode

type TLAccountSendChangePhoneCode struct {
	Flags         uint   // flags:#
	PhoneNumber   string // phone_number:string
	CurrentNumber bool   // flags.0?current_number:Bool
}

TLAccountSendChangePhoneCode represents func account.sendChangePhoneCode#08e57deb flags:# flags.0?allow_flashcall:true phone_number:string flags.0?current_number:Bool = auth.SentCode from Telegram

func (*TLAccountSendChangePhoneCode) AllowFlashcall

func (o *TLAccountSendChangePhoneCode) AllowFlashcall() bool

func (*TLAccountSendChangePhoneCode) Cmd

func (*TLAccountSendChangePhoneCode) HasCurrentNumber

func (o *TLAccountSendChangePhoneCode) HasCurrentNumber() bool

func (*TLAccountSendChangePhoneCode) ReadBareFrom

func (o *TLAccountSendChangePhoneCode) ReadBareFrom(r *tl.Reader)

func (*TLAccountSendChangePhoneCode) SetAllowFlashcall

func (o *TLAccountSendChangePhoneCode) SetAllowFlashcall(v bool)

func (*TLAccountSendChangePhoneCode) SetHasCurrentNumber

func (o *TLAccountSendChangePhoneCode) SetHasCurrentNumber(v bool)

func (*TLAccountSendChangePhoneCode) String

func (*TLAccountSendChangePhoneCode) WriteBareTo

func (o *TLAccountSendChangePhoneCode) WriteBareTo(w *tl.Writer)

type TLAccountSendConfirmPhoneCode

type TLAccountSendConfirmPhoneCode struct {
	Flags         uint   // flags:#
	Hash          string // hash:string
	CurrentNumber bool   // flags.0?current_number:Bool
}

TLAccountSendConfirmPhoneCode represents func account.sendConfirmPhoneCode#1516d7bd flags:# flags.0?allow_flashcall:true hash:string flags.0?current_number:Bool = auth.SentCode from Telegram

func (*TLAccountSendConfirmPhoneCode) AllowFlashcall

func (o *TLAccountSendConfirmPhoneCode) AllowFlashcall() bool

func (*TLAccountSendConfirmPhoneCode) Cmd

func (*TLAccountSendConfirmPhoneCode) HasCurrentNumber

func (o *TLAccountSendConfirmPhoneCode) HasCurrentNumber() bool

func (*TLAccountSendConfirmPhoneCode) ReadBareFrom

func (o *TLAccountSendConfirmPhoneCode) ReadBareFrom(r *tl.Reader)

func (*TLAccountSendConfirmPhoneCode) SetAllowFlashcall

func (o *TLAccountSendConfirmPhoneCode) SetAllowFlashcall(v bool)

func (*TLAccountSendConfirmPhoneCode) SetHasCurrentNumber

func (o *TLAccountSendConfirmPhoneCode) SetHasCurrentNumber(v bool)

func (*TLAccountSendConfirmPhoneCode) String

func (*TLAccountSendConfirmPhoneCode) WriteBareTo

func (o *TLAccountSendConfirmPhoneCode) WriteBareTo(w *tl.Writer)

type TLAccountSetAccountTTL

type TLAccountSetAccountTTL struct {
	Ttl *TLAccountDaysTTL // ttl:AccountDaysTTL
}

TLAccountSetAccountTTL represents func account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool from Telegram

func (*TLAccountSetAccountTTL) Cmd

func (o *TLAccountSetAccountTTL) Cmd() uint32

func (*TLAccountSetAccountTTL) ReadBareFrom

func (o *TLAccountSetAccountTTL) ReadBareFrom(r *tl.Reader)

func (*TLAccountSetAccountTTL) String

func (o *TLAccountSetAccountTTL) String() string

func (*TLAccountSetAccountTTL) WriteBareTo

func (o *TLAccountSetAccountTTL) WriteBareTo(w *tl.Writer)

type TLAccountSetPrivacy

type TLAccountSetPrivacy struct {
	Key   TLInputPrivacyKeyType    // key:InputPrivacyKey
	Rules []TLInputPrivacyRuleType // rules:Vector<InputPrivacyRule>
}

TLAccountSetPrivacy represents func account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules from Telegram

func (*TLAccountSetPrivacy) Cmd

func (o *TLAccountSetPrivacy) Cmd() uint32

func (*TLAccountSetPrivacy) ReadBareFrom

func (o *TLAccountSetPrivacy) ReadBareFrom(r *tl.Reader)

func (*TLAccountSetPrivacy) String

func (o *TLAccountSetPrivacy) String() string

func (*TLAccountSetPrivacy) WriteBareTo

func (o *TLAccountSetPrivacy) WriteBareTo(w *tl.Writer)

type TLAccountTmpPassword

type TLAccountTmpPassword struct {
	TmpPassword []byte // tmp_password:bytes
	ValidUntil  int    // valid_until:int
}

TLAccountTmpPassword represents ctor account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword from Telegram

func (*TLAccountTmpPassword) Cmd

func (o *TLAccountTmpPassword) Cmd() uint32

func (*TLAccountTmpPassword) ReadBareFrom

func (o *TLAccountTmpPassword) ReadBareFrom(r *tl.Reader)

func (*TLAccountTmpPassword) String

func (o *TLAccountTmpPassword) String() string

func (*TLAccountTmpPassword) WriteBareTo

func (o *TLAccountTmpPassword) WriteBareTo(w *tl.Writer)

type TLAccountUnregisterDevice

type TLAccountUnregisterDevice struct {
	TokenType int    // token_type:int
	Token     string // token:string
}

TLAccountUnregisterDevice represents func account.unregisterDevice#65c55b40 token_type:int token:string = Bool from Telegram

func (*TLAccountUnregisterDevice) Cmd

func (*TLAccountUnregisterDevice) ReadBareFrom

func (o *TLAccountUnregisterDevice) ReadBareFrom(r *tl.Reader)

func (*TLAccountUnregisterDevice) String

func (o *TLAccountUnregisterDevice) String() string

func (*TLAccountUnregisterDevice) WriteBareTo

func (o *TLAccountUnregisterDevice) WriteBareTo(w *tl.Writer)

type TLAccountUpdateDeviceLocked

type TLAccountUpdateDeviceLocked struct {
	Period int // period:int
}

TLAccountUpdateDeviceLocked represents func account.updateDeviceLocked#38df3532 period:int = Bool from Telegram

func (*TLAccountUpdateDeviceLocked) Cmd

func (*TLAccountUpdateDeviceLocked) ReadBareFrom

func (o *TLAccountUpdateDeviceLocked) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdateDeviceLocked) String

func (o *TLAccountUpdateDeviceLocked) String() string

func (*TLAccountUpdateDeviceLocked) WriteBareTo

func (o *TLAccountUpdateDeviceLocked) WriteBareTo(w *tl.Writer)

type TLAccountUpdateNotifySettings

type TLAccountUpdateNotifySettings struct {
	Peer     TLInputNotifyPeerType      // peer:InputNotifyPeer
	Settings *TLInputPeerNotifySettings // settings:InputPeerNotifySettings
}

TLAccountUpdateNotifySettings represents func account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool from Telegram

func (*TLAccountUpdateNotifySettings) Cmd

func (*TLAccountUpdateNotifySettings) ReadBareFrom

func (o *TLAccountUpdateNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdateNotifySettings) String

func (*TLAccountUpdateNotifySettings) WriteBareTo

func (o *TLAccountUpdateNotifySettings) WriteBareTo(w *tl.Writer)

type TLAccountUpdatePasswordSettings

type TLAccountUpdatePasswordSettings struct {
	CurrentPasswordHash []byte                          // current_password_hash:bytes
	NewSettings         *TLAccountPasswordInputSettings // new_settings:account.PasswordInputSettings
}

TLAccountUpdatePasswordSettings represents func account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool from Telegram

func (*TLAccountUpdatePasswordSettings) Cmd

func (*TLAccountUpdatePasswordSettings) ReadBareFrom

func (o *TLAccountUpdatePasswordSettings) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdatePasswordSettings) String

func (*TLAccountUpdatePasswordSettings) WriteBareTo

func (o *TLAccountUpdatePasswordSettings) WriteBareTo(w *tl.Writer)

type TLAccountUpdateProfile

type TLAccountUpdateProfile struct {
	Flags     uint   // flags:#
	FirstName string // flags.0?first_name:string
	LastName  string // flags.1?last_name:string
	About     string // flags.2?about:string
}

TLAccountUpdateProfile represents func account.updateProfile#78515775 flags:# flags.0?first_name:string flags.1?last_name:string flags.2?about:string = User from Telegram

func (*TLAccountUpdateProfile) Cmd

func (o *TLAccountUpdateProfile) Cmd() uint32

func (*TLAccountUpdateProfile) HasAbout

func (o *TLAccountUpdateProfile) HasAbout() bool

func (*TLAccountUpdateProfile) HasFirstName

func (o *TLAccountUpdateProfile) HasFirstName() bool

func (*TLAccountUpdateProfile) HasLastName

func (o *TLAccountUpdateProfile) HasLastName() bool

func (*TLAccountUpdateProfile) ReadBareFrom

func (o *TLAccountUpdateProfile) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdateProfile) SetHasAbout

func (o *TLAccountUpdateProfile) SetHasAbout(v bool)

func (*TLAccountUpdateProfile) SetHasFirstName

func (o *TLAccountUpdateProfile) SetHasFirstName(v bool)

func (*TLAccountUpdateProfile) SetHasLastName

func (o *TLAccountUpdateProfile) SetHasLastName(v bool)

func (*TLAccountUpdateProfile) String

func (o *TLAccountUpdateProfile) String() string

func (*TLAccountUpdateProfile) WriteBareTo

func (o *TLAccountUpdateProfile) WriteBareTo(w *tl.Writer)

type TLAccountUpdateStatus

type TLAccountUpdateStatus struct {
	Offline bool // offline:Bool
}

TLAccountUpdateStatus represents func account.updateStatus#6628562c offline:Bool = Bool from Telegram

func (*TLAccountUpdateStatus) Cmd

func (o *TLAccountUpdateStatus) Cmd() uint32

func (*TLAccountUpdateStatus) ReadBareFrom

func (o *TLAccountUpdateStatus) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdateStatus) String

func (o *TLAccountUpdateStatus) String() string

func (*TLAccountUpdateStatus) WriteBareTo

func (o *TLAccountUpdateStatus) WriteBareTo(w *tl.Writer)

type TLAccountUpdateUsername

type TLAccountUpdateUsername struct {
	Username string // username:string
}

TLAccountUpdateUsername represents func account.updateUsername#3e0bdd7c username:string = User from Telegram

func (*TLAccountUpdateUsername) Cmd

func (*TLAccountUpdateUsername) ReadBareFrom

func (o *TLAccountUpdateUsername) ReadBareFrom(r *tl.Reader)

func (*TLAccountUpdateUsername) String

func (o *TLAccountUpdateUsername) String() string

func (*TLAccountUpdateUsername) WriteBareTo

func (o *TLAccountUpdateUsername) WriteBareTo(w *tl.Writer)

type TLAuthAuthorization

type TLAuthAuthorization struct {
	Flags       uint       // flags:#
	TmpSessions int        // flags.0?tmp_sessions:int
	User        TLUserType // user:User
}

TLAuthAuthorization represents ctor auth.authorization#cd050916 flags:# flags.0?tmp_sessions:int user:User = auth.Authorization from Telegram

func (*TLAuthAuthorization) Cmd

func (o *TLAuthAuthorization) Cmd() uint32

func (*TLAuthAuthorization) HasTmpSessions

func (o *TLAuthAuthorization) HasTmpSessions() bool

func (*TLAuthAuthorization) ReadBareFrom

func (o *TLAuthAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthAuthorization) SetHasTmpSessions

func (o *TLAuthAuthorization) SetHasTmpSessions(v bool)

func (*TLAuthAuthorization) String

func (o *TLAuthAuthorization) String() string

func (*TLAuthAuthorization) WriteBareTo

func (o *TLAuthAuthorization) WriteBareTo(w *tl.Writer)

type TLAuthBindTempAuthKey

type TLAuthBindTempAuthKey struct {
	PermAuthKeyID    uint64 // perm_auth_key_id:long
	Nonce            uint64 // nonce:long
	ExpiresAt        int    // expires_at:int
	EncryptedMessage []byte // encrypted_message:bytes
}

TLAuthBindTempAuthKey represents func auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool from Telegram

func (*TLAuthBindTempAuthKey) Cmd

func (o *TLAuthBindTempAuthKey) Cmd() uint32

func (*TLAuthBindTempAuthKey) ReadBareFrom

func (o *TLAuthBindTempAuthKey) ReadBareFrom(r *tl.Reader)

func (*TLAuthBindTempAuthKey) String

func (o *TLAuthBindTempAuthKey) String() string

func (*TLAuthBindTempAuthKey) WriteBareTo

func (o *TLAuthBindTempAuthKey) WriteBareTo(w *tl.Writer)

type TLAuthCancelCode

type TLAuthCancelCode struct {
	PhoneNumber   string // phone_number:string
	PhoneCodeHash string // phone_code_hash:string
}

TLAuthCancelCode represents func auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool from Telegram

func (*TLAuthCancelCode) Cmd

func (o *TLAuthCancelCode) Cmd() uint32

func (*TLAuthCancelCode) ReadBareFrom

func (o *TLAuthCancelCode) ReadBareFrom(r *tl.Reader)

func (*TLAuthCancelCode) String

func (o *TLAuthCancelCode) String() string

func (*TLAuthCancelCode) WriteBareTo

func (o *TLAuthCancelCode) WriteBareTo(w *tl.Writer)

type TLAuthCheckPassword

type TLAuthCheckPassword struct {
	PasswordHash []byte // password_hash:bytes
}

TLAuthCheckPassword represents func auth.checkPassword#0a63011e password_hash:bytes = auth.Authorization from Telegram

func (*TLAuthCheckPassword) Cmd

func (o *TLAuthCheckPassword) Cmd() uint32

func (*TLAuthCheckPassword) ReadBareFrom

func (o *TLAuthCheckPassword) ReadBareFrom(r *tl.Reader)

func (*TLAuthCheckPassword) String

func (o *TLAuthCheckPassword) String() string

func (*TLAuthCheckPassword) WriteBareTo

func (o *TLAuthCheckPassword) WriteBareTo(w *tl.Writer)

type TLAuthCheckPhone

type TLAuthCheckPhone struct {
	PhoneNumber string // phone_number:string
}

TLAuthCheckPhone represents func auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone from Telegram

func (*TLAuthCheckPhone) Cmd

func (o *TLAuthCheckPhone) Cmd() uint32

func (*TLAuthCheckPhone) ReadBareFrom

func (o *TLAuthCheckPhone) ReadBareFrom(r *tl.Reader)

func (*TLAuthCheckPhone) String

func (o *TLAuthCheckPhone) String() string

func (*TLAuthCheckPhone) WriteBareTo

func (o *TLAuthCheckPhone) WriteBareTo(w *tl.Writer)

type TLAuthCheckedPhone

type TLAuthCheckedPhone struct {
	PhoneRegistered bool // phone_registered:Bool
}

TLAuthCheckedPhone represents ctor auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone from Telegram

func (*TLAuthCheckedPhone) Cmd

func (o *TLAuthCheckedPhone) Cmd() uint32

func (*TLAuthCheckedPhone) ReadBareFrom

func (o *TLAuthCheckedPhone) ReadBareFrom(r *tl.Reader)

func (*TLAuthCheckedPhone) String

func (o *TLAuthCheckedPhone) String() string

func (*TLAuthCheckedPhone) WriteBareTo

func (o *TLAuthCheckedPhone) WriteBareTo(w *tl.Writer)

type TLAuthCodeTypeCall

type TLAuthCodeTypeCall struct {
}

TLAuthCodeTypeCall represents ctor auth.codeTypeCall#741cd3e3 = auth.CodeType from Telegram

func (*TLAuthCodeTypeCall) Cmd

func (o *TLAuthCodeTypeCall) Cmd() uint32

func (*TLAuthCodeTypeCall) IsTLAuthCodeType

func (o *TLAuthCodeTypeCall) IsTLAuthCodeType()

func (*TLAuthCodeTypeCall) ReadBareFrom

func (o *TLAuthCodeTypeCall) ReadBareFrom(r *tl.Reader)

func (*TLAuthCodeTypeCall) String

func (o *TLAuthCodeTypeCall) String() string

func (*TLAuthCodeTypeCall) WriteBareTo

func (o *TLAuthCodeTypeCall) WriteBareTo(w *tl.Writer)

type TLAuthCodeTypeFlashCall

type TLAuthCodeTypeFlashCall struct {
}

TLAuthCodeTypeFlashCall represents ctor auth.codeTypeFlashCall#226ccefb = auth.CodeType from Telegram

func (*TLAuthCodeTypeFlashCall) Cmd

func (*TLAuthCodeTypeFlashCall) IsTLAuthCodeType

func (o *TLAuthCodeTypeFlashCall) IsTLAuthCodeType()

func (*TLAuthCodeTypeFlashCall) ReadBareFrom

func (o *TLAuthCodeTypeFlashCall) ReadBareFrom(r *tl.Reader)

func (*TLAuthCodeTypeFlashCall) String

func (o *TLAuthCodeTypeFlashCall) String() string

func (*TLAuthCodeTypeFlashCall) WriteBareTo

func (o *TLAuthCodeTypeFlashCall) WriteBareTo(w *tl.Writer)

type TLAuthCodeTypeSms

type TLAuthCodeTypeSms struct {
}

TLAuthCodeTypeSms represents ctor auth.codeTypeSms#72a3158c = auth.CodeType from Telegram

func (*TLAuthCodeTypeSms) Cmd

func (o *TLAuthCodeTypeSms) Cmd() uint32

func (*TLAuthCodeTypeSms) IsTLAuthCodeType

func (o *TLAuthCodeTypeSms) IsTLAuthCodeType()

func (*TLAuthCodeTypeSms) ReadBareFrom

func (o *TLAuthCodeTypeSms) ReadBareFrom(r *tl.Reader)

func (*TLAuthCodeTypeSms) String

func (o *TLAuthCodeTypeSms) String() string

func (*TLAuthCodeTypeSms) WriteBareTo

func (o *TLAuthCodeTypeSms) WriteBareTo(w *tl.Writer)

type TLAuthCodeTypeType

type TLAuthCodeTypeType interface {
	IsTLAuthCodeType()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLAuthCodeTypeType represents auth.CodeType from Telegram

type TLAuthDropTempAuthKeys

type TLAuthDropTempAuthKeys struct {
	ExceptAuthKeys []uint64 // except_auth_keys:Vector<long>
}

TLAuthDropTempAuthKeys represents func auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool from Telegram

func (*TLAuthDropTempAuthKeys) Cmd

func (o *TLAuthDropTempAuthKeys) Cmd() uint32

func (*TLAuthDropTempAuthKeys) ReadBareFrom

func (o *TLAuthDropTempAuthKeys) ReadBareFrom(r *tl.Reader)

func (*TLAuthDropTempAuthKeys) String

func (o *TLAuthDropTempAuthKeys) String() string

func (*TLAuthDropTempAuthKeys) WriteBareTo

func (o *TLAuthDropTempAuthKeys) WriteBareTo(w *tl.Writer)

type TLAuthExportAuthorization

type TLAuthExportAuthorization struct {
	DCID int // dc_id:int
}

TLAuthExportAuthorization represents func auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization from Telegram

func (*TLAuthExportAuthorization) Cmd

func (*TLAuthExportAuthorization) ReadBareFrom

func (o *TLAuthExportAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthExportAuthorization) String

func (o *TLAuthExportAuthorization) String() string

func (*TLAuthExportAuthorization) WriteBareTo

func (o *TLAuthExportAuthorization) WriteBareTo(w *tl.Writer)

type TLAuthExportedAuthorization

type TLAuthExportedAuthorization struct {
	ID    int    // id:int
	Bytes []byte // bytes:bytes
}

TLAuthExportedAuthorization represents ctor auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization from Telegram

func (*TLAuthExportedAuthorization) Cmd

func (*TLAuthExportedAuthorization) ReadBareFrom

func (o *TLAuthExportedAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthExportedAuthorization) String

func (o *TLAuthExportedAuthorization) String() string

func (*TLAuthExportedAuthorization) WriteBareTo

func (o *TLAuthExportedAuthorization) WriteBareTo(w *tl.Writer)

type TLAuthImportAuthorization

type TLAuthImportAuthorization struct {
	ID    int    // id:int
	Bytes []byte // bytes:bytes
}

TLAuthImportAuthorization represents func auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization from Telegram

func (*TLAuthImportAuthorization) Cmd

func (*TLAuthImportAuthorization) ReadBareFrom

func (o *TLAuthImportAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthImportAuthorization) String

func (o *TLAuthImportAuthorization) String() string

func (*TLAuthImportAuthorization) WriteBareTo

func (o *TLAuthImportAuthorization) WriteBareTo(w *tl.Writer)

type TLAuthImportBotAuthorization

type TLAuthImportBotAuthorization struct {
	Flags        int    // flags:int
	APIID        int    // api_id:int
	APIHash      string // api_hash:string
	BotAuthToken string // bot_auth_token:string
}

TLAuthImportBotAuthorization represents func auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization from Telegram

func (*TLAuthImportBotAuthorization) Cmd

func (*TLAuthImportBotAuthorization) ReadBareFrom

func (o *TLAuthImportBotAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthImportBotAuthorization) String

func (*TLAuthImportBotAuthorization) WriteBareTo

func (o *TLAuthImportBotAuthorization) WriteBareTo(w *tl.Writer)

type TLAuthLogOut

type TLAuthLogOut struct {
}

TLAuthLogOut represents func auth.logOut#5717da40 = Bool from Telegram

func (*TLAuthLogOut) Cmd

func (o *TLAuthLogOut) Cmd() uint32

func (*TLAuthLogOut) ReadBareFrom

func (o *TLAuthLogOut) ReadBareFrom(r *tl.Reader)

func (*TLAuthLogOut) String

func (o *TLAuthLogOut) String() string

func (*TLAuthLogOut) WriteBareTo

func (o *TLAuthLogOut) WriteBareTo(w *tl.Writer)

type TLAuthPasswordRecovery

type TLAuthPasswordRecovery struct {
	EmailPattern string // email_pattern:string
}

TLAuthPasswordRecovery represents ctor auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery from Telegram

func (*TLAuthPasswordRecovery) Cmd

func (o *TLAuthPasswordRecovery) Cmd() uint32

func (*TLAuthPasswordRecovery) ReadBareFrom

func (o *TLAuthPasswordRecovery) ReadBareFrom(r *tl.Reader)

func (*TLAuthPasswordRecovery) String

func (o *TLAuthPasswordRecovery) String() string

func (*TLAuthPasswordRecovery) WriteBareTo

func (o *TLAuthPasswordRecovery) WriteBareTo(w *tl.Writer)

type TLAuthRecoverPassword

type TLAuthRecoverPassword struct {
	Code string // code:string
}

TLAuthRecoverPassword represents func auth.recoverPassword#4ea56e92 code:string = auth.Authorization from Telegram

func (*TLAuthRecoverPassword) Cmd

func (o *TLAuthRecoverPassword) Cmd() uint32

func (*TLAuthRecoverPassword) ReadBareFrom

func (o *TLAuthRecoverPassword) ReadBareFrom(r *tl.Reader)

func (*TLAuthRecoverPassword) String

func (o *TLAuthRecoverPassword) String() string

func (*TLAuthRecoverPassword) WriteBareTo

func (o *TLAuthRecoverPassword) WriteBareTo(w *tl.Writer)

type TLAuthRequestPasswordRecovery

type TLAuthRequestPasswordRecovery struct {
}

TLAuthRequestPasswordRecovery represents func auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery from Telegram

func (*TLAuthRequestPasswordRecovery) Cmd

func (*TLAuthRequestPasswordRecovery) ReadBareFrom

func (o *TLAuthRequestPasswordRecovery) ReadBareFrom(r *tl.Reader)

func (*TLAuthRequestPasswordRecovery) String

func (*TLAuthRequestPasswordRecovery) WriteBareTo

func (o *TLAuthRequestPasswordRecovery) WriteBareTo(w *tl.Writer)

type TLAuthResendCode

type TLAuthResendCode struct {
	PhoneNumber   string // phone_number:string
	PhoneCodeHash string // phone_code_hash:string
}

TLAuthResendCode represents func auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode from Telegram

func (*TLAuthResendCode) Cmd

func (o *TLAuthResendCode) Cmd() uint32

func (*TLAuthResendCode) ReadBareFrom

func (o *TLAuthResendCode) ReadBareFrom(r *tl.Reader)

func (*TLAuthResendCode) String

func (o *TLAuthResendCode) String() string

func (*TLAuthResendCode) WriteBareTo

func (o *TLAuthResendCode) WriteBareTo(w *tl.Writer)

type TLAuthResetAuthorizations

type TLAuthResetAuthorizations struct {
}

TLAuthResetAuthorizations represents func auth.resetAuthorizations#9fab0d1a = Bool from Telegram

func (*TLAuthResetAuthorizations) Cmd

func (*TLAuthResetAuthorizations) ReadBareFrom

func (o *TLAuthResetAuthorizations) ReadBareFrom(r *tl.Reader)

func (*TLAuthResetAuthorizations) String

func (o *TLAuthResetAuthorizations) String() string

func (*TLAuthResetAuthorizations) WriteBareTo

func (o *TLAuthResetAuthorizations) WriteBareTo(w *tl.Writer)

type TLAuthSendCode

type TLAuthSendCode struct {
	Flags         uint   // flags:#
	PhoneNumber   string // phone_number:string
	CurrentNumber bool   // flags.0?current_number:Bool
	APIID         int    // api_id:int
	APIHash       string // api_hash:string
}

TLAuthSendCode represents func auth.sendCode#86aef0ec flags:# flags.0?allow_flashcall:true phone_number:string flags.0?current_number:Bool api_id:int api_hash:string = auth.SentCode from Telegram

func (*TLAuthSendCode) AllowFlashcall

func (o *TLAuthSendCode) AllowFlashcall() bool

func (*TLAuthSendCode) Cmd

func (o *TLAuthSendCode) Cmd() uint32

func (*TLAuthSendCode) HasCurrentNumber

func (o *TLAuthSendCode) HasCurrentNumber() bool

func (*TLAuthSendCode) ReadBareFrom

func (o *TLAuthSendCode) ReadBareFrom(r *tl.Reader)

func (*TLAuthSendCode) SetAllowFlashcall

func (o *TLAuthSendCode) SetAllowFlashcall(v bool)

func (*TLAuthSendCode) SetHasCurrentNumber

func (o *TLAuthSendCode) SetHasCurrentNumber(v bool)

func (*TLAuthSendCode) String

func (o *TLAuthSendCode) String() string

func (*TLAuthSendCode) WriteBareTo

func (o *TLAuthSendCode) WriteBareTo(w *tl.Writer)

type TLAuthSendInvites

type TLAuthSendInvites struct {
	PhoneNumbers []string // phone_numbers:Vector<string>
	Message      string   // message:string
}

TLAuthSendInvites represents func auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool from Telegram

func (*TLAuthSendInvites) Cmd

func (o *TLAuthSendInvites) Cmd() uint32

func (*TLAuthSendInvites) ReadBareFrom

func (o *TLAuthSendInvites) ReadBareFrom(r *tl.Reader)

func (*TLAuthSendInvites) String

func (o *TLAuthSendInvites) String() string

func (*TLAuthSendInvites) WriteBareTo

func (o *TLAuthSendInvites) WriteBareTo(w *tl.Writer)

type TLAuthSentCode

type TLAuthSentCode struct {
	Flags         uint                   // flags:#
	Type          TLAuthSentCodeTypeType // type:auth.SentCodeType
	PhoneCodeHash string                 // phone_code_hash:string
	NextType      TLAuthCodeTypeType     // flags.1?next_type:auth.CodeType
	Timeout       int                    // flags.2?timeout:int
}

TLAuthSentCode represents ctor auth.sentCode#5e002502 flags:# flags.0?phone_registered:true type:auth.SentCodeType phone_code_hash:string flags.1?next_type:auth.CodeType flags.2?timeout:int = auth.SentCode from Telegram

func (*TLAuthSentCode) Cmd

func (o *TLAuthSentCode) Cmd() uint32

func (*TLAuthSentCode) HasNextType

func (o *TLAuthSentCode) HasNextType() bool

func (*TLAuthSentCode) HasTimeout

func (o *TLAuthSentCode) HasTimeout() bool

func (*TLAuthSentCode) PhoneRegistered

func (o *TLAuthSentCode) PhoneRegistered() bool

func (*TLAuthSentCode) ReadBareFrom

func (o *TLAuthSentCode) ReadBareFrom(r *tl.Reader)

func (*TLAuthSentCode) SetHasNextType

func (o *TLAuthSentCode) SetHasNextType(v bool)

func (*TLAuthSentCode) SetHasTimeout

func (o *TLAuthSentCode) SetHasTimeout(v bool)

func (*TLAuthSentCode) SetPhoneRegistered

func (o *TLAuthSentCode) SetPhoneRegistered(v bool)

func (*TLAuthSentCode) String

func (o *TLAuthSentCode) String() string

func (*TLAuthSentCode) WriteBareTo

func (o *TLAuthSentCode) WriteBareTo(w *tl.Writer)

type TLAuthSentCodeTypeApp

type TLAuthSentCodeTypeApp struct {
	Length int // length:int
}

TLAuthSentCodeTypeApp represents ctor auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType from Telegram

func (*TLAuthSentCodeTypeApp) Cmd

func (o *TLAuthSentCodeTypeApp) Cmd() uint32

func (*TLAuthSentCodeTypeApp) IsTLAuthSentCodeType

func (o *TLAuthSentCodeTypeApp) IsTLAuthSentCodeType()

func (*TLAuthSentCodeTypeApp) ReadBareFrom

func (o *TLAuthSentCodeTypeApp) ReadBareFrom(r *tl.Reader)

func (*TLAuthSentCodeTypeApp) String

func (o *TLAuthSentCodeTypeApp) String() string

func (*TLAuthSentCodeTypeApp) WriteBareTo

func (o *TLAuthSentCodeTypeApp) WriteBareTo(w *tl.Writer)

type TLAuthSentCodeTypeCall

type TLAuthSentCodeTypeCall struct {
	Length int // length:int
}

TLAuthSentCodeTypeCall represents ctor auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType from Telegram

func (*TLAuthSentCodeTypeCall) Cmd

func (o *TLAuthSentCodeTypeCall) Cmd() uint32

func (*TLAuthSentCodeTypeCall) IsTLAuthSentCodeType

func (o *TLAuthSentCodeTypeCall) IsTLAuthSentCodeType()

func (*TLAuthSentCodeTypeCall) ReadBareFrom

func (o *TLAuthSentCodeTypeCall) ReadBareFrom(r *tl.Reader)

func (*TLAuthSentCodeTypeCall) String

func (o *TLAuthSentCodeTypeCall) String() string

func (*TLAuthSentCodeTypeCall) WriteBareTo

func (o *TLAuthSentCodeTypeCall) WriteBareTo(w *tl.Writer)

type TLAuthSentCodeTypeFlashCall

type TLAuthSentCodeTypeFlashCall struct {
	Pattern string // pattern:string
}

TLAuthSentCodeTypeFlashCall represents ctor auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType from Telegram

func (*TLAuthSentCodeTypeFlashCall) Cmd

func (*TLAuthSentCodeTypeFlashCall) IsTLAuthSentCodeType

func (o *TLAuthSentCodeTypeFlashCall) IsTLAuthSentCodeType()

func (*TLAuthSentCodeTypeFlashCall) ReadBareFrom

func (o *TLAuthSentCodeTypeFlashCall) ReadBareFrom(r *tl.Reader)

func (*TLAuthSentCodeTypeFlashCall) String

func (o *TLAuthSentCodeTypeFlashCall) String() string

func (*TLAuthSentCodeTypeFlashCall) WriteBareTo

func (o *TLAuthSentCodeTypeFlashCall) WriteBareTo(w *tl.Writer)

type TLAuthSentCodeTypeSms

type TLAuthSentCodeTypeSms struct {
	Length int // length:int
}

TLAuthSentCodeTypeSms represents ctor auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType from Telegram

func (*TLAuthSentCodeTypeSms) Cmd

func (o *TLAuthSentCodeTypeSms) Cmd() uint32

func (*TLAuthSentCodeTypeSms) IsTLAuthSentCodeType

func (o *TLAuthSentCodeTypeSms) IsTLAuthSentCodeType()

func (*TLAuthSentCodeTypeSms) ReadBareFrom

func (o *TLAuthSentCodeTypeSms) ReadBareFrom(r *tl.Reader)

func (*TLAuthSentCodeTypeSms) String

func (o *TLAuthSentCodeTypeSms) String() string

func (*TLAuthSentCodeTypeSms) WriteBareTo

func (o *TLAuthSentCodeTypeSms) WriteBareTo(w *tl.Writer)

type TLAuthSentCodeTypeType

type TLAuthSentCodeTypeType interface {
	IsTLAuthSentCodeType()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLAuthSentCodeTypeType represents auth.SentCodeType from Telegram

type TLAuthSignIn

type TLAuthSignIn struct {
	PhoneNumber   string // phone_number:string
	PhoneCodeHash string // phone_code_hash:string
	PhoneCode     string // phone_code:string
}

TLAuthSignIn represents func auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization from Telegram

func (*TLAuthSignIn) Cmd

func (o *TLAuthSignIn) Cmd() uint32

func (*TLAuthSignIn) ReadBareFrom

func (o *TLAuthSignIn) ReadBareFrom(r *tl.Reader)

func (*TLAuthSignIn) String

func (o *TLAuthSignIn) String() string

func (*TLAuthSignIn) WriteBareTo

func (o *TLAuthSignIn) WriteBareTo(w *tl.Writer)

type TLAuthSignUp

type TLAuthSignUp struct {
	PhoneNumber   string // phone_number:string
	PhoneCodeHash string // phone_code_hash:string
	PhoneCode     string // phone_code:string
	FirstName     string // first_name:string
	LastName      string // last_name:string
}

TLAuthSignUp represents func auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization from Telegram

func (*TLAuthSignUp) Cmd

func (o *TLAuthSignUp) Cmd() uint32

func (*TLAuthSignUp) ReadBareFrom

func (o *TLAuthSignUp) ReadBareFrom(r *tl.Reader)

func (*TLAuthSignUp) String

func (o *TLAuthSignUp) String() string

func (*TLAuthSignUp) WriteBareTo

func (o *TLAuthSignUp) WriteBareTo(w *tl.Writer)

type TLAuthorization

type TLAuthorization struct {
	Hash          uint64 // hash:long
	Flags         int    // flags:int
	DeviceModel   string // device_model:string
	Platform      string // platform:string
	SystemVersion string // system_version:string
	APIID         int    // api_id:int
	AppName       string // app_name:string
	AppVersion    string // app_version:string
	DateCreated   int    // date_created:int
	DateActive    int    // date_active:int
	IP            string // ip:string
	Country       string // country:string
	Region        string // region:string
}

TLAuthorization represents ctor authorization#7bf2e6f6 hash:long flags:int device_model:string platform:string system_version:string api_id:int app_name:string app_version:string date_created:int date_active:int ip:string country:string region:string = Authorization from Telegram

func (*TLAuthorization) Cmd

func (o *TLAuthorization) Cmd() uint32

func (*TLAuthorization) ReadBareFrom

func (o *TLAuthorization) ReadBareFrom(r *tl.Reader)

func (*TLAuthorization) String

func (o *TLAuthorization) String() string

func (*TLAuthorization) WriteBareTo

func (o *TLAuthorization) WriteBareTo(w *tl.Writer)

type TLBadMsgNotification

type TLBadMsgNotification struct {
	BadMsgID    uint64 // bad_msg_id:long
	BadMsgSeqno int    // bad_msg_seqno:int
	ErrorCode   int    // error_code:int
}

TLBadMsgNotification represents ctor bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification from MTProto

func (*TLBadMsgNotification) Cmd

func (o *TLBadMsgNotification) Cmd() uint32

func (*TLBadMsgNotification) IsTLBadMsgNotification

func (o *TLBadMsgNotification) IsTLBadMsgNotification()

func (*TLBadMsgNotification) ReadBareFrom

func (o *TLBadMsgNotification) ReadBareFrom(r *tl.Reader)

func (*TLBadMsgNotification) String

func (o *TLBadMsgNotification) String() string

func (*TLBadMsgNotification) WriteBareTo

func (o *TLBadMsgNotification) WriteBareTo(w *tl.Writer)

type TLBadMsgNotificationType

type TLBadMsgNotificationType interface {
	IsTLBadMsgNotification()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLBadMsgNotificationType represents BadMsgNotification from MTProto

type TLBadServerSalt

type TLBadServerSalt struct {
	BadMsgID      uint64 // bad_msg_id:long
	BadMsgSeqno   int    // bad_msg_seqno:int
	ErrorCode     int    // error_code:int
	NewServerSalt uint64 // new_server_salt:long
}

TLBadServerSalt represents ctor bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification from MTProto

func (*TLBadServerSalt) Cmd

func (o *TLBadServerSalt) Cmd() uint32

func (*TLBadServerSalt) IsTLBadMsgNotification

func (o *TLBadServerSalt) IsTLBadMsgNotification()

func (*TLBadServerSalt) ReadBareFrom

func (o *TLBadServerSalt) ReadBareFrom(r *tl.Reader)

func (*TLBadServerSalt) String

func (o *TLBadServerSalt) String() string

func (*TLBadServerSalt) WriteBareTo

func (o *TLBadServerSalt) WriteBareTo(w *tl.Writer)

type TLBotCommand

type TLBotCommand struct {
	Command     string // command:string
	Description string // description:string
}

TLBotCommand represents ctor botCommand#c27ac8c7 command:string description:string = BotCommand from Telegram

func (*TLBotCommand) Cmd

func (o *TLBotCommand) Cmd() uint32

func (*TLBotCommand) ReadBareFrom

func (o *TLBotCommand) ReadBareFrom(r *tl.Reader)

func (*TLBotCommand) String

func (o *TLBotCommand) String() string

func (*TLBotCommand) WriteBareTo

func (o *TLBotCommand) WriteBareTo(w *tl.Writer)

type TLBotInfo

type TLBotInfo struct {
	UserID      int             // user_id:int
	Description string          // description:string
	Commands    []*TLBotCommand // commands:Vector<BotCommand>
}

TLBotInfo represents ctor botInfo#98e81d3a user_id:int description:string commands:Vector<BotCommand> = BotInfo from Telegram

func (*TLBotInfo) Cmd

func (o *TLBotInfo) Cmd() uint32

func (*TLBotInfo) ReadBareFrom

func (o *TLBotInfo) ReadBareFrom(r *tl.Reader)

func (*TLBotInfo) String

func (o *TLBotInfo) String() string

func (*TLBotInfo) WriteBareTo

func (o *TLBotInfo) WriteBareTo(w *tl.Writer)

type TLBotInlineMediaResult

type TLBotInlineMediaResult struct {
	Flags       uint                   // flags:#
	ID          string                 // id:string
	Type        string                 // type:string
	Photo       TLPhotoType            // flags.0?photo:Photo
	Document    TLDocumentType         // flags.1?document:Document
	Title       string                 // flags.2?title:string
	Description string                 // flags.3?description:string
	SendMessage TLBotInlineMessageType // send_message:BotInlineMessage
}

TLBotInlineMediaResult represents ctor botInlineMediaResult#17db940b flags:# id:string type:string flags.0?photo:Photo flags.1?document:Document flags.2?title:string flags.3?description:string send_message:BotInlineMessage = BotInlineResult from Telegram

func (*TLBotInlineMediaResult) Cmd

func (o *TLBotInlineMediaResult) Cmd() uint32

func (*TLBotInlineMediaResult) HasDescription

func (o *TLBotInlineMediaResult) HasDescription() bool

func (*TLBotInlineMediaResult) HasDocument

func (o *TLBotInlineMediaResult) HasDocument() bool

func (*TLBotInlineMediaResult) HasPhoto

func (o *TLBotInlineMediaResult) HasPhoto() bool

func (*TLBotInlineMediaResult) HasTitle

func (o *TLBotInlineMediaResult) HasTitle() bool

func (*TLBotInlineMediaResult) IsTLBotInlineResult

func (o *TLBotInlineMediaResult) IsTLBotInlineResult()

func (*TLBotInlineMediaResult) ReadBareFrom

func (o *TLBotInlineMediaResult) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMediaResult) SetHasDescription

func (o *TLBotInlineMediaResult) SetHasDescription(v bool)

func (*TLBotInlineMediaResult) SetHasDocument

func (o *TLBotInlineMediaResult) SetHasDocument(v bool)

func (*TLBotInlineMediaResult) SetHasPhoto

func (o *TLBotInlineMediaResult) SetHasPhoto(v bool)

func (*TLBotInlineMediaResult) SetHasTitle

func (o *TLBotInlineMediaResult) SetHasTitle(v bool)

func (*TLBotInlineMediaResult) String

func (o *TLBotInlineMediaResult) String() string

func (*TLBotInlineMediaResult) WriteBareTo

func (o *TLBotInlineMediaResult) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageMediaAuto

type TLBotInlineMessageMediaAuto struct {
	Flags       uint              // flags:#
	Caption     string            // caption:string
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLBotInlineMessageMediaAuto represents ctor botInlineMessageMediaAuto#0a74b15b flags:# caption:string flags.2?reply_markup:ReplyMarkup = BotInlineMessage from Telegram

func (*TLBotInlineMessageMediaAuto) Cmd

func (*TLBotInlineMessageMediaAuto) HasReplyMarkup

func (o *TLBotInlineMessageMediaAuto) HasReplyMarkup() bool

func (*TLBotInlineMessageMediaAuto) IsTLBotInlineMessage

func (o *TLBotInlineMessageMediaAuto) IsTLBotInlineMessage()

func (*TLBotInlineMessageMediaAuto) ReadBareFrom

func (o *TLBotInlineMessageMediaAuto) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMessageMediaAuto) SetHasReplyMarkup

func (o *TLBotInlineMessageMediaAuto) SetHasReplyMarkup(v bool)

func (*TLBotInlineMessageMediaAuto) String

func (o *TLBotInlineMessageMediaAuto) String() string

func (*TLBotInlineMessageMediaAuto) WriteBareTo

func (o *TLBotInlineMessageMediaAuto) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageMediaContact

type TLBotInlineMessageMediaContact struct {
	Flags       uint              // flags:#
	PhoneNumber string            // phone_number:string
	FirstName   string            // first_name:string
	LastName    string            // last_name:string
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLBotInlineMessageMediaContact represents ctor botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string flags.2?reply_markup:ReplyMarkup = BotInlineMessage from Telegram

func (*TLBotInlineMessageMediaContact) Cmd

func (*TLBotInlineMessageMediaContact) HasReplyMarkup

func (o *TLBotInlineMessageMediaContact) HasReplyMarkup() bool

func (*TLBotInlineMessageMediaContact) IsTLBotInlineMessage

func (o *TLBotInlineMessageMediaContact) IsTLBotInlineMessage()

func (*TLBotInlineMessageMediaContact) ReadBareFrom

func (o *TLBotInlineMessageMediaContact) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMessageMediaContact) SetHasReplyMarkup

func (o *TLBotInlineMessageMediaContact) SetHasReplyMarkup(v bool)

func (*TLBotInlineMessageMediaContact) String

func (*TLBotInlineMessageMediaContact) WriteBareTo

func (o *TLBotInlineMessageMediaContact) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageMediaGeo

type TLBotInlineMessageMediaGeo struct {
	Flags       uint              // flags:#
	Geo         TLGeoPointType    // geo:GeoPoint
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLBotInlineMessageMediaGeo represents ctor botInlineMessageMediaGeo#3a8fd8b8 flags:# geo:GeoPoint flags.2?reply_markup:ReplyMarkup = BotInlineMessage from Telegram

func (*TLBotInlineMessageMediaGeo) Cmd

func (*TLBotInlineMessageMediaGeo) HasReplyMarkup

func (o *TLBotInlineMessageMediaGeo) HasReplyMarkup() bool

func (*TLBotInlineMessageMediaGeo) IsTLBotInlineMessage

func (o *TLBotInlineMessageMediaGeo) IsTLBotInlineMessage()

func (*TLBotInlineMessageMediaGeo) ReadBareFrom

func (o *TLBotInlineMessageMediaGeo) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMessageMediaGeo) SetHasReplyMarkup

func (o *TLBotInlineMessageMediaGeo) SetHasReplyMarkup(v bool)

func (*TLBotInlineMessageMediaGeo) String

func (o *TLBotInlineMessageMediaGeo) String() string

func (*TLBotInlineMessageMediaGeo) WriteBareTo

func (o *TLBotInlineMessageMediaGeo) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageMediaVenue

type TLBotInlineMessageMediaVenue struct {
	Flags       uint              // flags:#
	Geo         TLGeoPointType    // geo:GeoPoint
	Title       string            // title:string
	Address     string            // address:string
	Provider    string            // provider:string
	VenueID     string            // venue_id:string
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLBotInlineMessageMediaVenue represents ctor botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string flags.2?reply_markup:ReplyMarkup = BotInlineMessage from Telegram

func (*TLBotInlineMessageMediaVenue) Cmd

func (*TLBotInlineMessageMediaVenue) HasReplyMarkup

func (o *TLBotInlineMessageMediaVenue) HasReplyMarkup() bool

func (*TLBotInlineMessageMediaVenue) IsTLBotInlineMessage

func (o *TLBotInlineMessageMediaVenue) IsTLBotInlineMessage()

func (*TLBotInlineMessageMediaVenue) ReadBareFrom

func (o *TLBotInlineMessageMediaVenue) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMessageMediaVenue) SetHasReplyMarkup

func (o *TLBotInlineMessageMediaVenue) SetHasReplyMarkup(v bool)

func (*TLBotInlineMessageMediaVenue) String

func (*TLBotInlineMessageMediaVenue) WriteBareTo

func (o *TLBotInlineMessageMediaVenue) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageText

type TLBotInlineMessageText struct {
	Flags       uint                  // flags:#
	Message     string                // message:string
	Entities    []TLMessageEntityType // flags.1?entities:Vector<MessageEntity>
	ReplyMarkup TLReplyMarkupType     // flags.2?reply_markup:ReplyMarkup
}

TLBotInlineMessageText represents ctor botInlineMessageText#8c7f65e2 flags:# flags.0?no_webpage:true message:string flags.1?entities:Vector<MessageEntity> flags.2?reply_markup:ReplyMarkup = BotInlineMessage from Telegram

func (*TLBotInlineMessageText) Cmd

func (o *TLBotInlineMessageText) Cmd() uint32

func (*TLBotInlineMessageText) HasEntities

func (o *TLBotInlineMessageText) HasEntities() bool

func (*TLBotInlineMessageText) HasReplyMarkup

func (o *TLBotInlineMessageText) HasReplyMarkup() bool

func (*TLBotInlineMessageText) IsTLBotInlineMessage

func (o *TLBotInlineMessageText) IsTLBotInlineMessage()

func (*TLBotInlineMessageText) NoWebpage

func (o *TLBotInlineMessageText) NoWebpage() bool

func (*TLBotInlineMessageText) ReadBareFrom

func (o *TLBotInlineMessageText) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineMessageText) SetHasEntities

func (o *TLBotInlineMessageText) SetHasEntities(v bool)

func (*TLBotInlineMessageText) SetHasReplyMarkup

func (o *TLBotInlineMessageText) SetHasReplyMarkup(v bool)

func (*TLBotInlineMessageText) SetNoWebpage

func (o *TLBotInlineMessageText) SetNoWebpage(v bool)

func (*TLBotInlineMessageText) String

func (o *TLBotInlineMessageText) String() string

func (*TLBotInlineMessageText) WriteBareTo

func (o *TLBotInlineMessageText) WriteBareTo(w *tl.Writer)

type TLBotInlineMessageType

type TLBotInlineMessageType interface {
	IsTLBotInlineMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLBotInlineMessageType represents BotInlineMessage from Telegram

type TLBotInlineResult

type TLBotInlineResult struct {
	Flags       uint                   // flags:#
	ID          string                 // id:string
	Type        string                 // type:string
	Title       string                 // flags.1?title:string
	Description string                 // flags.2?description:string
	URL         string                 // flags.3?url:string
	ThumbURL    string                 // flags.4?thumb_url:string
	ContentURL  string                 // flags.5?content_url:string
	ContentType string                 // flags.5?content_type:string
	W           int                    // flags.6?w:int
	H           int                    // flags.6?h:int
	Duration    int                    // flags.7?duration:int
	SendMessage TLBotInlineMessageType // send_message:BotInlineMessage
}

TLBotInlineResult represents ctor botInlineResult#9bebaeb9 flags:# id:string type:string flags.1?title:string flags.2?description:string flags.3?url:string flags.4?thumb_url:string flags.5?content_url:string flags.5?content_type:string flags.6?w:int flags.6?h:int flags.7?duration:int send_message:BotInlineMessage = BotInlineResult from Telegram

func (*TLBotInlineResult) Cmd

func (o *TLBotInlineResult) Cmd() uint32

func (*TLBotInlineResult) HasContentType

func (o *TLBotInlineResult) HasContentType() bool

func (*TLBotInlineResult) HasContentURL

func (o *TLBotInlineResult) HasContentURL() bool

func (*TLBotInlineResult) HasDescription

func (o *TLBotInlineResult) HasDescription() bool

func (*TLBotInlineResult) HasDuration

func (o *TLBotInlineResult) HasDuration() bool

func (*TLBotInlineResult) HasH

func (o *TLBotInlineResult) HasH() bool

func (*TLBotInlineResult) HasThumbURL

func (o *TLBotInlineResult) HasThumbURL() bool

func (*TLBotInlineResult) HasTitle

func (o *TLBotInlineResult) HasTitle() bool

func (*TLBotInlineResult) HasURL

func (o *TLBotInlineResult) HasURL() bool

func (*TLBotInlineResult) HasW

func (o *TLBotInlineResult) HasW() bool

func (*TLBotInlineResult) IsTLBotInlineResult

func (o *TLBotInlineResult) IsTLBotInlineResult()

func (*TLBotInlineResult) ReadBareFrom

func (o *TLBotInlineResult) ReadBareFrom(r *tl.Reader)

func (*TLBotInlineResult) SetHasContentType

func (o *TLBotInlineResult) SetHasContentType(v bool)

func (*TLBotInlineResult) SetHasContentURL

func (o *TLBotInlineResult) SetHasContentURL(v bool)

func (*TLBotInlineResult) SetHasDescription

func (o *TLBotInlineResult) SetHasDescription(v bool)

func (*TLBotInlineResult) SetHasDuration

func (o *TLBotInlineResult) SetHasDuration(v bool)

func (*TLBotInlineResult) SetHasH

func (o *TLBotInlineResult) SetHasH(v bool)

func (*TLBotInlineResult) SetHasThumbURL

func (o *TLBotInlineResult) SetHasThumbURL(v bool)

func (*TLBotInlineResult) SetHasTitle

func (o *TLBotInlineResult) SetHasTitle(v bool)

func (*TLBotInlineResult) SetHasURL

func (o *TLBotInlineResult) SetHasURL(v bool)

func (*TLBotInlineResult) SetHasW

func (o *TLBotInlineResult) SetHasW(v bool)

func (*TLBotInlineResult) String

func (o *TLBotInlineResult) String() string

func (*TLBotInlineResult) WriteBareTo

func (o *TLBotInlineResult) WriteBareTo(w *tl.Writer)

type TLBotInlineResultType

type TLBotInlineResultType interface {
	IsTLBotInlineResult()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLBotInlineResultType represents BotInlineResult from Telegram

type TLBotsAnswerWebhookJSONQuery

type TLBotsAnswerWebhookJSONQuery struct {
	QueryID uint64      // query_id:long
	Data    *TLDataJSON // data:DataJSON
}

TLBotsAnswerWebhookJSONQuery represents func bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool from Telegram

func (*TLBotsAnswerWebhookJSONQuery) Cmd

func (*TLBotsAnswerWebhookJSONQuery) ReadBareFrom

func (o *TLBotsAnswerWebhookJSONQuery) ReadBareFrom(r *tl.Reader)

func (*TLBotsAnswerWebhookJSONQuery) String

func (*TLBotsAnswerWebhookJSONQuery) WriteBareTo

func (o *TLBotsAnswerWebhookJSONQuery) WriteBareTo(w *tl.Writer)

type TLBotsSendCustomRequest

type TLBotsSendCustomRequest struct {
	CustomMethod string      // custom_method:string
	Params       *TLDataJSON // params:DataJSON
}

TLBotsSendCustomRequest represents func bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON from Telegram

func (*TLBotsSendCustomRequest) Cmd

func (*TLBotsSendCustomRequest) ReadBareFrom

func (o *TLBotsSendCustomRequest) ReadBareFrom(r *tl.Reader)

func (*TLBotsSendCustomRequest) String

func (o *TLBotsSendCustomRequest) String() string

func (*TLBotsSendCustomRequest) WriteBareTo

func (o *TLBotsSendCustomRequest) WriteBareTo(w *tl.Writer)

type TLChannel

type TLChannel struct {
	Flags             uint            // flags:#
	ID                int             // id:int
	AccessHash        uint64          // flags.13?access_hash:long
	Title             string          // title:string
	Username          string          // flags.6?username:string
	Photo             TLChatPhotoType // photo:ChatPhoto
	Date              int             // date:int
	Version           int             // version:int
	RestrictionReason string          // flags.9?restriction_reason:string
}

TLChannel represents ctor channel#a14dca52 flags:# flags.0?creator:true flags.1?kicked:true flags.2?left:true flags.3?editor:true flags.4?moderator:true flags.5?broadcast:true flags.7?verified:true flags.8?megagroup:true flags.9?restricted:true flags.10?democracy:true flags.11?signatures:true flags.12?min:true id:int flags.13?access_hash:long title:string flags.6?username:string photo:ChatPhoto date:int version:int flags.9?restriction_reason:string = Chat from Telegram

func (*TLChannel) Broadcast

func (o *TLChannel) Broadcast() bool

func (*TLChannel) Cmd

func (o *TLChannel) Cmd() uint32

func (*TLChannel) Creator

func (o *TLChannel) Creator() bool

func (*TLChannel) Democracy

func (o *TLChannel) Democracy() bool

func (*TLChannel) Editor

func (o *TLChannel) Editor() bool

func (*TLChannel) HasAccessHash

func (o *TLChannel) HasAccessHash() bool

func (*TLChannel) HasRestrictionReason

func (o *TLChannel) HasRestrictionReason() bool

func (*TLChannel) HasUsername

func (o *TLChannel) HasUsername() bool

func (*TLChannel) IsTLChat

func (o *TLChannel) IsTLChat()

func (*TLChannel) Kicked

func (o *TLChannel) Kicked() bool

func (*TLChannel) Left

func (o *TLChannel) Left() bool

func (*TLChannel) Megagroup

func (o *TLChannel) Megagroup() bool

func (*TLChannel) Min

func (o *TLChannel) Min() bool

func (*TLChannel) Moderator

func (o *TLChannel) Moderator() bool

func (*TLChannel) ReadBareFrom

func (o *TLChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannel) Restricted

func (o *TLChannel) Restricted() bool

func (*TLChannel) SetBroadcast

func (o *TLChannel) SetBroadcast(v bool)

func (*TLChannel) SetCreator

func (o *TLChannel) SetCreator(v bool)

func (*TLChannel) SetDemocracy

func (o *TLChannel) SetDemocracy(v bool)

func (*TLChannel) SetEditor

func (o *TLChannel) SetEditor(v bool)

func (*TLChannel) SetHasAccessHash

func (o *TLChannel) SetHasAccessHash(v bool)

func (*TLChannel) SetHasRestrictionReason

func (o *TLChannel) SetHasRestrictionReason(v bool)

func (*TLChannel) SetHasUsername

func (o *TLChannel) SetHasUsername(v bool)

func (*TLChannel) SetKicked

func (o *TLChannel) SetKicked(v bool)

func (*TLChannel) SetLeft

func (o *TLChannel) SetLeft(v bool)

func (*TLChannel) SetMegagroup

func (o *TLChannel) SetMegagroup(v bool)

func (*TLChannel) SetMin

func (o *TLChannel) SetMin(v bool)

func (*TLChannel) SetModerator

func (o *TLChannel) SetModerator(v bool)

func (*TLChannel) SetRestricted

func (o *TLChannel) SetRestricted(v bool)

func (*TLChannel) SetSignatures

func (o *TLChannel) SetSignatures(v bool)

func (*TLChannel) SetVerified

func (o *TLChannel) SetVerified(v bool)

func (*TLChannel) Signatures

func (o *TLChannel) Signatures() bool

func (*TLChannel) String

func (o *TLChannel) String() string

func (*TLChannel) Verified

func (o *TLChannel) Verified() bool

func (*TLChannel) WriteBareTo

func (o *TLChannel) WriteBareTo(w *tl.Writer)

type TLChannelForbidden

type TLChannelForbidden struct {
	Flags      uint   // flags:#
	ID         int    // id:int
	AccessHash uint64 // access_hash:long
	Title      string // title:string
}

TLChannelForbidden represents ctor channelForbidden#8537784f flags:# flags.5?broadcast:true flags.8?megagroup:true id:int access_hash:long title:string = Chat from Telegram

func (*TLChannelForbidden) Broadcast

func (o *TLChannelForbidden) Broadcast() bool

func (*TLChannelForbidden) Cmd

func (o *TLChannelForbidden) Cmd() uint32

func (*TLChannelForbidden) IsTLChat

func (o *TLChannelForbidden) IsTLChat()

func (*TLChannelForbidden) Megagroup

func (o *TLChannelForbidden) Megagroup() bool

func (*TLChannelForbidden) ReadBareFrom

func (o *TLChannelForbidden) ReadBareFrom(r *tl.Reader)

func (*TLChannelForbidden) SetBroadcast

func (o *TLChannelForbidden) SetBroadcast(v bool)

func (*TLChannelForbidden) SetMegagroup

func (o *TLChannelForbidden) SetMegagroup(v bool)

func (*TLChannelForbidden) String

func (o *TLChannelForbidden) String() string

func (*TLChannelForbidden) WriteBareTo

func (o *TLChannelForbidden) WriteBareTo(w *tl.Writer)

type TLChannelFull

type TLChannelFull struct {
	Flags              uint                     // flags:#
	ID                 int                      // id:int
	About              string                   // about:string
	ParticipantsCount  int                      // flags.0?participants_count:int
	AdminsCount        int                      // flags.1?admins_count:int
	KickedCount        int                      // flags.2?kicked_count:int
	ReadInboxMaxID     int                      // read_inbox_max_id:int
	ReadOutboxMaxID    int                      // read_outbox_max_id:int
	UnreadCount        int                      // unread_count:int
	ChatPhoto          TLPhotoType              // chat_photo:Photo
	NotifySettings     TLPeerNotifySettingsType // notify_settings:PeerNotifySettings
	ExportedInvite     TLExportedChatInviteType // exported_invite:ExportedChatInvite
	BotInfo            []*TLBotInfo             // bot_info:Vector<BotInfo>
	MigratedFromChatID int                      // flags.4?migrated_from_chat_id:int
	MigratedFromMaxID  int                      // flags.4?migrated_from_max_id:int
	PinnedMsgID        int                      // flags.5?pinned_msg_id:int
}

TLChannelFull represents ctor channelFull#c3d5512f flags:# flags.3?can_view_participants:true flags.6?can_set_username:true id:int about:string flags.0?participants_count:int flags.1?admins_count:int flags.2?kicked_count:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> flags.4?migrated_from_chat_id:int flags.4?migrated_from_max_id:int flags.5?pinned_msg_id:int = ChatFull from Telegram

func (*TLChannelFull) CanSetUsername

func (o *TLChannelFull) CanSetUsername() bool

func (*TLChannelFull) CanViewParticipants

func (o *TLChannelFull) CanViewParticipants() bool

func (*TLChannelFull) Cmd

func (o *TLChannelFull) Cmd() uint32

func (*TLChannelFull) HasAdminsCount

func (o *TLChannelFull) HasAdminsCount() bool

func (*TLChannelFull) HasKickedCount

func (o *TLChannelFull) HasKickedCount() bool

func (*TLChannelFull) HasMigratedFromChatID

func (o *TLChannelFull) HasMigratedFromChatID() bool

func (*TLChannelFull) HasMigratedFromMaxID

func (o *TLChannelFull) HasMigratedFromMaxID() bool

func (*TLChannelFull) HasParticipantsCount

func (o *TLChannelFull) HasParticipantsCount() bool

func (*TLChannelFull) HasPinnedMsgID

func (o *TLChannelFull) HasPinnedMsgID() bool

func (*TLChannelFull) IsTLChatFull

func (o *TLChannelFull) IsTLChatFull()

func (*TLChannelFull) ReadBareFrom

func (o *TLChannelFull) ReadBareFrom(r *tl.Reader)

func (*TLChannelFull) SetCanSetUsername

func (o *TLChannelFull) SetCanSetUsername(v bool)

func (*TLChannelFull) SetCanViewParticipants

func (o *TLChannelFull) SetCanViewParticipants(v bool)

func (*TLChannelFull) SetHasAdminsCount

func (o *TLChannelFull) SetHasAdminsCount(v bool)

func (*TLChannelFull) SetHasKickedCount

func (o *TLChannelFull) SetHasKickedCount(v bool)

func (*TLChannelFull) SetHasMigratedFromChatID

func (o *TLChannelFull) SetHasMigratedFromChatID(v bool)

func (*TLChannelFull) SetHasMigratedFromMaxID

func (o *TLChannelFull) SetHasMigratedFromMaxID(v bool)

func (*TLChannelFull) SetHasParticipantsCount

func (o *TLChannelFull) SetHasParticipantsCount(v bool)

func (*TLChannelFull) SetHasPinnedMsgID

func (o *TLChannelFull) SetHasPinnedMsgID(v bool)

func (*TLChannelFull) String

func (o *TLChannelFull) String() string

func (*TLChannelFull) WriteBareTo

func (o *TLChannelFull) WriteBareTo(w *tl.Writer)

type TLChannelMessagesFilter

type TLChannelMessagesFilter struct {
	Flags  uint              // flags:#
	Ranges []*TLMessageRange // ranges:Vector<MessageRange>
}

TLChannelMessagesFilter represents ctor channelMessagesFilter#cd77d957 flags:# flags.1?exclude_new_messages:true ranges:Vector<MessageRange> = ChannelMessagesFilter from Telegram

func (*TLChannelMessagesFilter) Cmd

func (*TLChannelMessagesFilter) ExcludeNewMessages

func (o *TLChannelMessagesFilter) ExcludeNewMessages() bool

func (*TLChannelMessagesFilter) IsTLChannelMessagesFilter

func (o *TLChannelMessagesFilter) IsTLChannelMessagesFilter()

func (*TLChannelMessagesFilter) ReadBareFrom

func (o *TLChannelMessagesFilter) ReadBareFrom(r *tl.Reader)

func (*TLChannelMessagesFilter) SetExcludeNewMessages

func (o *TLChannelMessagesFilter) SetExcludeNewMessages(v bool)

func (*TLChannelMessagesFilter) String

func (o *TLChannelMessagesFilter) String() string

func (*TLChannelMessagesFilter) WriteBareTo

func (o *TLChannelMessagesFilter) WriteBareTo(w *tl.Writer)

type TLChannelMessagesFilterEmpty

type TLChannelMessagesFilterEmpty struct {
}

TLChannelMessagesFilterEmpty represents ctor channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter from Telegram

func (*TLChannelMessagesFilterEmpty) Cmd

func (*TLChannelMessagesFilterEmpty) IsTLChannelMessagesFilter

func (o *TLChannelMessagesFilterEmpty) IsTLChannelMessagesFilter()

func (*TLChannelMessagesFilterEmpty) ReadBareFrom

func (o *TLChannelMessagesFilterEmpty) ReadBareFrom(r *tl.Reader)

func (*TLChannelMessagesFilterEmpty) String

func (*TLChannelMessagesFilterEmpty) WriteBareTo

func (o *TLChannelMessagesFilterEmpty) WriteBareTo(w *tl.Writer)

type TLChannelMessagesFilterType

type TLChannelMessagesFilterType interface {
	IsTLChannelMessagesFilter()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChannelMessagesFilterType represents ChannelMessagesFilter from Telegram

type TLChannelParticipant

type TLChannelParticipant struct {
	UserID int // user_id:int
	Date   int // date:int
}

TLChannelParticipant represents ctor channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant from Telegram

func (*TLChannelParticipant) Cmd

func (o *TLChannelParticipant) Cmd() uint32

func (*TLChannelParticipant) IsTLChannelParticipant

func (o *TLChannelParticipant) IsTLChannelParticipant()

func (*TLChannelParticipant) ReadBareFrom

func (o *TLChannelParticipant) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipant) String

func (o *TLChannelParticipant) String() string

func (*TLChannelParticipant) WriteBareTo

func (o *TLChannelParticipant) WriteBareTo(w *tl.Writer)

type TLChannelParticipantCreator

type TLChannelParticipantCreator struct {
	UserID int // user_id:int
}

TLChannelParticipantCreator represents ctor channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant from Telegram

func (*TLChannelParticipantCreator) Cmd

func (*TLChannelParticipantCreator) IsTLChannelParticipant

func (o *TLChannelParticipantCreator) IsTLChannelParticipant()

func (*TLChannelParticipantCreator) ReadBareFrom

func (o *TLChannelParticipantCreator) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantCreator) String

func (o *TLChannelParticipantCreator) String() string

func (*TLChannelParticipantCreator) WriteBareTo

func (o *TLChannelParticipantCreator) WriteBareTo(w *tl.Writer)

type TLChannelParticipantEditor

type TLChannelParticipantEditor struct {
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
}

TLChannelParticipantEditor represents ctor channelParticipantEditor#98192d61 user_id:int inviter_id:int date:int = ChannelParticipant from Telegram

func (*TLChannelParticipantEditor) Cmd

func (*TLChannelParticipantEditor) IsTLChannelParticipant

func (o *TLChannelParticipantEditor) IsTLChannelParticipant()

func (*TLChannelParticipantEditor) ReadBareFrom

func (o *TLChannelParticipantEditor) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantEditor) String

func (o *TLChannelParticipantEditor) String() string

func (*TLChannelParticipantEditor) WriteBareTo

func (o *TLChannelParticipantEditor) WriteBareTo(w *tl.Writer)

type TLChannelParticipantKicked

type TLChannelParticipantKicked struct {
	UserID   int // user_id:int
	KickedBy int // kicked_by:int
	Date     int // date:int
}

TLChannelParticipantKicked represents ctor channelParticipantKicked#8cc5e69a user_id:int kicked_by:int date:int = ChannelParticipant from Telegram

func (*TLChannelParticipantKicked) Cmd

func (*TLChannelParticipantKicked) IsTLChannelParticipant

func (o *TLChannelParticipantKicked) IsTLChannelParticipant()

func (*TLChannelParticipantKicked) ReadBareFrom

func (o *TLChannelParticipantKicked) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantKicked) String

func (o *TLChannelParticipantKicked) String() string

func (*TLChannelParticipantKicked) WriteBareTo

func (o *TLChannelParticipantKicked) WriteBareTo(w *tl.Writer)

type TLChannelParticipantModerator

type TLChannelParticipantModerator struct {
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
}

TLChannelParticipantModerator represents ctor channelParticipantModerator#91057fef user_id:int inviter_id:int date:int = ChannelParticipant from Telegram

func (*TLChannelParticipantModerator) Cmd

func (*TLChannelParticipantModerator) IsTLChannelParticipant

func (o *TLChannelParticipantModerator) IsTLChannelParticipant()

func (*TLChannelParticipantModerator) ReadBareFrom

func (o *TLChannelParticipantModerator) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantModerator) String

func (*TLChannelParticipantModerator) WriteBareTo

func (o *TLChannelParticipantModerator) WriteBareTo(w *tl.Writer)

type TLChannelParticipantRoleType

type TLChannelParticipantRoleType interface {
	IsTLChannelParticipantRole()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChannelParticipantRoleType represents ChannelParticipantRole from Telegram

type TLChannelParticipantSelf

type TLChannelParticipantSelf struct {
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
}

TLChannelParticipantSelf represents ctor channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant from Telegram

func (*TLChannelParticipantSelf) Cmd

func (*TLChannelParticipantSelf) IsTLChannelParticipant

func (o *TLChannelParticipantSelf) IsTLChannelParticipant()

func (*TLChannelParticipantSelf) ReadBareFrom

func (o *TLChannelParticipantSelf) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantSelf) String

func (o *TLChannelParticipantSelf) String() string

func (*TLChannelParticipantSelf) WriteBareTo

func (o *TLChannelParticipantSelf) WriteBareTo(w *tl.Writer)

type TLChannelParticipantType

type TLChannelParticipantType interface {
	IsTLChannelParticipant()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChannelParticipantType represents ChannelParticipant from Telegram

type TLChannelParticipantsAdmins

type TLChannelParticipantsAdmins struct {
}

TLChannelParticipantsAdmins represents ctor channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter from Telegram

func (*TLChannelParticipantsAdmins) Cmd

func (*TLChannelParticipantsAdmins) IsTLChannelParticipantsFilter

func (o *TLChannelParticipantsAdmins) IsTLChannelParticipantsFilter()

func (*TLChannelParticipantsAdmins) ReadBareFrom

func (o *TLChannelParticipantsAdmins) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantsAdmins) String

func (o *TLChannelParticipantsAdmins) String() string

func (*TLChannelParticipantsAdmins) WriteBareTo

func (o *TLChannelParticipantsAdmins) WriteBareTo(w *tl.Writer)

type TLChannelParticipantsBots

type TLChannelParticipantsBots struct {
}

TLChannelParticipantsBots represents ctor channelParticipantsBots#b0d1865b = ChannelParticipantsFilter from Telegram

func (*TLChannelParticipantsBots) Cmd

func (*TLChannelParticipantsBots) IsTLChannelParticipantsFilter

func (o *TLChannelParticipantsBots) IsTLChannelParticipantsFilter()

func (*TLChannelParticipantsBots) ReadBareFrom

func (o *TLChannelParticipantsBots) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantsBots) String

func (o *TLChannelParticipantsBots) String() string

func (*TLChannelParticipantsBots) WriteBareTo

func (o *TLChannelParticipantsBots) WriteBareTo(w *tl.Writer)

type TLChannelParticipantsFilterType

type TLChannelParticipantsFilterType interface {
	IsTLChannelParticipantsFilter()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChannelParticipantsFilterType represents ChannelParticipantsFilter from Telegram

type TLChannelParticipantsKicked

type TLChannelParticipantsKicked struct {
}

TLChannelParticipantsKicked represents ctor channelParticipantsKicked#3c37bb7a = ChannelParticipantsFilter from Telegram

func (*TLChannelParticipantsKicked) Cmd

func (*TLChannelParticipantsKicked) IsTLChannelParticipantsFilter

func (o *TLChannelParticipantsKicked) IsTLChannelParticipantsFilter()

func (*TLChannelParticipantsKicked) ReadBareFrom

func (o *TLChannelParticipantsKicked) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantsKicked) String

func (o *TLChannelParticipantsKicked) String() string

func (*TLChannelParticipantsKicked) WriteBareTo

func (o *TLChannelParticipantsKicked) WriteBareTo(w *tl.Writer)

type TLChannelParticipantsRecent

type TLChannelParticipantsRecent struct {
}

TLChannelParticipantsRecent represents ctor channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter from Telegram

func (*TLChannelParticipantsRecent) Cmd

func (*TLChannelParticipantsRecent) IsTLChannelParticipantsFilter

func (o *TLChannelParticipantsRecent) IsTLChannelParticipantsFilter()

func (*TLChannelParticipantsRecent) ReadBareFrom

func (o *TLChannelParticipantsRecent) ReadBareFrom(r *tl.Reader)

func (*TLChannelParticipantsRecent) String

func (o *TLChannelParticipantsRecent) String() string

func (*TLChannelParticipantsRecent) WriteBareTo

func (o *TLChannelParticipantsRecent) WriteBareTo(w *tl.Writer)

type TLChannelRoleEditor

type TLChannelRoleEditor struct {
}

TLChannelRoleEditor represents ctor channelRoleEditor#820bfe8c = ChannelParticipantRole from Telegram

func (*TLChannelRoleEditor) Cmd

func (o *TLChannelRoleEditor) Cmd() uint32

func (*TLChannelRoleEditor) IsTLChannelParticipantRole

func (o *TLChannelRoleEditor) IsTLChannelParticipantRole()

func (*TLChannelRoleEditor) ReadBareFrom

func (o *TLChannelRoleEditor) ReadBareFrom(r *tl.Reader)

func (*TLChannelRoleEditor) String

func (o *TLChannelRoleEditor) String() string

func (*TLChannelRoleEditor) WriteBareTo

func (o *TLChannelRoleEditor) WriteBareTo(w *tl.Writer)

type TLChannelRoleEmpty

type TLChannelRoleEmpty struct {
}

TLChannelRoleEmpty represents ctor channelRoleEmpty#b285a0c6 = ChannelParticipantRole from Telegram

func (*TLChannelRoleEmpty) Cmd

func (o *TLChannelRoleEmpty) Cmd() uint32

func (*TLChannelRoleEmpty) IsTLChannelParticipantRole

func (o *TLChannelRoleEmpty) IsTLChannelParticipantRole()

func (*TLChannelRoleEmpty) ReadBareFrom

func (o *TLChannelRoleEmpty) ReadBareFrom(r *tl.Reader)

func (*TLChannelRoleEmpty) String

func (o *TLChannelRoleEmpty) String() string

func (*TLChannelRoleEmpty) WriteBareTo

func (o *TLChannelRoleEmpty) WriteBareTo(w *tl.Writer)

type TLChannelRoleModerator

type TLChannelRoleModerator struct {
}

TLChannelRoleModerator represents ctor channelRoleModerator#9618d975 = ChannelParticipantRole from Telegram

func (*TLChannelRoleModerator) Cmd

func (o *TLChannelRoleModerator) Cmd() uint32

func (*TLChannelRoleModerator) IsTLChannelParticipantRole

func (o *TLChannelRoleModerator) IsTLChannelParticipantRole()

func (*TLChannelRoleModerator) ReadBareFrom

func (o *TLChannelRoleModerator) ReadBareFrom(r *tl.Reader)

func (*TLChannelRoleModerator) String

func (o *TLChannelRoleModerator) String() string

func (*TLChannelRoleModerator) WriteBareTo

func (o *TLChannelRoleModerator) WriteBareTo(w *tl.Writer)

type TLChannelsChannelParticipant

type TLChannelsChannelParticipant struct {
	Participant TLChannelParticipantType // participant:ChannelParticipant
	Users       []TLUserType             // users:Vector<User>
}

TLChannelsChannelParticipant represents ctor channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant from Telegram

func (*TLChannelsChannelParticipant) Cmd

func (*TLChannelsChannelParticipant) ReadBareFrom

func (o *TLChannelsChannelParticipant) ReadBareFrom(r *tl.Reader)

func (*TLChannelsChannelParticipant) String

func (*TLChannelsChannelParticipant) WriteBareTo

func (o *TLChannelsChannelParticipant) WriteBareTo(w *tl.Writer)

type TLChannelsChannelParticipants

type TLChannelsChannelParticipants struct {
	Count        int                        // count:int
	Participants []TLChannelParticipantType // participants:Vector<ChannelParticipant>
	Users        []TLUserType               // users:Vector<User>
}

TLChannelsChannelParticipants represents ctor channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants from Telegram

func (*TLChannelsChannelParticipants) Cmd

func (*TLChannelsChannelParticipants) ReadBareFrom

func (o *TLChannelsChannelParticipants) ReadBareFrom(r *tl.Reader)

func (*TLChannelsChannelParticipants) String

func (*TLChannelsChannelParticipants) WriteBareTo

func (o *TLChannelsChannelParticipants) WriteBareTo(w *tl.Writer)

type TLChannelsCheckUsername

type TLChannelsCheckUsername struct {
	Channel  TLInputChannelType // channel:InputChannel
	Username string             // username:string
}

TLChannelsCheckUsername represents func channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool from Telegram

func (*TLChannelsCheckUsername) Cmd

func (*TLChannelsCheckUsername) ReadBareFrom

func (o *TLChannelsCheckUsername) ReadBareFrom(r *tl.Reader)

func (*TLChannelsCheckUsername) String

func (o *TLChannelsCheckUsername) String() string

func (*TLChannelsCheckUsername) WriteBareTo

func (o *TLChannelsCheckUsername) WriteBareTo(w *tl.Writer)

type TLChannelsCreateChannel

type TLChannelsCreateChannel struct {
	Flags uint   // flags:#
	Title string // title:string
	About string // about:string
}

TLChannelsCreateChannel represents func channels.createChannel#f4893d7f flags:# flags.0?broadcast:true flags.1?megagroup:true title:string about:string = Updates from Telegram

func (*TLChannelsCreateChannel) Broadcast

func (o *TLChannelsCreateChannel) Broadcast() bool

func (*TLChannelsCreateChannel) Cmd

func (*TLChannelsCreateChannel) Megagroup

func (o *TLChannelsCreateChannel) Megagroup() bool

func (*TLChannelsCreateChannel) ReadBareFrom

func (o *TLChannelsCreateChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsCreateChannel) SetBroadcast

func (o *TLChannelsCreateChannel) SetBroadcast(v bool)

func (*TLChannelsCreateChannel) SetMegagroup

func (o *TLChannelsCreateChannel) SetMegagroup(v bool)

func (*TLChannelsCreateChannel) String

func (o *TLChannelsCreateChannel) String() string

func (*TLChannelsCreateChannel) WriteBareTo

func (o *TLChannelsCreateChannel) WriteBareTo(w *tl.Writer)

type TLChannelsDeleteChannel

type TLChannelsDeleteChannel struct {
	Channel TLInputChannelType // channel:InputChannel
}

TLChannelsDeleteChannel represents func channels.deleteChannel#c0111fe3 channel:InputChannel = Updates from Telegram

func (*TLChannelsDeleteChannel) Cmd

func (*TLChannelsDeleteChannel) ReadBareFrom

func (o *TLChannelsDeleteChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsDeleteChannel) String

func (o *TLChannelsDeleteChannel) String() string

func (*TLChannelsDeleteChannel) WriteBareTo

func (o *TLChannelsDeleteChannel) WriteBareTo(w *tl.Writer)

type TLChannelsDeleteMessages

type TLChannelsDeleteMessages struct {
	Channel TLInputChannelType // channel:InputChannel
	ID      []int              // id:Vector<int>
}

TLChannelsDeleteMessages represents func channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages from Telegram

func (*TLChannelsDeleteMessages) Cmd

func (*TLChannelsDeleteMessages) ReadBareFrom

func (o *TLChannelsDeleteMessages) ReadBareFrom(r *tl.Reader)

func (*TLChannelsDeleteMessages) String

func (o *TLChannelsDeleteMessages) String() string

func (*TLChannelsDeleteMessages) WriteBareTo

func (o *TLChannelsDeleteMessages) WriteBareTo(w *tl.Writer)

type TLChannelsDeleteUserHistory

type TLChannelsDeleteUserHistory struct {
	Channel TLInputChannelType // channel:InputChannel
	UserID  TLInputUserType    // user_id:InputUser
}

TLChannelsDeleteUserHistory represents func channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory from Telegram

func (*TLChannelsDeleteUserHistory) Cmd

func (*TLChannelsDeleteUserHistory) ReadBareFrom

func (o *TLChannelsDeleteUserHistory) ReadBareFrom(r *tl.Reader)

func (*TLChannelsDeleteUserHistory) String

func (o *TLChannelsDeleteUserHistory) String() string

func (*TLChannelsDeleteUserHistory) WriteBareTo

func (o *TLChannelsDeleteUserHistory) WriteBareTo(w *tl.Writer)

type TLChannelsEditAbout

type TLChannelsEditAbout struct {
	Channel TLInputChannelType // channel:InputChannel
	About   string             // about:string
}

TLChannelsEditAbout represents func channels.editAbout#13e27f1e channel:InputChannel about:string = Bool from Telegram

func (*TLChannelsEditAbout) Cmd

func (o *TLChannelsEditAbout) Cmd() uint32

func (*TLChannelsEditAbout) ReadBareFrom

func (o *TLChannelsEditAbout) ReadBareFrom(r *tl.Reader)

func (*TLChannelsEditAbout) String

func (o *TLChannelsEditAbout) String() string

func (*TLChannelsEditAbout) WriteBareTo

func (o *TLChannelsEditAbout) WriteBareTo(w *tl.Writer)

type TLChannelsEditAdmin

type TLChannelsEditAdmin struct {
	Channel TLInputChannelType           // channel:InputChannel
	UserID  TLInputUserType              // user_id:InputUser
	Role    TLChannelParticipantRoleType // role:ChannelParticipantRole
}

TLChannelsEditAdmin represents func channels.editAdmin#eb7611d0 channel:InputChannel user_id:InputUser role:ChannelParticipantRole = Updates from Telegram

func (*TLChannelsEditAdmin) Cmd

func (o *TLChannelsEditAdmin) Cmd() uint32

func (*TLChannelsEditAdmin) ReadBareFrom

func (o *TLChannelsEditAdmin) ReadBareFrom(r *tl.Reader)

func (*TLChannelsEditAdmin) String

func (o *TLChannelsEditAdmin) String() string

func (*TLChannelsEditAdmin) WriteBareTo

func (o *TLChannelsEditAdmin) WriteBareTo(w *tl.Writer)

type TLChannelsEditPhoto

type TLChannelsEditPhoto struct {
	Channel TLInputChannelType   // channel:InputChannel
	Photo   TLInputChatPhotoType // photo:InputChatPhoto
}

TLChannelsEditPhoto represents func channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates from Telegram

func (*TLChannelsEditPhoto) Cmd

func (o *TLChannelsEditPhoto) Cmd() uint32

func (*TLChannelsEditPhoto) ReadBareFrom

func (o *TLChannelsEditPhoto) ReadBareFrom(r *tl.Reader)

func (*TLChannelsEditPhoto) String

func (o *TLChannelsEditPhoto) String() string

func (*TLChannelsEditPhoto) WriteBareTo

func (o *TLChannelsEditPhoto) WriteBareTo(w *tl.Writer)

type TLChannelsEditTitle

type TLChannelsEditTitle struct {
	Channel TLInputChannelType // channel:InputChannel
	Title   string             // title:string
}

TLChannelsEditTitle represents func channels.editTitle#566decd0 channel:InputChannel title:string = Updates from Telegram

func (*TLChannelsEditTitle) Cmd

func (o *TLChannelsEditTitle) Cmd() uint32

func (*TLChannelsEditTitle) ReadBareFrom

func (o *TLChannelsEditTitle) ReadBareFrom(r *tl.Reader)

func (*TLChannelsEditTitle) String

func (o *TLChannelsEditTitle) String() string

func (*TLChannelsEditTitle) WriteBareTo

func (o *TLChannelsEditTitle) WriteBareTo(w *tl.Writer)

type TLChannelsExportInvite

type TLChannelsExportInvite struct {
	Channel TLInputChannelType // channel:InputChannel
}

TLChannelsExportInvite represents func channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite from Telegram

func (*TLChannelsExportInvite) Cmd

func (o *TLChannelsExportInvite) Cmd() uint32

func (*TLChannelsExportInvite) ReadBareFrom

func (o *TLChannelsExportInvite) ReadBareFrom(r *tl.Reader)

func (*TLChannelsExportInvite) String

func (o *TLChannelsExportInvite) String() string

func (*TLChannelsExportInvite) WriteBareTo

func (o *TLChannelsExportInvite) WriteBareTo(w *tl.Writer)
type TLChannelsExportMessageLink struct {
	Channel TLInputChannelType // channel:InputChannel
	ID      int                // id:int
}

TLChannelsExportMessageLink represents func channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink from Telegram

func (*TLChannelsExportMessageLink) Cmd

func (*TLChannelsExportMessageLink) ReadBareFrom

func (o *TLChannelsExportMessageLink) ReadBareFrom(r *tl.Reader)

func (*TLChannelsExportMessageLink) String

func (o *TLChannelsExportMessageLink) String() string

func (*TLChannelsExportMessageLink) WriteBareTo

func (o *TLChannelsExportMessageLink) WriteBareTo(w *tl.Writer)

type TLChannelsGetAdminedPublicChannels

type TLChannelsGetAdminedPublicChannels struct {
}

TLChannelsGetAdminedPublicChannels represents func channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats from Telegram

func (*TLChannelsGetAdminedPublicChannels) Cmd

func (*TLChannelsGetAdminedPublicChannels) ReadBareFrom

func (o *TLChannelsGetAdminedPublicChannels) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetAdminedPublicChannels) String

func (*TLChannelsGetAdminedPublicChannels) WriteBareTo

func (o *TLChannelsGetAdminedPublicChannels) WriteBareTo(w *tl.Writer)

type TLChannelsGetChannels

type TLChannelsGetChannels struct {
	ID []TLInputChannelType // id:Vector<InputChannel>
}

TLChannelsGetChannels represents func channels.getChannels#0a7f6bbb id:Vector<InputChannel> = messages.Chats from Telegram

func (*TLChannelsGetChannels) Cmd

func (o *TLChannelsGetChannels) Cmd() uint32

func (*TLChannelsGetChannels) ReadBareFrom

func (o *TLChannelsGetChannels) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetChannels) String

func (o *TLChannelsGetChannels) String() string

func (*TLChannelsGetChannels) WriteBareTo

func (o *TLChannelsGetChannels) WriteBareTo(w *tl.Writer)

type TLChannelsGetFullChannel

type TLChannelsGetFullChannel struct {
	Channel TLInputChannelType // channel:InputChannel
}

TLChannelsGetFullChannel represents func channels.getFullChannel#08736a09 channel:InputChannel = messages.ChatFull from Telegram

func (*TLChannelsGetFullChannel) Cmd

func (*TLChannelsGetFullChannel) ReadBareFrom

func (o *TLChannelsGetFullChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetFullChannel) String

func (o *TLChannelsGetFullChannel) String() string

func (*TLChannelsGetFullChannel) WriteBareTo

func (o *TLChannelsGetFullChannel) WriteBareTo(w *tl.Writer)

type TLChannelsGetMessages

type TLChannelsGetMessages struct {
	Channel TLInputChannelType // channel:InputChannel
	ID      []int              // id:Vector<int>
}

TLChannelsGetMessages represents func channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages from Telegram

func (*TLChannelsGetMessages) Cmd

func (o *TLChannelsGetMessages) Cmd() uint32

func (*TLChannelsGetMessages) ReadBareFrom

func (o *TLChannelsGetMessages) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetMessages) String

func (o *TLChannelsGetMessages) String() string

func (*TLChannelsGetMessages) WriteBareTo

func (o *TLChannelsGetMessages) WriteBareTo(w *tl.Writer)

type TLChannelsGetParticipant

type TLChannelsGetParticipant struct {
	Channel TLInputChannelType // channel:InputChannel
	UserID  TLInputUserType    // user_id:InputUser
}

TLChannelsGetParticipant represents func channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant from Telegram

func (*TLChannelsGetParticipant) Cmd

func (*TLChannelsGetParticipant) ReadBareFrom

func (o *TLChannelsGetParticipant) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetParticipant) String

func (o *TLChannelsGetParticipant) String() string

func (*TLChannelsGetParticipant) WriteBareTo

func (o *TLChannelsGetParticipant) WriteBareTo(w *tl.Writer)

type TLChannelsGetParticipants

type TLChannelsGetParticipants struct {
	Channel TLInputChannelType              // channel:InputChannel
	Filter  TLChannelParticipantsFilterType // filter:ChannelParticipantsFilter
	Offset  int                             // offset:int
	Limit   int                             // limit:int
}

TLChannelsGetParticipants represents func channels.getParticipants#24d98f92 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int = channels.ChannelParticipants from Telegram

func (*TLChannelsGetParticipants) Cmd

func (*TLChannelsGetParticipants) ReadBareFrom

func (o *TLChannelsGetParticipants) ReadBareFrom(r *tl.Reader)

func (*TLChannelsGetParticipants) String

func (o *TLChannelsGetParticipants) String() string

func (*TLChannelsGetParticipants) WriteBareTo

func (o *TLChannelsGetParticipants) WriteBareTo(w *tl.Writer)

type TLChannelsInviteToChannel

type TLChannelsInviteToChannel struct {
	Channel TLInputChannelType // channel:InputChannel
	Users   []TLInputUserType  // users:Vector<InputUser>
}

TLChannelsInviteToChannel represents func channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates from Telegram

func (*TLChannelsInviteToChannel) Cmd

func (*TLChannelsInviteToChannel) ReadBareFrom

func (o *TLChannelsInviteToChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsInviteToChannel) String

func (o *TLChannelsInviteToChannel) String() string

func (*TLChannelsInviteToChannel) WriteBareTo

func (o *TLChannelsInviteToChannel) WriteBareTo(w *tl.Writer)

type TLChannelsJoinChannel

type TLChannelsJoinChannel struct {
	Channel TLInputChannelType // channel:InputChannel
}

TLChannelsJoinChannel represents func channels.joinChannel#24b524c5 channel:InputChannel = Updates from Telegram

func (*TLChannelsJoinChannel) Cmd

func (o *TLChannelsJoinChannel) Cmd() uint32

func (*TLChannelsJoinChannel) ReadBareFrom

func (o *TLChannelsJoinChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsJoinChannel) String

func (o *TLChannelsJoinChannel) String() string

func (*TLChannelsJoinChannel) WriteBareTo

func (o *TLChannelsJoinChannel) WriteBareTo(w *tl.Writer)

type TLChannelsKickFromChannel

type TLChannelsKickFromChannel struct {
	Channel TLInputChannelType // channel:InputChannel
	UserID  TLInputUserType    // user_id:InputUser
	Kicked  bool               // kicked:Bool
}

TLChannelsKickFromChannel represents func channels.kickFromChannel#a672de14 channel:InputChannel user_id:InputUser kicked:Bool = Updates from Telegram

func (*TLChannelsKickFromChannel) Cmd

func (*TLChannelsKickFromChannel) ReadBareFrom

func (o *TLChannelsKickFromChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsKickFromChannel) String

func (o *TLChannelsKickFromChannel) String() string

func (*TLChannelsKickFromChannel) WriteBareTo

func (o *TLChannelsKickFromChannel) WriteBareTo(w *tl.Writer)

type TLChannelsLeaveChannel

type TLChannelsLeaveChannel struct {
	Channel TLInputChannelType // channel:InputChannel
}

TLChannelsLeaveChannel represents func channels.leaveChannel#f836aa95 channel:InputChannel = Updates from Telegram

func (*TLChannelsLeaveChannel) Cmd

func (o *TLChannelsLeaveChannel) Cmd() uint32

func (*TLChannelsLeaveChannel) ReadBareFrom

func (o *TLChannelsLeaveChannel) ReadBareFrom(r *tl.Reader)

func (*TLChannelsLeaveChannel) String

func (o *TLChannelsLeaveChannel) String() string

func (*TLChannelsLeaveChannel) WriteBareTo

func (o *TLChannelsLeaveChannel) WriteBareTo(w *tl.Writer)

type TLChannelsReadHistory

type TLChannelsReadHistory struct {
	Channel TLInputChannelType // channel:InputChannel
	MaxID   int                // max_id:int
}

TLChannelsReadHistory represents func channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool from Telegram

func (*TLChannelsReadHistory) Cmd

func (o *TLChannelsReadHistory) Cmd() uint32

func (*TLChannelsReadHistory) ReadBareFrom

func (o *TLChannelsReadHistory) ReadBareFrom(r *tl.Reader)

func (*TLChannelsReadHistory) String

func (o *TLChannelsReadHistory) String() string

func (*TLChannelsReadHistory) WriteBareTo

func (o *TLChannelsReadHistory) WriteBareTo(w *tl.Writer)

type TLChannelsReportSpam

type TLChannelsReportSpam struct {
	Channel TLInputChannelType // channel:InputChannel
	UserID  TLInputUserType    // user_id:InputUser
	ID      []int              // id:Vector<int>
}

TLChannelsReportSpam represents func channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool from Telegram

func (*TLChannelsReportSpam) Cmd

func (o *TLChannelsReportSpam) Cmd() uint32

func (*TLChannelsReportSpam) ReadBareFrom

func (o *TLChannelsReportSpam) ReadBareFrom(r *tl.Reader)

func (*TLChannelsReportSpam) String

func (o *TLChannelsReportSpam) String() string

func (*TLChannelsReportSpam) WriteBareTo

func (o *TLChannelsReportSpam) WriteBareTo(w *tl.Writer)

type TLChannelsToggleInvites

type TLChannelsToggleInvites struct {
	Channel TLInputChannelType // channel:InputChannel
	Enabled bool               // enabled:Bool
}

TLChannelsToggleInvites represents func channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates from Telegram

func (*TLChannelsToggleInvites) Cmd

func (*TLChannelsToggleInvites) ReadBareFrom

func (o *TLChannelsToggleInvites) ReadBareFrom(r *tl.Reader)

func (*TLChannelsToggleInvites) String

func (o *TLChannelsToggleInvites) String() string

func (*TLChannelsToggleInvites) WriteBareTo

func (o *TLChannelsToggleInvites) WriteBareTo(w *tl.Writer)

type TLChannelsToggleSignatures

type TLChannelsToggleSignatures struct {
	Channel TLInputChannelType // channel:InputChannel
	Enabled bool               // enabled:Bool
}

TLChannelsToggleSignatures represents func channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates from Telegram

func (*TLChannelsToggleSignatures) Cmd

func (*TLChannelsToggleSignatures) ReadBareFrom

func (o *TLChannelsToggleSignatures) ReadBareFrom(r *tl.Reader)

func (*TLChannelsToggleSignatures) String

func (o *TLChannelsToggleSignatures) String() string

func (*TLChannelsToggleSignatures) WriteBareTo

func (o *TLChannelsToggleSignatures) WriteBareTo(w *tl.Writer)

type TLChannelsUpdatePinnedMessage

type TLChannelsUpdatePinnedMessage struct {
	Flags   uint               // flags:#
	Channel TLInputChannelType // channel:InputChannel
	ID      int                // id:int
}

TLChannelsUpdatePinnedMessage represents func channels.updatePinnedMessage#a72ded52 flags:# flags.0?silent:true channel:InputChannel id:int = Updates from Telegram

func (*TLChannelsUpdatePinnedMessage) Cmd

func (*TLChannelsUpdatePinnedMessage) ReadBareFrom

func (o *TLChannelsUpdatePinnedMessage) ReadBareFrom(r *tl.Reader)

func (*TLChannelsUpdatePinnedMessage) SetSilent

func (o *TLChannelsUpdatePinnedMessage) SetSilent(v bool)

func (*TLChannelsUpdatePinnedMessage) Silent

func (o *TLChannelsUpdatePinnedMessage) Silent() bool

func (*TLChannelsUpdatePinnedMessage) String

func (*TLChannelsUpdatePinnedMessage) WriteBareTo

func (o *TLChannelsUpdatePinnedMessage) WriteBareTo(w *tl.Writer)

type TLChannelsUpdateUsername

type TLChannelsUpdateUsername struct {
	Channel  TLInputChannelType // channel:InputChannel
	Username string             // username:string
}

TLChannelsUpdateUsername represents func channels.updateUsername#3514b3de channel:InputChannel username:string = Bool from Telegram

func (*TLChannelsUpdateUsername) Cmd

func (*TLChannelsUpdateUsername) ReadBareFrom

func (o *TLChannelsUpdateUsername) ReadBareFrom(r *tl.Reader)

func (*TLChannelsUpdateUsername) String

func (o *TLChannelsUpdateUsername) String() string

func (*TLChannelsUpdateUsername) WriteBareTo

func (o *TLChannelsUpdateUsername) WriteBareTo(w *tl.Writer)

type TLChat

type TLChat struct {
	Flags             uint               // flags:#
	ID                int                // id:int
	Title             string             // title:string
	Photo             TLChatPhotoType    // photo:ChatPhoto
	ParticipantsCount int                // participants_count:int
	Date              int                // date:int
	Version           int                // version:int
	MigratedTo        TLInputChannelType // flags.6?migrated_to:InputChannel
}

TLChat represents ctor chat#d91cdd54 flags:# flags.0?creator:true flags.1?kicked:true flags.2?left:true flags.3?admins_enabled:true flags.4?admin:true flags.5?deactivated:true id:int title:string photo:ChatPhoto participants_count:int date:int version:int flags.6?migrated_to:InputChannel = Chat from Telegram

func (*TLChat) Admin

func (o *TLChat) Admin() bool

func (*TLChat) AdminsEnabled

func (o *TLChat) AdminsEnabled() bool

func (*TLChat) Cmd

func (o *TLChat) Cmd() uint32

func (*TLChat) Creator

func (o *TLChat) Creator() bool

func (*TLChat) Deactivated

func (o *TLChat) Deactivated() bool

func (*TLChat) HasMigratedTo

func (o *TLChat) HasMigratedTo() bool

func (*TLChat) IsTLChat

func (o *TLChat) IsTLChat()

func (*TLChat) Kicked

func (o *TLChat) Kicked() bool

func (*TLChat) Left

func (o *TLChat) Left() bool

func (*TLChat) ReadBareFrom

func (o *TLChat) ReadBareFrom(r *tl.Reader)

func (*TLChat) SetAdmin

func (o *TLChat) SetAdmin(v bool)

func (*TLChat) SetAdminsEnabled

func (o *TLChat) SetAdminsEnabled(v bool)

func (*TLChat) SetCreator

func (o *TLChat) SetCreator(v bool)

func (*TLChat) SetDeactivated

func (o *TLChat) SetDeactivated(v bool)

func (*TLChat) SetHasMigratedTo

func (o *TLChat) SetHasMigratedTo(v bool)

func (*TLChat) SetKicked

func (o *TLChat) SetKicked(v bool)

func (*TLChat) SetLeft

func (o *TLChat) SetLeft(v bool)

func (*TLChat) String

func (o *TLChat) String() string

func (*TLChat) WriteBareTo

func (o *TLChat) WriteBareTo(w *tl.Writer)

type TLChatEmpty

type TLChatEmpty struct {
	ID int // id:int
}

TLChatEmpty represents ctor chatEmpty#9ba2d800 id:int = Chat from Telegram

func (*TLChatEmpty) Cmd

func (o *TLChatEmpty) Cmd() uint32

func (*TLChatEmpty) IsTLChat

func (o *TLChatEmpty) IsTLChat()

func (*TLChatEmpty) ReadBareFrom

func (o *TLChatEmpty) ReadBareFrom(r *tl.Reader)

func (*TLChatEmpty) String

func (o *TLChatEmpty) String() string

func (*TLChatEmpty) WriteBareTo

func (o *TLChatEmpty) WriteBareTo(w *tl.Writer)

type TLChatForbidden

type TLChatForbidden struct {
	ID    int    // id:int
	Title string // title:string
}

TLChatForbidden represents ctor chatForbidden#07328bdb id:int title:string = Chat from Telegram

func (*TLChatForbidden) Cmd

func (o *TLChatForbidden) Cmd() uint32

func (*TLChatForbidden) IsTLChat

func (o *TLChatForbidden) IsTLChat()

func (*TLChatForbidden) ReadBareFrom

func (o *TLChatForbidden) ReadBareFrom(r *tl.Reader)

func (*TLChatForbidden) String

func (o *TLChatForbidden) String() string

func (*TLChatForbidden) WriteBareTo

func (o *TLChatForbidden) WriteBareTo(w *tl.Writer)

type TLChatFull

type TLChatFull struct {
	ID             int                      // id:int
	Participants   TLChatParticipantsType   // participants:ChatParticipants
	ChatPhoto      TLPhotoType              // chat_photo:Photo
	NotifySettings TLPeerNotifySettingsType // notify_settings:PeerNotifySettings
	ExportedInvite TLExportedChatInviteType // exported_invite:ExportedChatInvite
	BotInfo        []*TLBotInfo             // bot_info:Vector<BotInfo>
}

TLChatFull represents ctor chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> = ChatFull from Telegram

func (*TLChatFull) Cmd

func (o *TLChatFull) Cmd() uint32

func (*TLChatFull) IsTLChatFull

func (o *TLChatFull) IsTLChatFull()

func (*TLChatFull) ReadBareFrom

func (o *TLChatFull) ReadBareFrom(r *tl.Reader)

func (*TLChatFull) String

func (o *TLChatFull) String() string

func (*TLChatFull) WriteBareTo

func (o *TLChatFull) WriteBareTo(w *tl.Writer)

type TLChatFullType

type TLChatFullType interface {
	IsTLChatFull()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatFullType represents ChatFull from Telegram

type TLChatInvite

type TLChatInvite struct {
	Flags             uint            // flags:#
	Title             string          // title:string
	Photo             TLChatPhotoType // photo:ChatPhoto
	ParticipantsCount int             // participants_count:int
	Participants      []TLUserType    // flags.4?participants:Vector<User>
}

TLChatInvite represents ctor chatInvite#db74f558 flags:# flags.0?channel:true flags.1?broadcast:true flags.2?public:true flags.3?megagroup:true title:string photo:ChatPhoto participants_count:int flags.4?participants:Vector<User> = ChatInvite from Telegram

func (*TLChatInvite) Broadcast

func (o *TLChatInvite) Broadcast() bool

func (*TLChatInvite) Channel

func (o *TLChatInvite) Channel() bool

func (*TLChatInvite) Cmd

func (o *TLChatInvite) Cmd() uint32

func (*TLChatInvite) HasParticipants

func (o *TLChatInvite) HasParticipants() bool

func (*TLChatInvite) IsTLChatInvite

func (o *TLChatInvite) IsTLChatInvite()

func (*TLChatInvite) Megagroup

func (o *TLChatInvite) Megagroup() bool

func (*TLChatInvite) Public

func (o *TLChatInvite) Public() bool

func (*TLChatInvite) ReadBareFrom

func (o *TLChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLChatInvite) SetBroadcast

func (o *TLChatInvite) SetBroadcast(v bool)

func (*TLChatInvite) SetChannel

func (o *TLChatInvite) SetChannel(v bool)

func (*TLChatInvite) SetHasParticipants

func (o *TLChatInvite) SetHasParticipants(v bool)

func (*TLChatInvite) SetMegagroup

func (o *TLChatInvite) SetMegagroup(v bool)

func (*TLChatInvite) SetPublic

func (o *TLChatInvite) SetPublic(v bool)

func (*TLChatInvite) String

func (o *TLChatInvite) String() string

func (*TLChatInvite) WriteBareTo

func (o *TLChatInvite) WriteBareTo(w *tl.Writer)

type TLChatInviteAlready

type TLChatInviteAlready struct {
	Chat TLChatType // chat:Chat
}

TLChatInviteAlready represents ctor chatInviteAlready#5a686d7c chat:Chat = ChatInvite from Telegram

func (*TLChatInviteAlready) Cmd

func (o *TLChatInviteAlready) Cmd() uint32

func (*TLChatInviteAlready) IsTLChatInvite

func (o *TLChatInviteAlready) IsTLChatInvite()

func (*TLChatInviteAlready) ReadBareFrom

func (o *TLChatInviteAlready) ReadBareFrom(r *tl.Reader)

func (*TLChatInviteAlready) String

func (o *TLChatInviteAlready) String() string

func (*TLChatInviteAlready) WriteBareTo

func (o *TLChatInviteAlready) WriteBareTo(w *tl.Writer)

type TLChatInviteEmpty

type TLChatInviteEmpty struct {
}

TLChatInviteEmpty represents ctor chatInviteEmpty#69df3769 = ExportedChatInvite from Telegram

func (*TLChatInviteEmpty) Cmd

func (o *TLChatInviteEmpty) Cmd() uint32

func (*TLChatInviteEmpty) IsTLExportedChatInvite

func (o *TLChatInviteEmpty) IsTLExportedChatInvite()

func (*TLChatInviteEmpty) ReadBareFrom

func (o *TLChatInviteEmpty) ReadBareFrom(r *tl.Reader)

func (*TLChatInviteEmpty) String

func (o *TLChatInviteEmpty) String() string

func (*TLChatInviteEmpty) WriteBareTo

func (o *TLChatInviteEmpty) WriteBareTo(w *tl.Writer)

type TLChatInviteExported

type TLChatInviteExported struct {
	Link string // link:string
}

TLChatInviteExported represents ctor chatInviteExported#fc2e05bc link:string = ExportedChatInvite from Telegram

func (*TLChatInviteExported) Cmd

func (o *TLChatInviteExported) Cmd() uint32

func (*TLChatInviteExported) IsTLExportedChatInvite

func (o *TLChatInviteExported) IsTLExportedChatInvite()

func (*TLChatInviteExported) ReadBareFrom

func (o *TLChatInviteExported) ReadBareFrom(r *tl.Reader)

func (*TLChatInviteExported) String

func (o *TLChatInviteExported) String() string

func (*TLChatInviteExported) WriteBareTo

func (o *TLChatInviteExported) WriteBareTo(w *tl.Writer)

type TLChatInviteType

type TLChatInviteType interface {
	IsTLChatInvite()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatInviteType represents ChatInvite from Telegram

type TLChatParticipant

type TLChatParticipant struct {
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
}

TLChatParticipant represents ctor chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant from Telegram

func (*TLChatParticipant) Cmd

func (o *TLChatParticipant) Cmd() uint32

func (*TLChatParticipant) IsTLChatParticipant

func (o *TLChatParticipant) IsTLChatParticipant()

func (*TLChatParticipant) ReadBareFrom

func (o *TLChatParticipant) ReadBareFrom(r *tl.Reader)

func (*TLChatParticipant) String

func (o *TLChatParticipant) String() string

func (*TLChatParticipant) WriteBareTo

func (o *TLChatParticipant) WriteBareTo(w *tl.Writer)

type TLChatParticipantAdmin

type TLChatParticipantAdmin struct {
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
}

TLChatParticipantAdmin represents ctor chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant from Telegram

func (*TLChatParticipantAdmin) Cmd

func (o *TLChatParticipantAdmin) Cmd() uint32

func (*TLChatParticipantAdmin) IsTLChatParticipant

func (o *TLChatParticipantAdmin) IsTLChatParticipant()

func (*TLChatParticipantAdmin) ReadBareFrom

func (o *TLChatParticipantAdmin) ReadBareFrom(r *tl.Reader)

func (*TLChatParticipantAdmin) String

func (o *TLChatParticipantAdmin) String() string

func (*TLChatParticipantAdmin) WriteBareTo

func (o *TLChatParticipantAdmin) WriteBareTo(w *tl.Writer)

type TLChatParticipantCreator

type TLChatParticipantCreator struct {
	UserID int // user_id:int
}

TLChatParticipantCreator represents ctor chatParticipantCreator#da13538a user_id:int = ChatParticipant from Telegram

func (*TLChatParticipantCreator) Cmd

func (*TLChatParticipantCreator) IsTLChatParticipant

func (o *TLChatParticipantCreator) IsTLChatParticipant()

func (*TLChatParticipantCreator) ReadBareFrom

func (o *TLChatParticipantCreator) ReadBareFrom(r *tl.Reader)

func (*TLChatParticipantCreator) String

func (o *TLChatParticipantCreator) String() string

func (*TLChatParticipantCreator) WriteBareTo

func (o *TLChatParticipantCreator) WriteBareTo(w *tl.Writer)

type TLChatParticipantType

type TLChatParticipantType interface {
	IsTLChatParticipant()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatParticipantType represents ChatParticipant from Telegram

type TLChatParticipants

type TLChatParticipants struct {
	ChatID       int                     // chat_id:int
	Participants []TLChatParticipantType // participants:Vector<ChatParticipant>
	Version      int                     // version:int
}

TLChatParticipants represents ctor chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> version:int = ChatParticipants from Telegram

func (*TLChatParticipants) Cmd

func (o *TLChatParticipants) Cmd() uint32

func (*TLChatParticipants) IsTLChatParticipants

func (o *TLChatParticipants) IsTLChatParticipants()

func (*TLChatParticipants) ReadBareFrom

func (o *TLChatParticipants) ReadBareFrom(r *tl.Reader)

func (*TLChatParticipants) String

func (o *TLChatParticipants) String() string

func (*TLChatParticipants) WriteBareTo

func (o *TLChatParticipants) WriteBareTo(w *tl.Writer)

type TLChatParticipantsForbidden

type TLChatParticipantsForbidden struct {
	Flags           uint                  // flags:#
	ChatID          int                   // chat_id:int
	SelfParticipant TLChatParticipantType // flags.0?self_participant:ChatParticipant
}

TLChatParticipantsForbidden represents ctor chatParticipantsForbidden#fc900c2b flags:# chat_id:int flags.0?self_participant:ChatParticipant = ChatParticipants from Telegram

func (*TLChatParticipantsForbidden) Cmd

func (*TLChatParticipantsForbidden) HasSelfParticipant

func (o *TLChatParticipantsForbidden) HasSelfParticipant() bool

func (*TLChatParticipantsForbidden) IsTLChatParticipants

func (o *TLChatParticipantsForbidden) IsTLChatParticipants()

func (*TLChatParticipantsForbidden) ReadBareFrom

func (o *TLChatParticipantsForbidden) ReadBareFrom(r *tl.Reader)

func (*TLChatParticipantsForbidden) SetHasSelfParticipant

func (o *TLChatParticipantsForbidden) SetHasSelfParticipant(v bool)

func (*TLChatParticipantsForbidden) String

func (o *TLChatParticipantsForbidden) String() string

func (*TLChatParticipantsForbidden) WriteBareTo

func (o *TLChatParticipantsForbidden) WriteBareTo(w *tl.Writer)

type TLChatParticipantsType

type TLChatParticipantsType interface {
	IsTLChatParticipants()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatParticipantsType represents ChatParticipants from Telegram

type TLChatPhoto

type TLChatPhoto struct {
	PhotoSmall TLFileLocationType // photo_small:FileLocation
	PhotoBig   TLFileLocationType // photo_big:FileLocation
}

TLChatPhoto represents ctor chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto from Telegram

func (*TLChatPhoto) Cmd

func (o *TLChatPhoto) Cmd() uint32

func (*TLChatPhoto) IsTLChatPhoto

func (o *TLChatPhoto) IsTLChatPhoto()

func (*TLChatPhoto) ReadBareFrom

func (o *TLChatPhoto) ReadBareFrom(r *tl.Reader)

func (*TLChatPhoto) String

func (o *TLChatPhoto) String() string

func (*TLChatPhoto) WriteBareTo

func (o *TLChatPhoto) WriteBareTo(w *tl.Writer)

type TLChatPhotoEmpty

type TLChatPhotoEmpty struct {
}

TLChatPhotoEmpty represents ctor chatPhotoEmpty#37c1011c = ChatPhoto from Telegram

func (*TLChatPhotoEmpty) Cmd

func (o *TLChatPhotoEmpty) Cmd() uint32

func (*TLChatPhotoEmpty) IsTLChatPhoto

func (o *TLChatPhotoEmpty) IsTLChatPhoto()

func (*TLChatPhotoEmpty) ReadBareFrom

func (o *TLChatPhotoEmpty) ReadBareFrom(r *tl.Reader)

func (*TLChatPhotoEmpty) String

func (o *TLChatPhotoEmpty) String() string

func (*TLChatPhotoEmpty) WriteBareTo

func (o *TLChatPhotoEmpty) WriteBareTo(w *tl.Writer)

type TLChatPhotoType

type TLChatPhotoType interface {
	IsTLChatPhoto()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatPhotoType represents ChatPhoto from Telegram

type TLChatType

type TLChatType interface {
	IsTLChat()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLChatType represents Chat from Telegram

type TLClientDHInnerData

type TLClientDHInnerData struct {
	Nonce       [16]byte // nonce:int128
	ServerNonce [16]byte // server_nonce:int128
	RetryID     uint64   // retry_id:long
	GB          *big.Int // g_b:bytes
}

TLClientDHInnerData represents ctor client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:bytes = Client_DH_Inner_Data from MTProto

func (*TLClientDHInnerData) Cmd

func (o *TLClientDHInnerData) Cmd() uint32

func (*TLClientDHInnerData) ReadBareFrom

func (o *TLClientDHInnerData) ReadBareFrom(r *tl.Reader)

func (*TLClientDHInnerData) String

func (o *TLClientDHInnerData) String() string

func (*TLClientDHInnerData) WriteBareTo

func (o *TLClientDHInnerData) WriteBareTo(w *tl.Writer)

type TLConfig

type TLConfig struct {
	Flags                 uint                 // flags:#
	Date                  int                  // date:int
	Expires               int                  // expires:int
	TestMode              bool                 // test_mode:Bool
	ThisDC                int                  // this_dc:int
	DCOptions             []*TLDCOption        // dc_options:Vector<DcOption>
	ChatSizeMax           int                  // chat_size_max:int
	MegagroupSizeMax      int                  // megagroup_size_max:int
	ForwardedCountMax     int                  // forwarded_count_max:int
	OnlineUpdatePeriodMs  int                  // online_update_period_ms:int
	OfflineBlurTimeoutMs  int                  // offline_blur_timeout_ms:int
	OfflineIdleTimeoutMs  int                  // offline_idle_timeout_ms:int
	OnlineCloudTimeoutMs  int                  // online_cloud_timeout_ms:int
	NotifyCloudDelayMs    int                  // notify_cloud_delay_ms:int
	NotifyDefaultDelayMs  int                  // notify_default_delay_ms:int
	ChatBigSize           int                  // chat_big_size:int
	PushChatPeriodMs      int                  // push_chat_period_ms:int
	PushChatLimit         int                  // push_chat_limit:int
	SavedGifsLimit        int                  // saved_gifs_limit:int
	EditTimeLimit         int                  // edit_time_limit:int
	RatingEDecay          int                  // rating_e_decay:int
	StickersRecentLimit   int                  // stickers_recent_limit:int
	TmpSessions           int                  // flags.0?tmp_sessions:int
	PinnedDialogsCountMax int                  // pinned_dialogs_count_max:int
	CallReceiveTimeoutMs  int                  // call_receive_timeout_ms:int
	CallRingTimeoutMs     int                  // call_ring_timeout_ms:int
	CallConnectTimeoutMs  int                  // call_connect_timeout_ms:int
	CallPacketTimeoutMs   int                  // call_packet_timeout_ms:int
	MeURLPrefix           string               // me_url_prefix:string
	DisabledFeatures      []*TLDisabledFeature // disabled_features:Vector<DisabledFeature>
}

TLConfig represents ctor config#cb601684 flags:# flags.1?phonecalls_enabled:true date:int expires:int test_mode:Bool this_dc:int dc_options:Vector<DcOption> chat_size_max:int megagroup_size_max:int forwarded_count_max:int online_update_period_ms:int offline_blur_timeout_ms:int offline_idle_timeout_ms:int online_cloud_timeout_ms:int notify_cloud_delay_ms:int notify_default_delay_ms:int chat_big_size:int push_chat_period_ms:int push_chat_limit:int saved_gifs_limit:int edit_time_limit:int rating_e_decay:int stickers_recent_limit:int flags.0?tmp_sessions:int pinned_dialogs_count_max:int call_receive_timeout_ms:int call_ring_timeout_ms:int call_connect_timeout_ms:int call_packet_timeout_ms:int me_url_prefix:string disabled_features:Vector<DisabledFeature> = Config from Telegram

func (*TLConfig) Cmd

func (o *TLConfig) Cmd() uint32

func (*TLConfig) HasTmpSessions

func (o *TLConfig) HasTmpSessions() bool

func (*TLConfig) PhonecallsEnabled

func (o *TLConfig) PhonecallsEnabled() bool

func (*TLConfig) ReadBareFrom

func (o *TLConfig) ReadBareFrom(r *tl.Reader)

func (*TLConfig) SetHasTmpSessions

func (o *TLConfig) SetHasTmpSessions(v bool)

func (*TLConfig) SetPhonecallsEnabled

func (o *TLConfig) SetPhonecallsEnabled(v bool)

func (*TLConfig) String

func (o *TLConfig) String() string

func (*TLConfig) WriteBareTo

func (o *TLConfig) WriteBareTo(w *tl.Writer)

type TLContact

type TLContact struct {
	UserID int  // user_id:int
	Mutual bool // mutual:Bool
}

TLContact represents ctor contact#f911c994 user_id:int mutual:Bool = Contact from Telegram

func (*TLContact) Cmd

func (o *TLContact) Cmd() uint32

func (*TLContact) ReadBareFrom

func (o *TLContact) ReadBareFrom(r *tl.Reader)

func (*TLContact) String

func (o *TLContact) String() string

func (*TLContact) WriteBareTo

func (o *TLContact) WriteBareTo(w *tl.Writer)

type TLContactBlocked

type TLContactBlocked struct {
	UserID int // user_id:int
	Date   int // date:int
}

TLContactBlocked represents ctor contactBlocked#561bc879 user_id:int date:int = ContactBlocked from Telegram

func (*TLContactBlocked) Cmd

func (o *TLContactBlocked) Cmd() uint32

func (*TLContactBlocked) ReadBareFrom

func (o *TLContactBlocked) ReadBareFrom(r *tl.Reader)

func (*TLContactBlocked) String

func (o *TLContactBlocked) String() string

func (*TLContactBlocked) WriteBareTo

func (o *TLContactBlocked) WriteBareTo(w *tl.Writer)

type TLContactLinkContact

type TLContactLinkContact struct {
}

TLContactLinkContact represents ctor contactLinkContact#d502c2d0 = ContactLink from Telegram

func (*TLContactLinkContact) Cmd

func (o *TLContactLinkContact) Cmd() uint32
func (o *TLContactLinkContact) IsTLContactLink()

func (*TLContactLinkContact) ReadBareFrom

func (o *TLContactLinkContact) ReadBareFrom(r *tl.Reader)

func (*TLContactLinkContact) String

func (o *TLContactLinkContact) String() string

func (*TLContactLinkContact) WriteBareTo

func (o *TLContactLinkContact) WriteBareTo(w *tl.Writer)

type TLContactLinkHasPhone

type TLContactLinkHasPhone struct {
}

TLContactLinkHasPhone represents ctor contactLinkHasPhone#268f3f59 = ContactLink from Telegram

func (*TLContactLinkHasPhone) Cmd

func (o *TLContactLinkHasPhone) Cmd() uint32
func (o *TLContactLinkHasPhone) IsTLContactLink()

func (*TLContactLinkHasPhone) ReadBareFrom

func (o *TLContactLinkHasPhone) ReadBareFrom(r *tl.Reader)

func (*TLContactLinkHasPhone) String

func (o *TLContactLinkHasPhone) String() string

func (*TLContactLinkHasPhone) WriteBareTo

func (o *TLContactLinkHasPhone) WriteBareTo(w *tl.Writer)

type TLContactLinkNone

type TLContactLinkNone struct {
}

TLContactLinkNone represents ctor contactLinkNone#feedd3ad = ContactLink from Telegram

func (*TLContactLinkNone) Cmd

func (o *TLContactLinkNone) Cmd() uint32
func (o *TLContactLinkNone) IsTLContactLink()

func (*TLContactLinkNone) ReadBareFrom

func (o *TLContactLinkNone) ReadBareFrom(r *tl.Reader)

func (*TLContactLinkNone) String

func (o *TLContactLinkNone) String() string

func (*TLContactLinkNone) WriteBareTo

func (o *TLContactLinkNone) WriteBareTo(w *tl.Writer)

type TLContactLinkType

type TLContactLinkType interface {
	IsTLContactLink()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLContactLinkType represents ContactLink from Telegram

type TLContactLinkUnknown

type TLContactLinkUnknown struct {
}

TLContactLinkUnknown represents ctor contactLinkUnknown#5f4f9247 = ContactLink from Telegram

func (*TLContactLinkUnknown) Cmd

func (o *TLContactLinkUnknown) Cmd() uint32
func (o *TLContactLinkUnknown) IsTLContactLink()

func (*TLContactLinkUnknown) ReadBareFrom

func (o *TLContactLinkUnknown) ReadBareFrom(r *tl.Reader)

func (*TLContactLinkUnknown) String

func (o *TLContactLinkUnknown) String() string

func (*TLContactLinkUnknown) WriteBareTo

func (o *TLContactLinkUnknown) WriteBareTo(w *tl.Writer)

type TLContactStatus

type TLContactStatus struct {
	UserID int              // user_id:int
	Status TLUserStatusType // status:UserStatus
}

TLContactStatus represents ctor contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus from Telegram

func (*TLContactStatus) Cmd

func (o *TLContactStatus) Cmd() uint32

func (*TLContactStatus) ReadBareFrom

func (o *TLContactStatus) ReadBareFrom(r *tl.Reader)

func (*TLContactStatus) String

func (o *TLContactStatus) String() string

func (*TLContactStatus) WriteBareTo

func (o *TLContactStatus) WriteBareTo(w *tl.Writer)

type TLContactsBlock

type TLContactsBlock struct {
	ID TLInputUserType // id:InputUser
}

TLContactsBlock represents func contacts.block#332b49fc id:InputUser = Bool from Telegram

func (*TLContactsBlock) Cmd

func (o *TLContactsBlock) Cmd() uint32

func (*TLContactsBlock) ReadBareFrom

func (o *TLContactsBlock) ReadBareFrom(r *tl.Reader)

func (*TLContactsBlock) String

func (o *TLContactsBlock) String() string

func (*TLContactsBlock) WriteBareTo

func (o *TLContactsBlock) WriteBareTo(w *tl.Writer)

type TLContactsBlocked

type TLContactsBlocked struct {
	Blocked []*TLContactBlocked // blocked:Vector<ContactBlocked>
	Users   []TLUserType        // users:Vector<User>
}

TLContactsBlocked represents ctor contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked from Telegram

func (*TLContactsBlocked) Cmd

func (o *TLContactsBlocked) Cmd() uint32

func (*TLContactsBlocked) IsTLContactsBlocked

func (o *TLContactsBlocked) IsTLContactsBlocked()

func (*TLContactsBlocked) ReadBareFrom

func (o *TLContactsBlocked) ReadBareFrom(r *tl.Reader)

func (*TLContactsBlocked) String

func (o *TLContactsBlocked) String() string

func (*TLContactsBlocked) WriteBareTo

func (o *TLContactsBlocked) WriteBareTo(w *tl.Writer)

type TLContactsBlockedSlice

type TLContactsBlockedSlice struct {
	Count   int                 // count:int
	Blocked []*TLContactBlocked // blocked:Vector<ContactBlocked>
	Users   []TLUserType        // users:Vector<User>
}

TLContactsBlockedSlice represents ctor contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked from Telegram

func (*TLContactsBlockedSlice) Cmd

func (o *TLContactsBlockedSlice) Cmd() uint32

func (*TLContactsBlockedSlice) IsTLContactsBlocked

func (o *TLContactsBlockedSlice) IsTLContactsBlocked()

func (*TLContactsBlockedSlice) ReadBareFrom

func (o *TLContactsBlockedSlice) ReadBareFrom(r *tl.Reader)

func (*TLContactsBlockedSlice) String

func (o *TLContactsBlockedSlice) String() string

func (*TLContactsBlockedSlice) WriteBareTo

func (o *TLContactsBlockedSlice) WriteBareTo(w *tl.Writer)

type TLContactsBlockedType

type TLContactsBlockedType interface {
	IsTLContactsBlocked()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLContactsBlockedType represents contacts.Blocked from Telegram

type TLContactsContacts

type TLContactsContacts struct {
	Contacts []*TLContact // contacts:Vector<Contact>
	Users    []TLUserType // users:Vector<User>
}

TLContactsContacts represents ctor contacts.contacts#6f8b8cb2 contacts:Vector<Contact> users:Vector<User> = contacts.Contacts from Telegram

func (*TLContactsContacts) Cmd

func (o *TLContactsContacts) Cmd() uint32

func (*TLContactsContacts) IsTLContactsContacts

func (o *TLContactsContacts) IsTLContactsContacts()

func (*TLContactsContacts) ReadBareFrom

func (o *TLContactsContacts) ReadBareFrom(r *tl.Reader)

func (*TLContactsContacts) String

func (o *TLContactsContacts) String() string

func (*TLContactsContacts) WriteBareTo

func (o *TLContactsContacts) WriteBareTo(w *tl.Writer)

type TLContactsContactsNotModified

type TLContactsContactsNotModified struct {
}

TLContactsContactsNotModified represents ctor contacts.contactsNotModified#b74ba9d2 = contacts.Contacts from Telegram

func (*TLContactsContactsNotModified) Cmd

func (*TLContactsContactsNotModified) IsTLContactsContacts

func (o *TLContactsContactsNotModified) IsTLContactsContacts()

func (*TLContactsContactsNotModified) ReadBareFrom

func (o *TLContactsContactsNotModified) ReadBareFrom(r *tl.Reader)

func (*TLContactsContactsNotModified) String

func (*TLContactsContactsNotModified) WriteBareTo

func (o *TLContactsContactsNotModified) WriteBareTo(w *tl.Writer)

type TLContactsContactsType

type TLContactsContactsType interface {
	IsTLContactsContacts()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLContactsContactsType represents contacts.Contacts from Telegram

type TLContactsDeleteContact

type TLContactsDeleteContact struct {
	ID TLInputUserType // id:InputUser
}

TLContactsDeleteContact represents func contacts.deleteContact#8e953744 id:InputUser = contacts.Link from Telegram

func (*TLContactsDeleteContact) Cmd

func (*TLContactsDeleteContact) ReadBareFrom

func (o *TLContactsDeleteContact) ReadBareFrom(r *tl.Reader)

func (*TLContactsDeleteContact) String

func (o *TLContactsDeleteContact) String() string

func (*TLContactsDeleteContact) WriteBareTo

func (o *TLContactsDeleteContact) WriteBareTo(w *tl.Writer)

type TLContactsDeleteContacts

type TLContactsDeleteContacts struct {
	ID []TLInputUserType // id:Vector<InputUser>
}

TLContactsDeleteContacts represents func contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool from Telegram

func (*TLContactsDeleteContacts) Cmd

func (*TLContactsDeleteContacts) ReadBareFrom

func (o *TLContactsDeleteContacts) ReadBareFrom(r *tl.Reader)

func (*TLContactsDeleteContacts) String

func (o *TLContactsDeleteContacts) String() string

func (*TLContactsDeleteContacts) WriteBareTo

func (o *TLContactsDeleteContacts) WriteBareTo(w *tl.Writer)

type TLContactsExportCard

type TLContactsExportCard struct {
}

TLContactsExportCard represents func contacts.exportCard#84e53737 = Vector<int> from Telegram

func (*TLContactsExportCard) Cmd

func (o *TLContactsExportCard) Cmd() uint32

func (*TLContactsExportCard) ReadBareFrom

func (o *TLContactsExportCard) ReadBareFrom(r *tl.Reader)

func (*TLContactsExportCard) String

func (o *TLContactsExportCard) String() string

func (*TLContactsExportCard) WriteBareTo

func (o *TLContactsExportCard) WriteBareTo(w *tl.Writer)

type TLContactsFound

type TLContactsFound struct {
	Results []TLPeerType // results:Vector<Peer>
	Chats   []TLChatType // chats:Vector<Chat>
	Users   []TLUserType // users:Vector<User>
}

TLContactsFound represents ctor contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found from Telegram

func (*TLContactsFound) Cmd

func (o *TLContactsFound) Cmd() uint32

func (*TLContactsFound) ReadBareFrom

func (o *TLContactsFound) ReadBareFrom(r *tl.Reader)

func (*TLContactsFound) String

func (o *TLContactsFound) String() string

func (*TLContactsFound) WriteBareTo

func (o *TLContactsFound) WriteBareTo(w *tl.Writer)

type TLContactsGetBlocked

type TLContactsGetBlocked struct {
	Offset int // offset:int
	Limit  int // limit:int
}

TLContactsGetBlocked represents func contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked from Telegram

func (*TLContactsGetBlocked) Cmd

func (o *TLContactsGetBlocked) Cmd() uint32

func (*TLContactsGetBlocked) ReadBareFrom

func (o *TLContactsGetBlocked) ReadBareFrom(r *tl.Reader)

func (*TLContactsGetBlocked) String

func (o *TLContactsGetBlocked) String() string

func (*TLContactsGetBlocked) WriteBareTo

func (o *TLContactsGetBlocked) WriteBareTo(w *tl.Writer)

type TLContactsGetContacts

type TLContactsGetContacts struct {
	Hash string // hash:string
}

TLContactsGetContacts represents func contacts.getContacts#22c6aa08 hash:string = contacts.Contacts from Telegram

func (*TLContactsGetContacts) Cmd

func (o *TLContactsGetContacts) Cmd() uint32

func (*TLContactsGetContacts) ReadBareFrom

func (o *TLContactsGetContacts) ReadBareFrom(r *tl.Reader)

func (*TLContactsGetContacts) String

func (o *TLContactsGetContacts) String() string

func (*TLContactsGetContacts) WriteBareTo

func (o *TLContactsGetContacts) WriteBareTo(w *tl.Writer)

type TLContactsGetStatuses

type TLContactsGetStatuses struct {
}

TLContactsGetStatuses represents func contacts.getStatuses#c4a353ee = Vector<ContactStatus> from Telegram

func (*TLContactsGetStatuses) Cmd

func (o *TLContactsGetStatuses) Cmd() uint32

func (*TLContactsGetStatuses) ReadBareFrom

func (o *TLContactsGetStatuses) ReadBareFrom(r *tl.Reader)

func (*TLContactsGetStatuses) String

func (o *TLContactsGetStatuses) String() string

func (*TLContactsGetStatuses) WriteBareTo

func (o *TLContactsGetStatuses) WriteBareTo(w *tl.Writer)

type TLContactsGetTopPeers

type TLContactsGetTopPeers struct {
	Flags  uint // flags:#
	Offset int  // offset:int
	Limit  int  // limit:int
	Hash   int  // hash:int
}

TLContactsGetTopPeers represents func contacts.getTopPeers#d4982db5 flags:# flags.0?correspondents:true flags.1?bots_pm:true flags.2?bots_inline:true flags.10?groups:true flags.15?channels:true offset:int limit:int hash:int = contacts.TopPeers from Telegram

func (*TLContactsGetTopPeers) BotsInline

func (o *TLContactsGetTopPeers) BotsInline() bool

func (*TLContactsGetTopPeers) BotsPm

func (o *TLContactsGetTopPeers) BotsPm() bool

func (*TLContactsGetTopPeers) Channels

func (o *TLContactsGetTopPeers) Channels() bool

func (*TLContactsGetTopPeers) Cmd

func (o *TLContactsGetTopPeers) Cmd() uint32

func (*TLContactsGetTopPeers) Correspondents

func (o *TLContactsGetTopPeers) Correspondents() bool

func (*TLContactsGetTopPeers) Groups

func (o *TLContactsGetTopPeers) Groups() bool

func (*TLContactsGetTopPeers) ReadBareFrom

func (o *TLContactsGetTopPeers) ReadBareFrom(r *tl.Reader)

func (*TLContactsGetTopPeers) SetBotsInline

func (o *TLContactsGetTopPeers) SetBotsInline(v bool)

func (*TLContactsGetTopPeers) SetBotsPm

func (o *TLContactsGetTopPeers) SetBotsPm(v bool)

func (*TLContactsGetTopPeers) SetChannels

func (o *TLContactsGetTopPeers) SetChannels(v bool)

func (*TLContactsGetTopPeers) SetCorrespondents

func (o *TLContactsGetTopPeers) SetCorrespondents(v bool)

func (*TLContactsGetTopPeers) SetGroups

func (o *TLContactsGetTopPeers) SetGroups(v bool)

func (*TLContactsGetTopPeers) String

func (o *TLContactsGetTopPeers) String() string

func (*TLContactsGetTopPeers) WriteBareTo

func (o *TLContactsGetTopPeers) WriteBareTo(w *tl.Writer)

type TLContactsImportCard

type TLContactsImportCard struct {
	ExportCard []int // export_card:Vector<int>
}

TLContactsImportCard represents func contacts.importCard#4fe196fe export_card:Vector<int> = User from Telegram

func (*TLContactsImportCard) Cmd

func (o *TLContactsImportCard) Cmd() uint32

func (*TLContactsImportCard) ReadBareFrom

func (o *TLContactsImportCard) ReadBareFrom(r *tl.Reader)

func (*TLContactsImportCard) String

func (o *TLContactsImportCard) String() string

func (*TLContactsImportCard) WriteBareTo

func (o *TLContactsImportCard) WriteBareTo(w *tl.Writer)

type TLContactsImportContacts

type TLContactsImportContacts struct {
	Contacts []*TLInputPhoneContact // contacts:Vector<InputContact>
	Replace  bool                   // replace:Bool
}

TLContactsImportContacts represents func contacts.importContacts#da30b32d contacts:Vector<InputContact> replace:Bool = contacts.ImportedContacts from Telegram

func (*TLContactsImportContacts) Cmd

func (*TLContactsImportContacts) ReadBareFrom

func (o *TLContactsImportContacts) ReadBareFrom(r *tl.Reader)

func (*TLContactsImportContacts) String

func (o *TLContactsImportContacts) String() string

func (*TLContactsImportContacts) WriteBareTo

func (o *TLContactsImportContacts) WriteBareTo(w *tl.Writer)

type TLContactsImportedContacts

type TLContactsImportedContacts struct {
	Imported      []*TLImportedContact // imported:Vector<ImportedContact>
	RetryContacts []uint64             // retry_contacts:Vector<long>
	Users         []TLUserType         // users:Vector<User>
}

TLContactsImportedContacts represents ctor contacts.importedContacts#ad524315 imported:Vector<ImportedContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts from Telegram

func (*TLContactsImportedContacts) Cmd

func (*TLContactsImportedContacts) ReadBareFrom

func (o *TLContactsImportedContacts) ReadBareFrom(r *tl.Reader)

func (*TLContactsImportedContacts) String

func (o *TLContactsImportedContacts) String() string

func (*TLContactsImportedContacts) WriteBareTo

func (o *TLContactsImportedContacts) WriteBareTo(w *tl.Writer)
type TLContactsLink struct {
	MyLink      TLContactLinkType // my_link:ContactLink
	ForeignLink TLContactLinkType // foreign_link:ContactLink
	User        TLUserType        // user:User
}

TLContactsLink represents ctor contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link from Telegram

func (*TLContactsLink) Cmd

func (o *TLContactsLink) Cmd() uint32

func (*TLContactsLink) ReadBareFrom

func (o *TLContactsLink) ReadBareFrom(r *tl.Reader)

func (*TLContactsLink) String

func (o *TLContactsLink) String() string

func (*TLContactsLink) WriteBareTo

func (o *TLContactsLink) WriteBareTo(w *tl.Writer)

type TLContactsResetTopPeerRating

type TLContactsResetTopPeerRating struct {
	Category TLTopPeerCategoryType // category:TopPeerCategory
	Peer     TLInputPeerType       // peer:InputPeer
}

TLContactsResetTopPeerRating represents func contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool from Telegram

func (*TLContactsResetTopPeerRating) Cmd

func (*TLContactsResetTopPeerRating) ReadBareFrom

func (o *TLContactsResetTopPeerRating) ReadBareFrom(r *tl.Reader)

func (*TLContactsResetTopPeerRating) String

func (*TLContactsResetTopPeerRating) WriteBareTo

func (o *TLContactsResetTopPeerRating) WriteBareTo(w *tl.Writer)

type TLContactsResolveUsername

type TLContactsResolveUsername struct {
	Username string // username:string
}

TLContactsResolveUsername represents func contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer from Telegram

func (*TLContactsResolveUsername) Cmd

func (*TLContactsResolveUsername) ReadBareFrom

func (o *TLContactsResolveUsername) ReadBareFrom(r *tl.Reader)

func (*TLContactsResolveUsername) String

func (o *TLContactsResolveUsername) String() string

func (*TLContactsResolveUsername) WriteBareTo

func (o *TLContactsResolveUsername) WriteBareTo(w *tl.Writer)

type TLContactsResolvedPeer

type TLContactsResolvedPeer struct {
	Peer  TLPeerType   // peer:Peer
	Chats []TLChatType // chats:Vector<Chat>
	Users []TLUserType // users:Vector<User>
}

TLContactsResolvedPeer represents ctor contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer from Telegram

func (*TLContactsResolvedPeer) Cmd

func (o *TLContactsResolvedPeer) Cmd() uint32

func (*TLContactsResolvedPeer) ReadBareFrom

func (o *TLContactsResolvedPeer) ReadBareFrom(r *tl.Reader)

func (*TLContactsResolvedPeer) String

func (o *TLContactsResolvedPeer) String() string

func (*TLContactsResolvedPeer) WriteBareTo

func (o *TLContactsResolvedPeer) WriteBareTo(w *tl.Writer)

type TLContactsSearch

type TLContactsSearch struct {
	Q     string // q:string
	Limit int    // limit:int
}

TLContactsSearch represents func contacts.search#11f812d8 q:string limit:int = contacts.Found from Telegram

func (*TLContactsSearch) Cmd

func (o *TLContactsSearch) Cmd() uint32

func (*TLContactsSearch) ReadBareFrom

func (o *TLContactsSearch) ReadBareFrom(r *tl.Reader)

func (*TLContactsSearch) String

func (o *TLContactsSearch) String() string

func (*TLContactsSearch) WriteBareTo

func (o *TLContactsSearch) WriteBareTo(w *tl.Writer)

type TLContactsTopPeers

type TLContactsTopPeers struct {
	Categories []*TLTopPeerCategoryPeers // categories:Vector<TopPeerCategoryPeers>
	Chats      []TLChatType              // chats:Vector<Chat>
	Users      []TLUserType              // users:Vector<User>
}

TLContactsTopPeers represents ctor contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers from Telegram

func (*TLContactsTopPeers) Cmd

func (o *TLContactsTopPeers) Cmd() uint32

func (*TLContactsTopPeers) IsTLContactsTopPeers

func (o *TLContactsTopPeers) IsTLContactsTopPeers()

func (*TLContactsTopPeers) ReadBareFrom

func (o *TLContactsTopPeers) ReadBareFrom(r *tl.Reader)

func (*TLContactsTopPeers) String

func (o *TLContactsTopPeers) String() string

func (*TLContactsTopPeers) WriteBareTo

func (o *TLContactsTopPeers) WriteBareTo(w *tl.Writer)

type TLContactsTopPeersNotModified

type TLContactsTopPeersNotModified struct {
}

TLContactsTopPeersNotModified represents ctor contacts.topPeersNotModified#de266ef5 = contacts.TopPeers from Telegram

func (*TLContactsTopPeersNotModified) Cmd

func (*TLContactsTopPeersNotModified) IsTLContactsTopPeers

func (o *TLContactsTopPeersNotModified) IsTLContactsTopPeers()

func (*TLContactsTopPeersNotModified) ReadBareFrom

func (o *TLContactsTopPeersNotModified) ReadBareFrom(r *tl.Reader)

func (*TLContactsTopPeersNotModified) String

func (*TLContactsTopPeersNotModified) WriteBareTo

func (o *TLContactsTopPeersNotModified) WriteBareTo(w *tl.Writer)

type TLContactsTopPeersType

type TLContactsTopPeersType interface {
	IsTLContactsTopPeers()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLContactsTopPeersType represents contacts.TopPeers from Telegram

type TLContactsUnblock

type TLContactsUnblock struct {
	ID TLInputUserType // id:InputUser
}

TLContactsUnblock represents func contacts.unblock#e54100bd id:InputUser = Bool from Telegram

func (*TLContactsUnblock) Cmd

func (o *TLContactsUnblock) Cmd() uint32

func (*TLContactsUnblock) ReadBareFrom

func (o *TLContactsUnblock) ReadBareFrom(r *tl.Reader)

func (*TLContactsUnblock) String

func (o *TLContactsUnblock) String() string

func (*TLContactsUnblock) WriteBareTo

func (o *TLContactsUnblock) WriteBareTo(w *tl.Writer)

type TLDCOption

type TLDCOption struct {
	Flags     uint   // flags:#
	ID        int    // id:int
	IPAddress string // ip_address:string
	Port      int    // port:int
}

TLDCOption represents ctor dcOption#05d8c6cc flags:# flags.0?ipv6:true flags.1?media_only:true flags.2?tcpo_only:true id:int ip_address:string port:int = DcOption from Telegram

func (*TLDCOption) Cmd

func (o *TLDCOption) Cmd() uint32

func (*TLDCOption) IPv6

func (o *TLDCOption) IPv6() bool

func (*TLDCOption) MediaOnly

func (o *TLDCOption) MediaOnly() bool

func (*TLDCOption) ReadBareFrom

func (o *TLDCOption) ReadBareFrom(r *tl.Reader)

func (*TLDCOption) SetIPv6

func (o *TLDCOption) SetIPv6(v bool)

func (*TLDCOption) SetMediaOnly

func (o *TLDCOption) SetMediaOnly(v bool)

func (*TLDCOption) SetTCPoOnly

func (o *TLDCOption) SetTCPoOnly(v bool)

func (*TLDCOption) String

func (o *TLDCOption) String() string

func (*TLDCOption) TCPoOnly

func (o *TLDCOption) TCPoOnly() bool

func (*TLDCOption) WriteBareTo

func (o *TLDCOption) WriteBareTo(w *tl.Writer)

type TLDHGenFail

type TLDHGenFail struct {
	Nonce         [16]byte // nonce:int128
	ServerNonce   [16]byte // server_nonce:int128
	NewNonceHash3 [16]byte // new_nonce_hash3:int128
}

TLDHGenFail represents ctor dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer from MTProto

func (*TLDHGenFail) Cmd

func (o *TLDHGenFail) Cmd() uint32

func (*TLDHGenFail) IsTLSetClientDHParamsAnswer

func (o *TLDHGenFail) IsTLSetClientDHParamsAnswer()

func (*TLDHGenFail) ReadBareFrom

func (o *TLDHGenFail) ReadBareFrom(r *tl.Reader)

func (*TLDHGenFail) String

func (o *TLDHGenFail) String() string

func (*TLDHGenFail) WriteBareTo

func (o *TLDHGenFail) WriteBareTo(w *tl.Writer)

type TLDHGenOK

type TLDHGenOK struct {
	Nonce         [16]byte // nonce:int128
	ServerNonce   [16]byte // server_nonce:int128
	NewNonceHash1 [16]byte // new_nonce_hash1:int128
}

TLDHGenOK represents ctor dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer from MTProto

func (*TLDHGenOK) Cmd

func (o *TLDHGenOK) Cmd() uint32

func (*TLDHGenOK) IsTLSetClientDHParamsAnswer

func (o *TLDHGenOK) IsTLSetClientDHParamsAnswer()

func (*TLDHGenOK) ReadBareFrom

func (o *TLDHGenOK) ReadBareFrom(r *tl.Reader)

func (*TLDHGenOK) String

func (o *TLDHGenOK) String() string

func (*TLDHGenOK) WriteBareTo

func (o *TLDHGenOK) WriteBareTo(w *tl.Writer)

type TLDHGenRetry

type TLDHGenRetry struct {
	Nonce         [16]byte // nonce:int128
	ServerNonce   [16]byte // server_nonce:int128
	NewNonceHash2 [16]byte // new_nonce_hash2:int128
}

TLDHGenRetry represents ctor dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer from MTProto

func (*TLDHGenRetry) Cmd

func (o *TLDHGenRetry) Cmd() uint32

func (*TLDHGenRetry) IsTLSetClientDHParamsAnswer

func (o *TLDHGenRetry) IsTLSetClientDHParamsAnswer()

func (*TLDHGenRetry) ReadBareFrom

func (o *TLDHGenRetry) ReadBareFrom(r *tl.Reader)

func (*TLDHGenRetry) String

func (o *TLDHGenRetry) String() string

func (*TLDHGenRetry) WriteBareTo

func (o *TLDHGenRetry) WriteBareTo(w *tl.Writer)

type TLDataJSON

type TLDataJSON struct {
	Data string // data:string
}

TLDataJSON represents ctor dataJSON#7d748d04 data:string = DataJSON from Telegram

func (*TLDataJSON) Cmd

func (o *TLDataJSON) Cmd() uint32

func (*TLDataJSON) ReadBareFrom

func (o *TLDataJSON) ReadBareFrom(r *tl.Reader)

func (*TLDataJSON) String

func (o *TLDataJSON) String() string

func (*TLDataJSON) WriteBareTo

func (o *TLDataJSON) WriteBareTo(w *tl.Writer)

type TLDestroySession

type TLDestroySession struct {
	SessionID uint64 // session_id:long
}

TLDestroySession represents func destroy_session#e7512126 session_id:long = DestroySessionRes from MTProto

func (*TLDestroySession) Cmd

func (o *TLDestroySession) Cmd() uint32

func (*TLDestroySession) ReadBareFrom

func (o *TLDestroySession) ReadBareFrom(r *tl.Reader)

func (*TLDestroySession) String

func (o *TLDestroySession) String() string

func (*TLDestroySession) WriteBareTo

func (o *TLDestroySession) WriteBareTo(w *tl.Writer)

type TLDestroySessionNone

type TLDestroySessionNone struct {
	SessionID uint64 // session_id:long
}

TLDestroySessionNone represents ctor destroy_session_none#62d350c9 session_id:long = DestroySessionRes from MTProto

func (*TLDestroySessionNone) Cmd

func (o *TLDestroySessionNone) Cmd() uint32

func (*TLDestroySessionNone) IsTLDestroySessionRes

func (o *TLDestroySessionNone) IsTLDestroySessionRes()

func (*TLDestroySessionNone) ReadBareFrom

func (o *TLDestroySessionNone) ReadBareFrom(r *tl.Reader)

func (*TLDestroySessionNone) String

func (o *TLDestroySessionNone) String() string

func (*TLDestroySessionNone) WriteBareTo

func (o *TLDestroySessionNone) WriteBareTo(w *tl.Writer)

type TLDestroySessionOK

type TLDestroySessionOK struct {
	SessionID uint64 // session_id:long
}

TLDestroySessionOK represents ctor destroy_session_ok#e22045fc session_id:long = DestroySessionRes from MTProto

func (*TLDestroySessionOK) Cmd

func (o *TLDestroySessionOK) Cmd() uint32

func (*TLDestroySessionOK) IsTLDestroySessionRes

func (o *TLDestroySessionOK) IsTLDestroySessionRes()

func (*TLDestroySessionOK) ReadBareFrom

func (o *TLDestroySessionOK) ReadBareFrom(r *tl.Reader)

func (*TLDestroySessionOK) String

func (o *TLDestroySessionOK) String() string

func (*TLDestroySessionOK) WriteBareTo

func (o *TLDestroySessionOK) WriteBareTo(w *tl.Writer)

type TLDestroySessionResType

type TLDestroySessionResType interface {
	IsTLDestroySessionRes()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLDestroySessionResType represents DestroySessionRes from MTProto

type TLDialog

type TLDialog struct {
	Flags           uint                     // flags:#
	Peer            TLPeerType               // peer:Peer
	TopMessage      int                      // top_message:int
	ReadInboxMaxID  int                      // read_inbox_max_id:int
	ReadOutboxMaxID int                      // read_outbox_max_id:int
	UnreadCount     int                      // unread_count:int
	NotifySettings  TLPeerNotifySettingsType // notify_settings:PeerNotifySettings
	Pts             int                      // flags.0?pts:int
	Draft           TLDraftMessageType       // flags.1?draft:DraftMessage
}

TLDialog represents ctor dialog#66ffba14 flags:# flags.2?pinned:true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int notify_settings:PeerNotifySettings flags.0?pts:int flags.1?draft:DraftMessage = Dialog from Telegram

func (*TLDialog) Cmd

func (o *TLDialog) Cmd() uint32

func (*TLDialog) HasDraft

func (o *TLDialog) HasDraft() bool

func (*TLDialog) HasPts

func (o *TLDialog) HasPts() bool

func (*TLDialog) Pinned

func (o *TLDialog) Pinned() bool

func (*TLDialog) ReadBareFrom

func (o *TLDialog) ReadBareFrom(r *tl.Reader)

func (*TLDialog) SetHasDraft

func (o *TLDialog) SetHasDraft(v bool)

func (*TLDialog) SetHasPts

func (o *TLDialog) SetHasPts(v bool)

func (*TLDialog) SetPinned

func (o *TLDialog) SetPinned(v bool)

func (*TLDialog) String

func (o *TLDialog) String() string

func (*TLDialog) WriteBareTo

func (o *TLDialog) WriteBareTo(w *tl.Writer)

type TLDisabledFeature

type TLDisabledFeature struct {
	Feature     string // feature:string
	Description string // description:string
}

TLDisabledFeature represents ctor disabledFeature#ae636f24 feature:string description:string = DisabledFeature from Telegram

func (*TLDisabledFeature) Cmd

func (o *TLDisabledFeature) Cmd() uint32

func (*TLDisabledFeature) ReadBareFrom

func (o *TLDisabledFeature) ReadBareFrom(r *tl.Reader)

func (*TLDisabledFeature) String

func (o *TLDisabledFeature) String() string

func (*TLDisabledFeature) WriteBareTo

func (o *TLDisabledFeature) WriteBareTo(w *tl.Writer)

type TLDocument

type TLDocument struct {
	ID         uint64                    // id:long
	AccessHash uint64                    // access_hash:long
	Date       int                       // date:int
	MimeType   string                    // mime_type:string
	Size       int                       // size:int
	Thumb      TLPhotoSizeType           // thumb:PhotoSize
	DCID       int                       // dc_id:int
	Version    int                       // version:int
	Attributes []TLDocumentAttributeType // attributes:Vector<DocumentAttribute>
}

TLDocument represents ctor document#87232bc7 id:long access_hash:long date:int mime_type:string size:int thumb:PhotoSize dc_id:int version:int attributes:Vector<DocumentAttribute> = Document from Telegram

func (*TLDocument) Cmd

func (o *TLDocument) Cmd() uint32

func (*TLDocument) IsTLDocument

func (o *TLDocument) IsTLDocument()

func (*TLDocument) ReadBareFrom

func (o *TLDocument) ReadBareFrom(r *tl.Reader)

func (*TLDocument) String

func (o *TLDocument) String() string

func (*TLDocument) WriteBareTo

func (o *TLDocument) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeAnimated

type TLDocumentAttributeAnimated struct {
}

TLDocumentAttributeAnimated represents ctor documentAttributeAnimated#11b58939 = DocumentAttribute from Telegram

func (*TLDocumentAttributeAnimated) Cmd

func (*TLDocumentAttributeAnimated) IsTLDocumentAttribute

func (o *TLDocumentAttributeAnimated) IsTLDocumentAttribute()

func (*TLDocumentAttributeAnimated) ReadBareFrom

func (o *TLDocumentAttributeAnimated) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeAnimated) String

func (o *TLDocumentAttributeAnimated) String() string

func (*TLDocumentAttributeAnimated) WriteBareTo

func (o *TLDocumentAttributeAnimated) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeAudio

type TLDocumentAttributeAudio struct {
	Flags     uint   // flags:#
	Duration  int    // duration:int
	Title     string // flags.0?title:string
	Performer string // flags.1?performer:string
	Waveform  []byte // flags.2?waveform:bytes
}

TLDocumentAttributeAudio represents ctor documentAttributeAudio#9852f9c6 flags:# flags.10?voice:true duration:int flags.0?title:string flags.1?performer:string flags.2?waveform:bytes = DocumentAttribute from Telegram

func (*TLDocumentAttributeAudio) Cmd

func (*TLDocumentAttributeAudio) HasPerformer

func (o *TLDocumentAttributeAudio) HasPerformer() bool

func (*TLDocumentAttributeAudio) HasTitle

func (o *TLDocumentAttributeAudio) HasTitle() bool

func (*TLDocumentAttributeAudio) HasWaveform

func (o *TLDocumentAttributeAudio) HasWaveform() bool

func (*TLDocumentAttributeAudio) IsTLDocumentAttribute

func (o *TLDocumentAttributeAudio) IsTLDocumentAttribute()

func (*TLDocumentAttributeAudio) ReadBareFrom

func (o *TLDocumentAttributeAudio) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeAudio) SetHasPerformer

func (o *TLDocumentAttributeAudio) SetHasPerformer(v bool)

func (*TLDocumentAttributeAudio) SetHasTitle

func (o *TLDocumentAttributeAudio) SetHasTitle(v bool)

func (*TLDocumentAttributeAudio) SetHasWaveform

func (o *TLDocumentAttributeAudio) SetHasWaveform(v bool)

func (*TLDocumentAttributeAudio) SetVoice

func (o *TLDocumentAttributeAudio) SetVoice(v bool)

func (*TLDocumentAttributeAudio) String

func (o *TLDocumentAttributeAudio) String() string

func (*TLDocumentAttributeAudio) Voice

func (o *TLDocumentAttributeAudio) Voice() bool

func (*TLDocumentAttributeAudio) WriteBareTo

func (o *TLDocumentAttributeAudio) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeFilename

type TLDocumentAttributeFilename struct {
	FileName string // file_name:string
}

TLDocumentAttributeFilename represents ctor documentAttributeFilename#15590068 file_name:string = DocumentAttribute from Telegram

func (*TLDocumentAttributeFilename) Cmd

func (*TLDocumentAttributeFilename) IsTLDocumentAttribute

func (o *TLDocumentAttributeFilename) IsTLDocumentAttribute()

func (*TLDocumentAttributeFilename) ReadBareFrom

func (o *TLDocumentAttributeFilename) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeFilename) String

func (o *TLDocumentAttributeFilename) String() string

func (*TLDocumentAttributeFilename) WriteBareTo

func (o *TLDocumentAttributeFilename) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeHasStickers

type TLDocumentAttributeHasStickers struct {
}

TLDocumentAttributeHasStickers represents ctor documentAttributeHasStickers#9801d2f7 = DocumentAttribute from Telegram

func (*TLDocumentAttributeHasStickers) Cmd

func (*TLDocumentAttributeHasStickers) IsTLDocumentAttribute

func (o *TLDocumentAttributeHasStickers) IsTLDocumentAttribute()

func (*TLDocumentAttributeHasStickers) ReadBareFrom

func (o *TLDocumentAttributeHasStickers) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeHasStickers) String

func (*TLDocumentAttributeHasStickers) WriteBareTo

func (o *TLDocumentAttributeHasStickers) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeImageSize

type TLDocumentAttributeImageSize struct {
	W int // w:int
	H int // h:int
}

TLDocumentAttributeImageSize represents ctor documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute from Telegram

func (*TLDocumentAttributeImageSize) Cmd

func (*TLDocumentAttributeImageSize) IsTLDocumentAttribute

func (o *TLDocumentAttributeImageSize) IsTLDocumentAttribute()

func (*TLDocumentAttributeImageSize) ReadBareFrom

func (o *TLDocumentAttributeImageSize) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeImageSize) String

func (*TLDocumentAttributeImageSize) WriteBareTo

func (o *TLDocumentAttributeImageSize) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeSticker

type TLDocumentAttributeSticker struct {
	Flags      uint                  // flags:#
	Alt        string                // alt:string
	Stickerset TLInputStickerSetType // stickerset:InputStickerSet
	MaskCoords *TLMaskCoords         // flags.0?mask_coords:MaskCoords
}

TLDocumentAttributeSticker represents ctor documentAttributeSticker#6319d612 flags:# flags.1?mask:true alt:string stickerset:InputStickerSet flags.0?mask_coords:MaskCoords = DocumentAttribute from Telegram

func (*TLDocumentAttributeSticker) Cmd

func (*TLDocumentAttributeSticker) HasMaskCoords

func (o *TLDocumentAttributeSticker) HasMaskCoords() bool

func (*TLDocumentAttributeSticker) IsTLDocumentAttribute

func (o *TLDocumentAttributeSticker) IsTLDocumentAttribute()

func (*TLDocumentAttributeSticker) Mask

func (o *TLDocumentAttributeSticker) Mask() bool

func (*TLDocumentAttributeSticker) ReadBareFrom

func (o *TLDocumentAttributeSticker) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeSticker) SetHasMaskCoords

func (o *TLDocumentAttributeSticker) SetHasMaskCoords(v bool)

func (*TLDocumentAttributeSticker) SetMask

func (o *TLDocumentAttributeSticker) SetMask(v bool)

func (*TLDocumentAttributeSticker) String

func (o *TLDocumentAttributeSticker) String() string

func (*TLDocumentAttributeSticker) WriteBareTo

func (o *TLDocumentAttributeSticker) WriteBareTo(w *tl.Writer)

type TLDocumentAttributeType

type TLDocumentAttributeType interface {
	IsTLDocumentAttribute()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLDocumentAttributeType represents DocumentAttribute from Telegram

type TLDocumentAttributeVideo

type TLDocumentAttributeVideo struct {
	Duration int // duration:int
	W        int // w:int
	H        int // h:int
}

TLDocumentAttributeVideo represents ctor documentAttributeVideo#5910cccb duration:int w:int h:int = DocumentAttribute from Telegram

func (*TLDocumentAttributeVideo) Cmd

func (*TLDocumentAttributeVideo) IsTLDocumentAttribute

func (o *TLDocumentAttributeVideo) IsTLDocumentAttribute()

func (*TLDocumentAttributeVideo) ReadBareFrom

func (o *TLDocumentAttributeVideo) ReadBareFrom(r *tl.Reader)

func (*TLDocumentAttributeVideo) String

func (o *TLDocumentAttributeVideo) String() string

func (*TLDocumentAttributeVideo) WriteBareTo

func (o *TLDocumentAttributeVideo) WriteBareTo(w *tl.Writer)

type TLDocumentEmpty

type TLDocumentEmpty struct {
	ID uint64 // id:long
}

TLDocumentEmpty represents ctor documentEmpty#36f8c871 id:long = Document from Telegram

func (*TLDocumentEmpty) Cmd

func (o *TLDocumentEmpty) Cmd() uint32

func (*TLDocumentEmpty) IsTLDocument

func (o *TLDocumentEmpty) IsTLDocument()

func (*TLDocumentEmpty) ReadBareFrom

func (o *TLDocumentEmpty) ReadBareFrom(r *tl.Reader)

func (*TLDocumentEmpty) String

func (o *TLDocumentEmpty) String() string

func (*TLDocumentEmpty) WriteBareTo

func (o *TLDocumentEmpty) WriteBareTo(w *tl.Writer)

type TLDocumentType

type TLDocumentType interface {
	IsTLDocument()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLDocumentType represents Document from Telegram

type TLDraftMessage

type TLDraftMessage struct {
	Flags        uint                  // flags:#
	ReplyToMsgID int                   // flags.0?reply_to_msg_id:int
	Message      string                // message:string
	Entities     []TLMessageEntityType // flags.3?entities:Vector<MessageEntity>
	Date         int                   // date:int
}

TLDraftMessage represents ctor draftMessage#fd8e711f flags:# flags.1?no_webpage:true flags.0?reply_to_msg_id:int message:string flags.3?entities:Vector<MessageEntity> date:int = DraftMessage from Telegram

func (*TLDraftMessage) Cmd

func (o *TLDraftMessage) Cmd() uint32

func (*TLDraftMessage) HasEntities

func (o *TLDraftMessage) HasEntities() bool

func (*TLDraftMessage) HasReplyToMsgID

func (o *TLDraftMessage) HasReplyToMsgID() bool

func (*TLDraftMessage) IsTLDraftMessage

func (o *TLDraftMessage) IsTLDraftMessage()

func (*TLDraftMessage) NoWebpage

func (o *TLDraftMessage) NoWebpage() bool

func (*TLDraftMessage) ReadBareFrom

func (o *TLDraftMessage) ReadBareFrom(r *tl.Reader)

func (*TLDraftMessage) SetHasEntities

func (o *TLDraftMessage) SetHasEntities(v bool)

func (*TLDraftMessage) SetHasReplyToMsgID

func (o *TLDraftMessage) SetHasReplyToMsgID(v bool)

func (*TLDraftMessage) SetNoWebpage

func (o *TLDraftMessage) SetNoWebpage(v bool)

func (*TLDraftMessage) String

func (o *TLDraftMessage) String() string

func (*TLDraftMessage) WriteBareTo

func (o *TLDraftMessage) WriteBareTo(w *tl.Writer)

type TLDraftMessageEmpty

type TLDraftMessageEmpty struct {
}

TLDraftMessageEmpty represents ctor draftMessageEmpty#ba4baec5 = DraftMessage from Telegram

func (*TLDraftMessageEmpty) Cmd

func (o *TLDraftMessageEmpty) Cmd() uint32

func (*TLDraftMessageEmpty) IsTLDraftMessage

func (o *TLDraftMessageEmpty) IsTLDraftMessage()

func (*TLDraftMessageEmpty) ReadBareFrom

func (o *TLDraftMessageEmpty) ReadBareFrom(r *tl.Reader)

func (*TLDraftMessageEmpty) String

func (o *TLDraftMessageEmpty) String() string

func (*TLDraftMessageEmpty) WriteBareTo

func (o *TLDraftMessageEmpty) WriteBareTo(w *tl.Writer)

type TLDraftMessageType

type TLDraftMessageType interface {
	IsTLDraftMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLDraftMessageType represents DraftMessage from Telegram

type TLEncryptedChat

type TLEncryptedChat struct {
	ID             int    // id:int
	AccessHash     uint64 // access_hash:long
	Date           int    // date:int
	AdminID        int    // admin_id:int
	ParticipantID  int    // participant_id:int
	GAOrB          []byte // g_a_or_b:bytes
	KeyFingerprint uint64 // key_fingerprint:long
}

TLEncryptedChat represents ctor encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat from Telegram

func (*TLEncryptedChat) Cmd

func (o *TLEncryptedChat) Cmd() uint32

func (*TLEncryptedChat) IsTLEncryptedChat

func (o *TLEncryptedChat) IsTLEncryptedChat()

func (*TLEncryptedChat) ReadBareFrom

func (o *TLEncryptedChat) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedChat) String

func (o *TLEncryptedChat) String() string

func (*TLEncryptedChat) WriteBareTo

func (o *TLEncryptedChat) WriteBareTo(w *tl.Writer)

type TLEncryptedChatDiscarded

type TLEncryptedChatDiscarded struct {
	ID int // id:int
}

TLEncryptedChatDiscarded represents ctor encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat from Telegram

func (*TLEncryptedChatDiscarded) Cmd

func (*TLEncryptedChatDiscarded) IsTLEncryptedChat

func (o *TLEncryptedChatDiscarded) IsTLEncryptedChat()

func (*TLEncryptedChatDiscarded) ReadBareFrom

func (o *TLEncryptedChatDiscarded) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedChatDiscarded) String

func (o *TLEncryptedChatDiscarded) String() string

func (*TLEncryptedChatDiscarded) WriteBareTo

func (o *TLEncryptedChatDiscarded) WriteBareTo(w *tl.Writer)

type TLEncryptedChatEmpty

type TLEncryptedChatEmpty struct {
	ID int // id:int
}

TLEncryptedChatEmpty represents ctor encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat from Telegram

func (*TLEncryptedChatEmpty) Cmd

func (o *TLEncryptedChatEmpty) Cmd() uint32

func (*TLEncryptedChatEmpty) IsTLEncryptedChat

func (o *TLEncryptedChatEmpty) IsTLEncryptedChat()

func (*TLEncryptedChatEmpty) ReadBareFrom

func (o *TLEncryptedChatEmpty) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedChatEmpty) String

func (o *TLEncryptedChatEmpty) String() string

func (*TLEncryptedChatEmpty) WriteBareTo

func (o *TLEncryptedChatEmpty) WriteBareTo(w *tl.Writer)

type TLEncryptedChatRequested

type TLEncryptedChatRequested struct {
	ID            int    // id:int
	AccessHash    uint64 // access_hash:long
	Date          int    // date:int
	AdminID       int    // admin_id:int
	ParticipantID int    // participant_id:int
	GA            []byte // g_a:bytes
}

TLEncryptedChatRequested represents ctor encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat from Telegram

func (*TLEncryptedChatRequested) Cmd

func (*TLEncryptedChatRequested) IsTLEncryptedChat

func (o *TLEncryptedChatRequested) IsTLEncryptedChat()

func (*TLEncryptedChatRequested) ReadBareFrom

func (o *TLEncryptedChatRequested) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedChatRequested) String

func (o *TLEncryptedChatRequested) String() string

func (*TLEncryptedChatRequested) WriteBareTo

func (o *TLEncryptedChatRequested) WriteBareTo(w *tl.Writer)

type TLEncryptedChatType

type TLEncryptedChatType interface {
	IsTLEncryptedChat()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLEncryptedChatType represents EncryptedChat from Telegram

type TLEncryptedChatWaiting

type TLEncryptedChatWaiting struct {
	ID            int    // id:int
	AccessHash    uint64 // access_hash:long
	Date          int    // date:int
	AdminID       int    // admin_id:int
	ParticipantID int    // participant_id:int
}

TLEncryptedChatWaiting represents ctor encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat from Telegram

func (*TLEncryptedChatWaiting) Cmd

func (o *TLEncryptedChatWaiting) Cmd() uint32

func (*TLEncryptedChatWaiting) IsTLEncryptedChat

func (o *TLEncryptedChatWaiting) IsTLEncryptedChat()

func (*TLEncryptedChatWaiting) ReadBareFrom

func (o *TLEncryptedChatWaiting) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedChatWaiting) String

func (o *TLEncryptedChatWaiting) String() string

func (*TLEncryptedChatWaiting) WriteBareTo

func (o *TLEncryptedChatWaiting) WriteBareTo(w *tl.Writer)

type TLEncryptedFile

type TLEncryptedFile struct {
	ID             uint64 // id:long
	AccessHash     uint64 // access_hash:long
	Size           int    // size:int
	DCID           int    // dc_id:int
	KeyFingerprint int    // key_fingerprint:int
}

TLEncryptedFile represents ctor encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile from Telegram

func (*TLEncryptedFile) Cmd

func (o *TLEncryptedFile) Cmd() uint32

func (*TLEncryptedFile) IsTLEncryptedFile

func (o *TLEncryptedFile) IsTLEncryptedFile()

func (*TLEncryptedFile) ReadBareFrom

func (o *TLEncryptedFile) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedFile) String

func (o *TLEncryptedFile) String() string

func (*TLEncryptedFile) WriteBareTo

func (o *TLEncryptedFile) WriteBareTo(w *tl.Writer)

type TLEncryptedFileEmpty

type TLEncryptedFileEmpty struct {
}

TLEncryptedFileEmpty represents ctor encryptedFileEmpty#c21f497e = EncryptedFile from Telegram

func (*TLEncryptedFileEmpty) Cmd

func (o *TLEncryptedFileEmpty) Cmd() uint32

func (*TLEncryptedFileEmpty) IsTLEncryptedFile

func (o *TLEncryptedFileEmpty) IsTLEncryptedFile()

func (*TLEncryptedFileEmpty) ReadBareFrom

func (o *TLEncryptedFileEmpty) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedFileEmpty) String

func (o *TLEncryptedFileEmpty) String() string

func (*TLEncryptedFileEmpty) WriteBareTo

func (o *TLEncryptedFileEmpty) WriteBareTo(w *tl.Writer)

type TLEncryptedFileType

type TLEncryptedFileType interface {
	IsTLEncryptedFile()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLEncryptedFileType represents EncryptedFile from Telegram

type TLEncryptedMessage

type TLEncryptedMessage struct {
	RandomID uint64              // random_id:long
	ChatID   int                 // chat_id:int
	Date     int                 // date:int
	Bytes    []byte              // bytes:bytes
	File     TLEncryptedFileType // file:EncryptedFile
}

TLEncryptedMessage represents ctor encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage from Telegram

func (*TLEncryptedMessage) Cmd

func (o *TLEncryptedMessage) Cmd() uint32

func (*TLEncryptedMessage) IsTLEncryptedMessage

func (o *TLEncryptedMessage) IsTLEncryptedMessage()

func (*TLEncryptedMessage) ReadBareFrom

func (o *TLEncryptedMessage) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedMessage) String

func (o *TLEncryptedMessage) String() string

func (*TLEncryptedMessage) WriteBareTo

func (o *TLEncryptedMessage) WriteBareTo(w *tl.Writer)

type TLEncryptedMessageService

type TLEncryptedMessageService struct {
	RandomID uint64 // random_id:long
	ChatID   int    // chat_id:int
	Date     int    // date:int
	Bytes    []byte // bytes:bytes
}

TLEncryptedMessageService represents ctor encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage from Telegram

func (*TLEncryptedMessageService) Cmd

func (*TLEncryptedMessageService) IsTLEncryptedMessage

func (o *TLEncryptedMessageService) IsTLEncryptedMessage()

func (*TLEncryptedMessageService) ReadBareFrom

func (o *TLEncryptedMessageService) ReadBareFrom(r *tl.Reader)

func (*TLEncryptedMessageService) String

func (o *TLEncryptedMessageService) String() string

func (*TLEncryptedMessageService) WriteBareTo

func (o *TLEncryptedMessageService) WriteBareTo(w *tl.Writer)

type TLEncryptedMessageType

type TLEncryptedMessageType interface {
	IsTLEncryptedMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLEncryptedMessageType represents EncryptedMessage from Telegram

type TLError

type TLError struct {
	Code int    // code:int
	Text string // text:string
}

TLError represents ctor error#c4b9f9bb code:int text:string = Error from Telegram

func (*TLError) Cmd

func (o *TLError) Cmd() uint32

func (*TLError) ReadBareFrom

func (o *TLError) ReadBareFrom(r *tl.Reader)

func (*TLError) String

func (o *TLError) String() string

func (*TLError) WriteBareTo

func (o *TLError) WriteBareTo(w *tl.Writer)

type TLExportedChatInviteType

type TLExportedChatInviteType interface {
	IsTLExportedChatInvite()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLExportedChatInviteType represents ExportedChatInvite from Telegram

type TLExportedMessageLink struct {
	Link string // link:string
}

TLExportedMessageLink represents ctor exportedMessageLink#1f486803 link:string = ExportedMessageLink from Telegram

func (*TLExportedMessageLink) Cmd

func (o *TLExportedMessageLink) Cmd() uint32

func (*TLExportedMessageLink) ReadBareFrom

func (o *TLExportedMessageLink) ReadBareFrom(r *tl.Reader)

func (*TLExportedMessageLink) String

func (o *TLExportedMessageLink) String() string

func (*TLExportedMessageLink) WriteBareTo

func (o *TLExportedMessageLink) WriteBareTo(w *tl.Writer)

type TLFileLocation

type TLFileLocation struct {
	DCID     int    // dc_id:int
	VolumeID uint64 // volume_id:long
	LocalID  int    // local_id:int
	Secret   uint64 // secret:long
}

TLFileLocation represents ctor fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation from Telegram

func (*TLFileLocation) Cmd

func (o *TLFileLocation) Cmd() uint32

func (*TLFileLocation) IsTLFileLocation

func (o *TLFileLocation) IsTLFileLocation()

func (*TLFileLocation) ReadBareFrom

func (o *TLFileLocation) ReadBareFrom(r *tl.Reader)

func (*TLFileLocation) String

func (o *TLFileLocation) String() string

func (*TLFileLocation) WriteBareTo

func (o *TLFileLocation) WriteBareTo(w *tl.Writer)

type TLFileLocationType

type TLFileLocationType interface {
	IsTLFileLocation()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLFileLocationType represents FileLocation from Telegram

type TLFileLocationUnavailable

type TLFileLocationUnavailable struct {
	VolumeID uint64 // volume_id:long
	LocalID  int    // local_id:int
	Secret   uint64 // secret:long
}

TLFileLocationUnavailable represents ctor fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation from Telegram

func (*TLFileLocationUnavailable) Cmd

func (*TLFileLocationUnavailable) IsTLFileLocation

func (o *TLFileLocationUnavailable) IsTLFileLocation()

func (*TLFileLocationUnavailable) ReadBareFrom

func (o *TLFileLocationUnavailable) ReadBareFrom(r *tl.Reader)

func (*TLFileLocationUnavailable) String

func (o *TLFileLocationUnavailable) String() string

func (*TLFileLocationUnavailable) WriteBareTo

func (o *TLFileLocationUnavailable) WriteBareTo(w *tl.Writer)

type TLFoundGif

type TLFoundGif struct {
	URL         string // url:string
	ThumbURL    string // thumb_url:string
	ContentURL  string // content_url:string
	ContentType string // content_type:string
	W           int    // w:int
	H           int    // h:int
}

TLFoundGif represents ctor foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif from Telegram

func (*TLFoundGif) Cmd

func (o *TLFoundGif) Cmd() uint32

func (*TLFoundGif) IsTLFoundGif

func (o *TLFoundGif) IsTLFoundGif()

func (*TLFoundGif) ReadBareFrom

func (o *TLFoundGif) ReadBareFrom(r *tl.Reader)

func (*TLFoundGif) String

func (o *TLFoundGif) String() string

func (*TLFoundGif) WriteBareTo

func (o *TLFoundGif) WriteBareTo(w *tl.Writer)

type TLFoundGifCached

type TLFoundGifCached struct {
	URL      string         // url:string
	Photo    TLPhotoType    // photo:Photo
	Document TLDocumentType // document:Document
}

TLFoundGifCached represents ctor foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif from Telegram

func (*TLFoundGifCached) Cmd

func (o *TLFoundGifCached) Cmd() uint32

func (*TLFoundGifCached) IsTLFoundGif

func (o *TLFoundGifCached) IsTLFoundGif()

func (*TLFoundGifCached) ReadBareFrom

func (o *TLFoundGifCached) ReadBareFrom(r *tl.Reader)

func (*TLFoundGifCached) String

func (o *TLFoundGifCached) String() string

func (*TLFoundGifCached) WriteBareTo

func (o *TLFoundGifCached) WriteBareTo(w *tl.Writer)

type TLFoundGifType

type TLFoundGifType interface {
	IsTLFoundGif()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLFoundGifType represents FoundGif from Telegram

type TLFutureSalt

type TLFutureSalt struct {
	ValidSince int    // valid_since:int
	ValidUntil int    // valid_until:int
	Salt       uint64 // salt:long
}

TLFutureSalt represents ctor future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt from MTProto

func (*TLFutureSalt) Cmd

func (o *TLFutureSalt) Cmd() uint32

func (*TLFutureSalt) ReadBareFrom

func (o *TLFutureSalt) ReadBareFrom(r *tl.Reader)

func (*TLFutureSalt) String

func (o *TLFutureSalt) String() string

func (*TLFutureSalt) WriteBareTo

func (o *TLFutureSalt) WriteBareTo(w *tl.Writer)

type TLFutureSalts

type TLFutureSalts struct {
	ReqMsgID uint64          // req_msg_id:long
	Now      int             // now:int
	Salts    []*TLFutureSalt // salts:vector<future_salt>
}

TLFutureSalts represents ctor future_salts#ae500895 req_msg_id:long now:int salts:vector<future_salt> = FutureSalts from MTProto

func (*TLFutureSalts) Cmd

func (o *TLFutureSalts) Cmd() uint32

func (*TLFutureSalts) ReadBareFrom

func (o *TLFutureSalts) ReadBareFrom(r *tl.Reader)

func (*TLFutureSalts) String

func (o *TLFutureSalts) String() string

func (*TLFutureSalts) WriteBareTo

func (o *TLFutureSalts) WriteBareTo(w *tl.Writer)

type TLGame

type TLGame struct {
	Flags       uint           // flags:#
	ID          uint64         // id:long
	AccessHash  uint64         // access_hash:long
	ShortName   string         // short_name:string
	Title       string         // title:string
	Description string         // description:string
	Photo       TLPhotoType    // photo:Photo
	Document    TLDocumentType // flags.0?document:Document
}

TLGame represents ctor game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo flags.0?document:Document = Game from Telegram

func (*TLGame) Cmd

func (o *TLGame) Cmd() uint32

func (*TLGame) HasDocument

func (o *TLGame) HasDocument() bool

func (*TLGame) ReadBareFrom

func (o *TLGame) ReadBareFrom(r *tl.Reader)

func (*TLGame) SetHasDocument

func (o *TLGame) SetHasDocument(v bool)

func (*TLGame) String

func (o *TLGame) String() string

func (*TLGame) WriteBareTo

func (o *TLGame) WriteBareTo(w *tl.Writer)

type TLGeoPoint

type TLGeoPoint struct {
	Long float64 // long:double
	Lat  float64 // lat:double
}

TLGeoPoint represents ctor geoPoint#2049d70c long:double lat:double = GeoPoint from Telegram

func (*TLGeoPoint) Cmd

func (o *TLGeoPoint) Cmd() uint32

func (*TLGeoPoint) IsTLGeoPoint

func (o *TLGeoPoint) IsTLGeoPoint()

func (*TLGeoPoint) ReadBareFrom

func (o *TLGeoPoint) ReadBareFrom(r *tl.Reader)

func (*TLGeoPoint) String

func (o *TLGeoPoint) String() string

func (*TLGeoPoint) WriteBareTo

func (o *TLGeoPoint) WriteBareTo(w *tl.Writer)

type TLGeoPointEmpty

type TLGeoPointEmpty struct {
}

TLGeoPointEmpty represents ctor geoPointEmpty#1117dd5f = GeoPoint from Telegram

func (*TLGeoPointEmpty) Cmd

func (o *TLGeoPointEmpty) Cmd() uint32

func (*TLGeoPointEmpty) IsTLGeoPoint

func (o *TLGeoPointEmpty) IsTLGeoPoint()

func (*TLGeoPointEmpty) ReadBareFrom

func (o *TLGeoPointEmpty) ReadBareFrom(r *tl.Reader)

func (*TLGeoPointEmpty) String

func (o *TLGeoPointEmpty) String() string

func (*TLGeoPointEmpty) WriteBareTo

func (o *TLGeoPointEmpty) WriteBareTo(w *tl.Writer)

type TLGeoPointType

type TLGeoPointType interface {
	IsTLGeoPoint()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLGeoPointType represents GeoPoint from Telegram

type TLGetFutureSalts

type TLGetFutureSalts struct {
	Num int // num:int
}

TLGetFutureSalts represents func get_future_salts#b921bd04 num:int = FutureSalts from MTProto

func (*TLGetFutureSalts) Cmd

func (o *TLGetFutureSalts) Cmd() uint32

func (*TLGetFutureSalts) ReadBareFrom

func (o *TLGetFutureSalts) ReadBareFrom(r *tl.Reader)

func (*TLGetFutureSalts) String

func (o *TLGetFutureSalts) String() string

func (*TLGetFutureSalts) WriteBareTo

func (o *TLGetFutureSalts) WriteBareTo(w *tl.Writer)

type TLHelpAppUpdate

type TLHelpAppUpdate struct {
	ID       int    // id:int
	Critical bool   // critical:Bool
	URL      string // url:string
	Text     string // text:string
}

TLHelpAppUpdate represents ctor help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate from Telegram

func (*TLHelpAppUpdate) Cmd

func (o *TLHelpAppUpdate) Cmd() uint32

func (*TLHelpAppUpdate) IsTLHelpAppUpdate

func (o *TLHelpAppUpdate) IsTLHelpAppUpdate()

func (*TLHelpAppUpdate) ReadBareFrom

func (o *TLHelpAppUpdate) ReadBareFrom(r *tl.Reader)

func (*TLHelpAppUpdate) String

func (o *TLHelpAppUpdate) String() string

func (*TLHelpAppUpdate) WriteBareTo

func (o *TLHelpAppUpdate) WriteBareTo(w *tl.Writer)

type TLHelpAppUpdateType

type TLHelpAppUpdateType interface {
	IsTLHelpAppUpdate()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLHelpAppUpdateType represents help.AppUpdate from Telegram

type TLHelpGetAppChangelog

type TLHelpGetAppChangelog struct {
	PrevAppVersion string // prev_app_version:string
}

TLHelpGetAppChangelog represents func help.getAppChangelog#9010ef6f prev_app_version:string = Updates from Telegram

func (*TLHelpGetAppChangelog) Cmd

func (o *TLHelpGetAppChangelog) Cmd() uint32

func (*TLHelpGetAppChangelog) ReadBareFrom

func (o *TLHelpGetAppChangelog) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetAppChangelog) String

func (o *TLHelpGetAppChangelog) String() string

func (*TLHelpGetAppChangelog) WriteBareTo

func (o *TLHelpGetAppChangelog) WriteBareTo(w *tl.Writer)

type TLHelpGetAppUpdate

type TLHelpGetAppUpdate struct {
}

TLHelpGetAppUpdate represents func help.getAppUpdate#ae2de196 = help.AppUpdate from Telegram

func (*TLHelpGetAppUpdate) Cmd

func (o *TLHelpGetAppUpdate) Cmd() uint32

func (*TLHelpGetAppUpdate) ReadBareFrom

func (o *TLHelpGetAppUpdate) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetAppUpdate) String

func (o *TLHelpGetAppUpdate) String() string

func (*TLHelpGetAppUpdate) WriteBareTo

func (o *TLHelpGetAppUpdate) WriteBareTo(w *tl.Writer)

type TLHelpGetConfig

type TLHelpGetConfig struct {
}

TLHelpGetConfig represents func help.getConfig#c4f9186b = Config from Telegram

func (*TLHelpGetConfig) Cmd

func (o *TLHelpGetConfig) Cmd() uint32

func (*TLHelpGetConfig) ReadBareFrom

func (o *TLHelpGetConfig) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetConfig) String

func (o *TLHelpGetConfig) String() string

func (*TLHelpGetConfig) WriteBareTo

func (o *TLHelpGetConfig) WriteBareTo(w *tl.Writer)

type TLHelpGetInviteText

type TLHelpGetInviteText struct {
}

TLHelpGetInviteText represents func help.getInviteText#4d392343 = help.InviteText from Telegram

func (*TLHelpGetInviteText) Cmd

func (o *TLHelpGetInviteText) Cmd() uint32

func (*TLHelpGetInviteText) ReadBareFrom

func (o *TLHelpGetInviteText) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetInviteText) String

func (o *TLHelpGetInviteText) String() string

func (*TLHelpGetInviteText) WriteBareTo

func (o *TLHelpGetInviteText) WriteBareTo(w *tl.Writer)

type TLHelpGetNearestDC

type TLHelpGetNearestDC struct {
}

TLHelpGetNearestDC represents func help.getNearestDc#1fb33026 = NearestDc from Telegram

func (*TLHelpGetNearestDC) Cmd

func (o *TLHelpGetNearestDC) Cmd() uint32

func (*TLHelpGetNearestDC) ReadBareFrom

func (o *TLHelpGetNearestDC) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetNearestDC) String

func (o *TLHelpGetNearestDC) String() string

func (*TLHelpGetNearestDC) WriteBareTo

func (o *TLHelpGetNearestDC) WriteBareTo(w *tl.Writer)

type TLHelpGetSupport

type TLHelpGetSupport struct {
}

TLHelpGetSupport represents func help.getSupport#9cdf08cd = help.Support from Telegram

func (*TLHelpGetSupport) Cmd

func (o *TLHelpGetSupport) Cmd() uint32

func (*TLHelpGetSupport) ReadBareFrom

func (o *TLHelpGetSupport) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetSupport) String

func (o *TLHelpGetSupport) String() string

func (*TLHelpGetSupport) WriteBareTo

func (o *TLHelpGetSupport) WriteBareTo(w *tl.Writer)

type TLHelpGetTermsOfService

type TLHelpGetTermsOfService struct {
}

TLHelpGetTermsOfService represents func help.getTermsOfService#350170f3 = help.TermsOfService from Telegram

func (*TLHelpGetTermsOfService) Cmd

func (*TLHelpGetTermsOfService) ReadBareFrom

func (o *TLHelpGetTermsOfService) ReadBareFrom(r *tl.Reader)

func (*TLHelpGetTermsOfService) String

func (o *TLHelpGetTermsOfService) String() string

func (*TLHelpGetTermsOfService) WriteBareTo

func (o *TLHelpGetTermsOfService) WriteBareTo(w *tl.Writer)

type TLHelpInviteText

type TLHelpInviteText struct {
	Message string // message:string
}

TLHelpInviteText represents ctor help.inviteText#18cb9f78 message:string = help.InviteText from Telegram

func (*TLHelpInviteText) Cmd

func (o *TLHelpInviteText) Cmd() uint32

func (*TLHelpInviteText) ReadBareFrom

func (o *TLHelpInviteText) ReadBareFrom(r *tl.Reader)

func (*TLHelpInviteText) String

func (o *TLHelpInviteText) String() string

func (*TLHelpInviteText) WriteBareTo

func (o *TLHelpInviteText) WriteBareTo(w *tl.Writer)

type TLHelpNoAppUpdate

type TLHelpNoAppUpdate struct {
}

TLHelpNoAppUpdate represents ctor help.noAppUpdate#c45a6536 = help.AppUpdate from Telegram

func (*TLHelpNoAppUpdate) Cmd

func (o *TLHelpNoAppUpdate) Cmd() uint32

func (*TLHelpNoAppUpdate) IsTLHelpAppUpdate

func (o *TLHelpNoAppUpdate) IsTLHelpAppUpdate()

func (*TLHelpNoAppUpdate) ReadBareFrom

func (o *TLHelpNoAppUpdate) ReadBareFrom(r *tl.Reader)

func (*TLHelpNoAppUpdate) String

func (o *TLHelpNoAppUpdate) String() string

func (*TLHelpNoAppUpdate) WriteBareTo

func (o *TLHelpNoAppUpdate) WriteBareTo(w *tl.Writer)

type TLHelpSaveAppLog

type TLHelpSaveAppLog struct {
	Events []*TLInputAppEvent // events:Vector<InputAppEvent>
}

TLHelpSaveAppLog represents func help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool from Telegram

func (*TLHelpSaveAppLog) Cmd

func (o *TLHelpSaveAppLog) Cmd() uint32

func (*TLHelpSaveAppLog) ReadBareFrom

func (o *TLHelpSaveAppLog) ReadBareFrom(r *tl.Reader)

func (*TLHelpSaveAppLog) String

func (o *TLHelpSaveAppLog) String() string

func (*TLHelpSaveAppLog) WriteBareTo

func (o *TLHelpSaveAppLog) WriteBareTo(w *tl.Writer)

type TLHelpSetBotUpdatesStatus

type TLHelpSetBotUpdatesStatus struct {
	PendingUpdatesCount int    // pending_updates_count:int
	Message             string // message:string
}

TLHelpSetBotUpdatesStatus represents func help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool from Telegram

func (*TLHelpSetBotUpdatesStatus) Cmd

func (*TLHelpSetBotUpdatesStatus) ReadBareFrom

func (o *TLHelpSetBotUpdatesStatus) ReadBareFrom(r *tl.Reader)

func (*TLHelpSetBotUpdatesStatus) String

func (o *TLHelpSetBotUpdatesStatus) String() string

func (*TLHelpSetBotUpdatesStatus) WriteBareTo

func (o *TLHelpSetBotUpdatesStatus) WriteBareTo(w *tl.Writer)

type TLHelpSupport

type TLHelpSupport struct {
	PhoneNumber string     // phone_number:string
	User        TLUserType // user:User
}

TLHelpSupport represents ctor help.support#17c6b5f6 phone_number:string user:User = help.Support from Telegram

func (*TLHelpSupport) Cmd

func (o *TLHelpSupport) Cmd() uint32

func (*TLHelpSupport) ReadBareFrom

func (o *TLHelpSupport) ReadBareFrom(r *tl.Reader)

func (*TLHelpSupport) String

func (o *TLHelpSupport) String() string

func (*TLHelpSupport) WriteBareTo

func (o *TLHelpSupport) WriteBareTo(w *tl.Writer)

type TLHelpTermsOfService

type TLHelpTermsOfService struct {
	Text string // text:string
}

TLHelpTermsOfService represents ctor help.termsOfService#f1ee3e90 text:string = help.TermsOfService from Telegram

func (*TLHelpTermsOfService) Cmd

func (o *TLHelpTermsOfService) Cmd() uint32

func (*TLHelpTermsOfService) ReadBareFrom

func (o *TLHelpTermsOfService) ReadBareFrom(r *tl.Reader)

func (*TLHelpTermsOfService) String

func (o *TLHelpTermsOfService) String() string

func (*TLHelpTermsOfService) WriteBareTo

func (o *TLHelpTermsOfService) WriteBareTo(w *tl.Writer)

type TLHighScore

type TLHighScore struct {
	Pos    int // pos:int
	UserID int // user_id:int
	Score  int // score:int
}

TLHighScore represents ctor highScore#58fffcd0 pos:int user_id:int score:int = HighScore from Telegram

func (*TLHighScore) Cmd

func (o *TLHighScore) Cmd() uint32

func (*TLHighScore) ReadBareFrom

func (o *TLHighScore) ReadBareFrom(r *tl.Reader)

func (*TLHighScore) String

func (o *TLHighScore) String() string

func (*TLHighScore) WriteBareTo

func (o *TLHighScore) WriteBareTo(w *tl.Writer)

type TLHttpWait

type TLHttpWait struct {
	MaxDelay  int // max_delay:int
	WaitAfter int // wait_after:int
	MaxWait   int // max_wait:int
}

TLHttpWait represents func http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait from MTProto

func (*TLHttpWait) Cmd

func (o *TLHttpWait) Cmd() uint32

func (*TLHttpWait) ReadBareFrom

func (o *TLHttpWait) ReadBareFrom(r *tl.Reader)

func (*TLHttpWait) String

func (o *TLHttpWait) String() string

func (*TLHttpWait) WriteBareTo

func (o *TLHttpWait) WriteBareTo(w *tl.Writer)

type TLImportedContact

type TLImportedContact struct {
	UserID   int    // user_id:int
	ClientID uint64 // client_id:long
}

TLImportedContact represents ctor importedContact#d0028438 user_id:int client_id:long = ImportedContact from Telegram

func (*TLImportedContact) Cmd

func (o *TLImportedContact) Cmd() uint32

func (*TLImportedContact) ReadBareFrom

func (o *TLImportedContact) ReadBareFrom(r *tl.Reader)

func (*TLImportedContact) String

func (o *TLImportedContact) String() string

func (*TLImportedContact) WriteBareTo

func (o *TLImportedContact) WriteBareTo(w *tl.Writer)

type TLInitConnection

type TLInitConnection struct {
	APIID         int       // api_id:int
	DeviceModel   string    // device_model:string
	SystemVersion string    // system_version:string
	AppVersion    string    // app_version:string
	LangCode      string    // lang_code:string
	Query         tl.Object // query:Object
}

TLInitConnection represents func initConnection#69796de9 {X:Type} api_id:int device_model:string system_version:string app_version:string lang_code:string query:Object = Object from Telegram

func (*TLInitConnection) Cmd

func (o *TLInitConnection) Cmd() uint32

func (*TLInitConnection) ReadBareFrom

func (o *TLInitConnection) ReadBareFrom(r *tl.Reader)

func (*TLInitConnection) String

func (o *TLInitConnection) String() string

func (*TLInitConnection) WriteBareTo

func (o *TLInitConnection) WriteBareTo(w *tl.Writer)

type TLInlineBotSwitchPM

type TLInlineBotSwitchPM struct {
	Text       string // text:string
	StartParam string // start_param:string
}

TLInlineBotSwitchPM represents ctor inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM from Telegram

func (*TLInlineBotSwitchPM) Cmd

func (o *TLInlineBotSwitchPM) Cmd() uint32

func (*TLInlineBotSwitchPM) ReadBareFrom

func (o *TLInlineBotSwitchPM) ReadBareFrom(r *tl.Reader)

func (*TLInlineBotSwitchPM) String

func (o *TLInlineBotSwitchPM) String() string

func (*TLInlineBotSwitchPM) WriteBareTo

func (o *TLInlineBotSwitchPM) WriteBareTo(w *tl.Writer)

type TLInputAppEvent

type TLInputAppEvent struct {
	Time float64 // time:double
	Type string  // type:string
	Peer uint64  // peer:long
	Data string  // data:string
}

TLInputAppEvent represents ctor inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent from Telegram

func (*TLInputAppEvent) Cmd

func (o *TLInputAppEvent) Cmd() uint32

func (*TLInputAppEvent) ReadBareFrom

func (o *TLInputAppEvent) ReadBareFrom(r *tl.Reader)

func (*TLInputAppEvent) String

func (o *TLInputAppEvent) String() string

func (*TLInputAppEvent) WriteBareTo

func (o *TLInputAppEvent) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageGame

type TLInputBotInlineMessageGame struct {
	Flags       uint              // flags:#
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageGame represents ctor inputBotInlineMessageGame#4b425864 flags:# flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageGame) Cmd

func (*TLInputBotInlineMessageGame) HasReplyMarkup

func (o *TLInputBotInlineMessageGame) HasReplyMarkup() bool

func (*TLInputBotInlineMessageGame) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageGame) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageGame) ReadBareFrom

func (o *TLInputBotInlineMessageGame) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageGame) SetHasReplyMarkup

func (o *TLInputBotInlineMessageGame) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageGame) String

func (o *TLInputBotInlineMessageGame) String() string

func (*TLInputBotInlineMessageGame) WriteBareTo

func (o *TLInputBotInlineMessageGame) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageID

type TLInputBotInlineMessageID struct {
	DCID       int    // dc_id:int
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputBotInlineMessageID represents ctor inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID from Telegram

func (*TLInputBotInlineMessageID) Cmd

func (*TLInputBotInlineMessageID) ReadBareFrom

func (o *TLInputBotInlineMessageID) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageID) String

func (o *TLInputBotInlineMessageID) String() string

func (*TLInputBotInlineMessageID) WriteBareTo

func (o *TLInputBotInlineMessageID) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageMediaAuto

type TLInputBotInlineMessageMediaAuto struct {
	Flags       uint              // flags:#
	Caption     string            // caption:string
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageMediaAuto represents ctor inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageMediaAuto) Cmd

func (*TLInputBotInlineMessageMediaAuto) HasReplyMarkup

func (o *TLInputBotInlineMessageMediaAuto) HasReplyMarkup() bool

func (*TLInputBotInlineMessageMediaAuto) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageMediaAuto) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageMediaAuto) ReadBareFrom

func (o *TLInputBotInlineMessageMediaAuto) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageMediaAuto) SetHasReplyMarkup

func (o *TLInputBotInlineMessageMediaAuto) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageMediaAuto) String

func (*TLInputBotInlineMessageMediaAuto) WriteBareTo

func (o *TLInputBotInlineMessageMediaAuto) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageMediaContact

type TLInputBotInlineMessageMediaContact struct {
	Flags       uint              // flags:#
	PhoneNumber string            // phone_number:string
	FirstName   string            // first_name:string
	LastName    string            // last_name:string
	ReplyMarkup TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageMediaContact represents ctor inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageMediaContact) Cmd

func (*TLInputBotInlineMessageMediaContact) HasReplyMarkup

func (o *TLInputBotInlineMessageMediaContact) HasReplyMarkup() bool

func (*TLInputBotInlineMessageMediaContact) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageMediaContact) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageMediaContact) ReadBareFrom

func (o *TLInputBotInlineMessageMediaContact) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageMediaContact) SetHasReplyMarkup

func (o *TLInputBotInlineMessageMediaContact) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageMediaContact) String

func (*TLInputBotInlineMessageMediaContact) WriteBareTo

func (o *TLInputBotInlineMessageMediaContact) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageMediaGeo

type TLInputBotInlineMessageMediaGeo struct {
	Flags       uint                // flags:#
	GeoPoint    TLInputGeoPointType // geo_point:InputGeoPoint
	ReplyMarkup TLReplyMarkupType   // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageMediaGeo represents ctor inputBotInlineMessageMediaGeo#f4a59de1 flags:# geo_point:InputGeoPoint flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageMediaGeo) Cmd

func (*TLInputBotInlineMessageMediaGeo) HasReplyMarkup

func (o *TLInputBotInlineMessageMediaGeo) HasReplyMarkup() bool

func (*TLInputBotInlineMessageMediaGeo) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageMediaGeo) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageMediaGeo) ReadBareFrom

func (o *TLInputBotInlineMessageMediaGeo) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageMediaGeo) SetHasReplyMarkup

func (o *TLInputBotInlineMessageMediaGeo) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageMediaGeo) String

func (*TLInputBotInlineMessageMediaGeo) WriteBareTo

func (o *TLInputBotInlineMessageMediaGeo) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageMediaVenue

type TLInputBotInlineMessageMediaVenue struct {
	Flags       uint                // flags:#
	GeoPoint    TLInputGeoPointType // geo_point:InputGeoPoint
	Title       string              // title:string
	Address     string              // address:string
	Provider    string              // provider:string
	VenueID     string              // venue_id:string
	ReplyMarkup TLReplyMarkupType   // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageMediaVenue represents ctor inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageMediaVenue) Cmd

func (*TLInputBotInlineMessageMediaVenue) HasReplyMarkup

func (o *TLInputBotInlineMessageMediaVenue) HasReplyMarkup() bool

func (*TLInputBotInlineMessageMediaVenue) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageMediaVenue) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageMediaVenue) ReadBareFrom

func (o *TLInputBotInlineMessageMediaVenue) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageMediaVenue) SetHasReplyMarkup

func (o *TLInputBotInlineMessageMediaVenue) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageMediaVenue) String

func (*TLInputBotInlineMessageMediaVenue) WriteBareTo

func (o *TLInputBotInlineMessageMediaVenue) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageText

type TLInputBotInlineMessageText struct {
	Flags       uint                  // flags:#
	Message     string                // message:string
	Entities    []TLMessageEntityType // flags.1?entities:Vector<MessageEntity>
	ReplyMarkup TLReplyMarkupType     // flags.2?reply_markup:ReplyMarkup
}

TLInputBotInlineMessageText represents ctor inputBotInlineMessageText#3dcd7a87 flags:# flags.0?no_webpage:true message:string flags.1?entities:Vector<MessageEntity> flags.2?reply_markup:ReplyMarkup = InputBotInlineMessage from Telegram

func (*TLInputBotInlineMessageText) Cmd

func (*TLInputBotInlineMessageText) HasEntities

func (o *TLInputBotInlineMessageText) HasEntities() bool

func (*TLInputBotInlineMessageText) HasReplyMarkup

func (o *TLInputBotInlineMessageText) HasReplyMarkup() bool

func (*TLInputBotInlineMessageText) IsTLInputBotInlineMessage

func (o *TLInputBotInlineMessageText) IsTLInputBotInlineMessage()

func (*TLInputBotInlineMessageText) NoWebpage

func (o *TLInputBotInlineMessageText) NoWebpage() bool

func (*TLInputBotInlineMessageText) ReadBareFrom

func (o *TLInputBotInlineMessageText) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineMessageText) SetHasEntities

func (o *TLInputBotInlineMessageText) SetHasEntities(v bool)

func (*TLInputBotInlineMessageText) SetHasReplyMarkup

func (o *TLInputBotInlineMessageText) SetHasReplyMarkup(v bool)

func (*TLInputBotInlineMessageText) SetNoWebpage

func (o *TLInputBotInlineMessageText) SetNoWebpage(v bool)

func (*TLInputBotInlineMessageText) String

func (o *TLInputBotInlineMessageText) String() string

func (*TLInputBotInlineMessageText) WriteBareTo

func (o *TLInputBotInlineMessageText) WriteBareTo(w *tl.Writer)

type TLInputBotInlineMessageType

type TLInputBotInlineMessageType interface {
	IsTLInputBotInlineMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputBotInlineMessageType represents InputBotInlineMessage from Telegram

type TLInputBotInlineResult

type TLInputBotInlineResult struct {
	Flags       uint                        // flags:#
	ID          string                      // id:string
	Type        string                      // type:string
	Title       string                      // flags.1?title:string
	Description string                      // flags.2?description:string
	URL         string                      // flags.3?url:string
	ThumbURL    string                      // flags.4?thumb_url:string
	ContentURL  string                      // flags.5?content_url:string
	ContentType string                      // flags.5?content_type:string
	W           int                         // flags.6?w:int
	H           int                         // flags.6?h:int
	Duration    int                         // flags.7?duration:int
	SendMessage TLInputBotInlineMessageType // send_message:InputBotInlineMessage
}

TLInputBotInlineResult represents ctor inputBotInlineResult#2cbbe15a flags:# id:string type:string flags.1?title:string flags.2?description:string flags.3?url:string flags.4?thumb_url:string flags.5?content_url:string flags.5?content_type:string flags.6?w:int flags.6?h:int flags.7?duration:int send_message:InputBotInlineMessage = InputBotInlineResult from Telegram

func (*TLInputBotInlineResult) Cmd

func (o *TLInputBotInlineResult) Cmd() uint32

func (*TLInputBotInlineResult) HasContentType

func (o *TLInputBotInlineResult) HasContentType() bool

func (*TLInputBotInlineResult) HasContentURL

func (o *TLInputBotInlineResult) HasContentURL() bool

func (*TLInputBotInlineResult) HasDescription

func (o *TLInputBotInlineResult) HasDescription() bool

func (*TLInputBotInlineResult) HasDuration

func (o *TLInputBotInlineResult) HasDuration() bool

func (*TLInputBotInlineResult) HasH

func (o *TLInputBotInlineResult) HasH() bool

func (*TLInputBotInlineResult) HasThumbURL

func (o *TLInputBotInlineResult) HasThumbURL() bool

func (*TLInputBotInlineResult) HasTitle

func (o *TLInputBotInlineResult) HasTitle() bool

func (*TLInputBotInlineResult) HasURL

func (o *TLInputBotInlineResult) HasURL() bool

func (*TLInputBotInlineResult) HasW

func (o *TLInputBotInlineResult) HasW() bool

func (*TLInputBotInlineResult) IsTLInputBotInlineResult

func (o *TLInputBotInlineResult) IsTLInputBotInlineResult()

func (*TLInputBotInlineResult) ReadBareFrom

func (o *TLInputBotInlineResult) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineResult) SetHasContentType

func (o *TLInputBotInlineResult) SetHasContentType(v bool)

func (*TLInputBotInlineResult) SetHasContentURL

func (o *TLInputBotInlineResult) SetHasContentURL(v bool)

func (*TLInputBotInlineResult) SetHasDescription

func (o *TLInputBotInlineResult) SetHasDescription(v bool)

func (*TLInputBotInlineResult) SetHasDuration

func (o *TLInputBotInlineResult) SetHasDuration(v bool)

func (*TLInputBotInlineResult) SetHasH

func (o *TLInputBotInlineResult) SetHasH(v bool)

func (*TLInputBotInlineResult) SetHasThumbURL

func (o *TLInputBotInlineResult) SetHasThumbURL(v bool)

func (*TLInputBotInlineResult) SetHasTitle

func (o *TLInputBotInlineResult) SetHasTitle(v bool)

func (*TLInputBotInlineResult) SetHasURL

func (o *TLInputBotInlineResult) SetHasURL(v bool)

func (*TLInputBotInlineResult) SetHasW

func (o *TLInputBotInlineResult) SetHasW(v bool)

func (*TLInputBotInlineResult) String

func (o *TLInputBotInlineResult) String() string

func (*TLInputBotInlineResult) WriteBareTo

func (o *TLInputBotInlineResult) WriteBareTo(w *tl.Writer)

type TLInputBotInlineResultDocument

type TLInputBotInlineResultDocument struct {
	Flags       uint                        // flags:#
	ID          string                      // id:string
	Type        string                      // type:string
	Title       string                      // flags.1?title:string
	Description string                      // flags.2?description:string
	Document    TLInputDocumentType         // document:InputDocument
	SendMessage TLInputBotInlineMessageType // send_message:InputBotInlineMessage
}

TLInputBotInlineResultDocument represents ctor inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string flags.1?title:string flags.2?description:string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult from Telegram

func (*TLInputBotInlineResultDocument) Cmd

func (*TLInputBotInlineResultDocument) HasDescription

func (o *TLInputBotInlineResultDocument) HasDescription() bool

func (*TLInputBotInlineResultDocument) HasTitle

func (o *TLInputBotInlineResultDocument) HasTitle() bool

func (*TLInputBotInlineResultDocument) IsTLInputBotInlineResult

func (o *TLInputBotInlineResultDocument) IsTLInputBotInlineResult()

func (*TLInputBotInlineResultDocument) ReadBareFrom

func (o *TLInputBotInlineResultDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineResultDocument) SetHasDescription

func (o *TLInputBotInlineResultDocument) SetHasDescription(v bool)

func (*TLInputBotInlineResultDocument) SetHasTitle

func (o *TLInputBotInlineResultDocument) SetHasTitle(v bool)

func (*TLInputBotInlineResultDocument) String

func (*TLInputBotInlineResultDocument) WriteBareTo

func (o *TLInputBotInlineResultDocument) WriteBareTo(w *tl.Writer)

type TLInputBotInlineResultGame

type TLInputBotInlineResultGame struct {
	ID          string                      // id:string
	ShortName   string                      // short_name:string
	SendMessage TLInputBotInlineMessageType // send_message:InputBotInlineMessage
}

TLInputBotInlineResultGame represents ctor inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult from Telegram

func (*TLInputBotInlineResultGame) Cmd

func (*TLInputBotInlineResultGame) IsTLInputBotInlineResult

func (o *TLInputBotInlineResultGame) IsTLInputBotInlineResult()

func (*TLInputBotInlineResultGame) ReadBareFrom

func (o *TLInputBotInlineResultGame) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineResultGame) String

func (o *TLInputBotInlineResultGame) String() string

func (*TLInputBotInlineResultGame) WriteBareTo

func (o *TLInputBotInlineResultGame) WriteBareTo(w *tl.Writer)

type TLInputBotInlineResultPhoto

type TLInputBotInlineResultPhoto struct {
	ID          string                      // id:string
	Type        string                      // type:string
	Photo       TLInputPhotoType            // photo:InputPhoto
	SendMessage TLInputBotInlineMessageType // send_message:InputBotInlineMessage
}

TLInputBotInlineResultPhoto represents ctor inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult from Telegram

func (*TLInputBotInlineResultPhoto) Cmd

func (*TLInputBotInlineResultPhoto) IsTLInputBotInlineResult

func (o *TLInputBotInlineResultPhoto) IsTLInputBotInlineResult()

func (*TLInputBotInlineResultPhoto) ReadBareFrom

func (o *TLInputBotInlineResultPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputBotInlineResultPhoto) String

func (o *TLInputBotInlineResultPhoto) String() string

func (*TLInputBotInlineResultPhoto) WriteBareTo

func (o *TLInputBotInlineResultPhoto) WriteBareTo(w *tl.Writer)

type TLInputBotInlineResultType

type TLInputBotInlineResultType interface {
	IsTLInputBotInlineResult()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputBotInlineResultType represents InputBotInlineResult from Telegram

type TLInputChannel

type TLInputChannel struct {
	ChannelID  int    // channel_id:int
	AccessHash uint64 // access_hash:long
}

TLInputChannel represents ctor inputChannel#afeb712e channel_id:int access_hash:long = InputChannel from Telegram

func (*TLInputChannel) Cmd

func (o *TLInputChannel) Cmd() uint32

func (*TLInputChannel) IsTLInputChannel

func (o *TLInputChannel) IsTLInputChannel()

func (*TLInputChannel) ReadBareFrom

func (o *TLInputChannel) ReadBareFrom(r *tl.Reader)

func (*TLInputChannel) String

func (o *TLInputChannel) String() string

func (*TLInputChannel) WriteBareTo

func (o *TLInputChannel) WriteBareTo(w *tl.Writer)

type TLInputChannelEmpty

type TLInputChannelEmpty struct {
}

TLInputChannelEmpty represents ctor inputChannelEmpty#ee8c1e86 = InputChannel from Telegram

func (*TLInputChannelEmpty) Cmd

func (o *TLInputChannelEmpty) Cmd() uint32

func (*TLInputChannelEmpty) IsTLInputChannel

func (o *TLInputChannelEmpty) IsTLInputChannel()

func (*TLInputChannelEmpty) ReadBareFrom

func (o *TLInputChannelEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputChannelEmpty) String

func (o *TLInputChannelEmpty) String() string

func (*TLInputChannelEmpty) WriteBareTo

func (o *TLInputChannelEmpty) WriteBareTo(w *tl.Writer)

type TLInputChannelType

type TLInputChannelType interface {
	IsTLInputChannel()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputChannelType represents InputChannel from Telegram

type TLInputChatPhoto

type TLInputChatPhoto struct {
	ID TLInputPhotoType // id:InputPhoto
}

TLInputChatPhoto represents ctor inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto from Telegram

func (*TLInputChatPhoto) Cmd

func (o *TLInputChatPhoto) Cmd() uint32

func (*TLInputChatPhoto) IsTLInputChatPhoto

func (o *TLInputChatPhoto) IsTLInputChatPhoto()

func (*TLInputChatPhoto) ReadBareFrom

func (o *TLInputChatPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputChatPhoto) String

func (o *TLInputChatPhoto) String() string

func (*TLInputChatPhoto) WriteBareTo

func (o *TLInputChatPhoto) WriteBareTo(w *tl.Writer)

type TLInputChatPhotoEmpty

type TLInputChatPhotoEmpty struct {
}

TLInputChatPhotoEmpty represents ctor inputChatPhotoEmpty#1ca48f57 = InputChatPhoto from Telegram

func (*TLInputChatPhotoEmpty) Cmd

func (o *TLInputChatPhotoEmpty) Cmd() uint32

func (*TLInputChatPhotoEmpty) IsTLInputChatPhoto

func (o *TLInputChatPhotoEmpty) IsTLInputChatPhoto()

func (*TLInputChatPhotoEmpty) ReadBareFrom

func (o *TLInputChatPhotoEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputChatPhotoEmpty) String

func (o *TLInputChatPhotoEmpty) String() string

func (*TLInputChatPhotoEmpty) WriteBareTo

func (o *TLInputChatPhotoEmpty) WriteBareTo(w *tl.Writer)

type TLInputChatPhotoType

type TLInputChatPhotoType interface {
	IsTLInputChatPhoto()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputChatPhotoType represents InputChatPhoto from Telegram

type TLInputChatUploadedPhoto

type TLInputChatUploadedPhoto struct {
	File TLInputFileType // file:InputFile
}

TLInputChatUploadedPhoto represents ctor inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto from Telegram

func (*TLInputChatUploadedPhoto) Cmd

func (*TLInputChatUploadedPhoto) IsTLInputChatPhoto

func (o *TLInputChatUploadedPhoto) IsTLInputChatPhoto()

func (*TLInputChatUploadedPhoto) ReadBareFrom

func (o *TLInputChatUploadedPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputChatUploadedPhoto) String

func (o *TLInputChatUploadedPhoto) String() string

func (*TLInputChatUploadedPhoto) WriteBareTo

func (o *TLInputChatUploadedPhoto) WriteBareTo(w *tl.Writer)

type TLInputDocument

type TLInputDocument struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputDocument represents ctor inputDocument#18798952 id:long access_hash:long = InputDocument from Telegram

func (*TLInputDocument) Cmd

func (o *TLInputDocument) Cmd() uint32

func (*TLInputDocument) IsTLInputDocument

func (o *TLInputDocument) IsTLInputDocument()

func (*TLInputDocument) ReadBareFrom

func (o *TLInputDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputDocument) String

func (o *TLInputDocument) String() string

func (*TLInputDocument) WriteBareTo

func (o *TLInputDocument) WriteBareTo(w *tl.Writer)

type TLInputDocumentEmpty

type TLInputDocumentEmpty struct {
}

TLInputDocumentEmpty represents ctor inputDocumentEmpty#72f0eaae = InputDocument from Telegram

func (*TLInputDocumentEmpty) Cmd

func (o *TLInputDocumentEmpty) Cmd() uint32

func (*TLInputDocumentEmpty) IsTLInputDocument

func (o *TLInputDocumentEmpty) IsTLInputDocument()

func (*TLInputDocumentEmpty) ReadBareFrom

func (o *TLInputDocumentEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputDocumentEmpty) String

func (o *TLInputDocumentEmpty) String() string

func (*TLInputDocumentEmpty) WriteBareTo

func (o *TLInputDocumentEmpty) WriteBareTo(w *tl.Writer)

type TLInputDocumentFileLocation

type TLInputDocumentFileLocation struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
	Version    int    // version:int
}

TLInputDocumentFileLocation represents ctor inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation from Telegram

func (*TLInputDocumentFileLocation) Cmd

func (*TLInputDocumentFileLocation) IsTLInputFileLocation

func (o *TLInputDocumentFileLocation) IsTLInputFileLocation()

func (*TLInputDocumentFileLocation) ReadBareFrom

func (o *TLInputDocumentFileLocation) ReadBareFrom(r *tl.Reader)

func (*TLInputDocumentFileLocation) String

func (o *TLInputDocumentFileLocation) String() string

func (*TLInputDocumentFileLocation) WriteBareTo

func (o *TLInputDocumentFileLocation) WriteBareTo(w *tl.Writer)

type TLInputDocumentType

type TLInputDocumentType interface {
	IsTLInputDocument()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputDocumentType represents InputDocument from Telegram

type TLInputEncryptedChat

type TLInputEncryptedChat struct {
	ChatID     int    // chat_id:int
	AccessHash uint64 // access_hash:long
}

TLInputEncryptedChat represents ctor inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat from Telegram

func (*TLInputEncryptedChat) Cmd

func (o *TLInputEncryptedChat) Cmd() uint32

func (*TLInputEncryptedChat) ReadBareFrom

func (o *TLInputEncryptedChat) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedChat) String

func (o *TLInputEncryptedChat) String() string

func (*TLInputEncryptedChat) WriteBareTo

func (o *TLInputEncryptedChat) WriteBareTo(w *tl.Writer)

type TLInputEncryptedFile

type TLInputEncryptedFile struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputEncryptedFile represents ctor inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile from Telegram

func (*TLInputEncryptedFile) Cmd

func (o *TLInputEncryptedFile) Cmd() uint32

func (*TLInputEncryptedFile) IsTLInputEncryptedFile

func (o *TLInputEncryptedFile) IsTLInputEncryptedFile()

func (*TLInputEncryptedFile) ReadBareFrom

func (o *TLInputEncryptedFile) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedFile) String

func (o *TLInputEncryptedFile) String() string

func (*TLInputEncryptedFile) WriteBareTo

func (o *TLInputEncryptedFile) WriteBareTo(w *tl.Writer)

type TLInputEncryptedFileBigUploaded

type TLInputEncryptedFileBigUploaded struct {
	ID             uint64 // id:long
	Parts          int    // parts:int
	KeyFingerprint int    // key_fingerprint:int
}

TLInputEncryptedFileBigUploaded represents ctor inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile from Telegram

func (*TLInputEncryptedFileBigUploaded) Cmd

func (*TLInputEncryptedFileBigUploaded) IsTLInputEncryptedFile

func (o *TLInputEncryptedFileBigUploaded) IsTLInputEncryptedFile()

func (*TLInputEncryptedFileBigUploaded) ReadBareFrom

func (o *TLInputEncryptedFileBigUploaded) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedFileBigUploaded) String

func (*TLInputEncryptedFileBigUploaded) WriteBareTo

func (o *TLInputEncryptedFileBigUploaded) WriteBareTo(w *tl.Writer)

type TLInputEncryptedFileEmpty

type TLInputEncryptedFileEmpty struct {
}

TLInputEncryptedFileEmpty represents ctor inputEncryptedFileEmpty#1837c364 = InputEncryptedFile from Telegram

func (*TLInputEncryptedFileEmpty) Cmd

func (*TLInputEncryptedFileEmpty) IsTLInputEncryptedFile

func (o *TLInputEncryptedFileEmpty) IsTLInputEncryptedFile()

func (*TLInputEncryptedFileEmpty) ReadBareFrom

func (o *TLInputEncryptedFileEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedFileEmpty) String

func (o *TLInputEncryptedFileEmpty) String() string

func (*TLInputEncryptedFileEmpty) WriteBareTo

func (o *TLInputEncryptedFileEmpty) WriteBareTo(w *tl.Writer)

type TLInputEncryptedFileLocation

type TLInputEncryptedFileLocation struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputEncryptedFileLocation represents ctor inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation from Telegram

func (*TLInputEncryptedFileLocation) Cmd

func (*TLInputEncryptedFileLocation) IsTLInputFileLocation

func (o *TLInputEncryptedFileLocation) IsTLInputFileLocation()

func (*TLInputEncryptedFileLocation) ReadBareFrom

func (o *TLInputEncryptedFileLocation) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedFileLocation) String

func (*TLInputEncryptedFileLocation) WriteBareTo

func (o *TLInputEncryptedFileLocation) WriteBareTo(w *tl.Writer)

type TLInputEncryptedFileType

type TLInputEncryptedFileType interface {
	IsTLInputEncryptedFile()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputEncryptedFileType represents InputEncryptedFile from Telegram

type TLInputEncryptedFileUploaded

type TLInputEncryptedFileUploaded struct {
	ID             uint64 // id:long
	Parts          int    // parts:int
	Md5Checksum    string // md5_checksum:string
	KeyFingerprint int    // key_fingerprint:int
}

TLInputEncryptedFileUploaded represents ctor inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile from Telegram

func (*TLInputEncryptedFileUploaded) Cmd

func (*TLInputEncryptedFileUploaded) IsTLInputEncryptedFile

func (o *TLInputEncryptedFileUploaded) IsTLInputEncryptedFile()

func (*TLInputEncryptedFileUploaded) ReadBareFrom

func (o *TLInputEncryptedFileUploaded) ReadBareFrom(r *tl.Reader)

func (*TLInputEncryptedFileUploaded) String

func (*TLInputEncryptedFileUploaded) WriteBareTo

func (o *TLInputEncryptedFileUploaded) WriteBareTo(w *tl.Writer)

type TLInputFile

type TLInputFile struct {
	ID          uint64 // id:long
	Parts       int    // parts:int
	Name        string // name:string
	Md5Checksum string // md5_checksum:string
}

TLInputFile represents ctor inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile from Telegram

func (*TLInputFile) Cmd

func (o *TLInputFile) Cmd() uint32

func (*TLInputFile) IsTLInputFile

func (o *TLInputFile) IsTLInputFile()

func (*TLInputFile) ReadBareFrom

func (o *TLInputFile) ReadBareFrom(r *tl.Reader)

func (*TLInputFile) String

func (o *TLInputFile) String() string

func (*TLInputFile) WriteBareTo

func (o *TLInputFile) WriteBareTo(w *tl.Writer)

type TLInputFileBig

type TLInputFileBig struct {
	ID    uint64 // id:long
	Parts int    // parts:int
	Name  string // name:string
}

TLInputFileBig represents ctor inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile from Telegram

func (*TLInputFileBig) Cmd

func (o *TLInputFileBig) Cmd() uint32

func (*TLInputFileBig) IsTLInputFile

func (o *TLInputFileBig) IsTLInputFile()

func (*TLInputFileBig) ReadBareFrom

func (o *TLInputFileBig) ReadBareFrom(r *tl.Reader)

func (*TLInputFileBig) String

func (o *TLInputFileBig) String() string

func (*TLInputFileBig) WriteBareTo

func (o *TLInputFileBig) WriteBareTo(w *tl.Writer)

type TLInputFileLocation

type TLInputFileLocation struct {
	VolumeID uint64 // volume_id:long
	LocalID  int    // local_id:int
	Secret   uint64 // secret:long
}

TLInputFileLocation represents ctor inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation from Telegram

func (*TLInputFileLocation) Cmd

func (o *TLInputFileLocation) Cmd() uint32

func (*TLInputFileLocation) IsTLInputFileLocation

func (o *TLInputFileLocation) IsTLInputFileLocation()

func (*TLInputFileLocation) ReadBareFrom

func (o *TLInputFileLocation) ReadBareFrom(r *tl.Reader)

func (*TLInputFileLocation) String

func (o *TLInputFileLocation) String() string

func (*TLInputFileLocation) WriteBareTo

func (o *TLInputFileLocation) WriteBareTo(w *tl.Writer)

type TLInputFileLocationType

type TLInputFileLocationType interface {
	IsTLInputFileLocation()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputFileLocationType represents InputFileLocation from Telegram

type TLInputFileType

type TLInputFileType interface {
	IsTLInputFile()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputFileType represents InputFile from Telegram

type TLInputGameID

type TLInputGameID struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputGameID represents ctor inputGameID#032c3e77 id:long access_hash:long = InputGame from Telegram

func (*TLInputGameID) Cmd

func (o *TLInputGameID) Cmd() uint32

func (*TLInputGameID) IsTLInputGame

func (o *TLInputGameID) IsTLInputGame()

func (*TLInputGameID) ReadBareFrom

func (o *TLInputGameID) ReadBareFrom(r *tl.Reader)

func (*TLInputGameID) String

func (o *TLInputGameID) String() string

func (*TLInputGameID) WriteBareTo

func (o *TLInputGameID) WriteBareTo(w *tl.Writer)

type TLInputGameShortName

type TLInputGameShortName struct {
	BotID     TLInputUserType // bot_id:InputUser
	ShortName string          // short_name:string
}

TLInputGameShortName represents ctor inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame from Telegram

func (*TLInputGameShortName) Cmd

func (o *TLInputGameShortName) Cmd() uint32

func (*TLInputGameShortName) IsTLInputGame

func (o *TLInputGameShortName) IsTLInputGame()

func (*TLInputGameShortName) ReadBareFrom

func (o *TLInputGameShortName) ReadBareFrom(r *tl.Reader)

func (*TLInputGameShortName) String

func (o *TLInputGameShortName) String() string

func (*TLInputGameShortName) WriteBareTo

func (o *TLInputGameShortName) WriteBareTo(w *tl.Writer)

type TLInputGameType

type TLInputGameType interface {
	IsTLInputGame()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputGameType represents InputGame from Telegram

type TLInputGeoPoint

type TLInputGeoPoint struct {
	Lat  float64 // lat:double
	Long float64 // long:double
}

TLInputGeoPoint represents ctor inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint from Telegram

func (*TLInputGeoPoint) Cmd

func (o *TLInputGeoPoint) Cmd() uint32

func (*TLInputGeoPoint) IsTLInputGeoPoint

func (o *TLInputGeoPoint) IsTLInputGeoPoint()

func (*TLInputGeoPoint) ReadBareFrom

func (o *TLInputGeoPoint) ReadBareFrom(r *tl.Reader)

func (*TLInputGeoPoint) String

func (o *TLInputGeoPoint) String() string

func (*TLInputGeoPoint) WriteBareTo

func (o *TLInputGeoPoint) WriteBareTo(w *tl.Writer)

type TLInputGeoPointEmpty

type TLInputGeoPointEmpty struct {
}

TLInputGeoPointEmpty represents ctor inputGeoPointEmpty#e4c123d6 = InputGeoPoint from Telegram

func (*TLInputGeoPointEmpty) Cmd

func (o *TLInputGeoPointEmpty) Cmd() uint32

func (*TLInputGeoPointEmpty) IsTLInputGeoPoint

func (o *TLInputGeoPointEmpty) IsTLInputGeoPoint()

func (*TLInputGeoPointEmpty) ReadBareFrom

func (o *TLInputGeoPointEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputGeoPointEmpty) String

func (o *TLInputGeoPointEmpty) String() string

func (*TLInputGeoPointEmpty) WriteBareTo

func (o *TLInputGeoPointEmpty) WriteBareTo(w *tl.Writer)

type TLInputGeoPointType

type TLInputGeoPointType interface {
	IsTLInputGeoPoint()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputGeoPointType represents InputGeoPoint from Telegram

type TLInputMediaContact

type TLInputMediaContact struct {
	PhoneNumber string // phone_number:string
	FirstName   string // first_name:string
	LastName    string // last_name:string
}

TLInputMediaContact represents ctor inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia from Telegram

func (*TLInputMediaContact) Cmd

func (o *TLInputMediaContact) Cmd() uint32

func (*TLInputMediaContact) IsTLInputMedia

func (o *TLInputMediaContact) IsTLInputMedia()

func (*TLInputMediaContact) ReadBareFrom

func (o *TLInputMediaContact) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaContact) String

func (o *TLInputMediaContact) String() string

func (*TLInputMediaContact) WriteBareTo

func (o *TLInputMediaContact) WriteBareTo(w *tl.Writer)

type TLInputMediaDocument

type TLInputMediaDocument struct {
	ID      TLInputDocumentType // id:InputDocument
	Caption string              // caption:string
}

TLInputMediaDocument represents ctor inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia from Telegram

func (*TLInputMediaDocument) Cmd

func (o *TLInputMediaDocument) Cmd() uint32

func (*TLInputMediaDocument) IsTLInputMedia

func (o *TLInputMediaDocument) IsTLInputMedia()

func (*TLInputMediaDocument) ReadBareFrom

func (o *TLInputMediaDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaDocument) String

func (o *TLInputMediaDocument) String() string

func (*TLInputMediaDocument) WriteBareTo

func (o *TLInputMediaDocument) WriteBareTo(w *tl.Writer)

type TLInputMediaDocumentExternal

type TLInputMediaDocumentExternal struct {
	URL     string // url:string
	Caption string // caption:string
}

TLInputMediaDocumentExternal represents ctor inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia from Telegram

func (*TLInputMediaDocumentExternal) Cmd

func (*TLInputMediaDocumentExternal) IsTLInputMedia

func (o *TLInputMediaDocumentExternal) IsTLInputMedia()

func (*TLInputMediaDocumentExternal) ReadBareFrom

func (o *TLInputMediaDocumentExternal) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaDocumentExternal) String

func (*TLInputMediaDocumentExternal) WriteBareTo

func (o *TLInputMediaDocumentExternal) WriteBareTo(w *tl.Writer)

type TLInputMediaEmpty

type TLInputMediaEmpty struct {
}

TLInputMediaEmpty represents ctor inputMediaEmpty#9664f57f = InputMedia from Telegram

func (*TLInputMediaEmpty) Cmd

func (o *TLInputMediaEmpty) Cmd() uint32

func (*TLInputMediaEmpty) IsTLInputMedia

func (o *TLInputMediaEmpty) IsTLInputMedia()

func (*TLInputMediaEmpty) ReadBareFrom

func (o *TLInputMediaEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaEmpty) String

func (o *TLInputMediaEmpty) String() string

func (*TLInputMediaEmpty) WriteBareTo

func (o *TLInputMediaEmpty) WriteBareTo(w *tl.Writer)

type TLInputMediaGame

type TLInputMediaGame struct {
	ID TLInputGameType // id:InputGame
}

TLInputMediaGame represents ctor inputMediaGame#d33f43f3 id:InputGame = InputMedia from Telegram

func (*TLInputMediaGame) Cmd

func (o *TLInputMediaGame) Cmd() uint32

func (*TLInputMediaGame) IsTLInputMedia

func (o *TLInputMediaGame) IsTLInputMedia()

func (*TLInputMediaGame) ReadBareFrom

func (o *TLInputMediaGame) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaGame) String

func (o *TLInputMediaGame) String() string

func (*TLInputMediaGame) WriteBareTo

func (o *TLInputMediaGame) WriteBareTo(w *tl.Writer)

type TLInputMediaGeoPoint

type TLInputMediaGeoPoint struct {
	GeoPoint TLInputGeoPointType // geo_point:InputGeoPoint
}

TLInputMediaGeoPoint represents ctor inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia from Telegram

func (*TLInputMediaGeoPoint) Cmd

func (o *TLInputMediaGeoPoint) Cmd() uint32

func (*TLInputMediaGeoPoint) IsTLInputMedia

func (o *TLInputMediaGeoPoint) IsTLInputMedia()

func (*TLInputMediaGeoPoint) ReadBareFrom

func (o *TLInputMediaGeoPoint) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaGeoPoint) String

func (o *TLInputMediaGeoPoint) String() string

func (*TLInputMediaGeoPoint) WriteBareTo

func (o *TLInputMediaGeoPoint) WriteBareTo(w *tl.Writer)

type TLInputMediaGifExternal

type TLInputMediaGifExternal struct {
	URL string // url:string
	Q   string // q:string
}

TLInputMediaGifExternal represents ctor inputMediaGifExternal#4843b0fd url:string q:string = InputMedia from Telegram

func (*TLInputMediaGifExternal) Cmd

func (*TLInputMediaGifExternal) IsTLInputMedia

func (o *TLInputMediaGifExternal) IsTLInputMedia()

func (*TLInputMediaGifExternal) ReadBareFrom

func (o *TLInputMediaGifExternal) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaGifExternal) String

func (o *TLInputMediaGifExternal) String() string

func (*TLInputMediaGifExternal) WriteBareTo

func (o *TLInputMediaGifExternal) WriteBareTo(w *tl.Writer)

type TLInputMediaInvoice

type TLInputMediaInvoice struct {
	Flags       uint                // flags:#
	Title       string              // title:string
	Description string              // description:string
	Photo       *TLInputWebDocument // flags.0?photo:InputWebDocument
	Invoice     *TLInvoice          // invoice:Invoice
	Payload     []byte              // payload:bytes
	Provider    string              // provider:string
	StartParam  string              // start_param:string
}

TLInputMediaInvoice represents ctor inputMediaInvoice#92153685 flags:# title:string description:string flags.0?photo:InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia from Telegram

func (*TLInputMediaInvoice) Cmd

func (o *TLInputMediaInvoice) Cmd() uint32

func (*TLInputMediaInvoice) HasPhoto

func (o *TLInputMediaInvoice) HasPhoto() bool

func (*TLInputMediaInvoice) IsTLInputMedia

func (o *TLInputMediaInvoice) IsTLInputMedia()

func (*TLInputMediaInvoice) ReadBareFrom

func (o *TLInputMediaInvoice) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaInvoice) SetHasPhoto

func (o *TLInputMediaInvoice) SetHasPhoto(v bool)

func (*TLInputMediaInvoice) String

func (o *TLInputMediaInvoice) String() string

func (*TLInputMediaInvoice) WriteBareTo

func (o *TLInputMediaInvoice) WriteBareTo(w *tl.Writer)

type TLInputMediaPhoto

type TLInputMediaPhoto struct {
	ID      TLInputPhotoType // id:InputPhoto
	Caption string           // caption:string
}

TLInputMediaPhoto represents ctor inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia from Telegram

func (*TLInputMediaPhoto) Cmd

func (o *TLInputMediaPhoto) Cmd() uint32

func (*TLInputMediaPhoto) IsTLInputMedia

func (o *TLInputMediaPhoto) IsTLInputMedia()

func (*TLInputMediaPhoto) ReadBareFrom

func (o *TLInputMediaPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaPhoto) String

func (o *TLInputMediaPhoto) String() string

func (*TLInputMediaPhoto) WriteBareTo

func (o *TLInputMediaPhoto) WriteBareTo(w *tl.Writer)

type TLInputMediaPhotoExternal

type TLInputMediaPhotoExternal struct {
	URL     string // url:string
	Caption string // caption:string
}

TLInputMediaPhotoExternal represents ctor inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia from Telegram

func (*TLInputMediaPhotoExternal) Cmd

func (*TLInputMediaPhotoExternal) IsTLInputMedia

func (o *TLInputMediaPhotoExternal) IsTLInputMedia()

func (*TLInputMediaPhotoExternal) ReadBareFrom

func (o *TLInputMediaPhotoExternal) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaPhotoExternal) String

func (o *TLInputMediaPhotoExternal) String() string

func (*TLInputMediaPhotoExternal) WriteBareTo

func (o *TLInputMediaPhotoExternal) WriteBareTo(w *tl.Writer)

type TLInputMediaType

type TLInputMediaType interface {
	IsTLInputMedia()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputMediaType represents InputMedia from Telegram

type TLInputMediaUploadedDocument

type TLInputMediaUploadedDocument struct {
	Flags      uint                      // flags:#
	File       TLInputFileType           // file:InputFile
	MimeType   string                    // mime_type:string
	Attributes []TLDocumentAttributeType // attributes:Vector<DocumentAttribute>
	Caption    string                    // caption:string
	Stickers   []TLInputDocumentType     // flags.0?stickers:Vector<InputDocument>
}

TLInputMediaUploadedDocument represents ctor inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string flags.0?stickers:Vector<InputDocument> = InputMedia from Telegram

func (*TLInputMediaUploadedDocument) Cmd

func (*TLInputMediaUploadedDocument) HasStickers

func (o *TLInputMediaUploadedDocument) HasStickers() bool

func (*TLInputMediaUploadedDocument) IsTLInputMedia

func (o *TLInputMediaUploadedDocument) IsTLInputMedia()

func (*TLInputMediaUploadedDocument) ReadBareFrom

func (o *TLInputMediaUploadedDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaUploadedDocument) SetHasStickers

func (o *TLInputMediaUploadedDocument) SetHasStickers(v bool)

func (*TLInputMediaUploadedDocument) String

func (*TLInputMediaUploadedDocument) WriteBareTo

func (o *TLInputMediaUploadedDocument) WriteBareTo(w *tl.Writer)

type TLInputMediaUploadedPhoto

type TLInputMediaUploadedPhoto struct {
	Flags    uint                  // flags:#
	File     TLInputFileType       // file:InputFile
	Caption  string                // caption:string
	Stickers []TLInputDocumentType // flags.0?stickers:Vector<InputDocument>
}

TLInputMediaUploadedPhoto represents ctor inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string flags.0?stickers:Vector<InputDocument> = InputMedia from Telegram

func (*TLInputMediaUploadedPhoto) Cmd

func (*TLInputMediaUploadedPhoto) HasStickers

func (o *TLInputMediaUploadedPhoto) HasStickers() bool

func (*TLInputMediaUploadedPhoto) IsTLInputMedia

func (o *TLInputMediaUploadedPhoto) IsTLInputMedia()

func (*TLInputMediaUploadedPhoto) ReadBareFrom

func (o *TLInputMediaUploadedPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaUploadedPhoto) SetHasStickers

func (o *TLInputMediaUploadedPhoto) SetHasStickers(v bool)

func (*TLInputMediaUploadedPhoto) String

func (o *TLInputMediaUploadedPhoto) String() string

func (*TLInputMediaUploadedPhoto) WriteBareTo

func (o *TLInputMediaUploadedPhoto) WriteBareTo(w *tl.Writer)

type TLInputMediaUploadedThumbDocument

type TLInputMediaUploadedThumbDocument struct {
	Flags      uint                      // flags:#
	File       TLInputFileType           // file:InputFile
	Thumb      TLInputFileType           // thumb:InputFile
	MimeType   string                    // mime_type:string
	Attributes []TLDocumentAttributeType // attributes:Vector<DocumentAttribute>
	Caption    string                    // caption:string
	Stickers   []TLInputDocumentType     // flags.0?stickers:Vector<InputDocument>
}

TLInputMediaUploadedThumbDocument represents ctor inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string flags.0?stickers:Vector<InputDocument> = InputMedia from Telegram

func (*TLInputMediaUploadedThumbDocument) Cmd

func (*TLInputMediaUploadedThumbDocument) HasStickers

func (o *TLInputMediaUploadedThumbDocument) HasStickers() bool

func (*TLInputMediaUploadedThumbDocument) IsTLInputMedia

func (o *TLInputMediaUploadedThumbDocument) IsTLInputMedia()

func (*TLInputMediaUploadedThumbDocument) ReadBareFrom

func (o *TLInputMediaUploadedThumbDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaUploadedThumbDocument) SetHasStickers

func (o *TLInputMediaUploadedThumbDocument) SetHasStickers(v bool)

func (*TLInputMediaUploadedThumbDocument) String

func (*TLInputMediaUploadedThumbDocument) WriteBareTo

func (o *TLInputMediaUploadedThumbDocument) WriteBareTo(w *tl.Writer)

type TLInputMediaVenue

type TLInputMediaVenue struct {
	GeoPoint TLInputGeoPointType // geo_point:InputGeoPoint
	Title    string              // title:string
	Address  string              // address:string
	Provider string              // provider:string
	VenueID  string              // venue_id:string
}

TLInputMediaVenue represents ctor inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia from Telegram

func (*TLInputMediaVenue) Cmd

func (o *TLInputMediaVenue) Cmd() uint32

func (*TLInputMediaVenue) IsTLInputMedia

func (o *TLInputMediaVenue) IsTLInputMedia()

func (*TLInputMediaVenue) ReadBareFrom

func (o *TLInputMediaVenue) ReadBareFrom(r *tl.Reader)

func (*TLInputMediaVenue) String

func (o *TLInputMediaVenue) String() string

func (*TLInputMediaVenue) WriteBareTo

func (o *TLInputMediaVenue) WriteBareTo(w *tl.Writer)

type TLInputMessageEntityMentionName

type TLInputMessageEntityMentionName struct {
	Offset int             // offset:int
	Length int             // length:int
	UserID TLInputUserType // user_id:InputUser
}

TLInputMessageEntityMentionName represents ctor inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity from Telegram

func (*TLInputMessageEntityMentionName) Cmd

func (*TLInputMessageEntityMentionName) IsTLMessageEntity

func (o *TLInputMessageEntityMentionName) IsTLMessageEntity()

func (*TLInputMessageEntityMentionName) ReadBareFrom

func (o *TLInputMessageEntityMentionName) ReadBareFrom(r *tl.Reader)

func (*TLInputMessageEntityMentionName) String

func (*TLInputMessageEntityMentionName) WriteBareTo

func (o *TLInputMessageEntityMentionName) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterChatPhotos

type TLInputMessagesFilterChatPhotos struct {
}

TLInputMessagesFilterChatPhotos represents ctor inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter from Telegram

func (*TLInputMessagesFilterChatPhotos) Cmd

func (*TLInputMessagesFilterChatPhotos) IsTLMessagesFilter

func (o *TLInputMessagesFilterChatPhotos) IsTLMessagesFilter()

func (*TLInputMessagesFilterChatPhotos) ReadBareFrom

func (o *TLInputMessagesFilterChatPhotos) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterChatPhotos) String

func (*TLInputMessagesFilterChatPhotos) WriteBareTo

func (o *TLInputMessagesFilterChatPhotos) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterDocument

type TLInputMessagesFilterDocument struct {
}

TLInputMessagesFilterDocument represents ctor inputMessagesFilterDocument#9eddf188 = MessagesFilter from Telegram

func (*TLInputMessagesFilterDocument) Cmd

func (*TLInputMessagesFilterDocument) IsTLMessagesFilter

func (o *TLInputMessagesFilterDocument) IsTLMessagesFilter()

func (*TLInputMessagesFilterDocument) ReadBareFrom

func (o *TLInputMessagesFilterDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterDocument) String

func (*TLInputMessagesFilterDocument) WriteBareTo

func (o *TLInputMessagesFilterDocument) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterEmpty

type TLInputMessagesFilterEmpty struct {
}

TLInputMessagesFilterEmpty represents ctor inputMessagesFilterEmpty#57e2f66c = MessagesFilter from Telegram

func (*TLInputMessagesFilterEmpty) Cmd

func (*TLInputMessagesFilterEmpty) IsTLMessagesFilter

func (o *TLInputMessagesFilterEmpty) IsTLMessagesFilter()

func (*TLInputMessagesFilterEmpty) ReadBareFrom

func (o *TLInputMessagesFilterEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterEmpty) String

func (o *TLInputMessagesFilterEmpty) String() string

func (*TLInputMessagesFilterEmpty) WriteBareTo

func (o *TLInputMessagesFilterEmpty) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterGif

type TLInputMessagesFilterGif struct {
}

TLInputMessagesFilterGif represents ctor inputMessagesFilterGif#ffc86587 = MessagesFilter from Telegram

func (*TLInputMessagesFilterGif) Cmd

func (*TLInputMessagesFilterGif) IsTLMessagesFilter

func (o *TLInputMessagesFilterGif) IsTLMessagesFilter()

func (*TLInputMessagesFilterGif) ReadBareFrom

func (o *TLInputMessagesFilterGif) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterGif) String

func (o *TLInputMessagesFilterGif) String() string

func (*TLInputMessagesFilterGif) WriteBareTo

func (o *TLInputMessagesFilterGif) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterMusic

type TLInputMessagesFilterMusic struct {
}

TLInputMessagesFilterMusic represents ctor inputMessagesFilterMusic#3751b49e = MessagesFilter from Telegram

func (*TLInputMessagesFilterMusic) Cmd

func (*TLInputMessagesFilterMusic) IsTLMessagesFilter

func (o *TLInputMessagesFilterMusic) IsTLMessagesFilter()

func (*TLInputMessagesFilterMusic) ReadBareFrom

func (o *TLInputMessagesFilterMusic) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterMusic) String

func (o *TLInputMessagesFilterMusic) String() string

func (*TLInputMessagesFilterMusic) WriteBareTo

func (o *TLInputMessagesFilterMusic) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterPhoneCalls

type TLInputMessagesFilterPhoneCalls struct {
	Flags uint // flags:#
}

TLInputMessagesFilterPhoneCalls represents ctor inputMessagesFilterPhoneCalls#80c99768 flags:# flags.0?missed:true = MessagesFilter from Telegram

func (*TLInputMessagesFilterPhoneCalls) Cmd

func (*TLInputMessagesFilterPhoneCalls) IsTLMessagesFilter

func (o *TLInputMessagesFilterPhoneCalls) IsTLMessagesFilter()

func (*TLInputMessagesFilterPhoneCalls) Missed

func (*TLInputMessagesFilterPhoneCalls) ReadBareFrom

func (o *TLInputMessagesFilterPhoneCalls) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterPhoneCalls) SetMissed

func (o *TLInputMessagesFilterPhoneCalls) SetMissed(v bool)

func (*TLInputMessagesFilterPhoneCalls) String

func (*TLInputMessagesFilterPhoneCalls) WriteBareTo

func (o *TLInputMessagesFilterPhoneCalls) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterPhotoVideo

type TLInputMessagesFilterPhotoVideo struct {
}

TLInputMessagesFilterPhotoVideo represents ctor inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter from Telegram

func (*TLInputMessagesFilterPhotoVideo) Cmd

func (*TLInputMessagesFilterPhotoVideo) IsTLMessagesFilter

func (o *TLInputMessagesFilterPhotoVideo) IsTLMessagesFilter()

func (*TLInputMessagesFilterPhotoVideo) ReadBareFrom

func (o *TLInputMessagesFilterPhotoVideo) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterPhotoVideo) String

func (*TLInputMessagesFilterPhotoVideo) WriteBareTo

func (o *TLInputMessagesFilterPhotoVideo) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterPhotoVideoDocuments

type TLInputMessagesFilterPhotoVideoDocuments struct {
}

TLInputMessagesFilterPhotoVideoDocuments represents ctor inputMessagesFilterPhotoVideoDocuments#d95e73bb = MessagesFilter from Telegram

func (*TLInputMessagesFilterPhotoVideoDocuments) Cmd

func (*TLInputMessagesFilterPhotoVideoDocuments) IsTLMessagesFilter

func (o *TLInputMessagesFilterPhotoVideoDocuments) IsTLMessagesFilter()

func (*TLInputMessagesFilterPhotoVideoDocuments) ReadBareFrom

func (*TLInputMessagesFilterPhotoVideoDocuments) String

func (*TLInputMessagesFilterPhotoVideoDocuments) WriteBareTo

type TLInputMessagesFilterPhotos

type TLInputMessagesFilterPhotos struct {
}

TLInputMessagesFilterPhotos represents ctor inputMessagesFilterPhotos#9609a51c = MessagesFilter from Telegram

func (*TLInputMessagesFilterPhotos) Cmd

func (*TLInputMessagesFilterPhotos) IsTLMessagesFilter

func (o *TLInputMessagesFilterPhotos) IsTLMessagesFilter()

func (*TLInputMessagesFilterPhotos) ReadBareFrom

func (o *TLInputMessagesFilterPhotos) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterPhotos) String

func (o *TLInputMessagesFilterPhotos) String() string

func (*TLInputMessagesFilterPhotos) WriteBareTo

func (o *TLInputMessagesFilterPhotos) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterURL

type TLInputMessagesFilterURL struct {
}

TLInputMessagesFilterURL represents ctor inputMessagesFilterUrl#7ef0dd87 = MessagesFilter from Telegram

func (*TLInputMessagesFilterURL) Cmd

func (*TLInputMessagesFilterURL) IsTLMessagesFilter

func (o *TLInputMessagesFilterURL) IsTLMessagesFilter()

func (*TLInputMessagesFilterURL) ReadBareFrom

func (o *TLInputMessagesFilterURL) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterURL) String

func (o *TLInputMessagesFilterURL) String() string

func (*TLInputMessagesFilterURL) WriteBareTo

func (o *TLInputMessagesFilterURL) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterVideo

type TLInputMessagesFilterVideo struct {
}

TLInputMessagesFilterVideo represents ctor inputMessagesFilterVideo#9fc00e65 = MessagesFilter from Telegram

func (*TLInputMessagesFilterVideo) Cmd

func (*TLInputMessagesFilterVideo) IsTLMessagesFilter

func (o *TLInputMessagesFilterVideo) IsTLMessagesFilter()

func (*TLInputMessagesFilterVideo) ReadBareFrom

func (o *TLInputMessagesFilterVideo) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterVideo) String

func (o *TLInputMessagesFilterVideo) String() string

func (*TLInputMessagesFilterVideo) WriteBareTo

func (o *TLInputMessagesFilterVideo) WriteBareTo(w *tl.Writer)

type TLInputMessagesFilterVoice

type TLInputMessagesFilterVoice struct {
}

TLInputMessagesFilterVoice represents ctor inputMessagesFilterVoice#50f5c392 = MessagesFilter from Telegram

func (*TLInputMessagesFilterVoice) Cmd

func (*TLInputMessagesFilterVoice) IsTLMessagesFilter

func (o *TLInputMessagesFilterVoice) IsTLMessagesFilter()

func (*TLInputMessagesFilterVoice) ReadBareFrom

func (o *TLInputMessagesFilterVoice) ReadBareFrom(r *tl.Reader)

func (*TLInputMessagesFilterVoice) String

func (o *TLInputMessagesFilterVoice) String() string

func (*TLInputMessagesFilterVoice) WriteBareTo

func (o *TLInputMessagesFilterVoice) WriteBareTo(w *tl.Writer)

type TLInputNotifyAll

type TLInputNotifyAll struct {
}

TLInputNotifyAll represents ctor inputNotifyAll#a429b886 = InputNotifyPeer from Telegram

func (*TLInputNotifyAll) Cmd

func (o *TLInputNotifyAll) Cmd() uint32

func (*TLInputNotifyAll) IsTLInputNotifyPeer

func (o *TLInputNotifyAll) IsTLInputNotifyPeer()

func (*TLInputNotifyAll) ReadBareFrom

func (o *TLInputNotifyAll) ReadBareFrom(r *tl.Reader)

func (*TLInputNotifyAll) String

func (o *TLInputNotifyAll) String() string

func (*TLInputNotifyAll) WriteBareTo

func (o *TLInputNotifyAll) WriteBareTo(w *tl.Writer)

type TLInputNotifyChats

type TLInputNotifyChats struct {
}

TLInputNotifyChats represents ctor inputNotifyChats#4a95e84e = InputNotifyPeer from Telegram

func (*TLInputNotifyChats) Cmd

func (o *TLInputNotifyChats) Cmd() uint32

func (*TLInputNotifyChats) IsTLInputNotifyPeer

func (o *TLInputNotifyChats) IsTLInputNotifyPeer()

func (*TLInputNotifyChats) ReadBareFrom

func (o *TLInputNotifyChats) ReadBareFrom(r *tl.Reader)

func (*TLInputNotifyChats) String

func (o *TLInputNotifyChats) String() string

func (*TLInputNotifyChats) WriteBareTo

func (o *TLInputNotifyChats) WriteBareTo(w *tl.Writer)

type TLInputNotifyPeer

type TLInputNotifyPeer struct {
	Peer TLInputPeerType // peer:InputPeer
}

TLInputNotifyPeer represents ctor inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer from Telegram

func (*TLInputNotifyPeer) Cmd

func (o *TLInputNotifyPeer) Cmd() uint32

func (*TLInputNotifyPeer) IsTLInputNotifyPeer

func (o *TLInputNotifyPeer) IsTLInputNotifyPeer()

func (*TLInputNotifyPeer) ReadBareFrom

func (o *TLInputNotifyPeer) ReadBareFrom(r *tl.Reader)

func (*TLInputNotifyPeer) String

func (o *TLInputNotifyPeer) String() string

func (*TLInputNotifyPeer) WriteBareTo

func (o *TLInputNotifyPeer) WriteBareTo(w *tl.Writer)

type TLInputNotifyPeerType

type TLInputNotifyPeerType interface {
	IsTLInputNotifyPeer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputNotifyPeerType represents InputNotifyPeer from Telegram

type TLInputNotifyUsers

type TLInputNotifyUsers struct {
}

TLInputNotifyUsers represents ctor inputNotifyUsers#193b4417 = InputNotifyPeer from Telegram

func (*TLInputNotifyUsers) Cmd

func (o *TLInputNotifyUsers) Cmd() uint32

func (*TLInputNotifyUsers) IsTLInputNotifyPeer

func (o *TLInputNotifyUsers) IsTLInputNotifyPeer()

func (*TLInputNotifyUsers) ReadBareFrom

func (o *TLInputNotifyUsers) ReadBareFrom(r *tl.Reader)

func (*TLInputNotifyUsers) String

func (o *TLInputNotifyUsers) String() string

func (*TLInputNotifyUsers) WriteBareTo

func (o *TLInputNotifyUsers) WriteBareTo(w *tl.Writer)

type TLInputPaymentCredentials

type TLInputPaymentCredentials struct {
	Flags uint        // flags:#
	Data  *TLDataJSON // data:DataJSON
}

TLInputPaymentCredentials represents ctor inputPaymentCredentials#3417d728 flags:# flags.0?save:true data:DataJSON = InputPaymentCredentials from Telegram

func (*TLInputPaymentCredentials) Cmd

func (*TLInputPaymentCredentials) IsTLInputPaymentCredentials

func (o *TLInputPaymentCredentials) IsTLInputPaymentCredentials()

func (*TLInputPaymentCredentials) ReadBareFrom

func (o *TLInputPaymentCredentials) ReadBareFrom(r *tl.Reader)

func (*TLInputPaymentCredentials) Save

func (o *TLInputPaymentCredentials) Save() bool

func (*TLInputPaymentCredentials) SetSave

func (o *TLInputPaymentCredentials) SetSave(v bool)

func (*TLInputPaymentCredentials) String

func (o *TLInputPaymentCredentials) String() string

func (*TLInputPaymentCredentials) WriteBareTo

func (o *TLInputPaymentCredentials) WriteBareTo(w *tl.Writer)

type TLInputPaymentCredentialsSaved

type TLInputPaymentCredentialsSaved struct {
	ID          string // id:string
	TmpPassword []byte // tmp_password:bytes
}

TLInputPaymentCredentialsSaved represents ctor inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials from Telegram

func (*TLInputPaymentCredentialsSaved) Cmd

func (*TLInputPaymentCredentialsSaved) IsTLInputPaymentCredentials

func (o *TLInputPaymentCredentialsSaved) IsTLInputPaymentCredentials()

func (*TLInputPaymentCredentialsSaved) ReadBareFrom

func (o *TLInputPaymentCredentialsSaved) ReadBareFrom(r *tl.Reader)

func (*TLInputPaymentCredentialsSaved) String

func (*TLInputPaymentCredentialsSaved) WriteBareTo

func (o *TLInputPaymentCredentialsSaved) WriteBareTo(w *tl.Writer)

type TLInputPaymentCredentialsType

type TLInputPaymentCredentialsType interface {
	IsTLInputPaymentCredentials()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPaymentCredentialsType represents InputPaymentCredentials from Telegram

type TLInputPeerChannel

type TLInputPeerChannel struct {
	ChannelID  int    // channel_id:int
	AccessHash uint64 // access_hash:long
}

TLInputPeerChannel represents ctor inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer from Telegram

func (*TLInputPeerChannel) Cmd

func (o *TLInputPeerChannel) Cmd() uint32

func (*TLInputPeerChannel) IsTLInputPeer

func (o *TLInputPeerChannel) IsTLInputPeer()

func (*TLInputPeerChannel) ReadBareFrom

func (o *TLInputPeerChannel) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerChannel) String

func (o *TLInputPeerChannel) String() string

func (*TLInputPeerChannel) WriteBareTo

func (o *TLInputPeerChannel) WriteBareTo(w *tl.Writer)

type TLInputPeerChat

type TLInputPeerChat struct {
	ChatID int // chat_id:int
}

TLInputPeerChat represents ctor inputPeerChat#179be863 chat_id:int = InputPeer from Telegram

func (*TLInputPeerChat) Cmd

func (o *TLInputPeerChat) Cmd() uint32

func (*TLInputPeerChat) IsTLInputPeer

func (o *TLInputPeerChat) IsTLInputPeer()

func (*TLInputPeerChat) ReadBareFrom

func (o *TLInputPeerChat) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerChat) String

func (o *TLInputPeerChat) String() string

func (*TLInputPeerChat) WriteBareTo

func (o *TLInputPeerChat) WriteBareTo(w *tl.Writer)

type TLInputPeerEmpty

type TLInputPeerEmpty struct {
}

TLInputPeerEmpty represents ctor inputPeerEmpty#7f3b18ea = InputPeer from Telegram

func (*TLInputPeerEmpty) Cmd

func (o *TLInputPeerEmpty) Cmd() uint32

func (*TLInputPeerEmpty) IsTLInputPeer

func (o *TLInputPeerEmpty) IsTLInputPeer()

func (*TLInputPeerEmpty) ReadBareFrom

func (o *TLInputPeerEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerEmpty) String

func (o *TLInputPeerEmpty) String() string

func (*TLInputPeerEmpty) WriteBareTo

func (o *TLInputPeerEmpty) WriteBareTo(w *tl.Writer)

type TLInputPeerNotifyEventsAll

type TLInputPeerNotifyEventsAll struct {
}

TLInputPeerNotifyEventsAll represents ctor inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents from Telegram

func (*TLInputPeerNotifyEventsAll) Cmd

func (*TLInputPeerNotifyEventsAll) IsTLInputPeerNotifyEvents

func (o *TLInputPeerNotifyEventsAll) IsTLInputPeerNotifyEvents()

func (*TLInputPeerNotifyEventsAll) ReadBareFrom

func (o *TLInputPeerNotifyEventsAll) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerNotifyEventsAll) String

func (o *TLInputPeerNotifyEventsAll) String() string

func (*TLInputPeerNotifyEventsAll) WriteBareTo

func (o *TLInputPeerNotifyEventsAll) WriteBareTo(w *tl.Writer)

type TLInputPeerNotifyEventsEmpty

type TLInputPeerNotifyEventsEmpty struct {
}

TLInputPeerNotifyEventsEmpty represents ctor inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents from Telegram

func (*TLInputPeerNotifyEventsEmpty) Cmd

func (*TLInputPeerNotifyEventsEmpty) IsTLInputPeerNotifyEvents

func (o *TLInputPeerNotifyEventsEmpty) IsTLInputPeerNotifyEvents()

func (*TLInputPeerNotifyEventsEmpty) ReadBareFrom

func (o *TLInputPeerNotifyEventsEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerNotifyEventsEmpty) String

func (*TLInputPeerNotifyEventsEmpty) WriteBareTo

func (o *TLInputPeerNotifyEventsEmpty) WriteBareTo(w *tl.Writer)

type TLInputPeerNotifyEventsType

type TLInputPeerNotifyEventsType interface {
	IsTLInputPeerNotifyEvents()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPeerNotifyEventsType represents InputPeerNotifyEvents from Telegram

type TLInputPeerNotifySettings

type TLInputPeerNotifySettings struct {
	Flags     uint   // flags:#
	MuteUntil int    // mute_until:int
	Sound     string // sound:string
}

TLInputPeerNotifySettings represents ctor inputPeerNotifySettings#38935eb2 flags:# flags.0?show_previews:true flags.1?silent:true mute_until:int sound:string = InputPeerNotifySettings from Telegram

func (*TLInputPeerNotifySettings) Cmd

func (*TLInputPeerNotifySettings) ReadBareFrom

func (o *TLInputPeerNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerNotifySettings) SetShowPreviews

func (o *TLInputPeerNotifySettings) SetShowPreviews(v bool)

func (*TLInputPeerNotifySettings) SetSilent

func (o *TLInputPeerNotifySettings) SetSilent(v bool)

func (*TLInputPeerNotifySettings) ShowPreviews

func (o *TLInputPeerNotifySettings) ShowPreviews() bool

func (*TLInputPeerNotifySettings) Silent

func (o *TLInputPeerNotifySettings) Silent() bool

func (*TLInputPeerNotifySettings) String

func (o *TLInputPeerNotifySettings) String() string

func (*TLInputPeerNotifySettings) WriteBareTo

func (o *TLInputPeerNotifySettings) WriteBareTo(w *tl.Writer)

type TLInputPeerSelf

type TLInputPeerSelf struct {
}

TLInputPeerSelf represents ctor inputPeerSelf#7da07ec9 = InputPeer from Telegram

func (*TLInputPeerSelf) Cmd

func (o *TLInputPeerSelf) Cmd() uint32

func (*TLInputPeerSelf) IsTLInputPeer

func (o *TLInputPeerSelf) IsTLInputPeer()

func (*TLInputPeerSelf) ReadBareFrom

func (o *TLInputPeerSelf) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerSelf) String

func (o *TLInputPeerSelf) String() string

func (*TLInputPeerSelf) WriteBareTo

func (o *TLInputPeerSelf) WriteBareTo(w *tl.Writer)

type TLInputPeerType

type TLInputPeerType interface {
	IsTLInputPeer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPeerType represents InputPeer from Telegram

type TLInputPeerUser

type TLInputPeerUser struct {
	UserID     int    // user_id:int
	AccessHash uint64 // access_hash:long
}

TLInputPeerUser represents ctor inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer from Telegram

func (*TLInputPeerUser) Cmd

func (o *TLInputPeerUser) Cmd() uint32

func (*TLInputPeerUser) IsTLInputPeer

func (o *TLInputPeerUser) IsTLInputPeer()

func (*TLInputPeerUser) ReadBareFrom

func (o *TLInputPeerUser) ReadBareFrom(r *tl.Reader)

func (*TLInputPeerUser) String

func (o *TLInputPeerUser) String() string

func (*TLInputPeerUser) WriteBareTo

func (o *TLInputPeerUser) WriteBareTo(w *tl.Writer)

type TLInputPhoneCall

type TLInputPhoneCall struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputPhoneCall represents ctor inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall from Telegram

func (*TLInputPhoneCall) Cmd

func (o *TLInputPhoneCall) Cmd() uint32

func (*TLInputPhoneCall) ReadBareFrom

func (o *TLInputPhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLInputPhoneCall) String

func (o *TLInputPhoneCall) String() string

func (*TLInputPhoneCall) WriteBareTo

func (o *TLInputPhoneCall) WriteBareTo(w *tl.Writer)

type TLInputPhoneContact

type TLInputPhoneContact struct {
	ClientID  uint64 // client_id:long
	Phone     string // phone:string
	FirstName string // first_name:string
	LastName  string // last_name:string
}

TLInputPhoneContact represents ctor inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact from Telegram

func (*TLInputPhoneContact) Cmd

func (o *TLInputPhoneContact) Cmd() uint32

func (*TLInputPhoneContact) ReadBareFrom

func (o *TLInputPhoneContact) ReadBareFrom(r *tl.Reader)

func (*TLInputPhoneContact) String

func (o *TLInputPhoneContact) String() string

func (*TLInputPhoneContact) WriteBareTo

func (o *TLInputPhoneContact) WriteBareTo(w *tl.Writer)

type TLInputPhoto

type TLInputPhoto struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputPhoto represents ctor inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto from Telegram

func (*TLInputPhoto) Cmd

func (o *TLInputPhoto) Cmd() uint32

func (*TLInputPhoto) IsTLInputPhoto

func (o *TLInputPhoto) IsTLInputPhoto()

func (*TLInputPhoto) ReadBareFrom

func (o *TLInputPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputPhoto) String

func (o *TLInputPhoto) String() string

func (*TLInputPhoto) WriteBareTo

func (o *TLInputPhoto) WriteBareTo(w *tl.Writer)

type TLInputPhotoEmpty

type TLInputPhotoEmpty struct {
}

TLInputPhotoEmpty represents ctor inputPhotoEmpty#1cd7bf0d = InputPhoto from Telegram

func (*TLInputPhotoEmpty) Cmd

func (o *TLInputPhotoEmpty) Cmd() uint32

func (*TLInputPhotoEmpty) IsTLInputPhoto

func (o *TLInputPhotoEmpty) IsTLInputPhoto()

func (*TLInputPhotoEmpty) ReadBareFrom

func (o *TLInputPhotoEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputPhotoEmpty) String

func (o *TLInputPhotoEmpty) String() string

func (*TLInputPhotoEmpty) WriteBareTo

func (o *TLInputPhotoEmpty) WriteBareTo(w *tl.Writer)

type TLInputPhotoType

type TLInputPhotoType interface {
	IsTLInputPhoto()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPhotoType represents InputPhoto from Telegram

type TLInputPrivacyKeyChatInvite

type TLInputPrivacyKeyChatInvite struct {
}

TLInputPrivacyKeyChatInvite represents ctor inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey from Telegram

func (*TLInputPrivacyKeyChatInvite) Cmd

func (*TLInputPrivacyKeyChatInvite) IsTLInputPrivacyKey

func (o *TLInputPrivacyKeyChatInvite) IsTLInputPrivacyKey()

func (*TLInputPrivacyKeyChatInvite) ReadBareFrom

func (o *TLInputPrivacyKeyChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyKeyChatInvite) String

func (o *TLInputPrivacyKeyChatInvite) String() string

func (*TLInputPrivacyKeyChatInvite) WriteBareTo

func (o *TLInputPrivacyKeyChatInvite) WriteBareTo(w *tl.Writer)

type TLInputPrivacyKeyPhoneCall

type TLInputPrivacyKeyPhoneCall struct {
}

TLInputPrivacyKeyPhoneCall represents ctor inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey from Telegram

func (*TLInputPrivacyKeyPhoneCall) Cmd

func (*TLInputPrivacyKeyPhoneCall) IsTLInputPrivacyKey

func (o *TLInputPrivacyKeyPhoneCall) IsTLInputPrivacyKey()

func (*TLInputPrivacyKeyPhoneCall) ReadBareFrom

func (o *TLInputPrivacyKeyPhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyKeyPhoneCall) String

func (o *TLInputPrivacyKeyPhoneCall) String() string

func (*TLInputPrivacyKeyPhoneCall) WriteBareTo

func (o *TLInputPrivacyKeyPhoneCall) WriteBareTo(w *tl.Writer)

type TLInputPrivacyKeyStatusTimestamp

type TLInputPrivacyKeyStatusTimestamp struct {
}

TLInputPrivacyKeyStatusTimestamp represents ctor inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey from Telegram

func (*TLInputPrivacyKeyStatusTimestamp) Cmd

func (*TLInputPrivacyKeyStatusTimestamp) IsTLInputPrivacyKey

func (o *TLInputPrivacyKeyStatusTimestamp) IsTLInputPrivacyKey()

func (*TLInputPrivacyKeyStatusTimestamp) ReadBareFrom

func (o *TLInputPrivacyKeyStatusTimestamp) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyKeyStatusTimestamp) String

func (*TLInputPrivacyKeyStatusTimestamp) WriteBareTo

func (o *TLInputPrivacyKeyStatusTimestamp) WriteBareTo(w *tl.Writer)

type TLInputPrivacyKeyType

type TLInputPrivacyKeyType interface {
	IsTLInputPrivacyKey()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPrivacyKeyType represents InputPrivacyKey from Telegram

type TLInputPrivacyRuleType

type TLInputPrivacyRuleType interface {
	IsTLInputPrivacyRule()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputPrivacyRuleType represents InputPrivacyRule from Telegram

type TLInputPrivacyValueAllowAll

type TLInputPrivacyValueAllowAll struct {
}

TLInputPrivacyValueAllowAll represents ctor inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueAllowAll) Cmd

func (*TLInputPrivacyValueAllowAll) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueAllowAll) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueAllowAll) ReadBareFrom

func (o *TLInputPrivacyValueAllowAll) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueAllowAll) String

func (o *TLInputPrivacyValueAllowAll) String() string

func (*TLInputPrivacyValueAllowAll) WriteBareTo

func (o *TLInputPrivacyValueAllowAll) WriteBareTo(w *tl.Writer)

type TLInputPrivacyValueAllowContacts

type TLInputPrivacyValueAllowContacts struct {
}

TLInputPrivacyValueAllowContacts represents ctor inputPrivacyValueAllowContacts#0d09e07b = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueAllowContacts) Cmd

func (*TLInputPrivacyValueAllowContacts) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueAllowContacts) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueAllowContacts) ReadBareFrom

func (o *TLInputPrivacyValueAllowContacts) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueAllowContacts) String

func (*TLInputPrivacyValueAllowContacts) WriteBareTo

func (o *TLInputPrivacyValueAllowContacts) WriteBareTo(w *tl.Writer)

type TLInputPrivacyValueAllowUsers

type TLInputPrivacyValueAllowUsers struct {
	Users []TLInputUserType // users:Vector<InputUser>
}

TLInputPrivacyValueAllowUsers represents ctor inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueAllowUsers) Cmd

func (*TLInputPrivacyValueAllowUsers) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueAllowUsers) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueAllowUsers) ReadBareFrom

func (o *TLInputPrivacyValueAllowUsers) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueAllowUsers) String

func (*TLInputPrivacyValueAllowUsers) WriteBareTo

func (o *TLInputPrivacyValueAllowUsers) WriteBareTo(w *tl.Writer)

type TLInputPrivacyValueDisallowAll

type TLInputPrivacyValueDisallowAll struct {
}

TLInputPrivacyValueDisallowAll represents ctor inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueDisallowAll) Cmd

func (*TLInputPrivacyValueDisallowAll) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueDisallowAll) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueDisallowAll) ReadBareFrom

func (o *TLInputPrivacyValueDisallowAll) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueDisallowAll) String

func (*TLInputPrivacyValueDisallowAll) WriteBareTo

func (o *TLInputPrivacyValueDisallowAll) WriteBareTo(w *tl.Writer)

type TLInputPrivacyValueDisallowContacts

type TLInputPrivacyValueDisallowContacts struct {
}

TLInputPrivacyValueDisallowContacts represents ctor inputPrivacyValueDisallowContacts#0ba52007 = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueDisallowContacts) Cmd

func (*TLInputPrivacyValueDisallowContacts) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueDisallowContacts) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueDisallowContacts) ReadBareFrom

func (o *TLInputPrivacyValueDisallowContacts) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueDisallowContacts) String

func (*TLInputPrivacyValueDisallowContacts) WriteBareTo

func (o *TLInputPrivacyValueDisallowContacts) WriteBareTo(w *tl.Writer)

type TLInputPrivacyValueDisallowUsers

type TLInputPrivacyValueDisallowUsers struct {
	Users []TLInputUserType // users:Vector<InputUser>
}

TLInputPrivacyValueDisallowUsers represents ctor inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule from Telegram

func (*TLInputPrivacyValueDisallowUsers) Cmd

func (*TLInputPrivacyValueDisallowUsers) IsTLInputPrivacyRule

func (o *TLInputPrivacyValueDisallowUsers) IsTLInputPrivacyRule()

func (*TLInputPrivacyValueDisallowUsers) ReadBareFrom

func (o *TLInputPrivacyValueDisallowUsers) ReadBareFrom(r *tl.Reader)

func (*TLInputPrivacyValueDisallowUsers) String

func (*TLInputPrivacyValueDisallowUsers) WriteBareTo

func (o *TLInputPrivacyValueDisallowUsers) WriteBareTo(w *tl.Writer)

type TLInputReportReasonOther

type TLInputReportReasonOther struct {
	Text string // text:string
}

TLInputReportReasonOther represents ctor inputReportReasonOther#e1746d0a text:string = ReportReason from Telegram

func (*TLInputReportReasonOther) Cmd

func (*TLInputReportReasonOther) IsTLReportReason

func (o *TLInputReportReasonOther) IsTLReportReason()

func (*TLInputReportReasonOther) ReadBareFrom

func (o *TLInputReportReasonOther) ReadBareFrom(r *tl.Reader)

func (*TLInputReportReasonOther) String

func (o *TLInputReportReasonOther) String() string

func (*TLInputReportReasonOther) WriteBareTo

func (o *TLInputReportReasonOther) WriteBareTo(w *tl.Writer)

type TLInputReportReasonPornography

type TLInputReportReasonPornography struct {
}

TLInputReportReasonPornography represents ctor inputReportReasonPornography#2e59d922 = ReportReason from Telegram

func (*TLInputReportReasonPornography) Cmd

func (*TLInputReportReasonPornography) IsTLReportReason

func (o *TLInputReportReasonPornography) IsTLReportReason()

func (*TLInputReportReasonPornography) ReadBareFrom

func (o *TLInputReportReasonPornography) ReadBareFrom(r *tl.Reader)

func (*TLInputReportReasonPornography) String

func (*TLInputReportReasonPornography) WriteBareTo

func (o *TLInputReportReasonPornography) WriteBareTo(w *tl.Writer)

type TLInputReportReasonSpam

type TLInputReportReasonSpam struct {
}

TLInputReportReasonSpam represents ctor inputReportReasonSpam#58dbcab8 = ReportReason from Telegram

func (*TLInputReportReasonSpam) Cmd

func (*TLInputReportReasonSpam) IsTLReportReason

func (o *TLInputReportReasonSpam) IsTLReportReason()

func (*TLInputReportReasonSpam) ReadBareFrom

func (o *TLInputReportReasonSpam) ReadBareFrom(r *tl.Reader)

func (*TLInputReportReasonSpam) String

func (o *TLInputReportReasonSpam) String() string

func (*TLInputReportReasonSpam) WriteBareTo

func (o *TLInputReportReasonSpam) WriteBareTo(w *tl.Writer)

type TLInputReportReasonViolence

type TLInputReportReasonViolence struct {
}

TLInputReportReasonViolence represents ctor inputReportReasonViolence#1e22c78d = ReportReason from Telegram

func (*TLInputReportReasonViolence) Cmd

func (*TLInputReportReasonViolence) IsTLReportReason

func (o *TLInputReportReasonViolence) IsTLReportReason()

func (*TLInputReportReasonViolence) ReadBareFrom

func (o *TLInputReportReasonViolence) ReadBareFrom(r *tl.Reader)

func (*TLInputReportReasonViolence) String

func (o *TLInputReportReasonViolence) String() string

func (*TLInputReportReasonViolence) WriteBareTo

func (o *TLInputReportReasonViolence) WriteBareTo(w *tl.Writer)

type TLInputStickerSetEmpty

type TLInputStickerSetEmpty struct {
}

TLInputStickerSetEmpty represents ctor inputStickerSetEmpty#ffb62b95 = InputStickerSet from Telegram

func (*TLInputStickerSetEmpty) Cmd

func (o *TLInputStickerSetEmpty) Cmd() uint32

func (*TLInputStickerSetEmpty) IsTLInputStickerSet

func (o *TLInputStickerSetEmpty) IsTLInputStickerSet()

func (*TLInputStickerSetEmpty) ReadBareFrom

func (o *TLInputStickerSetEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputStickerSetEmpty) String

func (o *TLInputStickerSetEmpty) String() string

func (*TLInputStickerSetEmpty) WriteBareTo

func (o *TLInputStickerSetEmpty) WriteBareTo(w *tl.Writer)

type TLInputStickerSetID

type TLInputStickerSetID struct {
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
}

TLInputStickerSetID represents ctor inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet from Telegram

func (*TLInputStickerSetID) Cmd

func (o *TLInputStickerSetID) Cmd() uint32

func (*TLInputStickerSetID) IsTLInputStickerSet

func (o *TLInputStickerSetID) IsTLInputStickerSet()

func (*TLInputStickerSetID) ReadBareFrom

func (o *TLInputStickerSetID) ReadBareFrom(r *tl.Reader)

func (*TLInputStickerSetID) String

func (o *TLInputStickerSetID) String() string

func (*TLInputStickerSetID) WriteBareTo

func (o *TLInputStickerSetID) WriteBareTo(w *tl.Writer)

type TLInputStickerSetShortName

type TLInputStickerSetShortName struct {
	ShortName string // short_name:string
}

TLInputStickerSetShortName represents ctor inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet from Telegram

func (*TLInputStickerSetShortName) Cmd

func (*TLInputStickerSetShortName) IsTLInputStickerSet

func (o *TLInputStickerSetShortName) IsTLInputStickerSet()

func (*TLInputStickerSetShortName) ReadBareFrom

func (o *TLInputStickerSetShortName) ReadBareFrom(r *tl.Reader)

func (*TLInputStickerSetShortName) String

func (o *TLInputStickerSetShortName) String() string

func (*TLInputStickerSetShortName) WriteBareTo

func (o *TLInputStickerSetShortName) WriteBareTo(w *tl.Writer)

type TLInputStickerSetType

type TLInputStickerSetType interface {
	IsTLInputStickerSet()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputStickerSetType represents InputStickerSet from Telegram

type TLInputStickeredMediaDocument

type TLInputStickeredMediaDocument struct {
	ID TLInputDocumentType // id:InputDocument
}

TLInputStickeredMediaDocument represents ctor inputStickeredMediaDocument#0438865b id:InputDocument = InputStickeredMedia from Telegram

func (*TLInputStickeredMediaDocument) Cmd

func (*TLInputStickeredMediaDocument) IsTLInputStickeredMedia

func (o *TLInputStickeredMediaDocument) IsTLInputStickeredMedia()

func (*TLInputStickeredMediaDocument) ReadBareFrom

func (o *TLInputStickeredMediaDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputStickeredMediaDocument) String

func (*TLInputStickeredMediaDocument) WriteBareTo

func (o *TLInputStickeredMediaDocument) WriteBareTo(w *tl.Writer)

type TLInputStickeredMediaPhoto

type TLInputStickeredMediaPhoto struct {
	ID TLInputPhotoType // id:InputPhoto
}

TLInputStickeredMediaPhoto represents ctor inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia from Telegram

func (*TLInputStickeredMediaPhoto) Cmd

func (*TLInputStickeredMediaPhoto) IsTLInputStickeredMedia

func (o *TLInputStickeredMediaPhoto) IsTLInputStickeredMedia()

func (*TLInputStickeredMediaPhoto) ReadBareFrom

func (o *TLInputStickeredMediaPhoto) ReadBareFrom(r *tl.Reader)

func (*TLInputStickeredMediaPhoto) String

func (o *TLInputStickeredMediaPhoto) String() string

func (*TLInputStickeredMediaPhoto) WriteBareTo

func (o *TLInputStickeredMediaPhoto) WriteBareTo(w *tl.Writer)

type TLInputStickeredMediaType

type TLInputStickeredMediaType interface {
	IsTLInputStickeredMedia()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputStickeredMediaType represents InputStickeredMedia from Telegram

type TLInputUser

type TLInputUser struct {
	UserID     int    // user_id:int
	AccessHash uint64 // access_hash:long
}

TLInputUser represents ctor inputUser#d8292816 user_id:int access_hash:long = InputUser from Telegram

func (*TLInputUser) Cmd

func (o *TLInputUser) Cmd() uint32

func (*TLInputUser) IsTLInputUser

func (o *TLInputUser) IsTLInputUser()

func (*TLInputUser) ReadBareFrom

func (o *TLInputUser) ReadBareFrom(r *tl.Reader)

func (*TLInputUser) String

func (o *TLInputUser) String() string

func (*TLInputUser) WriteBareTo

func (o *TLInputUser) WriteBareTo(w *tl.Writer)

type TLInputUserEmpty

type TLInputUserEmpty struct {
}

TLInputUserEmpty represents ctor inputUserEmpty#b98886cf = InputUser from Telegram

func (*TLInputUserEmpty) Cmd

func (o *TLInputUserEmpty) Cmd() uint32

func (*TLInputUserEmpty) IsTLInputUser

func (o *TLInputUserEmpty) IsTLInputUser()

func (*TLInputUserEmpty) ReadBareFrom

func (o *TLInputUserEmpty) ReadBareFrom(r *tl.Reader)

func (*TLInputUserEmpty) String

func (o *TLInputUserEmpty) String() string

func (*TLInputUserEmpty) WriteBareTo

func (o *TLInputUserEmpty) WriteBareTo(w *tl.Writer)

type TLInputUserSelf

type TLInputUserSelf struct {
}

TLInputUserSelf represents ctor inputUserSelf#f7c1b13f = InputUser from Telegram

func (*TLInputUserSelf) Cmd

func (o *TLInputUserSelf) Cmd() uint32

func (*TLInputUserSelf) IsTLInputUser

func (o *TLInputUserSelf) IsTLInputUser()

func (*TLInputUserSelf) ReadBareFrom

func (o *TLInputUserSelf) ReadBareFrom(r *tl.Reader)

func (*TLInputUserSelf) String

func (o *TLInputUserSelf) String() string

func (*TLInputUserSelf) WriteBareTo

func (o *TLInputUserSelf) WriteBareTo(w *tl.Writer)

type TLInputUserType

type TLInputUserType interface {
	IsTLInputUser()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLInputUserType represents InputUser from Telegram

type TLInputWebDocument

type TLInputWebDocument struct {
	URL        string                    // url:string
	Size       int                       // size:int
	MimeType   string                    // mime_type:string
	Attributes []TLDocumentAttributeType // attributes:Vector<DocumentAttribute>
}

TLInputWebDocument represents ctor inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument from Telegram

func (*TLInputWebDocument) Cmd

func (o *TLInputWebDocument) Cmd() uint32

func (*TLInputWebDocument) ReadBareFrom

func (o *TLInputWebDocument) ReadBareFrom(r *tl.Reader)

func (*TLInputWebDocument) String

func (o *TLInputWebDocument) String() string

func (*TLInputWebDocument) WriteBareTo

func (o *TLInputWebDocument) WriteBareTo(w *tl.Writer)

type TLInputWebFileLocation

type TLInputWebFileLocation struct {
	URL        string // url:string
	AccessHash uint64 // access_hash:long
}

TLInputWebFileLocation represents ctor inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation from Telegram

func (*TLInputWebFileLocation) Cmd

func (o *TLInputWebFileLocation) Cmd() uint32

func (*TLInputWebFileLocation) ReadBareFrom

func (o *TLInputWebFileLocation) ReadBareFrom(r *tl.Reader)

func (*TLInputWebFileLocation) String

func (o *TLInputWebFileLocation) String() string

func (*TLInputWebFileLocation) WriteBareTo

func (o *TLInputWebFileLocation) WriteBareTo(w *tl.Writer)

type TLInvoice

type TLInvoice struct {
	Flags    uint              // flags:#
	Currency string            // currency:string
	Prices   []*TLLabeledPrice // prices:Vector<LabeledPrice>
}

TLInvoice represents ctor invoice#c30aa358 flags:# flags.0?test:true flags.1?name_requested:true flags.2?phone_requested:true flags.3?email_requested:true flags.4?shipping_address_requested:true flags.5?flexible:true currency:string prices:Vector<LabeledPrice> = Invoice from Telegram

func (*TLInvoice) Cmd

func (o *TLInvoice) Cmd() uint32

func (*TLInvoice) EmailRequested

func (o *TLInvoice) EmailRequested() bool

func (*TLInvoice) Flexible

func (o *TLInvoice) Flexible() bool

func (*TLInvoice) NameRequested

func (o *TLInvoice) NameRequested() bool

func (*TLInvoice) PhoneRequested

func (o *TLInvoice) PhoneRequested() bool

func (*TLInvoice) ReadBareFrom

func (o *TLInvoice) ReadBareFrom(r *tl.Reader)

func (*TLInvoice) SetEmailRequested

func (o *TLInvoice) SetEmailRequested(v bool)

func (*TLInvoice) SetFlexible

func (o *TLInvoice) SetFlexible(v bool)

func (*TLInvoice) SetNameRequested

func (o *TLInvoice) SetNameRequested(v bool)

func (*TLInvoice) SetPhoneRequested

func (o *TLInvoice) SetPhoneRequested(v bool)

func (*TLInvoice) SetShippingAddressRequested

func (o *TLInvoice) SetShippingAddressRequested(v bool)

func (*TLInvoice) SetTest

func (o *TLInvoice) SetTest(v bool)

func (*TLInvoice) ShippingAddressRequested

func (o *TLInvoice) ShippingAddressRequested() bool

func (*TLInvoice) String

func (o *TLInvoice) String() string

func (*TLInvoice) Test

func (o *TLInvoice) Test() bool

func (*TLInvoice) WriteBareTo

func (o *TLInvoice) WriteBareTo(w *tl.Writer)

type TLInvokeAfterMsg

type TLInvokeAfterMsg struct {
	MsgID uint64    // msg_id:long
	Query tl.Object // query:Object
}

TLInvokeAfterMsg represents func invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:Object = Object from Telegram

func (*TLInvokeAfterMsg) Cmd

func (o *TLInvokeAfterMsg) Cmd() uint32

func (*TLInvokeAfterMsg) ReadBareFrom

func (o *TLInvokeAfterMsg) ReadBareFrom(r *tl.Reader)

func (*TLInvokeAfterMsg) String

func (o *TLInvokeAfterMsg) String() string

func (*TLInvokeAfterMsg) WriteBareTo

func (o *TLInvokeAfterMsg) WriteBareTo(w *tl.Writer)

type TLInvokeAfterMsgs

type TLInvokeAfterMsgs struct {
	MsgIDs []uint64  // msg_ids:Vector<long>
	Query  tl.Object // query:Object
}

TLInvokeAfterMsgs represents func invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:Object = Object from Telegram

func (*TLInvokeAfterMsgs) Cmd

func (o *TLInvokeAfterMsgs) Cmd() uint32

func (*TLInvokeAfterMsgs) ReadBareFrom

func (o *TLInvokeAfterMsgs) ReadBareFrom(r *tl.Reader)

func (*TLInvokeAfterMsgs) String

func (o *TLInvokeAfterMsgs) String() string

func (*TLInvokeAfterMsgs) WriteBareTo

func (o *TLInvokeAfterMsgs) WriteBareTo(w *tl.Writer)

type TLInvokeWithLayer

type TLInvokeWithLayer struct {
	Layer int       // layer:int
	Query tl.Object // query:Object
}

TLInvokeWithLayer represents func invokeWithLayer#da9b0d0d {X:Type} layer:int query:Object = Object from Telegram

func (*TLInvokeWithLayer) Cmd

func (o *TLInvokeWithLayer) Cmd() uint32

func (*TLInvokeWithLayer) ReadBareFrom

func (o *TLInvokeWithLayer) ReadBareFrom(r *tl.Reader)

func (*TLInvokeWithLayer) String

func (o *TLInvokeWithLayer) String() string

func (*TLInvokeWithLayer) WriteBareTo

func (o *TLInvokeWithLayer) WriteBareTo(w *tl.Writer)

type TLInvokeWithoutUpdates

type TLInvokeWithoutUpdates struct {
	Query tl.Object // query:Object
}

TLInvokeWithoutUpdates represents func invokeWithoutUpdates#bf9459b7 {X:Type} query:Object = Object from Telegram

func (*TLInvokeWithoutUpdates) Cmd

func (o *TLInvokeWithoutUpdates) Cmd() uint32

func (*TLInvokeWithoutUpdates) ReadBareFrom

func (o *TLInvokeWithoutUpdates) ReadBareFrom(r *tl.Reader)

func (*TLInvokeWithoutUpdates) String

func (o *TLInvokeWithoutUpdates) String() string

func (*TLInvokeWithoutUpdates) WriteBareTo

func (o *TLInvokeWithoutUpdates) WriteBareTo(w *tl.Writer)

type TLKeyboardButton

type TLKeyboardButton struct {
	Text string // text:string
}

TLKeyboardButton represents ctor keyboardButton#a2fa4880 text:string = KeyboardButton from Telegram

func (*TLKeyboardButton) Cmd

func (o *TLKeyboardButton) Cmd() uint32

func (*TLKeyboardButton) IsTLKeyboardButton

func (o *TLKeyboardButton) IsTLKeyboardButton()

func (*TLKeyboardButton) ReadBareFrom

func (o *TLKeyboardButton) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButton) String

func (o *TLKeyboardButton) String() string

func (*TLKeyboardButton) WriteBareTo

func (o *TLKeyboardButton) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonBuy

type TLKeyboardButtonBuy struct {
	Text string // text:string
}

TLKeyboardButtonBuy represents ctor keyboardButtonBuy#afd93fbb text:string = KeyboardButton from Telegram

func (*TLKeyboardButtonBuy) Cmd

func (o *TLKeyboardButtonBuy) Cmd() uint32

func (*TLKeyboardButtonBuy) IsTLKeyboardButton

func (o *TLKeyboardButtonBuy) IsTLKeyboardButton()

func (*TLKeyboardButtonBuy) ReadBareFrom

func (o *TLKeyboardButtonBuy) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonBuy) String

func (o *TLKeyboardButtonBuy) String() string

func (*TLKeyboardButtonBuy) WriteBareTo

func (o *TLKeyboardButtonBuy) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonCallback

type TLKeyboardButtonCallback struct {
	Text string // text:string
	Data []byte // data:bytes
}

TLKeyboardButtonCallback represents ctor keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton from Telegram

func (*TLKeyboardButtonCallback) Cmd

func (*TLKeyboardButtonCallback) IsTLKeyboardButton

func (o *TLKeyboardButtonCallback) IsTLKeyboardButton()

func (*TLKeyboardButtonCallback) ReadBareFrom

func (o *TLKeyboardButtonCallback) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonCallback) String

func (o *TLKeyboardButtonCallback) String() string

func (*TLKeyboardButtonCallback) WriteBareTo

func (o *TLKeyboardButtonCallback) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonGame

type TLKeyboardButtonGame struct {
	Text string // text:string
}

TLKeyboardButtonGame represents ctor keyboardButtonGame#50f41ccf text:string = KeyboardButton from Telegram

func (*TLKeyboardButtonGame) Cmd

func (o *TLKeyboardButtonGame) Cmd() uint32

func (*TLKeyboardButtonGame) IsTLKeyboardButton

func (o *TLKeyboardButtonGame) IsTLKeyboardButton()

func (*TLKeyboardButtonGame) ReadBareFrom

func (o *TLKeyboardButtonGame) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonGame) String

func (o *TLKeyboardButtonGame) String() string

func (*TLKeyboardButtonGame) WriteBareTo

func (o *TLKeyboardButtonGame) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonRequestGeoLocation

type TLKeyboardButtonRequestGeoLocation struct {
	Text string // text:string
}

TLKeyboardButtonRequestGeoLocation represents ctor keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton from Telegram

func (*TLKeyboardButtonRequestGeoLocation) Cmd

func (*TLKeyboardButtonRequestGeoLocation) IsTLKeyboardButton

func (o *TLKeyboardButtonRequestGeoLocation) IsTLKeyboardButton()

func (*TLKeyboardButtonRequestGeoLocation) ReadBareFrom

func (o *TLKeyboardButtonRequestGeoLocation) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonRequestGeoLocation) String

func (*TLKeyboardButtonRequestGeoLocation) WriteBareTo

func (o *TLKeyboardButtonRequestGeoLocation) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonRequestPhone

type TLKeyboardButtonRequestPhone struct {
	Text string // text:string
}

TLKeyboardButtonRequestPhone represents ctor keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton from Telegram

func (*TLKeyboardButtonRequestPhone) Cmd

func (*TLKeyboardButtonRequestPhone) IsTLKeyboardButton

func (o *TLKeyboardButtonRequestPhone) IsTLKeyboardButton()

func (*TLKeyboardButtonRequestPhone) ReadBareFrom

func (o *TLKeyboardButtonRequestPhone) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonRequestPhone) String

func (*TLKeyboardButtonRequestPhone) WriteBareTo

func (o *TLKeyboardButtonRequestPhone) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonRow

type TLKeyboardButtonRow struct {
	Buttons []TLKeyboardButtonType // buttons:Vector<KeyboardButton>
}

TLKeyboardButtonRow represents ctor keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow from Telegram

func (*TLKeyboardButtonRow) Cmd

func (o *TLKeyboardButtonRow) Cmd() uint32

func (*TLKeyboardButtonRow) ReadBareFrom

func (o *TLKeyboardButtonRow) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonRow) String

func (o *TLKeyboardButtonRow) String() string

func (*TLKeyboardButtonRow) WriteBareTo

func (o *TLKeyboardButtonRow) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonSwitchInline

type TLKeyboardButtonSwitchInline struct {
	Flags uint   // flags:#
	Text  string // text:string
	Query string // query:string
}

TLKeyboardButtonSwitchInline represents ctor keyboardButtonSwitchInline#0568a748 flags:# flags.0?same_peer:true text:string query:string = KeyboardButton from Telegram

func (*TLKeyboardButtonSwitchInline) Cmd

func (*TLKeyboardButtonSwitchInline) IsTLKeyboardButton

func (o *TLKeyboardButtonSwitchInline) IsTLKeyboardButton()

func (*TLKeyboardButtonSwitchInline) ReadBareFrom

func (o *TLKeyboardButtonSwitchInline) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonSwitchInline) SamePeer

func (o *TLKeyboardButtonSwitchInline) SamePeer() bool

func (*TLKeyboardButtonSwitchInline) SetSamePeer

func (o *TLKeyboardButtonSwitchInline) SetSamePeer(v bool)

func (*TLKeyboardButtonSwitchInline) String

func (*TLKeyboardButtonSwitchInline) WriteBareTo

func (o *TLKeyboardButtonSwitchInline) WriteBareTo(w *tl.Writer)

type TLKeyboardButtonType

type TLKeyboardButtonType interface {
	IsTLKeyboardButton()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLKeyboardButtonType represents KeyboardButton from Telegram

type TLKeyboardButtonURL

type TLKeyboardButtonURL struct {
	Text string // text:string
	URL  string // url:string
}

TLKeyboardButtonURL represents ctor keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton from Telegram

func (*TLKeyboardButtonURL) Cmd

func (o *TLKeyboardButtonURL) Cmd() uint32

func (*TLKeyboardButtonURL) IsTLKeyboardButton

func (o *TLKeyboardButtonURL) IsTLKeyboardButton()

func (*TLKeyboardButtonURL) ReadBareFrom

func (o *TLKeyboardButtonURL) ReadBareFrom(r *tl.Reader)

func (*TLKeyboardButtonURL) String

func (o *TLKeyboardButtonURL) String() string

func (*TLKeyboardButtonURL) WriteBareTo

func (o *TLKeyboardButtonURL) WriteBareTo(w *tl.Writer)

type TLLabeledPrice

type TLLabeledPrice struct {
	Label  string // label:string
	Amount uint64 // amount:long
}

TLLabeledPrice represents ctor labeledPrice#cb296bf8 label:string amount:long = LabeledPrice from Telegram

func (*TLLabeledPrice) Cmd

func (o *TLLabeledPrice) Cmd() uint32

func (*TLLabeledPrice) ReadBareFrom

func (o *TLLabeledPrice) ReadBareFrom(r *tl.Reader)

func (*TLLabeledPrice) String

func (o *TLLabeledPrice) String() string

func (*TLLabeledPrice) WriteBareTo

func (o *TLLabeledPrice) WriteBareTo(w *tl.Writer)

type TLMaskCoords

type TLMaskCoords struct {
	N    int     // n:int
	X    float64 // x:double
	Y    float64 // y:double
	Zoom float64 // zoom:double
}

TLMaskCoords represents ctor maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords from Telegram

func (*TLMaskCoords) Cmd

func (o *TLMaskCoords) Cmd() uint32

func (*TLMaskCoords) ReadBareFrom

func (o *TLMaskCoords) ReadBareFrom(r *tl.Reader)

func (*TLMaskCoords) String

func (o *TLMaskCoords) String() string

func (*TLMaskCoords) WriteBareTo

func (o *TLMaskCoords) WriteBareTo(w *tl.Writer)

type TLMessage

type TLMessage struct {
	Flags        uint                  // flags:#
	ID           int                   // id:int
	FromID       int                   // flags.8?from_id:int
	ToID         TLPeerType            // to_id:Peer
	FwdFrom      *TLMessageFwdHeader   // flags.2?fwd_from:MessageFwdHeader
	ViaBotID     int                   // flags.11?via_bot_id:int
	ReplyToMsgID int                   // flags.3?reply_to_msg_id:int
	Date         int                   // date:int
	Message      string                // message:string
	Media        TLMessageMediaType    // flags.9?media:MessageMedia
	ReplyMarkup  TLReplyMarkupType     // flags.6?reply_markup:ReplyMarkup
	Entities     []TLMessageEntityType // flags.7?entities:Vector<MessageEntity>
	Views        int                   // flags.10?views:int
	EditDate     int                   // flags.15?edit_date:int
}

TLMessage represents ctor message#c09be45f flags:# flags.1?out:true flags.4?mentioned:true flags.5?media_unread:true flags.13?silent:true flags.14?post:true id:int flags.8?from_id:int to_id:Peer flags.2?fwd_from:MessageFwdHeader flags.11?via_bot_id:int flags.3?reply_to_msg_id:int date:int message:string flags.9?media:MessageMedia flags.6?reply_markup:ReplyMarkup flags.7?entities:Vector<MessageEntity> flags.10?views:int flags.15?edit_date:int = Message from Telegram

func (*TLMessage) Cmd

func (o *TLMessage) Cmd() uint32

func (*TLMessage) HasEditDate

func (o *TLMessage) HasEditDate() bool

func (*TLMessage) HasEntities

func (o *TLMessage) HasEntities() bool

func (*TLMessage) HasFromID

func (o *TLMessage) HasFromID() bool

func (*TLMessage) HasFwdFrom

func (o *TLMessage) HasFwdFrom() bool

func (*TLMessage) HasMedia

func (o *TLMessage) HasMedia() bool

func (*TLMessage) HasReplyMarkup

func (o *TLMessage) HasReplyMarkup() bool

func (*TLMessage) HasReplyToMsgID

func (o *TLMessage) HasReplyToMsgID() bool

func (*TLMessage) HasViaBotID

func (o *TLMessage) HasViaBotID() bool

func (*TLMessage) HasViews

func (o *TLMessage) HasViews() bool

func (*TLMessage) IsTLMessage

func (o *TLMessage) IsTLMessage()

func (*TLMessage) MediaUnread

func (o *TLMessage) MediaUnread() bool

func (*TLMessage) Mentioned

func (o *TLMessage) Mentioned() bool

func (*TLMessage) Out

func (o *TLMessage) Out() bool

func (*TLMessage) Post

func (o *TLMessage) Post() bool

func (*TLMessage) ReadBareFrom

func (o *TLMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessage) SetHasEditDate

func (o *TLMessage) SetHasEditDate(v bool)

func (*TLMessage) SetHasEntities

func (o *TLMessage) SetHasEntities(v bool)

func (*TLMessage) SetHasFromID

func (o *TLMessage) SetHasFromID(v bool)

func (*TLMessage) SetHasFwdFrom

func (o *TLMessage) SetHasFwdFrom(v bool)

func (*TLMessage) SetHasMedia

func (o *TLMessage) SetHasMedia(v bool)

func (*TLMessage) SetHasReplyMarkup

func (o *TLMessage) SetHasReplyMarkup(v bool)

func (*TLMessage) SetHasReplyToMsgID

func (o *TLMessage) SetHasReplyToMsgID(v bool)

func (*TLMessage) SetHasViaBotID

func (o *TLMessage) SetHasViaBotID(v bool)

func (*TLMessage) SetHasViews

func (o *TLMessage) SetHasViews(v bool)

func (*TLMessage) SetMediaUnread

func (o *TLMessage) SetMediaUnread(v bool)

func (*TLMessage) SetMentioned

func (o *TLMessage) SetMentioned(v bool)

func (*TLMessage) SetOut

func (o *TLMessage) SetOut(v bool)

func (*TLMessage) SetPost

func (o *TLMessage) SetPost(v bool)

func (*TLMessage) SetSilent

func (o *TLMessage) SetSilent(v bool)

func (*TLMessage) Silent

func (o *TLMessage) Silent() bool

func (*TLMessage) String

func (o *TLMessage) String() string

func (*TLMessage) WriteBareTo

func (o *TLMessage) WriteBareTo(w *tl.Writer)

type TLMessageActionChannelCreate

type TLMessageActionChannelCreate struct {
	Title string // title:string
}

TLMessageActionChannelCreate represents ctor messageActionChannelCreate#95d2ac92 title:string = MessageAction from Telegram

func (*TLMessageActionChannelCreate) Cmd

func (*TLMessageActionChannelCreate) IsTLMessageAction

func (o *TLMessageActionChannelCreate) IsTLMessageAction()

func (*TLMessageActionChannelCreate) ReadBareFrom

func (o *TLMessageActionChannelCreate) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChannelCreate) String

func (*TLMessageActionChannelCreate) WriteBareTo

func (o *TLMessageActionChannelCreate) WriteBareTo(w *tl.Writer)

type TLMessageActionChannelMigrateFrom

type TLMessageActionChannelMigrateFrom struct {
	Title  string // title:string
	ChatID int    // chat_id:int
}

TLMessageActionChannelMigrateFrom represents ctor messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction from Telegram

func (*TLMessageActionChannelMigrateFrom) Cmd

func (*TLMessageActionChannelMigrateFrom) IsTLMessageAction

func (o *TLMessageActionChannelMigrateFrom) IsTLMessageAction()

func (*TLMessageActionChannelMigrateFrom) ReadBareFrom

func (o *TLMessageActionChannelMigrateFrom) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChannelMigrateFrom) String

func (*TLMessageActionChannelMigrateFrom) WriteBareTo

func (o *TLMessageActionChannelMigrateFrom) WriteBareTo(w *tl.Writer)

type TLMessageActionChatAddUser

type TLMessageActionChatAddUser struct {
	Users []int // users:Vector<int>
}

TLMessageActionChatAddUser represents ctor messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction from Telegram

func (*TLMessageActionChatAddUser) Cmd

func (*TLMessageActionChatAddUser) IsTLMessageAction

func (o *TLMessageActionChatAddUser) IsTLMessageAction()

func (*TLMessageActionChatAddUser) ReadBareFrom

func (o *TLMessageActionChatAddUser) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatAddUser) String

func (o *TLMessageActionChatAddUser) String() string

func (*TLMessageActionChatAddUser) WriteBareTo

func (o *TLMessageActionChatAddUser) WriteBareTo(w *tl.Writer)

type TLMessageActionChatCreate

type TLMessageActionChatCreate struct {
	Title string // title:string
	Users []int  // users:Vector<int>
}

TLMessageActionChatCreate represents ctor messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction from Telegram

func (*TLMessageActionChatCreate) Cmd

func (*TLMessageActionChatCreate) IsTLMessageAction

func (o *TLMessageActionChatCreate) IsTLMessageAction()

func (*TLMessageActionChatCreate) ReadBareFrom

func (o *TLMessageActionChatCreate) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatCreate) String

func (o *TLMessageActionChatCreate) String() string

func (*TLMessageActionChatCreate) WriteBareTo

func (o *TLMessageActionChatCreate) WriteBareTo(w *tl.Writer)

type TLMessageActionChatDeletePhoto

type TLMessageActionChatDeletePhoto struct {
}

TLMessageActionChatDeletePhoto represents ctor messageActionChatDeletePhoto#95e3fbef = MessageAction from Telegram

func (*TLMessageActionChatDeletePhoto) Cmd

func (*TLMessageActionChatDeletePhoto) IsTLMessageAction

func (o *TLMessageActionChatDeletePhoto) IsTLMessageAction()

func (*TLMessageActionChatDeletePhoto) ReadBareFrom

func (o *TLMessageActionChatDeletePhoto) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatDeletePhoto) String

func (*TLMessageActionChatDeletePhoto) WriteBareTo

func (o *TLMessageActionChatDeletePhoto) WriteBareTo(w *tl.Writer)

type TLMessageActionChatDeleteUser

type TLMessageActionChatDeleteUser struct {
	UserID int // user_id:int
}

TLMessageActionChatDeleteUser represents ctor messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction from Telegram

func (*TLMessageActionChatDeleteUser) Cmd

func (*TLMessageActionChatDeleteUser) IsTLMessageAction

func (o *TLMessageActionChatDeleteUser) IsTLMessageAction()

func (*TLMessageActionChatDeleteUser) ReadBareFrom

func (o *TLMessageActionChatDeleteUser) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatDeleteUser) String

func (*TLMessageActionChatDeleteUser) WriteBareTo

func (o *TLMessageActionChatDeleteUser) WriteBareTo(w *tl.Writer)

type TLMessageActionChatEditPhoto

type TLMessageActionChatEditPhoto struct {
	Photo TLPhotoType // photo:Photo
}

TLMessageActionChatEditPhoto represents ctor messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction from Telegram

func (*TLMessageActionChatEditPhoto) Cmd

func (*TLMessageActionChatEditPhoto) IsTLMessageAction

func (o *TLMessageActionChatEditPhoto) IsTLMessageAction()

func (*TLMessageActionChatEditPhoto) ReadBareFrom

func (o *TLMessageActionChatEditPhoto) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatEditPhoto) String

func (*TLMessageActionChatEditPhoto) WriteBareTo

func (o *TLMessageActionChatEditPhoto) WriteBareTo(w *tl.Writer)

type TLMessageActionChatEditTitle

type TLMessageActionChatEditTitle struct {
	Title string // title:string
}

TLMessageActionChatEditTitle represents ctor messageActionChatEditTitle#b5a1ce5a title:string = MessageAction from Telegram

func (*TLMessageActionChatEditTitle) Cmd

func (*TLMessageActionChatEditTitle) IsTLMessageAction

func (o *TLMessageActionChatEditTitle) IsTLMessageAction()

func (*TLMessageActionChatEditTitle) ReadBareFrom

func (o *TLMessageActionChatEditTitle) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatEditTitle) String

func (*TLMessageActionChatEditTitle) WriteBareTo

func (o *TLMessageActionChatEditTitle) WriteBareTo(w *tl.Writer)
type TLMessageActionChatJoinedByLink struct {
	InviterID int // inviter_id:int
}

TLMessageActionChatJoinedByLink represents ctor messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction from Telegram

func (*TLMessageActionChatJoinedByLink) Cmd

func (*TLMessageActionChatJoinedByLink) IsTLMessageAction

func (o *TLMessageActionChatJoinedByLink) IsTLMessageAction()

func (*TLMessageActionChatJoinedByLink) ReadBareFrom

func (o *TLMessageActionChatJoinedByLink) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatJoinedByLink) String

func (*TLMessageActionChatJoinedByLink) WriteBareTo

func (o *TLMessageActionChatJoinedByLink) WriteBareTo(w *tl.Writer)

type TLMessageActionChatMigrateTo

type TLMessageActionChatMigrateTo struct {
	ChannelID int // channel_id:int
}

TLMessageActionChatMigrateTo represents ctor messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction from Telegram

func (*TLMessageActionChatMigrateTo) Cmd

func (*TLMessageActionChatMigrateTo) IsTLMessageAction

func (o *TLMessageActionChatMigrateTo) IsTLMessageAction()

func (*TLMessageActionChatMigrateTo) ReadBareFrom

func (o *TLMessageActionChatMigrateTo) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionChatMigrateTo) String

func (*TLMessageActionChatMigrateTo) WriteBareTo

func (o *TLMessageActionChatMigrateTo) WriteBareTo(w *tl.Writer)

type TLMessageActionEmpty

type TLMessageActionEmpty struct {
}

TLMessageActionEmpty represents ctor messageActionEmpty#b6aef7b0 = MessageAction from Telegram

func (*TLMessageActionEmpty) Cmd

func (o *TLMessageActionEmpty) Cmd() uint32

func (*TLMessageActionEmpty) IsTLMessageAction

func (o *TLMessageActionEmpty) IsTLMessageAction()

func (*TLMessageActionEmpty) ReadBareFrom

func (o *TLMessageActionEmpty) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionEmpty) String

func (o *TLMessageActionEmpty) String() string

func (*TLMessageActionEmpty) WriteBareTo

func (o *TLMessageActionEmpty) WriteBareTo(w *tl.Writer)

type TLMessageActionGameScore

type TLMessageActionGameScore struct {
	GameID uint64 // game_id:long
	Score  int    // score:int
}

TLMessageActionGameScore represents ctor messageActionGameScore#92a72876 game_id:long score:int = MessageAction from Telegram

func (*TLMessageActionGameScore) Cmd

func (*TLMessageActionGameScore) IsTLMessageAction

func (o *TLMessageActionGameScore) IsTLMessageAction()

func (*TLMessageActionGameScore) ReadBareFrom

func (o *TLMessageActionGameScore) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionGameScore) String

func (o *TLMessageActionGameScore) String() string

func (*TLMessageActionGameScore) WriteBareTo

func (o *TLMessageActionGameScore) WriteBareTo(w *tl.Writer)

type TLMessageActionHistoryClear

type TLMessageActionHistoryClear struct {
}

TLMessageActionHistoryClear represents ctor messageActionHistoryClear#9fbab604 = MessageAction from Telegram

func (*TLMessageActionHistoryClear) Cmd

func (*TLMessageActionHistoryClear) IsTLMessageAction

func (o *TLMessageActionHistoryClear) IsTLMessageAction()

func (*TLMessageActionHistoryClear) ReadBareFrom

func (o *TLMessageActionHistoryClear) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionHistoryClear) String

func (o *TLMessageActionHistoryClear) String() string

func (*TLMessageActionHistoryClear) WriteBareTo

func (o *TLMessageActionHistoryClear) WriteBareTo(w *tl.Writer)

type TLMessageActionPaymentSent

type TLMessageActionPaymentSent struct {
	Currency    string // currency:string
	TotalAmount uint64 // total_amount:long
}

TLMessageActionPaymentSent represents ctor messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction from Telegram

func (*TLMessageActionPaymentSent) Cmd

func (*TLMessageActionPaymentSent) IsTLMessageAction

func (o *TLMessageActionPaymentSent) IsTLMessageAction()

func (*TLMessageActionPaymentSent) ReadBareFrom

func (o *TLMessageActionPaymentSent) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionPaymentSent) String

func (o *TLMessageActionPaymentSent) String() string

func (*TLMessageActionPaymentSent) WriteBareTo

func (o *TLMessageActionPaymentSent) WriteBareTo(w *tl.Writer)

type TLMessageActionPaymentSentMe

type TLMessageActionPaymentSentMe struct {
	Flags            uint                    // flags:#
	Currency         string                  // currency:string
	TotalAmount      uint64                  // total_amount:long
	Payload          []byte                  // payload:bytes
	Info             *TLPaymentRequestedInfo // flags.0?info:PaymentRequestedInfo
	ShippingOptionID string                  // flags.1?shipping_option_id:string
	Charge           *TLPaymentCharge        // charge:PaymentCharge
}

TLMessageActionPaymentSentMe represents ctor messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes flags.0?info:PaymentRequestedInfo flags.1?shipping_option_id:string charge:PaymentCharge = MessageAction from Telegram

func (*TLMessageActionPaymentSentMe) Cmd

func (*TLMessageActionPaymentSentMe) HasInfo

func (o *TLMessageActionPaymentSentMe) HasInfo() bool

func (*TLMessageActionPaymentSentMe) HasShippingOptionID

func (o *TLMessageActionPaymentSentMe) HasShippingOptionID() bool

func (*TLMessageActionPaymentSentMe) IsTLMessageAction

func (o *TLMessageActionPaymentSentMe) IsTLMessageAction()

func (*TLMessageActionPaymentSentMe) ReadBareFrom

func (o *TLMessageActionPaymentSentMe) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionPaymentSentMe) SetHasInfo

func (o *TLMessageActionPaymentSentMe) SetHasInfo(v bool)

func (*TLMessageActionPaymentSentMe) SetHasShippingOptionID

func (o *TLMessageActionPaymentSentMe) SetHasShippingOptionID(v bool)

func (*TLMessageActionPaymentSentMe) String

func (*TLMessageActionPaymentSentMe) WriteBareTo

func (o *TLMessageActionPaymentSentMe) WriteBareTo(w *tl.Writer)

type TLMessageActionPhoneCall

type TLMessageActionPhoneCall struct {
	Flags    uint                         // flags:#
	CallID   uint64                       // call_id:long
	Reason   TLPhoneCallDiscardReasonType // flags.0?reason:PhoneCallDiscardReason
	Duration int                          // flags.1?duration:int
}

TLMessageActionPhoneCall represents ctor messageActionPhoneCall#80e11a7f flags:# call_id:long flags.0?reason:PhoneCallDiscardReason flags.1?duration:int = MessageAction from Telegram

func (*TLMessageActionPhoneCall) Cmd

func (*TLMessageActionPhoneCall) HasDuration

func (o *TLMessageActionPhoneCall) HasDuration() bool

func (*TLMessageActionPhoneCall) HasReason

func (o *TLMessageActionPhoneCall) HasReason() bool

func (*TLMessageActionPhoneCall) IsTLMessageAction

func (o *TLMessageActionPhoneCall) IsTLMessageAction()

func (*TLMessageActionPhoneCall) ReadBareFrom

func (o *TLMessageActionPhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionPhoneCall) SetHasDuration

func (o *TLMessageActionPhoneCall) SetHasDuration(v bool)

func (*TLMessageActionPhoneCall) SetHasReason

func (o *TLMessageActionPhoneCall) SetHasReason(v bool)

func (*TLMessageActionPhoneCall) String

func (o *TLMessageActionPhoneCall) String() string

func (*TLMessageActionPhoneCall) WriteBareTo

func (o *TLMessageActionPhoneCall) WriteBareTo(w *tl.Writer)

type TLMessageActionPinMessage

type TLMessageActionPinMessage struct {
}

TLMessageActionPinMessage represents ctor messageActionPinMessage#94bd38ed = MessageAction from Telegram

func (*TLMessageActionPinMessage) Cmd

func (*TLMessageActionPinMessage) IsTLMessageAction

func (o *TLMessageActionPinMessage) IsTLMessageAction()

func (*TLMessageActionPinMessage) ReadBareFrom

func (o *TLMessageActionPinMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessageActionPinMessage) String

func (o *TLMessageActionPinMessage) String() string

func (*TLMessageActionPinMessage) WriteBareTo

func (o *TLMessageActionPinMessage) WriteBareTo(w *tl.Writer)

type TLMessageActionType

type TLMessageActionType interface {
	IsTLMessageAction()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessageActionType represents MessageAction from Telegram

type TLMessageEmpty

type TLMessageEmpty struct {
	ID int // id:int
}

TLMessageEmpty represents ctor messageEmpty#83e5de54 id:int = Message from Telegram

func (*TLMessageEmpty) Cmd

func (o *TLMessageEmpty) Cmd() uint32

func (*TLMessageEmpty) IsTLMessage

func (o *TLMessageEmpty) IsTLMessage()

func (*TLMessageEmpty) ReadBareFrom

func (o *TLMessageEmpty) ReadBareFrom(r *tl.Reader)

func (*TLMessageEmpty) String

func (o *TLMessageEmpty) String() string

func (*TLMessageEmpty) WriteBareTo

func (o *TLMessageEmpty) WriteBareTo(w *tl.Writer)

type TLMessageEntityBold

type TLMessageEntityBold struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityBold represents ctor messageEntityBold#bd610bc9 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityBold) Cmd

func (o *TLMessageEntityBold) Cmd() uint32

func (*TLMessageEntityBold) IsTLMessageEntity

func (o *TLMessageEntityBold) IsTLMessageEntity()

func (*TLMessageEntityBold) ReadBareFrom

func (o *TLMessageEntityBold) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityBold) String

func (o *TLMessageEntityBold) String() string

func (*TLMessageEntityBold) WriteBareTo

func (o *TLMessageEntityBold) WriteBareTo(w *tl.Writer)

type TLMessageEntityBotCommand

type TLMessageEntityBotCommand struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityBotCommand represents ctor messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityBotCommand) Cmd

func (*TLMessageEntityBotCommand) IsTLMessageEntity

func (o *TLMessageEntityBotCommand) IsTLMessageEntity()

func (*TLMessageEntityBotCommand) ReadBareFrom

func (o *TLMessageEntityBotCommand) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityBotCommand) String

func (o *TLMessageEntityBotCommand) String() string

func (*TLMessageEntityBotCommand) WriteBareTo

func (o *TLMessageEntityBotCommand) WriteBareTo(w *tl.Writer)

type TLMessageEntityCode

type TLMessageEntityCode struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityCode represents ctor messageEntityCode#28a20571 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityCode) Cmd

func (o *TLMessageEntityCode) Cmd() uint32

func (*TLMessageEntityCode) IsTLMessageEntity

func (o *TLMessageEntityCode) IsTLMessageEntity()

func (*TLMessageEntityCode) ReadBareFrom

func (o *TLMessageEntityCode) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityCode) String

func (o *TLMessageEntityCode) String() string

func (*TLMessageEntityCode) WriteBareTo

func (o *TLMessageEntityCode) WriteBareTo(w *tl.Writer)

type TLMessageEntityEmail

type TLMessageEntityEmail struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityEmail represents ctor messageEntityEmail#64e475c2 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityEmail) Cmd

func (o *TLMessageEntityEmail) Cmd() uint32

func (*TLMessageEntityEmail) IsTLMessageEntity

func (o *TLMessageEntityEmail) IsTLMessageEntity()

func (*TLMessageEntityEmail) ReadBareFrom

func (o *TLMessageEntityEmail) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityEmail) String

func (o *TLMessageEntityEmail) String() string

func (*TLMessageEntityEmail) WriteBareTo

func (o *TLMessageEntityEmail) WriteBareTo(w *tl.Writer)

type TLMessageEntityHashtag

type TLMessageEntityHashtag struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityHashtag represents ctor messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityHashtag) Cmd

func (o *TLMessageEntityHashtag) Cmd() uint32

func (*TLMessageEntityHashtag) IsTLMessageEntity

func (o *TLMessageEntityHashtag) IsTLMessageEntity()

func (*TLMessageEntityHashtag) ReadBareFrom

func (o *TLMessageEntityHashtag) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityHashtag) String

func (o *TLMessageEntityHashtag) String() string

func (*TLMessageEntityHashtag) WriteBareTo

func (o *TLMessageEntityHashtag) WriteBareTo(w *tl.Writer)

type TLMessageEntityItalic

type TLMessageEntityItalic struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityItalic represents ctor messageEntityItalic#826f8b60 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityItalic) Cmd

func (o *TLMessageEntityItalic) Cmd() uint32

func (*TLMessageEntityItalic) IsTLMessageEntity

func (o *TLMessageEntityItalic) IsTLMessageEntity()

func (*TLMessageEntityItalic) ReadBareFrom

func (o *TLMessageEntityItalic) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityItalic) String

func (o *TLMessageEntityItalic) String() string

func (*TLMessageEntityItalic) WriteBareTo

func (o *TLMessageEntityItalic) WriteBareTo(w *tl.Writer)

type TLMessageEntityMention

type TLMessageEntityMention struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityMention represents ctor messageEntityMention#fa04579d offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityMention) Cmd

func (o *TLMessageEntityMention) Cmd() uint32

func (*TLMessageEntityMention) IsTLMessageEntity

func (o *TLMessageEntityMention) IsTLMessageEntity()

func (*TLMessageEntityMention) ReadBareFrom

func (o *TLMessageEntityMention) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityMention) String

func (o *TLMessageEntityMention) String() string

func (*TLMessageEntityMention) WriteBareTo

func (o *TLMessageEntityMention) WriteBareTo(w *tl.Writer)

type TLMessageEntityMentionName

type TLMessageEntityMentionName struct {
	Offset int // offset:int
	Length int // length:int
	UserID int // user_id:int
}

TLMessageEntityMentionName represents ctor messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity from Telegram

func (*TLMessageEntityMentionName) Cmd

func (*TLMessageEntityMentionName) IsTLMessageEntity

func (o *TLMessageEntityMentionName) IsTLMessageEntity()

func (*TLMessageEntityMentionName) ReadBareFrom

func (o *TLMessageEntityMentionName) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityMentionName) String

func (o *TLMessageEntityMentionName) String() string

func (*TLMessageEntityMentionName) WriteBareTo

func (o *TLMessageEntityMentionName) WriteBareTo(w *tl.Writer)

type TLMessageEntityPre

type TLMessageEntityPre struct {
	Offset   int    // offset:int
	Length   int    // length:int
	Language string // language:string
}

TLMessageEntityPre represents ctor messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity from Telegram

func (*TLMessageEntityPre) Cmd

func (o *TLMessageEntityPre) Cmd() uint32

func (*TLMessageEntityPre) IsTLMessageEntity

func (o *TLMessageEntityPre) IsTLMessageEntity()

func (*TLMessageEntityPre) ReadBareFrom

func (o *TLMessageEntityPre) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityPre) String

func (o *TLMessageEntityPre) String() string

func (*TLMessageEntityPre) WriteBareTo

func (o *TLMessageEntityPre) WriteBareTo(w *tl.Writer)

type TLMessageEntityTextURL

type TLMessageEntityTextURL struct {
	Offset int    // offset:int
	Length int    // length:int
	URL    string // url:string
}

TLMessageEntityTextURL represents ctor messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity from Telegram

func (*TLMessageEntityTextURL) Cmd

func (o *TLMessageEntityTextURL) Cmd() uint32

func (*TLMessageEntityTextURL) IsTLMessageEntity

func (o *TLMessageEntityTextURL) IsTLMessageEntity()

func (*TLMessageEntityTextURL) ReadBareFrom

func (o *TLMessageEntityTextURL) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityTextURL) String

func (o *TLMessageEntityTextURL) String() string

func (*TLMessageEntityTextURL) WriteBareTo

func (o *TLMessageEntityTextURL) WriteBareTo(w *tl.Writer)

type TLMessageEntityType

type TLMessageEntityType interface {
	IsTLMessageEntity()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessageEntityType represents MessageEntity from Telegram

type TLMessageEntityURL

type TLMessageEntityURL struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityURL represents ctor messageEntityUrl#6ed02538 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityURL) Cmd

func (o *TLMessageEntityURL) Cmd() uint32

func (*TLMessageEntityURL) IsTLMessageEntity

func (o *TLMessageEntityURL) IsTLMessageEntity()

func (*TLMessageEntityURL) ReadBareFrom

func (o *TLMessageEntityURL) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityURL) String

func (o *TLMessageEntityURL) String() string

func (*TLMessageEntityURL) WriteBareTo

func (o *TLMessageEntityURL) WriteBareTo(w *tl.Writer)

type TLMessageEntityUnknown

type TLMessageEntityUnknown struct {
	Offset int // offset:int
	Length int // length:int
}

TLMessageEntityUnknown represents ctor messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity from Telegram

func (*TLMessageEntityUnknown) Cmd

func (o *TLMessageEntityUnknown) Cmd() uint32

func (*TLMessageEntityUnknown) IsTLMessageEntity

func (o *TLMessageEntityUnknown) IsTLMessageEntity()

func (*TLMessageEntityUnknown) ReadBareFrom

func (o *TLMessageEntityUnknown) ReadBareFrom(r *tl.Reader)

func (*TLMessageEntityUnknown) String

func (o *TLMessageEntityUnknown) String() string

func (*TLMessageEntityUnknown) WriteBareTo

func (o *TLMessageEntityUnknown) WriteBareTo(w *tl.Writer)

type TLMessageFwdHeader

type TLMessageFwdHeader struct {
	Flags       uint // flags:#
	FromID      int  // flags.0?from_id:int
	Date        int  // date:int
	ChannelID   int  // flags.1?channel_id:int
	ChannelPost int  // flags.2?channel_post:int
}

TLMessageFwdHeader represents ctor messageFwdHeader#c786ddcb flags:# flags.0?from_id:int date:int flags.1?channel_id:int flags.2?channel_post:int = MessageFwdHeader from Telegram

func (*TLMessageFwdHeader) Cmd

func (o *TLMessageFwdHeader) Cmd() uint32

func (*TLMessageFwdHeader) HasChannelID

func (o *TLMessageFwdHeader) HasChannelID() bool

func (*TLMessageFwdHeader) HasChannelPost

func (o *TLMessageFwdHeader) HasChannelPost() bool

func (*TLMessageFwdHeader) HasFromID

func (o *TLMessageFwdHeader) HasFromID() bool

func (*TLMessageFwdHeader) ReadBareFrom

func (o *TLMessageFwdHeader) ReadBareFrom(r *tl.Reader)

func (*TLMessageFwdHeader) SetHasChannelID

func (o *TLMessageFwdHeader) SetHasChannelID(v bool)

func (*TLMessageFwdHeader) SetHasChannelPost

func (o *TLMessageFwdHeader) SetHasChannelPost(v bool)

func (*TLMessageFwdHeader) SetHasFromID

func (o *TLMessageFwdHeader) SetHasFromID(v bool)

func (*TLMessageFwdHeader) String

func (o *TLMessageFwdHeader) String() string

func (*TLMessageFwdHeader) WriteBareTo

func (o *TLMessageFwdHeader) WriteBareTo(w *tl.Writer)

type TLMessageMediaContact

type TLMessageMediaContact struct {
	PhoneNumber string // phone_number:string
	FirstName   string // first_name:string
	LastName    string // last_name:string
	UserID      int    // user_id:int
}

TLMessageMediaContact represents ctor messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia from Telegram

func (*TLMessageMediaContact) Cmd

func (o *TLMessageMediaContact) Cmd() uint32

func (*TLMessageMediaContact) IsTLMessageMedia

func (o *TLMessageMediaContact) IsTLMessageMedia()

func (*TLMessageMediaContact) ReadBareFrom

func (o *TLMessageMediaContact) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaContact) String

func (o *TLMessageMediaContact) String() string

func (*TLMessageMediaContact) WriteBareTo

func (o *TLMessageMediaContact) WriteBareTo(w *tl.Writer)

type TLMessageMediaDocument

type TLMessageMediaDocument struct {
	Document TLDocumentType // document:Document
	Caption  string         // caption:string
}

TLMessageMediaDocument represents ctor messageMediaDocument#f3e02ea8 document:Document caption:string = MessageMedia from Telegram

func (*TLMessageMediaDocument) Cmd

func (o *TLMessageMediaDocument) Cmd() uint32

func (*TLMessageMediaDocument) IsTLMessageMedia

func (o *TLMessageMediaDocument) IsTLMessageMedia()

func (*TLMessageMediaDocument) ReadBareFrom

func (o *TLMessageMediaDocument) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaDocument) String

func (o *TLMessageMediaDocument) String() string

func (*TLMessageMediaDocument) WriteBareTo

func (o *TLMessageMediaDocument) WriteBareTo(w *tl.Writer)

type TLMessageMediaEmpty

type TLMessageMediaEmpty struct {
}

TLMessageMediaEmpty represents ctor messageMediaEmpty#3ded6320 = MessageMedia from Telegram

func (*TLMessageMediaEmpty) Cmd

func (o *TLMessageMediaEmpty) Cmd() uint32

func (*TLMessageMediaEmpty) IsTLMessageMedia

func (o *TLMessageMediaEmpty) IsTLMessageMedia()

func (*TLMessageMediaEmpty) ReadBareFrom

func (o *TLMessageMediaEmpty) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaEmpty) String

func (o *TLMessageMediaEmpty) String() string

func (*TLMessageMediaEmpty) WriteBareTo

func (o *TLMessageMediaEmpty) WriteBareTo(w *tl.Writer)

type TLMessageMediaGame

type TLMessageMediaGame struct {
	Game *TLGame // game:Game
}

TLMessageMediaGame represents ctor messageMediaGame#fdb19008 game:Game = MessageMedia from Telegram

func (*TLMessageMediaGame) Cmd

func (o *TLMessageMediaGame) Cmd() uint32

func (*TLMessageMediaGame) IsTLMessageMedia

func (o *TLMessageMediaGame) IsTLMessageMedia()

func (*TLMessageMediaGame) ReadBareFrom

func (o *TLMessageMediaGame) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaGame) String

func (o *TLMessageMediaGame) String() string

func (*TLMessageMediaGame) WriteBareTo

func (o *TLMessageMediaGame) WriteBareTo(w *tl.Writer)

type TLMessageMediaGeo

type TLMessageMediaGeo struct {
	Geo TLGeoPointType // geo:GeoPoint
}

TLMessageMediaGeo represents ctor messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia from Telegram

func (*TLMessageMediaGeo) Cmd

func (o *TLMessageMediaGeo) Cmd() uint32

func (*TLMessageMediaGeo) IsTLMessageMedia

func (o *TLMessageMediaGeo) IsTLMessageMedia()

func (*TLMessageMediaGeo) ReadBareFrom

func (o *TLMessageMediaGeo) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaGeo) String

func (o *TLMessageMediaGeo) String() string

func (*TLMessageMediaGeo) WriteBareTo

func (o *TLMessageMediaGeo) WriteBareTo(w *tl.Writer)

type TLMessageMediaInvoice

type TLMessageMediaInvoice struct {
	Flags        uint           // flags:#
	Title        string         // title:string
	Description  string         // description:string
	Photo        *TLWebDocument // flags.0?photo:WebDocument
	ReceiptMsgID int            // flags.2?receipt_msg_id:int
	Currency     string         // currency:string
	TotalAmount  uint64         // total_amount:long
	StartParam   string         // start_param:string
}

TLMessageMediaInvoice represents ctor messageMediaInvoice#84551347 flags:# flags.1?shipping_address_requested:true flags.3?test:true title:string description:string flags.0?photo:WebDocument flags.2?receipt_msg_id:int currency:string total_amount:long start_param:string = MessageMedia from Telegram

func (*TLMessageMediaInvoice) Cmd

func (o *TLMessageMediaInvoice) Cmd() uint32

func (*TLMessageMediaInvoice) HasPhoto

func (o *TLMessageMediaInvoice) HasPhoto() bool

func (*TLMessageMediaInvoice) HasReceiptMsgID

func (o *TLMessageMediaInvoice) HasReceiptMsgID() bool

func (*TLMessageMediaInvoice) IsTLMessageMedia

func (o *TLMessageMediaInvoice) IsTLMessageMedia()

func (*TLMessageMediaInvoice) ReadBareFrom

func (o *TLMessageMediaInvoice) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaInvoice) SetHasPhoto

func (o *TLMessageMediaInvoice) SetHasPhoto(v bool)

func (*TLMessageMediaInvoice) SetHasReceiptMsgID

func (o *TLMessageMediaInvoice) SetHasReceiptMsgID(v bool)

func (*TLMessageMediaInvoice) SetShippingAddressRequested

func (o *TLMessageMediaInvoice) SetShippingAddressRequested(v bool)

func (*TLMessageMediaInvoice) SetTest

func (o *TLMessageMediaInvoice) SetTest(v bool)

func (*TLMessageMediaInvoice) ShippingAddressRequested

func (o *TLMessageMediaInvoice) ShippingAddressRequested() bool

func (*TLMessageMediaInvoice) String

func (o *TLMessageMediaInvoice) String() string

func (*TLMessageMediaInvoice) Test

func (o *TLMessageMediaInvoice) Test() bool

func (*TLMessageMediaInvoice) WriteBareTo

func (o *TLMessageMediaInvoice) WriteBareTo(w *tl.Writer)

type TLMessageMediaPhoto

type TLMessageMediaPhoto struct {
	Photo   TLPhotoType // photo:Photo
	Caption string      // caption:string
}

TLMessageMediaPhoto represents ctor messageMediaPhoto#3d8ce53d photo:Photo caption:string = MessageMedia from Telegram

func (*TLMessageMediaPhoto) Cmd

func (o *TLMessageMediaPhoto) Cmd() uint32

func (*TLMessageMediaPhoto) IsTLMessageMedia

func (o *TLMessageMediaPhoto) IsTLMessageMedia()

func (*TLMessageMediaPhoto) ReadBareFrom

func (o *TLMessageMediaPhoto) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaPhoto) String

func (o *TLMessageMediaPhoto) String() string

func (*TLMessageMediaPhoto) WriteBareTo

func (o *TLMessageMediaPhoto) WriteBareTo(w *tl.Writer)

type TLMessageMediaType

type TLMessageMediaType interface {
	IsTLMessageMedia()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessageMediaType represents MessageMedia from Telegram

type TLMessageMediaUnsupported

type TLMessageMediaUnsupported struct {
}

TLMessageMediaUnsupported represents ctor messageMediaUnsupported#9f84f49e = MessageMedia from Telegram

func (*TLMessageMediaUnsupported) Cmd

func (*TLMessageMediaUnsupported) IsTLMessageMedia

func (o *TLMessageMediaUnsupported) IsTLMessageMedia()

func (*TLMessageMediaUnsupported) ReadBareFrom

func (o *TLMessageMediaUnsupported) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaUnsupported) String

func (o *TLMessageMediaUnsupported) String() string

func (*TLMessageMediaUnsupported) WriteBareTo

func (o *TLMessageMediaUnsupported) WriteBareTo(w *tl.Writer)

type TLMessageMediaVenue

type TLMessageMediaVenue struct {
	Geo      TLGeoPointType // geo:GeoPoint
	Title    string         // title:string
	Address  string         // address:string
	Provider string         // provider:string
	VenueID  string         // venue_id:string
}

TLMessageMediaVenue represents ctor messageMediaVenue#7912b71f geo:GeoPoint title:string address:string provider:string venue_id:string = MessageMedia from Telegram

func (*TLMessageMediaVenue) Cmd

func (o *TLMessageMediaVenue) Cmd() uint32

func (*TLMessageMediaVenue) IsTLMessageMedia

func (o *TLMessageMediaVenue) IsTLMessageMedia()

func (*TLMessageMediaVenue) ReadBareFrom

func (o *TLMessageMediaVenue) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaVenue) String

func (o *TLMessageMediaVenue) String() string

func (*TLMessageMediaVenue) WriteBareTo

func (o *TLMessageMediaVenue) WriteBareTo(w *tl.Writer)

type TLMessageMediaWebPage

type TLMessageMediaWebPage struct {
	Webpage TLWebPageType // webpage:WebPage
}

TLMessageMediaWebPage represents ctor messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia from Telegram

func (*TLMessageMediaWebPage) Cmd

func (o *TLMessageMediaWebPage) Cmd() uint32

func (*TLMessageMediaWebPage) IsTLMessageMedia

func (o *TLMessageMediaWebPage) IsTLMessageMedia()

func (*TLMessageMediaWebPage) ReadBareFrom

func (o *TLMessageMediaWebPage) ReadBareFrom(r *tl.Reader)

func (*TLMessageMediaWebPage) String

func (o *TLMessageMediaWebPage) String() string

func (*TLMessageMediaWebPage) WriteBareTo

func (o *TLMessageMediaWebPage) WriteBareTo(w *tl.Writer)

type TLMessageRange

type TLMessageRange struct {
	MinID int // min_id:int
	MaxID int // max_id:int
}

TLMessageRange represents ctor messageRange#0ae30253 min_id:int max_id:int = MessageRange from Telegram

func (*TLMessageRange) Cmd

func (o *TLMessageRange) Cmd() uint32

func (*TLMessageRange) ReadBareFrom

func (o *TLMessageRange) ReadBareFrom(r *tl.Reader)

func (*TLMessageRange) String

func (o *TLMessageRange) String() string

func (*TLMessageRange) WriteBareTo

func (o *TLMessageRange) WriteBareTo(w *tl.Writer)

type TLMessageService

type TLMessageService struct {
	Flags        uint                // flags:#
	ID           int                 // id:int
	FromID       int                 // flags.8?from_id:int
	ToID         TLPeerType          // to_id:Peer
	ReplyToMsgID int                 // flags.3?reply_to_msg_id:int
	Date         int                 // date:int
	Action       TLMessageActionType // action:MessageAction
}

TLMessageService represents ctor messageService#9e19a1f6 flags:# flags.1?out:true flags.4?mentioned:true flags.5?media_unread:true flags.13?silent:true flags.14?post:true id:int flags.8?from_id:int to_id:Peer flags.3?reply_to_msg_id:int date:int action:MessageAction = Message from Telegram

func (*TLMessageService) Cmd

func (o *TLMessageService) Cmd() uint32

func (*TLMessageService) HasFromID

func (o *TLMessageService) HasFromID() bool

func (*TLMessageService) HasReplyToMsgID

func (o *TLMessageService) HasReplyToMsgID() bool

func (*TLMessageService) IsTLMessage

func (o *TLMessageService) IsTLMessage()

func (*TLMessageService) MediaUnread

func (o *TLMessageService) MediaUnread() bool

func (*TLMessageService) Mentioned

func (o *TLMessageService) Mentioned() bool

func (*TLMessageService) Out

func (o *TLMessageService) Out() bool

func (*TLMessageService) Post

func (o *TLMessageService) Post() bool

func (*TLMessageService) ReadBareFrom

func (o *TLMessageService) ReadBareFrom(r *tl.Reader)

func (*TLMessageService) SetHasFromID

func (o *TLMessageService) SetHasFromID(v bool)

func (*TLMessageService) SetHasReplyToMsgID

func (o *TLMessageService) SetHasReplyToMsgID(v bool)

func (*TLMessageService) SetMediaUnread

func (o *TLMessageService) SetMediaUnread(v bool)

func (*TLMessageService) SetMentioned

func (o *TLMessageService) SetMentioned(v bool)

func (*TLMessageService) SetOut

func (o *TLMessageService) SetOut(v bool)

func (*TLMessageService) SetPost

func (o *TLMessageService) SetPost(v bool)

func (*TLMessageService) SetSilent

func (o *TLMessageService) SetSilent(v bool)

func (*TLMessageService) Silent

func (o *TLMessageService) Silent() bool

func (*TLMessageService) String

func (o *TLMessageService) String() string

func (*TLMessageService) WriteBareTo

func (o *TLMessageService) WriteBareTo(w *tl.Writer)

type TLMessageType

type TLMessageType interface {
	IsTLMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessageType represents Message from Telegram

type TLMessagesAcceptEncryption

type TLMessagesAcceptEncryption struct {
	Peer           *TLInputEncryptedChat // peer:InputEncryptedChat
	GB             []byte                // g_b:bytes
	KeyFingerprint uint64                // key_fingerprint:long
}

TLMessagesAcceptEncryption represents func messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat from Telegram

func (*TLMessagesAcceptEncryption) Cmd

func (*TLMessagesAcceptEncryption) ReadBareFrom

func (o *TLMessagesAcceptEncryption) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAcceptEncryption) String

func (o *TLMessagesAcceptEncryption) String() string

func (*TLMessagesAcceptEncryption) WriteBareTo

func (o *TLMessagesAcceptEncryption) WriteBareTo(w *tl.Writer)

type TLMessagesAddChatUser

type TLMessagesAddChatUser struct {
	ChatID   int             // chat_id:int
	UserID   TLInputUserType // user_id:InputUser
	FwdLimit int             // fwd_limit:int
}

TLMessagesAddChatUser represents func messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates from Telegram

func (*TLMessagesAddChatUser) Cmd

func (o *TLMessagesAddChatUser) Cmd() uint32

func (*TLMessagesAddChatUser) ReadBareFrom

func (o *TLMessagesAddChatUser) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAddChatUser) String

func (o *TLMessagesAddChatUser) String() string

func (*TLMessagesAddChatUser) WriteBareTo

func (o *TLMessagesAddChatUser) WriteBareTo(w *tl.Writer)

type TLMessagesAffectedHistory

type TLMessagesAffectedHistory struct {
	Pts      int // pts:int
	PtsCount int // pts_count:int
	Offset   int // offset:int
}

TLMessagesAffectedHistory represents ctor messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory from Telegram

func (*TLMessagesAffectedHistory) Cmd

func (*TLMessagesAffectedHistory) ReadBareFrom

func (o *TLMessagesAffectedHistory) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAffectedHistory) String

func (o *TLMessagesAffectedHistory) String() string

func (*TLMessagesAffectedHistory) WriteBareTo

func (o *TLMessagesAffectedHistory) WriteBareTo(w *tl.Writer)

type TLMessagesAffectedMessages

type TLMessagesAffectedMessages struct {
	Pts      int // pts:int
	PtsCount int // pts_count:int
}

TLMessagesAffectedMessages represents ctor messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages from Telegram

func (*TLMessagesAffectedMessages) Cmd

func (*TLMessagesAffectedMessages) ReadBareFrom

func (o *TLMessagesAffectedMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAffectedMessages) String

func (o *TLMessagesAffectedMessages) String() string

func (*TLMessagesAffectedMessages) WriteBareTo

func (o *TLMessagesAffectedMessages) WriteBareTo(w *tl.Writer)

type TLMessagesAllStickers

type TLMessagesAllStickers struct {
	Hash int             // hash:int
	Sets []*TLStickerSet // sets:Vector<StickerSet>
}

TLMessagesAllStickers represents ctor messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers from Telegram

func (*TLMessagesAllStickers) Cmd

func (o *TLMessagesAllStickers) Cmd() uint32

func (*TLMessagesAllStickers) IsTLMessagesAllStickers

func (o *TLMessagesAllStickers) IsTLMessagesAllStickers()

func (*TLMessagesAllStickers) ReadBareFrom

func (o *TLMessagesAllStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAllStickers) String

func (o *TLMessagesAllStickers) String() string

func (*TLMessagesAllStickers) WriteBareTo

func (o *TLMessagesAllStickers) WriteBareTo(w *tl.Writer)

type TLMessagesAllStickersNotModified

type TLMessagesAllStickersNotModified struct {
}

TLMessagesAllStickersNotModified represents ctor messages.allStickersNotModified#e86602c3 = messages.AllStickers from Telegram

func (*TLMessagesAllStickersNotModified) Cmd

func (*TLMessagesAllStickersNotModified) IsTLMessagesAllStickers

func (o *TLMessagesAllStickersNotModified) IsTLMessagesAllStickers()

func (*TLMessagesAllStickersNotModified) ReadBareFrom

func (o *TLMessagesAllStickersNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesAllStickersNotModified) String

func (*TLMessagesAllStickersNotModified) WriteBareTo

func (o *TLMessagesAllStickersNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesAllStickersType

type TLMessagesAllStickersType interface {
	IsTLMessagesAllStickers()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesAllStickersType represents messages.AllStickers from Telegram

type TLMessagesArchivedStickers

type TLMessagesArchivedStickers struct {
	Count int                       // count:int
	Sets  []TLStickerSetCoveredType // sets:Vector<StickerSetCovered>
}

TLMessagesArchivedStickers represents ctor messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = messages.ArchivedStickers from Telegram

func (*TLMessagesArchivedStickers) Cmd

func (*TLMessagesArchivedStickers) ReadBareFrom

func (o *TLMessagesArchivedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesArchivedStickers) String

func (o *TLMessagesArchivedStickers) String() string

func (*TLMessagesArchivedStickers) WriteBareTo

func (o *TLMessagesArchivedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesBotCallbackAnswer

type TLMessagesBotCallbackAnswer struct {
	Flags     uint   // flags:#
	Message   string // flags.0?message:string
	URL       string // flags.2?url:string
	CacheTime int    // cache_time:int
}

TLMessagesBotCallbackAnswer represents ctor messages.botCallbackAnswer#36585ea4 flags:# flags.1?alert:true flags.3?has_url:true flags.0?message:string flags.2?url:string cache_time:int = messages.BotCallbackAnswer from Telegram

func (*TLMessagesBotCallbackAnswer) Alert

func (o *TLMessagesBotCallbackAnswer) Alert() bool

func (*TLMessagesBotCallbackAnswer) Cmd

func (*TLMessagesBotCallbackAnswer) HasMessage

func (o *TLMessagesBotCallbackAnswer) HasMessage() bool

func (*TLMessagesBotCallbackAnswer) HasURL

func (o *TLMessagesBotCallbackAnswer) HasURL() bool

func (*TLMessagesBotCallbackAnswer) HasURLField

func (o *TLMessagesBotCallbackAnswer) HasURLField() bool

func (*TLMessagesBotCallbackAnswer) ReadBareFrom

func (o *TLMessagesBotCallbackAnswer) ReadBareFrom(r *tl.Reader)

func (*TLMessagesBotCallbackAnswer) SetAlert

func (o *TLMessagesBotCallbackAnswer) SetAlert(v bool)

func (*TLMessagesBotCallbackAnswer) SetHasMessage

func (o *TLMessagesBotCallbackAnswer) SetHasMessage(v bool)

func (*TLMessagesBotCallbackAnswer) SetHasURL

func (o *TLMessagesBotCallbackAnswer) SetHasURL(v bool)

func (*TLMessagesBotCallbackAnswer) SetHasURLField

func (o *TLMessagesBotCallbackAnswer) SetHasURLField(v bool)

func (*TLMessagesBotCallbackAnswer) String

func (o *TLMessagesBotCallbackAnswer) String() string

func (*TLMessagesBotCallbackAnswer) WriteBareTo

func (o *TLMessagesBotCallbackAnswer) WriteBareTo(w *tl.Writer)

type TLMessagesBotResults

type TLMessagesBotResults struct {
	Flags      uint                    // flags:#
	QueryID    uint64                  // query_id:long
	NextOffset string                  // flags.1?next_offset:string
	SwitchPm   *TLInlineBotSwitchPM    // flags.2?switch_pm:InlineBotSwitchPM
	Results    []TLBotInlineResultType // results:Vector<BotInlineResult>
	CacheTime  int                     // cache_time:int
}

TLMessagesBotResults represents ctor messages.botResults#ccd3563d flags:# flags.0?gallery:true query_id:long flags.1?next_offset:string flags.2?switch_pm:InlineBotSwitchPM results:Vector<BotInlineResult> cache_time:int = messages.BotResults from Telegram

func (*TLMessagesBotResults) Cmd

func (o *TLMessagesBotResults) Cmd() uint32

func (*TLMessagesBotResults) Gallery

func (o *TLMessagesBotResults) Gallery() bool

func (*TLMessagesBotResults) HasNextOffset

func (o *TLMessagesBotResults) HasNextOffset() bool

func (*TLMessagesBotResults) HasSwitchPm

func (o *TLMessagesBotResults) HasSwitchPm() bool

func (*TLMessagesBotResults) ReadBareFrom

func (o *TLMessagesBotResults) ReadBareFrom(r *tl.Reader)

func (*TLMessagesBotResults) SetGallery

func (o *TLMessagesBotResults) SetGallery(v bool)

func (*TLMessagesBotResults) SetHasNextOffset

func (o *TLMessagesBotResults) SetHasNextOffset(v bool)

func (*TLMessagesBotResults) SetHasSwitchPm

func (o *TLMessagesBotResults) SetHasSwitchPm(v bool)

func (*TLMessagesBotResults) String

func (o *TLMessagesBotResults) String() string

func (*TLMessagesBotResults) WriteBareTo

func (o *TLMessagesBotResults) WriteBareTo(w *tl.Writer)

type TLMessagesChannelMessages

type TLMessagesChannelMessages struct {
	Flags    uint            // flags:#
	Pts      int             // pts:int
	Count    int             // count:int
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
}

TLMessagesChannelMessages represents ctor messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages from Telegram

func (*TLMessagesChannelMessages) Cmd

func (*TLMessagesChannelMessages) IsTLMessagesMessages

func (o *TLMessagesChannelMessages) IsTLMessagesMessages()

func (*TLMessagesChannelMessages) ReadBareFrom

func (o *TLMessagesChannelMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesChannelMessages) String

func (o *TLMessagesChannelMessages) String() string

func (*TLMessagesChannelMessages) WriteBareTo

func (o *TLMessagesChannelMessages) WriteBareTo(w *tl.Writer)

type TLMessagesChatFull

type TLMessagesChatFull struct {
	FullChat TLChatFullType // full_chat:ChatFull
	Chats    []TLChatType   // chats:Vector<Chat>
	Users    []TLUserType   // users:Vector<User>
}

TLMessagesChatFull represents ctor messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull from Telegram

func (*TLMessagesChatFull) Cmd

func (o *TLMessagesChatFull) Cmd() uint32

func (*TLMessagesChatFull) ReadBareFrom

func (o *TLMessagesChatFull) ReadBareFrom(r *tl.Reader)

func (*TLMessagesChatFull) String

func (o *TLMessagesChatFull) String() string

func (*TLMessagesChatFull) WriteBareTo

func (o *TLMessagesChatFull) WriteBareTo(w *tl.Writer)

type TLMessagesChats

type TLMessagesChats struct {
	Chats []TLChatType // chats:Vector<Chat>
}

TLMessagesChats represents ctor messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats from Telegram

func (*TLMessagesChats) Cmd

func (o *TLMessagesChats) Cmd() uint32

func (*TLMessagesChats) IsTLMessagesChats

func (o *TLMessagesChats) IsTLMessagesChats()

func (*TLMessagesChats) ReadBareFrom

func (o *TLMessagesChats) ReadBareFrom(r *tl.Reader)

func (*TLMessagesChats) String

func (o *TLMessagesChats) String() string

func (*TLMessagesChats) WriteBareTo

func (o *TLMessagesChats) WriteBareTo(w *tl.Writer)

type TLMessagesChatsSlice

type TLMessagesChatsSlice struct {
	Count int          // count:int
	Chats []TLChatType // chats:Vector<Chat>
}

TLMessagesChatsSlice represents ctor messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats from Telegram

func (*TLMessagesChatsSlice) Cmd

func (o *TLMessagesChatsSlice) Cmd() uint32

func (*TLMessagesChatsSlice) IsTLMessagesChats

func (o *TLMessagesChatsSlice) IsTLMessagesChats()

func (*TLMessagesChatsSlice) ReadBareFrom

func (o *TLMessagesChatsSlice) ReadBareFrom(r *tl.Reader)

func (*TLMessagesChatsSlice) String

func (o *TLMessagesChatsSlice) String() string

func (*TLMessagesChatsSlice) WriteBareTo

func (o *TLMessagesChatsSlice) WriteBareTo(w *tl.Writer)

type TLMessagesChatsType

type TLMessagesChatsType interface {
	IsTLMessagesChats()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesChatsType represents messages.Chats from Telegram

type TLMessagesCheckChatInvite

type TLMessagesCheckChatInvite struct {
	Hash string // hash:string
}

TLMessagesCheckChatInvite represents func messages.checkChatInvite#3eadb1bb hash:string = ChatInvite from Telegram

func (*TLMessagesCheckChatInvite) Cmd

func (*TLMessagesCheckChatInvite) ReadBareFrom

func (o *TLMessagesCheckChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLMessagesCheckChatInvite) String

func (o *TLMessagesCheckChatInvite) String() string

func (*TLMessagesCheckChatInvite) WriteBareTo

func (o *TLMessagesCheckChatInvite) WriteBareTo(w *tl.Writer)

type TLMessagesClearRecentStickers

type TLMessagesClearRecentStickers struct {
	Flags uint // flags:#
}

TLMessagesClearRecentStickers represents func messages.clearRecentStickers#8999602d flags:# flags.0?attached:true = Bool from Telegram

func (*TLMessagesClearRecentStickers) Attached

func (o *TLMessagesClearRecentStickers) Attached() bool

func (*TLMessagesClearRecentStickers) Cmd

func (*TLMessagesClearRecentStickers) ReadBareFrom

func (o *TLMessagesClearRecentStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesClearRecentStickers) SetAttached

func (o *TLMessagesClearRecentStickers) SetAttached(v bool)

func (*TLMessagesClearRecentStickers) String

func (*TLMessagesClearRecentStickers) WriteBareTo

func (o *TLMessagesClearRecentStickers) WriteBareTo(w *tl.Writer)

type TLMessagesCreateChat

type TLMessagesCreateChat struct {
	Users []TLInputUserType // users:Vector<InputUser>
	Title string            // title:string
}

TLMessagesCreateChat represents func messages.createChat#09cb126e users:Vector<InputUser> title:string = Updates from Telegram

func (*TLMessagesCreateChat) Cmd

func (o *TLMessagesCreateChat) Cmd() uint32

func (*TLMessagesCreateChat) ReadBareFrom

func (o *TLMessagesCreateChat) ReadBareFrom(r *tl.Reader)

func (*TLMessagesCreateChat) String

func (o *TLMessagesCreateChat) String() string

func (*TLMessagesCreateChat) WriteBareTo

func (o *TLMessagesCreateChat) WriteBareTo(w *tl.Writer)

type TLMessagesDHConfig

type TLMessagesDHConfig struct {
	G       int    // g:int
	P       []byte // p:bytes
	Version int    // version:int
	Random  []byte // random:bytes
}

TLMessagesDHConfig represents ctor messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig from Telegram

func (*TLMessagesDHConfig) Cmd

func (o *TLMessagesDHConfig) Cmd() uint32

func (*TLMessagesDHConfig) IsTLMessagesDHConfig

func (o *TLMessagesDHConfig) IsTLMessagesDHConfig()

func (*TLMessagesDHConfig) ReadBareFrom

func (o *TLMessagesDHConfig) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDHConfig) String

func (o *TLMessagesDHConfig) String() string

func (*TLMessagesDHConfig) WriteBareTo

func (o *TLMessagesDHConfig) WriteBareTo(w *tl.Writer)

type TLMessagesDHConfigNotModified

type TLMessagesDHConfigNotModified struct {
	Random []byte // random:bytes
}

TLMessagesDHConfigNotModified represents ctor messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig from Telegram

func (*TLMessagesDHConfigNotModified) Cmd

func (*TLMessagesDHConfigNotModified) IsTLMessagesDHConfig

func (o *TLMessagesDHConfigNotModified) IsTLMessagesDHConfig()

func (*TLMessagesDHConfigNotModified) ReadBareFrom

func (o *TLMessagesDHConfigNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDHConfigNotModified) String

func (*TLMessagesDHConfigNotModified) WriteBareTo

func (o *TLMessagesDHConfigNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesDHConfigType

type TLMessagesDHConfigType interface {
	IsTLMessagesDHConfig()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesDHConfigType represents messages.DhConfig from Telegram

type TLMessagesDeleteChatUser

type TLMessagesDeleteChatUser struct {
	ChatID int             // chat_id:int
	UserID TLInputUserType // user_id:InputUser
}

TLMessagesDeleteChatUser represents func messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates from Telegram

func (*TLMessagesDeleteChatUser) Cmd

func (*TLMessagesDeleteChatUser) ReadBareFrom

func (o *TLMessagesDeleteChatUser) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDeleteChatUser) String

func (o *TLMessagesDeleteChatUser) String() string

func (*TLMessagesDeleteChatUser) WriteBareTo

func (o *TLMessagesDeleteChatUser) WriteBareTo(w *tl.Writer)

type TLMessagesDeleteHistory

type TLMessagesDeleteHistory struct {
	Flags uint            // flags:#
	Peer  TLInputPeerType // peer:InputPeer
	MaxID int             // max_id:int
}

TLMessagesDeleteHistory represents func messages.deleteHistory#1c015b09 flags:# flags.0?just_clear:true peer:InputPeer max_id:int = messages.AffectedHistory from Telegram

func (*TLMessagesDeleteHistory) Cmd

func (*TLMessagesDeleteHistory) JustClear

func (o *TLMessagesDeleteHistory) JustClear() bool

func (*TLMessagesDeleteHistory) ReadBareFrom

func (o *TLMessagesDeleteHistory) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDeleteHistory) SetJustClear

func (o *TLMessagesDeleteHistory) SetJustClear(v bool)

func (*TLMessagesDeleteHistory) String

func (o *TLMessagesDeleteHistory) String() string

func (*TLMessagesDeleteHistory) WriteBareTo

func (o *TLMessagesDeleteHistory) WriteBareTo(w *tl.Writer)

type TLMessagesDeleteMessages

type TLMessagesDeleteMessages struct {
	Flags uint  // flags:#
	ID    []int // id:Vector<int>
}

TLMessagesDeleteMessages represents func messages.deleteMessages#e58e95d2 flags:# flags.0?revoke:true id:Vector<int> = messages.AffectedMessages from Telegram

func (*TLMessagesDeleteMessages) Cmd

func (*TLMessagesDeleteMessages) ReadBareFrom

func (o *TLMessagesDeleteMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDeleteMessages) Revoke

func (o *TLMessagesDeleteMessages) Revoke() bool

func (*TLMessagesDeleteMessages) SetRevoke

func (o *TLMessagesDeleteMessages) SetRevoke(v bool)

func (*TLMessagesDeleteMessages) String

func (o *TLMessagesDeleteMessages) String() string

func (*TLMessagesDeleteMessages) WriteBareTo

func (o *TLMessagesDeleteMessages) WriteBareTo(w *tl.Writer)

type TLMessagesDialogs

type TLMessagesDialogs struct {
	Dialogs  []*TLDialog     // dialogs:Vector<Dialog>
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
}

TLMessagesDialogs represents ctor messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs from Telegram

func (*TLMessagesDialogs) Cmd

func (o *TLMessagesDialogs) Cmd() uint32

func (*TLMessagesDialogs) IsTLMessagesDialogs

func (o *TLMessagesDialogs) IsTLMessagesDialogs()

func (*TLMessagesDialogs) ReadBareFrom

func (o *TLMessagesDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDialogs) String

func (o *TLMessagesDialogs) String() string

func (*TLMessagesDialogs) WriteBareTo

func (o *TLMessagesDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesDialogsSlice

type TLMessagesDialogsSlice struct {
	Count    int             // count:int
	Dialogs  []*TLDialog     // dialogs:Vector<Dialog>
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
}

TLMessagesDialogsSlice represents ctor messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs from Telegram

func (*TLMessagesDialogsSlice) Cmd

func (o *TLMessagesDialogsSlice) Cmd() uint32

func (*TLMessagesDialogsSlice) IsTLMessagesDialogs

func (o *TLMessagesDialogsSlice) IsTLMessagesDialogs()

func (*TLMessagesDialogsSlice) ReadBareFrom

func (o *TLMessagesDialogsSlice) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDialogsSlice) String

func (o *TLMessagesDialogsSlice) String() string

func (*TLMessagesDialogsSlice) WriteBareTo

func (o *TLMessagesDialogsSlice) WriteBareTo(w *tl.Writer)

type TLMessagesDialogsType

type TLMessagesDialogsType interface {
	IsTLMessagesDialogs()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesDialogsType represents messages.Dialogs from Telegram

type TLMessagesDiscardEncryption

type TLMessagesDiscardEncryption struct {
	ChatID int // chat_id:int
}

TLMessagesDiscardEncryption represents func messages.discardEncryption#edd923c5 chat_id:int = Bool from Telegram

func (*TLMessagesDiscardEncryption) Cmd

func (*TLMessagesDiscardEncryption) ReadBareFrom

func (o *TLMessagesDiscardEncryption) ReadBareFrom(r *tl.Reader)

func (*TLMessagesDiscardEncryption) String

func (o *TLMessagesDiscardEncryption) String() string

func (*TLMessagesDiscardEncryption) WriteBareTo

func (o *TLMessagesDiscardEncryption) WriteBareTo(w *tl.Writer)

type TLMessagesEditChatAdmin

type TLMessagesEditChatAdmin struct {
	ChatID  int             // chat_id:int
	UserID  TLInputUserType // user_id:InputUser
	IsAdmin bool            // is_admin:Bool
}

TLMessagesEditChatAdmin represents func messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool from Telegram

func (*TLMessagesEditChatAdmin) Cmd

func (*TLMessagesEditChatAdmin) ReadBareFrom

func (o *TLMessagesEditChatAdmin) ReadBareFrom(r *tl.Reader)

func (*TLMessagesEditChatAdmin) String

func (o *TLMessagesEditChatAdmin) String() string

func (*TLMessagesEditChatAdmin) WriteBareTo

func (o *TLMessagesEditChatAdmin) WriteBareTo(w *tl.Writer)

type TLMessagesEditChatPhoto

type TLMessagesEditChatPhoto struct {
	ChatID int                  // chat_id:int
	Photo  TLInputChatPhotoType // photo:InputChatPhoto
}

TLMessagesEditChatPhoto represents func messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates from Telegram

func (*TLMessagesEditChatPhoto) Cmd

func (*TLMessagesEditChatPhoto) ReadBareFrom

func (o *TLMessagesEditChatPhoto) ReadBareFrom(r *tl.Reader)

func (*TLMessagesEditChatPhoto) String

func (o *TLMessagesEditChatPhoto) String() string

func (*TLMessagesEditChatPhoto) WriteBareTo

func (o *TLMessagesEditChatPhoto) WriteBareTo(w *tl.Writer)

type TLMessagesEditChatTitle

type TLMessagesEditChatTitle struct {
	ChatID int    // chat_id:int
	Title  string // title:string
}

TLMessagesEditChatTitle represents func messages.editChatTitle#dc452855 chat_id:int title:string = Updates from Telegram

func (*TLMessagesEditChatTitle) Cmd

func (*TLMessagesEditChatTitle) ReadBareFrom

func (o *TLMessagesEditChatTitle) ReadBareFrom(r *tl.Reader)

func (*TLMessagesEditChatTitle) String

func (o *TLMessagesEditChatTitle) String() string

func (*TLMessagesEditChatTitle) WriteBareTo

func (o *TLMessagesEditChatTitle) WriteBareTo(w *tl.Writer)

type TLMessagesEditInlineBotMessage

type TLMessagesEditInlineBotMessage struct {
	Flags       uint                       // flags:#
	ID          *TLInputBotInlineMessageID // id:InputBotInlineMessageID
	Message     string                     // flags.11?message:string
	ReplyMarkup TLReplyMarkupType          // flags.2?reply_markup:ReplyMarkup
	Entities    []TLMessageEntityType      // flags.3?entities:Vector<MessageEntity>
}

TLMessagesEditInlineBotMessage represents func messages.editInlineBotMessage#130c2c85 flags:# flags.1?no_webpage:true id:InputBotInlineMessageID flags.11?message:string flags.2?reply_markup:ReplyMarkup flags.3?entities:Vector<MessageEntity> = Bool from Telegram

func (*TLMessagesEditInlineBotMessage) Cmd

func (*TLMessagesEditInlineBotMessage) HasEntities

func (o *TLMessagesEditInlineBotMessage) HasEntities() bool

func (*TLMessagesEditInlineBotMessage) HasMessage

func (o *TLMessagesEditInlineBotMessage) HasMessage() bool

func (*TLMessagesEditInlineBotMessage) HasReplyMarkup

func (o *TLMessagesEditInlineBotMessage) HasReplyMarkup() bool

func (*TLMessagesEditInlineBotMessage) NoWebpage

func (o *TLMessagesEditInlineBotMessage) NoWebpage() bool

func (*TLMessagesEditInlineBotMessage) ReadBareFrom

func (o *TLMessagesEditInlineBotMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesEditInlineBotMessage) SetHasEntities

func (o *TLMessagesEditInlineBotMessage) SetHasEntities(v bool)

func (*TLMessagesEditInlineBotMessage) SetHasMessage

func (o *TLMessagesEditInlineBotMessage) SetHasMessage(v bool)

func (*TLMessagesEditInlineBotMessage) SetHasReplyMarkup

func (o *TLMessagesEditInlineBotMessage) SetHasReplyMarkup(v bool)

func (*TLMessagesEditInlineBotMessage) SetNoWebpage

func (o *TLMessagesEditInlineBotMessage) SetNoWebpage(v bool)

func (*TLMessagesEditInlineBotMessage) String

func (*TLMessagesEditInlineBotMessage) WriteBareTo

func (o *TLMessagesEditInlineBotMessage) WriteBareTo(w *tl.Writer)

type TLMessagesEditMessage

type TLMessagesEditMessage struct {
	Flags       uint                  // flags:#
	Peer        TLInputPeerType       // peer:InputPeer
	ID          int                   // id:int
	Message     string                // flags.11?message:string
	ReplyMarkup TLReplyMarkupType     // flags.2?reply_markup:ReplyMarkup
	Entities    []TLMessageEntityType // flags.3?entities:Vector<MessageEntity>
}

TLMessagesEditMessage represents func messages.editMessage#ce91e4ca flags:# flags.1?no_webpage:true peer:InputPeer id:int flags.11?message:string flags.2?reply_markup:ReplyMarkup flags.3?entities:Vector<MessageEntity> = Updates from Telegram

func (*TLMessagesEditMessage) Cmd

func (o *TLMessagesEditMessage) Cmd() uint32

func (*TLMessagesEditMessage) HasEntities

func (o *TLMessagesEditMessage) HasEntities() bool

func (*TLMessagesEditMessage) HasMessage

func (o *TLMessagesEditMessage) HasMessage() bool

func (*TLMessagesEditMessage) HasReplyMarkup

func (o *TLMessagesEditMessage) HasReplyMarkup() bool

func (*TLMessagesEditMessage) NoWebpage

func (o *TLMessagesEditMessage) NoWebpage() bool

func (*TLMessagesEditMessage) ReadBareFrom

func (o *TLMessagesEditMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesEditMessage) SetHasEntities

func (o *TLMessagesEditMessage) SetHasEntities(v bool)

func (*TLMessagesEditMessage) SetHasMessage

func (o *TLMessagesEditMessage) SetHasMessage(v bool)

func (*TLMessagesEditMessage) SetHasReplyMarkup

func (o *TLMessagesEditMessage) SetHasReplyMarkup(v bool)

func (*TLMessagesEditMessage) SetNoWebpage

func (o *TLMessagesEditMessage) SetNoWebpage(v bool)

func (*TLMessagesEditMessage) String

func (o *TLMessagesEditMessage) String() string

func (*TLMessagesEditMessage) WriteBareTo

func (o *TLMessagesEditMessage) WriteBareTo(w *tl.Writer)

type TLMessagesExportChatInvite

type TLMessagesExportChatInvite struct {
	ChatID int // chat_id:int
}

TLMessagesExportChatInvite represents func messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite from Telegram

func (*TLMessagesExportChatInvite) Cmd

func (*TLMessagesExportChatInvite) ReadBareFrom

func (o *TLMessagesExportChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLMessagesExportChatInvite) String

func (o *TLMessagesExportChatInvite) String() string

func (*TLMessagesExportChatInvite) WriteBareTo

func (o *TLMessagesExportChatInvite) WriteBareTo(w *tl.Writer)

type TLMessagesFeaturedStickers

type TLMessagesFeaturedStickers struct {
	Hash   int                       // hash:int
	Sets   []TLStickerSetCoveredType // sets:Vector<StickerSetCovered>
	Unread []uint64                  // unread:Vector<long>
}

TLMessagesFeaturedStickers represents ctor messages.featuredStickers#f89d88e5 hash:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers from Telegram

func (*TLMessagesFeaturedStickers) Cmd

func (*TLMessagesFeaturedStickers) IsTLMessagesFeaturedStickers

func (o *TLMessagesFeaturedStickers) IsTLMessagesFeaturedStickers()

func (*TLMessagesFeaturedStickers) ReadBareFrom

func (o *TLMessagesFeaturedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesFeaturedStickers) String

func (o *TLMessagesFeaturedStickers) String() string

func (*TLMessagesFeaturedStickers) WriteBareTo

func (o *TLMessagesFeaturedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesFeaturedStickersNotModified

type TLMessagesFeaturedStickersNotModified struct {
}

TLMessagesFeaturedStickersNotModified represents ctor messages.featuredStickersNotModified#04ede3cf = messages.FeaturedStickers from Telegram

func (*TLMessagesFeaturedStickersNotModified) Cmd

func (*TLMessagesFeaturedStickersNotModified) IsTLMessagesFeaturedStickers

func (o *TLMessagesFeaturedStickersNotModified) IsTLMessagesFeaturedStickers()

func (*TLMessagesFeaturedStickersNotModified) ReadBareFrom

func (o *TLMessagesFeaturedStickersNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesFeaturedStickersNotModified) String

func (*TLMessagesFeaturedStickersNotModified) WriteBareTo

func (o *TLMessagesFeaturedStickersNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesFeaturedStickersType

type TLMessagesFeaturedStickersType interface {
	IsTLMessagesFeaturedStickers()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesFeaturedStickersType represents messages.FeaturedStickers from Telegram

type TLMessagesFilterType

type TLMessagesFilterType interface {
	IsTLMessagesFilter()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesFilterType represents MessagesFilter from Telegram

type TLMessagesForwardMessage

type TLMessagesForwardMessage struct {
	Peer     TLInputPeerType // peer:InputPeer
	ID       int             // id:int
	RandomID uint64          // random_id:long
}

TLMessagesForwardMessage represents func messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates from Telegram

func (*TLMessagesForwardMessage) Cmd

func (*TLMessagesForwardMessage) ReadBareFrom

func (o *TLMessagesForwardMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesForwardMessage) String

func (o *TLMessagesForwardMessage) String() string

func (*TLMessagesForwardMessage) WriteBareTo

func (o *TLMessagesForwardMessage) WriteBareTo(w *tl.Writer)

type TLMessagesForwardMessages

type TLMessagesForwardMessages struct {
	Flags    uint            // flags:#
	FromPeer TLInputPeerType // from_peer:InputPeer
	ID       []int           // id:Vector<int>
	RandomID []uint64        // random_id:Vector<long>
	ToPeer   TLInputPeerType // to_peer:InputPeer
}

TLMessagesForwardMessages represents func messages.forwardMessages#708e0195 flags:# flags.5?silent:true flags.6?background:true flags.8?with_my_score:true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates from Telegram

func (*TLMessagesForwardMessages) Background

func (o *TLMessagesForwardMessages) Background() bool

func (*TLMessagesForwardMessages) Cmd

func (*TLMessagesForwardMessages) ReadBareFrom

func (o *TLMessagesForwardMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesForwardMessages) SetBackground

func (o *TLMessagesForwardMessages) SetBackground(v bool)

func (*TLMessagesForwardMessages) SetSilent

func (o *TLMessagesForwardMessages) SetSilent(v bool)

func (*TLMessagesForwardMessages) SetWithMyScore

func (o *TLMessagesForwardMessages) SetWithMyScore(v bool)

func (*TLMessagesForwardMessages) Silent

func (o *TLMessagesForwardMessages) Silent() bool

func (*TLMessagesForwardMessages) String

func (o *TLMessagesForwardMessages) String() string

func (*TLMessagesForwardMessages) WithMyScore

func (o *TLMessagesForwardMessages) WithMyScore() bool

func (*TLMessagesForwardMessages) WriteBareTo

func (o *TLMessagesForwardMessages) WriteBareTo(w *tl.Writer)

type TLMessagesFoundGifs

type TLMessagesFoundGifs struct {
	NextOffset int              // next_offset:int
	Results    []TLFoundGifType // results:Vector<FoundGif>
}

TLMessagesFoundGifs represents ctor messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif> = messages.FoundGifs from Telegram

func (*TLMessagesFoundGifs) Cmd

func (o *TLMessagesFoundGifs) Cmd() uint32

func (*TLMessagesFoundGifs) ReadBareFrom

func (o *TLMessagesFoundGifs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesFoundGifs) String

func (o *TLMessagesFoundGifs) String() string

func (*TLMessagesFoundGifs) WriteBareTo

func (o *TLMessagesFoundGifs) WriteBareTo(w *tl.Writer)

type TLMessagesGetAllChats

type TLMessagesGetAllChats struct {
	ExceptIDs []int // except_ids:Vector<int>
}

TLMessagesGetAllChats represents func messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats from Telegram

func (*TLMessagesGetAllChats) Cmd

func (o *TLMessagesGetAllChats) Cmd() uint32

func (*TLMessagesGetAllChats) ReadBareFrom

func (o *TLMessagesGetAllChats) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetAllChats) String

func (o *TLMessagesGetAllChats) String() string

func (*TLMessagesGetAllChats) WriteBareTo

func (o *TLMessagesGetAllChats) WriteBareTo(w *tl.Writer)

type TLMessagesGetAllDrafts

type TLMessagesGetAllDrafts struct {
}

TLMessagesGetAllDrafts represents func messages.getAllDrafts#6a3f8d65 = Updates from Telegram

func (*TLMessagesGetAllDrafts) Cmd

func (o *TLMessagesGetAllDrafts) Cmd() uint32

func (*TLMessagesGetAllDrafts) ReadBareFrom

func (o *TLMessagesGetAllDrafts) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetAllDrafts) String

func (o *TLMessagesGetAllDrafts) String() string

func (*TLMessagesGetAllDrafts) WriteBareTo

func (o *TLMessagesGetAllDrafts) WriteBareTo(w *tl.Writer)

type TLMessagesGetAllStickers

type TLMessagesGetAllStickers struct {
	Hash int // hash:int
}

TLMessagesGetAllStickers represents func messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers from Telegram

func (*TLMessagesGetAllStickers) Cmd

func (*TLMessagesGetAllStickers) ReadBareFrom

func (o *TLMessagesGetAllStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetAllStickers) String

func (o *TLMessagesGetAllStickers) String() string

func (*TLMessagesGetAllStickers) WriteBareTo

func (o *TLMessagesGetAllStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetArchivedStickers

type TLMessagesGetArchivedStickers struct {
	Flags    uint   // flags:#
	OffsetID uint64 // offset_id:long
	Limit    int    // limit:int
}

TLMessagesGetArchivedStickers represents func messages.getArchivedStickers#57f17692 flags:# flags.0?masks:true offset_id:long limit:int = messages.ArchivedStickers from Telegram

func (*TLMessagesGetArchivedStickers) Cmd

func (*TLMessagesGetArchivedStickers) Masks

func (*TLMessagesGetArchivedStickers) ReadBareFrom

func (o *TLMessagesGetArchivedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetArchivedStickers) SetMasks

func (o *TLMessagesGetArchivedStickers) SetMasks(v bool)

func (*TLMessagesGetArchivedStickers) String

func (*TLMessagesGetArchivedStickers) WriteBareTo

func (o *TLMessagesGetArchivedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetAttachedStickers

type TLMessagesGetAttachedStickers struct {
	Media TLInputStickeredMediaType // media:InputStickeredMedia
}

TLMessagesGetAttachedStickers represents func messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered> from Telegram

func (*TLMessagesGetAttachedStickers) Cmd

func (*TLMessagesGetAttachedStickers) ReadBareFrom

func (o *TLMessagesGetAttachedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetAttachedStickers) String

func (*TLMessagesGetAttachedStickers) WriteBareTo

func (o *TLMessagesGetAttachedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetBotCallbackAnswer

type TLMessagesGetBotCallbackAnswer struct {
	Flags uint            // flags:#
	Peer  TLInputPeerType // peer:InputPeer
	MsgID int             // msg_id:int
	Data  []byte          // flags.0?data:bytes
}

TLMessagesGetBotCallbackAnswer represents func messages.getBotCallbackAnswer#810a9fec flags:# flags.1?game:true peer:InputPeer msg_id:int flags.0?data:bytes = messages.BotCallbackAnswer from Telegram

func (*TLMessagesGetBotCallbackAnswer) Cmd

func (*TLMessagesGetBotCallbackAnswer) Game

func (*TLMessagesGetBotCallbackAnswer) HasData

func (o *TLMessagesGetBotCallbackAnswer) HasData() bool

func (*TLMessagesGetBotCallbackAnswer) ReadBareFrom

func (o *TLMessagesGetBotCallbackAnswer) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetBotCallbackAnswer) SetGame

func (o *TLMessagesGetBotCallbackAnswer) SetGame(v bool)

func (*TLMessagesGetBotCallbackAnswer) SetHasData

func (o *TLMessagesGetBotCallbackAnswer) SetHasData(v bool)

func (*TLMessagesGetBotCallbackAnswer) String

func (*TLMessagesGetBotCallbackAnswer) WriteBareTo

func (o *TLMessagesGetBotCallbackAnswer) WriteBareTo(w *tl.Writer)

type TLMessagesGetChats

type TLMessagesGetChats struct {
	ID []int // id:Vector<int>
}

TLMessagesGetChats represents func messages.getChats#3c6aa187 id:Vector<int> = messages.Chats from Telegram

func (*TLMessagesGetChats) Cmd

func (o *TLMessagesGetChats) Cmd() uint32

func (*TLMessagesGetChats) ReadBareFrom

func (o *TLMessagesGetChats) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetChats) String

func (o *TLMessagesGetChats) String() string

func (*TLMessagesGetChats) WriteBareTo

func (o *TLMessagesGetChats) WriteBareTo(w *tl.Writer)

type TLMessagesGetCommonChats

type TLMessagesGetCommonChats struct {
	UserID TLInputUserType // user_id:InputUser
	MaxID  int             // max_id:int
	Limit  int             // limit:int
}

TLMessagesGetCommonChats represents func messages.getCommonChats#0d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats from Telegram

func (*TLMessagesGetCommonChats) Cmd

func (*TLMessagesGetCommonChats) ReadBareFrom

func (o *TLMessagesGetCommonChats) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetCommonChats) String

func (o *TLMessagesGetCommonChats) String() string

func (*TLMessagesGetCommonChats) WriteBareTo

func (o *TLMessagesGetCommonChats) WriteBareTo(w *tl.Writer)

type TLMessagesGetDHConfig

type TLMessagesGetDHConfig struct {
	Version      int // version:int
	RandomLength int // random_length:int
}

TLMessagesGetDHConfig represents func messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig from Telegram

func (*TLMessagesGetDHConfig) Cmd

func (o *TLMessagesGetDHConfig) Cmd() uint32

func (*TLMessagesGetDHConfig) ReadBareFrom

func (o *TLMessagesGetDHConfig) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetDHConfig) String

func (o *TLMessagesGetDHConfig) String() string

func (*TLMessagesGetDHConfig) WriteBareTo

func (o *TLMessagesGetDHConfig) WriteBareTo(w *tl.Writer)

type TLMessagesGetDialogs

type TLMessagesGetDialogs struct {
	Flags      uint            // flags:#
	OffsetDate int             // offset_date:int
	OffsetID   int             // offset_id:int
	OffsetPeer TLInputPeerType // offset_peer:InputPeer
	Limit      int             // limit:int
}

TLMessagesGetDialogs represents func messages.getDialogs#191ba9c5 flags:# flags.0?exclude_pinned:true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs from Telegram

func (*TLMessagesGetDialogs) Cmd

func (o *TLMessagesGetDialogs) Cmd() uint32

func (*TLMessagesGetDialogs) ExcludePinned

func (o *TLMessagesGetDialogs) ExcludePinned() bool

func (*TLMessagesGetDialogs) ReadBareFrom

func (o *TLMessagesGetDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetDialogs) SetExcludePinned

func (o *TLMessagesGetDialogs) SetExcludePinned(v bool)

func (*TLMessagesGetDialogs) String

func (o *TLMessagesGetDialogs) String() string

func (*TLMessagesGetDialogs) WriteBareTo

func (o *TLMessagesGetDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesGetDocumentByHash

type TLMessagesGetDocumentByHash struct {
	Sha256   []byte // sha256:bytes
	Size     int    // size:int
	MimeType string // mime_type:string
}

TLMessagesGetDocumentByHash represents func messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document from Telegram

func (*TLMessagesGetDocumentByHash) Cmd

func (*TLMessagesGetDocumentByHash) ReadBareFrom

func (o *TLMessagesGetDocumentByHash) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetDocumentByHash) String

func (o *TLMessagesGetDocumentByHash) String() string

func (*TLMessagesGetDocumentByHash) WriteBareTo

func (o *TLMessagesGetDocumentByHash) WriteBareTo(w *tl.Writer)

type TLMessagesGetFeaturedStickers

type TLMessagesGetFeaturedStickers struct {
	Hash int // hash:int
}

TLMessagesGetFeaturedStickers represents func messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers from Telegram

func (*TLMessagesGetFeaturedStickers) Cmd

func (*TLMessagesGetFeaturedStickers) ReadBareFrom

func (o *TLMessagesGetFeaturedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetFeaturedStickers) String

func (*TLMessagesGetFeaturedStickers) WriteBareTo

func (o *TLMessagesGetFeaturedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetFullChat

type TLMessagesGetFullChat struct {
	ChatID int // chat_id:int
}

TLMessagesGetFullChat represents func messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull from Telegram

func (*TLMessagesGetFullChat) Cmd

func (o *TLMessagesGetFullChat) Cmd() uint32

func (*TLMessagesGetFullChat) ReadBareFrom

func (o *TLMessagesGetFullChat) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetFullChat) String

func (o *TLMessagesGetFullChat) String() string

func (*TLMessagesGetFullChat) WriteBareTo

func (o *TLMessagesGetFullChat) WriteBareTo(w *tl.Writer)

type TLMessagesGetGameHighScores

type TLMessagesGetGameHighScores struct {
	Peer   TLInputPeerType // peer:InputPeer
	ID     int             // id:int
	UserID TLInputUserType // user_id:InputUser
}

TLMessagesGetGameHighScores represents func messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores from Telegram

func (*TLMessagesGetGameHighScores) Cmd

func (*TLMessagesGetGameHighScores) ReadBareFrom

func (o *TLMessagesGetGameHighScores) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetGameHighScores) String

func (o *TLMessagesGetGameHighScores) String() string

func (*TLMessagesGetGameHighScores) WriteBareTo

func (o *TLMessagesGetGameHighScores) WriteBareTo(w *tl.Writer)

type TLMessagesGetHistory

type TLMessagesGetHistory struct {
	Peer       TLInputPeerType // peer:InputPeer
	OffsetID   int             // offset_id:int
	OffsetDate int             // offset_date:int
	AddOffset  int             // add_offset:int
	Limit      int             // limit:int
	MaxID      int             // max_id:int
	MinID      int             // min_id:int
}

TLMessagesGetHistory represents func messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages from Telegram

func (*TLMessagesGetHistory) Cmd

func (o *TLMessagesGetHistory) Cmd() uint32

func (*TLMessagesGetHistory) ReadBareFrom

func (o *TLMessagesGetHistory) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetHistory) String

func (o *TLMessagesGetHistory) String() string

func (*TLMessagesGetHistory) WriteBareTo

func (o *TLMessagesGetHistory) WriteBareTo(w *tl.Writer)

type TLMessagesGetInlineBotResults

type TLMessagesGetInlineBotResults struct {
	Flags    uint                // flags:#
	Bot      TLInputUserType     // bot:InputUser
	Peer     TLInputPeerType     // peer:InputPeer
	GeoPoint TLInputGeoPointType // flags.0?geo_point:InputGeoPoint
	Query    string              // query:string
	Offset   string              // offset:string
}

TLMessagesGetInlineBotResults represents func messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer flags.0?geo_point:InputGeoPoint query:string offset:string = messages.BotResults from Telegram

func (*TLMessagesGetInlineBotResults) Cmd

func (*TLMessagesGetInlineBotResults) HasGeoPoint

func (o *TLMessagesGetInlineBotResults) HasGeoPoint() bool

func (*TLMessagesGetInlineBotResults) ReadBareFrom

func (o *TLMessagesGetInlineBotResults) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetInlineBotResults) SetHasGeoPoint

func (o *TLMessagesGetInlineBotResults) SetHasGeoPoint(v bool)

func (*TLMessagesGetInlineBotResults) String

func (*TLMessagesGetInlineBotResults) WriteBareTo

func (o *TLMessagesGetInlineBotResults) WriteBareTo(w *tl.Writer)

type TLMessagesGetInlineGameHighScores

type TLMessagesGetInlineGameHighScores struct {
	ID     *TLInputBotInlineMessageID // id:InputBotInlineMessageID
	UserID TLInputUserType            // user_id:InputUser
}

TLMessagesGetInlineGameHighScores represents func messages.getInlineGameHighScores#0f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores from Telegram

func (*TLMessagesGetInlineGameHighScores) Cmd

func (*TLMessagesGetInlineGameHighScores) ReadBareFrom

func (o *TLMessagesGetInlineGameHighScores) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetInlineGameHighScores) String

func (*TLMessagesGetInlineGameHighScores) WriteBareTo

func (o *TLMessagesGetInlineGameHighScores) WriteBareTo(w *tl.Writer)

type TLMessagesGetMaskStickers

type TLMessagesGetMaskStickers struct {
	Hash int // hash:int
}

TLMessagesGetMaskStickers represents func messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers from Telegram

func (*TLMessagesGetMaskStickers) Cmd

func (*TLMessagesGetMaskStickers) ReadBareFrom

func (o *TLMessagesGetMaskStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetMaskStickers) String

func (o *TLMessagesGetMaskStickers) String() string

func (*TLMessagesGetMaskStickers) WriteBareTo

func (o *TLMessagesGetMaskStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetMessageEditData

type TLMessagesGetMessageEditData struct {
	Peer TLInputPeerType // peer:InputPeer
	ID   int             // id:int
}

TLMessagesGetMessageEditData represents func messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData from Telegram

func (*TLMessagesGetMessageEditData) Cmd

func (*TLMessagesGetMessageEditData) ReadBareFrom

func (o *TLMessagesGetMessageEditData) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetMessageEditData) String

func (*TLMessagesGetMessageEditData) WriteBareTo

func (o *TLMessagesGetMessageEditData) WriteBareTo(w *tl.Writer)

type TLMessagesGetMessages

type TLMessagesGetMessages struct {
	ID []int // id:Vector<int>
}

TLMessagesGetMessages represents func messages.getMessages#4222fa74 id:Vector<int> = messages.Messages from Telegram

func (*TLMessagesGetMessages) Cmd

func (o *TLMessagesGetMessages) Cmd() uint32

func (*TLMessagesGetMessages) ReadBareFrom

func (o *TLMessagesGetMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetMessages) String

func (o *TLMessagesGetMessages) String() string

func (*TLMessagesGetMessages) WriteBareTo

func (o *TLMessagesGetMessages) WriteBareTo(w *tl.Writer)

type TLMessagesGetMessagesViews

type TLMessagesGetMessagesViews struct {
	Peer      TLInputPeerType // peer:InputPeer
	ID        []int           // id:Vector<int>
	Increment bool            // increment:Bool
}

TLMessagesGetMessagesViews represents func messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int> from Telegram

func (*TLMessagesGetMessagesViews) Cmd

func (*TLMessagesGetMessagesViews) ReadBareFrom

func (o *TLMessagesGetMessagesViews) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetMessagesViews) String

func (o *TLMessagesGetMessagesViews) String() string

func (*TLMessagesGetMessagesViews) WriteBareTo

func (o *TLMessagesGetMessagesViews) WriteBareTo(w *tl.Writer)

type TLMessagesGetPeerDialogs

type TLMessagesGetPeerDialogs struct {
	Peers []TLInputPeerType // peers:Vector<InputPeer>
}

TLMessagesGetPeerDialogs represents func messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs from Telegram

func (*TLMessagesGetPeerDialogs) Cmd

func (*TLMessagesGetPeerDialogs) ReadBareFrom

func (o *TLMessagesGetPeerDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetPeerDialogs) String

func (o *TLMessagesGetPeerDialogs) String() string

func (*TLMessagesGetPeerDialogs) WriteBareTo

func (o *TLMessagesGetPeerDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesGetPeerSettings

type TLMessagesGetPeerSettings struct {
	Peer TLInputPeerType // peer:InputPeer
}

TLMessagesGetPeerSettings represents func messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings from Telegram

func (*TLMessagesGetPeerSettings) Cmd

func (*TLMessagesGetPeerSettings) ReadBareFrom

func (o *TLMessagesGetPeerSettings) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetPeerSettings) String

func (o *TLMessagesGetPeerSettings) String() string

func (*TLMessagesGetPeerSettings) WriteBareTo

func (o *TLMessagesGetPeerSettings) WriteBareTo(w *tl.Writer)

type TLMessagesGetPinnedDialogs

type TLMessagesGetPinnedDialogs struct {
}

TLMessagesGetPinnedDialogs represents func messages.getPinnedDialogs#e254d64e = messages.PeerDialogs from Telegram

func (*TLMessagesGetPinnedDialogs) Cmd

func (*TLMessagesGetPinnedDialogs) ReadBareFrom

func (o *TLMessagesGetPinnedDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetPinnedDialogs) String

func (o *TLMessagesGetPinnedDialogs) String() string

func (*TLMessagesGetPinnedDialogs) WriteBareTo

func (o *TLMessagesGetPinnedDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesGetRecentStickers

type TLMessagesGetRecentStickers struct {
	Flags uint // flags:#
	Hash  int  // hash:int
}

TLMessagesGetRecentStickers represents func messages.getRecentStickers#5ea192c9 flags:# flags.0?attached:true hash:int = messages.RecentStickers from Telegram

func (*TLMessagesGetRecentStickers) Attached

func (o *TLMessagesGetRecentStickers) Attached() bool

func (*TLMessagesGetRecentStickers) Cmd

func (*TLMessagesGetRecentStickers) ReadBareFrom

func (o *TLMessagesGetRecentStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetRecentStickers) SetAttached

func (o *TLMessagesGetRecentStickers) SetAttached(v bool)

func (*TLMessagesGetRecentStickers) String

func (o *TLMessagesGetRecentStickers) String() string

func (*TLMessagesGetRecentStickers) WriteBareTo

func (o *TLMessagesGetRecentStickers) WriteBareTo(w *tl.Writer)

type TLMessagesGetSavedGifs

type TLMessagesGetSavedGifs struct {
	Hash int // hash:int
}

TLMessagesGetSavedGifs represents func messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs from Telegram

func (*TLMessagesGetSavedGifs) Cmd

func (o *TLMessagesGetSavedGifs) Cmd() uint32

func (*TLMessagesGetSavedGifs) ReadBareFrom

func (o *TLMessagesGetSavedGifs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetSavedGifs) String

func (o *TLMessagesGetSavedGifs) String() string

func (*TLMessagesGetSavedGifs) WriteBareTo

func (o *TLMessagesGetSavedGifs) WriteBareTo(w *tl.Writer)

type TLMessagesGetStickerSet

type TLMessagesGetStickerSet struct {
	Stickerset TLInputStickerSetType // stickerset:InputStickerSet
}

TLMessagesGetStickerSet represents func messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet from Telegram

func (*TLMessagesGetStickerSet) Cmd

func (*TLMessagesGetStickerSet) ReadBareFrom

func (o *TLMessagesGetStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetStickerSet) String

func (o *TLMessagesGetStickerSet) String() string

func (*TLMessagesGetStickerSet) WriteBareTo

func (o *TLMessagesGetStickerSet) WriteBareTo(w *tl.Writer)

type TLMessagesGetWebPage

type TLMessagesGetWebPage struct {
	URL  string // url:string
	Hash int    // hash:int
}

TLMessagesGetWebPage represents func messages.getWebPage#32ca8f91 url:string hash:int = WebPage from Telegram

func (*TLMessagesGetWebPage) Cmd

func (o *TLMessagesGetWebPage) Cmd() uint32

func (*TLMessagesGetWebPage) ReadBareFrom

func (o *TLMessagesGetWebPage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetWebPage) String

func (o *TLMessagesGetWebPage) String() string

func (*TLMessagesGetWebPage) WriteBareTo

func (o *TLMessagesGetWebPage) WriteBareTo(w *tl.Writer)

type TLMessagesGetWebPagePreview

type TLMessagesGetWebPagePreview struct {
	Message string // message:string
}

TLMessagesGetWebPagePreview represents func messages.getWebPagePreview#25223e24 message:string = MessageMedia from Telegram

func (*TLMessagesGetWebPagePreview) Cmd

func (*TLMessagesGetWebPagePreview) ReadBareFrom

func (o *TLMessagesGetWebPagePreview) ReadBareFrom(r *tl.Reader)

func (*TLMessagesGetWebPagePreview) String

func (o *TLMessagesGetWebPagePreview) String() string

func (*TLMessagesGetWebPagePreview) WriteBareTo

func (o *TLMessagesGetWebPagePreview) WriteBareTo(w *tl.Writer)

type TLMessagesHideReportSpam

type TLMessagesHideReportSpam struct {
	Peer TLInputPeerType // peer:InputPeer
}

TLMessagesHideReportSpam represents func messages.hideReportSpam#a8f1709b peer:InputPeer = Bool from Telegram

func (*TLMessagesHideReportSpam) Cmd

func (*TLMessagesHideReportSpam) ReadBareFrom

func (o *TLMessagesHideReportSpam) ReadBareFrom(r *tl.Reader)

func (*TLMessagesHideReportSpam) String

func (o *TLMessagesHideReportSpam) String() string

func (*TLMessagesHideReportSpam) WriteBareTo

func (o *TLMessagesHideReportSpam) WriteBareTo(w *tl.Writer)

type TLMessagesHighScores

type TLMessagesHighScores struct {
	Scores []*TLHighScore // scores:Vector<HighScore>
	Users  []TLUserType   // users:Vector<User>
}

TLMessagesHighScores represents ctor messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores from Telegram

func (*TLMessagesHighScores) Cmd

func (o *TLMessagesHighScores) Cmd() uint32

func (*TLMessagesHighScores) ReadBareFrom

func (o *TLMessagesHighScores) ReadBareFrom(r *tl.Reader)

func (*TLMessagesHighScores) String

func (o *TLMessagesHighScores) String() string

func (*TLMessagesHighScores) WriteBareTo

func (o *TLMessagesHighScores) WriteBareTo(w *tl.Writer)

type TLMessagesImportChatInvite

type TLMessagesImportChatInvite struct {
	Hash string // hash:string
}

TLMessagesImportChatInvite represents func messages.importChatInvite#6c50051c hash:string = Updates from Telegram

func (*TLMessagesImportChatInvite) Cmd

func (*TLMessagesImportChatInvite) ReadBareFrom

func (o *TLMessagesImportChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLMessagesImportChatInvite) String

func (o *TLMessagesImportChatInvite) String() string

func (*TLMessagesImportChatInvite) WriteBareTo

func (o *TLMessagesImportChatInvite) WriteBareTo(w *tl.Writer)

type TLMessagesInstallStickerSet

type TLMessagesInstallStickerSet struct {
	Stickerset TLInputStickerSetType // stickerset:InputStickerSet
	Archived   bool                  // archived:Bool
}

TLMessagesInstallStickerSet represents func messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult from Telegram

func (*TLMessagesInstallStickerSet) Cmd

func (*TLMessagesInstallStickerSet) ReadBareFrom

func (o *TLMessagesInstallStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLMessagesInstallStickerSet) String

func (o *TLMessagesInstallStickerSet) String() string

func (*TLMessagesInstallStickerSet) WriteBareTo

func (o *TLMessagesInstallStickerSet) WriteBareTo(w *tl.Writer)

type TLMessagesMessageEditData

type TLMessagesMessageEditData struct {
	Flags uint // flags:#
}

TLMessagesMessageEditData represents ctor messages.messageEditData#26b5dde6 flags:# flags.0?caption:true = messages.MessageEditData from Telegram

func (*TLMessagesMessageEditData) Caption

func (o *TLMessagesMessageEditData) Caption() bool

func (*TLMessagesMessageEditData) Cmd

func (*TLMessagesMessageEditData) ReadBareFrom

func (o *TLMessagesMessageEditData) ReadBareFrom(r *tl.Reader)

func (*TLMessagesMessageEditData) SetCaption

func (o *TLMessagesMessageEditData) SetCaption(v bool)

func (*TLMessagesMessageEditData) String

func (o *TLMessagesMessageEditData) String() string

func (*TLMessagesMessageEditData) WriteBareTo

func (o *TLMessagesMessageEditData) WriteBareTo(w *tl.Writer)

type TLMessagesMessages

type TLMessagesMessages struct {
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
}

TLMessagesMessages represents ctor messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages from Telegram

func (*TLMessagesMessages) Cmd

func (o *TLMessagesMessages) Cmd() uint32

func (*TLMessagesMessages) IsTLMessagesMessages

func (o *TLMessagesMessages) IsTLMessagesMessages()

func (*TLMessagesMessages) ReadBareFrom

func (o *TLMessagesMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesMessages) String

func (o *TLMessagesMessages) String() string

func (*TLMessagesMessages) WriteBareTo

func (o *TLMessagesMessages) WriteBareTo(w *tl.Writer)

type TLMessagesMessagesSlice

type TLMessagesMessagesSlice struct {
	Count    int             // count:int
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
}

TLMessagesMessagesSlice represents ctor messages.messagesSlice#0b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages from Telegram

func (*TLMessagesMessagesSlice) Cmd

func (*TLMessagesMessagesSlice) IsTLMessagesMessages

func (o *TLMessagesMessagesSlice) IsTLMessagesMessages()

func (*TLMessagesMessagesSlice) ReadBareFrom

func (o *TLMessagesMessagesSlice) ReadBareFrom(r *tl.Reader)

func (*TLMessagesMessagesSlice) String

func (o *TLMessagesMessagesSlice) String() string

func (*TLMessagesMessagesSlice) WriteBareTo

func (o *TLMessagesMessagesSlice) WriteBareTo(w *tl.Writer)

type TLMessagesMessagesType

type TLMessagesMessagesType interface {
	IsTLMessagesMessages()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesMessagesType represents messages.Messages from Telegram

type TLMessagesMigrateChat

type TLMessagesMigrateChat struct {
	ChatID int // chat_id:int
}

TLMessagesMigrateChat represents func messages.migrateChat#15a3b8e3 chat_id:int = Updates from Telegram

func (*TLMessagesMigrateChat) Cmd

func (o *TLMessagesMigrateChat) Cmd() uint32

func (*TLMessagesMigrateChat) ReadBareFrom

func (o *TLMessagesMigrateChat) ReadBareFrom(r *tl.Reader)

func (*TLMessagesMigrateChat) String

func (o *TLMessagesMigrateChat) String() string

func (*TLMessagesMigrateChat) WriteBareTo

func (o *TLMessagesMigrateChat) WriteBareTo(w *tl.Writer)

type TLMessagesPeerDialogs

type TLMessagesPeerDialogs struct {
	Dialogs  []*TLDialog     // dialogs:Vector<Dialog>
	Messages []TLMessageType // messages:Vector<Message>
	Chats    []TLChatType    // chats:Vector<Chat>
	Users    []TLUserType    // users:Vector<User>
	State    *TLUpdatesState // state:updates.State
}

TLMessagesPeerDialogs represents ctor messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs from Telegram

func (*TLMessagesPeerDialogs) Cmd

func (o *TLMessagesPeerDialogs) Cmd() uint32

func (*TLMessagesPeerDialogs) ReadBareFrom

func (o *TLMessagesPeerDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesPeerDialogs) String

func (o *TLMessagesPeerDialogs) String() string

func (*TLMessagesPeerDialogs) WriteBareTo

func (o *TLMessagesPeerDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesReadEncryptedHistory

type TLMessagesReadEncryptedHistory struct {
	Peer    *TLInputEncryptedChat // peer:InputEncryptedChat
	MaxDate int                   // max_date:int
}

TLMessagesReadEncryptedHistory represents func messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool from Telegram

func (*TLMessagesReadEncryptedHistory) Cmd

func (*TLMessagesReadEncryptedHistory) ReadBareFrom

func (o *TLMessagesReadEncryptedHistory) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReadEncryptedHistory) String

func (*TLMessagesReadEncryptedHistory) WriteBareTo

func (o *TLMessagesReadEncryptedHistory) WriteBareTo(w *tl.Writer)

type TLMessagesReadFeaturedStickers

type TLMessagesReadFeaturedStickers struct {
	ID []uint64 // id:Vector<long>
}

TLMessagesReadFeaturedStickers represents func messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool from Telegram

func (*TLMessagesReadFeaturedStickers) Cmd

func (*TLMessagesReadFeaturedStickers) ReadBareFrom

func (o *TLMessagesReadFeaturedStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReadFeaturedStickers) String

func (*TLMessagesReadFeaturedStickers) WriteBareTo

func (o *TLMessagesReadFeaturedStickers) WriteBareTo(w *tl.Writer)

type TLMessagesReadHistory

type TLMessagesReadHistory struct {
	Peer  TLInputPeerType // peer:InputPeer
	MaxID int             // max_id:int
}

TLMessagesReadHistory represents func messages.readHistory#0e306d3a peer:InputPeer max_id:int = messages.AffectedMessages from Telegram

func (*TLMessagesReadHistory) Cmd

func (o *TLMessagesReadHistory) Cmd() uint32

func (*TLMessagesReadHistory) ReadBareFrom

func (o *TLMessagesReadHistory) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReadHistory) String

func (o *TLMessagesReadHistory) String() string

func (*TLMessagesReadHistory) WriteBareTo

func (o *TLMessagesReadHistory) WriteBareTo(w *tl.Writer)

type TLMessagesReadMessageContents

type TLMessagesReadMessageContents struct {
	ID []int // id:Vector<int>
}

TLMessagesReadMessageContents represents func messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages from Telegram

func (*TLMessagesReadMessageContents) Cmd

func (*TLMessagesReadMessageContents) ReadBareFrom

func (o *TLMessagesReadMessageContents) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReadMessageContents) String

func (*TLMessagesReadMessageContents) WriteBareTo

func (o *TLMessagesReadMessageContents) WriteBareTo(w *tl.Writer)

type TLMessagesReceivedMessages

type TLMessagesReceivedMessages struct {
	MaxID int // max_id:int
}

TLMessagesReceivedMessages represents func messages.receivedMessages#05a954c0 max_id:int = Vector<ReceivedNotifyMessage> from Telegram

func (*TLMessagesReceivedMessages) Cmd

func (*TLMessagesReceivedMessages) ReadBareFrom

func (o *TLMessagesReceivedMessages) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReceivedMessages) String

func (o *TLMessagesReceivedMessages) String() string

func (*TLMessagesReceivedMessages) WriteBareTo

func (o *TLMessagesReceivedMessages) WriteBareTo(w *tl.Writer)

type TLMessagesReceivedQueue

type TLMessagesReceivedQueue struct {
	MaxQts int // max_qts:int
}

TLMessagesReceivedQueue represents func messages.receivedQueue#55a5bb66 max_qts:int = Vector<long> from Telegram

func (*TLMessagesReceivedQueue) Cmd

func (*TLMessagesReceivedQueue) ReadBareFrom

func (o *TLMessagesReceivedQueue) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReceivedQueue) String

func (o *TLMessagesReceivedQueue) String() string

func (*TLMessagesReceivedQueue) WriteBareTo

func (o *TLMessagesReceivedQueue) WriteBareTo(w *tl.Writer)

type TLMessagesRecentStickers

type TLMessagesRecentStickers struct {
	Hash     int              // hash:int
	Stickers []TLDocumentType // stickers:Vector<Document>
}

TLMessagesRecentStickers represents ctor messages.recentStickers#5ce20970 hash:int stickers:Vector<Document> = messages.RecentStickers from Telegram

func (*TLMessagesRecentStickers) Cmd

func (*TLMessagesRecentStickers) IsTLMessagesRecentStickers

func (o *TLMessagesRecentStickers) IsTLMessagesRecentStickers()

func (*TLMessagesRecentStickers) ReadBareFrom

func (o *TLMessagesRecentStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesRecentStickers) String

func (o *TLMessagesRecentStickers) String() string

func (*TLMessagesRecentStickers) WriteBareTo

func (o *TLMessagesRecentStickers) WriteBareTo(w *tl.Writer)

type TLMessagesRecentStickersNotModified

type TLMessagesRecentStickersNotModified struct {
}

TLMessagesRecentStickersNotModified represents ctor messages.recentStickersNotModified#0b17f890 = messages.RecentStickers from Telegram

func (*TLMessagesRecentStickersNotModified) Cmd

func (*TLMessagesRecentStickersNotModified) IsTLMessagesRecentStickers

func (o *TLMessagesRecentStickersNotModified) IsTLMessagesRecentStickers()

func (*TLMessagesRecentStickersNotModified) ReadBareFrom

func (o *TLMessagesRecentStickersNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesRecentStickersNotModified) String

func (*TLMessagesRecentStickersNotModified) WriteBareTo

func (o *TLMessagesRecentStickersNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesRecentStickersType

type TLMessagesRecentStickersType interface {
	IsTLMessagesRecentStickers()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesRecentStickersType represents messages.RecentStickers from Telegram

type TLMessagesReorderPinnedDialogs

type TLMessagesReorderPinnedDialogs struct {
	Flags uint              // flags:#
	Order []TLInputPeerType // order:Vector<InputPeer>
}

TLMessagesReorderPinnedDialogs represents func messages.reorderPinnedDialogs#959ff644 flags:# flags.0?force:true order:Vector<InputPeer> = Bool from Telegram

func (*TLMessagesReorderPinnedDialogs) Cmd

func (*TLMessagesReorderPinnedDialogs) Force

func (*TLMessagesReorderPinnedDialogs) ReadBareFrom

func (o *TLMessagesReorderPinnedDialogs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReorderPinnedDialogs) SetForce

func (o *TLMessagesReorderPinnedDialogs) SetForce(v bool)

func (*TLMessagesReorderPinnedDialogs) String

func (*TLMessagesReorderPinnedDialogs) WriteBareTo

func (o *TLMessagesReorderPinnedDialogs) WriteBareTo(w *tl.Writer)

type TLMessagesReorderStickerSets

type TLMessagesReorderStickerSets struct {
	Flags uint     // flags:#
	Order []uint64 // order:Vector<long>
}

TLMessagesReorderStickerSets represents func messages.reorderStickerSets#78337739 flags:# flags.0?masks:true order:Vector<long> = Bool from Telegram

func (*TLMessagesReorderStickerSets) Cmd

func (*TLMessagesReorderStickerSets) Masks

func (*TLMessagesReorderStickerSets) ReadBareFrom

func (o *TLMessagesReorderStickerSets) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReorderStickerSets) SetMasks

func (o *TLMessagesReorderStickerSets) SetMasks(v bool)

func (*TLMessagesReorderStickerSets) String

func (*TLMessagesReorderStickerSets) WriteBareTo

func (o *TLMessagesReorderStickerSets) WriteBareTo(w *tl.Writer)

type TLMessagesReportEncryptedSpam

type TLMessagesReportEncryptedSpam struct {
	Peer *TLInputEncryptedChat // peer:InputEncryptedChat
}

TLMessagesReportEncryptedSpam represents func messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool from Telegram

func (*TLMessagesReportEncryptedSpam) Cmd

func (*TLMessagesReportEncryptedSpam) ReadBareFrom

func (o *TLMessagesReportEncryptedSpam) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReportEncryptedSpam) String

func (*TLMessagesReportEncryptedSpam) WriteBareTo

func (o *TLMessagesReportEncryptedSpam) WriteBareTo(w *tl.Writer)

type TLMessagesReportSpam

type TLMessagesReportSpam struct {
	Peer TLInputPeerType // peer:InputPeer
}

TLMessagesReportSpam represents func messages.reportSpam#cf1592db peer:InputPeer = Bool from Telegram

func (*TLMessagesReportSpam) Cmd

func (o *TLMessagesReportSpam) Cmd() uint32

func (*TLMessagesReportSpam) ReadBareFrom

func (o *TLMessagesReportSpam) ReadBareFrom(r *tl.Reader)

func (*TLMessagesReportSpam) String

func (o *TLMessagesReportSpam) String() string

func (*TLMessagesReportSpam) WriteBareTo

func (o *TLMessagesReportSpam) WriteBareTo(w *tl.Writer)

type TLMessagesRequestEncryption

type TLMessagesRequestEncryption struct {
	UserID   TLInputUserType // user_id:InputUser
	RandomID int             // random_id:int
	GA       []byte          // g_a:bytes
}

TLMessagesRequestEncryption represents func messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat from Telegram

func (*TLMessagesRequestEncryption) Cmd

func (*TLMessagesRequestEncryption) ReadBareFrom

func (o *TLMessagesRequestEncryption) ReadBareFrom(r *tl.Reader)

func (*TLMessagesRequestEncryption) String

func (o *TLMessagesRequestEncryption) String() string

func (*TLMessagesRequestEncryption) WriteBareTo

func (o *TLMessagesRequestEncryption) WriteBareTo(w *tl.Writer)

type TLMessagesSaveDraft

type TLMessagesSaveDraft struct {
	Flags        uint                  // flags:#
	ReplyToMsgID int                   // flags.0?reply_to_msg_id:int
	Peer         TLInputPeerType       // peer:InputPeer
	Message      string                // message:string
	Entities     []TLMessageEntityType // flags.3?entities:Vector<MessageEntity>
}

TLMessagesSaveDraft represents func messages.saveDraft#bc39e14b flags:# flags.1?no_webpage:true flags.0?reply_to_msg_id:int peer:InputPeer message:string flags.3?entities:Vector<MessageEntity> = Bool from Telegram

func (*TLMessagesSaveDraft) Cmd

func (o *TLMessagesSaveDraft) Cmd() uint32

func (*TLMessagesSaveDraft) HasEntities

func (o *TLMessagesSaveDraft) HasEntities() bool

func (*TLMessagesSaveDraft) HasReplyToMsgID

func (o *TLMessagesSaveDraft) HasReplyToMsgID() bool

func (*TLMessagesSaveDraft) NoWebpage

func (o *TLMessagesSaveDraft) NoWebpage() bool

func (*TLMessagesSaveDraft) ReadBareFrom

func (o *TLMessagesSaveDraft) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSaveDraft) SetHasEntities

func (o *TLMessagesSaveDraft) SetHasEntities(v bool)

func (*TLMessagesSaveDraft) SetHasReplyToMsgID

func (o *TLMessagesSaveDraft) SetHasReplyToMsgID(v bool)

func (*TLMessagesSaveDraft) SetNoWebpage

func (o *TLMessagesSaveDraft) SetNoWebpage(v bool)

func (*TLMessagesSaveDraft) String

func (o *TLMessagesSaveDraft) String() string

func (*TLMessagesSaveDraft) WriteBareTo

func (o *TLMessagesSaveDraft) WriteBareTo(w *tl.Writer)

type TLMessagesSaveGif

type TLMessagesSaveGif struct {
	ID     TLInputDocumentType // id:InputDocument
	Unsave bool                // unsave:Bool
}

TLMessagesSaveGif represents func messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool from Telegram

func (*TLMessagesSaveGif) Cmd

func (o *TLMessagesSaveGif) Cmd() uint32

func (*TLMessagesSaveGif) ReadBareFrom

func (o *TLMessagesSaveGif) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSaveGif) String

func (o *TLMessagesSaveGif) String() string

func (*TLMessagesSaveGif) WriteBareTo

func (o *TLMessagesSaveGif) WriteBareTo(w *tl.Writer)

type TLMessagesSaveRecentSticker

type TLMessagesSaveRecentSticker struct {
	Flags  uint                // flags:#
	ID     TLInputDocumentType // id:InputDocument
	Unsave bool                // unsave:Bool
}

TLMessagesSaveRecentSticker represents func messages.saveRecentSticker#392718f8 flags:# flags.0?attached:true id:InputDocument unsave:Bool = Bool from Telegram

func (*TLMessagesSaveRecentSticker) Attached

func (o *TLMessagesSaveRecentSticker) Attached() bool

func (*TLMessagesSaveRecentSticker) Cmd

func (*TLMessagesSaveRecentSticker) ReadBareFrom

func (o *TLMessagesSaveRecentSticker) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSaveRecentSticker) SetAttached

func (o *TLMessagesSaveRecentSticker) SetAttached(v bool)

func (*TLMessagesSaveRecentSticker) String

func (o *TLMessagesSaveRecentSticker) String() string

func (*TLMessagesSaveRecentSticker) WriteBareTo

func (o *TLMessagesSaveRecentSticker) WriteBareTo(w *tl.Writer)

type TLMessagesSavedGifs

type TLMessagesSavedGifs struct {
	Hash int              // hash:int
	Gifs []TLDocumentType // gifs:Vector<Document>
}

TLMessagesSavedGifs represents ctor messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs from Telegram

func (*TLMessagesSavedGifs) Cmd

func (o *TLMessagesSavedGifs) Cmd() uint32

func (*TLMessagesSavedGifs) IsTLMessagesSavedGifs

func (o *TLMessagesSavedGifs) IsTLMessagesSavedGifs()

func (*TLMessagesSavedGifs) ReadBareFrom

func (o *TLMessagesSavedGifs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSavedGifs) String

func (o *TLMessagesSavedGifs) String() string

func (*TLMessagesSavedGifs) WriteBareTo

func (o *TLMessagesSavedGifs) WriteBareTo(w *tl.Writer)

type TLMessagesSavedGifsNotModified

type TLMessagesSavedGifsNotModified struct {
}

TLMessagesSavedGifsNotModified represents ctor messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs from Telegram

func (*TLMessagesSavedGifsNotModified) Cmd

func (*TLMessagesSavedGifsNotModified) IsTLMessagesSavedGifs

func (o *TLMessagesSavedGifsNotModified) IsTLMessagesSavedGifs()

func (*TLMessagesSavedGifsNotModified) ReadBareFrom

func (o *TLMessagesSavedGifsNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSavedGifsNotModified) String

func (*TLMessagesSavedGifsNotModified) WriteBareTo

func (o *TLMessagesSavedGifsNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesSavedGifsType

type TLMessagesSavedGifsType interface {
	IsTLMessagesSavedGifs()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesSavedGifsType represents messages.SavedGifs from Telegram

type TLMessagesSearch

type TLMessagesSearch struct {
	Flags   uint                 // flags:#
	Peer    TLInputPeerType      // peer:InputPeer
	Q       string               // q:string
	Filter  TLMessagesFilterType // filter:MessagesFilter
	MinDate int                  // min_date:int
	MaxDate int                  // max_date:int
	Offset  int                  // offset:int
	MaxID   int                  // max_id:int
	Limit   int                  // limit:int
}

TLMessagesSearch represents func messages.search#d4569248 flags:# peer:InputPeer q:string filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages from Telegram

func (*TLMessagesSearch) Cmd

func (o *TLMessagesSearch) Cmd() uint32

func (*TLMessagesSearch) ReadBareFrom

func (o *TLMessagesSearch) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSearch) String

func (o *TLMessagesSearch) String() string

func (*TLMessagesSearch) WriteBareTo

func (o *TLMessagesSearch) WriteBareTo(w *tl.Writer)

type TLMessagesSearchGifs

type TLMessagesSearchGifs struct {
	Q      string // q:string
	Offset int    // offset:int
}

TLMessagesSearchGifs represents func messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs from Telegram

func (*TLMessagesSearchGifs) Cmd

func (o *TLMessagesSearchGifs) Cmd() uint32

func (*TLMessagesSearchGifs) ReadBareFrom

func (o *TLMessagesSearchGifs) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSearchGifs) String

func (o *TLMessagesSearchGifs) String() string

func (*TLMessagesSearchGifs) WriteBareTo

func (o *TLMessagesSearchGifs) WriteBareTo(w *tl.Writer)

type TLMessagesSearchGlobal

type TLMessagesSearchGlobal struct {
	Q          string          // q:string
	OffsetDate int             // offset_date:int
	OffsetPeer TLInputPeerType // offset_peer:InputPeer
	OffsetID   int             // offset_id:int
	Limit      int             // limit:int
}

TLMessagesSearchGlobal represents func messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages from Telegram

func (*TLMessagesSearchGlobal) Cmd

func (o *TLMessagesSearchGlobal) Cmd() uint32

func (*TLMessagesSearchGlobal) ReadBareFrom

func (o *TLMessagesSearchGlobal) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSearchGlobal) String

func (o *TLMessagesSearchGlobal) String() string

func (*TLMessagesSearchGlobal) WriteBareTo

func (o *TLMessagesSearchGlobal) WriteBareTo(w *tl.Writer)

type TLMessagesSendEncrypted

type TLMessagesSendEncrypted struct {
	Peer     *TLInputEncryptedChat // peer:InputEncryptedChat
	RandomID uint64                // random_id:long
	Data     []byte                // data:bytes
}

TLMessagesSendEncrypted represents func messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage from Telegram

func (*TLMessagesSendEncrypted) Cmd

func (*TLMessagesSendEncrypted) ReadBareFrom

func (o *TLMessagesSendEncrypted) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendEncrypted) String

func (o *TLMessagesSendEncrypted) String() string

func (*TLMessagesSendEncrypted) WriteBareTo

func (o *TLMessagesSendEncrypted) WriteBareTo(w *tl.Writer)

type TLMessagesSendEncryptedFile

type TLMessagesSendEncryptedFile struct {
	Peer     *TLInputEncryptedChat    // peer:InputEncryptedChat
	RandomID uint64                   // random_id:long
	Data     []byte                   // data:bytes
	File     TLInputEncryptedFileType // file:InputEncryptedFile
}

TLMessagesSendEncryptedFile represents func messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage from Telegram

func (*TLMessagesSendEncryptedFile) Cmd

func (*TLMessagesSendEncryptedFile) ReadBareFrom

func (o *TLMessagesSendEncryptedFile) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendEncryptedFile) String

func (o *TLMessagesSendEncryptedFile) String() string

func (*TLMessagesSendEncryptedFile) WriteBareTo

func (o *TLMessagesSendEncryptedFile) WriteBareTo(w *tl.Writer)

type TLMessagesSendEncryptedService

type TLMessagesSendEncryptedService struct {
	Peer     *TLInputEncryptedChat // peer:InputEncryptedChat
	RandomID uint64                // random_id:long
	Data     []byte                // data:bytes
}

TLMessagesSendEncryptedService represents func messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage from Telegram

func (*TLMessagesSendEncryptedService) Cmd

func (*TLMessagesSendEncryptedService) ReadBareFrom

func (o *TLMessagesSendEncryptedService) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendEncryptedService) String

func (*TLMessagesSendEncryptedService) WriteBareTo

func (o *TLMessagesSendEncryptedService) WriteBareTo(w *tl.Writer)

type TLMessagesSendInlineBotResult

type TLMessagesSendInlineBotResult struct {
	Flags        uint            // flags:#
	Peer         TLInputPeerType // peer:InputPeer
	ReplyToMsgID int             // flags.0?reply_to_msg_id:int
	RandomID     uint64          // random_id:long
	QueryID      uint64          // query_id:long
	ID           string          // id:string
}

TLMessagesSendInlineBotResult represents func messages.sendInlineBotResult#b16e06fe flags:# flags.5?silent:true flags.6?background:true flags.7?clear_draft:true peer:InputPeer flags.0?reply_to_msg_id:int random_id:long query_id:long id:string = Updates from Telegram

func (*TLMessagesSendInlineBotResult) Background

func (o *TLMessagesSendInlineBotResult) Background() bool

func (*TLMessagesSendInlineBotResult) ClearDraft

func (o *TLMessagesSendInlineBotResult) ClearDraft() bool

func (*TLMessagesSendInlineBotResult) Cmd

func (*TLMessagesSendInlineBotResult) HasReplyToMsgID

func (o *TLMessagesSendInlineBotResult) HasReplyToMsgID() bool

func (*TLMessagesSendInlineBotResult) ReadBareFrom

func (o *TLMessagesSendInlineBotResult) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendInlineBotResult) SetBackground

func (o *TLMessagesSendInlineBotResult) SetBackground(v bool)

func (*TLMessagesSendInlineBotResult) SetClearDraft

func (o *TLMessagesSendInlineBotResult) SetClearDraft(v bool)

func (*TLMessagesSendInlineBotResult) SetHasReplyToMsgID

func (o *TLMessagesSendInlineBotResult) SetHasReplyToMsgID(v bool)

func (*TLMessagesSendInlineBotResult) SetSilent

func (o *TLMessagesSendInlineBotResult) SetSilent(v bool)

func (*TLMessagesSendInlineBotResult) Silent

func (o *TLMessagesSendInlineBotResult) Silent() bool

func (*TLMessagesSendInlineBotResult) String

func (*TLMessagesSendInlineBotResult) WriteBareTo

func (o *TLMessagesSendInlineBotResult) WriteBareTo(w *tl.Writer)

type TLMessagesSendMedia

type TLMessagesSendMedia struct {
	Flags        uint              // flags:#
	Peer         TLInputPeerType   // peer:InputPeer
	ReplyToMsgID int               // flags.0?reply_to_msg_id:int
	Media        TLInputMediaType  // media:InputMedia
	RandomID     uint64            // random_id:long
	ReplyMarkup  TLReplyMarkupType // flags.2?reply_markup:ReplyMarkup
}

TLMessagesSendMedia represents func messages.sendMedia#c8f16791 flags:# flags.5?silent:true flags.6?background:true flags.7?clear_draft:true peer:InputPeer flags.0?reply_to_msg_id:int media:InputMedia random_id:long flags.2?reply_markup:ReplyMarkup = Updates from Telegram

func (*TLMessagesSendMedia) Background

func (o *TLMessagesSendMedia) Background() bool

func (*TLMessagesSendMedia) ClearDraft

func (o *TLMessagesSendMedia) ClearDraft() bool

func (*TLMessagesSendMedia) Cmd

func (o *TLMessagesSendMedia) Cmd() uint32

func (*TLMessagesSendMedia) HasReplyMarkup

func (o *TLMessagesSendMedia) HasReplyMarkup() bool

func (*TLMessagesSendMedia) HasReplyToMsgID

func (o *TLMessagesSendMedia) HasReplyToMsgID() bool

func (*TLMessagesSendMedia) ReadBareFrom

func (o *TLMessagesSendMedia) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendMedia) SetBackground

func (o *TLMessagesSendMedia) SetBackground(v bool)

func (*TLMessagesSendMedia) SetClearDraft

func (o *TLMessagesSendMedia) SetClearDraft(v bool)

func (*TLMessagesSendMedia) SetHasReplyMarkup

func (o *TLMessagesSendMedia) SetHasReplyMarkup(v bool)

func (*TLMessagesSendMedia) SetHasReplyToMsgID

func (o *TLMessagesSendMedia) SetHasReplyToMsgID(v bool)

func (*TLMessagesSendMedia) SetSilent

func (o *TLMessagesSendMedia) SetSilent(v bool)

func (*TLMessagesSendMedia) Silent

func (o *TLMessagesSendMedia) Silent() bool

func (*TLMessagesSendMedia) String

func (o *TLMessagesSendMedia) String() string

func (*TLMessagesSendMedia) WriteBareTo

func (o *TLMessagesSendMedia) WriteBareTo(w *tl.Writer)

type TLMessagesSendMessage

type TLMessagesSendMessage struct {
	Flags        uint                  // flags:#
	Peer         TLInputPeerType       // peer:InputPeer
	ReplyToMsgID int                   // flags.0?reply_to_msg_id:int
	Message      string                // message:string
	RandomID     uint64                // random_id:long
	ReplyMarkup  TLReplyMarkupType     // flags.2?reply_markup:ReplyMarkup
	Entities     []TLMessageEntityType // flags.3?entities:Vector<MessageEntity>
}

TLMessagesSendMessage represents func messages.sendMessage#fa88427a flags:# flags.1?no_webpage:true flags.5?silent:true flags.6?background:true flags.7?clear_draft:true peer:InputPeer flags.0?reply_to_msg_id:int message:string random_id:long flags.2?reply_markup:ReplyMarkup flags.3?entities:Vector<MessageEntity> = Updates from Telegram

func (*TLMessagesSendMessage) Background

func (o *TLMessagesSendMessage) Background() bool

func (*TLMessagesSendMessage) ClearDraft

func (o *TLMessagesSendMessage) ClearDraft() bool

func (*TLMessagesSendMessage) Cmd

func (o *TLMessagesSendMessage) Cmd() uint32

func (*TLMessagesSendMessage) HasEntities

func (o *TLMessagesSendMessage) HasEntities() bool

func (*TLMessagesSendMessage) HasReplyMarkup

func (o *TLMessagesSendMessage) HasReplyMarkup() bool

func (*TLMessagesSendMessage) HasReplyToMsgID

func (o *TLMessagesSendMessage) HasReplyToMsgID() bool

func (*TLMessagesSendMessage) NoWebpage

func (o *TLMessagesSendMessage) NoWebpage() bool

func (*TLMessagesSendMessage) ReadBareFrom

func (o *TLMessagesSendMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSendMessage) SetBackground

func (o *TLMessagesSendMessage) SetBackground(v bool)

func (*TLMessagesSendMessage) SetClearDraft

func (o *TLMessagesSendMessage) SetClearDraft(v bool)

func (*TLMessagesSendMessage) SetHasEntities

func (o *TLMessagesSendMessage) SetHasEntities(v bool)

func (*TLMessagesSendMessage) SetHasReplyMarkup

func (o *TLMessagesSendMessage) SetHasReplyMarkup(v bool)

func (*TLMessagesSendMessage) SetHasReplyToMsgID

func (o *TLMessagesSendMessage) SetHasReplyToMsgID(v bool)

func (*TLMessagesSendMessage) SetNoWebpage

func (o *TLMessagesSendMessage) SetNoWebpage(v bool)

func (*TLMessagesSendMessage) SetSilent

func (o *TLMessagesSendMessage) SetSilent(v bool)

func (*TLMessagesSendMessage) Silent

func (o *TLMessagesSendMessage) Silent() bool

func (*TLMessagesSendMessage) String

func (o *TLMessagesSendMessage) String() string

func (*TLMessagesSendMessage) WriteBareTo

func (o *TLMessagesSendMessage) WriteBareTo(w *tl.Writer)

type TLMessagesSentEncryptedFile

type TLMessagesSentEncryptedFile struct {
	Date int                 // date:int
	File TLEncryptedFileType // file:EncryptedFile
}

TLMessagesSentEncryptedFile represents ctor messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage from Telegram

func (*TLMessagesSentEncryptedFile) Cmd

func (*TLMessagesSentEncryptedFile) IsTLMessagesSentEncryptedMessage

func (o *TLMessagesSentEncryptedFile) IsTLMessagesSentEncryptedMessage()

func (*TLMessagesSentEncryptedFile) ReadBareFrom

func (o *TLMessagesSentEncryptedFile) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSentEncryptedFile) String

func (o *TLMessagesSentEncryptedFile) String() string

func (*TLMessagesSentEncryptedFile) WriteBareTo

func (o *TLMessagesSentEncryptedFile) WriteBareTo(w *tl.Writer)

type TLMessagesSentEncryptedMessage

type TLMessagesSentEncryptedMessage struct {
	Date int // date:int
}

TLMessagesSentEncryptedMessage represents ctor messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage from Telegram

func (*TLMessagesSentEncryptedMessage) Cmd

func (*TLMessagesSentEncryptedMessage) IsTLMessagesSentEncryptedMessage

func (o *TLMessagesSentEncryptedMessage) IsTLMessagesSentEncryptedMessage()

func (*TLMessagesSentEncryptedMessage) ReadBareFrom

func (o *TLMessagesSentEncryptedMessage) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSentEncryptedMessage) String

func (*TLMessagesSentEncryptedMessage) WriteBareTo

func (o *TLMessagesSentEncryptedMessage) WriteBareTo(w *tl.Writer)

type TLMessagesSentEncryptedMessageType

type TLMessagesSentEncryptedMessageType interface {
	IsTLMessagesSentEncryptedMessage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesSentEncryptedMessageType represents messages.SentEncryptedMessage from Telegram

type TLMessagesSetBotCallbackAnswer

type TLMessagesSetBotCallbackAnswer struct {
	Flags     uint   // flags:#
	QueryID   uint64 // query_id:long
	Message   string // flags.0?message:string
	URL       string // flags.2?url:string
	CacheTime int    // cache_time:int
}

TLMessagesSetBotCallbackAnswer represents func messages.setBotCallbackAnswer#d58f130a flags:# flags.1?alert:true query_id:long flags.0?message:string flags.2?url:string cache_time:int = Bool from Telegram

func (*TLMessagesSetBotCallbackAnswer) Alert

func (*TLMessagesSetBotCallbackAnswer) Cmd

func (*TLMessagesSetBotCallbackAnswer) HasMessage

func (o *TLMessagesSetBotCallbackAnswer) HasMessage() bool

func (*TLMessagesSetBotCallbackAnswer) HasURL

func (*TLMessagesSetBotCallbackAnswer) ReadBareFrom

func (o *TLMessagesSetBotCallbackAnswer) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetBotCallbackAnswer) SetAlert

func (o *TLMessagesSetBotCallbackAnswer) SetAlert(v bool)

func (*TLMessagesSetBotCallbackAnswer) SetHasMessage

func (o *TLMessagesSetBotCallbackAnswer) SetHasMessage(v bool)

func (*TLMessagesSetBotCallbackAnswer) SetHasURL

func (o *TLMessagesSetBotCallbackAnswer) SetHasURL(v bool)

func (*TLMessagesSetBotCallbackAnswer) String

func (*TLMessagesSetBotCallbackAnswer) WriteBareTo

func (o *TLMessagesSetBotCallbackAnswer) WriteBareTo(w *tl.Writer)

type TLMessagesSetBotPrecheckoutResults

type TLMessagesSetBotPrecheckoutResults struct {
	Flags   uint   // flags:#
	QueryID uint64 // query_id:long
	Error   string // flags.0?error:string
}

TLMessagesSetBotPrecheckoutResults represents func messages.setBotPrecheckoutResults#09c2dd95 flags:# flags.1?success:true query_id:long flags.0?error:string = Bool from Telegram

func (*TLMessagesSetBotPrecheckoutResults) Cmd

func (*TLMessagesSetBotPrecheckoutResults) HasError

func (*TLMessagesSetBotPrecheckoutResults) ReadBareFrom

func (o *TLMessagesSetBotPrecheckoutResults) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetBotPrecheckoutResults) SetHasError

func (o *TLMessagesSetBotPrecheckoutResults) SetHasError(v bool)

func (*TLMessagesSetBotPrecheckoutResults) SetSuccess

func (o *TLMessagesSetBotPrecheckoutResults) SetSuccess(v bool)

func (*TLMessagesSetBotPrecheckoutResults) String

func (*TLMessagesSetBotPrecheckoutResults) Success

func (*TLMessagesSetBotPrecheckoutResults) WriteBareTo

func (o *TLMessagesSetBotPrecheckoutResults) WriteBareTo(w *tl.Writer)

type TLMessagesSetBotShippingResults

type TLMessagesSetBotShippingResults struct {
	Flags           uint                // flags:#
	QueryID         uint64              // query_id:long
	Error           string              // flags.0?error:string
	ShippingOptions []*TLShippingOption // flags.1?shipping_options:Vector<ShippingOption>
}

TLMessagesSetBotShippingResults represents func messages.setBotShippingResults#e5f672fa flags:# query_id:long flags.0?error:string flags.1?shipping_options:Vector<ShippingOption> = Bool from Telegram

func (*TLMessagesSetBotShippingResults) Cmd

func (*TLMessagesSetBotShippingResults) HasError

func (o *TLMessagesSetBotShippingResults) HasError() bool

func (*TLMessagesSetBotShippingResults) HasShippingOptions

func (o *TLMessagesSetBotShippingResults) HasShippingOptions() bool

func (*TLMessagesSetBotShippingResults) ReadBareFrom

func (o *TLMessagesSetBotShippingResults) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetBotShippingResults) SetHasError

func (o *TLMessagesSetBotShippingResults) SetHasError(v bool)

func (*TLMessagesSetBotShippingResults) SetHasShippingOptions

func (o *TLMessagesSetBotShippingResults) SetHasShippingOptions(v bool)

func (*TLMessagesSetBotShippingResults) String

func (*TLMessagesSetBotShippingResults) WriteBareTo

func (o *TLMessagesSetBotShippingResults) WriteBareTo(w *tl.Writer)

type TLMessagesSetEncryptedTyping

type TLMessagesSetEncryptedTyping struct {
	Peer   *TLInputEncryptedChat // peer:InputEncryptedChat
	Typing bool                  // typing:Bool
}

TLMessagesSetEncryptedTyping represents func messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool from Telegram

func (*TLMessagesSetEncryptedTyping) Cmd

func (*TLMessagesSetEncryptedTyping) ReadBareFrom

func (o *TLMessagesSetEncryptedTyping) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetEncryptedTyping) String

func (*TLMessagesSetEncryptedTyping) WriteBareTo

func (o *TLMessagesSetEncryptedTyping) WriteBareTo(w *tl.Writer)

type TLMessagesSetGameScore

type TLMessagesSetGameScore struct {
	Flags  uint            // flags:#
	Peer   TLInputPeerType // peer:InputPeer
	ID     int             // id:int
	UserID TLInputUserType // user_id:InputUser
	Score  int             // score:int
}

TLMessagesSetGameScore represents func messages.setGameScore#8ef8ecc0 flags:# flags.0?edit_message:true flags.1?force:true peer:InputPeer id:int user_id:InputUser score:int = Updates from Telegram

func (*TLMessagesSetGameScore) Cmd

func (o *TLMessagesSetGameScore) Cmd() uint32

func (*TLMessagesSetGameScore) EditMessage

func (o *TLMessagesSetGameScore) EditMessage() bool

func (*TLMessagesSetGameScore) Force

func (o *TLMessagesSetGameScore) Force() bool

func (*TLMessagesSetGameScore) ReadBareFrom

func (o *TLMessagesSetGameScore) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetGameScore) SetEditMessage

func (o *TLMessagesSetGameScore) SetEditMessage(v bool)

func (*TLMessagesSetGameScore) SetForce

func (o *TLMessagesSetGameScore) SetForce(v bool)

func (*TLMessagesSetGameScore) String

func (o *TLMessagesSetGameScore) String() string

func (*TLMessagesSetGameScore) WriteBareTo

func (o *TLMessagesSetGameScore) WriteBareTo(w *tl.Writer)

type TLMessagesSetInlineBotResults

type TLMessagesSetInlineBotResults struct {
	Flags      uint                         // flags:#
	QueryID    uint64                       // query_id:long
	Results    []TLInputBotInlineResultType // results:Vector<InputBotInlineResult>
	CacheTime  int                          // cache_time:int
	NextOffset string                       // flags.2?next_offset:string
	SwitchPm   *TLInlineBotSwitchPM         // flags.3?switch_pm:InlineBotSwitchPM
}

TLMessagesSetInlineBotResults represents func messages.setInlineBotResults#eb5ea206 flags:# flags.0?gallery:true flags.1?private:true query_id:long results:Vector<InputBotInlineResult> cache_time:int flags.2?next_offset:string flags.3?switch_pm:InlineBotSwitchPM = Bool from Telegram

func (*TLMessagesSetInlineBotResults) Cmd

func (*TLMessagesSetInlineBotResults) Gallery

func (o *TLMessagesSetInlineBotResults) Gallery() bool

func (*TLMessagesSetInlineBotResults) HasNextOffset

func (o *TLMessagesSetInlineBotResults) HasNextOffset() bool

func (*TLMessagesSetInlineBotResults) HasSwitchPm

func (o *TLMessagesSetInlineBotResults) HasSwitchPm() bool

func (*TLMessagesSetInlineBotResults) Private

func (o *TLMessagesSetInlineBotResults) Private() bool

func (*TLMessagesSetInlineBotResults) ReadBareFrom

func (o *TLMessagesSetInlineBotResults) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetInlineBotResults) SetGallery

func (o *TLMessagesSetInlineBotResults) SetGallery(v bool)

func (*TLMessagesSetInlineBotResults) SetHasNextOffset

func (o *TLMessagesSetInlineBotResults) SetHasNextOffset(v bool)

func (*TLMessagesSetInlineBotResults) SetHasSwitchPm

func (o *TLMessagesSetInlineBotResults) SetHasSwitchPm(v bool)

func (*TLMessagesSetInlineBotResults) SetPrivate

func (o *TLMessagesSetInlineBotResults) SetPrivate(v bool)

func (*TLMessagesSetInlineBotResults) String

func (*TLMessagesSetInlineBotResults) WriteBareTo

func (o *TLMessagesSetInlineBotResults) WriteBareTo(w *tl.Writer)

type TLMessagesSetInlineGameScore

type TLMessagesSetInlineGameScore struct {
	Flags  uint                       // flags:#
	ID     *TLInputBotInlineMessageID // id:InputBotInlineMessageID
	UserID TLInputUserType            // user_id:InputUser
	Score  int                        // score:int
}

TLMessagesSetInlineGameScore represents func messages.setInlineGameScore#15ad9f64 flags:# flags.0?edit_message:true flags.1?force:true id:InputBotInlineMessageID user_id:InputUser score:int = Bool from Telegram

func (*TLMessagesSetInlineGameScore) Cmd

func (*TLMessagesSetInlineGameScore) EditMessage

func (o *TLMessagesSetInlineGameScore) EditMessage() bool

func (*TLMessagesSetInlineGameScore) Force

func (*TLMessagesSetInlineGameScore) ReadBareFrom

func (o *TLMessagesSetInlineGameScore) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetInlineGameScore) SetEditMessage

func (o *TLMessagesSetInlineGameScore) SetEditMessage(v bool)

func (*TLMessagesSetInlineGameScore) SetForce

func (o *TLMessagesSetInlineGameScore) SetForce(v bool)

func (*TLMessagesSetInlineGameScore) String

func (*TLMessagesSetInlineGameScore) WriteBareTo

func (o *TLMessagesSetInlineGameScore) WriteBareTo(w *tl.Writer)

type TLMessagesSetTyping

type TLMessagesSetTyping struct {
	Peer   TLInputPeerType         // peer:InputPeer
	Action TLSendMessageActionType // action:SendMessageAction
}

TLMessagesSetTyping represents func messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool from Telegram

func (*TLMessagesSetTyping) Cmd

func (o *TLMessagesSetTyping) Cmd() uint32

func (*TLMessagesSetTyping) ReadBareFrom

func (o *TLMessagesSetTyping) ReadBareFrom(r *tl.Reader)

func (*TLMessagesSetTyping) String

func (o *TLMessagesSetTyping) String() string

func (*TLMessagesSetTyping) WriteBareTo

func (o *TLMessagesSetTyping) WriteBareTo(w *tl.Writer)

type TLMessagesStartBot

type TLMessagesStartBot struct {
	Bot        TLInputUserType // bot:InputUser
	Peer       TLInputPeerType // peer:InputPeer
	RandomID   uint64          // random_id:long
	StartParam string          // start_param:string
}

TLMessagesStartBot represents func messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates from Telegram

func (*TLMessagesStartBot) Cmd

func (o *TLMessagesStartBot) Cmd() uint32

func (*TLMessagesStartBot) ReadBareFrom

func (o *TLMessagesStartBot) ReadBareFrom(r *tl.Reader)

func (*TLMessagesStartBot) String

func (o *TLMessagesStartBot) String() string

func (*TLMessagesStartBot) WriteBareTo

func (o *TLMessagesStartBot) WriteBareTo(w *tl.Writer)

type TLMessagesStickerSet

type TLMessagesStickerSet struct {
	Set       *TLStickerSet    // set:StickerSet
	Packs     []*TLStickerPack // packs:Vector<StickerPack>
	Documents []TLDocumentType // documents:Vector<Document>
}

TLMessagesStickerSet represents ctor messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet from Telegram

func (*TLMessagesStickerSet) Cmd

func (o *TLMessagesStickerSet) Cmd() uint32

func (*TLMessagesStickerSet) ReadBareFrom

func (o *TLMessagesStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLMessagesStickerSet) String

func (o *TLMessagesStickerSet) String() string

func (*TLMessagesStickerSet) WriteBareTo

func (o *TLMessagesStickerSet) WriteBareTo(w *tl.Writer)

type TLMessagesStickerSetInstallResultArchive

type TLMessagesStickerSetInstallResultArchive struct {
	Sets []TLStickerSetCoveredType // sets:Vector<StickerSetCovered>
}

TLMessagesStickerSetInstallResultArchive represents ctor messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult from Telegram

func (*TLMessagesStickerSetInstallResultArchive) Cmd

func (*TLMessagesStickerSetInstallResultArchive) IsTLMessagesStickerSetInstallResult

func (o *TLMessagesStickerSetInstallResultArchive) IsTLMessagesStickerSetInstallResult()

func (*TLMessagesStickerSetInstallResultArchive) ReadBareFrom

func (*TLMessagesStickerSetInstallResultArchive) String

func (*TLMessagesStickerSetInstallResultArchive) WriteBareTo

type TLMessagesStickerSetInstallResultSuccess

type TLMessagesStickerSetInstallResultSuccess struct {
}

TLMessagesStickerSetInstallResultSuccess represents ctor messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult from Telegram

func (*TLMessagesStickerSetInstallResultSuccess) Cmd

func (*TLMessagesStickerSetInstallResultSuccess) IsTLMessagesStickerSetInstallResult

func (o *TLMessagesStickerSetInstallResultSuccess) IsTLMessagesStickerSetInstallResult()

func (*TLMessagesStickerSetInstallResultSuccess) ReadBareFrom

func (*TLMessagesStickerSetInstallResultSuccess) String

func (*TLMessagesStickerSetInstallResultSuccess) WriteBareTo

type TLMessagesStickerSetInstallResultType

type TLMessagesStickerSetInstallResultType interface {
	IsTLMessagesStickerSetInstallResult()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesStickerSetInstallResultType represents messages.StickerSetInstallResult from Telegram

type TLMessagesStickers

type TLMessagesStickers struct {
	Hash     string           // hash:string
	Stickers []TLDocumentType // stickers:Vector<Document>
}

TLMessagesStickers represents ctor messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers from Telegram

func (*TLMessagesStickers) Cmd

func (o *TLMessagesStickers) Cmd() uint32

func (*TLMessagesStickers) IsTLMessagesStickers

func (o *TLMessagesStickers) IsTLMessagesStickers()

func (*TLMessagesStickers) ReadBareFrom

func (o *TLMessagesStickers) ReadBareFrom(r *tl.Reader)

func (*TLMessagesStickers) String

func (o *TLMessagesStickers) String() string

func (*TLMessagesStickers) WriteBareTo

func (o *TLMessagesStickers) WriteBareTo(w *tl.Writer)

type TLMessagesStickersNotModified

type TLMessagesStickersNotModified struct {
}

TLMessagesStickersNotModified represents ctor messages.stickersNotModified#f1749a22 = messages.Stickers from Telegram

func (*TLMessagesStickersNotModified) Cmd

func (*TLMessagesStickersNotModified) IsTLMessagesStickers

func (o *TLMessagesStickersNotModified) IsTLMessagesStickers()

func (*TLMessagesStickersNotModified) ReadBareFrom

func (o *TLMessagesStickersNotModified) ReadBareFrom(r *tl.Reader)

func (*TLMessagesStickersNotModified) String

func (*TLMessagesStickersNotModified) WriteBareTo

func (o *TLMessagesStickersNotModified) WriteBareTo(w *tl.Writer)

type TLMessagesStickersType

type TLMessagesStickersType interface {
	IsTLMessagesStickers()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMessagesStickersType represents messages.Stickers from Telegram

type TLMessagesToggleChatAdmins

type TLMessagesToggleChatAdmins struct {
	ChatID  int  // chat_id:int
	Enabled bool // enabled:Bool
}

TLMessagesToggleChatAdmins represents func messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates from Telegram

func (*TLMessagesToggleChatAdmins) Cmd

func (*TLMessagesToggleChatAdmins) ReadBareFrom

func (o *TLMessagesToggleChatAdmins) ReadBareFrom(r *tl.Reader)

func (*TLMessagesToggleChatAdmins) String

func (o *TLMessagesToggleChatAdmins) String() string

func (*TLMessagesToggleChatAdmins) WriteBareTo

func (o *TLMessagesToggleChatAdmins) WriteBareTo(w *tl.Writer)

type TLMessagesToggleDialogPin

type TLMessagesToggleDialogPin struct {
	Flags uint            // flags:#
	Peer  TLInputPeerType // peer:InputPeer
}

TLMessagesToggleDialogPin represents func messages.toggleDialogPin#3289be6a flags:# flags.0?pinned:true peer:InputPeer = Bool from Telegram

func (*TLMessagesToggleDialogPin) Cmd

func (*TLMessagesToggleDialogPin) Pinned

func (o *TLMessagesToggleDialogPin) Pinned() bool

func (*TLMessagesToggleDialogPin) ReadBareFrom

func (o *TLMessagesToggleDialogPin) ReadBareFrom(r *tl.Reader)

func (*TLMessagesToggleDialogPin) SetPinned

func (o *TLMessagesToggleDialogPin) SetPinned(v bool)

func (*TLMessagesToggleDialogPin) String

func (o *TLMessagesToggleDialogPin) String() string

func (*TLMessagesToggleDialogPin) WriteBareTo

func (o *TLMessagesToggleDialogPin) WriteBareTo(w *tl.Writer)

type TLMessagesUninstallStickerSet

type TLMessagesUninstallStickerSet struct {
	Stickerset TLInputStickerSetType // stickerset:InputStickerSet
}

TLMessagesUninstallStickerSet represents func messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool from Telegram

func (*TLMessagesUninstallStickerSet) Cmd

func (*TLMessagesUninstallStickerSet) ReadBareFrom

func (o *TLMessagesUninstallStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLMessagesUninstallStickerSet) String

func (*TLMessagesUninstallStickerSet) WriteBareTo

func (o *TLMessagesUninstallStickerSet) WriteBareTo(w *tl.Writer)

type TLMsgContainer

type TLMsgContainer struct {
	Messages []*TLProtoMessage // messages:vector<%ProtoMessage>
}

TLMsgContainer represents ctor msg_container#73f1f8dc messages:vector<%ProtoMessage> = MessageContainer from MTProto

func (*TLMsgContainer) Cmd

func (o *TLMsgContainer) Cmd() uint32

func (*TLMsgContainer) ReadBareFrom

func (o *TLMsgContainer) ReadBareFrom(r *tl.Reader)

func (*TLMsgContainer) String

func (o *TLMsgContainer) String() string

func (*TLMsgContainer) WriteBareTo

func (o *TLMsgContainer) WriteBareTo(w *tl.Writer)

type TLMsgCopy

type TLMsgCopy struct {
	OrigMessage TLMessageType // orig_message:Message
}

TLMsgCopy represents ctor msg_copy#e06046b2 orig_message:Message = MessageCopy from MTProto

func (*TLMsgCopy) Cmd

func (o *TLMsgCopy) Cmd() uint32

func (*TLMsgCopy) ReadBareFrom

func (o *TLMsgCopy) ReadBareFrom(r *tl.Reader)

func (*TLMsgCopy) String

func (o *TLMsgCopy) String() string

func (*TLMsgCopy) WriteBareTo

func (o *TLMsgCopy) WriteBareTo(w *tl.Writer)

type TLMsgDetailedInfo

type TLMsgDetailedInfo struct {
	MsgID       uint64 // msg_id:long
	AnswerMsgID uint64 // answer_msg_id:long
	Bytes       int    // bytes:int
	Status      int    // status:int
}

TLMsgDetailedInfo represents ctor msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo from MTProto

func (*TLMsgDetailedInfo) Cmd

func (o *TLMsgDetailedInfo) Cmd() uint32

func (*TLMsgDetailedInfo) IsTLMsgDetailedInfo

func (o *TLMsgDetailedInfo) IsTLMsgDetailedInfo()

func (*TLMsgDetailedInfo) ReadBareFrom

func (o *TLMsgDetailedInfo) ReadBareFrom(r *tl.Reader)

func (*TLMsgDetailedInfo) String

func (o *TLMsgDetailedInfo) String() string

func (*TLMsgDetailedInfo) WriteBareTo

func (o *TLMsgDetailedInfo) WriteBareTo(w *tl.Writer)

type TLMsgDetailedInfoType

type TLMsgDetailedInfoType interface {
	IsTLMsgDetailedInfo()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLMsgDetailedInfoType represents MsgDetailedInfo from MTProto

type TLMsgNewDetailedInfo

type TLMsgNewDetailedInfo struct {
	AnswerMsgID uint64 // answer_msg_id:long
	Bytes       int    // bytes:int
	Status      int    // status:int
}

TLMsgNewDetailedInfo represents ctor msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo from MTProto

func (*TLMsgNewDetailedInfo) Cmd

func (o *TLMsgNewDetailedInfo) Cmd() uint32

func (*TLMsgNewDetailedInfo) IsTLMsgDetailedInfo

func (o *TLMsgNewDetailedInfo) IsTLMsgDetailedInfo()

func (*TLMsgNewDetailedInfo) ReadBareFrom

func (o *TLMsgNewDetailedInfo) ReadBareFrom(r *tl.Reader)

func (*TLMsgNewDetailedInfo) String

func (o *TLMsgNewDetailedInfo) String() string

func (*TLMsgNewDetailedInfo) WriteBareTo

func (o *TLMsgNewDetailedInfo) WriteBareTo(w *tl.Writer)

type TLMsgResendReq

type TLMsgResendReq struct {
	MsgIDs []uint64 // msg_ids:Vector<long>
}

TLMsgResendReq represents ctor msg_resend_req#7d861a08 msg_ids:Vector<long> = MsgResendReq from MTProto

func (*TLMsgResendReq) Cmd

func (o *TLMsgResendReq) Cmd() uint32

func (*TLMsgResendReq) ReadBareFrom

func (o *TLMsgResendReq) ReadBareFrom(r *tl.Reader)

func (*TLMsgResendReq) String

func (o *TLMsgResendReq) String() string

func (*TLMsgResendReq) WriteBareTo

func (o *TLMsgResendReq) WriteBareTo(w *tl.Writer)

type TLMsgsAck

type TLMsgsAck struct {
	MsgIDs []uint64 // msg_ids:Vector<long>
}

TLMsgsAck represents ctor msgs_ack#62d6b459 msg_ids:Vector<long> = MsgsAck from MTProto

func (*TLMsgsAck) Cmd

func (o *TLMsgsAck) Cmd() uint32

func (*TLMsgsAck) ReadBareFrom

func (o *TLMsgsAck) ReadBareFrom(r *tl.Reader)

func (*TLMsgsAck) String

func (o *TLMsgsAck) String() string

func (*TLMsgsAck) WriteBareTo

func (o *TLMsgsAck) WriteBareTo(w *tl.Writer)

type TLMsgsAllInfo

type TLMsgsAllInfo struct {
	MsgIDs []uint64 // msg_ids:Vector<long>
	Info   []byte   // info:bytes
}

TLMsgsAllInfo represents ctor msgs_all_info#8cc0d131 msg_ids:Vector<long> info:bytes = MsgsAllInfo from MTProto

func (*TLMsgsAllInfo) Cmd

func (o *TLMsgsAllInfo) Cmd() uint32

func (*TLMsgsAllInfo) ReadBareFrom

func (o *TLMsgsAllInfo) ReadBareFrom(r *tl.Reader)

func (*TLMsgsAllInfo) String

func (o *TLMsgsAllInfo) String() string

func (*TLMsgsAllInfo) WriteBareTo

func (o *TLMsgsAllInfo) WriteBareTo(w *tl.Writer)

type TLMsgsStateInfo

type TLMsgsStateInfo struct {
	ReqMsgID uint64 // req_msg_id:long
	Info     []byte // info:bytes
}

TLMsgsStateInfo represents ctor msgs_state_info#04deb57d req_msg_id:long info:bytes = MsgsStateInfo from MTProto

func (*TLMsgsStateInfo) Cmd

func (o *TLMsgsStateInfo) Cmd() uint32

func (*TLMsgsStateInfo) ReadBareFrom

func (o *TLMsgsStateInfo) ReadBareFrom(r *tl.Reader)

func (*TLMsgsStateInfo) String

func (o *TLMsgsStateInfo) String() string

func (*TLMsgsStateInfo) WriteBareTo

func (o *TLMsgsStateInfo) WriteBareTo(w *tl.Writer)

type TLMsgsStateReq

type TLMsgsStateReq struct {
	MsgIDs []uint64 // msg_ids:Vector<long>
}

TLMsgsStateReq represents ctor msgs_state_req#da69fb52 msg_ids:Vector<long> = MsgsStateReq from MTProto

func (*TLMsgsStateReq) Cmd

func (o *TLMsgsStateReq) Cmd() uint32

func (*TLMsgsStateReq) ReadBareFrom

func (o *TLMsgsStateReq) ReadBareFrom(r *tl.Reader)

func (*TLMsgsStateReq) String

func (o *TLMsgsStateReq) String() string

func (*TLMsgsStateReq) WriteBareTo

func (o *TLMsgsStateReq) WriteBareTo(w *tl.Writer)

type TLNearestDC

type TLNearestDC struct {
	Country   string // country:string
	ThisDC    int    // this_dc:int
	NearestDC int    // nearest_dc:int
}

TLNearestDC represents ctor nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc from Telegram

func (*TLNearestDC) Cmd

func (o *TLNearestDC) Cmd() uint32

func (*TLNearestDC) ReadBareFrom

func (o *TLNearestDC) ReadBareFrom(r *tl.Reader)

func (*TLNearestDC) String

func (o *TLNearestDC) String() string

func (*TLNearestDC) WriteBareTo

func (o *TLNearestDC) WriteBareTo(w *tl.Writer)

type TLNewSessionCreated

type TLNewSessionCreated struct {
	FirstMsgID uint64 // first_msg_id:long
	UniqueID   uint64 // unique_id:long
	ServerSalt uint64 // server_salt:long
}

TLNewSessionCreated represents ctor new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession from MTProto

func (*TLNewSessionCreated) Cmd

func (o *TLNewSessionCreated) Cmd() uint32

func (*TLNewSessionCreated) ReadBareFrom

func (o *TLNewSessionCreated) ReadBareFrom(r *tl.Reader)

func (*TLNewSessionCreated) String

func (o *TLNewSessionCreated) String() string

func (*TLNewSessionCreated) WriteBareTo

func (o *TLNewSessionCreated) WriteBareTo(w *tl.Writer)

type TLNotifyAll

type TLNotifyAll struct {
}

TLNotifyAll represents ctor notifyAll#74d07c60 = NotifyPeer from Telegram

func (*TLNotifyAll) Cmd

func (o *TLNotifyAll) Cmd() uint32

func (*TLNotifyAll) IsTLNotifyPeer

func (o *TLNotifyAll) IsTLNotifyPeer()

func (*TLNotifyAll) ReadBareFrom

func (o *TLNotifyAll) ReadBareFrom(r *tl.Reader)

func (*TLNotifyAll) String

func (o *TLNotifyAll) String() string

func (*TLNotifyAll) WriteBareTo

func (o *TLNotifyAll) WriteBareTo(w *tl.Writer)

type TLNotifyChats

type TLNotifyChats struct {
}

TLNotifyChats represents ctor notifyChats#c007cec3 = NotifyPeer from Telegram

func (*TLNotifyChats) Cmd

func (o *TLNotifyChats) Cmd() uint32

func (*TLNotifyChats) IsTLNotifyPeer

func (o *TLNotifyChats) IsTLNotifyPeer()

func (*TLNotifyChats) ReadBareFrom

func (o *TLNotifyChats) ReadBareFrom(r *tl.Reader)

func (*TLNotifyChats) String

func (o *TLNotifyChats) String() string

func (*TLNotifyChats) WriteBareTo

func (o *TLNotifyChats) WriteBareTo(w *tl.Writer)

type TLNotifyPeer

type TLNotifyPeer struct {
	Peer TLPeerType // peer:Peer
}

TLNotifyPeer represents ctor notifyPeer#9fd40bd8 peer:Peer = NotifyPeer from Telegram

func (*TLNotifyPeer) Cmd

func (o *TLNotifyPeer) Cmd() uint32

func (*TLNotifyPeer) IsTLNotifyPeer

func (o *TLNotifyPeer) IsTLNotifyPeer()

func (*TLNotifyPeer) ReadBareFrom

func (o *TLNotifyPeer) ReadBareFrom(r *tl.Reader)

func (*TLNotifyPeer) String

func (o *TLNotifyPeer) String() string

func (*TLNotifyPeer) WriteBareTo

func (o *TLNotifyPeer) WriteBareTo(w *tl.Writer)

type TLNotifyPeerType

type TLNotifyPeerType interface {
	IsTLNotifyPeer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLNotifyPeerType represents NotifyPeer from Telegram

type TLNotifyUsers

type TLNotifyUsers struct {
}

TLNotifyUsers represents ctor notifyUsers#b4c83b4c = NotifyPeer from Telegram

func (*TLNotifyUsers) Cmd

func (o *TLNotifyUsers) Cmd() uint32

func (*TLNotifyUsers) IsTLNotifyPeer

func (o *TLNotifyUsers) IsTLNotifyPeer()

func (*TLNotifyUsers) ReadBareFrom

func (o *TLNotifyUsers) ReadBareFrom(r *tl.Reader)

func (*TLNotifyUsers) String

func (o *TLNotifyUsers) String() string

func (*TLNotifyUsers) WriteBareTo

func (o *TLNotifyUsers) WriteBareTo(w *tl.Writer)

type TLNull

type TLNull struct {
}

TLNull represents ctor null#56730bcc = Null from Telegram

func (*TLNull) Cmd

func (o *TLNull) Cmd() uint32

func (*TLNull) ReadBareFrom

func (o *TLNull) ReadBareFrom(r *tl.Reader)

func (*TLNull) String

func (o *TLNull) String() string

func (*TLNull) WriteBareTo

func (o *TLNull) WriteBareTo(w *tl.Writer)

type TLPQInnerData

type TLPQInnerData struct {
	PQ          *big.Int // pq:bytes
	P           *big.Int // p:bytes
	Q           *big.Int // q:bytes
	Nonce       [16]byte // nonce:int128
	ServerNonce [16]byte // server_nonce:int128
	NewNonce    [32]byte // new_nonce:int256
}

TLPQInnerData represents ctor p_q_inner_data#83c95aec pq:bytes p:bytes q:bytes nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data from MTProto

func (*TLPQInnerData) Cmd

func (o *TLPQInnerData) Cmd() uint32

func (*TLPQInnerData) ReadBareFrom

func (o *TLPQInnerData) ReadBareFrom(r *tl.Reader)

func (*TLPQInnerData) String

func (o *TLPQInnerData) String() string

func (*TLPQInnerData) WriteBareTo

func (o *TLPQInnerData) WriteBareTo(w *tl.Writer)

type TLPageBlockAnchor

type TLPageBlockAnchor struct {
	Name string // name:string
}

TLPageBlockAnchor represents ctor pageBlockAnchor#ce0d37b0 name:string = PageBlock from Telegram

func (*TLPageBlockAnchor) Cmd

func (o *TLPageBlockAnchor) Cmd() uint32

func (*TLPageBlockAnchor) IsTLPageBlock

func (o *TLPageBlockAnchor) IsTLPageBlock()

func (*TLPageBlockAnchor) ReadBareFrom

func (o *TLPageBlockAnchor) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockAnchor) String

func (o *TLPageBlockAnchor) String() string

func (*TLPageBlockAnchor) WriteBareTo

func (o *TLPageBlockAnchor) WriteBareTo(w *tl.Writer)

type TLPageBlockAuthorDate

type TLPageBlockAuthorDate struct {
	Author        TLRichTextType // author:RichText
	PublishedDate int            // published_date:int
}

TLPageBlockAuthorDate represents ctor pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock from Telegram

func (*TLPageBlockAuthorDate) Cmd

func (o *TLPageBlockAuthorDate) Cmd() uint32

func (*TLPageBlockAuthorDate) IsTLPageBlock

func (o *TLPageBlockAuthorDate) IsTLPageBlock()

func (*TLPageBlockAuthorDate) ReadBareFrom

func (o *TLPageBlockAuthorDate) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockAuthorDate) String

func (o *TLPageBlockAuthorDate) String() string

func (*TLPageBlockAuthorDate) WriteBareTo

func (o *TLPageBlockAuthorDate) WriteBareTo(w *tl.Writer)

type TLPageBlockBlockquote

type TLPageBlockBlockquote struct {
	Text    TLRichTextType // text:RichText
	Caption TLRichTextType // caption:RichText
}

TLPageBlockBlockquote represents ctor pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock from Telegram

func (*TLPageBlockBlockquote) Cmd

func (o *TLPageBlockBlockquote) Cmd() uint32

func (*TLPageBlockBlockquote) IsTLPageBlock

func (o *TLPageBlockBlockquote) IsTLPageBlock()

func (*TLPageBlockBlockquote) ReadBareFrom

func (o *TLPageBlockBlockquote) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockBlockquote) String

func (o *TLPageBlockBlockquote) String() string

func (*TLPageBlockBlockquote) WriteBareTo

func (o *TLPageBlockBlockquote) WriteBareTo(w *tl.Writer)

type TLPageBlockCollage

type TLPageBlockCollage struct {
	Items   []TLPageBlockType // items:Vector<PageBlock>
	Caption TLRichTextType    // caption:RichText
}

TLPageBlockCollage represents ctor pageBlockCollage#08b31c4f items:Vector<PageBlock> caption:RichText = PageBlock from Telegram

func (*TLPageBlockCollage) Cmd

func (o *TLPageBlockCollage) Cmd() uint32

func (*TLPageBlockCollage) IsTLPageBlock

func (o *TLPageBlockCollage) IsTLPageBlock()

func (*TLPageBlockCollage) ReadBareFrom

func (o *TLPageBlockCollage) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockCollage) String

func (o *TLPageBlockCollage) String() string

func (*TLPageBlockCollage) WriteBareTo

func (o *TLPageBlockCollage) WriteBareTo(w *tl.Writer)

type TLPageBlockCover

type TLPageBlockCover struct {
	Cover TLPageBlockType // cover:PageBlock
}

TLPageBlockCover represents ctor pageBlockCover#39f23300 cover:PageBlock = PageBlock from Telegram

func (*TLPageBlockCover) Cmd

func (o *TLPageBlockCover) Cmd() uint32

func (*TLPageBlockCover) IsTLPageBlock

func (o *TLPageBlockCover) IsTLPageBlock()

func (*TLPageBlockCover) ReadBareFrom

func (o *TLPageBlockCover) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockCover) String

func (o *TLPageBlockCover) String() string

func (*TLPageBlockCover) WriteBareTo

func (o *TLPageBlockCover) WriteBareTo(w *tl.Writer)

type TLPageBlockDivider

type TLPageBlockDivider struct {
}

TLPageBlockDivider represents ctor pageBlockDivider#db20b188 = PageBlock from Telegram

func (*TLPageBlockDivider) Cmd

func (o *TLPageBlockDivider) Cmd() uint32

func (*TLPageBlockDivider) IsTLPageBlock

func (o *TLPageBlockDivider) IsTLPageBlock()

func (*TLPageBlockDivider) ReadBareFrom

func (o *TLPageBlockDivider) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockDivider) String

func (o *TLPageBlockDivider) String() string

func (*TLPageBlockDivider) WriteBareTo

func (o *TLPageBlockDivider) WriteBareTo(w *tl.Writer)

type TLPageBlockEmbed

type TLPageBlockEmbed struct {
	Flags         uint           // flags:#
	URL           string         // flags.1?url:string
	Html          string         // flags.2?html:string
	PosterPhotoID uint64         // flags.4?poster_photo_id:long
	W             int            // w:int
	H             int            // h:int
	Caption       TLRichTextType // caption:RichText
}

TLPageBlockEmbed represents ctor pageBlockEmbed#cde200d1 flags:# flags.0?full_width:true flags.3?allow_scrolling:true flags.1?url:string flags.2?html:string flags.4?poster_photo_id:long w:int h:int caption:RichText = PageBlock from Telegram

func (*TLPageBlockEmbed) AllowScrolling

func (o *TLPageBlockEmbed) AllowScrolling() bool

func (*TLPageBlockEmbed) Cmd

func (o *TLPageBlockEmbed) Cmd() uint32

func (*TLPageBlockEmbed) FullWidth

func (o *TLPageBlockEmbed) FullWidth() bool

func (*TLPageBlockEmbed) HasHtml

func (o *TLPageBlockEmbed) HasHtml() bool

func (*TLPageBlockEmbed) HasPosterPhotoID

func (o *TLPageBlockEmbed) HasPosterPhotoID() bool

func (*TLPageBlockEmbed) HasURL

func (o *TLPageBlockEmbed) HasURL() bool

func (*TLPageBlockEmbed) IsTLPageBlock

func (o *TLPageBlockEmbed) IsTLPageBlock()

func (*TLPageBlockEmbed) ReadBareFrom

func (o *TLPageBlockEmbed) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockEmbed) SetAllowScrolling

func (o *TLPageBlockEmbed) SetAllowScrolling(v bool)

func (*TLPageBlockEmbed) SetFullWidth

func (o *TLPageBlockEmbed) SetFullWidth(v bool)

func (*TLPageBlockEmbed) SetHasHtml

func (o *TLPageBlockEmbed) SetHasHtml(v bool)

func (*TLPageBlockEmbed) SetHasPosterPhotoID

func (o *TLPageBlockEmbed) SetHasPosterPhotoID(v bool)

func (*TLPageBlockEmbed) SetHasURL

func (o *TLPageBlockEmbed) SetHasURL(v bool)

func (*TLPageBlockEmbed) String

func (o *TLPageBlockEmbed) String() string

func (*TLPageBlockEmbed) WriteBareTo

func (o *TLPageBlockEmbed) WriteBareTo(w *tl.Writer)

type TLPageBlockEmbedPost

type TLPageBlockEmbedPost struct {
	URL           string            // url:string
	WebpageID     uint64            // webpage_id:long
	AuthorPhotoID uint64            // author_photo_id:long
	Author        string            // author:string
	Date          int               // date:int
	Blocks        []TLPageBlockType // blocks:Vector<PageBlock>
	Caption       TLRichTextType    // caption:RichText
}

TLPageBlockEmbedPost represents ctor pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock from Telegram

func (*TLPageBlockEmbedPost) Cmd

func (o *TLPageBlockEmbedPost) Cmd() uint32

func (*TLPageBlockEmbedPost) IsTLPageBlock

func (o *TLPageBlockEmbedPost) IsTLPageBlock()

func (*TLPageBlockEmbedPost) ReadBareFrom

func (o *TLPageBlockEmbedPost) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockEmbedPost) String

func (o *TLPageBlockEmbedPost) String() string

func (*TLPageBlockEmbedPost) WriteBareTo

func (o *TLPageBlockEmbedPost) WriteBareTo(w *tl.Writer)

type TLPageBlockFooter

type TLPageBlockFooter struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockFooter represents ctor pageBlockFooter#48870999 text:RichText = PageBlock from Telegram

func (*TLPageBlockFooter) Cmd

func (o *TLPageBlockFooter) Cmd() uint32

func (*TLPageBlockFooter) IsTLPageBlock

func (o *TLPageBlockFooter) IsTLPageBlock()

func (*TLPageBlockFooter) ReadBareFrom

func (o *TLPageBlockFooter) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockFooter) String

func (o *TLPageBlockFooter) String() string

func (*TLPageBlockFooter) WriteBareTo

func (o *TLPageBlockFooter) WriteBareTo(w *tl.Writer)

type TLPageBlockHeader

type TLPageBlockHeader struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockHeader represents ctor pageBlockHeader#bfd064ec text:RichText = PageBlock from Telegram

func (*TLPageBlockHeader) Cmd

func (o *TLPageBlockHeader) Cmd() uint32

func (*TLPageBlockHeader) IsTLPageBlock

func (o *TLPageBlockHeader) IsTLPageBlock()

func (*TLPageBlockHeader) ReadBareFrom

func (o *TLPageBlockHeader) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockHeader) String

func (o *TLPageBlockHeader) String() string

func (*TLPageBlockHeader) WriteBareTo

func (o *TLPageBlockHeader) WriteBareTo(w *tl.Writer)

type TLPageBlockList

type TLPageBlockList struct {
	Ordered bool             // ordered:Bool
	Items   []TLRichTextType // items:Vector<RichText>
}

TLPageBlockList represents ctor pageBlockList#3a58c7f4 ordered:Bool items:Vector<RichText> = PageBlock from Telegram

func (*TLPageBlockList) Cmd

func (o *TLPageBlockList) Cmd() uint32

func (*TLPageBlockList) IsTLPageBlock

func (o *TLPageBlockList) IsTLPageBlock()

func (*TLPageBlockList) ReadBareFrom

func (o *TLPageBlockList) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockList) String

func (o *TLPageBlockList) String() string

func (*TLPageBlockList) WriteBareTo

func (o *TLPageBlockList) WriteBareTo(w *tl.Writer)

type TLPageBlockParagraph

type TLPageBlockParagraph struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockParagraph represents ctor pageBlockParagraph#467a0766 text:RichText = PageBlock from Telegram

func (*TLPageBlockParagraph) Cmd

func (o *TLPageBlockParagraph) Cmd() uint32

func (*TLPageBlockParagraph) IsTLPageBlock

func (o *TLPageBlockParagraph) IsTLPageBlock()

func (*TLPageBlockParagraph) ReadBareFrom

func (o *TLPageBlockParagraph) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockParagraph) String

func (o *TLPageBlockParagraph) String() string

func (*TLPageBlockParagraph) WriteBareTo

func (o *TLPageBlockParagraph) WriteBareTo(w *tl.Writer)

type TLPageBlockPhoto

type TLPageBlockPhoto struct {
	PhotoID uint64         // photo_id:long
	Caption TLRichTextType // caption:RichText
}

TLPageBlockPhoto represents ctor pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock from Telegram

func (*TLPageBlockPhoto) Cmd

func (o *TLPageBlockPhoto) Cmd() uint32

func (*TLPageBlockPhoto) IsTLPageBlock

func (o *TLPageBlockPhoto) IsTLPageBlock()

func (*TLPageBlockPhoto) ReadBareFrom

func (o *TLPageBlockPhoto) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockPhoto) String

func (o *TLPageBlockPhoto) String() string

func (*TLPageBlockPhoto) WriteBareTo

func (o *TLPageBlockPhoto) WriteBareTo(w *tl.Writer)

type TLPageBlockPreformatted

type TLPageBlockPreformatted struct {
	Text     TLRichTextType // text:RichText
	Language string         // language:string
}

TLPageBlockPreformatted represents ctor pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock from Telegram

func (*TLPageBlockPreformatted) Cmd

func (*TLPageBlockPreformatted) IsTLPageBlock

func (o *TLPageBlockPreformatted) IsTLPageBlock()

func (*TLPageBlockPreformatted) ReadBareFrom

func (o *TLPageBlockPreformatted) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockPreformatted) String

func (o *TLPageBlockPreformatted) String() string

func (*TLPageBlockPreformatted) WriteBareTo

func (o *TLPageBlockPreformatted) WriteBareTo(w *tl.Writer)

type TLPageBlockPullquote

type TLPageBlockPullquote struct {
	Text    TLRichTextType // text:RichText
	Caption TLRichTextType // caption:RichText
}

TLPageBlockPullquote represents ctor pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock from Telegram

func (*TLPageBlockPullquote) Cmd

func (o *TLPageBlockPullquote) Cmd() uint32

func (*TLPageBlockPullquote) IsTLPageBlock

func (o *TLPageBlockPullquote) IsTLPageBlock()

func (*TLPageBlockPullquote) ReadBareFrom

func (o *TLPageBlockPullquote) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockPullquote) String

func (o *TLPageBlockPullquote) String() string

func (*TLPageBlockPullquote) WriteBareTo

func (o *TLPageBlockPullquote) WriteBareTo(w *tl.Writer)

type TLPageBlockSlideshow

type TLPageBlockSlideshow struct {
	Items   []TLPageBlockType // items:Vector<PageBlock>
	Caption TLRichTextType    // caption:RichText
}

TLPageBlockSlideshow represents ctor pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock from Telegram

func (*TLPageBlockSlideshow) Cmd

func (o *TLPageBlockSlideshow) Cmd() uint32

func (*TLPageBlockSlideshow) IsTLPageBlock

func (o *TLPageBlockSlideshow) IsTLPageBlock()

func (*TLPageBlockSlideshow) ReadBareFrom

func (o *TLPageBlockSlideshow) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockSlideshow) String

func (o *TLPageBlockSlideshow) String() string

func (*TLPageBlockSlideshow) WriteBareTo

func (o *TLPageBlockSlideshow) WriteBareTo(w *tl.Writer)

type TLPageBlockSubheader

type TLPageBlockSubheader struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockSubheader represents ctor pageBlockSubheader#f12bb6e1 text:RichText = PageBlock from Telegram

func (*TLPageBlockSubheader) Cmd

func (o *TLPageBlockSubheader) Cmd() uint32

func (*TLPageBlockSubheader) IsTLPageBlock

func (o *TLPageBlockSubheader) IsTLPageBlock()

func (*TLPageBlockSubheader) ReadBareFrom

func (o *TLPageBlockSubheader) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockSubheader) String

func (o *TLPageBlockSubheader) String() string

func (*TLPageBlockSubheader) WriteBareTo

func (o *TLPageBlockSubheader) WriteBareTo(w *tl.Writer)

type TLPageBlockSubtitle

type TLPageBlockSubtitle struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockSubtitle represents ctor pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock from Telegram

func (*TLPageBlockSubtitle) Cmd

func (o *TLPageBlockSubtitle) Cmd() uint32

func (*TLPageBlockSubtitle) IsTLPageBlock

func (o *TLPageBlockSubtitle) IsTLPageBlock()

func (*TLPageBlockSubtitle) ReadBareFrom

func (o *TLPageBlockSubtitle) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockSubtitle) String

func (o *TLPageBlockSubtitle) String() string

func (*TLPageBlockSubtitle) WriteBareTo

func (o *TLPageBlockSubtitle) WriteBareTo(w *tl.Writer)

type TLPageBlockTitle

type TLPageBlockTitle struct {
	Text TLRichTextType // text:RichText
}

TLPageBlockTitle represents ctor pageBlockTitle#70abc3fd text:RichText = PageBlock from Telegram

func (*TLPageBlockTitle) Cmd

func (o *TLPageBlockTitle) Cmd() uint32

func (*TLPageBlockTitle) IsTLPageBlock

func (o *TLPageBlockTitle) IsTLPageBlock()

func (*TLPageBlockTitle) ReadBareFrom

func (o *TLPageBlockTitle) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockTitle) String

func (o *TLPageBlockTitle) String() string

func (*TLPageBlockTitle) WriteBareTo

func (o *TLPageBlockTitle) WriteBareTo(w *tl.Writer)

type TLPageBlockType

type TLPageBlockType interface {
	IsTLPageBlock()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPageBlockType represents PageBlock from Telegram

type TLPageBlockUnsupported

type TLPageBlockUnsupported struct {
}

TLPageBlockUnsupported represents ctor pageBlockUnsupported#13567e8a = PageBlock from Telegram

func (*TLPageBlockUnsupported) Cmd

func (o *TLPageBlockUnsupported) Cmd() uint32

func (*TLPageBlockUnsupported) IsTLPageBlock

func (o *TLPageBlockUnsupported) IsTLPageBlock()

func (*TLPageBlockUnsupported) ReadBareFrom

func (o *TLPageBlockUnsupported) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockUnsupported) String

func (o *TLPageBlockUnsupported) String() string

func (*TLPageBlockUnsupported) WriteBareTo

func (o *TLPageBlockUnsupported) WriteBareTo(w *tl.Writer)

type TLPageBlockVideo

type TLPageBlockVideo struct {
	Flags   uint           // flags:#
	VideoID uint64         // video_id:long
	Caption TLRichTextType // caption:RichText
}

TLPageBlockVideo represents ctor pageBlockVideo#d9d71866 flags:# flags.0?autoplay:true flags.1?loop:true video_id:long caption:RichText = PageBlock from Telegram

func (*TLPageBlockVideo) Autoplay

func (o *TLPageBlockVideo) Autoplay() bool

func (*TLPageBlockVideo) Cmd

func (o *TLPageBlockVideo) Cmd() uint32

func (*TLPageBlockVideo) IsTLPageBlock

func (o *TLPageBlockVideo) IsTLPageBlock()

func (*TLPageBlockVideo) Loop

func (o *TLPageBlockVideo) Loop() bool

func (*TLPageBlockVideo) ReadBareFrom

func (o *TLPageBlockVideo) ReadBareFrom(r *tl.Reader)

func (*TLPageBlockVideo) SetAutoplay

func (o *TLPageBlockVideo) SetAutoplay(v bool)

func (*TLPageBlockVideo) SetLoop

func (o *TLPageBlockVideo) SetLoop(v bool)

func (*TLPageBlockVideo) String

func (o *TLPageBlockVideo) String() string

func (*TLPageBlockVideo) WriteBareTo

func (o *TLPageBlockVideo) WriteBareTo(w *tl.Writer)

type TLPageFull

type TLPageFull struct {
	Blocks []TLPageBlockType // blocks:Vector<PageBlock>
	Photos []TLPhotoType     // photos:Vector<Photo>
	Videos []TLDocumentType  // videos:Vector<Document>
}

TLPageFull represents ctor pageFull#d7a19d69 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page from Telegram

func (*TLPageFull) Cmd

func (o *TLPageFull) Cmd() uint32

func (*TLPageFull) IsTLPage

func (o *TLPageFull) IsTLPage()

func (*TLPageFull) ReadBareFrom

func (o *TLPageFull) ReadBareFrom(r *tl.Reader)

func (*TLPageFull) String

func (o *TLPageFull) String() string

func (*TLPageFull) WriteBareTo

func (o *TLPageFull) WriteBareTo(w *tl.Writer)

type TLPagePart

type TLPagePart struct {
	Blocks []TLPageBlockType // blocks:Vector<PageBlock>
	Photos []TLPhotoType     // photos:Vector<Photo>
	Videos []TLDocumentType  // videos:Vector<Document>
}

TLPagePart represents ctor pagePart#8dee6c44 blocks:Vector<PageBlock> photos:Vector<Photo> videos:Vector<Document> = Page from Telegram

func (*TLPagePart) Cmd

func (o *TLPagePart) Cmd() uint32

func (*TLPagePart) IsTLPage

func (o *TLPagePart) IsTLPage()

func (*TLPagePart) ReadBareFrom

func (o *TLPagePart) ReadBareFrom(r *tl.Reader)

func (*TLPagePart) String

func (o *TLPagePart) String() string

func (*TLPagePart) WriteBareTo

func (o *TLPagePart) WriteBareTo(w *tl.Writer)

type TLPageType

type TLPageType interface {
	IsTLPage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPageType represents Page from Telegram

type TLPaymentCharge

type TLPaymentCharge struct {
	ID               string // id:string
	ProviderChargeID string // provider_charge_id:string
}

TLPaymentCharge represents ctor paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge from Telegram

func (*TLPaymentCharge) Cmd

func (o *TLPaymentCharge) Cmd() uint32

func (*TLPaymentCharge) ReadBareFrom

func (o *TLPaymentCharge) ReadBareFrom(r *tl.Reader)

func (*TLPaymentCharge) String

func (o *TLPaymentCharge) String() string

func (*TLPaymentCharge) WriteBareTo

func (o *TLPaymentCharge) WriteBareTo(w *tl.Writer)

type TLPaymentRequestedInfo

type TLPaymentRequestedInfo struct {
	Flags           uint           // flags:#
	Name            string         // flags.0?name:string
	Phone           string         // flags.1?phone:string
	Email           string         // flags.2?email:string
	ShippingAddress *TLPostAddress // flags.3?shipping_address:PostAddress
}

TLPaymentRequestedInfo represents ctor paymentRequestedInfo#909c3f94 flags:# flags.0?name:string flags.1?phone:string flags.2?email:string flags.3?shipping_address:PostAddress = PaymentRequestedInfo from Telegram

func (*TLPaymentRequestedInfo) Cmd

func (o *TLPaymentRequestedInfo) Cmd() uint32

func (*TLPaymentRequestedInfo) HasEmail

func (o *TLPaymentRequestedInfo) HasEmail() bool

func (*TLPaymentRequestedInfo) HasName

func (o *TLPaymentRequestedInfo) HasName() bool

func (*TLPaymentRequestedInfo) HasPhone

func (o *TLPaymentRequestedInfo) HasPhone() bool

func (*TLPaymentRequestedInfo) HasShippingAddress

func (o *TLPaymentRequestedInfo) HasShippingAddress() bool

func (*TLPaymentRequestedInfo) ReadBareFrom

func (o *TLPaymentRequestedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentRequestedInfo) SetHasEmail

func (o *TLPaymentRequestedInfo) SetHasEmail(v bool)

func (*TLPaymentRequestedInfo) SetHasName

func (o *TLPaymentRequestedInfo) SetHasName(v bool)

func (*TLPaymentRequestedInfo) SetHasPhone

func (o *TLPaymentRequestedInfo) SetHasPhone(v bool)

func (*TLPaymentRequestedInfo) SetHasShippingAddress

func (o *TLPaymentRequestedInfo) SetHasShippingAddress(v bool)

func (*TLPaymentRequestedInfo) String

func (o *TLPaymentRequestedInfo) String() string

func (*TLPaymentRequestedInfo) WriteBareTo

func (o *TLPaymentRequestedInfo) WriteBareTo(w *tl.Writer)

type TLPaymentSavedCredentialsCard

type TLPaymentSavedCredentialsCard struct {
	ID    string // id:string
	Title string // title:string
}

TLPaymentSavedCredentialsCard represents ctor paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials from Telegram

func (*TLPaymentSavedCredentialsCard) Cmd

func (*TLPaymentSavedCredentialsCard) ReadBareFrom

func (o *TLPaymentSavedCredentialsCard) ReadBareFrom(r *tl.Reader)

func (*TLPaymentSavedCredentialsCard) String

func (*TLPaymentSavedCredentialsCard) WriteBareTo

func (o *TLPaymentSavedCredentialsCard) WriteBareTo(w *tl.Writer)

type TLPaymentsClearSavedInfo

type TLPaymentsClearSavedInfo struct {
	Flags uint // flags:#
}

TLPaymentsClearSavedInfo represents func payments.clearSavedInfo#d83d70c1 flags:# flags.0?credentials:true flags.1?info:true = Bool from Telegram

func (*TLPaymentsClearSavedInfo) Cmd

func (*TLPaymentsClearSavedInfo) Credentials

func (o *TLPaymentsClearSavedInfo) Credentials() bool

func (*TLPaymentsClearSavedInfo) Info

func (o *TLPaymentsClearSavedInfo) Info() bool

func (*TLPaymentsClearSavedInfo) ReadBareFrom

func (o *TLPaymentsClearSavedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsClearSavedInfo) SetCredentials

func (o *TLPaymentsClearSavedInfo) SetCredentials(v bool)

func (*TLPaymentsClearSavedInfo) SetInfo

func (o *TLPaymentsClearSavedInfo) SetInfo(v bool)

func (*TLPaymentsClearSavedInfo) String

func (o *TLPaymentsClearSavedInfo) String() string

func (*TLPaymentsClearSavedInfo) WriteBareTo

func (o *TLPaymentsClearSavedInfo) WriteBareTo(w *tl.Writer)

type TLPaymentsGetPaymentForm

type TLPaymentsGetPaymentForm struct {
	MsgID int // msg_id:int
}

TLPaymentsGetPaymentForm represents func payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm from Telegram

func (*TLPaymentsGetPaymentForm) Cmd

func (*TLPaymentsGetPaymentForm) ReadBareFrom

func (o *TLPaymentsGetPaymentForm) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsGetPaymentForm) String

func (o *TLPaymentsGetPaymentForm) String() string

func (*TLPaymentsGetPaymentForm) WriteBareTo

func (o *TLPaymentsGetPaymentForm) WriteBareTo(w *tl.Writer)

type TLPaymentsGetPaymentReceipt

type TLPaymentsGetPaymentReceipt struct {
	MsgID int // msg_id:int
}

TLPaymentsGetPaymentReceipt represents func payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt from Telegram

func (*TLPaymentsGetPaymentReceipt) Cmd

func (*TLPaymentsGetPaymentReceipt) ReadBareFrom

func (o *TLPaymentsGetPaymentReceipt) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsGetPaymentReceipt) String

func (o *TLPaymentsGetPaymentReceipt) String() string

func (*TLPaymentsGetPaymentReceipt) WriteBareTo

func (o *TLPaymentsGetPaymentReceipt) WriteBareTo(w *tl.Writer)

type TLPaymentsGetSavedInfo

type TLPaymentsGetSavedInfo struct {
}

TLPaymentsGetSavedInfo represents func payments.getSavedInfo#227d824b = payments.SavedInfo from Telegram

func (*TLPaymentsGetSavedInfo) Cmd

func (o *TLPaymentsGetSavedInfo) Cmd() uint32

func (*TLPaymentsGetSavedInfo) ReadBareFrom

func (o *TLPaymentsGetSavedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsGetSavedInfo) String

func (o *TLPaymentsGetSavedInfo) String() string

func (*TLPaymentsGetSavedInfo) WriteBareTo

func (o *TLPaymentsGetSavedInfo) WriteBareTo(w *tl.Writer)

type TLPaymentsPaymentForm

type TLPaymentsPaymentForm struct {
	Flags            uint                           // flags:#
	BotID            int                            // bot_id:int
	Invoice          *TLInvoice                     // invoice:Invoice
	ProviderID       int                            // provider_id:int
	URL              string                         // url:string
	NativeProvider   string                         // flags.4?native_provider:string
	NativeParams     *TLDataJSON                    // flags.4?native_params:DataJSON
	SavedInfo        *TLPaymentRequestedInfo        // flags.0?saved_info:PaymentRequestedInfo
	SavedCredentials *TLPaymentSavedCredentialsCard // flags.1?saved_credentials:PaymentSavedCredentials
	Users            []TLUserType                   // users:Vector<User>
}

TLPaymentsPaymentForm represents ctor payments.paymentForm#3f56aea3 flags:# flags.2?can_save_credentials:true flags.3?password_missing:true bot_id:int invoice:Invoice provider_id:int url:string flags.4?native_provider:string flags.4?native_params:DataJSON flags.0?saved_info:PaymentRequestedInfo flags.1?saved_credentials:PaymentSavedCredentials users:Vector<User> = payments.PaymentForm from Telegram

func (*TLPaymentsPaymentForm) CanSaveCredentials

func (o *TLPaymentsPaymentForm) CanSaveCredentials() bool

func (*TLPaymentsPaymentForm) Cmd

func (o *TLPaymentsPaymentForm) Cmd() uint32

func (*TLPaymentsPaymentForm) HasNativeParams

func (o *TLPaymentsPaymentForm) HasNativeParams() bool

func (*TLPaymentsPaymentForm) HasNativeProvider

func (o *TLPaymentsPaymentForm) HasNativeProvider() bool

func (*TLPaymentsPaymentForm) HasSavedCredentials

func (o *TLPaymentsPaymentForm) HasSavedCredentials() bool

func (*TLPaymentsPaymentForm) HasSavedInfo

func (o *TLPaymentsPaymentForm) HasSavedInfo() bool

func (*TLPaymentsPaymentForm) PasswordMissing

func (o *TLPaymentsPaymentForm) PasswordMissing() bool

func (*TLPaymentsPaymentForm) ReadBareFrom

func (o *TLPaymentsPaymentForm) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsPaymentForm) SetCanSaveCredentials

func (o *TLPaymentsPaymentForm) SetCanSaveCredentials(v bool)

func (*TLPaymentsPaymentForm) SetHasNativeParams

func (o *TLPaymentsPaymentForm) SetHasNativeParams(v bool)

func (*TLPaymentsPaymentForm) SetHasNativeProvider

func (o *TLPaymentsPaymentForm) SetHasNativeProvider(v bool)

func (*TLPaymentsPaymentForm) SetHasSavedCredentials

func (o *TLPaymentsPaymentForm) SetHasSavedCredentials(v bool)

func (*TLPaymentsPaymentForm) SetHasSavedInfo

func (o *TLPaymentsPaymentForm) SetHasSavedInfo(v bool)

func (*TLPaymentsPaymentForm) SetPasswordMissing

func (o *TLPaymentsPaymentForm) SetPasswordMissing(v bool)

func (*TLPaymentsPaymentForm) String

func (o *TLPaymentsPaymentForm) String() string

func (*TLPaymentsPaymentForm) WriteBareTo

func (o *TLPaymentsPaymentForm) WriteBareTo(w *tl.Writer)

type TLPaymentsPaymentReceipt

type TLPaymentsPaymentReceipt struct {
	Flags            uint                    // flags:#
	Date             int                     // date:int
	BotID            int                     // bot_id:int
	Invoice          *TLInvoice              // invoice:Invoice
	ProviderID       int                     // provider_id:int
	Info             *TLPaymentRequestedInfo // flags.0?info:PaymentRequestedInfo
	Shipping         *TLShippingOption       // flags.1?shipping:ShippingOption
	Currency         string                  // currency:string
	TotalAmount      uint64                  // total_amount:long
	CredentialsTitle string                  // credentials_title:string
	Users            []TLUserType            // users:Vector<User>
}

TLPaymentsPaymentReceipt represents ctor payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int flags.0?info:PaymentRequestedInfo flags.1?shipping:ShippingOption currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt from Telegram

func (*TLPaymentsPaymentReceipt) Cmd

func (*TLPaymentsPaymentReceipt) HasInfo

func (o *TLPaymentsPaymentReceipt) HasInfo() bool

func (*TLPaymentsPaymentReceipt) HasShipping

func (o *TLPaymentsPaymentReceipt) HasShipping() bool

func (*TLPaymentsPaymentReceipt) ReadBareFrom

func (o *TLPaymentsPaymentReceipt) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsPaymentReceipt) SetHasInfo

func (o *TLPaymentsPaymentReceipt) SetHasInfo(v bool)

func (*TLPaymentsPaymentReceipt) SetHasShipping

func (o *TLPaymentsPaymentReceipt) SetHasShipping(v bool)

func (*TLPaymentsPaymentReceipt) String

func (o *TLPaymentsPaymentReceipt) String() string

func (*TLPaymentsPaymentReceipt) WriteBareTo

func (o *TLPaymentsPaymentReceipt) WriteBareTo(w *tl.Writer)

type TLPaymentsPaymentResult

type TLPaymentsPaymentResult struct {
	Updates TLUpdatesType // updates:Updates
}

TLPaymentsPaymentResult represents ctor payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult from Telegram

func (*TLPaymentsPaymentResult) Cmd

func (*TLPaymentsPaymentResult) IsTLPaymentsPaymentResult

func (o *TLPaymentsPaymentResult) IsTLPaymentsPaymentResult()

func (*TLPaymentsPaymentResult) ReadBareFrom

func (o *TLPaymentsPaymentResult) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsPaymentResult) String

func (o *TLPaymentsPaymentResult) String() string

func (*TLPaymentsPaymentResult) WriteBareTo

func (o *TLPaymentsPaymentResult) WriteBareTo(w *tl.Writer)

type TLPaymentsPaymentResultType

type TLPaymentsPaymentResultType interface {
	IsTLPaymentsPaymentResult()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPaymentsPaymentResultType represents payments.PaymentResult from Telegram

type TLPaymentsPaymentVerficationNeeded

type TLPaymentsPaymentVerficationNeeded struct {
	URL string // url:string
}

TLPaymentsPaymentVerficationNeeded represents ctor payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult from Telegram

func (*TLPaymentsPaymentVerficationNeeded) Cmd

func (*TLPaymentsPaymentVerficationNeeded) IsTLPaymentsPaymentResult

func (o *TLPaymentsPaymentVerficationNeeded) IsTLPaymentsPaymentResult()

func (*TLPaymentsPaymentVerficationNeeded) ReadBareFrom

func (o *TLPaymentsPaymentVerficationNeeded) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsPaymentVerficationNeeded) String

func (*TLPaymentsPaymentVerficationNeeded) WriteBareTo

func (o *TLPaymentsPaymentVerficationNeeded) WriteBareTo(w *tl.Writer)

type TLPaymentsSavedInfo

type TLPaymentsSavedInfo struct {
	Flags     uint                    // flags:#
	SavedInfo *TLPaymentRequestedInfo // flags.0?saved_info:PaymentRequestedInfo
}

TLPaymentsSavedInfo represents ctor payments.savedInfo#fb8fe43c flags:# flags.1?has_saved_credentials:true flags.0?saved_info:PaymentRequestedInfo = payments.SavedInfo from Telegram

func (*TLPaymentsSavedInfo) Cmd

func (o *TLPaymentsSavedInfo) Cmd() uint32

func (*TLPaymentsSavedInfo) HasSavedCredentials

func (o *TLPaymentsSavedInfo) HasSavedCredentials() bool

func (*TLPaymentsSavedInfo) HasSavedInfo

func (o *TLPaymentsSavedInfo) HasSavedInfo() bool

func (*TLPaymentsSavedInfo) ReadBareFrom

func (o *TLPaymentsSavedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsSavedInfo) SetHasSavedCredentials

func (o *TLPaymentsSavedInfo) SetHasSavedCredentials(v bool)

func (*TLPaymentsSavedInfo) SetHasSavedInfo

func (o *TLPaymentsSavedInfo) SetHasSavedInfo(v bool)

func (*TLPaymentsSavedInfo) String

func (o *TLPaymentsSavedInfo) String() string

func (*TLPaymentsSavedInfo) WriteBareTo

func (o *TLPaymentsSavedInfo) WriteBareTo(w *tl.Writer)

type TLPaymentsSendPaymentForm

type TLPaymentsSendPaymentForm struct {
	Flags            uint                          // flags:#
	MsgID            int                           // msg_id:int
	RequestedInfoID  string                        // flags.0?requested_info_id:string
	ShippingOptionID string                        // flags.1?shipping_option_id:string
	Credentials      TLInputPaymentCredentialsType // credentials:InputPaymentCredentials
}

TLPaymentsSendPaymentForm represents func payments.sendPaymentForm#2b8879b3 flags:# msg_id:int flags.0?requested_info_id:string flags.1?shipping_option_id:string credentials:InputPaymentCredentials = payments.PaymentResult from Telegram

func (*TLPaymentsSendPaymentForm) Cmd

func (*TLPaymentsSendPaymentForm) HasRequestedInfoID

func (o *TLPaymentsSendPaymentForm) HasRequestedInfoID() bool

func (*TLPaymentsSendPaymentForm) HasShippingOptionID

func (o *TLPaymentsSendPaymentForm) HasShippingOptionID() bool

func (*TLPaymentsSendPaymentForm) ReadBareFrom

func (o *TLPaymentsSendPaymentForm) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsSendPaymentForm) SetHasRequestedInfoID

func (o *TLPaymentsSendPaymentForm) SetHasRequestedInfoID(v bool)

func (*TLPaymentsSendPaymentForm) SetHasShippingOptionID

func (o *TLPaymentsSendPaymentForm) SetHasShippingOptionID(v bool)

func (*TLPaymentsSendPaymentForm) String

func (o *TLPaymentsSendPaymentForm) String() string

func (*TLPaymentsSendPaymentForm) WriteBareTo

func (o *TLPaymentsSendPaymentForm) WriteBareTo(w *tl.Writer)

type TLPaymentsValidateRequestedInfo

type TLPaymentsValidateRequestedInfo struct {
	Flags uint                    // flags:#
	MsgID int                     // msg_id:int
	Info  *TLPaymentRequestedInfo // info:PaymentRequestedInfo
}

TLPaymentsValidateRequestedInfo represents func payments.validateRequestedInfo#770a8e74 flags:# flags.0?save:true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo from Telegram

func (*TLPaymentsValidateRequestedInfo) Cmd

func (*TLPaymentsValidateRequestedInfo) ReadBareFrom

func (o *TLPaymentsValidateRequestedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsValidateRequestedInfo) Save

func (*TLPaymentsValidateRequestedInfo) SetSave

func (o *TLPaymentsValidateRequestedInfo) SetSave(v bool)

func (*TLPaymentsValidateRequestedInfo) String

func (*TLPaymentsValidateRequestedInfo) WriteBareTo

func (o *TLPaymentsValidateRequestedInfo) WriteBareTo(w *tl.Writer)

type TLPaymentsValidatedRequestedInfo

type TLPaymentsValidatedRequestedInfo struct {
	Flags           uint                // flags:#
	ID              string              // flags.0?id:string
	ShippingOptions []*TLShippingOption // flags.1?shipping_options:Vector<ShippingOption>
}

TLPaymentsValidatedRequestedInfo represents ctor payments.validatedRequestedInfo#d1451883 flags:# flags.0?id:string flags.1?shipping_options:Vector<ShippingOption> = payments.ValidatedRequestedInfo from Telegram

func (*TLPaymentsValidatedRequestedInfo) Cmd

func (*TLPaymentsValidatedRequestedInfo) HasID

func (*TLPaymentsValidatedRequestedInfo) HasShippingOptions

func (o *TLPaymentsValidatedRequestedInfo) HasShippingOptions() bool

func (*TLPaymentsValidatedRequestedInfo) ReadBareFrom

func (o *TLPaymentsValidatedRequestedInfo) ReadBareFrom(r *tl.Reader)

func (*TLPaymentsValidatedRequestedInfo) SetHasID

func (o *TLPaymentsValidatedRequestedInfo) SetHasID(v bool)

func (*TLPaymentsValidatedRequestedInfo) SetHasShippingOptions

func (o *TLPaymentsValidatedRequestedInfo) SetHasShippingOptions(v bool)

func (*TLPaymentsValidatedRequestedInfo) String

func (*TLPaymentsValidatedRequestedInfo) WriteBareTo

func (o *TLPaymentsValidatedRequestedInfo) WriteBareTo(w *tl.Writer)

type TLPeerChannel

type TLPeerChannel struct {
	ChannelID int // channel_id:int
}

TLPeerChannel represents ctor peerChannel#bddde532 channel_id:int = Peer from Telegram

func (*TLPeerChannel) Cmd

func (o *TLPeerChannel) Cmd() uint32

func (*TLPeerChannel) IsTLPeer

func (o *TLPeerChannel) IsTLPeer()

func (*TLPeerChannel) ReadBareFrom

func (o *TLPeerChannel) ReadBareFrom(r *tl.Reader)

func (*TLPeerChannel) String

func (o *TLPeerChannel) String() string

func (*TLPeerChannel) WriteBareTo

func (o *TLPeerChannel) WriteBareTo(w *tl.Writer)

type TLPeerChat

type TLPeerChat struct {
	ChatID int // chat_id:int
}

TLPeerChat represents ctor peerChat#bad0e5bb chat_id:int = Peer from Telegram

func (*TLPeerChat) Cmd

func (o *TLPeerChat) Cmd() uint32

func (*TLPeerChat) IsTLPeer

func (o *TLPeerChat) IsTLPeer()

func (*TLPeerChat) ReadBareFrom

func (o *TLPeerChat) ReadBareFrom(r *tl.Reader)

func (*TLPeerChat) String

func (o *TLPeerChat) String() string

func (*TLPeerChat) WriteBareTo

func (o *TLPeerChat) WriteBareTo(w *tl.Writer)

type TLPeerNotifyEventsAll

type TLPeerNotifyEventsAll struct {
}

TLPeerNotifyEventsAll represents ctor peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents from Telegram

func (*TLPeerNotifyEventsAll) Cmd

func (o *TLPeerNotifyEventsAll) Cmd() uint32

func (*TLPeerNotifyEventsAll) IsTLPeerNotifyEvents

func (o *TLPeerNotifyEventsAll) IsTLPeerNotifyEvents()

func (*TLPeerNotifyEventsAll) ReadBareFrom

func (o *TLPeerNotifyEventsAll) ReadBareFrom(r *tl.Reader)

func (*TLPeerNotifyEventsAll) String

func (o *TLPeerNotifyEventsAll) String() string

func (*TLPeerNotifyEventsAll) WriteBareTo

func (o *TLPeerNotifyEventsAll) WriteBareTo(w *tl.Writer)

type TLPeerNotifyEventsEmpty

type TLPeerNotifyEventsEmpty struct {
}

TLPeerNotifyEventsEmpty represents ctor peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents from Telegram

func (*TLPeerNotifyEventsEmpty) Cmd

func (*TLPeerNotifyEventsEmpty) IsTLPeerNotifyEvents

func (o *TLPeerNotifyEventsEmpty) IsTLPeerNotifyEvents()

func (*TLPeerNotifyEventsEmpty) ReadBareFrom

func (o *TLPeerNotifyEventsEmpty) ReadBareFrom(r *tl.Reader)

func (*TLPeerNotifyEventsEmpty) String

func (o *TLPeerNotifyEventsEmpty) String() string

func (*TLPeerNotifyEventsEmpty) WriteBareTo

func (o *TLPeerNotifyEventsEmpty) WriteBareTo(w *tl.Writer)

type TLPeerNotifyEventsType

type TLPeerNotifyEventsType interface {
	IsTLPeerNotifyEvents()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPeerNotifyEventsType represents PeerNotifyEvents from Telegram

type TLPeerNotifySettings

type TLPeerNotifySettings struct {
	Flags     uint   // flags:#
	MuteUntil int    // mute_until:int
	Sound     string // sound:string
}

TLPeerNotifySettings represents ctor peerNotifySettings#9acda4c0 flags:# flags.0?show_previews:true flags.1?silent:true mute_until:int sound:string = PeerNotifySettings from Telegram

func (*TLPeerNotifySettings) Cmd

func (o *TLPeerNotifySettings) Cmd() uint32

func (*TLPeerNotifySettings) IsTLPeerNotifySettings

func (o *TLPeerNotifySettings) IsTLPeerNotifySettings()

func (*TLPeerNotifySettings) ReadBareFrom

func (o *TLPeerNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLPeerNotifySettings) SetShowPreviews

func (o *TLPeerNotifySettings) SetShowPreviews(v bool)

func (*TLPeerNotifySettings) SetSilent

func (o *TLPeerNotifySettings) SetSilent(v bool)

func (*TLPeerNotifySettings) ShowPreviews

func (o *TLPeerNotifySettings) ShowPreviews() bool

func (*TLPeerNotifySettings) Silent

func (o *TLPeerNotifySettings) Silent() bool

func (*TLPeerNotifySettings) String

func (o *TLPeerNotifySettings) String() string

func (*TLPeerNotifySettings) WriteBareTo

func (o *TLPeerNotifySettings) WriteBareTo(w *tl.Writer)

type TLPeerNotifySettingsEmpty

type TLPeerNotifySettingsEmpty struct {
}

TLPeerNotifySettingsEmpty represents ctor peerNotifySettingsEmpty#70a68512 = PeerNotifySettings from Telegram

func (*TLPeerNotifySettingsEmpty) Cmd

func (*TLPeerNotifySettingsEmpty) IsTLPeerNotifySettings

func (o *TLPeerNotifySettingsEmpty) IsTLPeerNotifySettings()

func (*TLPeerNotifySettingsEmpty) ReadBareFrom

func (o *TLPeerNotifySettingsEmpty) ReadBareFrom(r *tl.Reader)

func (*TLPeerNotifySettingsEmpty) String

func (o *TLPeerNotifySettingsEmpty) String() string

func (*TLPeerNotifySettingsEmpty) WriteBareTo

func (o *TLPeerNotifySettingsEmpty) WriteBareTo(w *tl.Writer)

type TLPeerNotifySettingsType

type TLPeerNotifySettingsType interface {
	IsTLPeerNotifySettings()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPeerNotifySettingsType represents PeerNotifySettings from Telegram

type TLPeerSettings

type TLPeerSettings struct {
	Flags uint // flags:#
}

TLPeerSettings represents ctor peerSettings#818426cd flags:# flags.0?report_spam:true = PeerSettings from Telegram

func (*TLPeerSettings) Cmd

func (o *TLPeerSettings) Cmd() uint32

func (*TLPeerSettings) ReadBareFrom

func (o *TLPeerSettings) ReadBareFrom(r *tl.Reader)

func (*TLPeerSettings) ReportSpam

func (o *TLPeerSettings) ReportSpam() bool

func (*TLPeerSettings) SetReportSpam

func (o *TLPeerSettings) SetReportSpam(v bool)

func (*TLPeerSettings) String

func (o *TLPeerSettings) String() string

func (*TLPeerSettings) WriteBareTo

func (o *TLPeerSettings) WriteBareTo(w *tl.Writer)

type TLPeerType

type TLPeerType interface {
	IsTLPeer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPeerType represents Peer from Telegram

type TLPeerUser

type TLPeerUser struct {
	UserID int // user_id:int
}

TLPeerUser represents ctor peerUser#9db1bc6d user_id:int = Peer from Telegram

func (*TLPeerUser) Cmd

func (o *TLPeerUser) Cmd() uint32

func (*TLPeerUser) IsTLPeer

func (o *TLPeerUser) IsTLPeer()

func (*TLPeerUser) ReadBareFrom

func (o *TLPeerUser) ReadBareFrom(r *tl.Reader)

func (*TLPeerUser) String

func (o *TLPeerUser) String() string

func (*TLPeerUser) WriteBareTo

func (o *TLPeerUser) WriteBareTo(w *tl.Writer)

type TLPhoneAcceptCall

type TLPhoneAcceptCall struct {
	Peer     *TLInputPhoneCall    // peer:InputPhoneCall
	GB       []byte               // g_b:bytes
	Protocol *TLPhoneCallProtocol // protocol:PhoneCallProtocol
}

TLPhoneAcceptCall represents func phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall from Telegram

func (*TLPhoneAcceptCall) Cmd

func (o *TLPhoneAcceptCall) Cmd() uint32

func (*TLPhoneAcceptCall) ReadBareFrom

func (o *TLPhoneAcceptCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneAcceptCall) String

func (o *TLPhoneAcceptCall) String() string

func (*TLPhoneAcceptCall) WriteBareTo

func (o *TLPhoneAcceptCall) WriteBareTo(w *tl.Writer)

type TLPhoneCall

type TLPhoneCall struct {
	ID                     uint64               // id:long
	AccessHash             uint64               // access_hash:long
	Date                   int                  // date:int
	AdminID                int                  // admin_id:int
	ParticipantID          int                  // participant_id:int
	GAOrB                  []byte               // g_a_or_b:bytes
	KeyFingerprint         uint64               // key_fingerprint:long
	Protocol               *TLPhoneCallProtocol // protocol:PhoneCallProtocol
	Connection             *TLPhoneConnection   // connection:PhoneConnection
	AlternativeConnections []*TLPhoneConnection // alternative_connections:Vector<PhoneConnection>
	StartDate              int                  // start_date:int
}

TLPhoneCall represents ctor phoneCall#ffe6ab67 id:long access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long protocol:PhoneCallProtocol connection:PhoneConnection alternative_connections:Vector<PhoneConnection> start_date:int = PhoneCall from Telegram

func (*TLPhoneCall) Cmd

func (o *TLPhoneCall) Cmd() uint32

func (*TLPhoneCall) IsTLPhoneCall

func (o *TLPhoneCall) IsTLPhoneCall()

func (*TLPhoneCall) ReadBareFrom

func (o *TLPhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCall) String

func (o *TLPhoneCall) String() string

func (*TLPhoneCall) WriteBareTo

func (o *TLPhoneCall) WriteBareTo(w *tl.Writer)

type TLPhoneCallAccepted

type TLPhoneCallAccepted struct {
	ID            uint64               // id:long
	AccessHash    uint64               // access_hash:long
	Date          int                  // date:int
	AdminID       int                  // admin_id:int
	ParticipantID int                  // participant_id:int
	GB            []byte               // g_b:bytes
	Protocol      *TLPhoneCallProtocol // protocol:PhoneCallProtocol
}

TLPhoneCallAccepted represents ctor phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall from Telegram

func (*TLPhoneCallAccepted) Cmd

func (o *TLPhoneCallAccepted) Cmd() uint32

func (*TLPhoneCallAccepted) IsTLPhoneCall

func (o *TLPhoneCallAccepted) IsTLPhoneCall()

func (*TLPhoneCallAccepted) ReadBareFrom

func (o *TLPhoneCallAccepted) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallAccepted) String

func (o *TLPhoneCallAccepted) String() string

func (*TLPhoneCallAccepted) WriteBareTo

func (o *TLPhoneCallAccepted) WriteBareTo(w *tl.Writer)

type TLPhoneCallDiscardReasonBusy

type TLPhoneCallDiscardReasonBusy struct {
}

TLPhoneCallDiscardReasonBusy represents ctor phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason from Telegram

func (*TLPhoneCallDiscardReasonBusy) Cmd

func (*TLPhoneCallDiscardReasonBusy) IsTLPhoneCallDiscardReason

func (o *TLPhoneCallDiscardReasonBusy) IsTLPhoneCallDiscardReason()

func (*TLPhoneCallDiscardReasonBusy) ReadBareFrom

func (o *TLPhoneCallDiscardReasonBusy) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallDiscardReasonBusy) String

func (*TLPhoneCallDiscardReasonBusy) WriteBareTo

func (o *TLPhoneCallDiscardReasonBusy) WriteBareTo(w *tl.Writer)

type TLPhoneCallDiscardReasonDisconnect

type TLPhoneCallDiscardReasonDisconnect struct {
}

TLPhoneCallDiscardReasonDisconnect represents ctor phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason from Telegram

func (*TLPhoneCallDiscardReasonDisconnect) Cmd

func (*TLPhoneCallDiscardReasonDisconnect) IsTLPhoneCallDiscardReason

func (o *TLPhoneCallDiscardReasonDisconnect) IsTLPhoneCallDiscardReason()

func (*TLPhoneCallDiscardReasonDisconnect) ReadBareFrom

func (o *TLPhoneCallDiscardReasonDisconnect) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallDiscardReasonDisconnect) String

func (*TLPhoneCallDiscardReasonDisconnect) WriteBareTo

func (o *TLPhoneCallDiscardReasonDisconnect) WriteBareTo(w *tl.Writer)

type TLPhoneCallDiscardReasonHangup

type TLPhoneCallDiscardReasonHangup struct {
}

TLPhoneCallDiscardReasonHangup represents ctor phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason from Telegram

func (*TLPhoneCallDiscardReasonHangup) Cmd

func (*TLPhoneCallDiscardReasonHangup) IsTLPhoneCallDiscardReason

func (o *TLPhoneCallDiscardReasonHangup) IsTLPhoneCallDiscardReason()

func (*TLPhoneCallDiscardReasonHangup) ReadBareFrom

func (o *TLPhoneCallDiscardReasonHangup) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallDiscardReasonHangup) String

func (*TLPhoneCallDiscardReasonHangup) WriteBareTo

func (o *TLPhoneCallDiscardReasonHangup) WriteBareTo(w *tl.Writer)

type TLPhoneCallDiscardReasonMissed

type TLPhoneCallDiscardReasonMissed struct {
}

TLPhoneCallDiscardReasonMissed represents ctor phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason from Telegram

func (*TLPhoneCallDiscardReasonMissed) Cmd

func (*TLPhoneCallDiscardReasonMissed) IsTLPhoneCallDiscardReason

func (o *TLPhoneCallDiscardReasonMissed) IsTLPhoneCallDiscardReason()

func (*TLPhoneCallDiscardReasonMissed) ReadBareFrom

func (o *TLPhoneCallDiscardReasonMissed) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallDiscardReasonMissed) String

func (*TLPhoneCallDiscardReasonMissed) WriteBareTo

func (o *TLPhoneCallDiscardReasonMissed) WriteBareTo(w *tl.Writer)

type TLPhoneCallDiscardReasonType

type TLPhoneCallDiscardReasonType interface {
	IsTLPhoneCallDiscardReason()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPhoneCallDiscardReasonType represents PhoneCallDiscardReason from Telegram

type TLPhoneCallDiscarded

type TLPhoneCallDiscarded struct {
	Flags    uint                         // flags:#
	ID       uint64                       // id:long
	Reason   TLPhoneCallDiscardReasonType // flags.0?reason:PhoneCallDiscardReason
	Duration int                          // flags.1?duration:int
}

TLPhoneCallDiscarded represents ctor phoneCallDiscarded#50ca4de1 flags:# flags.2?need_rating:true flags.3?need_debug:true id:long flags.0?reason:PhoneCallDiscardReason flags.1?duration:int = PhoneCall from Telegram

func (*TLPhoneCallDiscarded) Cmd

func (o *TLPhoneCallDiscarded) Cmd() uint32

func (*TLPhoneCallDiscarded) HasDuration

func (o *TLPhoneCallDiscarded) HasDuration() bool

func (*TLPhoneCallDiscarded) HasReason

func (o *TLPhoneCallDiscarded) HasReason() bool

func (*TLPhoneCallDiscarded) IsTLPhoneCall

func (o *TLPhoneCallDiscarded) IsTLPhoneCall()

func (*TLPhoneCallDiscarded) NeedDebug

func (o *TLPhoneCallDiscarded) NeedDebug() bool

func (*TLPhoneCallDiscarded) NeedRating

func (o *TLPhoneCallDiscarded) NeedRating() bool

func (*TLPhoneCallDiscarded) ReadBareFrom

func (o *TLPhoneCallDiscarded) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallDiscarded) SetHasDuration

func (o *TLPhoneCallDiscarded) SetHasDuration(v bool)

func (*TLPhoneCallDiscarded) SetHasReason

func (o *TLPhoneCallDiscarded) SetHasReason(v bool)

func (*TLPhoneCallDiscarded) SetNeedDebug

func (o *TLPhoneCallDiscarded) SetNeedDebug(v bool)

func (*TLPhoneCallDiscarded) SetNeedRating

func (o *TLPhoneCallDiscarded) SetNeedRating(v bool)

func (*TLPhoneCallDiscarded) String

func (o *TLPhoneCallDiscarded) String() string

func (*TLPhoneCallDiscarded) WriteBareTo

func (o *TLPhoneCallDiscarded) WriteBareTo(w *tl.Writer)

type TLPhoneCallEmpty

type TLPhoneCallEmpty struct {
	ID uint64 // id:long
}

TLPhoneCallEmpty represents ctor phoneCallEmpty#5366c915 id:long = PhoneCall from Telegram

func (*TLPhoneCallEmpty) Cmd

func (o *TLPhoneCallEmpty) Cmd() uint32

func (*TLPhoneCallEmpty) IsTLPhoneCall

func (o *TLPhoneCallEmpty) IsTLPhoneCall()

func (*TLPhoneCallEmpty) ReadBareFrom

func (o *TLPhoneCallEmpty) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallEmpty) String

func (o *TLPhoneCallEmpty) String() string

func (*TLPhoneCallEmpty) WriteBareTo

func (o *TLPhoneCallEmpty) WriteBareTo(w *tl.Writer)

type TLPhoneCallProtocol

type TLPhoneCallProtocol struct {
	Flags    uint // flags:#
	MinLayer int  // min_layer:int
	MaxLayer int  // max_layer:int
}

TLPhoneCallProtocol represents ctor phoneCallProtocol#a2bb35cb flags:# flags.0?udp_p2p:true flags.1?udp_reflector:true min_layer:int max_layer:int = PhoneCallProtocol from Telegram

func (*TLPhoneCallProtocol) Cmd

func (o *TLPhoneCallProtocol) Cmd() uint32

func (*TLPhoneCallProtocol) ReadBareFrom

func (o *TLPhoneCallProtocol) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallProtocol) SetUdpP2p

func (o *TLPhoneCallProtocol) SetUdpP2p(v bool)

func (*TLPhoneCallProtocol) SetUdpReflector

func (o *TLPhoneCallProtocol) SetUdpReflector(v bool)

func (*TLPhoneCallProtocol) String

func (o *TLPhoneCallProtocol) String() string

func (*TLPhoneCallProtocol) UdpP2p

func (o *TLPhoneCallProtocol) UdpP2p() bool

func (*TLPhoneCallProtocol) UdpReflector

func (o *TLPhoneCallProtocol) UdpReflector() bool

func (*TLPhoneCallProtocol) WriteBareTo

func (o *TLPhoneCallProtocol) WriteBareTo(w *tl.Writer)

type TLPhoneCallRequested

type TLPhoneCallRequested struct {
	ID            uint64               // id:long
	AccessHash    uint64               // access_hash:long
	Date          int                  // date:int
	AdminID       int                  // admin_id:int
	ParticipantID int                  // participant_id:int
	GAHash        []byte               // g_a_hash:bytes
	Protocol      *TLPhoneCallProtocol // protocol:PhoneCallProtocol
}

TLPhoneCallRequested represents ctor phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall from Telegram

func (*TLPhoneCallRequested) Cmd

func (o *TLPhoneCallRequested) Cmd() uint32

func (*TLPhoneCallRequested) IsTLPhoneCall

func (o *TLPhoneCallRequested) IsTLPhoneCall()

func (*TLPhoneCallRequested) ReadBareFrom

func (o *TLPhoneCallRequested) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallRequested) String

func (o *TLPhoneCallRequested) String() string

func (*TLPhoneCallRequested) WriteBareTo

func (o *TLPhoneCallRequested) WriteBareTo(w *tl.Writer)

type TLPhoneCallType

type TLPhoneCallType interface {
	IsTLPhoneCall()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPhoneCallType represents PhoneCall from Telegram

type TLPhoneCallWaiting

type TLPhoneCallWaiting struct {
	Flags         uint                 // flags:#
	ID            uint64               // id:long
	AccessHash    uint64               // access_hash:long
	Date          int                  // date:int
	AdminID       int                  // admin_id:int
	ParticipantID int                  // participant_id:int
	Protocol      *TLPhoneCallProtocol // protocol:PhoneCallProtocol
	ReceiveDate   int                  // flags.0?receive_date:int
}

TLPhoneCallWaiting represents ctor phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol flags.0?receive_date:int = PhoneCall from Telegram

func (*TLPhoneCallWaiting) Cmd

func (o *TLPhoneCallWaiting) Cmd() uint32

func (*TLPhoneCallWaiting) HasReceiveDate

func (o *TLPhoneCallWaiting) HasReceiveDate() bool

func (*TLPhoneCallWaiting) IsTLPhoneCall

func (o *TLPhoneCallWaiting) IsTLPhoneCall()

func (*TLPhoneCallWaiting) ReadBareFrom

func (o *TLPhoneCallWaiting) ReadBareFrom(r *tl.Reader)

func (*TLPhoneCallWaiting) SetHasReceiveDate

func (o *TLPhoneCallWaiting) SetHasReceiveDate(v bool)

func (*TLPhoneCallWaiting) String

func (o *TLPhoneCallWaiting) String() string

func (*TLPhoneCallWaiting) WriteBareTo

func (o *TLPhoneCallWaiting) WriteBareTo(w *tl.Writer)

type TLPhoneConfirmCall

type TLPhoneConfirmCall struct {
	Peer           *TLInputPhoneCall    // peer:InputPhoneCall
	GA             []byte               // g_a:bytes
	KeyFingerprint uint64               // key_fingerprint:long
	Protocol       *TLPhoneCallProtocol // protocol:PhoneCallProtocol
}

TLPhoneConfirmCall represents func phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall from Telegram

func (*TLPhoneConfirmCall) Cmd

func (o *TLPhoneConfirmCall) Cmd() uint32

func (*TLPhoneConfirmCall) ReadBareFrom

func (o *TLPhoneConfirmCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneConfirmCall) String

func (o *TLPhoneConfirmCall) String() string

func (*TLPhoneConfirmCall) WriteBareTo

func (o *TLPhoneConfirmCall) WriteBareTo(w *tl.Writer)

type TLPhoneConnection

type TLPhoneConnection struct {
	ID      uint64 // id:long
	IP      string // ip:string
	IPv6    string // ipv6:string
	Port    int    // port:int
	PeerTag []byte // peer_tag:bytes
}

TLPhoneConnection represents ctor phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection from Telegram

func (*TLPhoneConnection) Cmd

func (o *TLPhoneConnection) Cmd() uint32

func (*TLPhoneConnection) ReadBareFrom

func (o *TLPhoneConnection) ReadBareFrom(r *tl.Reader)

func (*TLPhoneConnection) String

func (o *TLPhoneConnection) String() string

func (*TLPhoneConnection) WriteBareTo

func (o *TLPhoneConnection) WriteBareTo(w *tl.Writer)

type TLPhoneDiscardCall

type TLPhoneDiscardCall struct {
	Peer         *TLInputPhoneCall            // peer:InputPhoneCall
	Duration     int                          // duration:int
	Reason       TLPhoneCallDiscardReasonType // reason:PhoneCallDiscardReason
	ConnectionID uint64                       // connection_id:long
}

TLPhoneDiscardCall represents func phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates from Telegram

func (*TLPhoneDiscardCall) Cmd

func (o *TLPhoneDiscardCall) Cmd() uint32

func (*TLPhoneDiscardCall) ReadBareFrom

func (o *TLPhoneDiscardCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneDiscardCall) String

func (o *TLPhoneDiscardCall) String() string

func (*TLPhoneDiscardCall) WriteBareTo

func (o *TLPhoneDiscardCall) WriteBareTo(w *tl.Writer)

type TLPhoneGetCallConfig

type TLPhoneGetCallConfig struct {
}

TLPhoneGetCallConfig represents func phone.getCallConfig#55451fa9 = DataJSON from Telegram

func (*TLPhoneGetCallConfig) Cmd

func (o *TLPhoneGetCallConfig) Cmd() uint32

func (*TLPhoneGetCallConfig) ReadBareFrom

func (o *TLPhoneGetCallConfig) ReadBareFrom(r *tl.Reader)

func (*TLPhoneGetCallConfig) String

func (o *TLPhoneGetCallConfig) String() string

func (*TLPhoneGetCallConfig) WriteBareTo

func (o *TLPhoneGetCallConfig) WriteBareTo(w *tl.Writer)

type TLPhonePhoneCall

type TLPhonePhoneCall struct {
	PhoneCall TLPhoneCallType // phone_call:PhoneCall
	Users     []TLUserType    // users:Vector<User>
}

TLPhonePhoneCall represents ctor phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall from Telegram

func (*TLPhonePhoneCall) Cmd

func (o *TLPhonePhoneCall) Cmd() uint32

func (*TLPhonePhoneCall) ReadBareFrom

func (o *TLPhonePhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLPhonePhoneCall) String

func (o *TLPhonePhoneCall) String() string

func (*TLPhonePhoneCall) WriteBareTo

func (o *TLPhonePhoneCall) WriteBareTo(w *tl.Writer)

type TLPhoneReceivedCall

type TLPhoneReceivedCall struct {
	Peer *TLInputPhoneCall // peer:InputPhoneCall
}

TLPhoneReceivedCall represents func phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool from Telegram

func (*TLPhoneReceivedCall) Cmd

func (o *TLPhoneReceivedCall) Cmd() uint32

func (*TLPhoneReceivedCall) ReadBareFrom

func (o *TLPhoneReceivedCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneReceivedCall) String

func (o *TLPhoneReceivedCall) String() string

func (*TLPhoneReceivedCall) WriteBareTo

func (o *TLPhoneReceivedCall) WriteBareTo(w *tl.Writer)

type TLPhoneRequestCall

type TLPhoneRequestCall struct {
	UserID   TLInputUserType      // user_id:InputUser
	RandomID int                  // random_id:int
	GAHash   []byte               // g_a_hash:bytes
	Protocol *TLPhoneCallProtocol // protocol:PhoneCallProtocol
}

TLPhoneRequestCall represents func phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall from Telegram

func (*TLPhoneRequestCall) Cmd

func (o *TLPhoneRequestCall) Cmd() uint32

func (*TLPhoneRequestCall) ReadBareFrom

func (o *TLPhoneRequestCall) ReadBareFrom(r *tl.Reader)

func (*TLPhoneRequestCall) String

func (o *TLPhoneRequestCall) String() string

func (*TLPhoneRequestCall) WriteBareTo

func (o *TLPhoneRequestCall) WriteBareTo(w *tl.Writer)

type TLPhoneSaveCallDebug

type TLPhoneSaveCallDebug struct {
	Peer  *TLInputPhoneCall // peer:InputPhoneCall
	Debug *TLDataJSON       // debug:DataJSON
}

TLPhoneSaveCallDebug represents func phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool from Telegram

func (*TLPhoneSaveCallDebug) Cmd

func (o *TLPhoneSaveCallDebug) Cmd() uint32

func (*TLPhoneSaveCallDebug) ReadBareFrom

func (o *TLPhoneSaveCallDebug) ReadBareFrom(r *tl.Reader)

func (*TLPhoneSaveCallDebug) String

func (o *TLPhoneSaveCallDebug) String() string

func (*TLPhoneSaveCallDebug) WriteBareTo

func (o *TLPhoneSaveCallDebug) WriteBareTo(w *tl.Writer)

type TLPhoneSetCallRating

type TLPhoneSetCallRating struct {
	Peer    *TLInputPhoneCall // peer:InputPhoneCall
	Rating  int               // rating:int
	Comment string            // comment:string
}

TLPhoneSetCallRating represents func phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates from Telegram

func (*TLPhoneSetCallRating) Cmd

func (o *TLPhoneSetCallRating) Cmd() uint32

func (*TLPhoneSetCallRating) ReadBareFrom

func (o *TLPhoneSetCallRating) ReadBareFrom(r *tl.Reader)

func (*TLPhoneSetCallRating) String

func (o *TLPhoneSetCallRating) String() string

func (*TLPhoneSetCallRating) WriteBareTo

func (o *TLPhoneSetCallRating) WriteBareTo(w *tl.Writer)

type TLPhoto

type TLPhoto struct {
	Flags      uint              // flags:#
	ID         uint64            // id:long
	AccessHash uint64            // access_hash:long
	Date       int               // date:int
	Sizes      []TLPhotoSizeType // sizes:Vector<PhotoSize>
}

TLPhoto represents ctor photo#9288dd29 flags:# flags.0?has_stickers:true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo from Telegram

func (*TLPhoto) Cmd

func (o *TLPhoto) Cmd() uint32

func (*TLPhoto) HasStickers

func (o *TLPhoto) HasStickers() bool

func (*TLPhoto) IsTLPhoto

func (o *TLPhoto) IsTLPhoto()

func (*TLPhoto) ReadBareFrom

func (o *TLPhoto) ReadBareFrom(r *tl.Reader)

func (*TLPhoto) SetHasStickers

func (o *TLPhoto) SetHasStickers(v bool)

func (*TLPhoto) String

func (o *TLPhoto) String() string

func (*TLPhoto) WriteBareTo

func (o *TLPhoto) WriteBareTo(w *tl.Writer)

type TLPhotoCachedSize

type TLPhotoCachedSize struct {
	Type     string             // type:string
	Location TLFileLocationType // location:FileLocation
	W        int                // w:int
	H        int                // h:int
	Bytes    []byte             // bytes:bytes
}

TLPhotoCachedSize represents ctor photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize from Telegram

func (*TLPhotoCachedSize) Cmd

func (o *TLPhotoCachedSize) Cmd() uint32

func (*TLPhotoCachedSize) IsTLPhotoSize

func (o *TLPhotoCachedSize) IsTLPhotoSize()

func (*TLPhotoCachedSize) ReadBareFrom

func (o *TLPhotoCachedSize) ReadBareFrom(r *tl.Reader)

func (*TLPhotoCachedSize) String

func (o *TLPhotoCachedSize) String() string

func (*TLPhotoCachedSize) WriteBareTo

func (o *TLPhotoCachedSize) WriteBareTo(w *tl.Writer)

type TLPhotoEmpty

type TLPhotoEmpty struct {
	ID uint64 // id:long
}

TLPhotoEmpty represents ctor photoEmpty#2331b22d id:long = Photo from Telegram

func (*TLPhotoEmpty) Cmd

func (o *TLPhotoEmpty) Cmd() uint32

func (*TLPhotoEmpty) IsTLPhoto

func (o *TLPhotoEmpty) IsTLPhoto()

func (*TLPhotoEmpty) ReadBareFrom

func (o *TLPhotoEmpty) ReadBareFrom(r *tl.Reader)

func (*TLPhotoEmpty) String

func (o *TLPhotoEmpty) String() string

func (*TLPhotoEmpty) WriteBareTo

func (o *TLPhotoEmpty) WriteBareTo(w *tl.Writer)

type TLPhotoSize

type TLPhotoSize struct {
	Type     string             // type:string
	Location TLFileLocationType // location:FileLocation
	W        int                // w:int
	H        int                // h:int
	Size     int                // size:int
}

TLPhotoSize represents ctor photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize from Telegram

func (*TLPhotoSize) Cmd

func (o *TLPhotoSize) Cmd() uint32

func (*TLPhotoSize) IsTLPhotoSize

func (o *TLPhotoSize) IsTLPhotoSize()

func (*TLPhotoSize) ReadBareFrom

func (o *TLPhotoSize) ReadBareFrom(r *tl.Reader)

func (*TLPhotoSize) String

func (o *TLPhotoSize) String() string

func (*TLPhotoSize) WriteBareTo

func (o *TLPhotoSize) WriteBareTo(w *tl.Writer)

type TLPhotoSizeEmpty

type TLPhotoSizeEmpty struct {
	Type string // type:string
}

TLPhotoSizeEmpty represents ctor photoSizeEmpty#0e17e23c type:string = PhotoSize from Telegram

func (*TLPhotoSizeEmpty) Cmd

func (o *TLPhotoSizeEmpty) Cmd() uint32

func (*TLPhotoSizeEmpty) IsTLPhotoSize

func (o *TLPhotoSizeEmpty) IsTLPhotoSize()

func (*TLPhotoSizeEmpty) ReadBareFrom

func (o *TLPhotoSizeEmpty) ReadBareFrom(r *tl.Reader)

func (*TLPhotoSizeEmpty) String

func (o *TLPhotoSizeEmpty) String() string

func (*TLPhotoSizeEmpty) WriteBareTo

func (o *TLPhotoSizeEmpty) WriteBareTo(w *tl.Writer)

type TLPhotoSizeType

type TLPhotoSizeType interface {
	IsTLPhotoSize()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPhotoSizeType represents PhotoSize from Telegram

type TLPhotoType

type TLPhotoType interface {
	IsTLPhoto()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPhotoType represents Photo from Telegram

type TLPhotosDeletePhotos

type TLPhotosDeletePhotos struct {
	ID []TLInputPhotoType // id:Vector<InputPhoto>
}

TLPhotosDeletePhotos represents func photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long> from Telegram

func (*TLPhotosDeletePhotos) Cmd

func (o *TLPhotosDeletePhotos) Cmd() uint32

func (*TLPhotosDeletePhotos) ReadBareFrom

func (o *TLPhotosDeletePhotos) ReadBareFrom(r *tl.Reader)

func (*TLPhotosDeletePhotos) String

func (o *TLPhotosDeletePhotos) String() string

func (*TLPhotosDeletePhotos) WriteBareTo

func (o *TLPhotosDeletePhotos) WriteBareTo(w *tl.Writer)

type TLPhotosGetUserPhotos

type TLPhotosGetUserPhotos struct {
	UserID TLInputUserType // user_id:InputUser
	Offset int             // offset:int
	MaxID  uint64          // max_id:long
	Limit  int             // limit:int
}

TLPhotosGetUserPhotos represents func photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos from Telegram

func (*TLPhotosGetUserPhotos) Cmd

func (o *TLPhotosGetUserPhotos) Cmd() uint32

func (*TLPhotosGetUserPhotos) ReadBareFrom

func (o *TLPhotosGetUserPhotos) ReadBareFrom(r *tl.Reader)

func (*TLPhotosGetUserPhotos) String

func (o *TLPhotosGetUserPhotos) String() string

func (*TLPhotosGetUserPhotos) WriteBareTo

func (o *TLPhotosGetUserPhotos) WriteBareTo(w *tl.Writer)

type TLPhotosPhoto

type TLPhotosPhoto struct {
	Photo TLPhotoType  // photo:Photo
	Users []TLUserType // users:Vector<User>
}

TLPhotosPhoto represents ctor photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo from Telegram

func (*TLPhotosPhoto) Cmd

func (o *TLPhotosPhoto) Cmd() uint32

func (*TLPhotosPhoto) ReadBareFrom

func (o *TLPhotosPhoto) ReadBareFrom(r *tl.Reader)

func (*TLPhotosPhoto) String

func (o *TLPhotosPhoto) String() string

func (*TLPhotosPhoto) WriteBareTo

func (o *TLPhotosPhoto) WriteBareTo(w *tl.Writer)

type TLPhotosPhotos

type TLPhotosPhotos struct {
	Photos []TLPhotoType // photos:Vector<Photo>
	Users  []TLUserType  // users:Vector<User>
}

TLPhotosPhotos represents ctor photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos from Telegram

func (*TLPhotosPhotos) Cmd

func (o *TLPhotosPhotos) Cmd() uint32

func (*TLPhotosPhotos) IsTLPhotosPhotos

func (o *TLPhotosPhotos) IsTLPhotosPhotos()

func (*TLPhotosPhotos) ReadBareFrom

func (o *TLPhotosPhotos) ReadBareFrom(r *tl.Reader)

func (*TLPhotosPhotos) String

func (o *TLPhotosPhotos) String() string

func (*TLPhotosPhotos) WriteBareTo

func (o *TLPhotosPhotos) WriteBareTo(w *tl.Writer)

type TLPhotosPhotosSlice

type TLPhotosPhotosSlice struct {
	Count  int           // count:int
	Photos []TLPhotoType // photos:Vector<Photo>
	Users  []TLUserType  // users:Vector<User>
}

TLPhotosPhotosSlice represents ctor photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos from Telegram

func (*TLPhotosPhotosSlice) Cmd

func (o *TLPhotosPhotosSlice) Cmd() uint32

func (*TLPhotosPhotosSlice) IsTLPhotosPhotos

func (o *TLPhotosPhotosSlice) IsTLPhotosPhotos()

func (*TLPhotosPhotosSlice) ReadBareFrom

func (o *TLPhotosPhotosSlice) ReadBareFrom(r *tl.Reader)

func (*TLPhotosPhotosSlice) String

func (o *TLPhotosPhotosSlice) String() string

func (*TLPhotosPhotosSlice) WriteBareTo

func (o *TLPhotosPhotosSlice) WriteBareTo(w *tl.Writer)

type TLPhotosPhotosType

type TLPhotosPhotosType interface {
	IsTLPhotosPhotos()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPhotosPhotosType represents photos.Photos from Telegram

type TLPhotosUpdateProfilePhoto

type TLPhotosUpdateProfilePhoto struct {
	ID TLInputPhotoType // id:InputPhoto
}

TLPhotosUpdateProfilePhoto represents func photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto from Telegram

func (*TLPhotosUpdateProfilePhoto) Cmd

func (*TLPhotosUpdateProfilePhoto) ReadBareFrom

func (o *TLPhotosUpdateProfilePhoto) ReadBareFrom(r *tl.Reader)

func (*TLPhotosUpdateProfilePhoto) String

func (o *TLPhotosUpdateProfilePhoto) String() string

func (*TLPhotosUpdateProfilePhoto) WriteBareTo

func (o *TLPhotosUpdateProfilePhoto) WriteBareTo(w *tl.Writer)

type TLPhotosUploadProfilePhoto

type TLPhotosUploadProfilePhoto struct {
	File TLInputFileType // file:InputFile
}

TLPhotosUploadProfilePhoto represents func photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo from Telegram

func (*TLPhotosUploadProfilePhoto) Cmd

func (*TLPhotosUploadProfilePhoto) ReadBareFrom

func (o *TLPhotosUploadProfilePhoto) ReadBareFrom(r *tl.Reader)

func (*TLPhotosUploadProfilePhoto) String

func (o *TLPhotosUploadProfilePhoto) String() string

func (*TLPhotosUploadProfilePhoto) WriteBareTo

func (o *TLPhotosUploadProfilePhoto) WriteBareTo(w *tl.Writer)

type TLPing

type TLPing struct {
	PingID uint64 // ping_id:long
}

TLPing represents func ping#7abe77ec ping_id:long = Pong from MTProto

func (*TLPing) Cmd

func (o *TLPing) Cmd() uint32

func (*TLPing) ReadBareFrom

func (o *TLPing) ReadBareFrom(r *tl.Reader)

func (*TLPing) String

func (o *TLPing) String() string

func (*TLPing) WriteBareTo

func (o *TLPing) WriteBareTo(w *tl.Writer)

type TLPingDelayDisconnect

type TLPingDelayDisconnect struct {
	PingID          uint64 // ping_id:long
	DisconnectDelay int    // disconnect_delay:int
}

TLPingDelayDisconnect represents func ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong from MTProto

func (*TLPingDelayDisconnect) Cmd

func (o *TLPingDelayDisconnect) Cmd() uint32

func (*TLPingDelayDisconnect) ReadBareFrom

func (o *TLPingDelayDisconnect) ReadBareFrom(r *tl.Reader)

func (*TLPingDelayDisconnect) String

func (o *TLPingDelayDisconnect) String() string

func (*TLPingDelayDisconnect) WriteBareTo

func (o *TLPingDelayDisconnect) WriteBareTo(w *tl.Writer)

type TLPong

type TLPong struct {
	MsgID  uint64 // msg_id:long
	PingID uint64 // ping_id:long
}

TLPong represents ctor pong#347773c5 msg_id:long ping_id:long = Pong from MTProto

func (*TLPong) Cmd

func (o *TLPong) Cmd() uint32

func (*TLPong) ReadBareFrom

func (o *TLPong) ReadBareFrom(r *tl.Reader)

func (*TLPong) String

func (o *TLPong) String() string

func (*TLPong) WriteBareTo

func (o *TLPong) WriteBareTo(w *tl.Writer)

type TLPostAddress

type TLPostAddress struct {
	StreetLine1 string // street_line1:string
	StreetLine2 string // street_line2:string
	City        string // city:string
	State       string // state:string
	CountryIso2 string // country_iso2:string
	PostCode    string // post_code:string
}

TLPostAddress represents ctor postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress from Telegram

func (*TLPostAddress) Cmd

func (o *TLPostAddress) Cmd() uint32

func (*TLPostAddress) ReadBareFrom

func (o *TLPostAddress) ReadBareFrom(r *tl.Reader)

func (*TLPostAddress) String

func (o *TLPostAddress) String() string

func (*TLPostAddress) WriteBareTo

func (o *TLPostAddress) WriteBareTo(w *tl.Writer)

type TLPrivacyKeyChatInvite

type TLPrivacyKeyChatInvite struct {
}

TLPrivacyKeyChatInvite represents ctor privacyKeyChatInvite#500e6dfa = PrivacyKey from Telegram

func (*TLPrivacyKeyChatInvite) Cmd

func (o *TLPrivacyKeyChatInvite) Cmd() uint32

func (*TLPrivacyKeyChatInvite) IsTLPrivacyKey

func (o *TLPrivacyKeyChatInvite) IsTLPrivacyKey()

func (*TLPrivacyKeyChatInvite) ReadBareFrom

func (o *TLPrivacyKeyChatInvite) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyKeyChatInvite) String

func (o *TLPrivacyKeyChatInvite) String() string

func (*TLPrivacyKeyChatInvite) WriteBareTo

func (o *TLPrivacyKeyChatInvite) WriteBareTo(w *tl.Writer)

type TLPrivacyKeyPhoneCall

type TLPrivacyKeyPhoneCall struct {
}

TLPrivacyKeyPhoneCall represents ctor privacyKeyPhoneCall#3d662b7b = PrivacyKey from Telegram

func (*TLPrivacyKeyPhoneCall) Cmd

func (o *TLPrivacyKeyPhoneCall) Cmd() uint32

func (*TLPrivacyKeyPhoneCall) IsTLPrivacyKey

func (o *TLPrivacyKeyPhoneCall) IsTLPrivacyKey()

func (*TLPrivacyKeyPhoneCall) ReadBareFrom

func (o *TLPrivacyKeyPhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyKeyPhoneCall) String

func (o *TLPrivacyKeyPhoneCall) String() string

func (*TLPrivacyKeyPhoneCall) WriteBareTo

func (o *TLPrivacyKeyPhoneCall) WriteBareTo(w *tl.Writer)

type TLPrivacyKeyStatusTimestamp

type TLPrivacyKeyStatusTimestamp struct {
}

TLPrivacyKeyStatusTimestamp represents ctor privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey from Telegram

func (*TLPrivacyKeyStatusTimestamp) Cmd

func (*TLPrivacyKeyStatusTimestamp) IsTLPrivacyKey

func (o *TLPrivacyKeyStatusTimestamp) IsTLPrivacyKey()

func (*TLPrivacyKeyStatusTimestamp) ReadBareFrom

func (o *TLPrivacyKeyStatusTimestamp) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyKeyStatusTimestamp) String

func (o *TLPrivacyKeyStatusTimestamp) String() string

func (*TLPrivacyKeyStatusTimestamp) WriteBareTo

func (o *TLPrivacyKeyStatusTimestamp) WriteBareTo(w *tl.Writer)

type TLPrivacyKeyType

type TLPrivacyKeyType interface {
	IsTLPrivacyKey()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPrivacyKeyType represents PrivacyKey from Telegram

type TLPrivacyRuleType

type TLPrivacyRuleType interface {
	IsTLPrivacyRule()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLPrivacyRuleType represents PrivacyRule from Telegram

type TLPrivacyValueAllowAll

type TLPrivacyValueAllowAll struct {
}

TLPrivacyValueAllowAll represents ctor privacyValueAllowAll#65427b82 = PrivacyRule from Telegram

func (*TLPrivacyValueAllowAll) Cmd

func (o *TLPrivacyValueAllowAll) Cmd() uint32

func (*TLPrivacyValueAllowAll) IsTLPrivacyRule

func (o *TLPrivacyValueAllowAll) IsTLPrivacyRule()

func (*TLPrivacyValueAllowAll) ReadBareFrom

func (o *TLPrivacyValueAllowAll) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueAllowAll) String

func (o *TLPrivacyValueAllowAll) String() string

func (*TLPrivacyValueAllowAll) WriteBareTo

func (o *TLPrivacyValueAllowAll) WriteBareTo(w *tl.Writer)

type TLPrivacyValueAllowContacts

type TLPrivacyValueAllowContacts struct {
}

TLPrivacyValueAllowContacts represents ctor privacyValueAllowContacts#fffe1bac = PrivacyRule from Telegram

func (*TLPrivacyValueAllowContacts) Cmd

func (*TLPrivacyValueAllowContacts) IsTLPrivacyRule

func (o *TLPrivacyValueAllowContacts) IsTLPrivacyRule()

func (*TLPrivacyValueAllowContacts) ReadBareFrom

func (o *TLPrivacyValueAllowContacts) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueAllowContacts) String

func (o *TLPrivacyValueAllowContacts) String() string

func (*TLPrivacyValueAllowContacts) WriteBareTo

func (o *TLPrivacyValueAllowContacts) WriteBareTo(w *tl.Writer)

type TLPrivacyValueAllowUsers

type TLPrivacyValueAllowUsers struct {
	Users []int // users:Vector<int>
}

TLPrivacyValueAllowUsers represents ctor privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule from Telegram

func (*TLPrivacyValueAllowUsers) Cmd

func (*TLPrivacyValueAllowUsers) IsTLPrivacyRule

func (o *TLPrivacyValueAllowUsers) IsTLPrivacyRule()

func (*TLPrivacyValueAllowUsers) ReadBareFrom

func (o *TLPrivacyValueAllowUsers) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueAllowUsers) String

func (o *TLPrivacyValueAllowUsers) String() string

func (*TLPrivacyValueAllowUsers) WriteBareTo

func (o *TLPrivacyValueAllowUsers) WriteBareTo(w *tl.Writer)

type TLPrivacyValueDisallowAll

type TLPrivacyValueDisallowAll struct {
}

TLPrivacyValueDisallowAll represents ctor privacyValueDisallowAll#8b73e763 = PrivacyRule from Telegram

func (*TLPrivacyValueDisallowAll) Cmd

func (*TLPrivacyValueDisallowAll) IsTLPrivacyRule

func (o *TLPrivacyValueDisallowAll) IsTLPrivacyRule()

func (*TLPrivacyValueDisallowAll) ReadBareFrom

func (o *TLPrivacyValueDisallowAll) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueDisallowAll) String

func (o *TLPrivacyValueDisallowAll) String() string

func (*TLPrivacyValueDisallowAll) WriteBareTo

func (o *TLPrivacyValueDisallowAll) WriteBareTo(w *tl.Writer)

type TLPrivacyValueDisallowContacts

type TLPrivacyValueDisallowContacts struct {
}

TLPrivacyValueDisallowContacts represents ctor privacyValueDisallowContacts#f888fa1a = PrivacyRule from Telegram

func (*TLPrivacyValueDisallowContacts) Cmd

func (*TLPrivacyValueDisallowContacts) IsTLPrivacyRule

func (o *TLPrivacyValueDisallowContacts) IsTLPrivacyRule()

func (*TLPrivacyValueDisallowContacts) ReadBareFrom

func (o *TLPrivacyValueDisallowContacts) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueDisallowContacts) String

func (*TLPrivacyValueDisallowContacts) WriteBareTo

func (o *TLPrivacyValueDisallowContacts) WriteBareTo(w *tl.Writer)

type TLPrivacyValueDisallowUsers

type TLPrivacyValueDisallowUsers struct {
	Users []int // users:Vector<int>
}

TLPrivacyValueDisallowUsers represents ctor privacyValueDisallowUsers#0c7f49b7 users:Vector<int> = PrivacyRule from Telegram

func (*TLPrivacyValueDisallowUsers) Cmd

func (*TLPrivacyValueDisallowUsers) IsTLPrivacyRule

func (o *TLPrivacyValueDisallowUsers) IsTLPrivacyRule()

func (*TLPrivacyValueDisallowUsers) ReadBareFrom

func (o *TLPrivacyValueDisallowUsers) ReadBareFrom(r *tl.Reader)

func (*TLPrivacyValueDisallowUsers) String

func (o *TLPrivacyValueDisallowUsers) String() string

func (*TLPrivacyValueDisallowUsers) WriteBareTo

func (o *TLPrivacyValueDisallowUsers) WriteBareTo(w *tl.Writer)

type TLProtoMessage

type TLProtoMessage struct {
	MsgID uint64    // msg_id:long
	Seqno int       // seqno:int
	Bytes int       // bytes:int
	Body  tl.Object // body:Object
}

TLProtoMessage represents ctor proto_message#5bb8e511 msg_id:long seqno:int bytes:int body:Object = ProtoMessage from MTProto

func (*TLProtoMessage) Cmd

func (o *TLProtoMessage) Cmd() uint32

func (*TLProtoMessage) ReadBareFrom

func (o *TLProtoMessage) ReadBareFrom(r *tl.Reader)

func (*TLProtoMessage) String

func (o *TLProtoMessage) String() string

func (*TLProtoMessage) WriteBareTo

func (o *TLProtoMessage) WriteBareTo(w *tl.Writer)

type TLRPCAnswerDropped

type TLRPCAnswerDropped struct {
	MsgID uint64 // msg_id:long
	SeqNo int    // seq_no:int
	Bytes int    // bytes:int
}

TLRPCAnswerDropped represents ctor rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer from MTProto

func (*TLRPCAnswerDropped) Cmd

func (o *TLRPCAnswerDropped) Cmd() uint32

func (*TLRPCAnswerDropped) IsTLRPCDropAnswer

func (o *TLRPCAnswerDropped) IsTLRPCDropAnswer()

func (*TLRPCAnswerDropped) ReadBareFrom

func (o *TLRPCAnswerDropped) ReadBareFrom(r *tl.Reader)

func (*TLRPCAnswerDropped) String

func (o *TLRPCAnswerDropped) String() string

func (*TLRPCAnswerDropped) WriteBareTo

func (o *TLRPCAnswerDropped) WriteBareTo(w *tl.Writer)

type TLRPCAnswerDroppedRunning

type TLRPCAnswerDroppedRunning struct {
}

TLRPCAnswerDroppedRunning represents ctor rpc_answer_dropped_running#cd78e586 = RpcDropAnswer from MTProto

func (*TLRPCAnswerDroppedRunning) Cmd

func (*TLRPCAnswerDroppedRunning) IsTLRPCDropAnswer

func (o *TLRPCAnswerDroppedRunning) IsTLRPCDropAnswer()

func (*TLRPCAnswerDroppedRunning) ReadBareFrom

func (o *TLRPCAnswerDroppedRunning) ReadBareFrom(r *tl.Reader)

func (*TLRPCAnswerDroppedRunning) String

func (o *TLRPCAnswerDroppedRunning) String() string

func (*TLRPCAnswerDroppedRunning) WriteBareTo

func (o *TLRPCAnswerDroppedRunning) WriteBareTo(w *tl.Writer)

type TLRPCAnswerUnknown

type TLRPCAnswerUnknown struct {
}

TLRPCAnswerUnknown represents ctor rpc_answer_unknown#5e2ad36e = RpcDropAnswer from MTProto

func (*TLRPCAnswerUnknown) Cmd

func (o *TLRPCAnswerUnknown) Cmd() uint32

func (*TLRPCAnswerUnknown) IsTLRPCDropAnswer

func (o *TLRPCAnswerUnknown) IsTLRPCDropAnswer()

func (*TLRPCAnswerUnknown) ReadBareFrom

func (o *TLRPCAnswerUnknown) ReadBareFrom(r *tl.Reader)

func (*TLRPCAnswerUnknown) String

func (o *TLRPCAnswerUnknown) String() string

func (*TLRPCAnswerUnknown) WriteBareTo

func (o *TLRPCAnswerUnknown) WriteBareTo(w *tl.Writer)

type TLRPCDropAnswer

type TLRPCDropAnswer struct {
	ReqMsgID uint64 // req_msg_id:long
}

TLRPCDropAnswer represents func rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer from MTProto

func (*TLRPCDropAnswer) Cmd

func (o *TLRPCDropAnswer) Cmd() uint32

func (*TLRPCDropAnswer) ReadBareFrom

func (o *TLRPCDropAnswer) ReadBareFrom(r *tl.Reader)

func (*TLRPCDropAnswer) String

func (o *TLRPCDropAnswer) String() string

func (*TLRPCDropAnswer) WriteBareTo

func (o *TLRPCDropAnswer) WriteBareTo(w *tl.Writer)

type TLRPCDropAnswerType

type TLRPCDropAnswerType interface {
	IsTLRPCDropAnswer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLRPCDropAnswerType represents RpcDropAnswer from MTProto

type TLRPCError

type TLRPCError struct {
	ErrorCode    int    // error_code:int
	ErrorMessage string // error_message:string
}

TLRPCError represents ctor rpc_error#2144ca19 error_code:int error_message:string = RpcError from MTProto

func (*TLRPCError) Cmd

func (o *TLRPCError) Cmd() uint32

func (*TLRPCError) ReadBareFrom

func (o *TLRPCError) ReadBareFrom(r *tl.Reader)

func (*TLRPCError) String

func (o *TLRPCError) String() string

func (*TLRPCError) WriteBareTo

func (o *TLRPCError) WriteBareTo(w *tl.Writer)

type TLRPCResult

type TLRPCResult struct {
	ReqMsgID uint64    // req_msg_id:long
	Result   tl.Object // result:Object
}

TLRPCResult represents ctor rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult from MTProto

func (*TLRPCResult) Cmd

func (o *TLRPCResult) Cmd() uint32

func (*TLRPCResult) ReadBareFrom

func (o *TLRPCResult) ReadBareFrom(r *tl.Reader)

func (*TLRPCResult) String

func (o *TLRPCResult) String() string

func (*TLRPCResult) WriteBareTo

func (o *TLRPCResult) WriteBareTo(w *tl.Writer)

type TLReceivedNotifyMessage

type TLReceivedNotifyMessage struct {
	ID    int // id:int
	Flags int // flags:int
}

TLReceivedNotifyMessage represents ctor receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage from Telegram

func (*TLReceivedNotifyMessage) Cmd

func (*TLReceivedNotifyMessage) ReadBareFrom

func (o *TLReceivedNotifyMessage) ReadBareFrom(r *tl.Reader)

func (*TLReceivedNotifyMessage) String

func (o *TLReceivedNotifyMessage) String() string

func (*TLReceivedNotifyMessage) WriteBareTo

func (o *TLReceivedNotifyMessage) WriteBareTo(w *tl.Writer)

type TLReplyInlineMarkup

type TLReplyInlineMarkup struct {
	Rows []*TLKeyboardButtonRow // rows:Vector<KeyboardButtonRow>
}

TLReplyInlineMarkup represents ctor replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup from Telegram

func (*TLReplyInlineMarkup) Cmd

func (o *TLReplyInlineMarkup) Cmd() uint32

func (*TLReplyInlineMarkup) IsTLReplyMarkup

func (o *TLReplyInlineMarkup) IsTLReplyMarkup()

func (*TLReplyInlineMarkup) ReadBareFrom

func (o *TLReplyInlineMarkup) ReadBareFrom(r *tl.Reader)

func (*TLReplyInlineMarkup) String

func (o *TLReplyInlineMarkup) String() string

func (*TLReplyInlineMarkup) WriteBareTo

func (o *TLReplyInlineMarkup) WriteBareTo(w *tl.Writer)

type TLReplyKeyboardForceReply

type TLReplyKeyboardForceReply struct {
	Flags uint // flags:#
}

TLReplyKeyboardForceReply represents ctor replyKeyboardForceReply#f4108aa0 flags:# flags.1?single_use:true flags.2?selective:true = ReplyMarkup from Telegram

func (*TLReplyKeyboardForceReply) Cmd

func (*TLReplyKeyboardForceReply) IsTLReplyMarkup

func (o *TLReplyKeyboardForceReply) IsTLReplyMarkup()

func (*TLReplyKeyboardForceReply) ReadBareFrom

func (o *TLReplyKeyboardForceReply) ReadBareFrom(r *tl.Reader)

func (*TLReplyKeyboardForceReply) Selective

func (o *TLReplyKeyboardForceReply) Selective() bool

func (*TLReplyKeyboardForceReply) SetSelective

func (o *TLReplyKeyboardForceReply) SetSelective(v bool)

func (*TLReplyKeyboardForceReply) SetSingleUse

func (o *TLReplyKeyboardForceReply) SetSingleUse(v bool)

func (*TLReplyKeyboardForceReply) SingleUse

func (o *TLReplyKeyboardForceReply) SingleUse() bool

func (*TLReplyKeyboardForceReply) String

func (o *TLReplyKeyboardForceReply) String() string

func (*TLReplyKeyboardForceReply) WriteBareTo

func (o *TLReplyKeyboardForceReply) WriteBareTo(w *tl.Writer)

type TLReplyKeyboardHide

type TLReplyKeyboardHide struct {
	Flags uint // flags:#
}

TLReplyKeyboardHide represents ctor replyKeyboardHide#a03e5b85 flags:# flags.2?selective:true = ReplyMarkup from Telegram

func (*TLReplyKeyboardHide) Cmd

func (o *TLReplyKeyboardHide) Cmd() uint32

func (*TLReplyKeyboardHide) IsTLReplyMarkup

func (o *TLReplyKeyboardHide) IsTLReplyMarkup()

func (*TLReplyKeyboardHide) ReadBareFrom

func (o *TLReplyKeyboardHide) ReadBareFrom(r *tl.Reader)

func (*TLReplyKeyboardHide) Selective

func (o *TLReplyKeyboardHide) Selective() bool

func (*TLReplyKeyboardHide) SetSelective

func (o *TLReplyKeyboardHide) SetSelective(v bool)

func (*TLReplyKeyboardHide) String

func (o *TLReplyKeyboardHide) String() string

func (*TLReplyKeyboardHide) WriteBareTo

func (o *TLReplyKeyboardHide) WriteBareTo(w *tl.Writer)

type TLReplyKeyboardMarkup

type TLReplyKeyboardMarkup struct {
	Flags uint                   // flags:#
	Rows  []*TLKeyboardButtonRow // rows:Vector<KeyboardButtonRow>
}

TLReplyKeyboardMarkup represents ctor replyKeyboardMarkup#3502758c flags:# flags.0?resize:true flags.1?single_use:true flags.2?selective:true rows:Vector<KeyboardButtonRow> = ReplyMarkup from Telegram

func (*TLReplyKeyboardMarkup) Cmd

func (o *TLReplyKeyboardMarkup) Cmd() uint32

func (*TLReplyKeyboardMarkup) IsTLReplyMarkup

func (o *TLReplyKeyboardMarkup) IsTLReplyMarkup()

func (*TLReplyKeyboardMarkup) ReadBareFrom

func (o *TLReplyKeyboardMarkup) ReadBareFrom(r *tl.Reader)

func (*TLReplyKeyboardMarkup) Resize

func (o *TLReplyKeyboardMarkup) Resize() bool

func (*TLReplyKeyboardMarkup) Selective

func (o *TLReplyKeyboardMarkup) Selective() bool

func (*TLReplyKeyboardMarkup) SetResize

func (o *TLReplyKeyboardMarkup) SetResize(v bool)

func (*TLReplyKeyboardMarkup) SetSelective

func (o *TLReplyKeyboardMarkup) SetSelective(v bool)

func (*TLReplyKeyboardMarkup) SetSingleUse

func (o *TLReplyKeyboardMarkup) SetSingleUse(v bool)

func (*TLReplyKeyboardMarkup) SingleUse

func (o *TLReplyKeyboardMarkup) SingleUse() bool

func (*TLReplyKeyboardMarkup) String

func (o *TLReplyKeyboardMarkup) String() string

func (*TLReplyKeyboardMarkup) WriteBareTo

func (o *TLReplyKeyboardMarkup) WriteBareTo(w *tl.Writer)

type TLReplyMarkupType

type TLReplyMarkupType interface {
	IsTLReplyMarkup()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLReplyMarkupType represents ReplyMarkup from Telegram

type TLReportReasonType

type TLReportReasonType interface {
	IsTLReportReason()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLReportReasonType represents ReportReason from Telegram

type TLReqDHParams

type TLReqDHParams struct {
	Nonce                [16]byte // nonce:int128
	ServerNonce          [16]byte // server_nonce:int128
	P                    *big.Int // p:bytes
	Q                    *big.Int // q:bytes
	PublicKeyFingerprint uint64   // public_key_fingerprint:long
	EncryptedData        []byte   // encrypted_data:bytes
}

TLReqDHParams represents func req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_Params from MTProto

func (*TLReqDHParams) Cmd

func (o *TLReqDHParams) Cmd() uint32

func (*TLReqDHParams) ReadBareFrom

func (o *TLReqDHParams) ReadBareFrom(r *tl.Reader)

func (*TLReqDHParams) String

func (o *TLReqDHParams) String() string

func (*TLReqDHParams) WriteBareTo

func (o *TLReqDHParams) WriteBareTo(w *tl.Writer)

type TLReqPQ

type TLReqPQ struct {
	Nonce [16]byte // nonce:int128
}

TLReqPQ represents func req_pq#60469778 nonce:int128 = ResPQ from MTProto

func (*TLReqPQ) Cmd

func (o *TLReqPQ) Cmd() uint32

func (*TLReqPQ) ReadBareFrom

func (o *TLReqPQ) ReadBareFrom(r *tl.Reader)

func (*TLReqPQ) String

func (o *TLReqPQ) String() string

func (*TLReqPQ) WriteBareTo

func (o *TLReqPQ) WriteBareTo(w *tl.Writer)

type TLResPQ

type TLResPQ struct {
	Nonce                       [16]byte // nonce:int128
	ServerNonce                 [16]byte // server_nonce:int128
	PQ                          *big.Int // pq:bytes
	ServerPublicKeyFingerprints []uint64 // server_public_key_fingerprints:Vector<long>
}

TLResPQ represents ctor resPQ#05162463 nonce:int128 server_nonce:int128 pq:bytes server_public_key_fingerprints:Vector<long> = ResPQ from MTProto

func (*TLResPQ) Cmd

func (o *TLResPQ) Cmd() uint32

func (*TLResPQ) ReadBareFrom

func (o *TLResPQ) ReadBareFrom(r *tl.Reader)

func (*TLResPQ) String

func (o *TLResPQ) String() string

func (*TLResPQ) WriteBareTo

func (o *TLResPQ) WriteBareTo(w *tl.Writer)

type TLRichTextType

type TLRichTextType interface {
	IsTLRichText()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLRichTextType represents RichText from Telegram

type TLSendMessageActionType

type TLSendMessageActionType interface {
	IsTLSendMessageAction()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLSendMessageActionType represents SendMessageAction from Telegram

type TLSendMessageCancelAction

type TLSendMessageCancelAction struct {
}

TLSendMessageCancelAction represents ctor sendMessageCancelAction#fd5ec8f5 = SendMessageAction from Telegram

func (*TLSendMessageCancelAction) Cmd

func (*TLSendMessageCancelAction) IsTLSendMessageAction

func (o *TLSendMessageCancelAction) IsTLSendMessageAction()

func (*TLSendMessageCancelAction) ReadBareFrom

func (o *TLSendMessageCancelAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageCancelAction) String

func (o *TLSendMessageCancelAction) String() string

func (*TLSendMessageCancelAction) WriteBareTo

func (o *TLSendMessageCancelAction) WriteBareTo(w *tl.Writer)

type TLSendMessageChooseContactAction

type TLSendMessageChooseContactAction struct {
}

TLSendMessageChooseContactAction represents ctor sendMessageChooseContactAction#628cbc6f = SendMessageAction from Telegram

func (*TLSendMessageChooseContactAction) Cmd

func (*TLSendMessageChooseContactAction) IsTLSendMessageAction

func (o *TLSendMessageChooseContactAction) IsTLSendMessageAction()

func (*TLSendMessageChooseContactAction) ReadBareFrom

func (o *TLSendMessageChooseContactAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageChooseContactAction) String

func (*TLSendMessageChooseContactAction) WriteBareTo

func (o *TLSendMessageChooseContactAction) WriteBareTo(w *tl.Writer)

type TLSendMessageGamePlayAction

type TLSendMessageGamePlayAction struct {
}

TLSendMessageGamePlayAction represents ctor sendMessageGamePlayAction#dd6a8f48 = SendMessageAction from Telegram

func (*TLSendMessageGamePlayAction) Cmd

func (*TLSendMessageGamePlayAction) IsTLSendMessageAction

func (o *TLSendMessageGamePlayAction) IsTLSendMessageAction()

func (*TLSendMessageGamePlayAction) ReadBareFrom

func (o *TLSendMessageGamePlayAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageGamePlayAction) String

func (o *TLSendMessageGamePlayAction) String() string

func (*TLSendMessageGamePlayAction) WriteBareTo

func (o *TLSendMessageGamePlayAction) WriteBareTo(w *tl.Writer)

type TLSendMessageGeoLocationAction

type TLSendMessageGeoLocationAction struct {
}

TLSendMessageGeoLocationAction represents ctor sendMessageGeoLocationAction#176f8ba1 = SendMessageAction from Telegram

func (*TLSendMessageGeoLocationAction) Cmd

func (*TLSendMessageGeoLocationAction) IsTLSendMessageAction

func (o *TLSendMessageGeoLocationAction) IsTLSendMessageAction()

func (*TLSendMessageGeoLocationAction) ReadBareFrom

func (o *TLSendMessageGeoLocationAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageGeoLocationAction) String

func (*TLSendMessageGeoLocationAction) WriteBareTo

func (o *TLSendMessageGeoLocationAction) WriteBareTo(w *tl.Writer)

type TLSendMessageRecordAudioAction

type TLSendMessageRecordAudioAction struct {
}

TLSendMessageRecordAudioAction represents ctor sendMessageRecordAudioAction#d52f73f7 = SendMessageAction from Telegram

func (*TLSendMessageRecordAudioAction) Cmd

func (*TLSendMessageRecordAudioAction) IsTLSendMessageAction

func (o *TLSendMessageRecordAudioAction) IsTLSendMessageAction()

func (*TLSendMessageRecordAudioAction) ReadBareFrom

func (o *TLSendMessageRecordAudioAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageRecordAudioAction) String

func (*TLSendMessageRecordAudioAction) WriteBareTo

func (o *TLSendMessageRecordAudioAction) WriteBareTo(w *tl.Writer)

type TLSendMessageRecordVideoAction

type TLSendMessageRecordVideoAction struct {
}

TLSendMessageRecordVideoAction represents ctor sendMessageRecordVideoAction#a187d66f = SendMessageAction from Telegram

func (*TLSendMessageRecordVideoAction) Cmd

func (*TLSendMessageRecordVideoAction) IsTLSendMessageAction

func (o *TLSendMessageRecordVideoAction) IsTLSendMessageAction()

func (*TLSendMessageRecordVideoAction) ReadBareFrom

func (o *TLSendMessageRecordVideoAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageRecordVideoAction) String

func (*TLSendMessageRecordVideoAction) WriteBareTo

func (o *TLSendMessageRecordVideoAction) WriteBareTo(w *tl.Writer)

type TLSendMessageTypingAction

type TLSendMessageTypingAction struct {
}

TLSendMessageTypingAction represents ctor sendMessageTypingAction#16bf744e = SendMessageAction from Telegram

func (*TLSendMessageTypingAction) Cmd

func (*TLSendMessageTypingAction) IsTLSendMessageAction

func (o *TLSendMessageTypingAction) IsTLSendMessageAction()

func (*TLSendMessageTypingAction) ReadBareFrom

func (o *TLSendMessageTypingAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageTypingAction) String

func (o *TLSendMessageTypingAction) String() string

func (*TLSendMessageTypingAction) WriteBareTo

func (o *TLSendMessageTypingAction) WriteBareTo(w *tl.Writer)

type TLSendMessageUploadAudioAction

type TLSendMessageUploadAudioAction struct {
	Progress int // progress:int
}

TLSendMessageUploadAudioAction represents ctor sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction from Telegram

func (*TLSendMessageUploadAudioAction) Cmd

func (*TLSendMessageUploadAudioAction) IsTLSendMessageAction

func (o *TLSendMessageUploadAudioAction) IsTLSendMessageAction()

func (*TLSendMessageUploadAudioAction) ReadBareFrom

func (o *TLSendMessageUploadAudioAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageUploadAudioAction) String

func (*TLSendMessageUploadAudioAction) WriteBareTo

func (o *TLSendMessageUploadAudioAction) WriteBareTo(w *tl.Writer)

type TLSendMessageUploadDocumentAction

type TLSendMessageUploadDocumentAction struct {
	Progress int // progress:int
}

TLSendMessageUploadDocumentAction represents ctor sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction from Telegram

func (*TLSendMessageUploadDocumentAction) Cmd

func (*TLSendMessageUploadDocumentAction) IsTLSendMessageAction

func (o *TLSendMessageUploadDocumentAction) IsTLSendMessageAction()

func (*TLSendMessageUploadDocumentAction) ReadBareFrom

func (o *TLSendMessageUploadDocumentAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageUploadDocumentAction) String

func (*TLSendMessageUploadDocumentAction) WriteBareTo

func (o *TLSendMessageUploadDocumentAction) WriteBareTo(w *tl.Writer)

type TLSendMessageUploadPhotoAction

type TLSendMessageUploadPhotoAction struct {
	Progress int // progress:int
}

TLSendMessageUploadPhotoAction represents ctor sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction from Telegram

func (*TLSendMessageUploadPhotoAction) Cmd

func (*TLSendMessageUploadPhotoAction) IsTLSendMessageAction

func (o *TLSendMessageUploadPhotoAction) IsTLSendMessageAction()

func (*TLSendMessageUploadPhotoAction) ReadBareFrom

func (o *TLSendMessageUploadPhotoAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageUploadPhotoAction) String

func (*TLSendMessageUploadPhotoAction) WriteBareTo

func (o *TLSendMessageUploadPhotoAction) WriteBareTo(w *tl.Writer)

type TLSendMessageUploadVideoAction

type TLSendMessageUploadVideoAction struct {
	Progress int // progress:int
}

TLSendMessageUploadVideoAction represents ctor sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction from Telegram

func (*TLSendMessageUploadVideoAction) Cmd

func (*TLSendMessageUploadVideoAction) IsTLSendMessageAction

func (o *TLSendMessageUploadVideoAction) IsTLSendMessageAction()

func (*TLSendMessageUploadVideoAction) ReadBareFrom

func (o *TLSendMessageUploadVideoAction) ReadBareFrom(r *tl.Reader)

func (*TLSendMessageUploadVideoAction) String

func (*TLSendMessageUploadVideoAction) WriteBareTo

func (o *TLSendMessageUploadVideoAction) WriteBareTo(w *tl.Writer)

type TLServerDHInnerData

type TLServerDHInnerData struct {
	Nonce       [16]byte  // nonce:int128
	ServerNonce [16]byte  // server_nonce:int128
	G           int       // g:int
	DHPrime     *big.Int  // dh_prime:bytes
	GA          *big.Int  // g_a:bytes
	ServerTime  time.Time // server_time:int
}

TLServerDHInnerData represents ctor server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:bytes g_a:bytes server_time:int = Server_DH_inner_data from MTProto

func (*TLServerDHInnerData) Cmd

func (o *TLServerDHInnerData) Cmd() uint32

func (*TLServerDHInnerData) ReadBareFrom

func (o *TLServerDHInnerData) ReadBareFrom(r *tl.Reader)

func (*TLServerDHInnerData) String

func (o *TLServerDHInnerData) String() string

func (*TLServerDHInnerData) WriteBareTo

func (o *TLServerDHInnerData) WriteBareTo(w *tl.Writer)

type TLServerDHParamsFail

type TLServerDHParamsFail struct {
	Nonce        [16]byte // nonce:int128
	ServerNonce  [16]byte // server_nonce:int128
	NewNonceHash [16]byte // new_nonce_hash:int128
}

TLServerDHParamsFail represents ctor server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params from MTProto

func (*TLServerDHParamsFail) Cmd

func (o *TLServerDHParamsFail) Cmd() uint32

func (*TLServerDHParamsFail) IsTLServerDHParams

func (o *TLServerDHParamsFail) IsTLServerDHParams()

func (*TLServerDHParamsFail) ReadBareFrom

func (o *TLServerDHParamsFail) ReadBareFrom(r *tl.Reader)

func (*TLServerDHParamsFail) String

func (o *TLServerDHParamsFail) String() string

func (*TLServerDHParamsFail) WriteBareTo

func (o *TLServerDHParamsFail) WriteBareTo(w *tl.Writer)

type TLServerDHParamsOK

type TLServerDHParamsOK struct {
	Nonce           [16]byte // nonce:int128
	ServerNonce     [16]byte // server_nonce:int128
	EncryptedAnswer []byte   // encrypted_answer:bytes
}

TLServerDHParamsOK represents ctor server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:bytes = Server_DH_Params from MTProto

func (*TLServerDHParamsOK) Cmd

func (o *TLServerDHParamsOK) Cmd() uint32

func (*TLServerDHParamsOK) IsTLServerDHParams

func (o *TLServerDHParamsOK) IsTLServerDHParams()

func (*TLServerDHParamsOK) ReadBareFrom

func (o *TLServerDHParamsOK) ReadBareFrom(r *tl.Reader)

func (*TLServerDHParamsOK) String

func (o *TLServerDHParamsOK) String() string

func (*TLServerDHParamsOK) WriteBareTo

func (o *TLServerDHParamsOK) WriteBareTo(w *tl.Writer)

type TLServerDHParamsType

type TLServerDHParamsType interface {
	IsTLServerDHParams()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLServerDHParamsType represents Server_DH_Params from MTProto

type TLSetClientDHParams

type TLSetClientDHParams struct {
	Nonce         [16]byte // nonce:int128
	ServerNonce   [16]byte // server_nonce:int128
	EncryptedData []byte   // encrypted_data:bytes
}

TLSetClientDHParams represents func set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:bytes = Set_client_DH_params_answer from MTProto

func (*TLSetClientDHParams) Cmd

func (o *TLSetClientDHParams) Cmd() uint32

func (*TLSetClientDHParams) ReadBareFrom

func (o *TLSetClientDHParams) ReadBareFrom(r *tl.Reader)

func (*TLSetClientDHParams) String

func (o *TLSetClientDHParams) String() string

func (*TLSetClientDHParams) WriteBareTo

func (o *TLSetClientDHParams) WriteBareTo(w *tl.Writer)

type TLSetClientDHParamsAnswerType

type TLSetClientDHParamsAnswerType interface {
	IsTLSetClientDHParamsAnswer()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLSetClientDHParamsAnswerType represents Set_client_DH_params_answer from MTProto

type TLShippingOption

type TLShippingOption struct {
	ID     string            // id:string
	Title  string            // title:string
	Prices []*TLLabeledPrice // prices:Vector<LabeledPrice>
}

TLShippingOption represents ctor shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption from Telegram

func (*TLShippingOption) Cmd

func (o *TLShippingOption) Cmd() uint32

func (*TLShippingOption) ReadBareFrom

func (o *TLShippingOption) ReadBareFrom(r *tl.Reader)

func (*TLShippingOption) String

func (o *TLShippingOption) String() string

func (*TLShippingOption) WriteBareTo

func (o *TLShippingOption) WriteBareTo(w *tl.Writer)

type TLStickerPack

type TLStickerPack struct {
	Emoticon  string   // emoticon:string
	Documents []uint64 // documents:Vector<long>
}

TLStickerPack represents ctor stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack from Telegram

func (*TLStickerPack) Cmd

func (o *TLStickerPack) Cmd() uint32

func (*TLStickerPack) ReadBareFrom

func (o *TLStickerPack) ReadBareFrom(r *tl.Reader)

func (*TLStickerPack) String

func (o *TLStickerPack) String() string

func (*TLStickerPack) WriteBareTo

func (o *TLStickerPack) WriteBareTo(w *tl.Writer)

type TLStickerSet

type TLStickerSet struct {
	Flags      uint   // flags:#
	ID         uint64 // id:long
	AccessHash uint64 // access_hash:long
	Title      string // title:string
	ShortName  string // short_name:string
	Count      int    // count:int
	Hash       int    // hash:int
}

TLStickerSet represents ctor stickerSet#cd303b41 flags:# flags.0?installed:true flags.1?archived:true flags.2?official:true flags.3?masks:true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet from Telegram

func (*TLStickerSet) Archived

func (o *TLStickerSet) Archived() bool

func (*TLStickerSet) Cmd

func (o *TLStickerSet) Cmd() uint32

func (*TLStickerSet) Installed

func (o *TLStickerSet) Installed() bool

func (*TLStickerSet) Masks

func (o *TLStickerSet) Masks() bool

func (*TLStickerSet) Official

func (o *TLStickerSet) Official() bool

func (*TLStickerSet) ReadBareFrom

func (o *TLStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLStickerSet) SetArchived

func (o *TLStickerSet) SetArchived(v bool)

func (*TLStickerSet) SetInstalled

func (o *TLStickerSet) SetInstalled(v bool)

func (*TLStickerSet) SetMasks

func (o *TLStickerSet) SetMasks(v bool)

func (*TLStickerSet) SetOfficial

func (o *TLStickerSet) SetOfficial(v bool)

func (*TLStickerSet) String

func (o *TLStickerSet) String() string

func (*TLStickerSet) WriteBareTo

func (o *TLStickerSet) WriteBareTo(w *tl.Writer)

type TLStickerSetCovered

type TLStickerSetCovered struct {
	Set   *TLStickerSet  // set:StickerSet
	Cover TLDocumentType // cover:Document
}

TLStickerSetCovered represents ctor stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered from Telegram

func (*TLStickerSetCovered) Cmd

func (o *TLStickerSetCovered) Cmd() uint32

func (*TLStickerSetCovered) IsTLStickerSetCovered

func (o *TLStickerSetCovered) IsTLStickerSetCovered()

func (*TLStickerSetCovered) ReadBareFrom

func (o *TLStickerSetCovered) ReadBareFrom(r *tl.Reader)

func (*TLStickerSetCovered) String

func (o *TLStickerSetCovered) String() string

func (*TLStickerSetCovered) WriteBareTo

func (o *TLStickerSetCovered) WriteBareTo(w *tl.Writer)

type TLStickerSetCoveredType

type TLStickerSetCoveredType interface {
	IsTLStickerSetCovered()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLStickerSetCoveredType represents StickerSetCovered from Telegram

type TLStickerSetMultiCovered

type TLStickerSetMultiCovered struct {
	Set    *TLStickerSet    // set:StickerSet
	Covers []TLDocumentType // covers:Vector<Document>
}

TLStickerSetMultiCovered represents ctor stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document> = StickerSetCovered from Telegram

func (*TLStickerSetMultiCovered) Cmd

func (*TLStickerSetMultiCovered) IsTLStickerSetCovered

func (o *TLStickerSetMultiCovered) IsTLStickerSetCovered()

func (*TLStickerSetMultiCovered) ReadBareFrom

func (o *TLStickerSetMultiCovered) ReadBareFrom(r *tl.Reader)

func (*TLStickerSetMultiCovered) String

func (o *TLStickerSetMultiCovered) String() string

func (*TLStickerSetMultiCovered) WriteBareTo

func (o *TLStickerSetMultiCovered) WriteBareTo(w *tl.Writer)

type TLStorageFileGif

type TLStorageFileGif struct {
}

TLStorageFileGif represents ctor storage.fileGif#cae1aadf = storage.FileType from Telegram

func (*TLStorageFileGif) Cmd

func (o *TLStorageFileGif) Cmd() uint32

func (*TLStorageFileGif) IsTLStorageFileType

func (o *TLStorageFileGif) IsTLStorageFileType()

func (*TLStorageFileGif) ReadBareFrom

func (o *TLStorageFileGif) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileGif) String

func (o *TLStorageFileGif) String() string

func (*TLStorageFileGif) WriteBareTo

func (o *TLStorageFileGif) WriteBareTo(w *tl.Writer)

type TLStorageFileJpeg

type TLStorageFileJpeg struct {
}

TLStorageFileJpeg represents ctor storage.fileJpeg#007efe0e = storage.FileType from Telegram

func (*TLStorageFileJpeg) Cmd

func (o *TLStorageFileJpeg) Cmd() uint32

func (*TLStorageFileJpeg) IsTLStorageFileType

func (o *TLStorageFileJpeg) IsTLStorageFileType()

func (*TLStorageFileJpeg) ReadBareFrom

func (o *TLStorageFileJpeg) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileJpeg) String

func (o *TLStorageFileJpeg) String() string

func (*TLStorageFileJpeg) WriteBareTo

func (o *TLStorageFileJpeg) WriteBareTo(w *tl.Writer)

type TLStorageFileMov

type TLStorageFileMov struct {
}

TLStorageFileMov represents ctor storage.fileMov#4b09ebbc = storage.FileType from Telegram

func (*TLStorageFileMov) Cmd

func (o *TLStorageFileMov) Cmd() uint32

func (*TLStorageFileMov) IsTLStorageFileType

func (o *TLStorageFileMov) IsTLStorageFileType()

func (*TLStorageFileMov) ReadBareFrom

func (o *TLStorageFileMov) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileMov) String

func (o *TLStorageFileMov) String() string

func (*TLStorageFileMov) WriteBareTo

func (o *TLStorageFileMov) WriteBareTo(w *tl.Writer)

type TLStorageFileMp3

type TLStorageFileMp3 struct {
}

TLStorageFileMp3 represents ctor storage.fileMp3#528a0677 = storage.FileType from Telegram

func (*TLStorageFileMp3) Cmd

func (o *TLStorageFileMp3) Cmd() uint32

func (*TLStorageFileMp3) IsTLStorageFileType

func (o *TLStorageFileMp3) IsTLStorageFileType()

func (*TLStorageFileMp3) ReadBareFrom

func (o *TLStorageFileMp3) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileMp3) String

func (o *TLStorageFileMp3) String() string

func (*TLStorageFileMp3) WriteBareTo

func (o *TLStorageFileMp3) WriteBareTo(w *tl.Writer)

type TLStorageFileMp4

type TLStorageFileMp4 struct {
}

TLStorageFileMp4 represents ctor storage.fileMp4#b3cea0e4 = storage.FileType from Telegram

func (*TLStorageFileMp4) Cmd

func (o *TLStorageFileMp4) Cmd() uint32

func (*TLStorageFileMp4) IsTLStorageFileType

func (o *TLStorageFileMp4) IsTLStorageFileType()

func (*TLStorageFileMp4) ReadBareFrom

func (o *TLStorageFileMp4) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileMp4) String

func (o *TLStorageFileMp4) String() string

func (*TLStorageFileMp4) WriteBareTo

func (o *TLStorageFileMp4) WriteBareTo(w *tl.Writer)

type TLStorageFilePartial

type TLStorageFilePartial struct {
}

TLStorageFilePartial represents ctor storage.filePartial#40bc6f52 = storage.FileType from Telegram

func (*TLStorageFilePartial) Cmd

func (o *TLStorageFilePartial) Cmd() uint32

func (*TLStorageFilePartial) IsTLStorageFileType

func (o *TLStorageFilePartial) IsTLStorageFileType()

func (*TLStorageFilePartial) ReadBareFrom

func (o *TLStorageFilePartial) ReadBareFrom(r *tl.Reader)

func (*TLStorageFilePartial) String

func (o *TLStorageFilePartial) String() string

func (*TLStorageFilePartial) WriteBareTo

func (o *TLStorageFilePartial) WriteBareTo(w *tl.Writer)

type TLStorageFilePdf

type TLStorageFilePdf struct {
}

TLStorageFilePdf represents ctor storage.filePdf#ae1e508d = storage.FileType from Telegram

func (*TLStorageFilePdf) Cmd

func (o *TLStorageFilePdf) Cmd() uint32

func (*TLStorageFilePdf) IsTLStorageFileType

func (o *TLStorageFilePdf) IsTLStorageFileType()

func (*TLStorageFilePdf) ReadBareFrom

func (o *TLStorageFilePdf) ReadBareFrom(r *tl.Reader)

func (*TLStorageFilePdf) String

func (o *TLStorageFilePdf) String() string

func (*TLStorageFilePdf) WriteBareTo

func (o *TLStorageFilePdf) WriteBareTo(w *tl.Writer)

type TLStorageFilePng

type TLStorageFilePng struct {
}

TLStorageFilePng represents ctor storage.filePng#0a4f63c0 = storage.FileType from Telegram

func (*TLStorageFilePng) Cmd

func (o *TLStorageFilePng) Cmd() uint32

func (*TLStorageFilePng) IsTLStorageFileType

func (o *TLStorageFilePng) IsTLStorageFileType()

func (*TLStorageFilePng) ReadBareFrom

func (o *TLStorageFilePng) ReadBareFrom(r *tl.Reader)

func (*TLStorageFilePng) String

func (o *TLStorageFilePng) String() string

func (*TLStorageFilePng) WriteBareTo

func (o *TLStorageFilePng) WriteBareTo(w *tl.Writer)

type TLStorageFileTypeType

type TLStorageFileTypeType interface {
	IsTLStorageFileType()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLStorageFileTypeType represents storage.FileType from Telegram

type TLStorageFileUnknown

type TLStorageFileUnknown struct {
}

TLStorageFileUnknown represents ctor storage.fileUnknown#aa963b05 = storage.FileType from Telegram

func (*TLStorageFileUnknown) Cmd

func (o *TLStorageFileUnknown) Cmd() uint32

func (*TLStorageFileUnknown) IsTLStorageFileType

func (o *TLStorageFileUnknown) IsTLStorageFileType()

func (*TLStorageFileUnknown) ReadBareFrom

func (o *TLStorageFileUnknown) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileUnknown) String

func (o *TLStorageFileUnknown) String() string

func (*TLStorageFileUnknown) WriteBareTo

func (o *TLStorageFileUnknown) WriteBareTo(w *tl.Writer)

type TLStorageFileWebp

type TLStorageFileWebp struct {
}

TLStorageFileWebp represents ctor storage.fileWebp#1081464c = storage.FileType from Telegram

func (*TLStorageFileWebp) Cmd

func (o *TLStorageFileWebp) Cmd() uint32

func (*TLStorageFileWebp) IsTLStorageFileType

func (o *TLStorageFileWebp) IsTLStorageFileType()

func (*TLStorageFileWebp) ReadBareFrom

func (o *TLStorageFileWebp) ReadBareFrom(r *tl.Reader)

func (*TLStorageFileWebp) String

func (o *TLStorageFileWebp) String() string

func (*TLStorageFileWebp) WriteBareTo

func (o *TLStorageFileWebp) WriteBareTo(w *tl.Writer)

type TLTextBold

type TLTextBold struct {
	Text TLRichTextType // text:RichText
}

TLTextBold represents ctor textBold#6724abc4 text:RichText = RichText from Telegram

func (*TLTextBold) Cmd

func (o *TLTextBold) Cmd() uint32

func (*TLTextBold) IsTLRichText

func (o *TLTextBold) IsTLRichText()

func (*TLTextBold) ReadBareFrom

func (o *TLTextBold) ReadBareFrom(r *tl.Reader)

func (*TLTextBold) String

func (o *TLTextBold) String() string

func (*TLTextBold) WriteBareTo

func (o *TLTextBold) WriteBareTo(w *tl.Writer)

type TLTextConcat

type TLTextConcat struct {
	Texts []TLRichTextType // texts:Vector<RichText>
}

TLTextConcat represents ctor textConcat#7e6260d7 texts:Vector<RichText> = RichText from Telegram

func (*TLTextConcat) Cmd

func (o *TLTextConcat) Cmd() uint32

func (*TLTextConcat) IsTLRichText

func (o *TLTextConcat) IsTLRichText()

func (*TLTextConcat) ReadBareFrom

func (o *TLTextConcat) ReadBareFrom(r *tl.Reader)

func (*TLTextConcat) String

func (o *TLTextConcat) String() string

func (*TLTextConcat) WriteBareTo

func (o *TLTextConcat) WriteBareTo(w *tl.Writer)

type TLTextEmail

type TLTextEmail struct {
	Text  TLRichTextType // text:RichText
	Email string         // email:string
}

TLTextEmail represents ctor textEmail#de5a0dd6 text:RichText email:string = RichText from Telegram

func (*TLTextEmail) Cmd

func (o *TLTextEmail) Cmd() uint32

func (*TLTextEmail) IsTLRichText

func (o *TLTextEmail) IsTLRichText()

func (*TLTextEmail) ReadBareFrom

func (o *TLTextEmail) ReadBareFrom(r *tl.Reader)

func (*TLTextEmail) String

func (o *TLTextEmail) String() string

func (*TLTextEmail) WriteBareTo

func (o *TLTextEmail) WriteBareTo(w *tl.Writer)

type TLTextEmpty

type TLTextEmpty struct {
}

TLTextEmpty represents ctor textEmpty#dc3d824f = RichText from Telegram

func (*TLTextEmpty) Cmd

func (o *TLTextEmpty) Cmd() uint32

func (*TLTextEmpty) IsTLRichText

func (o *TLTextEmpty) IsTLRichText()

func (*TLTextEmpty) ReadBareFrom

func (o *TLTextEmpty) ReadBareFrom(r *tl.Reader)

func (*TLTextEmpty) String

func (o *TLTextEmpty) String() string

func (*TLTextEmpty) WriteBareTo

func (o *TLTextEmpty) WriteBareTo(w *tl.Writer)

type TLTextFixed

type TLTextFixed struct {
	Text TLRichTextType // text:RichText
}

TLTextFixed represents ctor textFixed#6c3f19b9 text:RichText = RichText from Telegram

func (*TLTextFixed) Cmd

func (o *TLTextFixed) Cmd() uint32

func (*TLTextFixed) IsTLRichText

func (o *TLTextFixed) IsTLRichText()

func (*TLTextFixed) ReadBareFrom

func (o *TLTextFixed) ReadBareFrom(r *tl.Reader)

func (*TLTextFixed) String

func (o *TLTextFixed) String() string

func (*TLTextFixed) WriteBareTo

func (o *TLTextFixed) WriteBareTo(w *tl.Writer)

type TLTextItalic

type TLTextItalic struct {
	Text TLRichTextType // text:RichText
}

TLTextItalic represents ctor textItalic#d912a59c text:RichText = RichText from Telegram

func (*TLTextItalic) Cmd

func (o *TLTextItalic) Cmd() uint32

func (*TLTextItalic) IsTLRichText

func (o *TLTextItalic) IsTLRichText()

func (*TLTextItalic) ReadBareFrom

func (o *TLTextItalic) ReadBareFrom(r *tl.Reader)

func (*TLTextItalic) String

func (o *TLTextItalic) String() string

func (*TLTextItalic) WriteBareTo

func (o *TLTextItalic) WriteBareTo(w *tl.Writer)

type TLTextPlain

type TLTextPlain struct {
	Text string // text:string
}

TLTextPlain represents ctor textPlain#744694e0 text:string = RichText from Telegram

func (*TLTextPlain) Cmd

func (o *TLTextPlain) Cmd() uint32

func (*TLTextPlain) IsTLRichText

func (o *TLTextPlain) IsTLRichText()

func (*TLTextPlain) ReadBareFrom

func (o *TLTextPlain) ReadBareFrom(r *tl.Reader)

func (*TLTextPlain) String

func (o *TLTextPlain) String() string

func (*TLTextPlain) WriteBareTo

func (o *TLTextPlain) WriteBareTo(w *tl.Writer)

type TLTextStrike

type TLTextStrike struct {
	Text TLRichTextType // text:RichText
}

TLTextStrike represents ctor textStrike#9bf8bb95 text:RichText = RichText from Telegram

func (*TLTextStrike) Cmd

func (o *TLTextStrike) Cmd() uint32

func (*TLTextStrike) IsTLRichText

func (o *TLTextStrike) IsTLRichText()

func (*TLTextStrike) ReadBareFrom

func (o *TLTextStrike) ReadBareFrom(r *tl.Reader)

func (*TLTextStrike) String

func (o *TLTextStrike) String() string

func (*TLTextStrike) WriteBareTo

func (o *TLTextStrike) WriteBareTo(w *tl.Writer)

type TLTextURL

type TLTextURL struct {
	Text      TLRichTextType // text:RichText
	URL       string         // url:string
	WebpageID uint64         // webpage_id:long
}

TLTextURL represents ctor textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText from Telegram

func (*TLTextURL) Cmd

func (o *TLTextURL) Cmd() uint32

func (*TLTextURL) IsTLRichText

func (o *TLTextURL) IsTLRichText()

func (*TLTextURL) ReadBareFrom

func (o *TLTextURL) ReadBareFrom(r *tl.Reader)

func (*TLTextURL) String

func (o *TLTextURL) String() string

func (*TLTextURL) WriteBareTo

func (o *TLTextURL) WriteBareTo(w *tl.Writer)

type TLTextUnderline

type TLTextUnderline struct {
	Text TLRichTextType // text:RichText
}

TLTextUnderline represents ctor textUnderline#c12622c4 text:RichText = RichText from Telegram

func (*TLTextUnderline) Cmd

func (o *TLTextUnderline) Cmd() uint32

func (*TLTextUnderline) IsTLRichText

func (o *TLTextUnderline) IsTLRichText()

func (*TLTextUnderline) ReadBareFrom

func (o *TLTextUnderline) ReadBareFrom(r *tl.Reader)

func (*TLTextUnderline) String

func (o *TLTextUnderline) String() string

func (*TLTextUnderline) WriteBareTo

func (o *TLTextUnderline) WriteBareTo(w *tl.Writer)

type TLTopPeer

type TLTopPeer struct {
	Peer   TLPeerType // peer:Peer
	Rating float64    // rating:double
}

TLTopPeer represents ctor topPeer#edcdc05b peer:Peer rating:double = TopPeer from Telegram

func (*TLTopPeer) Cmd

func (o *TLTopPeer) Cmd() uint32

func (*TLTopPeer) ReadBareFrom

func (o *TLTopPeer) ReadBareFrom(r *tl.Reader)

func (*TLTopPeer) String

func (o *TLTopPeer) String() string

func (*TLTopPeer) WriteBareTo

func (o *TLTopPeer) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryBotsInline

type TLTopPeerCategoryBotsInline struct {
}

TLTopPeerCategoryBotsInline represents ctor topPeerCategoryBotsInline#148677e2 = TopPeerCategory from Telegram

func (*TLTopPeerCategoryBotsInline) Cmd

func (*TLTopPeerCategoryBotsInline) IsTLTopPeerCategory

func (o *TLTopPeerCategoryBotsInline) IsTLTopPeerCategory()

func (*TLTopPeerCategoryBotsInline) ReadBareFrom

func (o *TLTopPeerCategoryBotsInline) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryBotsInline) String

func (o *TLTopPeerCategoryBotsInline) String() string

func (*TLTopPeerCategoryBotsInline) WriteBareTo

func (o *TLTopPeerCategoryBotsInline) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryBotsPM

type TLTopPeerCategoryBotsPM struct {
}

TLTopPeerCategoryBotsPM represents ctor topPeerCategoryBotsPM#ab661b5b = TopPeerCategory from Telegram

func (*TLTopPeerCategoryBotsPM) Cmd

func (*TLTopPeerCategoryBotsPM) IsTLTopPeerCategory

func (o *TLTopPeerCategoryBotsPM) IsTLTopPeerCategory()

func (*TLTopPeerCategoryBotsPM) ReadBareFrom

func (o *TLTopPeerCategoryBotsPM) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryBotsPM) String

func (o *TLTopPeerCategoryBotsPM) String() string

func (*TLTopPeerCategoryBotsPM) WriteBareTo

func (o *TLTopPeerCategoryBotsPM) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryChannels

type TLTopPeerCategoryChannels struct {
}

TLTopPeerCategoryChannels represents ctor topPeerCategoryChannels#161d9628 = TopPeerCategory from Telegram

func (*TLTopPeerCategoryChannels) Cmd

func (*TLTopPeerCategoryChannels) IsTLTopPeerCategory

func (o *TLTopPeerCategoryChannels) IsTLTopPeerCategory()

func (*TLTopPeerCategoryChannels) ReadBareFrom

func (o *TLTopPeerCategoryChannels) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryChannels) String

func (o *TLTopPeerCategoryChannels) String() string

func (*TLTopPeerCategoryChannels) WriteBareTo

func (o *TLTopPeerCategoryChannels) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryCorrespondents

type TLTopPeerCategoryCorrespondents struct {
}

TLTopPeerCategoryCorrespondents represents ctor topPeerCategoryCorrespondents#0637b7ed = TopPeerCategory from Telegram

func (*TLTopPeerCategoryCorrespondents) Cmd

func (*TLTopPeerCategoryCorrespondents) IsTLTopPeerCategory

func (o *TLTopPeerCategoryCorrespondents) IsTLTopPeerCategory()

func (*TLTopPeerCategoryCorrespondents) ReadBareFrom

func (o *TLTopPeerCategoryCorrespondents) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryCorrespondents) String

func (*TLTopPeerCategoryCorrespondents) WriteBareTo

func (o *TLTopPeerCategoryCorrespondents) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryGroups

type TLTopPeerCategoryGroups struct {
}

TLTopPeerCategoryGroups represents ctor topPeerCategoryGroups#bd17a14a = TopPeerCategory from Telegram

func (*TLTopPeerCategoryGroups) Cmd

func (*TLTopPeerCategoryGroups) IsTLTopPeerCategory

func (o *TLTopPeerCategoryGroups) IsTLTopPeerCategory()

func (*TLTopPeerCategoryGroups) ReadBareFrom

func (o *TLTopPeerCategoryGroups) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryGroups) String

func (o *TLTopPeerCategoryGroups) String() string

func (*TLTopPeerCategoryGroups) WriteBareTo

func (o *TLTopPeerCategoryGroups) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryPeers

type TLTopPeerCategoryPeers struct {
	Category TLTopPeerCategoryType // category:TopPeerCategory
	Count    int                   // count:int
	Peers    []*TLTopPeer          // peers:Vector<TopPeer>
}

TLTopPeerCategoryPeers represents ctor topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers from Telegram

func (*TLTopPeerCategoryPeers) Cmd

func (o *TLTopPeerCategoryPeers) Cmd() uint32

func (*TLTopPeerCategoryPeers) ReadBareFrom

func (o *TLTopPeerCategoryPeers) ReadBareFrom(r *tl.Reader)

func (*TLTopPeerCategoryPeers) String

func (o *TLTopPeerCategoryPeers) String() string

func (*TLTopPeerCategoryPeers) WriteBareTo

func (o *TLTopPeerCategoryPeers) WriteBareTo(w *tl.Writer)

type TLTopPeerCategoryType

type TLTopPeerCategoryType interface {
	IsTLTopPeerCategory()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLTopPeerCategoryType represents TopPeerCategory from Telegram

type TLUpdateBotCallbackQuery

type TLUpdateBotCallbackQuery struct {
	Flags         uint       // flags:#
	QueryID       uint64     // query_id:long
	UserID        int        // user_id:int
	Peer          TLPeerType // peer:Peer
	MsgID         int        // msg_id:int
	ChatInstance  uint64     // chat_instance:long
	Data          []byte     // flags.0?data:bytes
	GameShortName string     // flags.1?game_short_name:string
}

TLUpdateBotCallbackQuery represents ctor updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long flags.0?data:bytes flags.1?game_short_name:string = Update from Telegram

func (*TLUpdateBotCallbackQuery) Cmd

func (*TLUpdateBotCallbackQuery) HasData

func (o *TLUpdateBotCallbackQuery) HasData() bool

func (*TLUpdateBotCallbackQuery) HasGameShortName

func (o *TLUpdateBotCallbackQuery) HasGameShortName() bool

func (*TLUpdateBotCallbackQuery) IsTLUpdate

func (o *TLUpdateBotCallbackQuery) IsTLUpdate()

func (*TLUpdateBotCallbackQuery) ReadBareFrom

func (o *TLUpdateBotCallbackQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotCallbackQuery) SetHasData

func (o *TLUpdateBotCallbackQuery) SetHasData(v bool)

func (*TLUpdateBotCallbackQuery) SetHasGameShortName

func (o *TLUpdateBotCallbackQuery) SetHasGameShortName(v bool)

func (*TLUpdateBotCallbackQuery) String

func (o *TLUpdateBotCallbackQuery) String() string

func (*TLUpdateBotCallbackQuery) WriteBareTo

func (o *TLUpdateBotCallbackQuery) WriteBareTo(w *tl.Writer)

type TLUpdateBotInlineQuery

type TLUpdateBotInlineQuery struct {
	Flags   uint           // flags:#
	QueryID uint64         // query_id:long
	UserID  int            // user_id:int
	Query   string         // query:string
	Geo     TLGeoPointType // flags.0?geo:GeoPoint
	Offset  string         // offset:string
}

TLUpdateBotInlineQuery represents ctor updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string flags.0?geo:GeoPoint offset:string = Update from Telegram

func (*TLUpdateBotInlineQuery) Cmd

func (o *TLUpdateBotInlineQuery) Cmd() uint32

func (*TLUpdateBotInlineQuery) HasGeo

func (o *TLUpdateBotInlineQuery) HasGeo() bool

func (*TLUpdateBotInlineQuery) IsTLUpdate

func (o *TLUpdateBotInlineQuery) IsTLUpdate()

func (*TLUpdateBotInlineQuery) ReadBareFrom

func (o *TLUpdateBotInlineQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotInlineQuery) SetHasGeo

func (o *TLUpdateBotInlineQuery) SetHasGeo(v bool)

func (*TLUpdateBotInlineQuery) String

func (o *TLUpdateBotInlineQuery) String() string

func (*TLUpdateBotInlineQuery) WriteBareTo

func (o *TLUpdateBotInlineQuery) WriteBareTo(w *tl.Writer)

type TLUpdateBotInlineSend

type TLUpdateBotInlineSend struct {
	Flags  uint                       // flags:#
	UserID int                        // user_id:int
	Query  string                     // query:string
	Geo    TLGeoPointType             // flags.0?geo:GeoPoint
	ID     string                     // id:string
	MsgID  *TLInputBotInlineMessageID // flags.1?msg_id:InputBotInlineMessageID
}

TLUpdateBotInlineSend represents ctor updateBotInlineSend#0e48f964 flags:# user_id:int query:string flags.0?geo:GeoPoint id:string flags.1?msg_id:InputBotInlineMessageID = Update from Telegram

func (*TLUpdateBotInlineSend) Cmd

func (o *TLUpdateBotInlineSend) Cmd() uint32

func (*TLUpdateBotInlineSend) HasGeo

func (o *TLUpdateBotInlineSend) HasGeo() bool

func (*TLUpdateBotInlineSend) HasMsgID

func (o *TLUpdateBotInlineSend) HasMsgID() bool

func (*TLUpdateBotInlineSend) IsTLUpdate

func (o *TLUpdateBotInlineSend) IsTLUpdate()

func (*TLUpdateBotInlineSend) ReadBareFrom

func (o *TLUpdateBotInlineSend) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotInlineSend) SetHasGeo

func (o *TLUpdateBotInlineSend) SetHasGeo(v bool)

func (*TLUpdateBotInlineSend) SetHasMsgID

func (o *TLUpdateBotInlineSend) SetHasMsgID(v bool)

func (*TLUpdateBotInlineSend) String

func (o *TLUpdateBotInlineSend) String() string

func (*TLUpdateBotInlineSend) WriteBareTo

func (o *TLUpdateBotInlineSend) WriteBareTo(w *tl.Writer)

type TLUpdateBotPrecheckoutQuery

type TLUpdateBotPrecheckoutQuery struct {
	Flags            uint                    // flags:#
	QueryID          uint64                  // query_id:long
	UserID           int                     // user_id:int
	Payload          []byte                  // payload:bytes
	Info             *TLPaymentRequestedInfo // flags.0?info:PaymentRequestedInfo
	ShippingOptionID string                  // flags.1?shipping_option_id:string
	Currency         string                  // currency:string
	TotalAmount      uint64                  // total_amount:long
}

TLUpdateBotPrecheckoutQuery represents ctor updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes flags.0?info:PaymentRequestedInfo flags.1?shipping_option_id:string currency:string total_amount:long = Update from Telegram

func (*TLUpdateBotPrecheckoutQuery) Cmd

func (*TLUpdateBotPrecheckoutQuery) HasInfo

func (o *TLUpdateBotPrecheckoutQuery) HasInfo() bool

func (*TLUpdateBotPrecheckoutQuery) HasShippingOptionID

func (o *TLUpdateBotPrecheckoutQuery) HasShippingOptionID() bool

func (*TLUpdateBotPrecheckoutQuery) IsTLUpdate

func (o *TLUpdateBotPrecheckoutQuery) IsTLUpdate()

func (*TLUpdateBotPrecheckoutQuery) ReadBareFrom

func (o *TLUpdateBotPrecheckoutQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotPrecheckoutQuery) SetHasInfo

func (o *TLUpdateBotPrecheckoutQuery) SetHasInfo(v bool)

func (*TLUpdateBotPrecheckoutQuery) SetHasShippingOptionID

func (o *TLUpdateBotPrecheckoutQuery) SetHasShippingOptionID(v bool)

func (*TLUpdateBotPrecheckoutQuery) String

func (o *TLUpdateBotPrecheckoutQuery) String() string

func (*TLUpdateBotPrecheckoutQuery) WriteBareTo

func (o *TLUpdateBotPrecheckoutQuery) WriteBareTo(w *tl.Writer)

type TLUpdateBotShippingQuery

type TLUpdateBotShippingQuery struct {
	QueryID         uint64         // query_id:long
	UserID          int            // user_id:int
	Payload         []byte         // payload:bytes
	ShippingAddress *TLPostAddress // shipping_address:PostAddress
}

TLUpdateBotShippingQuery represents ctor updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update from Telegram

func (*TLUpdateBotShippingQuery) Cmd

func (*TLUpdateBotShippingQuery) IsTLUpdate

func (o *TLUpdateBotShippingQuery) IsTLUpdate()

func (*TLUpdateBotShippingQuery) ReadBareFrom

func (o *TLUpdateBotShippingQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotShippingQuery) String

func (o *TLUpdateBotShippingQuery) String() string

func (*TLUpdateBotShippingQuery) WriteBareTo

func (o *TLUpdateBotShippingQuery) WriteBareTo(w *tl.Writer)

type TLUpdateBotWebhookJSON

type TLUpdateBotWebhookJSON struct {
	Data *TLDataJSON // data:DataJSON
}

TLUpdateBotWebhookJSON represents ctor updateBotWebhookJSON#8317c0c3 data:DataJSON = Update from Telegram

func (*TLUpdateBotWebhookJSON) Cmd

func (o *TLUpdateBotWebhookJSON) Cmd() uint32

func (*TLUpdateBotWebhookJSON) IsTLUpdate

func (o *TLUpdateBotWebhookJSON) IsTLUpdate()

func (*TLUpdateBotWebhookJSON) ReadBareFrom

func (o *TLUpdateBotWebhookJSON) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotWebhookJSON) String

func (o *TLUpdateBotWebhookJSON) String() string

func (*TLUpdateBotWebhookJSON) WriteBareTo

func (o *TLUpdateBotWebhookJSON) WriteBareTo(w *tl.Writer)

type TLUpdateBotWebhookJSONQuery

type TLUpdateBotWebhookJSONQuery struct {
	QueryID uint64      // query_id:long
	Data    *TLDataJSON // data:DataJSON
	Timeout int         // timeout:int
}

TLUpdateBotWebhookJSONQuery represents ctor updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update from Telegram

func (*TLUpdateBotWebhookJSONQuery) Cmd

func (*TLUpdateBotWebhookJSONQuery) IsTLUpdate

func (o *TLUpdateBotWebhookJSONQuery) IsTLUpdate()

func (*TLUpdateBotWebhookJSONQuery) ReadBareFrom

func (o *TLUpdateBotWebhookJSONQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateBotWebhookJSONQuery) String

func (o *TLUpdateBotWebhookJSONQuery) String() string

func (*TLUpdateBotWebhookJSONQuery) WriteBareTo

func (o *TLUpdateBotWebhookJSONQuery) WriteBareTo(w *tl.Writer)

type TLUpdateChannel

type TLUpdateChannel struct {
	ChannelID int // channel_id:int
}

TLUpdateChannel represents ctor updateChannel#b6d45656 channel_id:int = Update from Telegram

func (*TLUpdateChannel) Cmd

func (o *TLUpdateChannel) Cmd() uint32

func (*TLUpdateChannel) IsTLUpdate

func (o *TLUpdateChannel) IsTLUpdate()

func (*TLUpdateChannel) ReadBareFrom

func (o *TLUpdateChannel) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChannel) String

func (o *TLUpdateChannel) String() string

func (*TLUpdateChannel) WriteBareTo

func (o *TLUpdateChannel) WriteBareTo(w *tl.Writer)

type TLUpdateChannelMessageViews

type TLUpdateChannelMessageViews struct {
	ChannelID int // channel_id:int
	ID        int // id:int
	Views     int // views:int
}

TLUpdateChannelMessageViews represents ctor updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update from Telegram

func (*TLUpdateChannelMessageViews) Cmd

func (*TLUpdateChannelMessageViews) IsTLUpdate

func (o *TLUpdateChannelMessageViews) IsTLUpdate()

func (*TLUpdateChannelMessageViews) ReadBareFrom

func (o *TLUpdateChannelMessageViews) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChannelMessageViews) String

func (o *TLUpdateChannelMessageViews) String() string

func (*TLUpdateChannelMessageViews) WriteBareTo

func (o *TLUpdateChannelMessageViews) WriteBareTo(w *tl.Writer)

type TLUpdateChannelPinnedMessage

type TLUpdateChannelPinnedMessage struct {
	ChannelID int // channel_id:int
	ID        int // id:int
}

TLUpdateChannelPinnedMessage represents ctor updateChannelPinnedMessage#98592475 channel_id:int id:int = Update from Telegram

func (*TLUpdateChannelPinnedMessage) Cmd

func (*TLUpdateChannelPinnedMessage) IsTLUpdate

func (o *TLUpdateChannelPinnedMessage) IsTLUpdate()

func (*TLUpdateChannelPinnedMessage) ReadBareFrom

func (o *TLUpdateChannelPinnedMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChannelPinnedMessage) String

func (*TLUpdateChannelPinnedMessage) WriteBareTo

func (o *TLUpdateChannelPinnedMessage) WriteBareTo(w *tl.Writer)

type TLUpdateChannelTooLong

type TLUpdateChannelTooLong struct {
	Flags     uint // flags:#
	ChannelID int  // channel_id:int
	Pts       int  // flags.0?pts:int
}

TLUpdateChannelTooLong represents ctor updateChannelTooLong#eb0467fb flags:# channel_id:int flags.0?pts:int = Update from Telegram

func (*TLUpdateChannelTooLong) Cmd

func (o *TLUpdateChannelTooLong) Cmd() uint32

func (*TLUpdateChannelTooLong) HasPts

func (o *TLUpdateChannelTooLong) HasPts() bool

func (*TLUpdateChannelTooLong) IsTLUpdate

func (o *TLUpdateChannelTooLong) IsTLUpdate()

func (*TLUpdateChannelTooLong) ReadBareFrom

func (o *TLUpdateChannelTooLong) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChannelTooLong) SetHasPts

func (o *TLUpdateChannelTooLong) SetHasPts(v bool)

func (*TLUpdateChannelTooLong) String

func (o *TLUpdateChannelTooLong) String() string

func (*TLUpdateChannelTooLong) WriteBareTo

func (o *TLUpdateChannelTooLong) WriteBareTo(w *tl.Writer)

type TLUpdateChannelWebPage

type TLUpdateChannelWebPage struct {
	ChannelID int           // channel_id:int
	Webpage   TLWebPageType // webpage:WebPage
	Pts       int           // pts:int
	PtsCount  int           // pts_count:int
}

TLUpdateChannelWebPage represents ctor updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update from Telegram

func (*TLUpdateChannelWebPage) Cmd

func (o *TLUpdateChannelWebPage) Cmd() uint32

func (*TLUpdateChannelWebPage) IsTLUpdate

func (o *TLUpdateChannelWebPage) IsTLUpdate()

func (*TLUpdateChannelWebPage) ReadBareFrom

func (o *TLUpdateChannelWebPage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChannelWebPage) String

func (o *TLUpdateChannelWebPage) String() string

func (*TLUpdateChannelWebPage) WriteBareTo

func (o *TLUpdateChannelWebPage) WriteBareTo(w *tl.Writer)

type TLUpdateChatAdmins

type TLUpdateChatAdmins struct {
	ChatID  int  // chat_id:int
	Enabled bool // enabled:Bool
	Version int  // version:int
}

TLUpdateChatAdmins represents ctor updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update from Telegram

func (*TLUpdateChatAdmins) Cmd

func (o *TLUpdateChatAdmins) Cmd() uint32

func (*TLUpdateChatAdmins) IsTLUpdate

func (o *TLUpdateChatAdmins) IsTLUpdate()

func (*TLUpdateChatAdmins) ReadBareFrom

func (o *TLUpdateChatAdmins) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatAdmins) String

func (o *TLUpdateChatAdmins) String() string

func (*TLUpdateChatAdmins) WriteBareTo

func (o *TLUpdateChatAdmins) WriteBareTo(w *tl.Writer)

type TLUpdateChatParticipantAdd

type TLUpdateChatParticipantAdd struct {
	ChatID    int // chat_id:int
	UserID    int // user_id:int
	InviterID int // inviter_id:int
	Date      int // date:int
	Version   int // version:int
}

TLUpdateChatParticipantAdd represents ctor updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update from Telegram

func (*TLUpdateChatParticipantAdd) Cmd

func (*TLUpdateChatParticipantAdd) IsTLUpdate

func (o *TLUpdateChatParticipantAdd) IsTLUpdate()

func (*TLUpdateChatParticipantAdd) ReadBareFrom

func (o *TLUpdateChatParticipantAdd) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatParticipantAdd) String

func (o *TLUpdateChatParticipantAdd) String() string

func (*TLUpdateChatParticipantAdd) WriteBareTo

func (o *TLUpdateChatParticipantAdd) WriteBareTo(w *tl.Writer)

type TLUpdateChatParticipantAdmin

type TLUpdateChatParticipantAdmin struct {
	ChatID  int  // chat_id:int
	UserID  int  // user_id:int
	IsAdmin bool // is_admin:Bool
	Version int  // version:int
}

TLUpdateChatParticipantAdmin represents ctor updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update from Telegram

func (*TLUpdateChatParticipantAdmin) Cmd

func (*TLUpdateChatParticipantAdmin) IsTLUpdate

func (o *TLUpdateChatParticipantAdmin) IsTLUpdate()

func (*TLUpdateChatParticipantAdmin) ReadBareFrom

func (o *TLUpdateChatParticipantAdmin) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatParticipantAdmin) String

func (*TLUpdateChatParticipantAdmin) WriteBareTo

func (o *TLUpdateChatParticipantAdmin) WriteBareTo(w *tl.Writer)

type TLUpdateChatParticipantDelete

type TLUpdateChatParticipantDelete struct {
	ChatID  int // chat_id:int
	UserID  int // user_id:int
	Version int // version:int
}

TLUpdateChatParticipantDelete represents ctor updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update from Telegram

func (*TLUpdateChatParticipantDelete) Cmd

func (*TLUpdateChatParticipantDelete) IsTLUpdate

func (o *TLUpdateChatParticipantDelete) IsTLUpdate()

func (*TLUpdateChatParticipantDelete) ReadBareFrom

func (o *TLUpdateChatParticipantDelete) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatParticipantDelete) String

func (*TLUpdateChatParticipantDelete) WriteBareTo

func (o *TLUpdateChatParticipantDelete) WriteBareTo(w *tl.Writer)

type TLUpdateChatParticipants

type TLUpdateChatParticipants struct {
	Participants TLChatParticipantsType // participants:ChatParticipants
}

TLUpdateChatParticipants represents ctor updateChatParticipants#07761198 participants:ChatParticipants = Update from Telegram

func (*TLUpdateChatParticipants) Cmd

func (*TLUpdateChatParticipants) IsTLUpdate

func (o *TLUpdateChatParticipants) IsTLUpdate()

func (*TLUpdateChatParticipants) ReadBareFrom

func (o *TLUpdateChatParticipants) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatParticipants) String

func (o *TLUpdateChatParticipants) String() string

func (*TLUpdateChatParticipants) WriteBareTo

func (o *TLUpdateChatParticipants) WriteBareTo(w *tl.Writer)

type TLUpdateChatUserTyping

type TLUpdateChatUserTyping struct {
	ChatID int                     // chat_id:int
	UserID int                     // user_id:int
	Action TLSendMessageActionType // action:SendMessageAction
}

TLUpdateChatUserTyping represents ctor updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update from Telegram

func (*TLUpdateChatUserTyping) Cmd

func (o *TLUpdateChatUserTyping) Cmd() uint32

func (*TLUpdateChatUserTyping) IsTLUpdate

func (o *TLUpdateChatUserTyping) IsTLUpdate()

func (*TLUpdateChatUserTyping) ReadBareFrom

func (o *TLUpdateChatUserTyping) ReadBareFrom(r *tl.Reader)

func (*TLUpdateChatUserTyping) String

func (o *TLUpdateChatUserTyping) String() string

func (*TLUpdateChatUserTyping) WriteBareTo

func (o *TLUpdateChatUserTyping) WriteBareTo(w *tl.Writer)

type TLUpdateConfig

type TLUpdateConfig struct {
}

TLUpdateConfig represents ctor updateConfig#a229dd06 = Update from Telegram

func (*TLUpdateConfig) Cmd

func (o *TLUpdateConfig) Cmd() uint32

func (*TLUpdateConfig) IsTLUpdate

func (o *TLUpdateConfig) IsTLUpdate()

func (*TLUpdateConfig) ReadBareFrom

func (o *TLUpdateConfig) ReadBareFrom(r *tl.Reader)

func (*TLUpdateConfig) String

func (o *TLUpdateConfig) String() string

func (*TLUpdateConfig) WriteBareTo

func (o *TLUpdateConfig) WriteBareTo(w *tl.Writer)
type TLUpdateContactLink struct {
	UserID      int               // user_id:int
	MyLink      TLContactLinkType // my_link:ContactLink
	ForeignLink TLContactLinkType // foreign_link:ContactLink
}

TLUpdateContactLink represents ctor updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update from Telegram

func (*TLUpdateContactLink) Cmd

func (o *TLUpdateContactLink) Cmd() uint32

func (*TLUpdateContactLink) IsTLUpdate

func (o *TLUpdateContactLink) IsTLUpdate()

func (*TLUpdateContactLink) ReadBareFrom

func (o *TLUpdateContactLink) ReadBareFrom(r *tl.Reader)

func (*TLUpdateContactLink) String

func (o *TLUpdateContactLink) String() string

func (*TLUpdateContactLink) WriteBareTo

func (o *TLUpdateContactLink) WriteBareTo(w *tl.Writer)

type TLUpdateContactRegistered

type TLUpdateContactRegistered struct {
	UserID int // user_id:int
	Date   int // date:int
}

TLUpdateContactRegistered represents ctor updateContactRegistered#2575bbb9 user_id:int date:int = Update from Telegram

func (*TLUpdateContactRegistered) Cmd

func (*TLUpdateContactRegistered) IsTLUpdate

func (o *TLUpdateContactRegistered) IsTLUpdate()

func (*TLUpdateContactRegistered) ReadBareFrom

func (o *TLUpdateContactRegistered) ReadBareFrom(r *tl.Reader)

func (*TLUpdateContactRegistered) String

func (o *TLUpdateContactRegistered) String() string

func (*TLUpdateContactRegistered) WriteBareTo

func (o *TLUpdateContactRegistered) WriteBareTo(w *tl.Writer)

type TLUpdateDCOptions

type TLUpdateDCOptions struct {
	DCOptions []*TLDCOption // dc_options:Vector<DcOption>
}

TLUpdateDCOptions represents ctor updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update from Telegram

func (*TLUpdateDCOptions) Cmd

func (o *TLUpdateDCOptions) Cmd() uint32

func (*TLUpdateDCOptions) IsTLUpdate

func (o *TLUpdateDCOptions) IsTLUpdate()

func (*TLUpdateDCOptions) ReadBareFrom

func (o *TLUpdateDCOptions) ReadBareFrom(r *tl.Reader)

func (*TLUpdateDCOptions) String

func (o *TLUpdateDCOptions) String() string

func (*TLUpdateDCOptions) WriteBareTo

func (o *TLUpdateDCOptions) WriteBareTo(w *tl.Writer)

type TLUpdateDeleteChannelMessages

type TLUpdateDeleteChannelMessages struct {
	ChannelID int   // channel_id:int
	Messages  []int // messages:Vector<int>
	Pts       int   // pts:int
	PtsCount  int   // pts_count:int
}

TLUpdateDeleteChannelMessages represents ctor updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update from Telegram

func (*TLUpdateDeleteChannelMessages) Cmd

func (*TLUpdateDeleteChannelMessages) IsTLUpdate

func (o *TLUpdateDeleteChannelMessages) IsTLUpdate()

func (*TLUpdateDeleteChannelMessages) ReadBareFrom

func (o *TLUpdateDeleteChannelMessages) ReadBareFrom(r *tl.Reader)

func (*TLUpdateDeleteChannelMessages) String

func (*TLUpdateDeleteChannelMessages) WriteBareTo

func (o *TLUpdateDeleteChannelMessages) WriteBareTo(w *tl.Writer)

type TLUpdateDeleteMessages

type TLUpdateDeleteMessages struct {
	Messages []int // messages:Vector<int>
	Pts      int   // pts:int
	PtsCount int   // pts_count:int
}

TLUpdateDeleteMessages represents ctor updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update from Telegram

func (*TLUpdateDeleteMessages) Cmd

func (o *TLUpdateDeleteMessages) Cmd() uint32

func (*TLUpdateDeleteMessages) IsTLUpdate

func (o *TLUpdateDeleteMessages) IsTLUpdate()

func (*TLUpdateDeleteMessages) ReadBareFrom

func (o *TLUpdateDeleteMessages) ReadBareFrom(r *tl.Reader)

func (*TLUpdateDeleteMessages) String

func (o *TLUpdateDeleteMessages) String() string

func (*TLUpdateDeleteMessages) WriteBareTo

func (o *TLUpdateDeleteMessages) WriteBareTo(w *tl.Writer)

type TLUpdateDialogPinned

type TLUpdateDialogPinned struct {
	Flags uint       // flags:#
	Peer  TLPeerType // peer:Peer
}

TLUpdateDialogPinned represents ctor updateDialogPinned#d711a2cc flags:# flags.0?pinned:true peer:Peer = Update from Telegram

func (*TLUpdateDialogPinned) Cmd

func (o *TLUpdateDialogPinned) Cmd() uint32

func (*TLUpdateDialogPinned) IsTLUpdate

func (o *TLUpdateDialogPinned) IsTLUpdate()

func (*TLUpdateDialogPinned) Pinned

func (o *TLUpdateDialogPinned) Pinned() bool

func (*TLUpdateDialogPinned) ReadBareFrom

func (o *TLUpdateDialogPinned) ReadBareFrom(r *tl.Reader)

func (*TLUpdateDialogPinned) SetPinned

func (o *TLUpdateDialogPinned) SetPinned(v bool)

func (*TLUpdateDialogPinned) String

func (o *TLUpdateDialogPinned) String() string

func (*TLUpdateDialogPinned) WriteBareTo

func (o *TLUpdateDialogPinned) WriteBareTo(w *tl.Writer)

type TLUpdateDraftMessage

type TLUpdateDraftMessage struct {
	Peer  TLPeerType         // peer:Peer
	Draft TLDraftMessageType // draft:DraftMessage
}

TLUpdateDraftMessage represents ctor updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update from Telegram

func (*TLUpdateDraftMessage) Cmd

func (o *TLUpdateDraftMessage) Cmd() uint32

func (*TLUpdateDraftMessage) IsTLUpdate

func (o *TLUpdateDraftMessage) IsTLUpdate()

func (*TLUpdateDraftMessage) ReadBareFrom

func (o *TLUpdateDraftMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateDraftMessage) String

func (o *TLUpdateDraftMessage) String() string

func (*TLUpdateDraftMessage) WriteBareTo

func (o *TLUpdateDraftMessage) WriteBareTo(w *tl.Writer)

type TLUpdateEditChannelMessage

type TLUpdateEditChannelMessage struct {
	Message  TLMessageType // message:Message
	Pts      int           // pts:int
	PtsCount int           // pts_count:int
}

TLUpdateEditChannelMessage represents ctor updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update from Telegram

func (*TLUpdateEditChannelMessage) Cmd

func (*TLUpdateEditChannelMessage) IsTLUpdate

func (o *TLUpdateEditChannelMessage) IsTLUpdate()

func (*TLUpdateEditChannelMessage) ReadBareFrom

func (o *TLUpdateEditChannelMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateEditChannelMessage) String

func (o *TLUpdateEditChannelMessage) String() string

func (*TLUpdateEditChannelMessage) WriteBareTo

func (o *TLUpdateEditChannelMessage) WriteBareTo(w *tl.Writer)

type TLUpdateEditMessage

type TLUpdateEditMessage struct {
	Message  TLMessageType // message:Message
	Pts      int           // pts:int
	PtsCount int           // pts_count:int
}

TLUpdateEditMessage represents ctor updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update from Telegram

func (*TLUpdateEditMessage) Cmd

func (o *TLUpdateEditMessage) Cmd() uint32

func (*TLUpdateEditMessage) IsTLUpdate

func (o *TLUpdateEditMessage) IsTLUpdate()

func (*TLUpdateEditMessage) ReadBareFrom

func (o *TLUpdateEditMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateEditMessage) String

func (o *TLUpdateEditMessage) String() string

func (*TLUpdateEditMessage) WriteBareTo

func (o *TLUpdateEditMessage) WriteBareTo(w *tl.Writer)

type TLUpdateEncryptedChatTyping

type TLUpdateEncryptedChatTyping struct {
	ChatID int // chat_id:int
}

TLUpdateEncryptedChatTyping represents ctor updateEncryptedChatTyping#1710f156 chat_id:int = Update from Telegram

func (*TLUpdateEncryptedChatTyping) Cmd

func (*TLUpdateEncryptedChatTyping) IsTLUpdate

func (o *TLUpdateEncryptedChatTyping) IsTLUpdate()

func (*TLUpdateEncryptedChatTyping) ReadBareFrom

func (o *TLUpdateEncryptedChatTyping) ReadBareFrom(r *tl.Reader)

func (*TLUpdateEncryptedChatTyping) String

func (o *TLUpdateEncryptedChatTyping) String() string

func (*TLUpdateEncryptedChatTyping) WriteBareTo

func (o *TLUpdateEncryptedChatTyping) WriteBareTo(w *tl.Writer)

type TLUpdateEncryptedMessagesRead

type TLUpdateEncryptedMessagesRead struct {
	ChatID  int // chat_id:int
	MaxDate int // max_date:int
	Date    int // date:int
}

TLUpdateEncryptedMessagesRead represents ctor updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update from Telegram

func (*TLUpdateEncryptedMessagesRead) Cmd

func (*TLUpdateEncryptedMessagesRead) IsTLUpdate

func (o *TLUpdateEncryptedMessagesRead) IsTLUpdate()

func (*TLUpdateEncryptedMessagesRead) ReadBareFrom

func (o *TLUpdateEncryptedMessagesRead) ReadBareFrom(r *tl.Reader)

func (*TLUpdateEncryptedMessagesRead) String

func (*TLUpdateEncryptedMessagesRead) WriteBareTo

func (o *TLUpdateEncryptedMessagesRead) WriteBareTo(w *tl.Writer)

type TLUpdateEncryption

type TLUpdateEncryption struct {
	Chat TLEncryptedChatType // chat:EncryptedChat
	Date int                 // date:int
}

TLUpdateEncryption represents ctor updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update from Telegram

func (*TLUpdateEncryption) Cmd

func (o *TLUpdateEncryption) Cmd() uint32

func (*TLUpdateEncryption) IsTLUpdate

func (o *TLUpdateEncryption) IsTLUpdate()

func (*TLUpdateEncryption) ReadBareFrom

func (o *TLUpdateEncryption) ReadBareFrom(r *tl.Reader)

func (*TLUpdateEncryption) String

func (o *TLUpdateEncryption) String() string

func (*TLUpdateEncryption) WriteBareTo

func (o *TLUpdateEncryption) WriteBareTo(w *tl.Writer)

type TLUpdateInlineBotCallbackQuery

type TLUpdateInlineBotCallbackQuery struct {
	Flags         uint                       // flags:#
	QueryID       uint64                     // query_id:long
	UserID        int                        // user_id:int
	MsgID         *TLInputBotInlineMessageID // msg_id:InputBotInlineMessageID
	ChatInstance  uint64                     // chat_instance:long
	Data          []byte                     // flags.0?data:bytes
	GameShortName string                     // flags.1?game_short_name:string
}

TLUpdateInlineBotCallbackQuery represents ctor updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long flags.0?data:bytes flags.1?game_short_name:string = Update from Telegram

func (*TLUpdateInlineBotCallbackQuery) Cmd

func (*TLUpdateInlineBotCallbackQuery) HasData

func (o *TLUpdateInlineBotCallbackQuery) HasData() bool

func (*TLUpdateInlineBotCallbackQuery) HasGameShortName

func (o *TLUpdateInlineBotCallbackQuery) HasGameShortName() bool

func (*TLUpdateInlineBotCallbackQuery) IsTLUpdate

func (o *TLUpdateInlineBotCallbackQuery) IsTLUpdate()

func (*TLUpdateInlineBotCallbackQuery) ReadBareFrom

func (o *TLUpdateInlineBotCallbackQuery) ReadBareFrom(r *tl.Reader)

func (*TLUpdateInlineBotCallbackQuery) SetHasData

func (o *TLUpdateInlineBotCallbackQuery) SetHasData(v bool)

func (*TLUpdateInlineBotCallbackQuery) SetHasGameShortName

func (o *TLUpdateInlineBotCallbackQuery) SetHasGameShortName(v bool)

func (*TLUpdateInlineBotCallbackQuery) String

func (*TLUpdateInlineBotCallbackQuery) WriteBareTo

func (o *TLUpdateInlineBotCallbackQuery) WriteBareTo(w *tl.Writer)

type TLUpdateMessageID

type TLUpdateMessageID struct {
	ID       int    // id:int
	RandomID uint64 // random_id:long
}

TLUpdateMessageID represents ctor updateMessageID#4e90bfd6 id:int random_id:long = Update from Telegram

func (*TLUpdateMessageID) Cmd

func (o *TLUpdateMessageID) Cmd() uint32

func (*TLUpdateMessageID) IsTLUpdate

func (o *TLUpdateMessageID) IsTLUpdate()

func (*TLUpdateMessageID) ReadBareFrom

func (o *TLUpdateMessageID) ReadBareFrom(r *tl.Reader)

func (*TLUpdateMessageID) String

func (o *TLUpdateMessageID) String() string

func (*TLUpdateMessageID) WriteBareTo

func (o *TLUpdateMessageID) WriteBareTo(w *tl.Writer)

type TLUpdateNewChannelMessage

type TLUpdateNewChannelMessage struct {
	Message  TLMessageType // message:Message
	Pts      int           // pts:int
	PtsCount int           // pts_count:int
}

TLUpdateNewChannelMessage represents ctor updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update from Telegram

func (*TLUpdateNewChannelMessage) Cmd

func (*TLUpdateNewChannelMessage) IsTLUpdate

func (o *TLUpdateNewChannelMessage) IsTLUpdate()

func (*TLUpdateNewChannelMessage) ReadBareFrom

func (o *TLUpdateNewChannelMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateNewChannelMessage) String

func (o *TLUpdateNewChannelMessage) String() string

func (*TLUpdateNewChannelMessage) WriteBareTo

func (o *TLUpdateNewChannelMessage) WriteBareTo(w *tl.Writer)

type TLUpdateNewEncryptedMessage

type TLUpdateNewEncryptedMessage struct {
	Message TLEncryptedMessageType // message:EncryptedMessage
	Qts     int                    // qts:int
}

TLUpdateNewEncryptedMessage represents ctor updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update from Telegram

func (*TLUpdateNewEncryptedMessage) Cmd

func (*TLUpdateNewEncryptedMessage) IsTLUpdate

func (o *TLUpdateNewEncryptedMessage) IsTLUpdate()

func (*TLUpdateNewEncryptedMessage) ReadBareFrom

func (o *TLUpdateNewEncryptedMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateNewEncryptedMessage) String

func (o *TLUpdateNewEncryptedMessage) String() string

func (*TLUpdateNewEncryptedMessage) WriteBareTo

func (o *TLUpdateNewEncryptedMessage) WriteBareTo(w *tl.Writer)

type TLUpdateNewMessage

type TLUpdateNewMessage struct {
	Message  TLMessageType // message:Message
	Pts      int           // pts:int
	PtsCount int           // pts_count:int
}

TLUpdateNewMessage represents ctor updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update from Telegram

func (*TLUpdateNewMessage) Cmd

func (o *TLUpdateNewMessage) Cmd() uint32

func (*TLUpdateNewMessage) IsTLUpdate

func (o *TLUpdateNewMessage) IsTLUpdate()

func (*TLUpdateNewMessage) ReadBareFrom

func (o *TLUpdateNewMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateNewMessage) String

func (o *TLUpdateNewMessage) String() string

func (*TLUpdateNewMessage) WriteBareTo

func (o *TLUpdateNewMessage) WriteBareTo(w *tl.Writer)

type TLUpdateNewStickerSet

type TLUpdateNewStickerSet struct {
	Stickerset *TLMessagesStickerSet // stickerset:messages.StickerSet
}

TLUpdateNewStickerSet represents ctor updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update from Telegram

func (*TLUpdateNewStickerSet) Cmd

func (o *TLUpdateNewStickerSet) Cmd() uint32

func (*TLUpdateNewStickerSet) IsTLUpdate

func (o *TLUpdateNewStickerSet) IsTLUpdate()

func (*TLUpdateNewStickerSet) ReadBareFrom

func (o *TLUpdateNewStickerSet) ReadBareFrom(r *tl.Reader)

func (*TLUpdateNewStickerSet) String

func (o *TLUpdateNewStickerSet) String() string

func (*TLUpdateNewStickerSet) WriteBareTo

func (o *TLUpdateNewStickerSet) WriteBareTo(w *tl.Writer)

type TLUpdateNotifySettings

type TLUpdateNotifySettings struct {
	Peer           TLNotifyPeerType         // peer:NotifyPeer
	NotifySettings TLPeerNotifySettingsType // notify_settings:PeerNotifySettings
}

TLUpdateNotifySettings represents ctor updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update from Telegram

func (*TLUpdateNotifySettings) Cmd

func (o *TLUpdateNotifySettings) Cmd() uint32

func (*TLUpdateNotifySettings) IsTLUpdate

func (o *TLUpdateNotifySettings) IsTLUpdate()

func (*TLUpdateNotifySettings) ReadBareFrom

func (o *TLUpdateNotifySettings) ReadBareFrom(r *tl.Reader)

func (*TLUpdateNotifySettings) String

func (o *TLUpdateNotifySettings) String() string

func (*TLUpdateNotifySettings) WriteBareTo

func (o *TLUpdateNotifySettings) WriteBareTo(w *tl.Writer)

type TLUpdatePhoneCall

type TLUpdatePhoneCall struct {
	PhoneCall TLPhoneCallType // phone_call:PhoneCall
}

TLUpdatePhoneCall represents ctor updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update from Telegram

func (*TLUpdatePhoneCall) Cmd

func (o *TLUpdatePhoneCall) Cmd() uint32

func (*TLUpdatePhoneCall) IsTLUpdate

func (o *TLUpdatePhoneCall) IsTLUpdate()

func (*TLUpdatePhoneCall) ReadBareFrom

func (o *TLUpdatePhoneCall) ReadBareFrom(r *tl.Reader)

func (*TLUpdatePhoneCall) String

func (o *TLUpdatePhoneCall) String() string

func (*TLUpdatePhoneCall) WriteBareTo

func (o *TLUpdatePhoneCall) WriteBareTo(w *tl.Writer)

type TLUpdatePinnedDialogs

type TLUpdatePinnedDialogs struct {
	Flags uint         // flags:#
	Order []TLPeerType // flags.0?order:Vector<Peer>
}

TLUpdatePinnedDialogs represents ctor updatePinnedDialogs#d8caf68d flags:# flags.0?order:Vector<Peer> = Update from Telegram

func (*TLUpdatePinnedDialogs) Cmd

func (o *TLUpdatePinnedDialogs) Cmd() uint32

func (*TLUpdatePinnedDialogs) HasOrder

func (o *TLUpdatePinnedDialogs) HasOrder() bool

func (*TLUpdatePinnedDialogs) IsTLUpdate

func (o *TLUpdatePinnedDialogs) IsTLUpdate()

func (*TLUpdatePinnedDialogs) ReadBareFrom

func (o *TLUpdatePinnedDialogs) ReadBareFrom(r *tl.Reader)

func (*TLUpdatePinnedDialogs) SetHasOrder

func (o *TLUpdatePinnedDialogs) SetHasOrder(v bool)

func (*TLUpdatePinnedDialogs) String

func (o *TLUpdatePinnedDialogs) String() string

func (*TLUpdatePinnedDialogs) WriteBareTo

func (o *TLUpdatePinnedDialogs) WriteBareTo(w *tl.Writer)

type TLUpdatePrivacy

type TLUpdatePrivacy struct {
	Key   TLPrivacyKeyType    // key:PrivacyKey
	Rules []TLPrivacyRuleType // rules:Vector<PrivacyRule>
}

TLUpdatePrivacy represents ctor updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update from Telegram

func (*TLUpdatePrivacy) Cmd

func (o *TLUpdatePrivacy) Cmd() uint32

func (*TLUpdatePrivacy) IsTLUpdate

func (o *TLUpdatePrivacy) IsTLUpdate()

func (*TLUpdatePrivacy) ReadBareFrom

func (o *TLUpdatePrivacy) ReadBareFrom(r *tl.Reader)

func (*TLUpdatePrivacy) String

func (o *TLUpdatePrivacy) String() string

func (*TLUpdatePrivacy) WriteBareTo

func (o *TLUpdatePrivacy) WriteBareTo(w *tl.Writer)

type TLUpdatePtsChanged

type TLUpdatePtsChanged struct {
}

TLUpdatePtsChanged represents ctor updatePtsChanged#3354678f = Update from Telegram

func (*TLUpdatePtsChanged) Cmd

func (o *TLUpdatePtsChanged) Cmd() uint32

func (*TLUpdatePtsChanged) IsTLUpdate

func (o *TLUpdatePtsChanged) IsTLUpdate()

func (*TLUpdatePtsChanged) ReadBareFrom

func (o *TLUpdatePtsChanged) ReadBareFrom(r *tl.Reader)

func (*TLUpdatePtsChanged) String

func (o *TLUpdatePtsChanged) String() string

func (*TLUpdatePtsChanged) WriteBareTo

func (o *TLUpdatePtsChanged) WriteBareTo(w *tl.Writer)

type TLUpdateReadChannelInbox

type TLUpdateReadChannelInbox struct {
	ChannelID int // channel_id:int
	MaxID     int // max_id:int
}

TLUpdateReadChannelInbox represents ctor updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update from Telegram

func (*TLUpdateReadChannelInbox) Cmd

func (*TLUpdateReadChannelInbox) IsTLUpdate

func (o *TLUpdateReadChannelInbox) IsTLUpdate()

func (*TLUpdateReadChannelInbox) ReadBareFrom

func (o *TLUpdateReadChannelInbox) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadChannelInbox) String

func (o *TLUpdateReadChannelInbox) String() string

func (*TLUpdateReadChannelInbox) WriteBareTo

func (o *TLUpdateReadChannelInbox) WriteBareTo(w *tl.Writer)

type TLUpdateReadChannelOutbox

type TLUpdateReadChannelOutbox struct {
	ChannelID int // channel_id:int
	MaxID     int // max_id:int
}

TLUpdateReadChannelOutbox represents ctor updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update from Telegram

func (*TLUpdateReadChannelOutbox) Cmd

func (*TLUpdateReadChannelOutbox) IsTLUpdate

func (o *TLUpdateReadChannelOutbox) IsTLUpdate()

func (*TLUpdateReadChannelOutbox) ReadBareFrom

func (o *TLUpdateReadChannelOutbox) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadChannelOutbox) String

func (o *TLUpdateReadChannelOutbox) String() string

func (*TLUpdateReadChannelOutbox) WriteBareTo

func (o *TLUpdateReadChannelOutbox) WriteBareTo(w *tl.Writer)

type TLUpdateReadFeaturedStickers

type TLUpdateReadFeaturedStickers struct {
}

TLUpdateReadFeaturedStickers represents ctor updateReadFeaturedStickers#571d2742 = Update from Telegram

func (*TLUpdateReadFeaturedStickers) Cmd

func (*TLUpdateReadFeaturedStickers) IsTLUpdate

func (o *TLUpdateReadFeaturedStickers) IsTLUpdate()

func (*TLUpdateReadFeaturedStickers) ReadBareFrom

func (o *TLUpdateReadFeaturedStickers) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadFeaturedStickers) String

func (*TLUpdateReadFeaturedStickers) WriteBareTo

func (o *TLUpdateReadFeaturedStickers) WriteBareTo(w *tl.Writer)

type TLUpdateReadHistoryInbox

type TLUpdateReadHistoryInbox struct {
	Peer     TLPeerType // peer:Peer
	MaxID    int        // max_id:int
	Pts      int        // pts:int
	PtsCount int        // pts_count:int
}

TLUpdateReadHistoryInbox represents ctor updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update from Telegram

func (*TLUpdateReadHistoryInbox) Cmd

func (*TLUpdateReadHistoryInbox) IsTLUpdate

func (o *TLUpdateReadHistoryInbox) IsTLUpdate()

func (*TLUpdateReadHistoryInbox) ReadBareFrom

func (o *TLUpdateReadHistoryInbox) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadHistoryInbox) String

func (o *TLUpdateReadHistoryInbox) String() string

func (*TLUpdateReadHistoryInbox) WriteBareTo

func (o *TLUpdateReadHistoryInbox) WriteBareTo(w *tl.Writer)

type TLUpdateReadHistoryOutbox

type TLUpdateReadHistoryOutbox struct {
	Peer     TLPeerType // peer:Peer
	MaxID    int        // max_id:int
	Pts      int        // pts:int
	PtsCount int        // pts_count:int
}

TLUpdateReadHistoryOutbox represents ctor updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update from Telegram

func (*TLUpdateReadHistoryOutbox) Cmd

func (*TLUpdateReadHistoryOutbox) IsTLUpdate

func (o *TLUpdateReadHistoryOutbox) IsTLUpdate()

func (*TLUpdateReadHistoryOutbox) ReadBareFrom

func (o *TLUpdateReadHistoryOutbox) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadHistoryOutbox) String

func (o *TLUpdateReadHistoryOutbox) String() string

func (*TLUpdateReadHistoryOutbox) WriteBareTo

func (o *TLUpdateReadHistoryOutbox) WriteBareTo(w *tl.Writer)

type TLUpdateReadMessagesContents

type TLUpdateReadMessagesContents struct {
	Messages []int // messages:Vector<int>
	Pts      int   // pts:int
	PtsCount int   // pts_count:int
}

TLUpdateReadMessagesContents represents ctor updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update from Telegram

func (*TLUpdateReadMessagesContents) Cmd

func (*TLUpdateReadMessagesContents) IsTLUpdate

func (o *TLUpdateReadMessagesContents) IsTLUpdate()

func (*TLUpdateReadMessagesContents) ReadBareFrom

func (o *TLUpdateReadMessagesContents) ReadBareFrom(r *tl.Reader)

func (*TLUpdateReadMessagesContents) String

func (*TLUpdateReadMessagesContents) WriteBareTo

func (o *TLUpdateReadMessagesContents) WriteBareTo(w *tl.Writer)

type TLUpdateRecentStickers

type TLUpdateRecentStickers struct {
}

TLUpdateRecentStickers represents ctor updateRecentStickers#9a422c20 = Update from Telegram

func (*TLUpdateRecentStickers) Cmd

func (o *TLUpdateRecentStickers) Cmd() uint32

func (*TLUpdateRecentStickers) IsTLUpdate

func (o *TLUpdateRecentStickers) IsTLUpdate()

func (*TLUpdateRecentStickers) ReadBareFrom

func (o *TLUpdateRecentStickers) ReadBareFrom(r *tl.Reader)

func (*TLUpdateRecentStickers) String

func (o *TLUpdateRecentStickers) String() string

func (*TLUpdateRecentStickers) WriteBareTo

func (o *TLUpdateRecentStickers) WriteBareTo(w *tl.Writer)

type TLUpdateSavedGifs

type TLUpdateSavedGifs struct {
}

TLUpdateSavedGifs represents ctor updateSavedGifs#9375341e = Update from Telegram

func (*TLUpdateSavedGifs) Cmd

func (o *TLUpdateSavedGifs) Cmd() uint32

func (*TLUpdateSavedGifs) IsTLUpdate

func (o *TLUpdateSavedGifs) IsTLUpdate()

func (*TLUpdateSavedGifs) ReadBareFrom

func (o *TLUpdateSavedGifs) ReadBareFrom(r *tl.Reader)

func (*TLUpdateSavedGifs) String

func (o *TLUpdateSavedGifs) String() string

func (*TLUpdateSavedGifs) WriteBareTo

func (o *TLUpdateSavedGifs) WriteBareTo(w *tl.Writer)

type TLUpdateServiceNotification

type TLUpdateServiceNotification struct {
	Flags     uint                  // flags:#
	InboxDate int                   // flags.1?inbox_date:int
	Type      string                // type:string
	Message   string                // message:string
	Media     TLMessageMediaType    // media:MessageMedia
	Entities  []TLMessageEntityType // entities:Vector<MessageEntity>
}

TLUpdateServiceNotification represents ctor updateServiceNotification#ebe46819 flags:# flags.0?popup:true flags.1?inbox_date:int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update from Telegram

func (*TLUpdateServiceNotification) Cmd

func (*TLUpdateServiceNotification) HasInboxDate

func (o *TLUpdateServiceNotification) HasInboxDate() bool

func (*TLUpdateServiceNotification) IsTLUpdate

func (o *TLUpdateServiceNotification) IsTLUpdate()

func (*TLUpdateServiceNotification) Popup

func (o *TLUpdateServiceNotification) Popup() bool

func (*TLUpdateServiceNotification) ReadBareFrom

func (o *TLUpdateServiceNotification) ReadBareFrom(r *tl.Reader)

func (*TLUpdateServiceNotification) SetHasInboxDate

func (o *TLUpdateServiceNotification) SetHasInboxDate(v bool)

func (*TLUpdateServiceNotification) SetPopup

func (o *TLUpdateServiceNotification) SetPopup(v bool)

func (*TLUpdateServiceNotification) String

func (o *TLUpdateServiceNotification) String() string

func (*TLUpdateServiceNotification) WriteBareTo

func (o *TLUpdateServiceNotification) WriteBareTo(w *tl.Writer)

type TLUpdateShort

type TLUpdateShort struct {
	Update TLUpdateType // update:Update
	Date   int          // date:int
}

TLUpdateShort represents ctor updateShort#78d4dec1 update:Update date:int = Updates from Telegram

func (*TLUpdateShort) Cmd

func (o *TLUpdateShort) Cmd() uint32

func (*TLUpdateShort) IsTLUpdates

func (o *TLUpdateShort) IsTLUpdates()

func (*TLUpdateShort) ReadBareFrom

func (o *TLUpdateShort) ReadBareFrom(r *tl.Reader)

func (*TLUpdateShort) String

func (o *TLUpdateShort) String() string

func (*TLUpdateShort) WriteBareTo

func (o *TLUpdateShort) WriteBareTo(w *tl.Writer)

type TLUpdateShortChatMessage

type TLUpdateShortChatMessage struct {
	Flags        uint                  // flags:#
	ID           int                   // id:int
	FromID       int                   // from_id:int
	ChatID       int                   // chat_id:int
	Message      string                // message:string
	Pts          int                   // pts:int
	PtsCount     int                   // pts_count:int
	Date         int                   // date:int
	FwdFrom      *TLMessageFwdHeader   // flags.2?fwd_from:MessageFwdHeader
	ViaBotID     int                   // flags.11?via_bot_id:int
	ReplyToMsgID int                   // flags.3?reply_to_msg_id:int
	Entities     []TLMessageEntityType // flags.7?entities:Vector<MessageEntity>
}

TLUpdateShortChatMessage represents ctor updateShortChatMessage#16812688 flags:# flags.1?out:true flags.4?mentioned:true flags.5?media_unread:true flags.13?silent:true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int flags.2?fwd_from:MessageFwdHeader flags.11?via_bot_id:int flags.3?reply_to_msg_id:int flags.7?entities:Vector<MessageEntity> = Updates from Telegram

func (*TLUpdateShortChatMessage) Cmd

func (*TLUpdateShortChatMessage) HasEntities

func (o *TLUpdateShortChatMessage) HasEntities() bool

func (*TLUpdateShortChatMessage) HasFwdFrom

func (o *TLUpdateShortChatMessage) HasFwdFrom() bool

func (*TLUpdateShortChatMessage) HasReplyToMsgID

func (o *TLUpdateShortChatMessage) HasReplyToMsgID() bool

func (*TLUpdateShortChatMessage) HasViaBotID

func (o *TLUpdateShortChatMessage) HasViaBotID() bool

func (*TLUpdateShortChatMessage) IsTLUpdates

func (o *TLUpdateShortChatMessage) IsTLUpdates()

func (*TLUpdateShortChatMessage) MediaUnread

func (o *TLUpdateShortChatMessage) MediaUnread() bool

func (*TLUpdateShortChatMessage) Mentioned

func (o *TLUpdateShortChatMessage) Mentioned() bool

func (*TLUpdateShortChatMessage) Out

func (o *TLUpdateShortChatMessage) Out() bool

func (*TLUpdateShortChatMessage) ReadBareFrom

func (o *TLUpdateShortChatMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateShortChatMessage) SetHasEntities

func (o *TLUpdateShortChatMessage) SetHasEntities(v bool)

func (*TLUpdateShortChatMessage) SetHasFwdFrom

func (o *TLUpdateShortChatMessage) SetHasFwdFrom(v bool)

func (*TLUpdateShortChatMessage) SetHasReplyToMsgID

func (o *TLUpdateShortChatMessage) SetHasReplyToMsgID(v bool)

func (*TLUpdateShortChatMessage) SetHasViaBotID

func (o *TLUpdateShortChatMessage) SetHasViaBotID(v bool)

func (*TLUpdateShortChatMessage) SetMediaUnread

func (o *TLUpdateShortChatMessage) SetMediaUnread(v bool)

func (*TLUpdateShortChatMessage) SetMentioned

func (o *TLUpdateShortChatMessage) SetMentioned(v bool)

func (*TLUpdateShortChatMessage) SetOut

func (o *TLUpdateShortChatMessage) SetOut(v bool)

func (*TLUpdateShortChatMessage) SetSilent

func (o *TLUpdateShortChatMessage) SetSilent(v bool)

func (*TLUpdateShortChatMessage) Silent

func (o *TLUpdateShortChatMessage) Silent() bool

func (*TLUpdateShortChatMessage) String

func (o *TLUpdateShortChatMessage) String() string

func (*TLUpdateShortChatMessage) WriteBareTo

func (o *TLUpdateShortChatMessage) WriteBareTo(w *tl.Writer)

type TLUpdateShortMessage

type TLUpdateShortMessage struct {
	Flags        uint                  // flags:#
	ID           int                   // id:int
	UserID       int                   // user_id:int
	Message      string                // message:string
	Pts          int                   // pts:int
	PtsCount     int                   // pts_count:int
	Date         int                   // date:int
	FwdFrom      *TLMessageFwdHeader   // flags.2?fwd_from:MessageFwdHeader
	ViaBotID     int                   // flags.11?via_bot_id:int
	ReplyToMsgID int                   // flags.3?reply_to_msg_id:int
	Entities     []TLMessageEntityType // flags.7?entities:Vector<MessageEntity>
}

TLUpdateShortMessage represents ctor updateShortMessage#914fbf11 flags:# flags.1?out:true flags.4?mentioned:true flags.5?media_unread:true flags.13?silent:true id:int user_id:int message:string pts:int pts_count:int date:int flags.2?fwd_from:MessageFwdHeader flags.11?via_bot_id:int flags.3?reply_to_msg_id:int flags.7?entities:Vector<MessageEntity> = Updates from Telegram

func (*TLUpdateShortMessage) Cmd

func (o *TLUpdateShortMessage) Cmd() uint32

func (*TLUpdateShortMessage) HasEntities

func (o *TLUpdateShortMessage) HasEntities() bool

func (*TLUpdateShortMessage) HasFwdFrom

func (o *TLUpdateShortMessage) HasFwdFrom() bool

func (*TLUpdateShortMessage) HasReplyToMsgID

func (o *TLUpdateShortMessage) HasReplyToMsgID() bool

func (*TLUpdateShortMessage) HasViaBotID

func (o *TLUpdateShortMessage) HasViaBotID() bool

func (*TLUpdateShortMessage) IsTLUpdates

func (o *TLUpdateShortMessage) IsTLUpdates()

func (*TLUpdateShortMessage) MediaUnread

func (o *TLUpdateShortMessage) MediaUnread() bool

func (*TLUpdateShortMessage) Mentioned

func (o *TLUpdateShortMessage) Mentioned() bool

func (*TLUpdateShortMessage) Out

func (o *TLUpdateShortMessage) Out() bool

func (*TLUpdateShortMessage) ReadBareFrom

func (o *TLUpdateShortMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateShortMessage) SetHasEntities

func (o *TLUpdateShortMessage) SetHasEntities(v bool)

func (*TLUpdateShortMessage) SetHasFwdFrom

func (o *TLUpdateShortMessage) SetHasFwdFrom(v bool)

func (*TLUpdateShortMessage) SetHasReplyToMsgID

func (o *TLUpdateShortMessage) SetHasReplyToMsgID(v bool)

func (*TLUpdateShortMessage) SetHasViaBotID

func (o *TLUpdateShortMessage) SetHasViaBotID(v bool)

func (*TLUpdateShortMessage) SetMediaUnread

func (o *TLUpdateShortMessage) SetMediaUnread(v bool)

func (*TLUpdateShortMessage) SetMentioned

func (o *TLUpdateShortMessage) SetMentioned(v bool)

func (*TLUpdateShortMessage) SetOut

func (o *TLUpdateShortMessage) SetOut(v bool)

func (*TLUpdateShortMessage) SetSilent

func (o *TLUpdateShortMessage) SetSilent(v bool)

func (*TLUpdateShortMessage) Silent

func (o *TLUpdateShortMessage) Silent() bool

func (*TLUpdateShortMessage) String

func (o *TLUpdateShortMessage) String() string

func (*TLUpdateShortMessage) WriteBareTo

func (o *TLUpdateShortMessage) WriteBareTo(w *tl.Writer)

type TLUpdateShortSentMessage

type TLUpdateShortSentMessage struct {
	Flags    uint                  // flags:#
	ID       int                   // id:int
	Pts      int                   // pts:int
	PtsCount int                   // pts_count:int
	Date     int                   // date:int
	Media    TLMessageMediaType    // flags.9?media:MessageMedia
	Entities []TLMessageEntityType // flags.7?entities:Vector<MessageEntity>
}

TLUpdateShortSentMessage represents ctor updateShortSentMessage#11f1331c flags:# flags.1?out:true id:int pts:int pts_count:int date:int flags.9?media:MessageMedia flags.7?entities:Vector<MessageEntity> = Updates from Telegram

func (*TLUpdateShortSentMessage) Cmd

func (*TLUpdateShortSentMessage) HasEntities

func (o *TLUpdateShortSentMessage) HasEntities() bool

func (*TLUpdateShortSentMessage) HasMedia

func (o *TLUpdateShortSentMessage) HasMedia() bool

func (*TLUpdateShortSentMessage) IsTLUpdates

func (o *TLUpdateShortSentMessage) IsTLUpdates()

func (*TLUpdateShortSentMessage) Out

func (o *TLUpdateShortSentMessage) Out() bool

func (*TLUpdateShortSentMessage) ReadBareFrom

func (o *TLUpdateShortSentMessage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateShortSentMessage) SetHasEntities

func (o *TLUpdateShortSentMessage) SetHasEntities(v bool)

func (*TLUpdateShortSentMessage) SetHasMedia

func (o *TLUpdateShortSentMessage) SetHasMedia(v bool)

func (*TLUpdateShortSentMessage) SetOut

func (o *TLUpdateShortSentMessage) SetOut(v bool)

func (*TLUpdateShortSentMessage) String

func (o *TLUpdateShortSentMessage) String() string

func (*TLUpdateShortSentMessage) WriteBareTo

func (o *TLUpdateShortSentMessage) WriteBareTo(w *tl.Writer)

type TLUpdateStickerSets

type TLUpdateStickerSets struct {
}

TLUpdateStickerSets represents ctor updateStickerSets#43ae3dec = Update from Telegram

func (*TLUpdateStickerSets) Cmd

func (o *TLUpdateStickerSets) Cmd() uint32

func (*TLUpdateStickerSets) IsTLUpdate

func (o *TLUpdateStickerSets) IsTLUpdate()

func (*TLUpdateStickerSets) ReadBareFrom

func (o *TLUpdateStickerSets) ReadBareFrom(r *tl.Reader)

func (*TLUpdateStickerSets) String

func (o *TLUpdateStickerSets) String() string

func (*TLUpdateStickerSets) WriteBareTo

func (o *TLUpdateStickerSets) WriteBareTo(w *tl.Writer)

type TLUpdateStickerSetsOrder

type TLUpdateStickerSetsOrder struct {
	Flags uint     // flags:#
	Order []uint64 // order:Vector<long>
}

TLUpdateStickerSetsOrder represents ctor updateStickerSetsOrder#0bb2d201 flags:# flags.0?masks:true order:Vector<long> = Update from Telegram

func (*TLUpdateStickerSetsOrder) Cmd

func (*TLUpdateStickerSetsOrder) IsTLUpdate

func (o *TLUpdateStickerSetsOrder) IsTLUpdate()

func (*TLUpdateStickerSetsOrder) Masks

func (o *TLUpdateStickerSetsOrder) Masks() bool

func (*TLUpdateStickerSetsOrder) ReadBareFrom

func (o *TLUpdateStickerSetsOrder) ReadBareFrom(r *tl.Reader)

func (*TLUpdateStickerSetsOrder) SetMasks

func (o *TLUpdateStickerSetsOrder) SetMasks(v bool)

func (*TLUpdateStickerSetsOrder) String

func (o *TLUpdateStickerSetsOrder) String() string

func (*TLUpdateStickerSetsOrder) WriteBareTo

func (o *TLUpdateStickerSetsOrder) WriteBareTo(w *tl.Writer)

type TLUpdateType

type TLUpdateType interface {
	IsTLUpdate()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUpdateType represents Update from Telegram

type TLUpdateUserBlocked

type TLUpdateUserBlocked struct {
	UserID  int  // user_id:int
	Blocked bool // blocked:Bool
}

TLUpdateUserBlocked represents ctor updateUserBlocked#80ece81a user_id:int blocked:Bool = Update from Telegram

func (*TLUpdateUserBlocked) Cmd

func (o *TLUpdateUserBlocked) Cmd() uint32

func (*TLUpdateUserBlocked) IsTLUpdate

func (o *TLUpdateUserBlocked) IsTLUpdate()

func (*TLUpdateUserBlocked) ReadBareFrom

func (o *TLUpdateUserBlocked) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserBlocked) String

func (o *TLUpdateUserBlocked) String() string

func (*TLUpdateUserBlocked) WriteBareTo

func (o *TLUpdateUserBlocked) WriteBareTo(w *tl.Writer)

type TLUpdateUserName

type TLUpdateUserName struct {
	UserID    int    // user_id:int
	FirstName string // first_name:string
	LastName  string // last_name:string
	Username  string // username:string
}

TLUpdateUserName represents ctor updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update from Telegram

func (*TLUpdateUserName) Cmd

func (o *TLUpdateUserName) Cmd() uint32

func (*TLUpdateUserName) IsTLUpdate

func (o *TLUpdateUserName) IsTLUpdate()

func (*TLUpdateUserName) ReadBareFrom

func (o *TLUpdateUserName) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserName) String

func (o *TLUpdateUserName) String() string

func (*TLUpdateUserName) WriteBareTo

func (o *TLUpdateUserName) WriteBareTo(w *tl.Writer)

type TLUpdateUserPhone

type TLUpdateUserPhone struct {
	UserID int    // user_id:int
	Phone  string // phone:string
}

TLUpdateUserPhone represents ctor updateUserPhone#12b9417b user_id:int phone:string = Update from Telegram

func (*TLUpdateUserPhone) Cmd

func (o *TLUpdateUserPhone) Cmd() uint32

func (*TLUpdateUserPhone) IsTLUpdate

func (o *TLUpdateUserPhone) IsTLUpdate()

func (*TLUpdateUserPhone) ReadBareFrom

func (o *TLUpdateUserPhone) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserPhone) String

func (o *TLUpdateUserPhone) String() string

func (*TLUpdateUserPhone) WriteBareTo

func (o *TLUpdateUserPhone) WriteBareTo(w *tl.Writer)

type TLUpdateUserPhoto

type TLUpdateUserPhoto struct {
	UserID   int                    // user_id:int
	Date     int                    // date:int
	Photo    TLUserProfilePhotoType // photo:UserProfilePhoto
	Previous bool                   // previous:Bool
}

TLUpdateUserPhoto represents ctor updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update from Telegram

func (*TLUpdateUserPhoto) Cmd

func (o *TLUpdateUserPhoto) Cmd() uint32

func (*TLUpdateUserPhoto) IsTLUpdate

func (o *TLUpdateUserPhoto) IsTLUpdate()

func (*TLUpdateUserPhoto) ReadBareFrom

func (o *TLUpdateUserPhoto) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserPhoto) String

func (o *TLUpdateUserPhoto) String() string

func (*TLUpdateUserPhoto) WriteBareTo

func (o *TLUpdateUserPhoto) WriteBareTo(w *tl.Writer)

type TLUpdateUserStatus

type TLUpdateUserStatus struct {
	UserID int              // user_id:int
	Status TLUserStatusType // status:UserStatus
}

TLUpdateUserStatus represents ctor updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update from Telegram

func (*TLUpdateUserStatus) Cmd

func (o *TLUpdateUserStatus) Cmd() uint32

func (*TLUpdateUserStatus) IsTLUpdate

func (o *TLUpdateUserStatus) IsTLUpdate()

func (*TLUpdateUserStatus) ReadBareFrom

func (o *TLUpdateUserStatus) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserStatus) String

func (o *TLUpdateUserStatus) String() string

func (*TLUpdateUserStatus) WriteBareTo

func (o *TLUpdateUserStatus) WriteBareTo(w *tl.Writer)

type TLUpdateUserTyping

type TLUpdateUserTyping struct {
	UserID int                     // user_id:int
	Action TLSendMessageActionType // action:SendMessageAction
}

TLUpdateUserTyping represents ctor updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update from Telegram

func (*TLUpdateUserTyping) Cmd

func (o *TLUpdateUserTyping) Cmd() uint32

func (*TLUpdateUserTyping) IsTLUpdate

func (o *TLUpdateUserTyping) IsTLUpdate()

func (*TLUpdateUserTyping) ReadBareFrom

func (o *TLUpdateUserTyping) ReadBareFrom(r *tl.Reader)

func (*TLUpdateUserTyping) String

func (o *TLUpdateUserTyping) String() string

func (*TLUpdateUserTyping) WriteBareTo

func (o *TLUpdateUserTyping) WriteBareTo(w *tl.Writer)

type TLUpdateWebPage

type TLUpdateWebPage struct {
	Webpage  TLWebPageType // webpage:WebPage
	Pts      int           // pts:int
	PtsCount int           // pts_count:int
}

TLUpdateWebPage represents ctor updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update from Telegram

func (*TLUpdateWebPage) Cmd

func (o *TLUpdateWebPage) Cmd() uint32

func (*TLUpdateWebPage) IsTLUpdate

func (o *TLUpdateWebPage) IsTLUpdate()

func (*TLUpdateWebPage) ReadBareFrom

func (o *TLUpdateWebPage) ReadBareFrom(r *tl.Reader)

func (*TLUpdateWebPage) String

func (o *TLUpdateWebPage) String() string

func (*TLUpdateWebPage) WriteBareTo

func (o *TLUpdateWebPage) WriteBareTo(w *tl.Writer)

type TLUpdates

type TLUpdates struct {
	Updates []TLUpdateType // updates:Vector<Update>
	Users   []TLUserType   // users:Vector<User>
	Chats   []TLChatType   // chats:Vector<Chat>
	Date    int            // date:int
	Seq     int            // seq:int
}

TLUpdates represents ctor updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates from Telegram

func (*TLUpdates) Cmd

func (o *TLUpdates) Cmd() uint32

func (*TLUpdates) IsTLUpdates

func (o *TLUpdates) IsTLUpdates()

func (*TLUpdates) ReadBareFrom

func (o *TLUpdates) ReadBareFrom(r *tl.Reader)

func (*TLUpdates) String

func (o *TLUpdates) String() string

func (*TLUpdates) WriteBareTo

func (o *TLUpdates) WriteBareTo(w *tl.Writer)

type TLUpdatesChannelDifference

type TLUpdatesChannelDifference struct {
	Flags        uint            // flags:#
	Pts          int             // pts:int
	Timeout      int             // flags.1?timeout:int
	NewMessages  []TLMessageType // new_messages:Vector<Message>
	OtherUpdates []TLUpdateType  // other_updates:Vector<Update>
	Chats        []TLChatType    // chats:Vector<Chat>
	Users        []TLUserType    // users:Vector<User>
}

TLUpdatesChannelDifference represents ctor updates.channelDifference#2064674e flags:# flags.0?final:true pts:int flags.1?timeout:int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference from Telegram

func (*TLUpdatesChannelDifference) Cmd

func (*TLUpdatesChannelDifference) Final

func (o *TLUpdatesChannelDifference) Final() bool

func (*TLUpdatesChannelDifference) HasTimeout

func (o *TLUpdatesChannelDifference) HasTimeout() bool

func (*TLUpdatesChannelDifference) IsTLUpdatesChannelDifference

func (o *TLUpdatesChannelDifference) IsTLUpdatesChannelDifference()

func (*TLUpdatesChannelDifference) ReadBareFrom

func (o *TLUpdatesChannelDifference) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesChannelDifference) SetFinal

func (o *TLUpdatesChannelDifference) SetFinal(v bool)

func (*TLUpdatesChannelDifference) SetHasTimeout

func (o *TLUpdatesChannelDifference) SetHasTimeout(v bool)

func (*TLUpdatesChannelDifference) String

func (o *TLUpdatesChannelDifference) String() string

func (*TLUpdatesChannelDifference) WriteBareTo

func (o *TLUpdatesChannelDifference) WriteBareTo(w *tl.Writer)

type TLUpdatesChannelDifferenceEmpty

type TLUpdatesChannelDifferenceEmpty struct {
	Flags   uint // flags:#
	Pts     int  // pts:int
	Timeout int  // flags.1?timeout:int
}

TLUpdatesChannelDifferenceEmpty represents ctor updates.channelDifferenceEmpty#3e11affb flags:# flags.0?final:true pts:int flags.1?timeout:int = updates.ChannelDifference from Telegram

func (*TLUpdatesChannelDifferenceEmpty) Cmd

func (*TLUpdatesChannelDifferenceEmpty) Final

func (*TLUpdatesChannelDifferenceEmpty) HasTimeout

func (o *TLUpdatesChannelDifferenceEmpty) HasTimeout() bool

func (*TLUpdatesChannelDifferenceEmpty) IsTLUpdatesChannelDifference

func (o *TLUpdatesChannelDifferenceEmpty) IsTLUpdatesChannelDifference()

func (*TLUpdatesChannelDifferenceEmpty) ReadBareFrom

func (o *TLUpdatesChannelDifferenceEmpty) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesChannelDifferenceEmpty) SetFinal

func (o *TLUpdatesChannelDifferenceEmpty) SetFinal(v bool)

func (*TLUpdatesChannelDifferenceEmpty) SetHasTimeout

func (o *TLUpdatesChannelDifferenceEmpty) SetHasTimeout(v bool)

func (*TLUpdatesChannelDifferenceEmpty) String

func (*TLUpdatesChannelDifferenceEmpty) WriteBareTo

func (o *TLUpdatesChannelDifferenceEmpty) WriteBareTo(w *tl.Writer)

type TLUpdatesChannelDifferenceTooLong

type TLUpdatesChannelDifferenceTooLong struct {
	Flags           uint            // flags:#
	Pts             int             // pts:int
	Timeout         int             // flags.1?timeout:int
	TopMessage      int             // top_message:int
	ReadInboxMaxID  int             // read_inbox_max_id:int
	ReadOutboxMaxID int             // read_outbox_max_id:int
	UnreadCount     int             // unread_count:int
	Messages        []TLMessageType // messages:Vector<Message>
	Chats           []TLChatType    // chats:Vector<Chat>
	Users           []TLUserType    // users:Vector<User>
}

TLUpdatesChannelDifferenceTooLong represents ctor updates.channelDifferenceTooLong#410dee07 flags:# flags.0?final:true pts:int flags.1?timeout:int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference from Telegram

func (*TLUpdatesChannelDifferenceTooLong) Cmd

func (*TLUpdatesChannelDifferenceTooLong) Final

func (*TLUpdatesChannelDifferenceTooLong) HasTimeout

func (o *TLUpdatesChannelDifferenceTooLong) HasTimeout() bool

func (*TLUpdatesChannelDifferenceTooLong) IsTLUpdatesChannelDifference

func (o *TLUpdatesChannelDifferenceTooLong) IsTLUpdatesChannelDifference()

func (*TLUpdatesChannelDifferenceTooLong) ReadBareFrom

func (o *TLUpdatesChannelDifferenceTooLong) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesChannelDifferenceTooLong) SetFinal

func (o *TLUpdatesChannelDifferenceTooLong) SetFinal(v bool)

func (*TLUpdatesChannelDifferenceTooLong) SetHasTimeout

func (o *TLUpdatesChannelDifferenceTooLong) SetHasTimeout(v bool)

func (*TLUpdatesChannelDifferenceTooLong) String

func (*TLUpdatesChannelDifferenceTooLong) WriteBareTo

func (o *TLUpdatesChannelDifferenceTooLong) WriteBareTo(w *tl.Writer)

type TLUpdatesChannelDifferenceType

type TLUpdatesChannelDifferenceType interface {
	IsTLUpdatesChannelDifference()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUpdatesChannelDifferenceType represents updates.ChannelDifference from Telegram

type TLUpdatesCombined

type TLUpdatesCombined struct {
	Updates  []TLUpdateType // updates:Vector<Update>
	Users    []TLUserType   // users:Vector<User>
	Chats    []TLChatType   // chats:Vector<Chat>
	Date     int            // date:int
	SeqStart int            // seq_start:int
	Seq      int            // seq:int
}

TLUpdatesCombined represents ctor updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates from Telegram

func (*TLUpdatesCombined) Cmd

func (o *TLUpdatesCombined) Cmd() uint32

func (*TLUpdatesCombined) IsTLUpdates

func (o *TLUpdatesCombined) IsTLUpdates()

func (*TLUpdatesCombined) ReadBareFrom

func (o *TLUpdatesCombined) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesCombined) String

func (o *TLUpdatesCombined) String() string

func (*TLUpdatesCombined) WriteBareTo

func (o *TLUpdatesCombined) WriteBareTo(w *tl.Writer)

type TLUpdatesDifference

type TLUpdatesDifference struct {
	NewMessages          []TLMessageType          // new_messages:Vector<Message>
	NewEncryptedMessages []TLEncryptedMessageType // new_encrypted_messages:Vector<EncryptedMessage>
	OtherUpdates         []TLUpdateType           // other_updates:Vector<Update>
	Chats                []TLChatType             // chats:Vector<Chat>
	Users                []TLUserType             // users:Vector<User>
	State                *TLUpdatesState          // state:updates.State
}

TLUpdatesDifference represents ctor updates.difference#00f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference from Telegram

func (*TLUpdatesDifference) Cmd

func (o *TLUpdatesDifference) Cmd() uint32

func (*TLUpdatesDifference) IsTLUpdatesDifference

func (o *TLUpdatesDifference) IsTLUpdatesDifference()

func (*TLUpdatesDifference) ReadBareFrom

func (o *TLUpdatesDifference) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesDifference) String

func (o *TLUpdatesDifference) String() string

func (*TLUpdatesDifference) WriteBareTo

func (o *TLUpdatesDifference) WriteBareTo(w *tl.Writer)

type TLUpdatesDifferenceEmpty

type TLUpdatesDifferenceEmpty struct {
	Date int // date:int
	Seq  int // seq:int
}

TLUpdatesDifferenceEmpty represents ctor updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference from Telegram

func (*TLUpdatesDifferenceEmpty) Cmd

func (*TLUpdatesDifferenceEmpty) IsTLUpdatesDifference

func (o *TLUpdatesDifferenceEmpty) IsTLUpdatesDifference()

func (*TLUpdatesDifferenceEmpty) ReadBareFrom

func (o *TLUpdatesDifferenceEmpty) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesDifferenceEmpty) String

func (o *TLUpdatesDifferenceEmpty) String() string

func (*TLUpdatesDifferenceEmpty) WriteBareTo

func (o *TLUpdatesDifferenceEmpty) WriteBareTo(w *tl.Writer)

type TLUpdatesDifferenceSlice

type TLUpdatesDifferenceSlice struct {
	NewMessages          []TLMessageType          // new_messages:Vector<Message>
	NewEncryptedMessages []TLEncryptedMessageType // new_encrypted_messages:Vector<EncryptedMessage>
	OtherUpdates         []TLUpdateType           // other_updates:Vector<Update>
	Chats                []TLChatType             // chats:Vector<Chat>
	Users                []TLUserType             // users:Vector<User>
	IntermediateState    *TLUpdatesState          // intermediate_state:updates.State
}

TLUpdatesDifferenceSlice represents ctor updates.differenceSlice#a8fb1981 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> intermediate_state:updates.State = updates.Difference from Telegram

func (*TLUpdatesDifferenceSlice) Cmd

func (*TLUpdatesDifferenceSlice) IsTLUpdatesDifference

func (o *TLUpdatesDifferenceSlice) IsTLUpdatesDifference()

func (*TLUpdatesDifferenceSlice) ReadBareFrom

func (o *TLUpdatesDifferenceSlice) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesDifferenceSlice) String

func (o *TLUpdatesDifferenceSlice) String() string

func (*TLUpdatesDifferenceSlice) WriteBareTo

func (o *TLUpdatesDifferenceSlice) WriteBareTo(w *tl.Writer)

type TLUpdatesDifferenceTooLong

type TLUpdatesDifferenceTooLong struct {
	Pts int // pts:int
}

TLUpdatesDifferenceTooLong represents ctor updates.differenceTooLong#4afe8f6d pts:int = updates.Difference from Telegram

func (*TLUpdatesDifferenceTooLong) Cmd

func (*TLUpdatesDifferenceTooLong) IsTLUpdatesDifference

func (o *TLUpdatesDifferenceTooLong) IsTLUpdatesDifference()

func (*TLUpdatesDifferenceTooLong) ReadBareFrom

func (o *TLUpdatesDifferenceTooLong) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesDifferenceTooLong) String

func (o *TLUpdatesDifferenceTooLong) String() string

func (*TLUpdatesDifferenceTooLong) WriteBareTo

func (o *TLUpdatesDifferenceTooLong) WriteBareTo(w *tl.Writer)

type TLUpdatesDifferenceType

type TLUpdatesDifferenceType interface {
	IsTLUpdatesDifference()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUpdatesDifferenceType represents updates.Difference from Telegram

type TLUpdatesGetChannelDifference

type TLUpdatesGetChannelDifference struct {
	Flags   uint                        // flags:#
	Channel TLInputChannelType          // channel:InputChannel
	Filter  TLChannelMessagesFilterType // filter:ChannelMessagesFilter
	Pts     int                         // pts:int
	Limit   int                         // limit:int
}

TLUpdatesGetChannelDifference represents func updates.getChannelDifference#03173d78 flags:# flags.0?force:true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference from Telegram

func (*TLUpdatesGetChannelDifference) Cmd

func (*TLUpdatesGetChannelDifference) Force

func (*TLUpdatesGetChannelDifference) ReadBareFrom

func (o *TLUpdatesGetChannelDifference) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesGetChannelDifference) SetForce

func (o *TLUpdatesGetChannelDifference) SetForce(v bool)

func (*TLUpdatesGetChannelDifference) String

func (*TLUpdatesGetChannelDifference) WriteBareTo

func (o *TLUpdatesGetChannelDifference) WriteBareTo(w *tl.Writer)

type TLUpdatesGetDifference

type TLUpdatesGetDifference struct {
	Flags         uint // flags:#
	Pts           int  // pts:int
	PtsTotalLimit int  // flags.0?pts_total_limit:int
	Date          int  // date:int
	Qts           int  // qts:int
}

TLUpdatesGetDifference represents func updates.getDifference#25939651 flags:# pts:int flags.0?pts_total_limit:int date:int qts:int = updates.Difference from Telegram

func (*TLUpdatesGetDifference) Cmd

func (o *TLUpdatesGetDifference) Cmd() uint32

func (*TLUpdatesGetDifference) HasPtsTotalLimit

func (o *TLUpdatesGetDifference) HasPtsTotalLimit() bool

func (*TLUpdatesGetDifference) ReadBareFrom

func (o *TLUpdatesGetDifference) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesGetDifference) SetHasPtsTotalLimit

func (o *TLUpdatesGetDifference) SetHasPtsTotalLimit(v bool)

func (*TLUpdatesGetDifference) String

func (o *TLUpdatesGetDifference) String() string

func (*TLUpdatesGetDifference) WriteBareTo

func (o *TLUpdatesGetDifference) WriteBareTo(w *tl.Writer)

type TLUpdatesGetState

type TLUpdatesGetState struct {
}

TLUpdatesGetState represents func updates.getState#edd4882a = updates.State from Telegram

func (*TLUpdatesGetState) Cmd

func (o *TLUpdatesGetState) Cmd() uint32

func (*TLUpdatesGetState) ReadBareFrom

func (o *TLUpdatesGetState) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesGetState) String

func (o *TLUpdatesGetState) String() string

func (*TLUpdatesGetState) WriteBareTo

func (o *TLUpdatesGetState) WriteBareTo(w *tl.Writer)

type TLUpdatesState

type TLUpdatesState struct {
	Pts         int // pts:int
	Qts         int // qts:int
	Date        int // date:int
	Seq         int // seq:int
	UnreadCount int // unread_count:int
}

TLUpdatesState represents ctor updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State from Telegram

func (*TLUpdatesState) Cmd

func (o *TLUpdatesState) Cmd() uint32

func (*TLUpdatesState) ReadBareFrom

func (o *TLUpdatesState) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesState) String

func (o *TLUpdatesState) String() string

func (*TLUpdatesState) WriteBareTo

func (o *TLUpdatesState) WriteBareTo(w *tl.Writer)

type TLUpdatesTooLong

type TLUpdatesTooLong struct {
}

TLUpdatesTooLong represents ctor updatesTooLong#e317af7e = Updates from Telegram

func (*TLUpdatesTooLong) Cmd

func (o *TLUpdatesTooLong) Cmd() uint32

func (*TLUpdatesTooLong) IsTLUpdates

func (o *TLUpdatesTooLong) IsTLUpdates()

func (*TLUpdatesTooLong) ReadBareFrom

func (o *TLUpdatesTooLong) ReadBareFrom(r *tl.Reader)

func (*TLUpdatesTooLong) String

func (o *TLUpdatesTooLong) String() string

func (*TLUpdatesTooLong) WriteBareTo

func (o *TLUpdatesTooLong) WriteBareTo(w *tl.Writer)

type TLUpdatesType

type TLUpdatesType interface {
	IsTLUpdates()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUpdatesType represents Updates from Telegram

type TLUploadFile

type TLUploadFile struct {
	Type  TLStorageFileTypeType // type:storage.FileType
	Mtime int                   // mtime:int
	Bytes []byte                // bytes:bytes
}

TLUploadFile represents ctor upload.file#096a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File from Telegram

func (*TLUploadFile) Cmd

func (o *TLUploadFile) Cmd() uint32

func (*TLUploadFile) ReadBareFrom

func (o *TLUploadFile) ReadBareFrom(r *tl.Reader)

func (*TLUploadFile) String

func (o *TLUploadFile) String() string

func (*TLUploadFile) WriteBareTo

func (o *TLUploadFile) WriteBareTo(w *tl.Writer)

type TLUploadGetFile

type TLUploadGetFile struct {
	Location TLInputFileLocationType // location:InputFileLocation
	Offset   int                     // offset:int
	Limit    int                     // limit:int
}

TLUploadGetFile represents func upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File from Telegram

func (*TLUploadGetFile) Cmd

func (o *TLUploadGetFile) Cmd() uint32

func (*TLUploadGetFile) ReadBareFrom

func (o *TLUploadGetFile) ReadBareFrom(r *tl.Reader)

func (*TLUploadGetFile) String

func (o *TLUploadGetFile) String() string

func (*TLUploadGetFile) WriteBareTo

func (o *TLUploadGetFile) WriteBareTo(w *tl.Writer)

type TLUploadGetWebFile

type TLUploadGetWebFile struct {
	Location *TLInputWebFileLocation // location:InputWebFileLocation
	Offset   int                     // offset:int
	Limit    int                     // limit:int
}

TLUploadGetWebFile represents func upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile from Telegram

func (*TLUploadGetWebFile) Cmd

func (o *TLUploadGetWebFile) Cmd() uint32

func (*TLUploadGetWebFile) ReadBareFrom

func (o *TLUploadGetWebFile) ReadBareFrom(r *tl.Reader)

func (*TLUploadGetWebFile) String

func (o *TLUploadGetWebFile) String() string

func (*TLUploadGetWebFile) WriteBareTo

func (o *TLUploadGetWebFile) WriteBareTo(w *tl.Writer)

type TLUploadSaveBigFilePart

type TLUploadSaveBigFilePart struct {
	FileID         uint64 // file_id:long
	FilePart       int    // file_part:int
	FileTotalParts int    // file_total_parts:int
	Bytes          []byte // bytes:bytes
}

TLUploadSaveBigFilePart represents func upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool from Telegram

func (*TLUploadSaveBigFilePart) Cmd

func (*TLUploadSaveBigFilePart) ReadBareFrom

func (o *TLUploadSaveBigFilePart) ReadBareFrom(r *tl.Reader)

func (*TLUploadSaveBigFilePart) String

func (o *TLUploadSaveBigFilePart) String() string

func (*TLUploadSaveBigFilePart) WriteBareTo

func (o *TLUploadSaveBigFilePart) WriteBareTo(w *tl.Writer)

type TLUploadSaveFilePart

type TLUploadSaveFilePart struct {
	FileID   uint64 // file_id:long
	FilePart int    // file_part:int
	Bytes    []byte // bytes:bytes
}

TLUploadSaveFilePart represents func upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool from Telegram

func (*TLUploadSaveFilePart) Cmd

func (o *TLUploadSaveFilePart) Cmd() uint32

func (*TLUploadSaveFilePart) ReadBareFrom

func (o *TLUploadSaveFilePart) ReadBareFrom(r *tl.Reader)

func (*TLUploadSaveFilePart) String

func (o *TLUploadSaveFilePart) String() string

func (*TLUploadSaveFilePart) WriteBareTo

func (o *TLUploadSaveFilePart) WriteBareTo(w *tl.Writer)

type TLUploadWebFile

type TLUploadWebFile struct {
	Size     int                   // size:int
	MimeType string                // mime_type:string
	FileType TLStorageFileTypeType // file_type:storage.FileType
	Mtime    int                   // mtime:int
	Bytes    []byte                // bytes:bytes
}

TLUploadWebFile represents ctor upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile from Telegram

func (*TLUploadWebFile) Cmd

func (o *TLUploadWebFile) Cmd() uint32

func (*TLUploadWebFile) ReadBareFrom

func (o *TLUploadWebFile) ReadBareFrom(r *tl.Reader)

func (*TLUploadWebFile) String

func (o *TLUploadWebFile) String() string

func (*TLUploadWebFile) WriteBareTo

func (o *TLUploadWebFile) WriteBareTo(w *tl.Writer)

type TLUser

type TLUser struct {
	Flags                uint                   // flags:#
	ID                   int                    // id:int
	AccessHash           uint64                 // flags.0?access_hash:long
	FirstName            string                 // flags.1?first_name:string
	LastName             string                 // flags.2?last_name:string
	Username             string                 // flags.3?username:string
	Phone                string                 // flags.4?phone:string
	Photo                TLUserProfilePhotoType // flags.5?photo:UserProfilePhoto
	Status               TLUserStatusType       // flags.6?status:UserStatus
	BotInfoVersion       int                    // flags.14?bot_info_version:int
	RestrictionReason    string                 // flags.18?restriction_reason:string
	BotInlinePlaceholder string                 // flags.19?bot_inline_placeholder:string
}

TLUser represents ctor user#d10d979a flags:# flags.10?self:true flags.11?contact:true flags.12?mutual_contact:true flags.13?deleted:true flags.14?bot:true flags.15?bot_chat_history:true flags.16?bot_nochats:true flags.17?verified:true flags.18?restricted:true flags.20?min:true flags.21?bot_inline_geo:true id:int flags.0?access_hash:long flags.1?first_name:string flags.2?last_name:string flags.3?username:string flags.4?phone:string flags.5?photo:UserProfilePhoto flags.6?status:UserStatus flags.14?bot_info_version:int flags.18?restriction_reason:string flags.19?bot_inline_placeholder:string = User from Telegram

func (*TLUser) Bot

func (o *TLUser) Bot() bool

func (*TLUser) BotChatHistory

func (o *TLUser) BotChatHistory() bool

func (*TLUser) BotInlineGeo

func (o *TLUser) BotInlineGeo() bool

func (*TLUser) BotNochats

func (o *TLUser) BotNochats() bool

func (*TLUser) Cmd

func (o *TLUser) Cmd() uint32

func (*TLUser) Contact

func (o *TLUser) Contact() bool

func (*TLUser) Deleted

func (o *TLUser) Deleted() bool

func (*TLUser) HasAccessHash

func (o *TLUser) HasAccessHash() bool

func (*TLUser) HasBotInfoVersion

func (o *TLUser) HasBotInfoVersion() bool

func (*TLUser) HasBotInlinePlaceholder

func (o *TLUser) HasBotInlinePlaceholder() bool

func (*TLUser) HasFirstName

func (o *TLUser) HasFirstName() bool

func (*TLUser) HasLastName

func (o *TLUser) HasLastName() bool

func (*TLUser) HasPhone

func (o *TLUser) HasPhone() bool

func (*TLUser) HasPhoto

func (o *TLUser) HasPhoto() bool

func (*TLUser) HasRestrictionReason

func (o *TLUser) HasRestrictionReason() bool

func (*TLUser) HasStatus

func (o *TLUser) HasStatus() bool

func (*TLUser) HasUsername

func (o *TLUser) HasUsername() bool

func (*TLUser) IsTLUser

func (o *TLUser) IsTLUser()

func (*TLUser) Min

func (o *TLUser) Min() bool

func (*TLUser) MutualContact

func (o *TLUser) MutualContact() bool

func (*TLUser) ReadBareFrom

func (o *TLUser) ReadBareFrom(r *tl.Reader)

func (*TLUser) Restricted

func (o *TLUser) Restricted() bool

func (*TLUser) Self

func (o *TLUser) Self() bool

func (*TLUser) SetBot

func (o *TLUser) SetBot(v bool)

func (*TLUser) SetBotChatHistory

func (o *TLUser) SetBotChatHistory(v bool)

func (*TLUser) SetBotInlineGeo

func (o *TLUser) SetBotInlineGeo(v bool)

func (*TLUser) SetBotNochats

func (o *TLUser) SetBotNochats(v bool)

func (*TLUser) SetContact

func (o *TLUser) SetContact(v bool)

func (*TLUser) SetDeleted

func (o *TLUser) SetDeleted(v bool)

func (*TLUser) SetHasAccessHash

func (o *TLUser) SetHasAccessHash(v bool)

func (*TLUser) SetHasBotInfoVersion

func (o *TLUser) SetHasBotInfoVersion(v bool)

func (*TLUser) SetHasBotInlinePlaceholder

func (o *TLUser) SetHasBotInlinePlaceholder(v bool)

func (*TLUser) SetHasFirstName

func (o *TLUser) SetHasFirstName(v bool)

func (*TLUser) SetHasLastName

func (o *TLUser) SetHasLastName(v bool)

func (*TLUser) SetHasPhone

func (o *TLUser) SetHasPhone(v bool)

func (*TLUser) SetHasPhoto

func (o *TLUser) SetHasPhoto(v bool)

func (*TLUser) SetHasRestrictionReason

func (o *TLUser) SetHasRestrictionReason(v bool)

func (*TLUser) SetHasStatus

func (o *TLUser) SetHasStatus(v bool)

func (*TLUser) SetHasUsername

func (o *TLUser) SetHasUsername(v bool)

func (*TLUser) SetMin

func (o *TLUser) SetMin(v bool)

func (*TLUser) SetMutualContact

func (o *TLUser) SetMutualContact(v bool)

func (*TLUser) SetRestricted

func (o *TLUser) SetRestricted(v bool)

func (*TLUser) SetSelf

func (o *TLUser) SetSelf(v bool)

func (*TLUser) SetVerified

func (o *TLUser) SetVerified(v bool)

func (*TLUser) String

func (o *TLUser) String() string

func (*TLUser) Verified

func (o *TLUser) Verified() bool

func (*TLUser) WriteBareTo

func (o *TLUser) WriteBareTo(w *tl.Writer)

type TLUserEmpty

type TLUserEmpty struct {
	ID int // id:int
}

TLUserEmpty represents ctor userEmpty#200250ba id:int = User from Telegram

func (*TLUserEmpty) Cmd

func (o *TLUserEmpty) Cmd() uint32

func (*TLUserEmpty) IsTLUser

func (o *TLUserEmpty) IsTLUser()

func (*TLUserEmpty) ReadBareFrom

func (o *TLUserEmpty) ReadBareFrom(r *tl.Reader)

func (*TLUserEmpty) String

func (o *TLUserEmpty) String() string

func (*TLUserEmpty) WriteBareTo

func (o *TLUserEmpty) WriteBareTo(w *tl.Writer)

type TLUserFull

type TLUserFull struct {
	Flags            uint                     // flags:#
	User             TLUserType               // user:User
	About            string                   // flags.1?about:string
	Link             *TLContactsLink          // link:contacts.Link
	ProfilePhoto     TLPhotoType              // flags.2?profile_photo:Photo
	NotifySettings   TLPeerNotifySettingsType // notify_settings:PeerNotifySettings
	BotInfo          *TLBotInfo               // flags.3?bot_info:BotInfo
	CommonChatsCount int                      // common_chats_count:int
}

TLUserFull represents ctor userFull#0f220f3f flags:# flags.0?blocked:true flags.4?phone_calls_available:true flags.5?phone_calls_private:true user:User flags.1?about:string link:contacts.Link flags.2?profile_photo:Photo notify_settings:PeerNotifySettings flags.3?bot_info:BotInfo common_chats_count:int = UserFull from Telegram

func (*TLUserFull) Blocked

func (o *TLUserFull) Blocked() bool

func (*TLUserFull) Cmd

func (o *TLUserFull) Cmd() uint32

func (*TLUserFull) HasAbout

func (o *TLUserFull) HasAbout() bool

func (*TLUserFull) HasBotInfo

func (o *TLUserFull) HasBotInfo() bool

func (*TLUserFull) HasProfilePhoto

func (o *TLUserFull) HasProfilePhoto() bool

func (*TLUserFull) PhoneCallsAvailable

func (o *TLUserFull) PhoneCallsAvailable() bool

func (*TLUserFull) PhoneCallsPrivate

func (o *TLUserFull) PhoneCallsPrivate() bool

func (*TLUserFull) ReadBareFrom

func (o *TLUserFull) ReadBareFrom(r *tl.Reader)

func (*TLUserFull) SetBlocked

func (o *TLUserFull) SetBlocked(v bool)

func (*TLUserFull) SetHasAbout

func (o *TLUserFull) SetHasAbout(v bool)

func (*TLUserFull) SetHasBotInfo

func (o *TLUserFull) SetHasBotInfo(v bool)

func (*TLUserFull) SetHasProfilePhoto

func (o *TLUserFull) SetHasProfilePhoto(v bool)

func (*TLUserFull) SetPhoneCallsAvailable

func (o *TLUserFull) SetPhoneCallsAvailable(v bool)

func (*TLUserFull) SetPhoneCallsPrivate

func (o *TLUserFull) SetPhoneCallsPrivate(v bool)

func (*TLUserFull) String

func (o *TLUserFull) String() string

func (*TLUserFull) WriteBareTo

func (o *TLUserFull) WriteBareTo(w *tl.Writer)

type TLUserProfilePhoto

type TLUserProfilePhoto struct {
	PhotoID    uint64             // photo_id:long
	PhotoSmall TLFileLocationType // photo_small:FileLocation
	PhotoBig   TLFileLocationType // photo_big:FileLocation
}

TLUserProfilePhoto represents ctor userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto from Telegram

func (*TLUserProfilePhoto) Cmd

func (o *TLUserProfilePhoto) Cmd() uint32

func (*TLUserProfilePhoto) IsTLUserProfilePhoto

func (o *TLUserProfilePhoto) IsTLUserProfilePhoto()

func (*TLUserProfilePhoto) ReadBareFrom

func (o *TLUserProfilePhoto) ReadBareFrom(r *tl.Reader)

func (*TLUserProfilePhoto) String

func (o *TLUserProfilePhoto) String() string

func (*TLUserProfilePhoto) WriteBareTo

func (o *TLUserProfilePhoto) WriteBareTo(w *tl.Writer)

type TLUserProfilePhotoEmpty

type TLUserProfilePhotoEmpty struct {
}

TLUserProfilePhotoEmpty represents ctor userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto from Telegram

func (*TLUserProfilePhotoEmpty) Cmd

func (*TLUserProfilePhotoEmpty) IsTLUserProfilePhoto

func (o *TLUserProfilePhotoEmpty) IsTLUserProfilePhoto()

func (*TLUserProfilePhotoEmpty) ReadBareFrom

func (o *TLUserProfilePhotoEmpty) ReadBareFrom(r *tl.Reader)

func (*TLUserProfilePhotoEmpty) String

func (o *TLUserProfilePhotoEmpty) String() string

func (*TLUserProfilePhotoEmpty) WriteBareTo

func (o *TLUserProfilePhotoEmpty) WriteBareTo(w *tl.Writer)

type TLUserProfilePhotoType

type TLUserProfilePhotoType interface {
	IsTLUserProfilePhoto()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUserProfilePhotoType represents UserProfilePhoto from Telegram

type TLUserStatusEmpty

type TLUserStatusEmpty struct {
}

TLUserStatusEmpty represents ctor userStatusEmpty#09d05049 = UserStatus from Telegram

func (*TLUserStatusEmpty) Cmd

func (o *TLUserStatusEmpty) Cmd() uint32

func (*TLUserStatusEmpty) IsTLUserStatus

func (o *TLUserStatusEmpty) IsTLUserStatus()

func (*TLUserStatusEmpty) ReadBareFrom

func (o *TLUserStatusEmpty) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusEmpty) String

func (o *TLUserStatusEmpty) String() string

func (*TLUserStatusEmpty) WriteBareTo

func (o *TLUserStatusEmpty) WriteBareTo(w *tl.Writer)

type TLUserStatusLastMonth

type TLUserStatusLastMonth struct {
}

TLUserStatusLastMonth represents ctor userStatusLastMonth#77ebc742 = UserStatus from Telegram

func (*TLUserStatusLastMonth) Cmd

func (o *TLUserStatusLastMonth) Cmd() uint32

func (*TLUserStatusLastMonth) IsTLUserStatus

func (o *TLUserStatusLastMonth) IsTLUserStatus()

func (*TLUserStatusLastMonth) ReadBareFrom

func (o *TLUserStatusLastMonth) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusLastMonth) String

func (o *TLUserStatusLastMonth) String() string

func (*TLUserStatusLastMonth) WriteBareTo

func (o *TLUserStatusLastMonth) WriteBareTo(w *tl.Writer)

type TLUserStatusLastWeek

type TLUserStatusLastWeek struct {
}

TLUserStatusLastWeek represents ctor userStatusLastWeek#07bf09fc = UserStatus from Telegram

func (*TLUserStatusLastWeek) Cmd

func (o *TLUserStatusLastWeek) Cmd() uint32

func (*TLUserStatusLastWeek) IsTLUserStatus

func (o *TLUserStatusLastWeek) IsTLUserStatus()

func (*TLUserStatusLastWeek) ReadBareFrom

func (o *TLUserStatusLastWeek) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusLastWeek) String

func (o *TLUserStatusLastWeek) String() string

func (*TLUserStatusLastWeek) WriteBareTo

func (o *TLUserStatusLastWeek) WriteBareTo(w *tl.Writer)

type TLUserStatusOffline

type TLUserStatusOffline struct {
	WasOnline int // was_online:int
}

TLUserStatusOffline represents ctor userStatusOffline#008c703f was_online:int = UserStatus from Telegram

func (*TLUserStatusOffline) Cmd

func (o *TLUserStatusOffline) Cmd() uint32

func (*TLUserStatusOffline) IsTLUserStatus

func (o *TLUserStatusOffline) IsTLUserStatus()

func (*TLUserStatusOffline) ReadBareFrom

func (o *TLUserStatusOffline) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusOffline) String

func (o *TLUserStatusOffline) String() string

func (*TLUserStatusOffline) WriteBareTo

func (o *TLUserStatusOffline) WriteBareTo(w *tl.Writer)

type TLUserStatusOnline

type TLUserStatusOnline struct {
	Expires int // expires:int
}

TLUserStatusOnline represents ctor userStatusOnline#edb93949 expires:int = UserStatus from Telegram

func (*TLUserStatusOnline) Cmd

func (o *TLUserStatusOnline) Cmd() uint32

func (*TLUserStatusOnline) IsTLUserStatus

func (o *TLUserStatusOnline) IsTLUserStatus()

func (*TLUserStatusOnline) ReadBareFrom

func (o *TLUserStatusOnline) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusOnline) String

func (o *TLUserStatusOnline) String() string

func (*TLUserStatusOnline) WriteBareTo

func (o *TLUserStatusOnline) WriteBareTo(w *tl.Writer)

type TLUserStatusRecently

type TLUserStatusRecently struct {
}

TLUserStatusRecently represents ctor userStatusRecently#e26f42f1 = UserStatus from Telegram

func (*TLUserStatusRecently) Cmd

func (o *TLUserStatusRecently) Cmd() uint32

func (*TLUserStatusRecently) IsTLUserStatus

func (o *TLUserStatusRecently) IsTLUserStatus()

func (*TLUserStatusRecently) ReadBareFrom

func (o *TLUserStatusRecently) ReadBareFrom(r *tl.Reader)

func (*TLUserStatusRecently) String

func (o *TLUserStatusRecently) String() string

func (*TLUserStatusRecently) WriteBareTo

func (o *TLUserStatusRecently) WriteBareTo(w *tl.Writer)

type TLUserStatusType

type TLUserStatusType interface {
	IsTLUserStatus()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUserStatusType represents UserStatus from Telegram

type TLUserType

type TLUserType interface {
	IsTLUser()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLUserType represents User from Telegram

type TLUsersGetFullUser

type TLUsersGetFullUser struct {
	ID TLInputUserType // id:InputUser
}

TLUsersGetFullUser represents func users.getFullUser#ca30a5b1 id:InputUser = UserFull from Telegram

func (*TLUsersGetFullUser) Cmd

func (o *TLUsersGetFullUser) Cmd() uint32

func (*TLUsersGetFullUser) ReadBareFrom

func (o *TLUsersGetFullUser) ReadBareFrom(r *tl.Reader)

func (*TLUsersGetFullUser) String

func (o *TLUsersGetFullUser) String() string

func (*TLUsersGetFullUser) WriteBareTo

func (o *TLUsersGetFullUser) WriteBareTo(w *tl.Writer)

type TLUsersGetUsers

type TLUsersGetUsers struct {
	ID []TLInputUserType // id:Vector<InputUser>
}

TLUsersGetUsers represents func users.getUsers#0d91a548 id:Vector<InputUser> = Vector<User> from Telegram

func (*TLUsersGetUsers) Cmd

func (o *TLUsersGetUsers) Cmd() uint32

func (*TLUsersGetUsers) ReadBareFrom

func (o *TLUsersGetUsers) ReadBareFrom(r *tl.Reader)

func (*TLUsersGetUsers) String

func (o *TLUsersGetUsers) String() string

func (*TLUsersGetUsers) WriteBareTo

func (o *TLUsersGetUsers) WriteBareTo(w *tl.Writer)

type TLWallPaper

type TLWallPaper struct {
	ID    int               // id:int
	Title string            // title:string
	Sizes []TLPhotoSizeType // sizes:Vector<PhotoSize>
	Color int               // color:int
}

TLWallPaper represents ctor wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper from Telegram

func (*TLWallPaper) Cmd

func (o *TLWallPaper) Cmd() uint32

func (*TLWallPaper) IsTLWallPaper

func (o *TLWallPaper) IsTLWallPaper()

func (*TLWallPaper) ReadBareFrom

func (o *TLWallPaper) ReadBareFrom(r *tl.Reader)

func (*TLWallPaper) String

func (o *TLWallPaper) String() string

func (*TLWallPaper) WriteBareTo

func (o *TLWallPaper) WriteBareTo(w *tl.Writer)

type TLWallPaperSolid

type TLWallPaperSolid struct {
	ID      int    // id:int
	Title   string // title:string
	BgColor int    // bg_color:int
	Color   int    // color:int
}

TLWallPaperSolid represents ctor wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper from Telegram

func (*TLWallPaperSolid) Cmd

func (o *TLWallPaperSolid) Cmd() uint32

func (*TLWallPaperSolid) IsTLWallPaper

func (o *TLWallPaperSolid) IsTLWallPaper()

func (*TLWallPaperSolid) ReadBareFrom

func (o *TLWallPaperSolid) ReadBareFrom(r *tl.Reader)

func (*TLWallPaperSolid) String

func (o *TLWallPaperSolid) String() string

func (*TLWallPaperSolid) WriteBareTo

func (o *TLWallPaperSolid) WriteBareTo(w *tl.Writer)

type TLWallPaperType

type TLWallPaperType interface {
	IsTLWallPaper()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLWallPaperType represents WallPaper from Telegram

type TLWebDocument

type TLWebDocument struct {
	URL        string                    // url:string
	AccessHash uint64                    // access_hash:long
	Size       int                       // size:int
	MimeType   string                    // mime_type:string
	Attributes []TLDocumentAttributeType // attributes:Vector<DocumentAttribute>
	DCID       int                       // dc_id:int
}

TLWebDocument represents ctor webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector<DocumentAttribute> dc_id:int = WebDocument from Telegram

func (*TLWebDocument) Cmd

func (o *TLWebDocument) Cmd() uint32

func (*TLWebDocument) ReadBareFrom

func (o *TLWebDocument) ReadBareFrom(r *tl.Reader)

func (*TLWebDocument) String

func (o *TLWebDocument) String() string

func (*TLWebDocument) WriteBareTo

func (o *TLWebDocument) WriteBareTo(w *tl.Writer)

type TLWebPage

type TLWebPage struct {
	Flags       uint           // flags:#
	ID          uint64         // id:long
	URL         string         // url:string
	DisplayURL  string         // display_url:string
	Hash        int            // hash:int
	Type        string         // flags.0?type:string
	SiteName    string         // flags.1?site_name:string
	Title       string         // flags.2?title:string
	Description string         // flags.3?description:string
	Photo       TLPhotoType    // flags.4?photo:Photo
	EmbedURL    string         // flags.5?embed_url:string
	EmbedType   string         // flags.5?embed_type:string
	EmbedWidth  int            // flags.6?embed_width:int
	EmbedHeight int            // flags.6?embed_height:int
	Duration    int            // flags.7?duration:int
	Author      string         // flags.8?author:string
	Document    TLDocumentType // flags.9?document:Document
	CachedPage  TLPageType     // flags.10?cached_page:Page
}

TLWebPage represents ctor webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int flags.0?type:string flags.1?site_name:string flags.2?title:string flags.3?description:string flags.4?photo:Photo flags.5?embed_url:string flags.5?embed_type:string flags.6?embed_width:int flags.6?embed_height:int flags.7?duration:int flags.8?author:string flags.9?document:Document flags.10?cached_page:Page = WebPage from Telegram

func (*TLWebPage) Cmd

func (o *TLWebPage) Cmd() uint32

func (*TLWebPage) HasAuthor

func (o *TLWebPage) HasAuthor() bool

func (*TLWebPage) HasCachedPage

func (o *TLWebPage) HasCachedPage() bool

func (*TLWebPage) HasDescription

func (o *TLWebPage) HasDescription() bool

func (*TLWebPage) HasDocument

func (o *TLWebPage) HasDocument() bool

func (*TLWebPage) HasDuration

func (o *TLWebPage) HasDuration() bool

func (*TLWebPage) HasEmbedHeight

func (o *TLWebPage) HasEmbedHeight() bool

func (*TLWebPage) HasEmbedType

func (o *TLWebPage) HasEmbedType() bool

func (*TLWebPage) HasEmbedURL

func (o *TLWebPage) HasEmbedURL() bool

func (*TLWebPage) HasEmbedWidth

func (o *TLWebPage) HasEmbedWidth() bool

func (*TLWebPage) HasPhoto

func (o *TLWebPage) HasPhoto() bool

func (*TLWebPage) HasSiteName

func (o *TLWebPage) HasSiteName() bool

func (*TLWebPage) HasTitle

func (o *TLWebPage) HasTitle() bool

func (*TLWebPage) HasType

func (o *TLWebPage) HasType() bool

func (*TLWebPage) IsTLWebPage

func (o *TLWebPage) IsTLWebPage()

func (*TLWebPage) ReadBareFrom

func (o *TLWebPage) ReadBareFrom(r *tl.Reader)

func (*TLWebPage) SetHasAuthor

func (o *TLWebPage) SetHasAuthor(v bool)

func (*TLWebPage) SetHasCachedPage

func (o *TLWebPage) SetHasCachedPage(v bool)

func (*TLWebPage) SetHasDescription

func (o *TLWebPage) SetHasDescription(v bool)

func (*TLWebPage) SetHasDocument

func (o *TLWebPage) SetHasDocument(v bool)

func (*TLWebPage) SetHasDuration

func (o *TLWebPage) SetHasDuration(v bool)

func (*TLWebPage) SetHasEmbedHeight

func (o *TLWebPage) SetHasEmbedHeight(v bool)

func (*TLWebPage) SetHasEmbedType

func (o *TLWebPage) SetHasEmbedType(v bool)

func (*TLWebPage) SetHasEmbedURL

func (o *TLWebPage) SetHasEmbedURL(v bool)

func (*TLWebPage) SetHasEmbedWidth

func (o *TLWebPage) SetHasEmbedWidth(v bool)

func (*TLWebPage) SetHasPhoto

func (o *TLWebPage) SetHasPhoto(v bool)

func (*TLWebPage) SetHasSiteName

func (o *TLWebPage) SetHasSiteName(v bool)

func (*TLWebPage) SetHasTitle

func (o *TLWebPage) SetHasTitle(v bool)

func (*TLWebPage) SetHasType

func (o *TLWebPage) SetHasType(v bool)

func (*TLWebPage) String

func (o *TLWebPage) String() string

func (*TLWebPage) WriteBareTo

func (o *TLWebPage) WriteBareTo(w *tl.Writer)

type TLWebPageEmpty

type TLWebPageEmpty struct {
	ID uint64 // id:long
}

TLWebPageEmpty represents ctor webPageEmpty#eb1477e8 id:long = WebPage from Telegram

func (*TLWebPageEmpty) Cmd

func (o *TLWebPageEmpty) Cmd() uint32

func (*TLWebPageEmpty) IsTLWebPage

func (o *TLWebPageEmpty) IsTLWebPage()

func (*TLWebPageEmpty) ReadBareFrom

func (o *TLWebPageEmpty) ReadBareFrom(r *tl.Reader)

func (*TLWebPageEmpty) String

func (o *TLWebPageEmpty) String() string

func (*TLWebPageEmpty) WriteBareTo

func (o *TLWebPageEmpty) WriteBareTo(w *tl.Writer)

type TLWebPageNotModified

type TLWebPageNotModified struct {
}

TLWebPageNotModified represents ctor webPageNotModified#85849473 = WebPage from Telegram

func (*TLWebPageNotModified) Cmd

func (o *TLWebPageNotModified) Cmd() uint32

func (*TLWebPageNotModified) IsTLWebPage

func (o *TLWebPageNotModified) IsTLWebPage()

func (*TLWebPageNotModified) ReadBareFrom

func (o *TLWebPageNotModified) ReadBareFrom(r *tl.Reader)

func (*TLWebPageNotModified) String

func (o *TLWebPageNotModified) String() string

func (*TLWebPageNotModified) WriteBareTo

func (o *TLWebPageNotModified) WriteBareTo(w *tl.Writer)

type TLWebPagePending

type TLWebPagePending struct {
	ID   uint64 // id:long
	Date int    // date:int
}

TLWebPagePending represents ctor webPagePending#c586da1c id:long date:int = WebPage from Telegram

func (*TLWebPagePending) Cmd

func (o *TLWebPagePending) Cmd() uint32

func (*TLWebPagePending) IsTLWebPage

func (o *TLWebPagePending) IsTLWebPage()

func (*TLWebPagePending) ReadBareFrom

func (o *TLWebPagePending) ReadBareFrom(r *tl.Reader)

func (*TLWebPagePending) String

func (o *TLWebPagePending) String() string

func (*TLWebPagePending) WriteBareTo

func (o *TLWebPagePending) WriteBareTo(w *tl.Writer)

type TLWebPageType

type TLWebPageType interface {
	IsTLWebPage()
	Cmd() uint32
	ReadBareFrom(r *tl.Reader)
	WriteBareTo(w *tl.Writer)
}

TLWebPageType represents WebPage from Telegram

type Transport

type Transport interface {
	Send(data []byte) error
	Recv() ([]byte, int, error)
	Close()
}

Jump to

Keyboard shortcuts

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