mtproto

package
v0.0.0-...-6e21e7b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package mtproto is a generated protocol buffer package.

It is generated from these files:

nbfs_service.proto
rpc_error_codes.proto
schema.tl.core_types.proto
schema.tl.crc32.proto
schema.tl.handshake.proto
schema.tl.handshake_service.proto
schema.tl.sync.proto
schema.tl.sync_service.proto
schema.tl.transport.proto
schema.tl.transport_service.proto
zproto_auth_key.proto
zproto_sync.proto

It has these top-level messages:

UploadPhotoFileRequest
GetPhotoFileDataRequest
PhotoDataRsp
NbfsUploadedPhotoMedia
NbfsUploadedDocumentMedia
DocumentId
DocumentAttributeList
DocumentIdList
DocumentList
Error_Data
Error
TLError
Null_Data
Null
TLNull
Bool_Data
Bool
TLBoolFalse
TLBoolTrue
True_Data
True
TLTrue
Client_DH_Inner_Data_Data
Client_DH_Inner_Data
TLClient_DHInnerData
SetClient_DHParamsAnswer_Data
SetClient_DHParamsAnswer
TLDhGenOk
TLDhGenRetry
TLDhGenFail
DestroyAuthKeyRes_Data
DestroyAuthKeyRes
TLDestroyAuthKeyOk
TLDestroyAuthKeyNone
TLDestroyAuthKeyFail
ResPQ_Data
ResPQ
TLResPQ
P_QInnerData_Data
P_QInnerData
TLPQInnerData
Server_DH_Params_Data
Server_DH_Params
TLServer_DHParamsFail
TLServer_DHParamsOk
Server_DHInnerData_Data
Server_DHInnerData
TLServer_DHInnerData
TLReqPq
TLReq_DHParams
TLSetClient_DHParams
TLDestroyAuthKey
Photos_Photo_Data
Photos_Photo
TLPhotosPhoto
Payments_PaymentResult_Data
Payments_PaymentResult
TLPaymentsPaymentResult
TLPaymentsPaymentVerficationNeeded
BotInfo_Data
BotInfo
TLBotInfo
Contacts_TopPeers_Data
Contacts_TopPeers
TLContactsTopPeersNotModified
TLContactsTopPeers
UserProfilePhoto_Data
UserProfilePhoto
TLUserProfilePhotoEmpty
TLUserProfilePhoto
Photo_Data
Photo
TLPhotoEmpty
TLPhoto
Account_PrivacyRules_Data
Account_PrivacyRules
TLAccountPrivacyRules
BotCommand_Data
BotCommand
TLBotCommand
Contacts_Link_Data
Contacts_Link
TLContactsLink
InputWebDocument_Data
InputWebDocument
TLInputWebDocument
Auth_SentCodeType_Data
Auth_SentCodeType
TLAuthSentCodeTypeApp
TLAuthSentCodeTypeSms
TLAuthSentCodeTypeCall
TLAuthSentCodeTypeFlashCall
InlineBotSwitchPM_Data
InlineBotSwitchPM
TLInlineBotSwitchPM
PhoneCallProtocol_Data
PhoneCallProtocol
TLPhoneCallProtocol
LangPackDifference_Data
LangPackDifference
TLLangPackDifference
DcOption_Data
DcOption
TLDcOption
InputDocument_Data
InputDocument
TLInputDocumentEmpty
TLInputDocument
DisabledFeature_Data
DisabledFeature
TLDisabledFeature
Account_PasswordSettings_Data
Account_PasswordSettings
TLAccountPasswordSettings
ChannelAdminLogEventAction_Data
ChannelAdminLogEventAction
TLChannelAdminLogEventActionChangeTitle
TLChannelAdminLogEventActionChangeAbout
TLChannelAdminLogEventActionChangeUsername
TLChannelAdminLogEventActionChangePhoto
TLChannelAdminLogEventActionToggleInvites
TLChannelAdminLogEventActionToggleSignatures
TLChannelAdminLogEventActionUpdatePinned
TLChannelAdminLogEventActionEditMessage
TLChannelAdminLogEventActionDeleteMessage
TLChannelAdminLogEventActionParticipantJoin
TLChannelAdminLogEventActionParticipantLeave
TLChannelAdminLogEventActionParticipantInvite
TLChannelAdminLogEventActionParticipantToggleBan
TLChannelAdminLogEventActionParticipantToggleAdmin
TLChannelAdminLogEventActionChangeStickerSet
TLChannelAdminLogEventActionTogglePreHistoryHidden
CdnFileHash_Data
CdnFileHash
TLCdnFileHash
ChatFull_Data
ChatFull
TLChatFull
TLChannelFull
StickerPack_Data
StickerPack
TLStickerPack
Messages_StickerSetInstallResult_Data
Messages_StickerSetInstallResult
TLMessagesStickerSetInstallResultSuccess
TLMessagesStickerSetInstallResultArchive
Game_Data
Game
TLGame
Auth_CodeType_Data
Auth_CodeType
TLAuthCodeTypeSms
TLAuthCodeTypeCall
TLAuthCodeTypeFlashCall
RichText_Data
RichText
TLTextEmpty
TLTextPlain
TLTextBold
TLTextItalic
TLTextUnderline
TLTextStrike
TLTextFixed
TLTextUrl
TLTextEmail
TLTextConcat
ChannelBannedRights_Data
ChannelBannedRights
TLChannelBannedRights
InputAppEvent_Data
InputAppEvent
TLInputAppEvent
WallPaper_Data
WallPaper
TLWallPaper
TLWallPaperSolid
Channels_ChannelParticipant_Data
Channels_ChannelParticipant
TLChannelsChannelParticipant
Help_TermsOfService_Data
Help_TermsOfService
TLHelpTermsOfService
Auth_ExportedAuthorization_Data
Auth_ExportedAuthorization
TLAuthExportedAuthorization
Messages_SentEncryptedMessage_Data
Messages_SentEncryptedMessage
TLMessagesSentEncryptedMessage
TLMessagesSentEncryptedFile
Upload_CdnFile_Data
Upload_CdnFile
TLUploadCdnFileReuploadNeeded
TLUploadCdnFile
ChannelAdminLogEventsFilter_Data
ChannelAdminLogEventsFilter
TLChannelAdminLogEventsFilter
Help_InviteText_Data
Help_InviteText
TLHelpInviteText
PrivacyRule_Data
PrivacyRule
TLPrivacyValueAllowContacts
TLPrivacyValueAllowAll
TLPrivacyValueAllowUsers
TLPrivacyValueDisallowContacts
TLPrivacyValueDisallowAll
TLPrivacyValueDisallowUsers
ExportedMessageLink_Data
ExportedMessageLink
TLExportedMessageLink
TLExportedMessageLinkLayer74
TopPeerCategoryPeers_Data
TopPeerCategoryPeers
TLTopPeerCategoryPeers
InputFileLocation_Data
InputFileLocation
TLInputFileLocation
TLInputEncryptedFileLocation
TLInputDocumentFileLocation
TLInputDocumentFileLocationLayer11
Contacts_ImportedContacts_Data
Contacts_ImportedContacts
TLContactsImportedContacts
Messages_StickerSet_Data
Messages_StickerSet
TLMessagesStickerSet
PopularContact_Data
PopularContact
TLPopularContact
Payments_PaymentForm_Data
Payments_PaymentForm
TLPaymentsPaymentForm
Account_TmpPassword_Data
Account_TmpPassword
TLAccountTmpPassword
Messages_ChatFull_Data
Messages_ChatFull
TLMessagesChatFull
Upload_File_Data
Upload_File
TLUploadFile
TLUploadFileCdnRedirect
MessageEntity_Data
MessageEntity
TLMessageEntityUnknown
TLMessageEntityMention
TLMessageEntityHashtag
TLMessageEntityBotCommand
TLMessageEntityUrl
TLMessageEntityEmail
TLMessageEntityBold
TLMessageEntityItalic
TLMessageEntityCode
TLMessageEntityPre
TLMessageEntityTextUrl
TLMessageEntityMentionName
TLInputMessageEntityMentionName
InputStickeredMedia_Data
InputStickeredMedia
TLInputStickeredMediaPhoto
TLInputStickeredMediaDocument
FoundGif_Data
FoundGif
TLFoundGif
TLFoundGifCached
HighScore_Data
HighScore
TLHighScore
Messages_AllStickers_Data
Messages_AllStickers
TLMessagesAllStickersNotModified
TLMessagesAllStickers
MessageRange_Data
MessageRange
TLMessageRange
Updates_ChannelDifference_Data
Updates_ChannelDifference
TLUpdatesChannelDifferenceEmpty
TLUpdatesChannelDifferenceTooLong
TLUpdatesChannelDifference
Messages_RecentStickers_Data
Messages_RecentStickers
TLMessagesRecentStickersNotModified
TLMessagesRecentStickers
GeoPoint_Data
GeoPoint
TLGeoPointEmpty
TLGeoPoint
InputPeerNotifyEvents_Data
InputPeerNotifyEvents
TLInputPeerNotifyEventsEmpty
TLInputPeerNotifyEventsAll
ContactStatus_Data
ContactStatus
TLContactStatus
Updates_State_Data
Updates_State
TLUpdatesState
InputPhoneCall_Data
InputPhoneCall
TLInputPhoneCall
CdnPublicKey_Data
CdnPublicKey
TLCdnPublicKey
ChannelAdminRights_Data
ChannelAdminRights
TLChannelAdminRights
ReceivedNotifyMessage_Data
ReceivedNotifyMessage
TLReceivedNotifyMessage
Messages_FoundGifs_Data
Messages_FoundGifs
TLMessagesFoundGifs
Phone_PhoneCall_Data
Phone_PhoneCall
TLPhonePhoneCall
LangPackString_Data
LangPackString
TLLangPackString
TLLangPackStringPluralized
TLLangPackStringDeleted
InputPhoto_Data
InputPhoto
TLInputPhotoEmpty
TLInputPhoto
InputEncryptedChat_Data
InputEncryptedChat
TLInputEncryptedChat
Messages_DhConfig_Data
Messages_DhConfig
TLMessagesDhConfigNotModified
TLMessagesDhConfig
Help_Support_Data
Help_Support
TLHelpSupport
Messages_BotCallbackAnswer_Data
Messages_BotCallbackAnswer
TLMessagesBotCallbackAnswer
TopPeer_Data
TopPeer
TLTopPeer
PageBlock_Data
PageBlock
TLPageBlockUnsupported
TLPageBlockTitle
TLPageBlockSubtitle
TLPageBlockAuthorDate
TLPageBlockHeader
TLPageBlockSubheader
TLPageBlockParagraph
TLPageBlockPreformatted
TLPageBlockFooter
TLPageBlockDivider
TLPageBlockAnchor
TLPageBlockList
TLPageBlockBlockquote
TLPageBlockPullquote
TLPageBlockPhoto
TLPageBlockVideo
TLPageBlockCover
TLPageBlockEmbed
TLPageBlockEmbedPost
TLPageBlockCollage
TLPageBlockSlideshow
TLPageBlockChannel
TLPageBlockAudio
Contacts_Blocked_Data
Contacts_Blocked
TLContactsBlocked
TLContactsBlockedSlice
MessagesFilter_Data
MessagesFilter
TLInputMessagesFilterEmpty
TLInputMessagesFilterPhotos
TLInputMessagesFilterVideo
TLInputMessagesFilterPhotoVideo
TLInputMessagesFilterDocument
TLInputMessagesFilterUrl
TLInputMessagesFilterGif
TLInputMessagesFilterVoice
TLInputMessagesFilterMusic
TLInputMessagesFilterChatPhotos
TLInputMessagesFilterPhoneCalls
TLInputMessagesFilterRoundVoice
TLInputMessagesFilterRoundVideo
TLInputMessagesFilterMyMentions
TLInputMessagesFilterGeo
TLInputMessagesFilterContacts
WebPage_Data
WebPage
TLWebPageEmpty
TLWebPagePending
TLWebPage
TLWebPageNotModified
Account_Authorizations_Data
Account_Authorizations
TLAccountAuthorizations
Document_Data
Document
TLDocumentEmpty
TLDocument
ChannelParticipant_Data
ChannelParticipant
TLChannelParticipant
TLChannelParticipantSelf
TLChannelParticipantCreator
TLChannelParticipantAdmin
TLChannelParticipantBanned
BotInlineMessage_Data
BotInlineMessage
TLBotInlineMessageMediaAuto
TLBotInlineMessageText
TLBotInlineMessageMediaGeo
TLBotInlineMessageMediaVenue
TLBotInlineMessageMediaContact
Messages_SavedGifs_Data
Messages_SavedGifs
TLMessagesSavedGifsNotModified
TLMessagesSavedGifs
InputPaymentCredentials_Data
InputPaymentCredentials
TLInputPaymentCredentialsSaved
TLInputPaymentCredentials
TLInputPaymentCredentialsApplePay
TLInputPaymentCredentialsAndroidPay
TLInputPaymentCredentialsAndroidPayLayer74
PhotoSize_Data
PhotoSize
TLPhotoSizeEmpty
TLPhotoSize
TLPhotoCachedSize
UserFull_Data
UserFull
TLUserFull
Contacts_Contacts_Data
Contacts_Contacts
TLContactsContactsNotModified
TLContactsContacts
EncryptedMessage_Data
EncryptedMessage
TLEncryptedMessage
TLEncryptedMessageService
StickerSet_Data
StickerSet
TLStickerSet
ReplyMarkup_Data
ReplyMarkup
TLReplyKeyboardHide
TLReplyKeyboardForceReply
TLReplyKeyboardMarkup
TLReplyInlineMarkup
Messages_FeaturedStickers_Data
Messages_FeaturedStickers
TLMessagesFeaturedStickersNotModified
TLMessagesFeaturedStickers
WebDocument_Data
WebDocument
TLWebDocument
Peer_Data
Peer
TLPeerUser
TLPeerChat
TLPeerChannel
ChatParticipant_Data
ChatParticipant
TLChatParticipant
TLChatParticipantCreator
TLChatParticipantAdmin
Messages_Chats_Data
Messages_Chats
TLMessagesChats
TLMessagesChatsSlice
NotifyPeer_Data
NotifyPeer
TLNotifyPeer
TLNotifyUsers
TLNotifyChats
TLNotifyAll
PhoneCall_Data
PhoneCall
TLPhoneCallEmpty
TLPhoneCallWaiting
TLPhoneCallRequested
TLPhoneCallAccepted
TLPhoneCall
TLPhoneCallDiscarded
Help_RecentMeUrls_Data
Help_RecentMeUrls
TLHelpRecentMeUrls
ImportedContact_Data
ImportedContact
TLImportedContact
EncryptedFile_Data
EncryptedFile
TLEncryptedFileEmpty
TLEncryptedFile
BotInlineResult_Data
BotInlineResult
TLBotInlineResult
TLBotInlineMediaResult
PhoneCallDiscardReason_Data
PhoneCallDiscardReason
TLPhoneCallDiscardReasonMissed
TLPhoneCallDiscardReasonDisconnect
TLPhoneCallDiscardReasonHangup
TLPhoneCallDiscardReasonBusy
InputFile_Data
InputFile
TLInputFile
TLInputFileBig
Storage_FileType_Data
Storage_FileType
TLStorageFileUnknown
TLStorageFilePartial
TLStorageFileJpeg
TLStorageFileGif
TLStorageFilePng
TLStorageFilePdf
TLStorageFileMp3
TLStorageFileMov
TLStorageFileMp4
TLStorageFileWebp
Auth_Authorization_Data
Auth_Authorization
TLAuthAuthorization
Contact_Data
Contact
TLContact
Upload_WebFile_Data
Upload_WebFile
TLUploadWebFile
LangPackLanguage_Data
LangPackLanguage
TLLangPackLanguage
Auth_PasswordRecovery_Data
Auth_PasswordRecovery
TLAuthPasswordRecovery
Messages_HighScores_Data
Messages_HighScores
TLMessagesHighScores
User_Data
User
TLUserEmpty
TLUser
ContactBlocked_Data
ContactBlocked
TLContactBlocked
Config_Data
Config
TLConfig
DocumentAttribute_Data
DocumentAttribute
TLDocumentAttributeImageSize
TLDocumentAttributeAnimated
TLDocumentAttributeSticker
TLDocumentAttributeVideo
TLDocumentAttributeAudio
TLDocumentAttributeFilename
TLDocumentAttributeHasStickers
DataJSON_Data
DataJSON
TLDataJSON
PaymentCharge_Data
PaymentCharge
TLPaymentCharge
InputMedia_Data
InputMedia
TLInputMediaEmpty
TLInputMediaUploadedPhoto
TLInputMediaPhoto
TLInputMediaGeoPoint
TLInputMediaContact
TLInputMediaUploadedDocument
TLInputMediaDocument
TLInputMediaVenue
TLInputMediaGifExternal
TLInputMediaPhotoExternal
TLInputMediaDocumentExternal
TLInputMediaGame
TLInputMediaInvoice
TLInputMediaGeoLive
UserStatus_Data
UserStatus
TLUserStatusEmpty
TLUserStatusOnline
TLUserStatusOffline
TLUserStatusRecently
TLUserStatusLastWeek
TLUserStatusLastMonth
InputChannel_Data
InputChannel
TLInputChannelEmpty
TLInputChannel
InputBotInlineMessageID_Data
InputBotInlineMessageID
TLInputBotInlineMessageID
ChannelMessagesFilter_Data
ChannelMessagesFilter
TLChannelMessagesFilterEmpty
TLChannelMessagesFilter
Messages_FavedStickers_Data
Messages_FavedStickers
TLMessagesFavedStickersNotModified
TLMessagesFavedStickers
InputSingleMedia_Data
InputSingleMedia
TLInputSingleMedia
InputBotInlineResult_Data
InputBotInlineResult
TLInputBotInlineResult
TLInputBotInlineResultPhoto
TLInputBotInlineResultDocument
TLInputBotInlineResultGame
Messages_BotResults_Data
Messages_BotResults
TLMessagesBotResults
InputPeer_Data
InputPeer
TLInputPeerEmpty
TLInputPeerSelf
TLInputPeerChat
TLInputPeerUser
TLInputPeerChannel
InputGeoPoint_Data
InputGeoPoint
TLInputGeoPointEmpty
TLInputGeoPoint
Contacts_Found_Data
Contacts_Found
TLContactsFound
TLContactsFoundLayer74
InputPrivacyKey_Data
InputPrivacyKey
TLInputPrivacyKeyStatusTimestamp
TLInputPrivacyKeyChatInvite
TLInputPrivacyKeyPhoneCall
KeyboardButton_Data
KeyboardButton
TLKeyboardButton
TLKeyboardButtonUrl
TLKeyboardButtonCallback
TLKeyboardButtonRequestPhone
TLKeyboardButtonRequestGeoLocation
TLKeyboardButtonSwitchInline
TLKeyboardButtonGame
TLKeyboardButtonBuy
StickerSetCovered_Data
StickerSetCovered
TLStickerSetCovered
TLStickerSetMultiCovered
InputGame_Data
InputGame
TLInputGameID
TLInputGameShortName
Page_Data
Page
TLPagePart
TLPageFull
InputPeerNotifySettings_Data
InputPeerNotifySettings
TLInputPeerNotifySettings
PeerNotifyEvents_Data
PeerNotifyEvents
TLPeerNotifyEventsEmpty
TLPeerNotifyEventsAll
SendMessageAction_Data
SendMessageAction
TLSendMessageTypingAction
TLSendMessageCancelAction
TLSendMessageRecordVideoAction
TLSendMessageUploadVideoAction
TLSendMessageRecordAudioAction
TLSendMessageUploadAudioAction
TLSendMessageUploadPhotoAction
TLSendMessageUploadDocumentAction
TLSendMessageGeoLocationAction
TLSendMessageChooseContactAction
TLSendMessageGamePlayAction
TLSendMessageRecordRoundAction
TLSendMessageUploadRoundAction
Authorization_Data
Authorization
TLAuthorization
Invoice_Data
Invoice
TLInvoice
RecentMeUrl_Data
RecentMeUrl
TLRecentMeUrlUnknown
TLRecentMeUrlUser
TLRecentMeUrlChat
TLRecentMeUrlChatInvite
TLRecentMeUrlStickerSet
ChannelAdminLogEvent_Data
ChannelAdminLogEvent
TLChannelAdminLogEvent
ChatParticipants_Data
ChatParticipants
TLChatParticipantsForbidden
TLChatParticipants
MessageMedia_Data
MessageMedia
TLMessageMediaEmpty
TLMessageMediaPhoto
TLMessageMediaGeo
TLMessageMediaContact
TLMessageMediaUnsupported
TLMessageMediaDocument
TLMessageMediaWebPage
TLMessageMediaVenue
TLMessageMediaGame
TLMessageMediaInvoice
TLMessageMediaGeoLive
Updates_Data
Updates
TLUpdatesTooLong
TLUpdateShortMessage
TLUpdateShortChatMessage
TLUpdateShort
TLUpdatesCombined
TLUpdates
TLUpdateShortSentMessage
EncryptedChat_Data
EncryptedChat
TLEncryptedChatEmpty
TLEncryptedChatWaiting
TLEncryptedChatRequested
TLEncryptedChat
TLEncryptedChatDiscarded
MaskCoords_Data
MaskCoords
TLMaskCoords
CdnConfig_Data
CdnConfig
TLCdnConfig
PrivacyKey_Data
PrivacyKey
TLPrivacyKeyStatusTimestamp
TLPrivacyKeyChatInvite
TLPrivacyKeyPhoneCall
Contacts_ResolvedPeer_Data
Contacts_ResolvedPeer
TLContactsResolvedPeer
TopPeerCategory_Data
TopPeerCategory
TLTopPeerCategoryBotsPM
TLTopPeerCategoryBotsInline
TLTopPeerCategoryCorrespondents
TLTopPeerCategoryGroups
TLTopPeerCategoryChannels
TLTopPeerCategoryPhoneCalls
DraftMessage_Data
DraftMessage
TLDraftMessageEmpty
TLDraftMessage
Messages_AffectedMessages_Data
Messages_AffectedMessages
TLMessagesAffectedMessages
Payments_ValidatedRequestedInfo_Data
Payments_ValidatedRequestedInfo
TLPaymentsValidatedRequestedInfo
InputNotifyPeer_Data
InputNotifyPeer
TLInputNotifyPeer
TLInputNotifyUsers
TLInputNotifyChats
TLInputNotifyAll
Messages_AffectedHistory_Data
Messages_AffectedHistory
TLMessagesAffectedHistory
NearestDc_Data
NearestDc
TLNearestDc
Help_AppUpdate_Data
Help_AppUpdate
TLHelpAppUpdate
TLHelpNoAppUpdate
InputStickerSet_Data
InputStickerSet
TLInputStickerSetEmpty
TLInputStickerSetID
TLInputStickerSetShortName
InputBotInlineMessage_Data
InputBotInlineMessage
TLInputBotInlineMessageMediaAuto
TLInputBotInlineMessageText
TLInputBotInlineMessageMediaGeo
TLInputBotInlineMessageMediaVenue
TLInputBotInlineMessageMediaContact
TLInputBotInlineMessageGame
Channels_AdminLogResults_Data
Channels_AdminLogResults
TLChannelsAdminLogResults
Update_Data
Update
TLUpdateNewMessage
TLUpdateMessageID
TLUpdateDeleteMessages
TLUpdateUserTyping
TLUpdateChatUserTyping
TLUpdateChatParticipants
TLUpdateUserStatus
TLUpdateUserName
TLUpdateUserPhoto
TLUpdateContactRegistered
TLUpdateContactLink
TLUpdateNewEncryptedMessage
TLUpdateEncryptedChatTyping
TLUpdateEncryption
TLUpdateEncryptedMessagesRead
TLUpdateChatParticipantAdd
TLUpdateChatParticipantDelete
TLUpdateDcOptions
TLUpdateUserBlocked
TLUpdateNotifySettings
TLUpdateServiceNotification
TLUpdatePrivacy
TLUpdateUserPhone
TLUpdateReadHistoryInbox
TLUpdateReadHistoryOutbox
TLUpdateWebPage
TLUpdateReadMessagesContents
TLUpdateChannelTooLong
TLUpdateChannel
TLUpdateNewChannelMessage
TLUpdateReadChannelInbox
TLUpdateDeleteChannelMessages
TLUpdateChannelMessageViews
TLUpdateChatAdmins
TLUpdateChatParticipantAdmin
TLUpdateNewStickerSet
TLUpdateStickerSetsOrder
TLUpdateStickerSets
TLUpdateSavedGifs
TLUpdateBotInlineQuery
TLUpdateBotInlineSend
TLUpdateEditChannelMessage
TLUpdateChannelPinnedMessage
TLUpdateBotCallbackQuery
TLUpdateEditMessage
TLUpdateInlineBotCallbackQuery
TLUpdateReadChannelOutbox
TLUpdateDraftMessage
TLUpdateReadFeaturedStickers
TLUpdateRecentStickers
TLUpdateConfig
TLUpdatePtsChanged
TLUpdateChannelWebPage
TLUpdateDialogPinned
TLUpdatePinnedDialogs
TLUpdateBotWebhookJSON
TLUpdateBotWebhookJSONQuery
TLUpdateBotShippingQuery
TLUpdateBotPrecheckoutQuery
TLUpdatePhoneCall
TLUpdateLangPackTooLong
TLUpdateLangPack
TLUpdateFavedStickers
TLUpdateChannelReadMessagesContents
TLUpdateContactsReset
TLUpdateChannelAvailableMessages
InputEncryptedFile_Data
InputEncryptedFile
TLInputEncryptedFileEmpty
TLInputEncryptedFileUploaded
TLInputEncryptedFile
TLInputEncryptedFileBigUploaded
Account_PasswordInputSettings_Data
Account_PasswordInputSettings
TLAccountPasswordInputSettings
ExportedChatInvite_Data
ExportedChatInvite
TLChatInviteEmpty
TLChatInviteExported
PeerSettings_Data
PeerSettings
TLPeerSettings
Messages_Dialogs_Data
Messages_Dialogs
TLMessagesDialogs
TLMessagesDialogsSlice
Updates_Difference_Data
Updates_Difference
TLUpdatesDifferenceEmpty
TLUpdatesDifference
TLUpdatesDifferenceSlice
TLUpdatesDifferenceTooLong
Channels_ChannelParticipants_Data
Channels_ChannelParticipants
TLChannelsChannelParticipants
TLChannelsChannelParticipantsNotModified
FileLocation_Data
FileLocation
TLFileLocationUnavailable
TLFileLocation
Chat_Data
Chat
TLChatEmpty
TLChat
TLChatForbidden
TLChannel
TLChannelForbidden
Message_Data
Message
TLMessageEmpty
TLMessage
TLMessageService
MessageAction_Data
MessageAction
TLMessageActionEmpty
TLMessageActionChatCreate
TLMessageActionChatEditTitle
TLMessageActionChatEditPhoto
TLMessageActionChatDeletePhoto
TLMessageActionChatAddUser
TLMessageActionChatDeleteUser
TLMessageActionChatJoinedByLink
TLMessageActionChannelCreate
TLMessageActionChatMigrateTo
TLMessageActionChannelMigrateFrom
TLMessageActionPinMessage
TLMessageActionHistoryClear
TLMessageActionGameScore
TLMessageActionPaymentSentMe
TLMessageActionPaymentSent
TLMessageActionPhoneCall
TLMessageActionScreenshotTaken
TLMessageActionCustomAction
InputStickerSetItem_Data
InputStickerSetItem
TLInputStickerSetItem
MessageFwdHeader_Data
MessageFwdHeader
TLMessageFwdHeader
Messages_ArchivedStickers_Data
Messages_ArchivedStickers
TLMessagesArchivedStickers
LabeledPrice_Data
LabeledPrice
TLLabeledPrice
Payments_SavedInfo_Data
Payments_SavedInfo
TLPaymentsSavedInfo
Messages_Stickers_Data
Messages_Stickers
TLMessagesStickersNotModified
TLMessagesStickers
InputUser_Data
InputUser
TLInputUserEmpty
TLInputUserSelf
TLInputUser
Auth_SentCode_Data
Auth_SentCode
TLAuthSentCode
Photos_Photos_Data
Photos_Photos
TLPhotosPhotos
TLPhotosPhotosSlice
InputPrivacyRule_Data
InputPrivacyRule
TLInputPrivacyValueAllowContacts
TLInputPrivacyValueAllowAll
TLInputPrivacyValueAllowUsers
TLInputPrivacyValueDisallowContacts
TLInputPrivacyValueDisallowAll
TLInputPrivacyValueDisallowUsers
KeyboardButtonRow_Data
KeyboardButtonRow
TLKeyboardButtonRow
ChannelParticipantsFilter_Data
ChannelParticipantsFilter
TLChannelParticipantsRecent
TLChannelParticipantsAdmins
TLChannelParticipantsKicked
TLChannelParticipantsBots
TLChannelParticipantsBanned
TLChannelParticipantsSearch
Messages_PeerDialogs_Data
Messages_PeerDialogs
TLMessagesPeerDialogs
PaymentRequestedInfo_Data
PaymentRequestedInfo
TLPaymentRequestedInfo
ChatPhoto_Data
ChatPhoto
TLChatPhotoEmpty
TLChatPhoto
Auth_CheckedPhone_Data
Auth_CheckedPhone
TLAuthCheckedPhone
ReportReason_Data
ReportReason
TLInputReportReasonSpam
TLInputReportReasonViolence
TLInputReportReasonPornography
TLInputReportReasonOther
ContactLink_Data
ContactLink
TLContactLinkUnknown
TLContactLinkNone
TLContactLinkHasPhone
TLContactLinkContact
PhoneConnection_Data
PhoneConnection
TLPhoneConnection
Payments_PaymentReceipt_Data
Payments_PaymentReceipt
TLPaymentsPaymentReceipt
Dialog_Data
Dialog
TLDialog
PeerNotifySettings_Data
PeerNotifySettings
TLPeerNotifySettingsEmpty
TLPeerNotifySettings
AccountDaysTTL_Data
AccountDaysTTL
TLAccountDaysTTL
InputWebFileLocation_Data
InputWebFileLocation
TLInputWebFileLocation
ChatInvite_Data
ChatInvite
TLChatInviteAlready
TLChatInvite
Messages_MessageEditData_Data
Messages_MessageEditData
TLMessagesMessageEditData
PostAddress_Data
PostAddress
TLPostAddress
PaymentSavedCredentials_Data
PaymentSavedCredentials
TLPaymentSavedCredentialsCard
InputContact_Data
InputContact
TLInputPhoneContact
InputChatPhoto_Data
InputChatPhoto
TLInputChatPhotoEmpty
TLInputChatUploadedPhoto
TLInputChatPhoto
Messages_Messages_Data
Messages_Messages
TLMessagesMessages
TLMessagesMessagesSlice
TLMessagesChannelMessages
TLMessagesMessagesNotModified
Account_Password_Data
Account_Password
TLAccountNoPassword
TLAccountPassword
ShippingOption_Data
ShippingOption
TLShippingOption
SchemeParam_Data
SchemeParam
TLSchemeParam
SchemeMethod_Data
SchemeMethod
TLSchemeMethod
SchemeType_Data
SchemeType
TLSchemeType
Scheme_Data
Scheme
TLSchemeNotModified
TLScheme
TLInvokeAfterMsg
TLInvokeAfterMsgs
TLInitConnection
TLInvokeWithLayer
TLInvokeWithoutUpdates
TLAuthCheckPhone
TLAuthSendCode
TLAuthSendCodeLayer51
TLAuthSignUp
TLAuthSignIn
TLAuthLogOut
TLAuthResetAuthorizations
TLAuthSendInvites
TLAuthExportAuthorization
TLAuthImportAuthorization
TLAuthBindTempAuthKey
TLAuthImportBotAuthorization
TLAuthCheckPassword
TLAuthRequestPasswordRecovery
TLAuthRecoverPassword
TLAuthResendCode
TLAuthCancelCode
TLAuthDropTempAuthKeys
TLAccountRegisterDevice
TLAccountRegisterDeviceLayer74
TLAccountUnregisterDevice
TLAccountUnregisterDeviceLayer74
TLAccountUpdateNotifySettings
TLAccountGetNotifySettings
TLAccountResetNotifySettings
TLAccountUpdateProfile
TLAccountUpdateStatus
TLAccountGetWallPapers
TLAccountReportPeer
TLAccountCheckUsername
TLAccountUpdateUsername
TLAccountGetPrivacy
TLAccountSetPrivacy
TLAccountDeleteAccount
TLAccountGetAccountTTL
TLAccountSetAccountTTL
TLAccountSendChangePhoneCode
TLAccountChangePhone
TLAccountUpdateDeviceLocked
TLAccountGetAuthorizations
TLAccountResetAuthorization
TLAccountGetPassword
TLAccountGetPasswordSettings
TLAccountUpdatePasswordSettings
TLAccountSendConfirmPhoneCode
TLAccountConfirmPhone
TLAccountGetTmpPassword
TLUsersGetUsers
TLUsersGetFullUser
TLContactsGetStatuses
TLContactsGetContacts
TLContactsImportContacts
TLContactsDeleteContact
TLContactsDeleteContacts
TLContactsBlock
TLContactsUnblock
TLContactsGetBlocked
TLContactsExportCard
TLContactsImportCard
TLContactsSearch
TLContactsResolveUsername
TLContactsGetTopPeers
TLContactsResetTopPeerRating
TLContactsResetSaved
TLMessagesGetMessages
TLMessagesGetDialogs
TLMessagesGetHistory
TLMessagesGetHistoryLayer71
TLMessagesSearch
TLMessagesSearchLayer68
TLMessagesReadHistory
TLMessagesReadHistoryLayer2
TLMessagesDeleteHistory
TLMessagesDeleteMessages
TLMessagesReceivedMessages
TLMessagesSetTyping
TLMessagesSendMessage
TLMessagesSendMedia
TLMessagesForwardMessages
TLMessagesReportSpam
TLMessagesHideReportSpam
TLMessagesGetPeerSettings
TLMessagesGetChats
TLMessagesGetFullChat
TLMessagesEditChatTitle
TLMessagesEditChatPhoto
TLMessagesAddChatUser
TLMessagesDeleteChatUser
TLMessagesCreateChat
TLMessagesForwardMessage
TLMessagesGetDhConfig
TLMessagesRequestEncryption
TLMessagesAcceptEncryption
TLMessagesDiscardEncryption
TLMessagesSetEncryptedTyping
TLMessagesReadEncryptedHistory
TLMessagesSendEncrypted
TLMessagesSendEncryptedFile
TLMessagesSendEncryptedService
TLMessagesReceivedQueue
TLMessagesReportEncryptedSpam
TLMessagesReadMessageContents
TLMessagesGetAllStickers
TLMessagesGetWebPagePreview
TLMessagesExportChatInvite
TLMessagesCheckChatInvite
TLMessagesImportChatInvite
TLMessagesGetStickerSet
TLMessagesInstallStickerSet
TLMessagesUninstallStickerSet
TLMessagesStartBot
TLMessagesGetMessagesViews
TLMessagesToggleChatAdmins
TLMessagesEditChatAdmin
TLMessagesMigrateChat
TLMessagesSearchGlobal
TLMessagesReorderStickerSets
TLMessagesGetDocumentByHash
TLMessagesSearchGifs
TLMessagesGetSavedGifs
TLMessagesSaveGif
TLMessagesGetInlineBotResults
TLMessagesSetInlineBotResults
TLMessagesSendInlineBotResult
TLMessagesGetMessageEditData
TLMessagesEditMessage
TLMessagesEditInlineBotMessage
TLMessagesGetBotCallbackAnswer
TLMessagesSetBotCallbackAnswer
TLMessagesGetPeerDialogs
TLMessagesSaveDraft
TLMessagesGetAllDrafts
TLMessagesGetFeaturedStickers
TLMessagesReadFeaturedStickers
TLMessagesGetRecentStickers
TLMessagesSaveRecentSticker
TLMessagesClearRecentStickers
TLMessagesGetArchivedStickers
TLMessagesGetMaskStickers
TLMessagesGetAttachedStickers
TLMessagesSetGameScore
TLMessagesSetInlineGameScore
TLMessagesGetGameHighScores
TLMessagesGetInlineGameHighScores
TLMessagesGetCommonChats
TLMessagesGetAllChats
TLMessagesGetWebPage
TLMessagesToggleDialogPin
TLMessagesReorderPinnedDialogs
TLMessagesGetPinnedDialogs
TLMessagesSetBotShippingResults
TLMessagesSetBotPrecheckoutResults
TLMessagesUploadMedia
TLMessagesSendScreenshotNotification
TLMessagesGetFavedStickers
TLMessagesFaveSticker
TLMessagesGetUnreadMentions
TLMessagesReadMentions
TLMessagesGetRecentLocations
TLMessagesSendMultiMedia
TLMessagesUploadEncryptedFile
TLUpdatesGetState
TLUpdatesGetDifference
TLUpdatesGetChannelDifference
TLPhotosUpdateProfilePhoto
TLPhotosUploadProfilePhoto
TLPhotosDeletePhotos
TLPhotosGetUserPhotos
TLUploadSaveFilePart
TLUploadGetFile
TLUploadSaveBigFilePart
TLUploadGetWebFile
TLUploadGetCdnFile
TLUploadReuploadCdnFile
TLUploadGetCdnFileHashes
TLHelpGetConfig
TLHelpGetNearestDc
TLHelpGetAppUpdate
TLHelpGetAppUpdateLayer46
TLHelpSaveAppLog
TLHelpGetInviteText
TLHelpGetInviteTextLayer46
TLHelpGetSupport
TLHelpGetAppChangelog
TLHelpGetTermsOfService
TLHelpSetBotUpdatesStatus
TLHelpGetCdnConfig
TLHelpGetRecentMeUrls
TLChannelsReadHistory
TLChannelsDeleteMessages
TLChannelsDeleteUserHistory
TLChannelsReportSpam
TLChannelsGetMessages
TLChannelsGetParticipants
TLChannelsGetParticipant
TLChannelsGetChannels
TLChannelsGetFullChannel
TLChannelsCreateChannel
TLChannelsEditAbout
TLChannelsEditAdmin
TLChannelsEditTitle
TLChannelsEditPhoto
TLChannelsCheckUsername
TLChannelsUpdateUsername
TLChannelsJoinChannel
TLChannelsLeaveChannel
TLChannelsInviteToChannel
TLChannelsExportInvite
TLChannelsDeleteChannel
TLChannelsToggleInvites
TLChannelsExportMessageLink
TLChannelsExportMessageLinkLayer74
TLChannelsToggleSignatures
TLChannelsUpdatePinnedMessage
TLChannelsGetAdminedPublicChannels
TLChannelsEditBanned
TLChannelsGetAdminLog
TLChannelsSetStickers
TLChannelsReadMessageContents
TLChannelsDeleteHistory
TLChannelsTogglePreHistoryHidden
TLBotsSendCustomRequest
TLBotsAnswerWebhookJSONQuery
TLPaymentsGetPaymentForm
TLPaymentsGetPaymentReceipt
TLPaymentsValidateRequestedInfo
TLPaymentsSendPaymentForm
TLPaymentsGetSavedInfo
TLPaymentsClearSavedInfo
TLStickersCreateStickerSet
TLStickersRemoveStickerFromSet
TLStickersChangeStickerPosition
TLStickersAddStickerToSet
TLPhoneGetCallConfig
TLPhoneRequestCall
TLPhoneAcceptCall
TLPhoneConfirmCall
TLPhoneReceivedCall
TLPhoneDiscardCall
TLPhoneSetCallRating
TLPhoneSaveCallDebug
TLLangpackGetLangPack
TLLangpackGetStrings
TLLangpackGetDifference
TLLangpackGetLanguages
Vector_WallPaper
Vector_User
Vector_ContactStatus
VectorInt
Vector_ReceivedNotifyMessage
VectorLong
Vector_StickerSetCovered
Vector_CdnFileHash
Vector_LangPackString
Vector_LangPackLanguage
TLHelpGetScheme
FutureSalt_Data
FutureSalt
TLFutureSalt
FutureSalts_Data
FutureSalts
TLFutureSalts
NewSession_Data
NewSession
TLNewSessionCreated
RpcDropAnswer_Data
RpcDropAnswer
TLRpcAnswerUnknown
TLRpcAnswerDroppedRunning
TLRpcAnswerDropped
DestroySessionRes_Data
DestroySessionRes
TLDestroySessionOk
TLDestroySessionNone
MsgsStateReq_Data
MsgsStateReq
TLMsgsStateReq
MsgsAllInfo_Data
MsgsAllInfo
TLMsgsAllInfo
RpcError_Data
RpcError
TLRpcError
MsgsAck_Data
MsgsAck
TLMsgsAck
MsgDetailedInfo_Data
MsgDetailedInfo
TLMsgDetailedInfo
TLMsgNewDetailedInfo
Pong_Data
Pong
TLPong
HttpWait_Data
HttpWait
TLHttpWait
BadMsgNotification_Data
BadMsgNotification
TLBadMsgNotification
TLBadServerSalt
MsgsStateInfo_Data
MsgsStateInfo
TLMsgsStateInfo
MsgResendReq_Data
MsgResendReq
TLMsgResendReq
TLRpcDropAnswer
TLGetFutureSalts
TLPing
TLPingDelayDisconnect
TLDestroySession
TLContestSaveDeveloperInfo
AuthKeyMetadata
AuthKeyRequest
AuthKeyData
AuthKeyIdRequest
UserIdResponse
VoidRsp
ClientUpdatesState
ConnectToSessionServerReq
SessionServerConnectedRsp
PushUpdatesData
RpcResultData
UpdatesRequest
NewUpdatesRequest

Index

Constants

View Source
const (
	CODEC_UNKNOWN = iota
	CODEC_CONNECTED
	CODEC_req_pq
	CODEC_resPQ
	CODEC_req_DH_params
	CODEC_server_DH_params_ok
	CODEC_server_DH_params_fail
	CODEC_set_client_DH_params
	CODEC_dh_gen_ok
	CODEC_dh_gen_retry
	CODEC_dh_gen_fail
	CODEC_AUTH_KEY_OK
	CODEC_ERROR
)
View Source
const (
	FIRST1_INT32 = 0x44414548
	FIRST2_INT32 = 0x54534f50
	FIRST3_INT32 = 0x20544547
	FIRST4_INT32 = 0x20544547
	FIRST5_INT32 = 0xeeeeeeee
	SECOND_INT32 = 0x00000000
	FIRST_BYTE   = 0xef
)
View Source
const (
	QUICK_ACKID = iota
	UNENCRYPTED_MESSAGE
	ENCRYPTED_MESSAGE
)
View Source
const (
	CODEC_TYPE_CLIENT = 1 // Client端
	CODEC_TYPE_SERVER = 2 // Server端
)

客户端or服务端

View Source
const (
	MTPROTO_ABRIDGED_VERSION     = 1 // 删节版本
	MTPROTO_INTERMEDIATE_VERSION = 2 // 中间版本
	MTPROTO_FULL_VERSION         = 3 // 完整版本
	MTPROTO_APP_VERSION          = 4 // Androd等当前客户端使用版本
)

协议版本

View Source
const (
	TRANSPORT_TCP  = 1 // TCP
	TRANSPORT_HTTP = 2 // HTTP
	TRANSPORT_UDP  = 3 // UDP, @benqi: 未发现有支持UDP的客户端
)

Transport类型,不支持UDP

View Source
const (
	STATE_CONNECTED = iota
	// STATE_FIRST_BYTE		//
	// STATE_FIRST_INT32		//
	// STATE_FIRST_64BYTES		//
	STATE_DATA //
)
View Source
const (
	// Tcp Transport
	MTPROTO_ABRIDGED_FLAG     = 0xef
	MTPROTO_INTERMEDIATE_FLAG = 0xeeeeeeee

	// Http Transport
	HTTP_HEAD_FLAG   = 0x44414548
	HTTP_POST_FLAG   = 0x54534f50
	HTTP_GET_FLAG    = 0x20544547
	HTTP_OPTION_FLAG = 0x4954504f

	VAL2_FLAG = 0x00000000
)
View Source
const (
	PROTO              = 0xFF00
	PING               = 0x0100
	PONG               = 0x0200
	DROP               = 0x0300
	REDIRECT           = 0x0400
	ACK                = 0x0500
	HANDSHAKE_REQ      = 0x0600
	HANDSHAKE_RSP      = 0x0700
	MARS_SIGNAL        = 0x0800
	MESSAGE_ACK        = 0x0001
	RPC_REQUEST        = 0x000F
	RPC_OK             = 0x0010
	RPC_ERROR          = 0x0011
	RPC_FLOOD_WAIT     = 0x0012
	RPC_INTERNAL_ERROR = 0x0013
	PUSH               = 0x0014
)
View Source
const (
	STATE_ERROR = 0x0000

	STATE_CONNECTED2 = 0x0100
	STATE_HANDSHAKE  = 0x0200

	STATE_pq     = 0x0201
	STATE_pq_res = 0x0202
	STATE_pq_ack = 0x0203

	STATE_DH_params     = 0x0204
	STATE_DH_params_res = 0x0205
	STATE_DH_params_ack = 0x0206

	STATE_dh_gen     = 0x0207
	STATE_dh_gen_res = 0x0208
	STATE_dh_gen_ack = 0x0209

	STATE_AUTH_KEY = 0x0300
)
View Source
const (
	RES_STATE_NONE  = 0x00
	RES_STATE_OK    = 0x01
	RES_STATE_ERROR = 0x02
)
View Source
const (
	SESSION_HANDSHAKE             = 0x01
	SESSION_SESSION_DATA          = 0x02
	SYNC_DATA                     = 0x03
	SESSION_SESSION_CLIENT_NEW    = 0x04
	SESSION_SESSION_CLIENT_CLOSED = 0x05
)
View Source
const (
	MTPROTO_VERSION = 2
)

Variables

View Source
var SyncType_name = map[int32]string{
	0: "SYNC_TYPE_UNKNOWN",
	1: "SYNC_TYPE_USER",
	2: "SYNC_TYPE_USER_NOTME",
	3: "SYNC_TYPE_USER_ME",
	4: "SYNC_TYPE_RPC_RESULT",
	5: "SYNC_TYPE_NONE",
}
View Source
var SyncType_value = map[string]int32{
	"SYNC_TYPE_UNKNOWN":    0,
	"SYNC_TYPE_USER":       1,
	"SYNC_TYPE_USER_NOTME": 2,
	"SYNC_TYPE_USER_ME":    3,
	"SYNC_TYPE_RPC_RESULT": 4,
	"SYNC_TYPE_NONE":       5,
}
View Source
var TLConstructor_name = map[int32]string{}/* 910 elements not displayed */
View Source
var TLConstructor_value = map[string]int32{}/* 910 elements not displayed */
View Source
var TLRpcErrorCodes_name = map[int32]string{
	0:      "ERROR_CODE_OK",
	303000: "FILE_MIGRATE_X",
	303001: "PHONE_MIGRATE_X",
	303002: "NETWORK_MIGRATE_X",
	303003: "USER_MIGRATE_X",
	303:    "ERROR_SEE_OTHER",
	400000: "FIRSTNAME_INVALID",
	400001: "LASTNAME_INVALID",
	400002: "PHONE_NUMBER_INVALID",
	400003: "PHONE_CODE_HASH_EMPTY",
	400004: "PHONE_CODE_EMPTY",
	400005: "PHONE_CODE_EXPIRED",
	400006: "API_ID_INVALID",
	400007: "PHONE_NUMBER_OCCUPIED",
	400008: "PHONE_NUMBER_UNOCCUPIED",
	400009: "USERS_TOO_FEW",
	400010: "USERS_TOO_MUCH",
	400011: "TYPE_CONSTRUCTOR_INVALID",
	400012: "FILE_PART_INVALID",
	400013: "FILE_PART_X_MISSING",
	400014: "MD5_CHECKSUM_INVALID",
	400015: "PHOTO_INVALID_DIMENSIONS",
	400016: "FIELD_NAME_INVALID",
	400017: "FIELD_NAME_EMPTY",
	400018: "MSG_WAIT_FAILED",
	400019: "PARTICIPANT_VERSION_OUTDATED",
	400020: "PHONE_CODE_INVALID",
	400030: "PHONE_NUMBER_BANNED",
	400040: "SESSION_PASSWORD_NEEDED",
	400050: "CODE_INVALID",
	400051: "PASSWORD_HASH_INVALID",
	400052: "NEW_PASSWORD_BAD",
	400053: "NEW_SALT_INVALID",
	400054: "EMAIL_INVALID",
	400055: "EMAIL_UNCONFIRMED",
	400060: "USERNAME_INVALID",
	400061: "USERNAME_OCCUPIED",
	400062: "USERNAMES_UNAVAILABLE",
	400070: "CHAT_ID_INVALID",
	400071: "CHAT_NOT_MODIFIED",
	400072: "PARTICIPANT_NOT_EXISTS",
	400073: "NO_EDIT_CHAT_PERMISSION",
	400:    "BAD_REQUEST",
	401000: "AUTH_KEY_UNREGISTERED",
	401001: "AUTH_KEY_INVALID",
	401002: "USER_DEACTIVATED",
	401003: "SESSION_REVOKED",
	401004: "SESSION_EXPIRED",
	401005: "ACTIVE_USER_REQUIRED",
	401006: "AUTH_KEY_PERM_EMPTY",
	401:    "UNAUTHORIZED",
	403000: "USER_PRIVACY_RESTRICTED",
	403:    "FORBIDDEN",
	406000: "ERROR_LOCALIZED",
	406:    "LOCALIZED",
	420000: "FLOOD_WAIT_X",
	420:    "FLOOD",
	500:    "INTERNAL",
	500000: "INTERNAL_SERVER_ERROR",
	501:    "OTHER",
	502:    "OTHER2",
	600:    "DBERR",
	600000: "DBERR_SQL",
	600001: "DBERR_CONN",
	700:    "NOTRETURN_CLIENT",
}
View Source
var TLRpcErrorCodes_value = map[string]int32{
	"ERROR_CODE_OK":                0,
	"FILE_MIGRATE_X":               303000,
	"PHONE_MIGRATE_X":              303001,
	"NETWORK_MIGRATE_X":            303002,
	"USER_MIGRATE_X":               303003,
	"ERROR_SEE_OTHER":              303,
	"FIRSTNAME_INVALID":            400000,
	"LASTNAME_INVALID":             400001,
	"PHONE_NUMBER_INVALID":         400002,
	"PHONE_CODE_HASH_EMPTY":        400003,
	"PHONE_CODE_EMPTY":             400004,
	"PHONE_CODE_EXPIRED":           400005,
	"API_ID_INVALID":               400006,
	"PHONE_NUMBER_OCCUPIED":        400007,
	"PHONE_NUMBER_UNOCCUPIED":      400008,
	"USERS_TOO_FEW":                400009,
	"USERS_TOO_MUCH":               400010,
	"TYPE_CONSTRUCTOR_INVALID":     400011,
	"FILE_PART_INVALID":            400012,
	"FILE_PART_X_MISSING":          400013,
	"MD5_CHECKSUM_INVALID":         400014,
	"PHOTO_INVALID_DIMENSIONS":     400015,
	"FIELD_NAME_INVALID":           400016,
	"FIELD_NAME_EMPTY":             400017,
	"MSG_WAIT_FAILED":              400018,
	"PARTICIPANT_VERSION_OUTDATED": 400019,
	"PHONE_CODE_INVALID":           400020,
	"PHONE_NUMBER_BANNED":          400030,
	"SESSION_PASSWORD_NEEDED":      400040,
	"CODE_INVALID":                 400050,
	"PASSWORD_HASH_INVALID":        400051,
	"NEW_PASSWORD_BAD":             400052,
	"NEW_SALT_INVALID":             400053,
	"EMAIL_INVALID":                400054,
	"EMAIL_UNCONFIRMED":            400055,
	"USERNAME_INVALID":             400060,
	"USERNAME_OCCUPIED":            400061,
	"USERNAMES_UNAVAILABLE":        400062,
	"CHAT_ID_INVALID":              400070,
	"CHAT_NOT_MODIFIED":            400071,
	"PARTICIPANT_NOT_EXISTS":       400072,
	"NO_EDIT_CHAT_PERMISSION":      400073,
	"BAD_REQUEST":                  400,
	"AUTH_KEY_UNREGISTERED":        401000,
	"AUTH_KEY_INVALID":             401001,
	"USER_DEACTIVATED":             401002,
	"SESSION_REVOKED":              401003,
	"SESSION_EXPIRED":              401004,
	"ACTIVE_USER_REQUIRED":         401005,
	"AUTH_KEY_PERM_EMPTY":          401006,
	"UNAUTHORIZED":                 401,
	"USER_PRIVACY_RESTRICTED":      403000,
	"FORBIDDEN":                    403,
	"ERROR_LOCALIZED":              406000,
	"LOCALIZED":                    406,
	"FLOOD_WAIT_X":                 420000,
	"FLOOD":                        420,
	"INTERNAL":                     500,
	"INTERNAL_SERVER_ERROR":        500000,
	"OTHER":                        501,
	"OTHER2":                       502,
	"DBERR":                        600,
	"DBERR_SQL":                    600000,
	"DBERR_CONN":                   600001,
	"NOTRETURN_CLIENT":             700,
}

Functions

func CheckPackageType

func CheckPackageType(packageType uint32) (r bool)

func FromBool

func FromBool(b *Bool) bool

func GenerateMessageId

func GenerateMessageId() int64

func NewZProtoMessage

func NewZProtoMessage(packageType uint32) net2.MessageBase

func RegisterRPCAccountServer

func RegisterRPCAccountServer(s *grpc.Server, srv RPCAccountServer)

func RegisterRPCAuthKeyServer

func RegisterRPCAuthKeyServer(s *grpc.Server, srv RPCAuthKeyServer)

func RegisterRPCAuthServer

func RegisterRPCAuthServer(s *grpc.Server, srv RPCAuthServer)

func RegisterRPCBotsServer

func RegisterRPCBotsServer(s *grpc.Server, srv RPCBotsServer)

func RegisterRPCChannelsServer

func RegisterRPCChannelsServer(s *grpc.Server, srv RPCChannelsServer)

func RegisterRPCContactsServer

func RegisterRPCContactsServer(s *grpc.Server, srv RPCContactsServer)

func RegisterRPCHelpServer

func RegisterRPCHelpServer(s *grpc.Server, srv RPCHelpServer)

func RegisterRPCLangpackServer

func RegisterRPCLangpackServer(s *grpc.Server, srv RPCLangpackServer)

func RegisterRPCMessagesServer

func RegisterRPCMessagesServer(s *grpc.Server, srv RPCMessagesServer)

func RegisterRPCNbfsServer

func RegisterRPCNbfsServer(s *grpc.Server, srv RPCNbfsServer)

func RegisterRPCPaymentsServer

func RegisterRPCPaymentsServer(s *grpc.Server, srv RPCPaymentsServer)

func RegisterRPCPhoneServer

func RegisterRPCPhoneServer(s *grpc.Server, srv RPCPhoneServer)

func RegisterRPCPhotosServer

func RegisterRPCPhotosServer(s *grpc.Server, srv RPCPhotosServer)

func RegisterRPCStickersServer

func RegisterRPCStickersServer(s *grpc.Server, srv RPCStickersServer)

func RegisterRPCSyncServer

func RegisterRPCSyncServer(s *grpc.Server, srv RPCSyncServer)

func RegisterRPCUpdatesServer

func RegisterRPCUpdatesServer(s *grpc.Server, srv RPCUpdatesServer)

func RegisterRPCUploadServer

func RegisterRPCUploadServer(s *grpc.Server, srv RPCUploadServer)

func RegisterRPCUsersServer

func RegisterRPCUsersServer(s *grpc.Server, srv RPCUsersServer)

func RegisterZRPCAuthKeyServer

func RegisterZRPCAuthKeyServer(s *grpc.Server, srv ZRPCAuthKeyServer)

Types

type AccountDaysTTL

type AccountDaysTTL struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *AccountDaysTTL_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*AccountDaysTTL) Decode

func (m *AccountDaysTTL) Decode(dbuf *DecodeBuf) error

func (*AccountDaysTTL) Descriptor

func (*AccountDaysTTL) Descriptor() ([]byte, []int)

func (*AccountDaysTTL) Encode

func (m *AccountDaysTTL) Encode() []byte

func (*AccountDaysTTL) GetConstructor

func (m *AccountDaysTTL) GetConstructor() TLConstructor

func (*AccountDaysTTL) GetData2

func (m *AccountDaysTTL) GetData2() *AccountDaysTTL_Data

func (*AccountDaysTTL) ProtoMessage

func (*AccountDaysTTL) ProtoMessage()

func (*AccountDaysTTL) Reset

func (m *AccountDaysTTL) Reset()

func (*AccountDaysTTL) String

func (m *AccountDaysTTL) String() string

func (*AccountDaysTTL) To_AccountDaysTTL

func (m *AccountDaysTTL) To_AccountDaysTTL() *TLAccountDaysTTL

accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;

type AccountDaysTTL_Data

type AccountDaysTTL_Data struct {
	Days int32 `protobuf:"varint,1,opt,name=days" json:"days,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// AccountDaysTTL <--

  • TL_accountDaysTTL

func (*AccountDaysTTL_Data) Descriptor

func (*AccountDaysTTL_Data) Descriptor() ([]byte, []int)

func (*AccountDaysTTL_Data) GetDays

func (m *AccountDaysTTL_Data) GetDays() int32

func (*AccountDaysTTL_Data) ProtoMessage

func (*AccountDaysTTL_Data) ProtoMessage()

func (*AccountDaysTTL_Data) Reset

func (m *AccountDaysTTL_Data) Reset()

func (*AccountDaysTTL_Data) String

func (m *AccountDaysTTL_Data) String() string

type Account_Authorizations

type Account_Authorizations struct {
	Constructor TLConstructor                `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_Authorizations_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_Authorizations) Decode

func (m *Account_Authorizations) Decode(dbuf *DecodeBuf) error

func (*Account_Authorizations) Descriptor

func (*Account_Authorizations) Descriptor() ([]byte, []int)

func (*Account_Authorizations) Encode

func (m *Account_Authorizations) Encode() []byte

func (*Account_Authorizations) GetConstructor

func (m *Account_Authorizations) GetConstructor() TLConstructor

func (*Account_Authorizations) GetData2

func (*Account_Authorizations) ProtoMessage

func (*Account_Authorizations) ProtoMessage()

func (*Account_Authorizations) Reset

func (m *Account_Authorizations) Reset()

func (*Account_Authorizations) String

func (m *Account_Authorizations) String() string

func (*Account_Authorizations) To_AccountAuthorizations

func (m *Account_Authorizations) To_AccountAuthorizations() *TLAccountAuthorizations

account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;

type Account_Authorizations_Data

type Account_Authorizations_Data struct {
	Authorizations []*Authorization `protobuf:"bytes,1,rep,name=authorizations" json:"authorizations,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_Authorizations <--

  • TL_account_authorizations

func (*Account_Authorizations_Data) Descriptor

func (*Account_Authorizations_Data) Descriptor() ([]byte, []int)

func (*Account_Authorizations_Data) GetAuthorizations

func (m *Account_Authorizations_Data) GetAuthorizations() []*Authorization

func (*Account_Authorizations_Data) ProtoMessage

func (*Account_Authorizations_Data) ProtoMessage()

func (*Account_Authorizations_Data) Reset

func (m *Account_Authorizations_Data) Reset()

func (*Account_Authorizations_Data) String

func (m *Account_Authorizations_Data) String() string

type Account_Password

type Account_Password struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_Password_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_Password) Decode

func (m *Account_Password) Decode(dbuf *DecodeBuf) error

func (*Account_Password) Descriptor

func (*Account_Password) Descriptor() ([]byte, []int)

func (*Account_Password) Encode

func (m *Account_Password) Encode() []byte

func (*Account_Password) GetConstructor

func (m *Account_Password) GetConstructor() TLConstructor

func (*Account_Password) GetData2

func (m *Account_Password) GetData2() *Account_Password_Data

func (*Account_Password) ProtoMessage

func (*Account_Password) ProtoMessage()

func (*Account_Password) Reset

func (m *Account_Password) Reset()

func (*Account_Password) String

func (m *Account_Password) String() string

func (*Account_Password) To_AccountNoPassword

func (m *Account_Password) To_AccountNoPassword() *TLAccountNoPassword

account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;

func (*Account_Password) To_AccountPassword

func (m *Account_Password) To_AccountPassword() *TLAccountPassword

account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;

type Account_PasswordInputSettings

type Account_PasswordInputSettings struct {
	Constructor TLConstructor                       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_PasswordInputSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_PasswordInputSettings) Decode

func (*Account_PasswordInputSettings) Descriptor

func (*Account_PasswordInputSettings) Descriptor() ([]byte, []int)

func (*Account_PasswordInputSettings) Encode

func (m *Account_PasswordInputSettings) Encode() []byte

func (*Account_PasswordInputSettings) GetConstructor

func (m *Account_PasswordInputSettings) GetConstructor() TLConstructor

func (*Account_PasswordInputSettings) GetData2

func (*Account_PasswordInputSettings) ProtoMessage

func (*Account_PasswordInputSettings) ProtoMessage()

func (*Account_PasswordInputSettings) Reset

func (m *Account_PasswordInputSettings) Reset()

func (*Account_PasswordInputSettings) String

func (*Account_PasswordInputSettings) To_AccountPasswordInputSettings

func (m *Account_PasswordInputSettings) To_AccountPasswordInputSettings() *TLAccountPasswordInputSettings

account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;

type Account_PasswordInputSettings_Data

type Account_PasswordInputSettings_Data struct {
	NewSalt         []byte `protobuf:"bytes,1,opt,name=new_salt,json=newSalt,proto3" json:"new_salt,omitempty"`
	NewPasswordHash []byte `protobuf:"bytes,2,opt,name=new_password_hash,json=newPasswordHash,proto3" json:"new_password_hash,omitempty"`
	Hint            string `protobuf:"bytes,3,opt,name=hint" json:"hint,omitempty"`
	Email           string `protobuf:"bytes,4,opt,name=email" json:"email,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_PasswordInputSettings <--

  • TL_account_passwordInputSettings

func (*Account_PasswordInputSettings_Data) Descriptor

func (*Account_PasswordInputSettings_Data) Descriptor() ([]byte, []int)

func (*Account_PasswordInputSettings_Data) GetEmail

func (*Account_PasswordInputSettings_Data) GetHint

func (*Account_PasswordInputSettings_Data) GetNewPasswordHash

func (m *Account_PasswordInputSettings_Data) GetNewPasswordHash() []byte

func (*Account_PasswordInputSettings_Data) GetNewSalt

func (m *Account_PasswordInputSettings_Data) GetNewSalt() []byte

func (*Account_PasswordInputSettings_Data) ProtoMessage

func (*Account_PasswordInputSettings_Data) ProtoMessage()

func (*Account_PasswordInputSettings_Data) Reset

func (*Account_PasswordInputSettings_Data) String

type Account_PasswordSettings

type Account_PasswordSettings struct {
	Constructor TLConstructor                  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_PasswordSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_PasswordSettings) Decode

func (m *Account_PasswordSettings) Decode(dbuf *DecodeBuf) error

func (*Account_PasswordSettings) Descriptor

func (*Account_PasswordSettings) Descriptor() ([]byte, []int)

func (*Account_PasswordSettings) Encode

func (m *Account_PasswordSettings) Encode() []byte

func (*Account_PasswordSettings) GetConstructor

func (m *Account_PasswordSettings) GetConstructor() TLConstructor

func (*Account_PasswordSettings) GetData2

func (*Account_PasswordSettings) ProtoMessage

func (*Account_PasswordSettings) ProtoMessage()

func (*Account_PasswordSettings) Reset

func (m *Account_PasswordSettings) Reset()

func (*Account_PasswordSettings) String

func (m *Account_PasswordSettings) String() string

func (*Account_PasswordSettings) To_AccountPasswordSettings

func (m *Account_PasswordSettings) To_AccountPasswordSettings() *TLAccountPasswordSettings

account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;

type Account_PasswordSettings_Data

type Account_PasswordSettings_Data struct {
	Email string `protobuf:"bytes,1,opt,name=email" json:"email,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_PasswordSettings <--

  • TL_account_passwordSettings

func (*Account_PasswordSettings_Data) Descriptor

func (*Account_PasswordSettings_Data) Descriptor() ([]byte, []int)

func (*Account_PasswordSettings_Data) GetEmail

func (m *Account_PasswordSettings_Data) GetEmail() string

func (*Account_PasswordSettings_Data) ProtoMessage

func (*Account_PasswordSettings_Data) ProtoMessage()

func (*Account_PasswordSettings_Data) Reset

func (m *Account_PasswordSettings_Data) Reset()

func (*Account_PasswordSettings_Data) String

type Account_Password_Data

type Account_Password_Data struct {
	NewSalt                 []byte `protobuf:"bytes,1,opt,name=new_salt,json=newSalt,proto3" json:"new_salt,omitempty"`
	EmailUnconfirmedPattern string `protobuf:"bytes,2,opt,name=email_unconfirmed_pattern,json=emailUnconfirmedPattern" json:"email_unconfirmed_pattern,omitempty"`
	CurrentSalt             []byte `protobuf:"bytes,3,opt,name=current_salt,json=currentSalt,proto3" json:"current_salt,omitempty"`
	Hint                    string `protobuf:"bytes,4,opt,name=hint" json:"hint,omitempty"`
	HasRecovery             *Bool  `protobuf:"bytes,5,opt,name=has_recovery,json=hasRecovery" json:"has_recovery,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_Password <--

  • TL_account_noPassword
  • TL_account_password

func (*Account_Password_Data) Descriptor

func (*Account_Password_Data) Descriptor() ([]byte, []int)

func (*Account_Password_Data) GetCurrentSalt

func (m *Account_Password_Data) GetCurrentSalt() []byte

func (*Account_Password_Data) GetEmailUnconfirmedPattern

func (m *Account_Password_Data) GetEmailUnconfirmedPattern() string

func (*Account_Password_Data) GetHasRecovery

func (m *Account_Password_Data) GetHasRecovery() *Bool

func (*Account_Password_Data) GetHint

func (m *Account_Password_Data) GetHint() string

func (*Account_Password_Data) GetNewSalt

func (m *Account_Password_Data) GetNewSalt() []byte

func (*Account_Password_Data) ProtoMessage

func (*Account_Password_Data) ProtoMessage()

func (*Account_Password_Data) Reset

func (m *Account_Password_Data) Reset()

func (*Account_Password_Data) String

func (m *Account_Password_Data) String() string

type Account_PrivacyRules

type Account_PrivacyRules struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_PrivacyRules_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_PrivacyRules) Decode

func (m *Account_PrivacyRules) Decode(dbuf *DecodeBuf) error

func (*Account_PrivacyRules) Descriptor

func (*Account_PrivacyRules) Descriptor() ([]byte, []int)

func (*Account_PrivacyRules) Encode

func (m *Account_PrivacyRules) Encode() []byte

func (*Account_PrivacyRules) GetConstructor

func (m *Account_PrivacyRules) GetConstructor() TLConstructor

func (*Account_PrivacyRules) GetData2

func (*Account_PrivacyRules) ProtoMessage

func (*Account_PrivacyRules) ProtoMessage()

func (*Account_PrivacyRules) Reset

func (m *Account_PrivacyRules) Reset()

func (*Account_PrivacyRules) String

func (m *Account_PrivacyRules) String() string

func (*Account_PrivacyRules) To_AccountPrivacyRules

func (m *Account_PrivacyRules) To_AccountPrivacyRules() *TLAccountPrivacyRules

account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;

type Account_PrivacyRules_Data

type Account_PrivacyRules_Data struct {
	Rules []*PrivacyRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
	Users []*User        `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_PrivacyRules <--

  • TL_account_privacyRules

func (*Account_PrivacyRules_Data) Descriptor

func (*Account_PrivacyRules_Data) Descriptor() ([]byte, []int)

func (*Account_PrivacyRules_Data) GetRules

func (m *Account_PrivacyRules_Data) GetRules() []*PrivacyRule

func (*Account_PrivacyRules_Data) GetUsers

func (m *Account_PrivacyRules_Data) GetUsers() []*User

func (*Account_PrivacyRules_Data) ProtoMessage

func (*Account_PrivacyRules_Data) ProtoMessage()

func (*Account_PrivacyRules_Data) Reset

func (m *Account_PrivacyRules_Data) Reset()

func (*Account_PrivacyRules_Data) String

func (m *Account_PrivacyRules_Data) String() string

type Account_TmpPassword

type Account_TmpPassword struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Account_TmpPassword_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Account_TmpPassword) Decode

func (m *Account_TmpPassword) Decode(dbuf *DecodeBuf) error

func (*Account_TmpPassword) Descriptor

func (*Account_TmpPassword) Descriptor() ([]byte, []int)

func (*Account_TmpPassword) Encode

func (m *Account_TmpPassword) Encode() []byte

func (*Account_TmpPassword) GetConstructor

func (m *Account_TmpPassword) GetConstructor() TLConstructor

func (*Account_TmpPassword) GetData2

func (*Account_TmpPassword) ProtoMessage

func (*Account_TmpPassword) ProtoMessage()

func (*Account_TmpPassword) Reset

func (m *Account_TmpPassword) Reset()

func (*Account_TmpPassword) String

func (m *Account_TmpPassword) String() string

func (*Account_TmpPassword) To_AccountTmpPassword

func (m *Account_TmpPassword) To_AccountTmpPassword() *TLAccountTmpPassword

account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;

type Account_TmpPassword_Data

type Account_TmpPassword_Data struct {
	TmpPassword []byte `protobuf:"bytes,1,opt,name=tmp_password,json=tmpPassword,proto3" json:"tmp_password,omitempty"`
	ValidUntil  int32  `protobuf:"varint,2,opt,name=valid_until,json=validUntil" json:"valid_until,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account_TmpPassword <--

  • TL_account_tmpPassword

func (*Account_TmpPassword_Data) Descriptor

func (*Account_TmpPassword_Data) Descriptor() ([]byte, []int)

func (*Account_TmpPassword_Data) GetTmpPassword

func (m *Account_TmpPassword_Data) GetTmpPassword() []byte

func (*Account_TmpPassword_Data) GetValidUntil

func (m *Account_TmpPassword_Data) GetValidUntil() int32

func (*Account_TmpPassword_Data) ProtoMessage

func (*Account_TmpPassword_Data) ProtoMessage()

func (*Account_TmpPassword_Data) Reset

func (m *Account_TmpPassword_Data) Reset()

func (*Account_TmpPassword_Data) String

func (m *Account_TmpPassword_Data) String() string

type AesCTR128Stream

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

func (*AesCTR128Stream) Read

func (this *AesCTR128Stream) Read(p []byte) (int, error)

func (*AesCTR128Stream) Write

func (this *AesCTR128Stream) Write(p []byte) (int, error)

type AuthKeyData

type AuthKeyData struct {
	Result    int32  `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
	AuthKeyId int64  `protobuf:"varint,2,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	AuthKey   []byte `protobuf:"bytes,3,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
}

func (*AuthKeyData) Descriptor

func (*AuthKeyData) Descriptor() ([]byte, []int)

func (*AuthKeyData) GetAuthKey

func (m *AuthKeyData) GetAuthKey() []byte

func (*AuthKeyData) GetAuthKeyId

func (m *AuthKeyData) GetAuthKeyId() int64

func (*AuthKeyData) GetResult

func (m *AuthKeyData) GetResult() int32

func (*AuthKeyData) ProtoMessage

func (*AuthKeyData) ProtoMessage()

func (*AuthKeyData) Reset

func (m *AuthKeyData) Reset()

func (*AuthKeyData) String

func (m *AuthKeyData) String() string

type AuthKeyIdRequest

type AuthKeyIdRequest struct {
	AuthKeyId int64 `protobuf:"varint,1,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
}

TODO(@benqi): remove to biz_auth service

func (*AuthKeyIdRequest) Descriptor

func (*AuthKeyIdRequest) Descriptor() ([]byte, []int)

func (*AuthKeyIdRequest) GetAuthKeyId

func (m *AuthKeyIdRequest) GetAuthKeyId() int64

func (*AuthKeyIdRequest) ProtoMessage

func (*AuthKeyIdRequest) ProtoMessage()

func (*AuthKeyIdRequest) Reset

func (m *AuthKeyIdRequest) Reset()

func (*AuthKeyIdRequest) String

func (m *AuthKeyIdRequest) String() string

type AuthKeyMetadata

type AuthKeyMetadata struct {
	Nonce       []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	NewNonce    []byte `protobuf:"bytes,3,opt,name=new_nonce,json=newNonce,proto3" json:"new_nonce,omitempty"`
	A           []byte `protobuf:"bytes,4,opt,name=a,proto3" json:"a,omitempty"`
	P           []byte `protobuf:"bytes,5,opt,name=p,proto3" json:"p,omitempty"`
	AuthKeyId   int64  `protobuf:"varint,6,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	AuthKey     []byte `protobuf:"bytes,7,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
}

func (*AuthKeyMetadata) Descriptor

func (*AuthKeyMetadata) Descriptor() ([]byte, []int)

func (*AuthKeyMetadata) GetA

func (m *AuthKeyMetadata) GetA() []byte

func (*AuthKeyMetadata) GetAuthKey

func (m *AuthKeyMetadata) GetAuthKey() []byte

func (*AuthKeyMetadata) GetAuthKeyId

func (m *AuthKeyMetadata) GetAuthKeyId() int64

func (*AuthKeyMetadata) GetNewNonce

func (m *AuthKeyMetadata) GetNewNonce() []byte

func (*AuthKeyMetadata) GetNonce

func (m *AuthKeyMetadata) GetNonce() []byte

func (*AuthKeyMetadata) GetP

func (m *AuthKeyMetadata) GetP() []byte

func (*AuthKeyMetadata) GetServerNonce

func (m *AuthKeyMetadata) GetServerNonce() []byte

func (*AuthKeyMetadata) ProtoMessage

func (*AuthKeyMetadata) ProtoMessage()

func (*AuthKeyMetadata) Reset

func (m *AuthKeyMetadata) Reset()

func (*AuthKeyMetadata) String

func (m *AuthKeyMetadata) String() string

type AuthKeyRequest

type AuthKeyRequest struct {
	AuthKeyId int64 `protobuf:"varint,1,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
}

func (*AuthKeyRequest) Descriptor

func (*AuthKeyRequest) Descriptor() ([]byte, []int)

func (*AuthKeyRequest) GetAuthKeyId

func (m *AuthKeyRequest) GetAuthKeyId() int64

func (*AuthKeyRequest) ProtoMessage

func (*AuthKeyRequest) ProtoMessage()

func (*AuthKeyRequest) Reset

func (m *AuthKeyRequest) Reset()

func (*AuthKeyRequest) String

func (m *AuthKeyRequest) String() string

type AuthKeyStorager

type AuthKeyStorager interface {
	GetAuthKey(int64) []byte
}

type Auth_Authorization

type Auth_Authorization struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_Authorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_Authorization) Decode

func (m *Auth_Authorization) Decode(dbuf *DecodeBuf) error

func (*Auth_Authorization) Descriptor

func (*Auth_Authorization) Descriptor() ([]byte, []int)

func (*Auth_Authorization) Encode

func (m *Auth_Authorization) Encode() []byte

func (*Auth_Authorization) GetConstructor

func (m *Auth_Authorization) GetConstructor() TLConstructor

func (*Auth_Authorization) GetData2

func (*Auth_Authorization) ProtoMessage

func (*Auth_Authorization) ProtoMessage()

func (*Auth_Authorization) Reset

func (m *Auth_Authorization) Reset()

func (*Auth_Authorization) String

func (m *Auth_Authorization) String() string

func (*Auth_Authorization) To_AuthAuthorization

func (m *Auth_Authorization) To_AuthAuthorization() *TLAuthAuthorization

auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;

type Auth_Authorization_Data

type Auth_Authorization_Data struct {
	TmpSessions int32 `protobuf:"varint,1,opt,name=tmp_sessions,json=tmpSessions" json:"tmp_sessions,omitempty"`
	User        *User `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_Authorization <--

  • TL_auth_authorization

func (*Auth_Authorization_Data) Descriptor

func (*Auth_Authorization_Data) Descriptor() ([]byte, []int)

func (*Auth_Authorization_Data) GetTmpSessions

func (m *Auth_Authorization_Data) GetTmpSessions() int32

func (*Auth_Authorization_Data) GetUser

func (m *Auth_Authorization_Data) GetUser() *User

func (*Auth_Authorization_Data) ProtoMessage

func (*Auth_Authorization_Data) ProtoMessage()

func (*Auth_Authorization_Data) Reset

func (m *Auth_Authorization_Data) Reset()

func (*Auth_Authorization_Data) String

func (m *Auth_Authorization_Data) String() string

type Auth_CheckedPhone

type Auth_CheckedPhone struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_CheckedPhone_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_CheckedPhone) Decode

func (m *Auth_CheckedPhone) Decode(dbuf *DecodeBuf) error

func (*Auth_CheckedPhone) Descriptor

func (*Auth_CheckedPhone) Descriptor() ([]byte, []int)

func (*Auth_CheckedPhone) Encode

func (m *Auth_CheckedPhone) Encode() []byte

func (*Auth_CheckedPhone) GetConstructor

func (m *Auth_CheckedPhone) GetConstructor() TLConstructor

func (*Auth_CheckedPhone) GetData2

func (*Auth_CheckedPhone) ProtoMessage

func (*Auth_CheckedPhone) ProtoMessage()

func (*Auth_CheckedPhone) Reset

func (m *Auth_CheckedPhone) Reset()

func (*Auth_CheckedPhone) String

func (m *Auth_CheckedPhone) String() string

func (*Auth_CheckedPhone) To_AuthCheckedPhone

func (m *Auth_CheckedPhone) To_AuthCheckedPhone() *TLAuthCheckedPhone

auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;

type Auth_CheckedPhone_Data

type Auth_CheckedPhone_Data struct {
	PhoneRegistered *Bool `protobuf:"bytes,1,opt,name=phone_registered,json=phoneRegistered" json:"phone_registered,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_CheckedPhone <--

  • TL_auth_checkedPhone

func (*Auth_CheckedPhone_Data) Descriptor

func (*Auth_CheckedPhone_Data) Descriptor() ([]byte, []int)

func (*Auth_CheckedPhone_Data) GetPhoneRegistered

func (m *Auth_CheckedPhone_Data) GetPhoneRegistered() *Bool

func (*Auth_CheckedPhone_Data) ProtoMessage

func (*Auth_CheckedPhone_Data) ProtoMessage()

func (*Auth_CheckedPhone_Data) Reset

func (m *Auth_CheckedPhone_Data) Reset()

func (*Auth_CheckedPhone_Data) String

func (m *Auth_CheckedPhone_Data) String() string

type Auth_CodeType

type Auth_CodeType struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_CodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_CodeType) Decode

func (m *Auth_CodeType) Decode(dbuf *DecodeBuf) error

func (*Auth_CodeType) Descriptor

func (*Auth_CodeType) Descriptor() ([]byte, []int)

func (*Auth_CodeType) Encode

func (m *Auth_CodeType) Encode() []byte

func (*Auth_CodeType) GetConstructor

func (m *Auth_CodeType) GetConstructor() TLConstructor

func (*Auth_CodeType) GetData2

func (m *Auth_CodeType) GetData2() *Auth_CodeType_Data

func (*Auth_CodeType) ProtoMessage

func (*Auth_CodeType) ProtoMessage()

func (*Auth_CodeType) Reset

func (m *Auth_CodeType) Reset()

func (*Auth_CodeType) String

func (m *Auth_CodeType) String() string

func (*Auth_CodeType) To_AuthCodeTypeCall

func (m *Auth_CodeType) To_AuthCodeTypeCall() *TLAuthCodeTypeCall

auth.codeTypeCall#741cd3e3 = auth.CodeType;

func (*Auth_CodeType) To_AuthCodeTypeFlashCall

func (m *Auth_CodeType) To_AuthCodeTypeFlashCall() *TLAuthCodeTypeFlashCall

auth.codeTypeFlashCall#226ccefb = auth.CodeType;

func (*Auth_CodeType) To_AuthCodeTypeSms

func (m *Auth_CodeType) To_AuthCodeTypeSms() *TLAuthCodeTypeSms

auth.codeTypeSms#72a3158c = auth.CodeType;

type Auth_CodeType_Data

type Auth_CodeType_Data struct {
}

///////////////////////////////////////////////////////////////////////////// auth_CodeType <--

  • TL_auth_codeTypeSms
  • TL_auth_codeTypeCall
  • TL_auth_codeTypeFlashCall

func (*Auth_CodeType_Data) Descriptor

func (*Auth_CodeType_Data) Descriptor() ([]byte, []int)

func (*Auth_CodeType_Data) ProtoMessage

func (*Auth_CodeType_Data) ProtoMessage()

func (*Auth_CodeType_Data) Reset

func (m *Auth_CodeType_Data) Reset()

func (*Auth_CodeType_Data) String

func (m *Auth_CodeType_Data) String() string

type Auth_ExportedAuthorization

type Auth_ExportedAuthorization struct {
	Constructor TLConstructor                    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_ExportedAuthorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_ExportedAuthorization) Decode

func (m *Auth_ExportedAuthorization) Decode(dbuf *DecodeBuf) error

func (*Auth_ExportedAuthorization) Descriptor

func (*Auth_ExportedAuthorization) Descriptor() ([]byte, []int)

func (*Auth_ExportedAuthorization) Encode

func (m *Auth_ExportedAuthorization) Encode() []byte

func (*Auth_ExportedAuthorization) GetConstructor

func (m *Auth_ExportedAuthorization) GetConstructor() TLConstructor

func (*Auth_ExportedAuthorization) GetData2

func (*Auth_ExportedAuthorization) ProtoMessage

func (*Auth_ExportedAuthorization) ProtoMessage()

func (*Auth_ExportedAuthorization) Reset

func (m *Auth_ExportedAuthorization) Reset()

func (*Auth_ExportedAuthorization) String

func (m *Auth_ExportedAuthorization) String() string

func (*Auth_ExportedAuthorization) To_AuthExportedAuthorization

func (m *Auth_ExportedAuthorization) To_AuthExportedAuthorization() *TLAuthExportedAuthorization

auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization;

type Auth_ExportedAuthorization_Data

type Auth_ExportedAuthorization_Data struct {
	Id    int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_ExportedAuthorization <--

  • TL_auth_exportedAuthorization

func (*Auth_ExportedAuthorization_Data) Descriptor

func (*Auth_ExportedAuthorization_Data) Descriptor() ([]byte, []int)

func (*Auth_ExportedAuthorization_Data) GetBytes

func (m *Auth_ExportedAuthorization_Data) GetBytes() []byte

func (*Auth_ExportedAuthorization_Data) GetId

func (*Auth_ExportedAuthorization_Data) ProtoMessage

func (*Auth_ExportedAuthorization_Data) ProtoMessage()

func (*Auth_ExportedAuthorization_Data) Reset

func (*Auth_ExportedAuthorization_Data) String

type Auth_PasswordRecovery

type Auth_PasswordRecovery struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_PasswordRecovery_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_PasswordRecovery) Decode

func (m *Auth_PasswordRecovery) Decode(dbuf *DecodeBuf) error

func (*Auth_PasswordRecovery) Descriptor

func (*Auth_PasswordRecovery) Descriptor() ([]byte, []int)

func (*Auth_PasswordRecovery) Encode

func (m *Auth_PasswordRecovery) Encode() []byte

func (*Auth_PasswordRecovery) GetConstructor

func (m *Auth_PasswordRecovery) GetConstructor() TLConstructor

func (*Auth_PasswordRecovery) GetData2

func (*Auth_PasswordRecovery) ProtoMessage

func (*Auth_PasswordRecovery) ProtoMessage()

func (*Auth_PasswordRecovery) Reset

func (m *Auth_PasswordRecovery) Reset()

func (*Auth_PasswordRecovery) String

func (m *Auth_PasswordRecovery) String() string

func (*Auth_PasswordRecovery) To_AuthPasswordRecovery

func (m *Auth_PasswordRecovery) To_AuthPasswordRecovery() *TLAuthPasswordRecovery

auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;

type Auth_PasswordRecovery_Data

type Auth_PasswordRecovery_Data struct {
	EmailPattern string `protobuf:"bytes,1,opt,name=email_pattern,json=emailPattern" json:"email_pattern,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_PasswordRecovery <--

  • TL_auth_passwordRecovery

func (*Auth_PasswordRecovery_Data) Descriptor

func (*Auth_PasswordRecovery_Data) Descriptor() ([]byte, []int)

func (*Auth_PasswordRecovery_Data) GetEmailPattern

func (m *Auth_PasswordRecovery_Data) GetEmailPattern() string

func (*Auth_PasswordRecovery_Data) ProtoMessage

func (*Auth_PasswordRecovery_Data) ProtoMessage()

func (*Auth_PasswordRecovery_Data) Reset

func (m *Auth_PasswordRecovery_Data) Reset()

func (*Auth_PasswordRecovery_Data) String

func (m *Auth_PasswordRecovery_Data) String() string

type Auth_SentCode

type Auth_SentCode struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_SentCode_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_SentCode) Decode

func (m *Auth_SentCode) Decode(dbuf *DecodeBuf) error

func (*Auth_SentCode) Descriptor

func (*Auth_SentCode) Descriptor() ([]byte, []int)

func (*Auth_SentCode) Encode

func (m *Auth_SentCode) Encode() []byte

func (*Auth_SentCode) GetConstructor

func (m *Auth_SentCode) GetConstructor() TLConstructor

func (*Auth_SentCode) GetData2

func (m *Auth_SentCode) GetData2() *Auth_SentCode_Data

func (*Auth_SentCode) ProtoMessage

func (*Auth_SentCode) ProtoMessage()

func (*Auth_SentCode) Reset

func (m *Auth_SentCode) Reset()

func (*Auth_SentCode) String

func (m *Auth_SentCode) String() string

func (*Auth_SentCode) To_AuthSentCode

func (m *Auth_SentCode) To_AuthSentCode() *TLAuthSentCode

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

type Auth_SentCodeType

type Auth_SentCodeType struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Auth_SentCodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Auth_SentCodeType) Decode

func (m *Auth_SentCodeType) Decode(dbuf *DecodeBuf) error

func (*Auth_SentCodeType) Descriptor

func (*Auth_SentCodeType) Descriptor() ([]byte, []int)

func (*Auth_SentCodeType) Encode

func (m *Auth_SentCodeType) Encode() []byte

func (*Auth_SentCodeType) GetConstructor

func (m *Auth_SentCodeType) GetConstructor() TLConstructor

func (*Auth_SentCodeType) GetData2

func (*Auth_SentCodeType) ProtoMessage

func (*Auth_SentCodeType) ProtoMessage()

func (*Auth_SentCodeType) Reset

func (m *Auth_SentCodeType) Reset()

func (*Auth_SentCodeType) String

func (m *Auth_SentCodeType) String() string

func (*Auth_SentCodeType) To_AuthSentCodeTypeApp

func (m *Auth_SentCodeType) To_AuthSentCodeTypeApp() *TLAuthSentCodeTypeApp

auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;

func (*Auth_SentCodeType) To_AuthSentCodeTypeCall

func (m *Auth_SentCodeType) To_AuthSentCodeTypeCall() *TLAuthSentCodeTypeCall

auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;

func (*Auth_SentCodeType) To_AuthSentCodeTypeFlashCall

func (m *Auth_SentCodeType) To_AuthSentCodeTypeFlashCall() *TLAuthSentCodeTypeFlashCall

auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;

func (*Auth_SentCodeType) To_AuthSentCodeTypeSms

func (m *Auth_SentCodeType) To_AuthSentCodeTypeSms() *TLAuthSentCodeTypeSms

auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;

type Auth_SentCodeType_Data

type Auth_SentCodeType_Data struct {
	Length  int32  `protobuf:"varint,1,opt,name=length" json:"length,omitempty"`
	Pattern string `protobuf:"bytes,2,opt,name=pattern" json:"pattern,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_SentCodeType <--

  • TL_auth_sentCodeTypeApp
  • TL_auth_sentCodeTypeSms
  • TL_auth_sentCodeTypeCall
  • TL_auth_sentCodeTypeFlashCall

func (*Auth_SentCodeType_Data) Descriptor

func (*Auth_SentCodeType_Data) Descriptor() ([]byte, []int)

func (*Auth_SentCodeType_Data) GetLength

func (m *Auth_SentCodeType_Data) GetLength() int32

func (*Auth_SentCodeType_Data) GetPattern

func (m *Auth_SentCodeType_Data) GetPattern() string

func (*Auth_SentCodeType_Data) ProtoMessage

func (*Auth_SentCodeType_Data) ProtoMessage()

func (*Auth_SentCodeType_Data) Reset

func (m *Auth_SentCodeType_Data) Reset()

func (*Auth_SentCodeType_Data) String

func (m *Auth_SentCodeType_Data) String() string

type Auth_SentCode_Data

type Auth_SentCode_Data struct {
	PhoneRegistered bool               `protobuf:"varint,1,opt,name=phone_registered,json=phoneRegistered" json:"phone_registered,omitempty"`
	Type            *Auth_SentCodeType `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	PhoneCodeHash   string             `protobuf:"bytes,3,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
	NextType        *Auth_CodeType     `protobuf:"bytes,4,opt,name=next_type,json=nextType" json:"next_type,omitempty"`
	Timeout         int32              `protobuf:"varint,5,opt,name=timeout" json:"timeout,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth_SentCode <--

  • TL_auth_sentCode

func (*Auth_SentCode_Data) Descriptor

func (*Auth_SentCode_Data) Descriptor() ([]byte, []int)

func (*Auth_SentCode_Data) GetNextType

func (m *Auth_SentCode_Data) GetNextType() *Auth_CodeType

func (*Auth_SentCode_Data) GetPhoneCodeHash

func (m *Auth_SentCode_Data) GetPhoneCodeHash() string

func (*Auth_SentCode_Data) GetPhoneRegistered

func (m *Auth_SentCode_Data) GetPhoneRegistered() bool

func (*Auth_SentCode_Data) GetTimeout

func (m *Auth_SentCode_Data) GetTimeout() int32

func (*Auth_SentCode_Data) GetType

func (m *Auth_SentCode_Data) GetType() *Auth_SentCodeType

func (*Auth_SentCode_Data) ProtoMessage

func (*Auth_SentCode_Data) ProtoMessage()

func (*Auth_SentCode_Data) Reset

func (m *Auth_SentCode_Data) Reset()

func (*Auth_SentCode_Data) String

func (m *Auth_SentCode_Data) String() string

type Authorization

type Authorization struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Authorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Authorization) Decode

func (m *Authorization) Decode(dbuf *DecodeBuf) error

func (*Authorization) Descriptor

func (*Authorization) Descriptor() ([]byte, []int)

func (*Authorization) Encode

func (m *Authorization) Encode() []byte

func (*Authorization) GetConstructor

func (m *Authorization) GetConstructor() TLConstructor

func (*Authorization) GetData2

func (m *Authorization) GetData2() *Authorization_Data

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) Reset

func (m *Authorization) Reset()

func (*Authorization) String

func (m *Authorization) String() string

func (*Authorization) To_Authorization

func (m *Authorization) To_Authorization() *TLAuthorization

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;

type Authorization_Data

type Authorization_Data struct {
	Hash          int64  `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Flags         int32  `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
	DeviceModel   string `protobuf:"bytes,3,opt,name=device_model,json=deviceModel" json:"device_model,omitempty"`
	Platform      string `protobuf:"bytes,4,opt,name=platform" json:"platform,omitempty"`
	SystemVersion string `protobuf:"bytes,5,opt,name=system_version,json=systemVersion" json:"system_version,omitempty"`
	ApiId         int32  `protobuf:"varint,6,opt,name=api_id,json=apiId" json:"api_id,omitempty"`
	AppName       string `protobuf:"bytes,7,opt,name=app_name,json=appName" json:"app_name,omitempty"`
	AppVersion    string `protobuf:"bytes,8,opt,name=app_version,json=appVersion" json:"app_version,omitempty"`
	DateCreated   int32  `protobuf:"varint,9,opt,name=date_created,json=dateCreated" json:"date_created,omitempty"`
	DateActive    int32  `protobuf:"varint,10,opt,name=date_active,json=dateActive" json:"date_active,omitempty"`
	Ip            string `protobuf:"bytes,11,opt,name=ip" json:"ip,omitempty"`
	Country       string `protobuf:"bytes,12,opt,name=country" json:"country,omitempty"`
	Region        string `protobuf:"bytes,13,opt,name=region" json:"region,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Authorization <--

  • TL_authorization

func (*Authorization_Data) Descriptor

func (*Authorization_Data) Descriptor() ([]byte, []int)

func (*Authorization_Data) GetApiId

func (m *Authorization_Data) GetApiId() int32

func (*Authorization_Data) GetAppName

func (m *Authorization_Data) GetAppName() string

func (*Authorization_Data) GetAppVersion

func (m *Authorization_Data) GetAppVersion() string

func (*Authorization_Data) GetCountry

func (m *Authorization_Data) GetCountry() string

func (*Authorization_Data) GetDateActive

func (m *Authorization_Data) GetDateActive() int32

func (*Authorization_Data) GetDateCreated

func (m *Authorization_Data) GetDateCreated() int32

func (*Authorization_Data) GetDeviceModel

func (m *Authorization_Data) GetDeviceModel() string

func (*Authorization_Data) GetFlags

func (m *Authorization_Data) GetFlags() int32

func (*Authorization_Data) GetHash

func (m *Authorization_Data) GetHash() int64

func (*Authorization_Data) GetIp

func (m *Authorization_Data) GetIp() string

func (*Authorization_Data) GetPlatform

func (m *Authorization_Data) GetPlatform() string

func (*Authorization_Data) GetRegion

func (m *Authorization_Data) GetRegion() string

func (*Authorization_Data) GetSystemVersion

func (m *Authorization_Data) GetSystemVersion() string

func (*Authorization_Data) ProtoMessage

func (*Authorization_Data) ProtoMessage()

func (*Authorization_Data) Reset

func (m *Authorization_Data) Reset()

func (*Authorization_Data) String

func (m *Authorization_Data) String() string

type BadMsgNotification

type BadMsgNotification struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *BadMsgNotification_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*BadMsgNotification) Decode

func (m *BadMsgNotification) Decode(dbuf *DecodeBuf) error

func (*BadMsgNotification) Descriptor

func (*BadMsgNotification) Descriptor() ([]byte, []int)

func (*BadMsgNotification) Encode

func (m *BadMsgNotification) Encode() []byte

func (*BadMsgNotification) GetConstructor

func (m *BadMsgNotification) GetConstructor() TLConstructor

func (*BadMsgNotification) GetData2

func (*BadMsgNotification) ProtoMessage

func (*BadMsgNotification) ProtoMessage()

func (*BadMsgNotification) Reset

func (m *BadMsgNotification) Reset()

func (*BadMsgNotification) String

func (m *BadMsgNotification) String() string

func (*BadMsgNotification) To_BadMsgNotification

func (m *BadMsgNotification) To_BadMsgNotification() *TLBadMsgNotification

bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification;

func (*BadMsgNotification) To_BadServerSalt

func (m *BadMsgNotification) To_BadServerSalt() *TLBadServerSalt

bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification;

type BadMsgNotification_Data

type BadMsgNotification_Data struct {
	BadMsgId      int64 `protobuf:"varint,1,opt,name=bad_msg_id,json=badMsgId" json:"bad_msg_id,omitempty"`
	BadMsgSeqno   int32 `protobuf:"varint,2,opt,name=bad_msg_seqno,json=badMsgSeqno" json:"bad_msg_seqno,omitempty"`
	ErrorCode     int32 `protobuf:"varint,3,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
	NewServerSalt int64 `protobuf:"varint,4,opt,name=new_server_salt,json=newServerSalt" json:"new_server_salt,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// BadMsgNotification <--

  • TL_bad_msg_notification
  • TL_bad_server_salt

func (*BadMsgNotification_Data) Descriptor

func (*BadMsgNotification_Data) Descriptor() ([]byte, []int)

func (*BadMsgNotification_Data) GetBadMsgId

func (m *BadMsgNotification_Data) GetBadMsgId() int64

func (*BadMsgNotification_Data) GetBadMsgSeqno

func (m *BadMsgNotification_Data) GetBadMsgSeqno() int32

func (*BadMsgNotification_Data) GetErrorCode

func (m *BadMsgNotification_Data) GetErrorCode() int32

func (*BadMsgNotification_Data) GetNewServerSalt

func (m *BadMsgNotification_Data) GetNewServerSalt() int64

func (*BadMsgNotification_Data) ProtoMessage

func (*BadMsgNotification_Data) ProtoMessage()

func (*BadMsgNotification_Data) Reset

func (m *BadMsgNotification_Data) Reset()

func (*BadMsgNotification_Data) String

func (m *BadMsgNotification_Data) String() string

type Bool

type Bool struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Bool_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func ToBool

func ToBool(b bool) *Bool

//////////////////////////////////////////////////////////////////////////////

func (*Bool) Decode

func (m *Bool) Decode(dbuf *DecodeBuf) error

func (*Bool) Descriptor

func (*Bool) Descriptor() ([]byte, []int)

func (*Bool) Encode

func (m *Bool) Encode() []byte

func (*Bool) GetConstructor

func (m *Bool) GetConstructor() TLConstructor

func (*Bool) GetData2

func (m *Bool) GetData2() *Bool_Data

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) Reset

func (m *Bool) Reset()

func (*Bool) String

func (m *Bool) String() string

func (*Bool) To_BoolFalse

func (m *Bool) To_BoolFalse() *TLBoolFalse

boolFalse#bc799737 = Bool;

func (*Bool) To_BoolTrue

func (m *Bool) To_BoolTrue() *TLBoolTrue

boolTrue#997275b5 = Bool;

type Bool_Data

type Bool_Data struct {
}

///////////////////////////////////////////////////////////////////////////// Bool <--

  • TL_boolFalse
  • TL_boolTrue

func (*Bool_Data) Descriptor

func (*Bool_Data) Descriptor() ([]byte, []int)

func (*Bool_Data) ProtoMessage

func (*Bool_Data) ProtoMessage()

func (*Bool_Data) Reset

func (m *Bool_Data) Reset()

func (*Bool_Data) String

func (m *Bool_Data) String() string

type BotCommand

type BotCommand struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *BotCommand_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*BotCommand) Decode

func (m *BotCommand) Decode(dbuf *DecodeBuf) error

func (*BotCommand) Descriptor

func (*BotCommand) Descriptor() ([]byte, []int)

func (*BotCommand) Encode

func (m *BotCommand) Encode() []byte

func (*BotCommand) GetConstructor

func (m *BotCommand) GetConstructor() TLConstructor

func (*BotCommand) GetData2

func (m *BotCommand) GetData2() *BotCommand_Data

func (*BotCommand) ProtoMessage

func (*BotCommand) ProtoMessage()

func (*BotCommand) Reset

func (m *BotCommand) Reset()

func (*BotCommand) String

func (m *BotCommand) String() string

func (*BotCommand) To_BotCommand

func (m *BotCommand) To_BotCommand() *TLBotCommand

botCommand#c27ac8c7 command:string description:string = BotCommand;

type BotCommand_Data

type BotCommand_Data struct {
	Command     string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// BotCommand <--

  • TL_botCommand

func (*BotCommand_Data) Descriptor

func (*BotCommand_Data) Descriptor() ([]byte, []int)

func (*BotCommand_Data) GetCommand

func (m *BotCommand_Data) GetCommand() string

func (*BotCommand_Data) GetDescription

func (m *BotCommand_Data) GetDescription() string

func (*BotCommand_Data) ProtoMessage

func (*BotCommand_Data) ProtoMessage()

func (*BotCommand_Data) Reset

func (m *BotCommand_Data) Reset()

func (*BotCommand_Data) String

func (m *BotCommand_Data) String() string

type BotInfo

type BotInfo struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *BotInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*BotInfo) Decode

func (m *BotInfo) Decode(dbuf *DecodeBuf) error

func (*BotInfo) Descriptor

func (*BotInfo) Descriptor() ([]byte, []int)

func (*BotInfo) Encode

func (m *BotInfo) Encode() []byte

func (*BotInfo) GetConstructor

func (m *BotInfo) GetConstructor() TLConstructor

func (*BotInfo) GetData2

func (m *BotInfo) GetData2() *BotInfo_Data

func (*BotInfo) ProtoMessage

func (*BotInfo) ProtoMessage()

func (*BotInfo) Reset

func (m *BotInfo) Reset()

func (*BotInfo) String

func (m *BotInfo) String() string

func (*BotInfo) To_BotInfo

func (m *BotInfo) To_BotInfo() *TLBotInfo

botInfo#98e81d3a user_id:int description:string commands:Vector<BotCommand> = BotInfo;

type BotInfo_Data

type BotInfo_Data struct {
	UserId      int32         `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Description string        `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
	Commands    []*BotCommand `protobuf:"bytes,3,rep,name=commands" json:"commands,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// BotInfo <--

  • TL_botInfo

func (*BotInfo_Data) Descriptor

func (*BotInfo_Data) Descriptor() ([]byte, []int)

func (*BotInfo_Data) GetCommands

func (m *BotInfo_Data) GetCommands() []*BotCommand

func (*BotInfo_Data) GetDescription

func (m *BotInfo_Data) GetDescription() string

func (*BotInfo_Data) GetUserId

func (m *BotInfo_Data) GetUserId() int32

func (*BotInfo_Data) ProtoMessage

func (*BotInfo_Data) ProtoMessage()

func (*BotInfo_Data) Reset

func (m *BotInfo_Data) Reset()

func (*BotInfo_Data) String

func (m *BotInfo_Data) String() string

type BotInlineMessage

type BotInlineMessage struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*BotInlineMessage) Decode

func (m *BotInlineMessage) Decode(dbuf *DecodeBuf) error

func (*BotInlineMessage) Descriptor

func (*BotInlineMessage) Descriptor() ([]byte, []int)

func (*BotInlineMessage) Encode

func (m *BotInlineMessage) Encode() []byte

func (*BotInlineMessage) GetConstructor

func (m *BotInlineMessage) GetConstructor() TLConstructor

func (*BotInlineMessage) GetData2

func (m *BotInlineMessage) GetData2() *BotInlineMessage_Data

func (*BotInlineMessage) ProtoMessage

func (*BotInlineMessage) ProtoMessage()

func (*BotInlineMessage) Reset

func (m *BotInlineMessage) Reset()

func (*BotInlineMessage) String

func (m *BotInlineMessage) String() string

func (*BotInlineMessage) To_BotInlineMessageMediaAuto

func (m *BotInlineMessage) To_BotInlineMessageMediaAuto() *TLBotInlineMessageMediaAuto

botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func (*BotInlineMessage) To_BotInlineMessageMediaContact

func (m *BotInlineMessage) To_BotInlineMessageMediaContact() *TLBotInlineMessageMediaContact

botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func (*BotInlineMessage) To_BotInlineMessageMediaGeo

func (m *BotInlineMessage) To_BotInlineMessageMediaGeo() *TLBotInlineMessageMediaGeo

botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func (*BotInlineMessage) To_BotInlineMessageMediaVenue

func (m *BotInlineMessage) To_BotInlineMessageMediaVenue() *TLBotInlineMessageMediaVenue

botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func (*BotInlineMessage) To_BotInlineMessageText

func (m *BotInlineMessage) To_BotInlineMessageText() *TLBotInlineMessageText

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

type BotInlineMessage_Data

type BotInlineMessage_Data struct {
	Caption     string           `protobuf:"bytes,1,opt,name=caption" json:"caption,omitempty"`
	ReplyMarkup *ReplyMarkup     `protobuf:"bytes,2,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	NoWebpage   bool             `protobuf:"varint,3,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	Message     string           `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	Entities    []*MessageEntity `protobuf:"bytes,5,rep,name=entities" json:"entities,omitempty"`
	Geo         *GeoPoint        `protobuf:"bytes,6,opt,name=geo" json:"geo,omitempty"`
	Period      int32            `protobuf:"varint,7,opt,name=period" json:"period,omitempty"`
	Title       string           `protobuf:"bytes,8,opt,name=title" json:"title,omitempty"`
	Address     string           `protobuf:"bytes,9,opt,name=address" json:"address,omitempty"`
	Provider    string           `protobuf:"bytes,10,opt,name=provider" json:"provider,omitempty"`
	VenueId     string           `protobuf:"bytes,11,opt,name=venue_id,json=venueId" json:"venue_id,omitempty"`
	PhoneNumber string           `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	FirstName   string           `protobuf:"bytes,13,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName    string           `protobuf:"bytes,14,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// BotInlineMessage <--

  • TL_botInlineMessageMediaAuto
  • TL_botInlineMessageText
  • TL_botInlineMessageMediaGeo
  • TL_botInlineMessageMediaVenue
  • TL_botInlineMessageMediaContact

func (*BotInlineMessage_Data) Descriptor

func (*BotInlineMessage_Data) Descriptor() ([]byte, []int)

func (*BotInlineMessage_Data) GetAddress

func (m *BotInlineMessage_Data) GetAddress() string

func (*BotInlineMessage_Data) GetCaption

func (m *BotInlineMessage_Data) GetCaption() string

func (*BotInlineMessage_Data) GetEntities

func (m *BotInlineMessage_Data) GetEntities() []*MessageEntity

func (*BotInlineMessage_Data) GetFirstName

func (m *BotInlineMessage_Data) GetFirstName() string

func (*BotInlineMessage_Data) GetGeo

func (m *BotInlineMessage_Data) GetGeo() *GeoPoint

func (*BotInlineMessage_Data) GetLastName

func (m *BotInlineMessage_Data) GetLastName() string

func (*BotInlineMessage_Data) GetMessage

func (m *BotInlineMessage_Data) GetMessage() string

func (*BotInlineMessage_Data) GetNoWebpage

func (m *BotInlineMessage_Data) GetNoWebpage() bool

func (*BotInlineMessage_Data) GetPeriod

func (m *BotInlineMessage_Data) GetPeriod() int32

func (*BotInlineMessage_Data) GetPhoneNumber

func (m *BotInlineMessage_Data) GetPhoneNumber() string

func (*BotInlineMessage_Data) GetProvider

func (m *BotInlineMessage_Data) GetProvider() string

func (*BotInlineMessage_Data) GetReplyMarkup

func (m *BotInlineMessage_Data) GetReplyMarkup() *ReplyMarkup

func (*BotInlineMessage_Data) GetTitle

func (m *BotInlineMessage_Data) GetTitle() string

func (*BotInlineMessage_Data) GetVenueId

func (m *BotInlineMessage_Data) GetVenueId() string

func (*BotInlineMessage_Data) ProtoMessage

func (*BotInlineMessage_Data) ProtoMessage()

func (*BotInlineMessage_Data) Reset

func (m *BotInlineMessage_Data) Reset()

func (*BotInlineMessage_Data) String

func (m *BotInlineMessage_Data) String() string

type BotInlineResult

type BotInlineResult struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *BotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*BotInlineResult) Decode

func (m *BotInlineResult) Decode(dbuf *DecodeBuf) error

func (*BotInlineResult) Descriptor

func (*BotInlineResult) Descriptor() ([]byte, []int)

func (*BotInlineResult) Encode

func (m *BotInlineResult) Encode() []byte

func (*BotInlineResult) GetConstructor

func (m *BotInlineResult) GetConstructor() TLConstructor

func (*BotInlineResult) GetData2

func (m *BotInlineResult) GetData2() *BotInlineResult_Data

func (*BotInlineResult) ProtoMessage

func (*BotInlineResult) ProtoMessage()

func (*BotInlineResult) Reset

func (m *BotInlineResult) Reset()

func (*BotInlineResult) String

func (m *BotInlineResult) String() string

func (*BotInlineResult) To_BotInlineMediaResult

func (m *BotInlineResult) To_BotInlineMediaResult() *TLBotInlineMediaResult

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

func (*BotInlineResult) To_BotInlineResult

func (m *BotInlineResult) To_BotInlineResult() *TLBotInlineResult

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

type BotInlineResult_Data

type BotInlineResult_Data struct {
	Id          string            `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Type        string            `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Title       string            `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Description string            `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	Url         string            `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	ThumbUrl    string            `protobuf:"bytes,6,opt,name=thumb_url,json=thumbUrl" json:"thumb_url,omitempty"`
	ContentUrl  string            `protobuf:"bytes,7,opt,name=content_url,json=contentUrl" json:"content_url,omitempty"`
	ContentType string            `protobuf:"bytes,8,opt,name=content_type,json=contentType" json:"content_type,omitempty"`
	W           int32             `protobuf:"varint,9,opt,name=w" json:"w,omitempty"`
	H           int32             `protobuf:"varint,10,opt,name=h" json:"h,omitempty"`
	Duration    int32             `protobuf:"varint,11,opt,name=duration" json:"duration,omitempty"`
	SendMessage *BotInlineMessage `protobuf:"bytes,12,opt,name=send_message,json=sendMessage" json:"send_message,omitempty"`
	Photo       *Photo            `protobuf:"bytes,13,opt,name=photo" json:"photo,omitempty"`
	Document    *Document         `protobuf:"bytes,14,opt,name=document" json:"document,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// BotInlineResult <--

  • TL_botInlineResult
  • TL_botInlineMediaResult

func (*BotInlineResult_Data) Descriptor

func (*BotInlineResult_Data) Descriptor() ([]byte, []int)

func (*BotInlineResult_Data) GetContentType

func (m *BotInlineResult_Data) GetContentType() string

func (*BotInlineResult_Data) GetContentUrl

func (m *BotInlineResult_Data) GetContentUrl() string

func (*BotInlineResult_Data) GetDescription

func (m *BotInlineResult_Data) GetDescription() string

func (*BotInlineResult_Data) GetDocument

func (m *BotInlineResult_Data) GetDocument() *Document

func (*BotInlineResult_Data) GetDuration

func (m *BotInlineResult_Data) GetDuration() int32

func (*BotInlineResult_Data) GetH

func (m *BotInlineResult_Data) GetH() int32

func (*BotInlineResult_Data) GetId

func (m *BotInlineResult_Data) GetId() string

func (*BotInlineResult_Data) GetPhoto

func (m *BotInlineResult_Data) GetPhoto() *Photo

func (*BotInlineResult_Data) GetSendMessage

func (m *BotInlineResult_Data) GetSendMessage() *BotInlineMessage

func (*BotInlineResult_Data) GetThumbUrl

func (m *BotInlineResult_Data) GetThumbUrl() string

func (*BotInlineResult_Data) GetTitle

func (m *BotInlineResult_Data) GetTitle() string

func (*BotInlineResult_Data) GetType

func (m *BotInlineResult_Data) GetType() string

func (*BotInlineResult_Data) GetUrl

func (m *BotInlineResult_Data) GetUrl() string

func (*BotInlineResult_Data) GetW

func (m *BotInlineResult_Data) GetW() int32

func (*BotInlineResult_Data) ProtoMessage

func (*BotInlineResult_Data) ProtoMessage()

func (*BotInlineResult_Data) Reset

func (m *BotInlineResult_Data) Reset()

func (*BotInlineResult_Data) String

func (m *BotInlineResult_Data) String() string

type CdnConfig

type CdnConfig struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *CdnConfig_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*CdnConfig) Decode

func (m *CdnConfig) Decode(dbuf *DecodeBuf) error

func (*CdnConfig) Descriptor

func (*CdnConfig) Descriptor() ([]byte, []int)

func (*CdnConfig) Encode

func (m *CdnConfig) Encode() []byte

func (*CdnConfig) GetConstructor

func (m *CdnConfig) GetConstructor() TLConstructor

func (*CdnConfig) GetData2

func (m *CdnConfig) GetData2() *CdnConfig_Data

func (*CdnConfig) ProtoMessage

func (*CdnConfig) ProtoMessage()

func (*CdnConfig) Reset

func (m *CdnConfig) Reset()

func (*CdnConfig) String

func (m *CdnConfig) String() string

func (*CdnConfig) To_CdnConfig

func (m *CdnConfig) To_CdnConfig() *TLCdnConfig

cdnConfig#5725e40a public_keys:Vector<CdnPublicKey> = CdnConfig;

type CdnConfig_Data

type CdnConfig_Data struct {
	PublicKeys []*CdnPublicKey `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys" json:"public_keys,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// CdnConfig <--

  • TL_cdnConfig

func (*CdnConfig_Data) Descriptor

func (*CdnConfig_Data) Descriptor() ([]byte, []int)

func (*CdnConfig_Data) GetPublicKeys

func (m *CdnConfig_Data) GetPublicKeys() []*CdnPublicKey

func (*CdnConfig_Data) ProtoMessage

func (*CdnConfig_Data) ProtoMessage()

func (*CdnConfig_Data) Reset

func (m *CdnConfig_Data) Reset()

func (*CdnConfig_Data) String

func (m *CdnConfig_Data) String() string

type CdnFileHash

type CdnFileHash struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *CdnFileHash_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*CdnFileHash) Decode

func (m *CdnFileHash) Decode(dbuf *DecodeBuf) error

func (*CdnFileHash) Descriptor

func (*CdnFileHash) Descriptor() ([]byte, []int)

func (*CdnFileHash) Encode

func (m *CdnFileHash) Encode() []byte

func (*CdnFileHash) GetConstructor

func (m *CdnFileHash) GetConstructor() TLConstructor

func (*CdnFileHash) GetData2

func (m *CdnFileHash) GetData2() *CdnFileHash_Data

func (*CdnFileHash) ProtoMessage

func (*CdnFileHash) ProtoMessage()

func (*CdnFileHash) Reset

func (m *CdnFileHash) Reset()

func (*CdnFileHash) String

func (m *CdnFileHash) String() string

func (*CdnFileHash) To_CdnFileHash

func (m *CdnFileHash) To_CdnFileHash() *TLCdnFileHash

cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;

type CdnFileHash_Data

type CdnFileHash_Data struct {
	Offset int32  `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"`
	Limit  int32  `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
	Hash   []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// CdnFileHash <--

  • TL_cdnFileHash

func (*CdnFileHash_Data) Descriptor

func (*CdnFileHash_Data) Descriptor() ([]byte, []int)

func (*CdnFileHash_Data) GetHash

func (m *CdnFileHash_Data) GetHash() []byte

func (*CdnFileHash_Data) GetLimit

func (m *CdnFileHash_Data) GetLimit() int32

func (*CdnFileHash_Data) GetOffset

func (m *CdnFileHash_Data) GetOffset() int32

func (*CdnFileHash_Data) ProtoMessage

func (*CdnFileHash_Data) ProtoMessage()

func (*CdnFileHash_Data) Reset

func (m *CdnFileHash_Data) Reset()

func (*CdnFileHash_Data) String

func (m *CdnFileHash_Data) String() string

type CdnPublicKey

type CdnPublicKey struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *CdnPublicKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*CdnPublicKey) Decode

func (m *CdnPublicKey) Decode(dbuf *DecodeBuf) error

func (*CdnPublicKey) Descriptor

func (*CdnPublicKey) Descriptor() ([]byte, []int)

func (*CdnPublicKey) Encode

func (m *CdnPublicKey) Encode() []byte

func (*CdnPublicKey) GetConstructor

func (m *CdnPublicKey) GetConstructor() TLConstructor

func (*CdnPublicKey) GetData2

func (m *CdnPublicKey) GetData2() *CdnPublicKey_Data

func (*CdnPublicKey) ProtoMessage

func (*CdnPublicKey) ProtoMessage()

func (*CdnPublicKey) Reset

func (m *CdnPublicKey) Reset()

func (*CdnPublicKey) String

func (m *CdnPublicKey) String() string

func (*CdnPublicKey) To_CdnPublicKey

func (m *CdnPublicKey) To_CdnPublicKey() *TLCdnPublicKey

cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;

type CdnPublicKey_Data

type CdnPublicKey_Data struct {
	DcId      int32  `protobuf:"varint,1,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
	PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// CdnPublicKey <--

  • TL_cdnPublicKey

func (*CdnPublicKey_Data) Descriptor

func (*CdnPublicKey_Data) Descriptor() ([]byte, []int)

func (*CdnPublicKey_Data) GetDcId

func (m *CdnPublicKey_Data) GetDcId() int32

func (*CdnPublicKey_Data) GetPublicKey

func (m *CdnPublicKey_Data) GetPublicKey() string

func (*CdnPublicKey_Data) ProtoMessage

func (*CdnPublicKey_Data) ProtoMessage()

func (*CdnPublicKey_Data) Reset

func (m *CdnPublicKey_Data) Reset()

func (*CdnPublicKey_Data) String

func (m *CdnPublicKey_Data) String() string

type ChannelAdminLogEvent

type ChannelAdminLogEvent struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelAdminLogEvent_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelAdminLogEvent) Decode

func (m *ChannelAdminLogEvent) Decode(dbuf *DecodeBuf) error

func (*ChannelAdminLogEvent) Descriptor

func (*ChannelAdminLogEvent) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEvent) Encode

func (m *ChannelAdminLogEvent) Encode() []byte

func (*ChannelAdminLogEvent) GetConstructor

func (m *ChannelAdminLogEvent) GetConstructor() TLConstructor

func (*ChannelAdminLogEvent) GetData2

func (*ChannelAdminLogEvent) ProtoMessage

func (*ChannelAdminLogEvent) ProtoMessage()

func (*ChannelAdminLogEvent) Reset

func (m *ChannelAdminLogEvent) Reset()

func (*ChannelAdminLogEvent) String

func (m *ChannelAdminLogEvent) String() string

func (*ChannelAdminLogEvent) To_ChannelAdminLogEvent

func (m *ChannelAdminLogEvent) To_ChannelAdminLogEvent() *TLChannelAdminLogEvent

channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent;

type ChannelAdminLogEventAction

type ChannelAdminLogEventAction struct {
	Constructor TLConstructor                    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelAdminLogEventAction) Decode

func (m *ChannelAdminLogEventAction) Decode(dbuf *DecodeBuf) error

func (*ChannelAdminLogEventAction) Descriptor

func (*ChannelAdminLogEventAction) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEventAction) Encode

func (m *ChannelAdminLogEventAction) Encode() []byte

func (*ChannelAdminLogEventAction) GetConstructor

func (m *ChannelAdminLogEventAction) GetConstructor() TLConstructor

func (*ChannelAdminLogEventAction) GetData2

func (*ChannelAdminLogEventAction) ProtoMessage

func (*ChannelAdminLogEventAction) ProtoMessage()

func (*ChannelAdminLogEventAction) Reset

func (m *ChannelAdminLogEventAction) Reset()

func (*ChannelAdminLogEventAction) String

func (m *ChannelAdminLogEventAction) String() string

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeAbout

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeAbout() *TLChannelAdminLogEventActionChangeAbout

channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangePhoto

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangePhoto() *TLChannelAdminLogEventActionChangePhoto

channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeStickerSet

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeStickerSet() *TLChannelAdminLogEventActionChangeStickerSet

channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeTitle

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeTitle() *TLChannelAdminLogEventActionChangeTitle

channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeUsername

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionChangeUsername() *TLChannelAdminLogEventActionChangeUsername

channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionDeleteMessage

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionDeleteMessage() *TLChannelAdminLogEventActionDeleteMessage

channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionEditMessage

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionEditMessage() *TLChannelAdminLogEventActionEditMessage

channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantInvite

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantInvite() *TLChannelAdminLogEventActionParticipantInvite

channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantJoin

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantJoin() *TLChannelAdminLogEventActionParticipantJoin

channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantLeave

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantLeave() *TLChannelAdminLogEventActionParticipantLeave

channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantToggleAdmin

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantToggleAdmin() *TLChannelAdminLogEventActionParticipantToggleAdmin

channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantToggleBan

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionParticipantToggleBan() *TLChannelAdminLogEventActionParticipantToggleBan

channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionToggleInvites

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionToggleInvites() *TLChannelAdminLogEventActionToggleInvites

channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionTogglePreHistoryHidden

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionTogglePreHistoryHidden() *TLChannelAdminLogEventActionTogglePreHistoryHidden

channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionToggleSignatures

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionToggleSignatures() *TLChannelAdminLogEventActionToggleSignatures

channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;

func (*ChannelAdminLogEventAction) To_ChannelAdminLogEventActionUpdatePinned

func (m *ChannelAdminLogEventAction) To_ChannelAdminLogEventActionUpdatePinned() *TLChannelAdminLogEventActionUpdatePinned

channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;

type ChannelAdminLogEventAction_Data

type ChannelAdminLogEventAction_Data struct {
	PrevValue       string              `protobuf:"bytes,1,opt,name=prev_value,json=prevValue" json:"prev_value,omitempty"`
	NewValue_2      string              `protobuf:"bytes,2,opt,name=new_value_2,json=newValue2" json:"new_value_2,omitempty"`
	PrevPhoto       *ChatPhoto          `protobuf:"bytes,3,opt,name=prev_photo,json=prevPhoto" json:"prev_photo,omitempty"`
	NewPhoto        *ChatPhoto          `protobuf:"bytes,4,opt,name=new_photo,json=newPhoto" json:"new_photo,omitempty"`
	NewValue_5      *Bool               `protobuf:"bytes,5,opt,name=new_value_5,json=newValue5" json:"new_value_5,omitempty"`
	Message         *Message            `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	PrevMessage     *Message            `protobuf:"bytes,7,opt,name=prev_message,json=prevMessage" json:"prev_message,omitempty"`
	NewMessage      *Message            `protobuf:"bytes,8,opt,name=new_message,json=newMessage" json:"new_message,omitempty"`
	Participant     *ChannelParticipant `protobuf:"bytes,9,opt,name=participant" json:"participant,omitempty"`
	PrevParticipant *ChannelParticipant `protobuf:"bytes,10,opt,name=prev_participant,json=prevParticipant" json:"prev_participant,omitempty"`
	NewParticipant  *ChannelParticipant `protobuf:"bytes,11,opt,name=new_participant,json=newParticipant" json:"new_participant,omitempty"`
	PrevStickerset  *InputStickerSet    `protobuf:"bytes,12,opt,name=prev_stickerset,json=prevStickerset" json:"prev_stickerset,omitempty"`
	NewStickerset   *InputStickerSet    `protobuf:"bytes,13,opt,name=new_stickerset,json=newStickerset" json:"new_stickerset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelAdminLogEventAction <--

  • TL_channelAdminLogEventActionChangeTitle
  • TL_channelAdminLogEventActionChangeAbout
  • TL_channelAdminLogEventActionChangeUsername
  • TL_channelAdminLogEventActionChangePhoto
  • TL_channelAdminLogEventActionToggleInvites
  • TL_channelAdminLogEventActionToggleSignatures
  • TL_channelAdminLogEventActionUpdatePinned
  • TL_channelAdminLogEventActionEditMessage
  • TL_channelAdminLogEventActionDeleteMessage
  • TL_channelAdminLogEventActionParticipantJoin
  • TL_channelAdminLogEventActionParticipantLeave
  • TL_channelAdminLogEventActionParticipantInvite
  • TL_channelAdminLogEventActionParticipantToggleBan
  • TL_channelAdminLogEventActionParticipantToggleAdmin
  • TL_channelAdminLogEventActionChangeStickerSet
  • TL_channelAdminLogEventActionTogglePreHistoryHidden

func (*ChannelAdminLogEventAction_Data) Descriptor

func (*ChannelAdminLogEventAction_Data) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEventAction_Data) GetMessage

func (m *ChannelAdminLogEventAction_Data) GetMessage() *Message

func (*ChannelAdminLogEventAction_Data) GetNewMessage

func (m *ChannelAdminLogEventAction_Data) GetNewMessage() *Message

func (*ChannelAdminLogEventAction_Data) GetNewParticipant

func (m *ChannelAdminLogEventAction_Data) GetNewParticipant() *ChannelParticipant

func (*ChannelAdminLogEventAction_Data) GetNewPhoto

func (m *ChannelAdminLogEventAction_Data) GetNewPhoto() *ChatPhoto

func (*ChannelAdminLogEventAction_Data) GetNewStickerset

func (m *ChannelAdminLogEventAction_Data) GetNewStickerset() *InputStickerSet

func (*ChannelAdminLogEventAction_Data) GetNewValue_2

func (m *ChannelAdminLogEventAction_Data) GetNewValue_2() string

func (*ChannelAdminLogEventAction_Data) GetNewValue_5

func (m *ChannelAdminLogEventAction_Data) GetNewValue_5() *Bool

func (*ChannelAdminLogEventAction_Data) GetParticipant

func (*ChannelAdminLogEventAction_Data) GetPrevMessage

func (m *ChannelAdminLogEventAction_Data) GetPrevMessage() *Message

func (*ChannelAdminLogEventAction_Data) GetPrevParticipant

func (m *ChannelAdminLogEventAction_Data) GetPrevParticipant() *ChannelParticipant

func (*ChannelAdminLogEventAction_Data) GetPrevPhoto

func (m *ChannelAdminLogEventAction_Data) GetPrevPhoto() *ChatPhoto

func (*ChannelAdminLogEventAction_Data) GetPrevStickerset

func (m *ChannelAdminLogEventAction_Data) GetPrevStickerset() *InputStickerSet

func (*ChannelAdminLogEventAction_Data) GetPrevValue

func (m *ChannelAdminLogEventAction_Data) GetPrevValue() string

func (*ChannelAdminLogEventAction_Data) ProtoMessage

func (*ChannelAdminLogEventAction_Data) ProtoMessage()

func (*ChannelAdminLogEventAction_Data) Reset

func (*ChannelAdminLogEventAction_Data) String

type ChannelAdminLogEvent_Data

type ChannelAdminLogEvent_Data struct {
	Id     int64                       `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Date   int32                       `protobuf:"varint,2,opt,name=date" json:"date,omitempty"`
	UserId int32                       `protobuf:"varint,3,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Action *ChannelAdminLogEventAction `protobuf:"bytes,4,opt,name=action" json:"action,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelAdminLogEvent <--

  • TL_channelAdminLogEvent

func (*ChannelAdminLogEvent_Data) Descriptor

func (*ChannelAdminLogEvent_Data) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEvent_Data) GetAction

func (*ChannelAdminLogEvent_Data) GetDate

func (m *ChannelAdminLogEvent_Data) GetDate() int32

func (*ChannelAdminLogEvent_Data) GetId

func (m *ChannelAdminLogEvent_Data) GetId() int64

func (*ChannelAdminLogEvent_Data) GetUserId

func (m *ChannelAdminLogEvent_Data) GetUserId() int32

func (*ChannelAdminLogEvent_Data) ProtoMessage

func (*ChannelAdminLogEvent_Data) ProtoMessage()

func (*ChannelAdminLogEvent_Data) Reset

func (m *ChannelAdminLogEvent_Data) Reset()

func (*ChannelAdminLogEvent_Data) String

func (m *ChannelAdminLogEvent_Data) String() string

type ChannelAdminLogEventsFilter

type ChannelAdminLogEventsFilter struct {
	Constructor TLConstructor                     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelAdminLogEventsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelAdminLogEventsFilter) Decode

func (m *ChannelAdminLogEventsFilter) Decode(dbuf *DecodeBuf) error

func (*ChannelAdminLogEventsFilter) Descriptor

func (*ChannelAdminLogEventsFilter) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEventsFilter) Encode

func (m *ChannelAdminLogEventsFilter) Encode() []byte

func (*ChannelAdminLogEventsFilter) GetConstructor

func (m *ChannelAdminLogEventsFilter) GetConstructor() TLConstructor

func (*ChannelAdminLogEventsFilter) GetData2

func (*ChannelAdminLogEventsFilter) ProtoMessage

func (*ChannelAdminLogEventsFilter) ProtoMessage()

func (*ChannelAdminLogEventsFilter) Reset

func (m *ChannelAdminLogEventsFilter) Reset()

func (*ChannelAdminLogEventsFilter) String

func (m *ChannelAdminLogEventsFilter) String() string

func (*ChannelAdminLogEventsFilter) To_ChannelAdminLogEventsFilter

func (m *ChannelAdminLogEventsFilter) To_ChannelAdminLogEventsFilter() *TLChannelAdminLogEventsFilter

channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter;

type ChannelAdminLogEventsFilter_Data

type ChannelAdminLogEventsFilter_Data struct {
	Join     bool `protobuf:"varint,1,opt,name=join" json:"join,omitempty"`
	Leave    bool `protobuf:"varint,2,opt,name=leave" json:"leave,omitempty"`
	Invite   bool `protobuf:"varint,3,opt,name=invite" json:"invite,omitempty"`
	Ban      bool `protobuf:"varint,4,opt,name=ban" json:"ban,omitempty"`
	Unban    bool `protobuf:"varint,5,opt,name=unban" json:"unban,omitempty"`
	Kick     bool `protobuf:"varint,6,opt,name=kick" json:"kick,omitempty"`
	Unkick   bool `protobuf:"varint,7,opt,name=unkick" json:"unkick,omitempty"`
	Promote  bool `protobuf:"varint,8,opt,name=promote" json:"promote,omitempty"`
	Demote   bool `protobuf:"varint,9,opt,name=demote" json:"demote,omitempty"`
	Info     bool `protobuf:"varint,10,opt,name=info" json:"info,omitempty"`
	Settings bool `protobuf:"varint,11,opt,name=settings" json:"settings,omitempty"`
	Pinned   bool `protobuf:"varint,12,opt,name=pinned" json:"pinned,omitempty"`
	Edit     bool `protobuf:"varint,13,opt,name=edit" json:"edit,omitempty"`
	Delete   bool `protobuf:"varint,14,opt,name=delete" json:"delete,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelAdminLogEventsFilter <--

  • TL_channelAdminLogEventsFilter

func (*ChannelAdminLogEventsFilter_Data) Descriptor

func (*ChannelAdminLogEventsFilter_Data) Descriptor() ([]byte, []int)

func (*ChannelAdminLogEventsFilter_Data) GetBan

func (*ChannelAdminLogEventsFilter_Data) GetDelete

func (m *ChannelAdminLogEventsFilter_Data) GetDelete() bool

func (*ChannelAdminLogEventsFilter_Data) GetDemote

func (m *ChannelAdminLogEventsFilter_Data) GetDemote() bool

func (*ChannelAdminLogEventsFilter_Data) GetEdit

func (*ChannelAdminLogEventsFilter_Data) GetInfo

func (*ChannelAdminLogEventsFilter_Data) GetInvite

func (m *ChannelAdminLogEventsFilter_Data) GetInvite() bool

func (*ChannelAdminLogEventsFilter_Data) GetJoin

func (*ChannelAdminLogEventsFilter_Data) GetKick

func (*ChannelAdminLogEventsFilter_Data) GetLeave

func (m *ChannelAdminLogEventsFilter_Data) GetLeave() bool

func (*ChannelAdminLogEventsFilter_Data) GetPinned

func (m *ChannelAdminLogEventsFilter_Data) GetPinned() bool

func (*ChannelAdminLogEventsFilter_Data) GetPromote

func (m *ChannelAdminLogEventsFilter_Data) GetPromote() bool

func (*ChannelAdminLogEventsFilter_Data) GetSettings

func (m *ChannelAdminLogEventsFilter_Data) GetSettings() bool

func (*ChannelAdminLogEventsFilter_Data) GetUnban

func (m *ChannelAdminLogEventsFilter_Data) GetUnban() bool

func (*ChannelAdminLogEventsFilter_Data) GetUnkick

func (m *ChannelAdminLogEventsFilter_Data) GetUnkick() bool

func (*ChannelAdminLogEventsFilter_Data) ProtoMessage

func (*ChannelAdminLogEventsFilter_Data) ProtoMessage()

func (*ChannelAdminLogEventsFilter_Data) Reset

func (*ChannelAdminLogEventsFilter_Data) String

type ChannelAdminRights

type ChannelAdminRights struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelAdminRights_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelAdminRights) Decode

func (m *ChannelAdminRights) Decode(dbuf *DecodeBuf) error

func (*ChannelAdminRights) Descriptor

func (*ChannelAdminRights) Descriptor() ([]byte, []int)

func (*ChannelAdminRights) Encode

func (m *ChannelAdminRights) Encode() []byte

func (*ChannelAdminRights) GetConstructor

func (m *ChannelAdminRights) GetConstructor() TLConstructor

func (*ChannelAdminRights) GetData2

func (*ChannelAdminRights) ProtoMessage

func (*ChannelAdminRights) ProtoMessage()

func (*ChannelAdminRights) Reset

func (m *ChannelAdminRights) Reset()

func (*ChannelAdminRights) String

func (m *ChannelAdminRights) String() string

func (*ChannelAdminRights) To_ChannelAdminRights

func (m *ChannelAdminRights) To_ChannelAdminRights() *TLChannelAdminRights

channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights;

type ChannelAdminRights_Data

type ChannelAdminRights_Data struct {
	ChangeInfo     bool `protobuf:"varint,1,opt,name=change_info,json=changeInfo" json:"change_info,omitempty"`
	PostMessages   bool `protobuf:"varint,2,opt,name=post_messages,json=postMessages" json:"post_messages,omitempty"`
	EditMessages   bool `protobuf:"varint,3,opt,name=edit_messages,json=editMessages" json:"edit_messages,omitempty"`
	DeleteMessages bool `protobuf:"varint,4,opt,name=delete_messages,json=deleteMessages" json:"delete_messages,omitempty"`
	BanUsers       bool `protobuf:"varint,5,opt,name=ban_users,json=banUsers" json:"ban_users,omitempty"`
	InviteUsers    bool `protobuf:"varint,6,opt,name=invite_users,json=inviteUsers" json:"invite_users,omitempty"`
	InviteLink     bool `protobuf:"varint,7,opt,name=invite_link,json=inviteLink" json:"invite_link,omitempty"`
	PinMessages    bool `protobuf:"varint,8,opt,name=pin_messages,json=pinMessages" json:"pin_messages,omitempty"`
	AddAdmins      bool `protobuf:"varint,9,opt,name=add_admins,json=addAdmins" json:"add_admins,omitempty"`
	ManageCall     bool `protobuf:"varint,10,opt,name=manage_call,json=manageCall" json:"manage_call,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelAdminRights <--

  • TL_channelAdminRights

func (*ChannelAdminRights_Data) Descriptor

func (*ChannelAdminRights_Data) Descriptor() ([]byte, []int)

func (*ChannelAdminRights_Data) GetAddAdmins

func (m *ChannelAdminRights_Data) GetAddAdmins() bool

func (*ChannelAdminRights_Data) GetBanUsers

func (m *ChannelAdminRights_Data) GetBanUsers() bool

func (*ChannelAdminRights_Data) GetChangeInfo

func (m *ChannelAdminRights_Data) GetChangeInfo() bool

func (*ChannelAdminRights_Data) GetDeleteMessages

func (m *ChannelAdminRights_Data) GetDeleteMessages() bool

func (*ChannelAdminRights_Data) GetEditMessages

func (m *ChannelAdminRights_Data) GetEditMessages() bool
func (m *ChannelAdminRights_Data) GetInviteLink() bool

func (*ChannelAdminRights_Data) GetInviteUsers

func (m *ChannelAdminRights_Data) GetInviteUsers() bool

func (*ChannelAdminRights_Data) GetManageCall

func (m *ChannelAdminRights_Data) GetManageCall() bool

func (*ChannelAdminRights_Data) GetPinMessages

func (m *ChannelAdminRights_Data) GetPinMessages() bool

func (*ChannelAdminRights_Data) GetPostMessages

func (m *ChannelAdminRights_Data) GetPostMessages() bool

func (*ChannelAdminRights_Data) ProtoMessage

func (*ChannelAdminRights_Data) ProtoMessage()

func (*ChannelAdminRights_Data) Reset

func (m *ChannelAdminRights_Data) Reset()

func (*ChannelAdminRights_Data) String

func (m *ChannelAdminRights_Data) String() string

type ChannelBannedRights

type ChannelBannedRights struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelBannedRights_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelBannedRights) Decode

func (m *ChannelBannedRights) Decode(dbuf *DecodeBuf) error

func (*ChannelBannedRights) Descriptor

func (*ChannelBannedRights) Descriptor() ([]byte, []int)

func (*ChannelBannedRights) Encode

func (m *ChannelBannedRights) Encode() []byte

func (*ChannelBannedRights) GetConstructor

func (m *ChannelBannedRights) GetConstructor() TLConstructor

func (*ChannelBannedRights) GetData2

func (*ChannelBannedRights) ProtoMessage

func (*ChannelBannedRights) ProtoMessage()

func (*ChannelBannedRights) Reset

func (m *ChannelBannedRights) Reset()

func (*ChannelBannedRights) String

func (m *ChannelBannedRights) String() string

func (*ChannelBannedRights) To_ChannelBannedRights

func (m *ChannelBannedRights) To_ChannelBannedRights() *TLChannelBannedRights

channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights;

type ChannelBannedRights_Data

type ChannelBannedRights_Data struct {
	ViewMessages bool  `protobuf:"varint,1,opt,name=view_messages,json=viewMessages" json:"view_messages,omitempty"`
	SendMessages bool  `protobuf:"varint,2,opt,name=send_messages,json=sendMessages" json:"send_messages,omitempty"`
	SendMedia    bool  `protobuf:"varint,3,opt,name=send_media,json=sendMedia" json:"send_media,omitempty"`
	SendStickers bool  `protobuf:"varint,4,opt,name=send_stickers,json=sendStickers" json:"send_stickers,omitempty"`
	SendGifs     bool  `protobuf:"varint,5,opt,name=send_gifs,json=sendGifs" json:"send_gifs,omitempty"`
	SendGames    bool  `protobuf:"varint,6,opt,name=send_games,json=sendGames" json:"send_games,omitempty"`
	SendInline   bool  `protobuf:"varint,7,opt,name=send_inline,json=sendInline" json:"send_inline,omitempty"`
	EmbedLinks   bool  `protobuf:"varint,8,opt,name=embed_links,json=embedLinks" json:"embed_links,omitempty"`
	UntilDate    int32 `protobuf:"varint,9,opt,name=until_date,json=untilDate" json:"until_date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelBannedRights <--

  • TL_channelBannedRights

func (*ChannelBannedRights_Data) Descriptor

func (*ChannelBannedRights_Data) Descriptor() ([]byte, []int)
func (m *ChannelBannedRights_Data) GetEmbedLinks() bool

func (*ChannelBannedRights_Data) GetSendGames

func (m *ChannelBannedRights_Data) GetSendGames() bool

func (*ChannelBannedRights_Data) GetSendGifs

func (m *ChannelBannedRights_Data) GetSendGifs() bool

func (*ChannelBannedRights_Data) GetSendInline

func (m *ChannelBannedRights_Data) GetSendInline() bool

func (*ChannelBannedRights_Data) GetSendMedia

func (m *ChannelBannedRights_Data) GetSendMedia() bool

func (*ChannelBannedRights_Data) GetSendMessages

func (m *ChannelBannedRights_Data) GetSendMessages() bool

func (*ChannelBannedRights_Data) GetSendStickers

func (m *ChannelBannedRights_Data) GetSendStickers() bool

func (*ChannelBannedRights_Data) GetUntilDate

func (m *ChannelBannedRights_Data) GetUntilDate() int32

func (*ChannelBannedRights_Data) GetViewMessages

func (m *ChannelBannedRights_Data) GetViewMessages() bool

func (*ChannelBannedRights_Data) ProtoMessage

func (*ChannelBannedRights_Data) ProtoMessage()

func (*ChannelBannedRights_Data) Reset

func (m *ChannelBannedRights_Data) Reset()

func (*ChannelBannedRights_Data) String

func (m *ChannelBannedRights_Data) String() string

type ChannelMessagesFilter

type ChannelMessagesFilter struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelMessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelMessagesFilter) Decode

func (m *ChannelMessagesFilter) Decode(dbuf *DecodeBuf) error

func (*ChannelMessagesFilter) Descriptor

func (*ChannelMessagesFilter) Descriptor() ([]byte, []int)

func (*ChannelMessagesFilter) Encode

func (m *ChannelMessagesFilter) Encode() []byte

func (*ChannelMessagesFilter) GetConstructor

func (m *ChannelMessagesFilter) GetConstructor() TLConstructor

func (*ChannelMessagesFilter) GetData2

func (*ChannelMessagesFilter) ProtoMessage

func (*ChannelMessagesFilter) ProtoMessage()

func (*ChannelMessagesFilter) Reset

func (m *ChannelMessagesFilter) Reset()

func (*ChannelMessagesFilter) String

func (m *ChannelMessagesFilter) String() string

func (*ChannelMessagesFilter) To_ChannelMessagesFilter

func (m *ChannelMessagesFilter) To_ChannelMessagesFilter() *TLChannelMessagesFilter

channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;

func (*ChannelMessagesFilter) To_ChannelMessagesFilterEmpty

func (m *ChannelMessagesFilter) To_ChannelMessagesFilterEmpty() *TLChannelMessagesFilterEmpty

channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;

type ChannelMessagesFilter_Data

type ChannelMessagesFilter_Data struct {
	ExcludeNewMessages bool            `protobuf:"varint,1,opt,name=exclude_new_messages,json=excludeNewMessages" json:"exclude_new_messages,omitempty"`
	Ranges             []*MessageRange `protobuf:"bytes,2,rep,name=ranges" json:"ranges,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelMessagesFilter <--

  • TL_channelMessagesFilterEmpty
  • TL_channelMessagesFilter

func (*ChannelMessagesFilter_Data) Descriptor

func (*ChannelMessagesFilter_Data) Descriptor() ([]byte, []int)

func (*ChannelMessagesFilter_Data) GetExcludeNewMessages

func (m *ChannelMessagesFilter_Data) GetExcludeNewMessages() bool

func (*ChannelMessagesFilter_Data) GetRanges

func (m *ChannelMessagesFilter_Data) GetRanges() []*MessageRange

func (*ChannelMessagesFilter_Data) ProtoMessage

func (*ChannelMessagesFilter_Data) ProtoMessage()

func (*ChannelMessagesFilter_Data) Reset

func (m *ChannelMessagesFilter_Data) Reset()

func (*ChannelMessagesFilter_Data) String

func (m *ChannelMessagesFilter_Data) String() string

type ChannelParticipant

type ChannelParticipant struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelParticipant) Decode

func (m *ChannelParticipant) Decode(dbuf *DecodeBuf) error

func (*ChannelParticipant) Descriptor

func (*ChannelParticipant) Descriptor() ([]byte, []int)

func (*ChannelParticipant) Encode

func (m *ChannelParticipant) Encode() []byte

func (*ChannelParticipant) GetConstructor

func (m *ChannelParticipant) GetConstructor() TLConstructor

func (*ChannelParticipant) GetData2

func (*ChannelParticipant) ProtoMessage

func (*ChannelParticipant) ProtoMessage()

func (*ChannelParticipant) Reset

func (m *ChannelParticipant) Reset()

func (*ChannelParticipant) String

func (m *ChannelParticipant) String() string

func (*ChannelParticipant) To_ChannelParticipant

func (m *ChannelParticipant) To_ChannelParticipant() *TLChannelParticipant

channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;

func (*ChannelParticipant) To_ChannelParticipantAdmin

func (m *ChannelParticipant) To_ChannelParticipantAdmin() *TLChannelParticipantAdmin

channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant;

func (*ChannelParticipant) To_ChannelParticipantBanned

func (m *ChannelParticipant) To_ChannelParticipantBanned() *TLChannelParticipantBanned

channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant;

func (*ChannelParticipant) To_ChannelParticipantCreator

func (m *ChannelParticipant) To_ChannelParticipantCreator() *TLChannelParticipantCreator

channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant;

func (*ChannelParticipant) To_ChannelParticipantSelf

func (m *ChannelParticipant) To_ChannelParticipantSelf() *TLChannelParticipantSelf

channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;

type ChannelParticipant_Data

type ChannelParticipant_Data struct {
	UserId       int32                `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Date         int32                `protobuf:"varint,2,opt,name=date" json:"date,omitempty"`
	InviterId    int32                `protobuf:"varint,3,opt,name=inviter_id,json=inviterId" json:"inviter_id,omitempty"`
	CanEdit      bool                 `protobuf:"varint,4,opt,name=can_edit,json=canEdit" json:"can_edit,omitempty"`
	PromotedBy   int32                `protobuf:"varint,5,opt,name=promoted_by,json=promotedBy" json:"promoted_by,omitempty"`
	AdminRights  *ChannelAdminRights  `protobuf:"bytes,6,opt,name=admin_rights,json=adminRights" json:"admin_rights,omitempty"`
	Left         bool                 `protobuf:"varint,7,opt,name=left" json:"left,omitempty"`
	KickedBy     int32                `protobuf:"varint,8,opt,name=kicked_by,json=kickedBy" json:"kicked_by,omitempty"`
	BannedRights *ChannelBannedRights `protobuf:"bytes,9,opt,name=banned_rights,json=bannedRights" json:"banned_rights,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelParticipant <--

  • TL_channelParticipant
  • TL_channelParticipantSelf
  • TL_channelParticipantCreator
  • TL_channelParticipantAdmin
  • TL_channelParticipantBanned

func (*ChannelParticipant_Data) Descriptor

func (*ChannelParticipant_Data) Descriptor() ([]byte, []int)

func (*ChannelParticipant_Data) GetAdminRights

func (m *ChannelParticipant_Data) GetAdminRights() *ChannelAdminRights

func (*ChannelParticipant_Data) GetBannedRights

func (m *ChannelParticipant_Data) GetBannedRights() *ChannelBannedRights

func (*ChannelParticipant_Data) GetCanEdit

func (m *ChannelParticipant_Data) GetCanEdit() bool

func (*ChannelParticipant_Data) GetDate

func (m *ChannelParticipant_Data) GetDate() int32

func (*ChannelParticipant_Data) GetInviterId

func (m *ChannelParticipant_Data) GetInviterId() int32

func (*ChannelParticipant_Data) GetKickedBy

func (m *ChannelParticipant_Data) GetKickedBy() int32

func (*ChannelParticipant_Data) GetLeft

func (m *ChannelParticipant_Data) GetLeft() bool

func (*ChannelParticipant_Data) GetPromotedBy

func (m *ChannelParticipant_Data) GetPromotedBy() int32

func (*ChannelParticipant_Data) GetUserId

func (m *ChannelParticipant_Data) GetUserId() int32

func (*ChannelParticipant_Data) ProtoMessage

func (*ChannelParticipant_Data) ProtoMessage()

func (*ChannelParticipant_Data) Reset

func (m *ChannelParticipant_Data) Reset()

func (*ChannelParticipant_Data) String

func (m *ChannelParticipant_Data) String() string

type ChannelParticipantsFilter

type ChannelParticipantsFilter struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChannelParticipantsFilter) Decode

func (m *ChannelParticipantsFilter) Decode(dbuf *DecodeBuf) error

func (*ChannelParticipantsFilter) Descriptor

func (*ChannelParticipantsFilter) Descriptor() ([]byte, []int)

func (*ChannelParticipantsFilter) Encode

func (m *ChannelParticipantsFilter) Encode() []byte

func (*ChannelParticipantsFilter) GetConstructor

func (m *ChannelParticipantsFilter) GetConstructor() TLConstructor

func (*ChannelParticipantsFilter) GetData2

func (*ChannelParticipantsFilter) ProtoMessage

func (*ChannelParticipantsFilter) ProtoMessage()

func (*ChannelParticipantsFilter) Reset

func (m *ChannelParticipantsFilter) Reset()

func (*ChannelParticipantsFilter) String

func (m *ChannelParticipantsFilter) String() string

func (*ChannelParticipantsFilter) To_ChannelParticipantsAdmins

func (m *ChannelParticipantsFilter) To_ChannelParticipantsAdmins() *TLChannelParticipantsAdmins

channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;

func (*ChannelParticipantsFilter) To_ChannelParticipantsBanned

func (m *ChannelParticipantsFilter) To_ChannelParticipantsBanned() *TLChannelParticipantsBanned

channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter;

func (*ChannelParticipantsFilter) To_ChannelParticipantsBots

func (m *ChannelParticipantsFilter) To_ChannelParticipantsBots() *TLChannelParticipantsBots

channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;

func (*ChannelParticipantsFilter) To_ChannelParticipantsKicked

func (m *ChannelParticipantsFilter) To_ChannelParticipantsKicked() *TLChannelParticipantsKicked

channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter;

func (*ChannelParticipantsFilter) To_ChannelParticipantsRecent

func (m *ChannelParticipantsFilter) To_ChannelParticipantsRecent() *TLChannelParticipantsRecent

channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;

func (*ChannelParticipantsFilter) To_ChannelParticipantsSearch

func (m *ChannelParticipantsFilter) To_ChannelParticipantsSearch() *TLChannelParticipantsSearch

channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter;

type ChannelParticipantsFilter_Data

type ChannelParticipantsFilter_Data struct {
	Q string `protobuf:"bytes,1,opt,name=q" json:"q,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChannelParticipantsFilter <--

  • TL_channelParticipantsRecent
  • TL_channelParticipantsAdmins
  • TL_channelParticipantsKicked
  • TL_channelParticipantsBots
  • TL_channelParticipantsBanned
  • TL_channelParticipantsSearch

func (*ChannelParticipantsFilter_Data) Descriptor

func (*ChannelParticipantsFilter_Data) Descriptor() ([]byte, []int)

func (*ChannelParticipantsFilter_Data) GetQ

func (*ChannelParticipantsFilter_Data) ProtoMessage

func (*ChannelParticipantsFilter_Data) ProtoMessage()

func (*ChannelParticipantsFilter_Data) Reset

func (m *ChannelParticipantsFilter_Data) Reset()

func (*ChannelParticipantsFilter_Data) String

type Channels_AdminLogResults

type Channels_AdminLogResults struct {
	Constructor TLConstructor                  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Channels_AdminLogResults_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Channels_AdminLogResults) Decode

func (m *Channels_AdminLogResults) Decode(dbuf *DecodeBuf) error

func (*Channels_AdminLogResults) Descriptor

func (*Channels_AdminLogResults) Descriptor() ([]byte, []int)

func (*Channels_AdminLogResults) Encode

func (m *Channels_AdminLogResults) Encode() []byte

func (*Channels_AdminLogResults) GetConstructor

func (m *Channels_AdminLogResults) GetConstructor() TLConstructor

func (*Channels_AdminLogResults) GetData2

func (*Channels_AdminLogResults) ProtoMessage

func (*Channels_AdminLogResults) ProtoMessage()

func (*Channels_AdminLogResults) Reset

func (m *Channels_AdminLogResults) Reset()

func (*Channels_AdminLogResults) String

func (m *Channels_AdminLogResults) String() string

func (*Channels_AdminLogResults) To_ChannelsAdminLogResults

func (m *Channels_AdminLogResults) To_ChannelsAdminLogResults() *TLChannelsAdminLogResults

channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;

type Channels_AdminLogResults_Data

type Channels_AdminLogResults_Data struct {
	Events []*ChannelAdminLogEvent `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"`
	Chats  []*Chat                 `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users  []*User                 `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels_AdminLogResults <--

  • TL_channels_adminLogResults

func (*Channels_AdminLogResults_Data) Descriptor

func (*Channels_AdminLogResults_Data) Descriptor() ([]byte, []int)

func (*Channels_AdminLogResults_Data) GetChats

func (m *Channels_AdminLogResults_Data) GetChats() []*Chat

func (*Channels_AdminLogResults_Data) GetEvents

func (*Channels_AdminLogResults_Data) GetUsers

func (m *Channels_AdminLogResults_Data) GetUsers() []*User

func (*Channels_AdminLogResults_Data) ProtoMessage

func (*Channels_AdminLogResults_Data) ProtoMessage()

func (*Channels_AdminLogResults_Data) Reset

func (m *Channels_AdminLogResults_Data) Reset()

func (*Channels_AdminLogResults_Data) String

type Channels_ChannelParticipant

type Channels_ChannelParticipant struct {
	Constructor TLConstructor                     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Channels_ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Channels_ChannelParticipant) Decode

func (m *Channels_ChannelParticipant) Decode(dbuf *DecodeBuf) error

func (*Channels_ChannelParticipant) Descriptor

func (*Channels_ChannelParticipant) Descriptor() ([]byte, []int)

func (*Channels_ChannelParticipant) Encode

func (m *Channels_ChannelParticipant) Encode() []byte

func (*Channels_ChannelParticipant) GetConstructor

func (m *Channels_ChannelParticipant) GetConstructor() TLConstructor

func (*Channels_ChannelParticipant) GetData2

func (*Channels_ChannelParticipant) ProtoMessage

func (*Channels_ChannelParticipant) ProtoMessage()

func (*Channels_ChannelParticipant) Reset

func (m *Channels_ChannelParticipant) Reset()

func (*Channels_ChannelParticipant) String

func (m *Channels_ChannelParticipant) String() string

func (*Channels_ChannelParticipant) To_ChannelsChannelParticipant

func (m *Channels_ChannelParticipant) To_ChannelsChannelParticipant() *TLChannelsChannelParticipant

channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant;

type Channels_ChannelParticipant_Data

type Channels_ChannelParticipant_Data struct {
	Participant *ChannelParticipant `protobuf:"bytes,1,opt,name=participant" json:"participant,omitempty"`
	Users       []*User             `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels_ChannelParticipant <--

  • TL_channels_channelParticipant

func (*Channels_ChannelParticipant_Data) Descriptor

func (*Channels_ChannelParticipant_Data) Descriptor() ([]byte, []int)

func (*Channels_ChannelParticipant_Data) GetParticipant

func (*Channels_ChannelParticipant_Data) GetUsers

func (m *Channels_ChannelParticipant_Data) GetUsers() []*User

func (*Channels_ChannelParticipant_Data) ProtoMessage

func (*Channels_ChannelParticipant_Data) ProtoMessage()

func (*Channels_ChannelParticipant_Data) Reset

func (*Channels_ChannelParticipant_Data) String

type Channels_ChannelParticipants

type Channels_ChannelParticipants struct {
	Constructor TLConstructor                      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Channels_ChannelParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Channels_ChannelParticipants) Decode

func (m *Channels_ChannelParticipants) Decode(dbuf *DecodeBuf) error

func (*Channels_ChannelParticipants) Descriptor

func (*Channels_ChannelParticipants) Descriptor() ([]byte, []int)

func (*Channels_ChannelParticipants) Encode

func (m *Channels_ChannelParticipants) Encode() []byte

func (*Channels_ChannelParticipants) GetConstructor

func (m *Channels_ChannelParticipants) GetConstructor() TLConstructor

func (*Channels_ChannelParticipants) GetData2

func (*Channels_ChannelParticipants) ProtoMessage

func (*Channels_ChannelParticipants) ProtoMessage()

func (*Channels_ChannelParticipants) Reset

func (m *Channels_ChannelParticipants) Reset()

func (*Channels_ChannelParticipants) String

func (*Channels_ChannelParticipants) To_ChannelsChannelParticipants

func (m *Channels_ChannelParticipants) To_ChannelsChannelParticipants() *TLChannelsChannelParticipants

channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants;

func (*Channels_ChannelParticipants) To_ChannelsChannelParticipantsNotModified

func (m *Channels_ChannelParticipants) To_ChannelsChannelParticipantsNotModified() *TLChannelsChannelParticipantsNotModified

channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants;

type Channels_ChannelParticipants_Data

type Channels_ChannelParticipants_Data struct {
	Count        int32                 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
	Participants []*ChannelParticipant `protobuf:"bytes,2,rep,name=participants" json:"participants,omitempty"`
	Users        []*User               `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels_ChannelParticipants <--

  • TL_channels_channelParticipants
  • TL_channels_channelParticipantsNotModified

func (*Channels_ChannelParticipants_Data) Descriptor

func (*Channels_ChannelParticipants_Data) Descriptor() ([]byte, []int)

func (*Channels_ChannelParticipants_Data) GetCount

func (*Channels_ChannelParticipants_Data) GetParticipants

func (m *Channels_ChannelParticipants_Data) GetParticipants() []*ChannelParticipant

func (*Channels_ChannelParticipants_Data) GetUsers

func (m *Channels_ChannelParticipants_Data) GetUsers() []*User

func (*Channels_ChannelParticipants_Data) ProtoMessage

func (*Channels_ChannelParticipants_Data) ProtoMessage()

func (*Channels_ChannelParticipants_Data) Reset

func (*Channels_ChannelParticipants_Data) String

type Chat

type Chat struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Chat_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Chat) Decode

func (m *Chat) Decode(dbuf *DecodeBuf) error

func (*Chat) Descriptor

func (*Chat) Descriptor() ([]byte, []int)

func (*Chat) Encode

func (m *Chat) Encode() []byte

func (*Chat) GetConstructor

func (m *Chat) GetConstructor() TLConstructor

func (*Chat) GetData2

func (m *Chat) GetData2() *Chat_Data

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) Reset

func (m *Chat) Reset()

func (*Chat) String

func (m *Chat) String() string

func (*Chat) To_Channel

func (m *Chat) To_Channel() *TLChannel

channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;

func (*Chat) To_ChannelForbidden

func (m *Chat) To_ChannelForbidden() *TLChannelForbidden

channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;

func (*Chat) To_Chat

func (m *Chat) To_Chat() *TLChat

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

func (*Chat) To_ChatEmpty

func (m *Chat) To_ChatEmpty() *TLChatEmpty

chatEmpty#9ba2d800 id:int = Chat;

func (*Chat) To_ChatForbidden

func (m *Chat) To_ChatForbidden() *TLChatForbidden

chatForbidden#7328bdb id:int title:string = Chat;

type ChatFull

type ChatFull struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChatFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChatFull) Decode

func (m *ChatFull) Decode(dbuf *DecodeBuf) error

func (*ChatFull) Descriptor

func (*ChatFull) Descriptor() ([]byte, []int)

func (*ChatFull) Encode

func (m *ChatFull) Encode() []byte

func (*ChatFull) GetConstructor

func (m *ChatFull) GetConstructor() TLConstructor

func (*ChatFull) GetData2

func (m *ChatFull) GetData2() *ChatFull_Data

func (*ChatFull) ProtoMessage

func (*ChatFull) ProtoMessage()

func (*ChatFull) Reset

func (m *ChatFull) Reset()

func (*ChatFull) String

func (m *ChatFull) String() string

func (*ChatFull) To_ChannelFull

func (m *ChatFull) To_ChannelFull() *TLChannelFull

channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?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> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull;

func (*ChatFull) To_ChatFull

func (m *ChatFull) To_ChatFull() *TLChatFull

chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> = ChatFull;

type ChatFull_Data

type ChatFull_Data struct {
	Id                  int32               `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Participants        *ChatParticipants   `protobuf:"bytes,2,opt,name=participants" json:"participants,omitempty"`
	ChatPhoto           *Photo              `protobuf:"bytes,3,opt,name=chat_photo,json=chatPhoto" json:"chat_photo,omitempty"`
	NotifySettings      *PeerNotifySettings `protobuf:"bytes,4,opt,name=notify_settings,json=notifySettings" json:"notify_settings,omitempty"`
	ExportedInvite      *ExportedChatInvite `protobuf:"bytes,5,opt,name=exported_invite,json=exportedInvite" json:"exported_invite,omitempty"`
	BotInfo             []*BotInfo          `protobuf:"bytes,6,rep,name=bot_info,json=botInfo" json:"bot_info,omitempty"`
	CanViewParticipants bool                `protobuf:"varint,7,opt,name=can_view_participants,json=canViewParticipants" json:"can_view_participants,omitempty"`
	CanSetUsername      bool                `protobuf:"varint,8,opt,name=can_set_username,json=canSetUsername" json:"can_set_username,omitempty"`
	CanSetStickers      bool                `protobuf:"varint,9,opt,name=can_set_stickers,json=canSetStickers" json:"can_set_stickers,omitempty"`
	HiddenPrehistory    bool                `protobuf:"varint,10,opt,name=hidden_prehistory,json=hiddenPrehistory" json:"hidden_prehistory,omitempty"`
	About               string              `protobuf:"bytes,11,opt,name=about" json:"about,omitempty"`
	ParticipantsCount   int32               `protobuf:"varint,12,opt,name=participants_count,json=participantsCount" json:"participants_count,omitempty"`
	AdminsCount         int32               `protobuf:"varint,13,opt,name=admins_count,json=adminsCount" json:"admins_count,omitempty"`
	KickedCount         int32               `protobuf:"varint,14,opt,name=kicked_count,json=kickedCount" json:"kicked_count,omitempty"`
	BannedCount         int32               `protobuf:"varint,15,opt,name=banned_count,json=bannedCount" json:"banned_count,omitempty"`
	ReadInboxMaxId      int32               `protobuf:"varint,16,opt,name=read_inbox_max_id,json=readInboxMaxId" json:"read_inbox_max_id,omitempty"`
	ReadOutboxMaxId     int32               `protobuf:"varint,17,opt,name=read_outbox_max_id,json=readOutboxMaxId" json:"read_outbox_max_id,omitempty"`
	UnreadCount         int32               `protobuf:"varint,18,opt,name=unread_count,json=unreadCount" json:"unread_count,omitempty"`
	MigratedFromChatId  int32               `protobuf:"varint,19,opt,name=migrated_from_chat_id,json=migratedFromChatId" json:"migrated_from_chat_id,omitempty"`
	MigratedFromMaxId   int32               `protobuf:"varint,20,opt,name=migrated_from_max_id,json=migratedFromMaxId" json:"migrated_from_max_id,omitempty"`
	PinnedMsgId         int32               `protobuf:"varint,21,opt,name=pinned_msg_id,json=pinnedMsgId" json:"pinned_msg_id,omitempty"`
	Stickerset          *StickerSet         `protobuf:"bytes,22,opt,name=stickerset" json:"stickerset,omitempty"`
	AvailableMinId      int32               `protobuf:"varint,23,opt,name=available_min_id,json=availableMinId" json:"available_min_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChatFull <--

  • TL_chatFull
  • TL_channelFull

func (*ChatFull_Data) Descriptor

func (*ChatFull_Data) Descriptor() ([]byte, []int)

func (*ChatFull_Data) GetAbout

func (m *ChatFull_Data) GetAbout() string

func (*ChatFull_Data) GetAdminsCount

func (m *ChatFull_Data) GetAdminsCount() int32

func (*ChatFull_Data) GetAvailableMinId

func (m *ChatFull_Data) GetAvailableMinId() int32

func (*ChatFull_Data) GetBannedCount

func (m *ChatFull_Data) GetBannedCount() int32

func (*ChatFull_Data) GetBotInfo

func (m *ChatFull_Data) GetBotInfo() []*BotInfo

func (*ChatFull_Data) GetCanSetStickers

func (m *ChatFull_Data) GetCanSetStickers() bool

func (*ChatFull_Data) GetCanSetUsername

func (m *ChatFull_Data) GetCanSetUsername() bool

func (*ChatFull_Data) GetCanViewParticipants

func (m *ChatFull_Data) GetCanViewParticipants() bool

func (*ChatFull_Data) GetChatPhoto

func (m *ChatFull_Data) GetChatPhoto() *Photo

func (*ChatFull_Data) GetExportedInvite

func (m *ChatFull_Data) GetExportedInvite() *ExportedChatInvite

func (*ChatFull_Data) GetHiddenPrehistory

func (m *ChatFull_Data) GetHiddenPrehistory() bool

func (*ChatFull_Data) GetId

func (m *ChatFull_Data) GetId() int32

func (*ChatFull_Data) GetKickedCount

func (m *ChatFull_Data) GetKickedCount() int32

func (*ChatFull_Data) GetMigratedFromChatId

func (m *ChatFull_Data) GetMigratedFromChatId() int32

func (*ChatFull_Data) GetMigratedFromMaxId

func (m *ChatFull_Data) GetMigratedFromMaxId() int32

func (*ChatFull_Data) GetNotifySettings

func (m *ChatFull_Data) GetNotifySettings() *PeerNotifySettings

func (*ChatFull_Data) GetParticipants

func (m *ChatFull_Data) GetParticipants() *ChatParticipants

func (*ChatFull_Data) GetParticipantsCount

func (m *ChatFull_Data) GetParticipantsCount() int32

func (*ChatFull_Data) GetPinnedMsgId

func (m *ChatFull_Data) GetPinnedMsgId() int32

func (*ChatFull_Data) GetReadInboxMaxId

func (m *ChatFull_Data) GetReadInboxMaxId() int32

func (*ChatFull_Data) GetReadOutboxMaxId

func (m *ChatFull_Data) GetReadOutboxMaxId() int32

func (*ChatFull_Data) GetStickerset

func (m *ChatFull_Data) GetStickerset() *StickerSet

func (*ChatFull_Data) GetUnreadCount

func (m *ChatFull_Data) GetUnreadCount() int32

func (*ChatFull_Data) ProtoMessage

func (*ChatFull_Data) ProtoMessage()

func (*ChatFull_Data) Reset

func (m *ChatFull_Data) Reset()

func (*ChatFull_Data) String

func (m *ChatFull_Data) String() string

type ChatInvite

type ChatInvite struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChatInvite) Decode

func (m *ChatInvite) Decode(dbuf *DecodeBuf) error

func (*ChatInvite) Descriptor

func (*ChatInvite) Descriptor() ([]byte, []int)

func (*ChatInvite) Encode

func (m *ChatInvite) Encode() []byte

func (*ChatInvite) GetConstructor

func (m *ChatInvite) GetConstructor() TLConstructor

func (*ChatInvite) GetData2

func (m *ChatInvite) GetData2() *ChatInvite_Data

func (*ChatInvite) ProtoMessage

func (*ChatInvite) ProtoMessage()

func (*ChatInvite) Reset

func (m *ChatInvite) Reset()

func (*ChatInvite) String

func (m *ChatInvite) String() string

func (*ChatInvite) To_ChatInvite

func (m *ChatInvite) To_ChatInvite() *TLChatInvite

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

func (*ChatInvite) To_ChatInviteAlready

func (m *ChatInvite) To_ChatInviteAlready() *TLChatInviteAlready

chatInviteAlready#5a686d7c chat:Chat = ChatInvite;

type ChatInvite_Data

type ChatInvite_Data struct {
	Chat              *Chat      `protobuf:"bytes,1,opt,name=chat" json:"chat,omitempty"`
	Channel           bool       `protobuf:"varint,2,opt,name=channel" json:"channel,omitempty"`
	Broadcast         bool       `protobuf:"varint,3,opt,name=broadcast" json:"broadcast,omitempty"`
	Public            bool       `protobuf:"varint,4,opt,name=public" json:"public,omitempty"`
	Megagroup         bool       `protobuf:"varint,5,opt,name=megagroup" json:"megagroup,omitempty"`
	Title             string     `protobuf:"bytes,6,opt,name=title" json:"title,omitempty"`
	Photo             *ChatPhoto `protobuf:"bytes,7,opt,name=photo" json:"photo,omitempty"`
	ParticipantsCount int32      `protobuf:"varint,8,opt,name=participants_count,json=participantsCount" json:"participants_count,omitempty"`
	Participants      []*User    `protobuf:"bytes,9,rep,name=participants" json:"participants,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChatInvite <--

  • TL_chatInviteAlready
  • TL_chatInvite

func (*ChatInvite_Data) Descriptor

func (*ChatInvite_Data) Descriptor() ([]byte, []int)

func (*ChatInvite_Data) GetBroadcast

func (m *ChatInvite_Data) GetBroadcast() bool

func (*ChatInvite_Data) GetChannel

func (m *ChatInvite_Data) GetChannel() bool

func (*ChatInvite_Data) GetChat

func (m *ChatInvite_Data) GetChat() *Chat

func (*ChatInvite_Data) GetMegagroup

func (m *ChatInvite_Data) GetMegagroup() bool

func (*ChatInvite_Data) GetParticipants

func (m *ChatInvite_Data) GetParticipants() []*User

func (*ChatInvite_Data) GetParticipantsCount

func (m *ChatInvite_Data) GetParticipantsCount() int32

func (*ChatInvite_Data) GetPhoto

func (m *ChatInvite_Data) GetPhoto() *ChatPhoto

func (*ChatInvite_Data) GetPublic

func (m *ChatInvite_Data) GetPublic() bool

func (*ChatInvite_Data) GetTitle

func (m *ChatInvite_Data) GetTitle() string

func (*ChatInvite_Data) ProtoMessage

func (*ChatInvite_Data) ProtoMessage()

func (*ChatInvite_Data) Reset

func (m *ChatInvite_Data) Reset()

func (*ChatInvite_Data) String

func (m *ChatInvite_Data) String() string

type ChatParticipant

type ChatParticipant struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChatParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChatParticipant) Decode

func (m *ChatParticipant) Decode(dbuf *DecodeBuf) error

func (*ChatParticipant) Descriptor

func (*ChatParticipant) Descriptor() ([]byte, []int)

func (*ChatParticipant) Encode

func (m *ChatParticipant) Encode() []byte

func (*ChatParticipant) GetConstructor

func (m *ChatParticipant) GetConstructor() TLConstructor

func (*ChatParticipant) GetData2

func (m *ChatParticipant) GetData2() *ChatParticipant_Data

func (*ChatParticipant) ProtoMessage

func (*ChatParticipant) ProtoMessage()

func (*ChatParticipant) Reset

func (m *ChatParticipant) Reset()

func (*ChatParticipant) String

func (m *ChatParticipant) String() string

func (*ChatParticipant) To_ChatParticipant

func (m *ChatParticipant) To_ChatParticipant() *TLChatParticipant

chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;

func (*ChatParticipant) To_ChatParticipantAdmin

func (m *ChatParticipant) To_ChatParticipantAdmin() *TLChatParticipantAdmin

chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;

func (*ChatParticipant) To_ChatParticipantCreator

func (m *ChatParticipant) To_ChatParticipantCreator() *TLChatParticipantCreator

chatParticipantCreator#da13538a user_id:int = ChatParticipant;

type ChatParticipant_Data

type ChatParticipant_Data struct {
	UserId    int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	InviterId int32 `protobuf:"varint,2,opt,name=inviter_id,json=inviterId" json:"inviter_id,omitempty"`
	Date      int32 `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChatParticipant <--

  • TL_chatParticipant
  • TL_chatParticipantCreator
  • TL_chatParticipantAdmin

func (*ChatParticipant_Data) Descriptor

func (*ChatParticipant_Data) Descriptor() ([]byte, []int)

func (*ChatParticipant_Data) GetDate

func (m *ChatParticipant_Data) GetDate() int32

func (*ChatParticipant_Data) GetInviterId

func (m *ChatParticipant_Data) GetInviterId() int32

func (*ChatParticipant_Data) GetUserId

func (m *ChatParticipant_Data) GetUserId() int32

func (*ChatParticipant_Data) ProtoMessage

func (*ChatParticipant_Data) ProtoMessage()

func (*ChatParticipant_Data) Reset

func (m *ChatParticipant_Data) Reset()

func (*ChatParticipant_Data) String

func (m *ChatParticipant_Data) String() string

type ChatParticipants

type ChatParticipants struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChatParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChatParticipants) Decode

func (m *ChatParticipants) Decode(dbuf *DecodeBuf) error

func (*ChatParticipants) Descriptor

func (*ChatParticipants) Descriptor() ([]byte, []int)

func (*ChatParticipants) Encode

func (m *ChatParticipants) Encode() []byte

func (*ChatParticipants) GetConstructor

func (m *ChatParticipants) GetConstructor() TLConstructor

func (*ChatParticipants) GetData2

func (m *ChatParticipants) GetData2() *ChatParticipants_Data

func (*ChatParticipants) ProtoMessage

func (*ChatParticipants) ProtoMessage()

func (*ChatParticipants) Reset

func (m *ChatParticipants) Reset()

func (*ChatParticipants) String

func (m *ChatParticipants) String() string

func (*ChatParticipants) To_ChatParticipants

func (m *ChatParticipants) To_ChatParticipants() *TLChatParticipants

chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> version:int = ChatParticipants;

func (*ChatParticipants) To_ChatParticipantsForbidden

func (m *ChatParticipants) To_ChatParticipantsForbidden() *TLChatParticipantsForbidden

chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants;

type ChatParticipants_Data

type ChatParticipants_Data struct {
	ChatId          int32              `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	SelfParticipant *ChatParticipant   `protobuf:"bytes,2,opt,name=self_participant,json=selfParticipant" json:"self_participant,omitempty"`
	Participants    []*ChatParticipant `protobuf:"bytes,3,rep,name=participants" json:"participants,omitempty"`
	Version         int32              `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChatParticipants <--

  • TL_chatParticipantsForbidden
  • TL_chatParticipants

func (*ChatParticipants_Data) Descriptor

func (*ChatParticipants_Data) Descriptor() ([]byte, []int)

func (*ChatParticipants_Data) GetChatId

func (m *ChatParticipants_Data) GetChatId() int32

func (*ChatParticipants_Data) GetParticipants

func (m *ChatParticipants_Data) GetParticipants() []*ChatParticipant

func (*ChatParticipants_Data) GetSelfParticipant

func (m *ChatParticipants_Data) GetSelfParticipant() *ChatParticipant

func (*ChatParticipants_Data) GetVersion

func (m *ChatParticipants_Data) GetVersion() int32

func (*ChatParticipants_Data) ProtoMessage

func (*ChatParticipants_Data) ProtoMessage()

func (*ChatParticipants_Data) Reset

func (m *ChatParticipants_Data) Reset()

func (*ChatParticipants_Data) String

func (m *ChatParticipants_Data) String() string

type ChatPhoto

type ChatPhoto struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ChatPhoto) Decode

func (m *ChatPhoto) Decode(dbuf *DecodeBuf) error

func (*ChatPhoto) Descriptor

func (*ChatPhoto) Descriptor() ([]byte, []int)

func (*ChatPhoto) Encode

func (m *ChatPhoto) Encode() []byte

func (*ChatPhoto) GetConstructor

func (m *ChatPhoto) GetConstructor() TLConstructor

func (*ChatPhoto) GetData2

func (m *ChatPhoto) GetData2() *ChatPhoto_Data

func (*ChatPhoto) ProtoMessage

func (*ChatPhoto) ProtoMessage()

func (*ChatPhoto) Reset

func (m *ChatPhoto) Reset()

func (*ChatPhoto) String

func (m *ChatPhoto) String() string

func (*ChatPhoto) To_ChatPhoto

func (m *ChatPhoto) To_ChatPhoto() *TLChatPhoto

chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto;

func (*ChatPhoto) To_ChatPhotoEmpty

func (m *ChatPhoto) To_ChatPhotoEmpty() *TLChatPhotoEmpty

chatPhotoEmpty#37c1011c = ChatPhoto;

type ChatPhoto_Data

type ChatPhoto_Data struct {
	PhotoSmall *FileLocation `protobuf:"bytes,1,opt,name=photo_small,json=photoSmall" json:"photo_small,omitempty"`
	PhotoBig   *FileLocation `protobuf:"bytes,2,opt,name=photo_big,json=photoBig" json:"photo_big,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ChatPhoto <--

  • TL_chatPhotoEmpty
  • TL_chatPhoto

func (*ChatPhoto_Data) Descriptor

func (*ChatPhoto_Data) Descriptor() ([]byte, []int)

func (*ChatPhoto_Data) GetPhotoBig

func (m *ChatPhoto_Data) GetPhotoBig() *FileLocation

func (*ChatPhoto_Data) GetPhotoSmall

func (m *ChatPhoto_Data) GetPhotoSmall() *FileLocation

func (*ChatPhoto_Data) ProtoMessage

func (*ChatPhoto_Data) ProtoMessage()

func (*ChatPhoto_Data) Reset

func (m *ChatPhoto_Data) Reset()

func (*ChatPhoto_Data) String

func (m *ChatPhoto_Data) String() string

type Chat_Data

type Chat_Data struct {
	Id                int32                `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Creator           bool                 `protobuf:"varint,2,opt,name=creator" json:"creator,omitempty"`
	Kicked            bool                 `protobuf:"varint,3,opt,name=kicked" json:"kicked,omitempty"`
	Left              bool                 `protobuf:"varint,4,opt,name=left" json:"left,omitempty"`
	AdminsEnabled     bool                 `protobuf:"varint,5,opt,name=admins_enabled,json=adminsEnabled" json:"admins_enabled,omitempty"`
	Admin             bool                 `protobuf:"varint,6,opt,name=admin" json:"admin,omitempty"`
	Deactivated       bool                 `protobuf:"varint,7,opt,name=deactivated" json:"deactivated,omitempty"`
	Title             string               `protobuf:"bytes,8,opt,name=title" json:"title,omitempty"`
	Photo             *ChatPhoto           `protobuf:"bytes,9,opt,name=photo" json:"photo,omitempty"`
	ParticipantsCount int32                `protobuf:"varint,10,opt,name=participants_count,json=participantsCount" json:"participants_count,omitempty"`
	Date              int32                `protobuf:"varint,11,opt,name=date" json:"date,omitempty"`
	Version           int32                `protobuf:"varint,12,opt,name=version" json:"version,omitempty"`
	MigratedTo        *InputChannel        `protobuf:"bytes,13,opt,name=migrated_to,json=migratedTo" json:"migrated_to,omitempty"`
	Editor            bool                 `protobuf:"varint,14,opt,name=editor" json:"editor,omitempty"`
	Broadcast         bool                 `protobuf:"varint,15,opt,name=broadcast" json:"broadcast,omitempty"`
	Verified          bool                 `protobuf:"varint,16,opt,name=verified" json:"verified,omitempty"`
	Megagroup         bool                 `protobuf:"varint,17,opt,name=megagroup" json:"megagroup,omitempty"`
	Restricted        bool                 `protobuf:"varint,18,opt,name=restricted" json:"restricted,omitempty"`
	Democracy         bool                 `protobuf:"varint,19,opt,name=democracy" json:"democracy,omitempty"`
	Signatures        bool                 `protobuf:"varint,20,opt,name=signatures" json:"signatures,omitempty"`
	Min               bool                 `protobuf:"varint,21,opt,name=min" json:"min,omitempty"`
	AccessHash        int64                `protobuf:"varint,22,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Username          string               `protobuf:"bytes,23,opt,name=username" json:"username,omitempty"`
	RestrictionReason string               `protobuf:"bytes,24,opt,name=restriction_reason,json=restrictionReason" json:"restriction_reason,omitempty"`
	AdminRights       *ChannelAdminRights  `protobuf:"bytes,25,opt,name=admin_rights,json=adminRights" json:"admin_rights,omitempty"`
	BannedRights      *ChannelBannedRights `protobuf:"bytes,26,opt,name=banned_rights,json=bannedRights" json:"banned_rights,omitempty"`
	UntilDate         int32                `protobuf:"varint,27,opt,name=until_date,json=untilDate" json:"until_date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Chat <--

  • TL_chatEmpty
  • TL_chat
  • TL_chatForbidden
  • TL_channel
  • TL_channelForbidden

func (*Chat_Data) Descriptor

func (*Chat_Data) Descriptor() ([]byte, []int)

func (*Chat_Data) GetAccessHash

func (m *Chat_Data) GetAccessHash() int64

func (*Chat_Data) GetAdmin

func (m *Chat_Data) GetAdmin() bool

func (*Chat_Data) GetAdminRights

func (m *Chat_Data) GetAdminRights() *ChannelAdminRights

func (*Chat_Data) GetAdminsEnabled

func (m *Chat_Data) GetAdminsEnabled() bool

func (*Chat_Data) GetBannedRights

func (m *Chat_Data) GetBannedRights() *ChannelBannedRights

func (*Chat_Data) GetBroadcast

func (m *Chat_Data) GetBroadcast() bool

func (*Chat_Data) GetCreator

func (m *Chat_Data) GetCreator() bool

func (*Chat_Data) GetDate

func (m *Chat_Data) GetDate() int32

func (*Chat_Data) GetDeactivated

func (m *Chat_Data) GetDeactivated() bool

func (*Chat_Data) GetDemocracy

func (m *Chat_Data) GetDemocracy() bool

func (*Chat_Data) GetEditor

func (m *Chat_Data) GetEditor() bool

func (*Chat_Data) GetId

func (m *Chat_Data) GetId() int32

func (*Chat_Data) GetKicked

func (m *Chat_Data) GetKicked() bool

func (*Chat_Data) GetLeft

func (m *Chat_Data) GetLeft() bool

func (*Chat_Data) GetMegagroup

func (m *Chat_Data) GetMegagroup() bool

func (*Chat_Data) GetMigratedTo

func (m *Chat_Data) GetMigratedTo() *InputChannel

func (*Chat_Data) GetMin

func (m *Chat_Data) GetMin() bool

func (*Chat_Data) GetParticipantsCount

func (m *Chat_Data) GetParticipantsCount() int32

func (*Chat_Data) GetPhoto

func (m *Chat_Data) GetPhoto() *ChatPhoto

func (*Chat_Data) GetRestricted

func (m *Chat_Data) GetRestricted() bool

func (*Chat_Data) GetRestrictionReason

func (m *Chat_Data) GetRestrictionReason() string

func (*Chat_Data) GetSignatures

func (m *Chat_Data) GetSignatures() bool

func (*Chat_Data) GetTitle

func (m *Chat_Data) GetTitle() string

func (*Chat_Data) GetUntilDate

func (m *Chat_Data) GetUntilDate() int32

func (*Chat_Data) GetUsername

func (m *Chat_Data) GetUsername() string

func (*Chat_Data) GetVerified

func (m *Chat_Data) GetVerified() bool

func (*Chat_Data) GetVersion

func (m *Chat_Data) GetVersion() int32

func (*Chat_Data) ProtoMessage

func (*Chat_Data) ProtoMessage()

func (*Chat_Data) Reset

func (m *Chat_Data) Reset()

func (*Chat_Data) String

func (m *Chat_Data) String() string

type ClientUpdatesState

type ClientUpdatesState struct {
	Pts      int32 `protobuf:"varint,1,opt,name=pts" json:"pts,omitempty"`
	PtsCount int32 `protobuf:"varint,2,opt,name=pts_count,json=ptsCount" json:"pts_count,omitempty"`
	Qts      int32 `protobuf:"varint,3,opt,name=qts" json:"qts,omitempty"`
	QtsCount int32 `protobuf:"varint,4,opt,name=qts_count,json=qtsCount" json:"qts_count,omitempty"`
	Seq      int32 `protobuf:"varint,5,opt,name=seq" json:"seq,omitempty"`
	SeqStart int32 `protobuf:"varint,6,opt,name=seq_start,json=seqStart" json:"seq_start,omitempty"`
	Date     int32 `protobuf:"varint,7,opt,name=date" json:"date,omitempty"`
}

PushMessage state

func (*ClientUpdatesState) Descriptor

func (*ClientUpdatesState) Descriptor() ([]byte, []int)

func (*ClientUpdatesState) GetDate

func (m *ClientUpdatesState) GetDate() int32

func (*ClientUpdatesState) GetPts

func (m *ClientUpdatesState) GetPts() int32

func (*ClientUpdatesState) GetPtsCount

func (m *ClientUpdatesState) GetPtsCount() int32

func (*ClientUpdatesState) GetQts

func (m *ClientUpdatesState) GetQts() int32

func (*ClientUpdatesState) GetQtsCount

func (m *ClientUpdatesState) GetQtsCount() int32

func (*ClientUpdatesState) GetSeq

func (m *ClientUpdatesState) GetSeq() int32

func (*ClientUpdatesState) GetSeqStart

func (m *ClientUpdatesState) GetSeqStart() int32

func (*ClientUpdatesState) ProtoMessage

func (*ClientUpdatesState) ProtoMessage()

func (*ClientUpdatesState) Reset

func (m *ClientUpdatesState) Reset()

func (*ClientUpdatesState) String

func (m *ClientUpdatesState) String() string

type Client_DH_Inner_Data

type Client_DH_Inner_Data struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Client_DH_Inner_Data_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Client_DH_Inner_Data) Decode

func (m *Client_DH_Inner_Data) Decode(dbuf *DecodeBuf) error

func (*Client_DH_Inner_Data) Descriptor

func (*Client_DH_Inner_Data) Descriptor() ([]byte, []int)

func (*Client_DH_Inner_Data) Encode

func (m *Client_DH_Inner_Data) Encode() []byte

func (*Client_DH_Inner_Data) GetConstructor

func (m *Client_DH_Inner_Data) GetConstructor() TLConstructor

func (*Client_DH_Inner_Data) GetData2

func (*Client_DH_Inner_Data) ProtoMessage

func (*Client_DH_Inner_Data) ProtoMessage()

func (*Client_DH_Inner_Data) Reset

func (m *Client_DH_Inner_Data) Reset()

func (*Client_DH_Inner_Data) String

func (m *Client_DH_Inner_Data) String() string

func (*Client_DH_Inner_Data) To_Client_DHInnerData

func (m *Client_DH_Inner_Data) To_Client_DHInnerData() *TLClient_DHInnerData

client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;

type Client_DH_Inner_Data_Data

type Client_DH_Inner_Data_Data struct {
	Nonce       []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	RetryId     int64  `protobuf:"varint,3,opt,name=retry_id,json=retryId" json:"retry_id,omitempty"`
	GB          string `protobuf:"bytes,4,opt,name=g_b,json=gB" json:"g_b,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Client_DH_Inner_Data <--

  • TL_client_DH_inner_data

func (*Client_DH_Inner_Data_Data) Descriptor

func (*Client_DH_Inner_Data_Data) Descriptor() ([]byte, []int)

func (*Client_DH_Inner_Data_Data) GetGB

func (m *Client_DH_Inner_Data_Data) GetGB() string

func (*Client_DH_Inner_Data_Data) GetNonce

func (m *Client_DH_Inner_Data_Data) GetNonce() []byte

func (*Client_DH_Inner_Data_Data) GetRetryId

func (m *Client_DH_Inner_Data_Data) GetRetryId() int64

func (*Client_DH_Inner_Data_Data) GetServerNonce

func (m *Client_DH_Inner_Data_Data) GetServerNonce() []byte

func (*Client_DH_Inner_Data_Data) ProtoMessage

func (*Client_DH_Inner_Data_Data) ProtoMessage()

func (*Client_DH_Inner_Data_Data) Reset

func (m *Client_DH_Inner_Data_Data) Reset()

func (*Client_DH_Inner_Data_Data) String

func (m *Client_DH_Inner_Data_Data) String() string

type Config

type Config struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Config_Data  `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Config) Decode

func (m *Config) Decode(dbuf *DecodeBuf) error

func (*Config) Descriptor

func (*Config) Descriptor() ([]byte, []int)

func (*Config) Encode

func (m *Config) Encode() []byte

func (*Config) GetConstructor

func (m *Config) GetConstructor() TLConstructor

func (*Config) GetData2

func (m *Config) GetData2() *Config_Data

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) Reset

func (m *Config) Reset()

func (*Config) String

func (m *Config) String() string

func (*Config) To_Config

func (m *Config) To_Config() *TLConfig

config#9c840964 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?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 stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?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 suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector<DisabledFeature> = Config;

type Config_Data

type Config_Data struct {
	PhonecallsEnabled       bool               `protobuf:"varint,1,opt,name=phonecalls_enabled,json=phonecallsEnabled" json:"phonecalls_enabled,omitempty"`
	DefaultP2PContacts      bool               `protobuf:"varint,2,opt,name=default_p2p_contacts,json=defaultP2pContacts" json:"default_p2p_contacts,omitempty"`
	Date                    int32              `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	Expires                 int32              `protobuf:"varint,4,opt,name=expires" json:"expires,omitempty"`
	TestMode                *Bool              `protobuf:"bytes,5,opt,name=test_mode,json=testMode" json:"test_mode,omitempty"`
	ThisDc                  int32              `protobuf:"varint,6,opt,name=this_dc,json=thisDc" json:"this_dc,omitempty"`
	DcOptions               []*DcOption        `protobuf:"bytes,7,rep,name=dc_options,json=dcOptions" json:"dc_options,omitempty"`
	ChatSizeMax             int32              `protobuf:"varint,8,opt,name=chat_size_max,json=chatSizeMax" json:"chat_size_max,omitempty"`
	MegagroupSizeMax        int32              `protobuf:"varint,9,opt,name=megagroup_size_max,json=megagroupSizeMax" json:"megagroup_size_max,omitempty"`
	ForwardedCountMax       int32              `protobuf:"varint,10,opt,name=forwarded_count_max,json=forwardedCountMax" json:"forwarded_count_max,omitempty"`
	OnlineUpdatePeriodMs    int32              `protobuf:"varint,11,opt,name=online_update_period_ms,json=onlineUpdatePeriodMs" json:"online_update_period_ms,omitempty"`
	OfflineBlurTimeoutMs    int32              `protobuf:"varint,12,opt,name=offline_blur_timeout_ms,json=offlineBlurTimeoutMs" json:"offline_blur_timeout_ms,omitempty"`
	OfflineIdleTimeoutMs    int32              `protobuf:"varint,13,opt,name=offline_idle_timeout_ms,json=offlineIdleTimeoutMs" json:"offline_idle_timeout_ms,omitempty"`
	OnlineCloudTimeoutMs    int32              `protobuf:"varint,14,opt,name=online_cloud_timeout_ms,json=onlineCloudTimeoutMs" json:"online_cloud_timeout_ms,omitempty"`
	NotifyCloudDelayMs      int32              `protobuf:"varint,15,opt,name=notify_cloud_delay_ms,json=notifyCloudDelayMs" json:"notify_cloud_delay_ms,omitempty"`
	NotifyDefaultDelayMs    int32              `protobuf:"varint,16,opt,name=notify_default_delay_ms,json=notifyDefaultDelayMs" json:"notify_default_delay_ms,omitempty"`
	ChatBigSize             int32              `protobuf:"varint,17,opt,name=chat_big_size,json=chatBigSize" json:"chat_big_size,omitempty"`
	PushChatPeriodMs        int32              `protobuf:"varint,18,opt,name=push_chat_period_ms,json=pushChatPeriodMs" json:"push_chat_period_ms,omitempty"`
	PushChatLimit           int32              `protobuf:"varint,19,opt,name=push_chat_limit,json=pushChatLimit" json:"push_chat_limit,omitempty"`
	SavedGifsLimit          int32              `protobuf:"varint,20,opt,name=saved_gifs_limit,json=savedGifsLimit" json:"saved_gifs_limit,omitempty"`
	EditTimeLimit           int32              `protobuf:"varint,21,opt,name=edit_time_limit,json=editTimeLimit" json:"edit_time_limit,omitempty"`
	RatingEDecay            int32              `protobuf:"varint,22,opt,name=rating_e_decay,json=ratingEDecay" json:"rating_e_decay,omitempty"`
	StickersRecentLimit     int32              `protobuf:"varint,23,opt,name=stickers_recent_limit,json=stickersRecentLimit" json:"stickers_recent_limit,omitempty"`
	StickersFavedLimit      int32              `protobuf:"varint,24,opt,name=stickers_faved_limit,json=stickersFavedLimit" json:"stickers_faved_limit,omitempty"`
	ChannelsReadMediaPeriod int32              `` /* 129-byte string literal not displayed */
	TmpSessions             int32              `protobuf:"varint,26,opt,name=tmp_sessions,json=tmpSessions" json:"tmp_sessions,omitempty"`
	PinnedDialogsCountMax   int32              `protobuf:"varint,27,opt,name=pinned_dialogs_count_max,json=pinnedDialogsCountMax" json:"pinned_dialogs_count_max,omitempty"`
	CallReceiveTimeoutMs    int32              `protobuf:"varint,28,opt,name=call_receive_timeout_ms,json=callReceiveTimeoutMs" json:"call_receive_timeout_ms,omitempty"`
	CallRingTimeoutMs       int32              `protobuf:"varint,29,opt,name=call_ring_timeout_ms,json=callRingTimeoutMs" json:"call_ring_timeout_ms,omitempty"`
	CallConnectTimeoutMs    int32              `protobuf:"varint,30,opt,name=call_connect_timeout_ms,json=callConnectTimeoutMs" json:"call_connect_timeout_ms,omitempty"`
	CallPacketTimeoutMs     int32              `protobuf:"varint,31,opt,name=call_packet_timeout_ms,json=callPacketTimeoutMs" json:"call_packet_timeout_ms,omitempty"`
	MeUrlPrefix             string             `protobuf:"bytes,32,opt,name=me_url_prefix,json=meUrlPrefix" json:"me_url_prefix,omitempty"`
	SuggestedLangCode       string             `protobuf:"bytes,33,opt,name=suggested_lang_code,json=suggestedLangCode" json:"suggested_lang_code,omitempty"`
	LangPackVersion         int32              `protobuf:"varint,34,opt,name=lang_pack_version,json=langPackVersion" json:"lang_pack_version,omitempty"`
	DisabledFeatures        []*DisabledFeature `protobuf:"bytes,35,rep,name=disabled_features,json=disabledFeatures" json:"disabled_features,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Config <--

  • TL_config

func (*Config_Data) Descriptor

func (*Config_Data) Descriptor() ([]byte, []int)

func (*Config_Data) GetCallConnectTimeoutMs

func (m *Config_Data) GetCallConnectTimeoutMs() int32

func (*Config_Data) GetCallPacketTimeoutMs

func (m *Config_Data) GetCallPacketTimeoutMs() int32

func (*Config_Data) GetCallReceiveTimeoutMs

func (m *Config_Data) GetCallReceiveTimeoutMs() int32

func (*Config_Data) GetCallRingTimeoutMs

func (m *Config_Data) GetCallRingTimeoutMs() int32

func (*Config_Data) GetChannelsReadMediaPeriod

func (m *Config_Data) GetChannelsReadMediaPeriod() int32

func (*Config_Data) GetChatBigSize

func (m *Config_Data) GetChatBigSize() int32

func (*Config_Data) GetChatSizeMax

func (m *Config_Data) GetChatSizeMax() int32

func (*Config_Data) GetDate

func (m *Config_Data) GetDate() int32

func (*Config_Data) GetDcOptions

func (m *Config_Data) GetDcOptions() []*DcOption

func (*Config_Data) GetDefaultP2PContacts

func (m *Config_Data) GetDefaultP2PContacts() bool

func (*Config_Data) GetDisabledFeatures

func (m *Config_Data) GetDisabledFeatures() []*DisabledFeature

func (*Config_Data) GetEditTimeLimit

func (m *Config_Data) GetEditTimeLimit() int32

func (*Config_Data) GetExpires

func (m *Config_Data) GetExpires() int32

func (*Config_Data) GetForwardedCountMax

func (m *Config_Data) GetForwardedCountMax() int32

func (*Config_Data) GetLangPackVersion

func (m *Config_Data) GetLangPackVersion() int32

func (*Config_Data) GetMeUrlPrefix

func (m *Config_Data) GetMeUrlPrefix() string

func (*Config_Data) GetMegagroupSizeMax

func (m *Config_Data) GetMegagroupSizeMax() int32

func (*Config_Data) GetNotifyCloudDelayMs

func (m *Config_Data) GetNotifyCloudDelayMs() int32

func (*Config_Data) GetNotifyDefaultDelayMs

func (m *Config_Data) GetNotifyDefaultDelayMs() int32

func (*Config_Data) GetOfflineBlurTimeoutMs

func (m *Config_Data) GetOfflineBlurTimeoutMs() int32

func (*Config_Data) GetOfflineIdleTimeoutMs

func (m *Config_Data) GetOfflineIdleTimeoutMs() int32

func (*Config_Data) GetOnlineCloudTimeoutMs

func (m *Config_Data) GetOnlineCloudTimeoutMs() int32

func (*Config_Data) GetOnlineUpdatePeriodMs

func (m *Config_Data) GetOnlineUpdatePeriodMs() int32

func (*Config_Data) GetPhonecallsEnabled

func (m *Config_Data) GetPhonecallsEnabled() bool

func (*Config_Data) GetPinnedDialogsCountMax

func (m *Config_Data) GetPinnedDialogsCountMax() int32

func (*Config_Data) GetPushChatLimit

func (m *Config_Data) GetPushChatLimit() int32

func (*Config_Data) GetPushChatPeriodMs

func (m *Config_Data) GetPushChatPeriodMs() int32

func (*Config_Data) GetRatingEDecay

func (m *Config_Data) GetRatingEDecay() int32

func (*Config_Data) GetSavedGifsLimit

func (m *Config_Data) GetSavedGifsLimit() int32

func (*Config_Data) GetStickersFavedLimit

func (m *Config_Data) GetStickersFavedLimit() int32

func (*Config_Data) GetStickersRecentLimit

func (m *Config_Data) GetStickersRecentLimit() int32

func (*Config_Data) GetSuggestedLangCode

func (m *Config_Data) GetSuggestedLangCode() string

func (*Config_Data) GetTestMode

func (m *Config_Data) GetTestMode() *Bool

func (*Config_Data) GetThisDc

func (m *Config_Data) GetThisDc() int32

func (*Config_Data) GetTmpSessions

func (m *Config_Data) GetTmpSessions() int32

func (*Config_Data) ProtoMessage

func (*Config_Data) ProtoMessage()

func (*Config_Data) Reset

func (m *Config_Data) Reset()

func (*Config_Data) String

func (m *Config_Data) String() string

type ConnectToSessionServerReq

type ConnectToSessionServerReq struct {
}

///////////////////////////////////////////////////////////////////// SERVER_AUTH_REQ

func (*ConnectToSessionServerReq) Descriptor

func (*ConnectToSessionServerReq) Descriptor() ([]byte, []int)

func (*ConnectToSessionServerReq) ProtoMessage

func (*ConnectToSessionServerReq) ProtoMessage()

func (*ConnectToSessionServerReq) Reset

func (m *ConnectToSessionServerReq) Reset()

func (*ConnectToSessionServerReq) String

func (m *ConnectToSessionServerReq) String() string

type Contact

type Contact struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contact) Decode

func (m *Contact) Decode(dbuf *DecodeBuf) error

func (*Contact) Descriptor

func (*Contact) Descriptor() ([]byte, []int)

func (*Contact) Encode

func (m *Contact) Encode() []byte

func (*Contact) GetConstructor

func (m *Contact) GetConstructor() TLConstructor

func (*Contact) GetData2

func (m *Contact) GetData2() *Contact_Data

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) Reset

func (m *Contact) Reset()

func (*Contact) String

func (m *Contact) String() string

func (*Contact) To_Contact

func (m *Contact) To_Contact() *TLContact

contact#f911c994 user_id:int mutual:Bool = Contact;

type ContactBlocked

type ContactBlocked struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ContactBlocked_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ContactBlocked) Decode

func (m *ContactBlocked) Decode(dbuf *DecodeBuf) error

func (*ContactBlocked) Descriptor

func (*ContactBlocked) Descriptor() ([]byte, []int)

func (*ContactBlocked) Encode

func (m *ContactBlocked) Encode() []byte

func (*ContactBlocked) GetConstructor

func (m *ContactBlocked) GetConstructor() TLConstructor

func (*ContactBlocked) GetData2

func (m *ContactBlocked) GetData2() *ContactBlocked_Data

func (*ContactBlocked) ProtoMessage

func (*ContactBlocked) ProtoMessage()

func (*ContactBlocked) Reset

func (m *ContactBlocked) Reset()

func (*ContactBlocked) String

func (m *ContactBlocked) String() string

func (*ContactBlocked) To_ContactBlocked

func (m *ContactBlocked) To_ContactBlocked() *TLContactBlocked

contactBlocked#561bc879 user_id:int date:int = ContactBlocked;

type ContactBlocked_Data

type ContactBlocked_Data struct {
	UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Date   int32 `protobuf:"varint,2,opt,name=date" json:"date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ContactBlocked <--

  • TL_contactBlocked

func (*ContactBlocked_Data) Descriptor

func (*ContactBlocked_Data) Descriptor() ([]byte, []int)

func (*ContactBlocked_Data) GetDate

func (m *ContactBlocked_Data) GetDate() int32

func (*ContactBlocked_Data) GetUserId

func (m *ContactBlocked_Data) GetUserId() int32

func (*ContactBlocked_Data) ProtoMessage

func (*ContactBlocked_Data) ProtoMessage()

func (*ContactBlocked_Data) Reset

func (m *ContactBlocked_Data) Reset()

func (*ContactBlocked_Data) String

func (m *ContactBlocked_Data) String() string
type ContactLink struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ContactLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ContactLink) Decode

func (m *ContactLink) Decode(dbuf *DecodeBuf) error

func (*ContactLink) Descriptor

func (*ContactLink) Descriptor() ([]byte, []int)

func (*ContactLink) Encode

func (m *ContactLink) Encode() []byte

func (*ContactLink) GetConstructor

func (m *ContactLink) GetConstructor() TLConstructor

func (*ContactLink) GetData2

func (m *ContactLink) GetData2() *ContactLink_Data

func (*ContactLink) ProtoMessage

func (*ContactLink) ProtoMessage()

func (*ContactLink) Reset

func (m *ContactLink) Reset()

func (*ContactLink) String

func (m *ContactLink) String() string

func (*ContactLink) To_ContactLinkContact

func (m *ContactLink) To_ContactLinkContact() *TLContactLinkContact

contactLinkContact#d502c2d0 = ContactLink;

func (*ContactLink) To_ContactLinkHasPhone

func (m *ContactLink) To_ContactLinkHasPhone() *TLContactLinkHasPhone

contactLinkHasPhone#268f3f59 = ContactLink;

func (*ContactLink) To_ContactLinkNone

func (m *ContactLink) To_ContactLinkNone() *TLContactLinkNone

contactLinkNone#feedd3ad = ContactLink;

func (*ContactLink) To_ContactLinkUnknown

func (m *ContactLink) To_ContactLinkUnknown() *TLContactLinkUnknown

contactLinkUnknown#5f4f9247 = ContactLink;

type ContactLink_Data struct {
}

///////////////////////////////////////////////////////////////////////////// ContactLink <--

  • TL_contactLinkUnknown
  • TL_contactLinkNone
  • TL_contactLinkHasPhone
  • TL_contactLinkContact
func (*ContactLink_Data) Descriptor() ([]byte, []int)
func (*ContactLink_Data) ProtoMessage()
func (m *ContactLink_Data) Reset()
func (m *ContactLink_Data) String() string

type ContactStatus

type ContactStatus struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ContactStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ContactStatus) Decode

func (m *ContactStatus) Decode(dbuf *DecodeBuf) error

func (*ContactStatus) Descriptor

func (*ContactStatus) Descriptor() ([]byte, []int)

func (*ContactStatus) Encode

func (m *ContactStatus) Encode() []byte

func (*ContactStatus) GetConstructor

func (m *ContactStatus) GetConstructor() TLConstructor

func (*ContactStatus) GetData2

func (m *ContactStatus) GetData2() *ContactStatus_Data

func (*ContactStatus) ProtoMessage

func (*ContactStatus) ProtoMessage()

func (*ContactStatus) Reset

func (m *ContactStatus) Reset()

func (*ContactStatus) String

func (m *ContactStatus) String() string

func (*ContactStatus) To_ContactStatus

func (m *ContactStatus) To_ContactStatus() *TLContactStatus

contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;

type ContactStatus_Data

type ContactStatus_Data struct {
	UserId int32       `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Status *UserStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ContactStatus <--

  • TL_contactStatus

func (*ContactStatus_Data) Descriptor

func (*ContactStatus_Data) Descriptor() ([]byte, []int)

func (*ContactStatus_Data) GetStatus

func (m *ContactStatus_Data) GetStatus() *UserStatus

func (*ContactStatus_Data) GetUserId

func (m *ContactStatus_Data) GetUserId() int32

func (*ContactStatus_Data) ProtoMessage

func (*ContactStatus_Data) ProtoMessage()

func (*ContactStatus_Data) Reset

func (m *ContactStatus_Data) Reset()

func (*ContactStatus_Data) String

func (m *ContactStatus_Data) String() string

type Contact_Data

type Contact_Data struct {
	UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Mutual *Bool `protobuf:"bytes,2,opt,name=mutual" json:"mutual,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Contact <--

  • TL_contact

func (*Contact_Data) Descriptor

func (*Contact_Data) Descriptor() ([]byte, []int)

func (*Contact_Data) GetMutual

func (m *Contact_Data) GetMutual() *Bool

func (*Contact_Data) GetUserId

func (m *Contact_Data) GetUserId() int32

func (*Contact_Data) ProtoMessage

func (*Contact_Data) ProtoMessage()

func (*Contact_Data) Reset

func (m *Contact_Data) Reset()

func (*Contact_Data) String

func (m *Contact_Data) String() string

type Contacts_Blocked

type Contacts_Blocked struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_Blocked_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_Blocked) Decode

func (m *Contacts_Blocked) Decode(dbuf *DecodeBuf) error

func (*Contacts_Blocked) Descriptor

func (*Contacts_Blocked) Descriptor() ([]byte, []int)

func (*Contacts_Blocked) Encode

func (m *Contacts_Blocked) Encode() []byte

func (*Contacts_Blocked) GetConstructor

func (m *Contacts_Blocked) GetConstructor() TLConstructor

func (*Contacts_Blocked) GetData2

func (m *Contacts_Blocked) GetData2() *Contacts_Blocked_Data

func (*Contacts_Blocked) ProtoMessage

func (*Contacts_Blocked) ProtoMessage()

func (*Contacts_Blocked) Reset

func (m *Contacts_Blocked) Reset()

func (*Contacts_Blocked) String

func (m *Contacts_Blocked) String() string

func (*Contacts_Blocked) To_ContactsBlocked

func (m *Contacts_Blocked) To_ContactsBlocked() *TLContactsBlocked

contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

func (*Contacts_Blocked) To_ContactsBlockedSlice

func (m *Contacts_Blocked) To_ContactsBlockedSlice() *TLContactsBlockedSlice

contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

type Contacts_Blocked_Data

type Contacts_Blocked_Data struct {
	Blocked []*ContactBlocked `protobuf:"bytes,1,rep,name=blocked" json:"blocked,omitempty"`
	Users   []*User           `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
	Count   int32             `protobuf:"varint,3,opt,name=count" json:"count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_Blocked <--

  • TL_contacts_blocked
  • TL_contacts_blockedSlice

func (*Contacts_Blocked_Data) Descriptor

func (*Contacts_Blocked_Data) Descriptor() ([]byte, []int)

func (*Contacts_Blocked_Data) GetBlocked

func (m *Contacts_Blocked_Data) GetBlocked() []*ContactBlocked

func (*Contacts_Blocked_Data) GetCount

func (m *Contacts_Blocked_Data) GetCount() int32

func (*Contacts_Blocked_Data) GetUsers

func (m *Contacts_Blocked_Data) GetUsers() []*User

func (*Contacts_Blocked_Data) ProtoMessage

func (*Contacts_Blocked_Data) ProtoMessage()

func (*Contacts_Blocked_Data) Reset

func (m *Contacts_Blocked_Data) Reset()

func (*Contacts_Blocked_Data) String

func (m *Contacts_Blocked_Data) String() string

type Contacts_Contacts

type Contacts_Contacts struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_Contacts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_Contacts) Decode

func (m *Contacts_Contacts) Decode(dbuf *DecodeBuf) error

func (*Contacts_Contacts) Descriptor

func (*Contacts_Contacts) Descriptor() ([]byte, []int)

func (*Contacts_Contacts) Encode

func (m *Contacts_Contacts) Encode() []byte

func (*Contacts_Contacts) GetConstructor

func (m *Contacts_Contacts) GetConstructor() TLConstructor

func (*Contacts_Contacts) GetData2

func (*Contacts_Contacts) ProtoMessage

func (*Contacts_Contacts) ProtoMessage()

func (*Contacts_Contacts) Reset

func (m *Contacts_Contacts) Reset()

func (*Contacts_Contacts) String

func (m *Contacts_Contacts) String() string

func (*Contacts_Contacts) To_ContactsContacts

func (m *Contacts_Contacts) To_ContactsContacts() *TLContactsContacts

contacts.contacts#eae87e42 contacts:Vector<Contact> saved_count:int users:Vector<User> = contacts.Contacts;

func (*Contacts_Contacts) To_ContactsContactsNotModified

func (m *Contacts_Contacts) To_ContactsContactsNotModified() *TLContactsContactsNotModified

contacts.contactsNotModified#b74ba9d2 = contacts.Contacts;

type Contacts_Contacts_Data

type Contacts_Contacts_Data struct {
	Contacts   []*Contact `protobuf:"bytes,1,rep,name=contacts" json:"contacts,omitempty"`
	SavedCount int32      `protobuf:"varint,2,opt,name=saved_count,json=savedCount" json:"saved_count,omitempty"`
	Users      []*User    `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_Contacts <--

  • TL_contacts_contactsNotModified
  • TL_contacts_contacts

func (*Contacts_Contacts_Data) Descriptor

func (*Contacts_Contacts_Data) Descriptor() ([]byte, []int)

func (*Contacts_Contacts_Data) GetContacts

func (m *Contacts_Contacts_Data) GetContacts() []*Contact

func (*Contacts_Contacts_Data) GetSavedCount

func (m *Contacts_Contacts_Data) GetSavedCount() int32

func (*Contacts_Contacts_Data) GetUsers

func (m *Contacts_Contacts_Data) GetUsers() []*User

func (*Contacts_Contacts_Data) ProtoMessage

func (*Contacts_Contacts_Data) ProtoMessage()

func (*Contacts_Contacts_Data) Reset

func (m *Contacts_Contacts_Data) Reset()

func (*Contacts_Contacts_Data) String

func (m *Contacts_Contacts_Data) String() string

type Contacts_Found

type Contacts_Found struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_Found_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_Found) Decode

func (m *Contacts_Found) Decode(dbuf *DecodeBuf) error

func (*Contacts_Found) Descriptor

func (*Contacts_Found) Descriptor() ([]byte, []int)

func (*Contacts_Found) Encode

func (m *Contacts_Found) Encode() []byte

func (*Contacts_Found) GetConstructor

func (m *Contacts_Found) GetConstructor() TLConstructor

func (*Contacts_Found) GetData2

func (m *Contacts_Found) GetData2() *Contacts_Found_Data

func (*Contacts_Found) ProtoMessage

func (*Contacts_Found) ProtoMessage()

func (*Contacts_Found) Reset

func (m *Contacts_Found) Reset()

func (*Contacts_Found) String

func (m *Contacts_Found) String() string

func (*Contacts_Found) To_ContactsFound

func (m *Contacts_Found) To_ContactsFound() *TLContactsFound

contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

func (*Contacts_Found) To_ContactsFoundLayer74

func (m *Contacts_Found) To_ContactsFoundLayer74() *TLContactsFoundLayer74

contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

type Contacts_Found_Data

type Contacts_Found_Data struct {
	Results   []*Peer `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
	Chats     []*Chat `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users     []*User `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
	MyResults []*Peer `protobuf:"bytes,4,rep,name=my_results,json=myResults" json:"my_results,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_Found <--

  • TL_contacts_found

func (*Contacts_Found_Data) Descriptor

func (*Contacts_Found_Data) Descriptor() ([]byte, []int)

func (*Contacts_Found_Data) GetChats

func (m *Contacts_Found_Data) GetChats() []*Chat

func (*Contacts_Found_Data) GetMyResults

func (m *Contacts_Found_Data) GetMyResults() []*Peer

func (*Contacts_Found_Data) GetResults

func (m *Contacts_Found_Data) GetResults() []*Peer

func (*Contacts_Found_Data) GetUsers

func (m *Contacts_Found_Data) GetUsers() []*User

func (*Contacts_Found_Data) ProtoMessage

func (*Contacts_Found_Data) ProtoMessage()

func (*Contacts_Found_Data) Reset

func (m *Contacts_Found_Data) Reset()

func (*Contacts_Found_Data) String

func (m *Contacts_Found_Data) String() string

type Contacts_ImportedContacts

type Contacts_ImportedContacts struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_ImportedContacts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_ImportedContacts) Decode

func (m *Contacts_ImportedContacts) Decode(dbuf *DecodeBuf) error

func (*Contacts_ImportedContacts) Descriptor

func (*Contacts_ImportedContacts) Descriptor() ([]byte, []int)

func (*Contacts_ImportedContacts) Encode

func (m *Contacts_ImportedContacts) Encode() []byte

func (*Contacts_ImportedContacts) GetConstructor

func (m *Contacts_ImportedContacts) GetConstructor() TLConstructor

func (*Contacts_ImportedContacts) GetData2

func (*Contacts_ImportedContacts) ProtoMessage

func (*Contacts_ImportedContacts) ProtoMessage()

func (*Contacts_ImportedContacts) Reset

func (m *Contacts_ImportedContacts) Reset()

func (*Contacts_ImportedContacts) String

func (m *Contacts_ImportedContacts) String() string

func (*Contacts_ImportedContacts) To_ContactsImportedContacts

func (m *Contacts_ImportedContacts) To_ContactsImportedContacts() *TLContactsImportedContacts

contacts.importedContacts#77d01c3b imported:Vector<ImportedContact> popular_invites:Vector<PopularContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;

type Contacts_ImportedContacts_Data

type Contacts_ImportedContacts_Data struct {
	Imported       []*ImportedContact `protobuf:"bytes,1,rep,name=imported" json:"imported,omitempty"`
	PopularInvites []*PopularContact  `protobuf:"bytes,2,rep,name=popular_invites,json=popularInvites" json:"popular_invites,omitempty"`
	RetryContacts  []int64            `protobuf:"varint,3,rep,packed,name=retry_contacts,json=retryContacts" json:"retry_contacts,omitempty"`
	Users          []*User            `protobuf:"bytes,4,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_ImportedContacts <--

  • TL_contacts_importedContacts

func (*Contacts_ImportedContacts_Data) Descriptor

func (*Contacts_ImportedContacts_Data) Descriptor() ([]byte, []int)

func (*Contacts_ImportedContacts_Data) GetImported

func (m *Contacts_ImportedContacts_Data) GetImported() []*ImportedContact

func (*Contacts_ImportedContacts_Data) GetPopularInvites

func (m *Contacts_ImportedContacts_Data) GetPopularInvites() []*PopularContact

func (*Contacts_ImportedContacts_Data) GetRetryContacts

func (m *Contacts_ImportedContacts_Data) GetRetryContacts() []int64

func (*Contacts_ImportedContacts_Data) GetUsers

func (m *Contacts_ImportedContacts_Data) GetUsers() []*User

func (*Contacts_ImportedContacts_Data) ProtoMessage

func (*Contacts_ImportedContacts_Data) ProtoMessage()

func (*Contacts_ImportedContacts_Data) Reset

func (m *Contacts_ImportedContacts_Data) Reset()

func (*Contacts_ImportedContacts_Data) String

type Contacts_Link struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_Link_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_Link) Decode

func (m *Contacts_Link) Decode(dbuf *DecodeBuf) error

func (*Contacts_Link) Descriptor

func (*Contacts_Link) Descriptor() ([]byte, []int)

func (*Contacts_Link) Encode

func (m *Contacts_Link) Encode() []byte

func (*Contacts_Link) GetConstructor

func (m *Contacts_Link) GetConstructor() TLConstructor

func (*Contacts_Link) GetData2

func (m *Contacts_Link) GetData2() *Contacts_Link_Data

func (*Contacts_Link) ProtoMessage

func (*Contacts_Link) ProtoMessage()

func (*Contacts_Link) Reset

func (m *Contacts_Link) Reset()

func (*Contacts_Link) String

func (m *Contacts_Link) String() string
func (m *Contacts_Link) To_ContactsLink() *TLContactsLink

contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;

type Contacts_Link_Data struct {
	MyLink      *ContactLink `protobuf:"bytes,1,opt,name=my_link,json=myLink" json:"my_link,omitempty"`
	ForeignLink *ContactLink `protobuf:"bytes,2,opt,name=foreign_link,json=foreignLink" json:"foreign_link,omitempty"`
	User        *User        `protobuf:"bytes,3,opt,name=user" json:"user,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_Link <--

  • TL_contacts_link
func (*Contacts_Link_Data) Descriptor() ([]byte, []int)
func (m *Contacts_Link_Data) GetForeignLink() *ContactLink
func (m *Contacts_Link_Data) GetMyLink() *ContactLink
func (m *Contacts_Link_Data) GetUser() *User
func (*Contacts_Link_Data) ProtoMessage()
func (m *Contacts_Link_Data) Reset()
func (m *Contacts_Link_Data) String() string

type Contacts_ResolvedPeer

type Contacts_ResolvedPeer struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_ResolvedPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_ResolvedPeer) Decode

func (m *Contacts_ResolvedPeer) Decode(dbuf *DecodeBuf) error

func (*Contacts_ResolvedPeer) Descriptor

func (*Contacts_ResolvedPeer) Descriptor() ([]byte, []int)

func (*Contacts_ResolvedPeer) Encode

func (m *Contacts_ResolvedPeer) Encode() []byte

func (*Contacts_ResolvedPeer) GetConstructor

func (m *Contacts_ResolvedPeer) GetConstructor() TLConstructor

func (*Contacts_ResolvedPeer) GetData2

func (*Contacts_ResolvedPeer) ProtoMessage

func (*Contacts_ResolvedPeer) ProtoMessage()

func (*Contacts_ResolvedPeer) Reset

func (m *Contacts_ResolvedPeer) Reset()

func (*Contacts_ResolvedPeer) String

func (m *Contacts_ResolvedPeer) String() string

func (*Contacts_ResolvedPeer) To_ContactsResolvedPeer

func (m *Contacts_ResolvedPeer) To_ContactsResolvedPeer() *TLContactsResolvedPeer

contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;

type Contacts_ResolvedPeer_Data

type Contacts_ResolvedPeer_Data struct {
	Peer  *Peer   `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Chats []*Chat `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users []*User `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_ResolvedPeer <--

  • TL_contacts_resolvedPeer

func (*Contacts_ResolvedPeer_Data) Descriptor

func (*Contacts_ResolvedPeer_Data) Descriptor() ([]byte, []int)

func (*Contacts_ResolvedPeer_Data) GetChats

func (m *Contacts_ResolvedPeer_Data) GetChats() []*Chat

func (*Contacts_ResolvedPeer_Data) GetPeer

func (m *Contacts_ResolvedPeer_Data) GetPeer() *Peer

func (*Contacts_ResolvedPeer_Data) GetUsers

func (m *Contacts_ResolvedPeer_Data) GetUsers() []*User

func (*Contacts_ResolvedPeer_Data) ProtoMessage

func (*Contacts_ResolvedPeer_Data) ProtoMessage()

func (*Contacts_ResolvedPeer_Data) Reset

func (m *Contacts_ResolvedPeer_Data) Reset()

func (*Contacts_ResolvedPeer_Data) String

func (m *Contacts_ResolvedPeer_Data) String() string

type Contacts_TopPeers

type Contacts_TopPeers struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Contacts_TopPeers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Contacts_TopPeers) Decode

func (m *Contacts_TopPeers) Decode(dbuf *DecodeBuf) error

func (*Contacts_TopPeers) Descriptor

func (*Contacts_TopPeers) Descriptor() ([]byte, []int)

func (*Contacts_TopPeers) Encode

func (m *Contacts_TopPeers) Encode() []byte

func (*Contacts_TopPeers) GetConstructor

func (m *Contacts_TopPeers) GetConstructor() TLConstructor

func (*Contacts_TopPeers) GetData2

func (*Contacts_TopPeers) ProtoMessage

func (*Contacts_TopPeers) ProtoMessage()

func (*Contacts_TopPeers) Reset

func (m *Contacts_TopPeers) Reset()

func (*Contacts_TopPeers) String

func (m *Contacts_TopPeers) String() string

func (*Contacts_TopPeers) To_ContactsTopPeers

func (m *Contacts_TopPeers) To_ContactsTopPeers() *TLContactsTopPeers

contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers;

func (*Contacts_TopPeers) To_ContactsTopPeersNotModified

func (m *Contacts_TopPeers) To_ContactsTopPeersNotModified() *TLContactsTopPeersNotModified

contacts.topPeersNotModified#de266ef5 = contacts.TopPeers;

type Contacts_TopPeers_Data

type Contacts_TopPeers_Data struct {
	Categories []*TopPeerCategoryPeers `protobuf:"bytes,1,rep,name=categories" json:"categories,omitempty"`
	Chats      []*Chat                 `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users      []*User                 `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts_TopPeers <--

  • TL_contacts_topPeersNotModified
  • TL_contacts_topPeers

func (*Contacts_TopPeers_Data) Descriptor

func (*Contacts_TopPeers_Data) Descriptor() ([]byte, []int)

func (*Contacts_TopPeers_Data) GetCategories

func (m *Contacts_TopPeers_Data) GetCategories() []*TopPeerCategoryPeers

func (*Contacts_TopPeers_Data) GetChats

func (m *Contacts_TopPeers_Data) GetChats() []*Chat

func (*Contacts_TopPeers_Data) GetUsers

func (m *Contacts_TopPeers_Data) GetUsers() []*User

func (*Contacts_TopPeers_Data) ProtoMessage

func (*Contacts_TopPeers_Data) ProtoMessage()

func (*Contacts_TopPeers_Data) Reset

func (m *Contacts_TopPeers_Data) Reset()

func (*Contacts_TopPeers_Data) String

func (m *Contacts_TopPeers_Data) String() string

type DataJSON

type DataJSON struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DataJSON_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DataJSON) Decode

func (m *DataJSON) Decode(dbuf *DecodeBuf) error

func (*DataJSON) Descriptor

func (*DataJSON) Descriptor() ([]byte, []int)

func (*DataJSON) Encode

func (m *DataJSON) Encode() []byte

func (*DataJSON) GetConstructor

func (m *DataJSON) GetConstructor() TLConstructor

func (*DataJSON) GetData2

func (m *DataJSON) GetData2() *DataJSON_Data

func (*DataJSON) ProtoMessage

func (*DataJSON) ProtoMessage()

func (*DataJSON) Reset

func (m *DataJSON) Reset()

func (*DataJSON) String

func (m *DataJSON) String() string

func (*DataJSON) To_DataJSON

func (m *DataJSON) To_DataJSON() *TLDataJSON

dataJSON#7d748d04 data:string = DataJSON;

type DataJSON_Data

type DataJSON_Data struct {
	Data string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DataJSON <--

  • TL_dataJSON

func (*DataJSON_Data) Descriptor

func (*DataJSON_Data) Descriptor() ([]byte, []int)

func (*DataJSON_Data) GetData

func (m *DataJSON_Data) GetData() string

func (*DataJSON_Data) ProtoMessage

func (*DataJSON_Data) ProtoMessage()

func (*DataJSON_Data) Reset

func (m *DataJSON_Data) Reset()

func (*DataJSON_Data) String

func (m *DataJSON_Data) String() string

type DcOption

type DcOption struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DcOption_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DcOption) Decode

func (m *DcOption) Decode(dbuf *DecodeBuf) error

func (*DcOption) Descriptor

func (*DcOption) Descriptor() ([]byte, []int)

func (*DcOption) Encode

func (m *DcOption) Encode() []byte

func (*DcOption) GetConstructor

func (m *DcOption) GetConstructor() TLConstructor

func (*DcOption) GetData2

func (m *DcOption) GetData2() *DcOption_Data

func (*DcOption) ProtoMessage

func (*DcOption) ProtoMessage()

func (*DcOption) Reset

func (m *DcOption) Reset()

func (*DcOption) String

func (m *DcOption) String() string

func (*DcOption) To_DcOption

func (m *DcOption) To_DcOption() *TLDcOption

dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption;

type DcOption_Data

type DcOption_Data struct {
	Ipv6      bool   `protobuf:"varint,1,opt,name=ipv6" json:"ipv6,omitempty"`
	MediaOnly bool   `protobuf:"varint,2,opt,name=media_only,json=mediaOnly" json:"media_only,omitempty"`
	TcpoOnly  bool   `protobuf:"varint,3,opt,name=tcpo_only,json=tcpoOnly" json:"tcpo_only,omitempty"`
	Cdn       bool   `protobuf:"varint,4,opt,name=cdn" json:"cdn,omitempty"`
	Static    bool   `protobuf:"varint,5,opt,name=static" json:"static,omitempty"`
	Id        int32  `protobuf:"varint,6,opt,name=id" json:"id,omitempty"`
	IpAddress string `protobuf:"bytes,7,opt,name=ip_address,json=ipAddress" json:"ip_address,omitempty"`
	Port      int32  `protobuf:"varint,8,opt,name=port" json:"port,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DcOption <--

  • TL_dcOption

func (*DcOption_Data) Descriptor

func (*DcOption_Data) Descriptor() ([]byte, []int)

func (*DcOption_Data) GetCdn

func (m *DcOption_Data) GetCdn() bool

func (*DcOption_Data) GetId

func (m *DcOption_Data) GetId() int32

func (*DcOption_Data) GetIpAddress

func (m *DcOption_Data) GetIpAddress() string

func (*DcOption_Data) GetIpv6

func (m *DcOption_Data) GetIpv6() bool

func (*DcOption_Data) GetMediaOnly

func (m *DcOption_Data) GetMediaOnly() bool

func (*DcOption_Data) GetPort

func (m *DcOption_Data) GetPort() int32

func (*DcOption_Data) GetStatic

func (m *DcOption_Data) GetStatic() bool

func (*DcOption_Data) GetTcpoOnly

func (m *DcOption_Data) GetTcpoOnly() bool

func (*DcOption_Data) ProtoMessage

func (*DcOption_Data) ProtoMessage()

func (*DcOption_Data) Reset

func (m *DcOption_Data) Reset()

func (*DcOption_Data) String

func (m *DcOption_Data) String() string

type DecodeBuf

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

func NewDecodeBuf

func NewDecodeBuf(b []byte) *DecodeBuf

func (*DecodeBuf) BigInt

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

func (*DecodeBuf) Bool

func (m *DecodeBuf) Bool() bool

func (*DecodeBuf) Bytes

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

func (*DecodeBuf) Double

func (m *DecodeBuf) Double() float64

func (*DecodeBuf) GetError

func (m *DecodeBuf) GetError() error

func (*DecodeBuf) Int

func (m *DecodeBuf) Int() int32

func (*DecodeBuf) Long

func (m *DecodeBuf) Long() int64

func (*DecodeBuf) Object

func (m *DecodeBuf) Object() (r TLObject)

func (*DecodeBuf) String

func (m *DecodeBuf) String() string

func (*DecodeBuf) StringBytes

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

func (*DecodeBuf) UInt

func (m *DecodeBuf) UInt() uint32

func (*DecodeBuf) VectorInt

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

func (*DecodeBuf) VectorLong

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

func (*DecodeBuf) VectorString

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

type DestroyAuthKeyRes

type DestroyAuthKeyRes struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DestroyAuthKeyRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DestroyAuthKeyRes) Decode

func (m *DestroyAuthKeyRes) Decode(dbuf *DecodeBuf) error

func (*DestroyAuthKeyRes) Descriptor

func (*DestroyAuthKeyRes) Descriptor() ([]byte, []int)

func (*DestroyAuthKeyRes) Encode

func (m *DestroyAuthKeyRes) Encode() []byte

func (*DestroyAuthKeyRes) GetConstructor

func (m *DestroyAuthKeyRes) GetConstructor() TLConstructor

func (*DestroyAuthKeyRes) GetData2

func (*DestroyAuthKeyRes) ProtoMessage

func (*DestroyAuthKeyRes) ProtoMessage()

func (*DestroyAuthKeyRes) Reset

func (m *DestroyAuthKeyRes) Reset()

func (*DestroyAuthKeyRes) String

func (m *DestroyAuthKeyRes) String() string

func (*DestroyAuthKeyRes) To_DestroyAuthKeyFail

func (m *DestroyAuthKeyRes) To_DestroyAuthKeyFail() *TLDestroyAuthKeyFail

destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes;

func (*DestroyAuthKeyRes) To_DestroyAuthKeyNone

func (m *DestroyAuthKeyRes) To_DestroyAuthKeyNone() *TLDestroyAuthKeyNone

destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes;

func (*DestroyAuthKeyRes) To_DestroyAuthKeyOk

func (m *DestroyAuthKeyRes) To_DestroyAuthKeyOk() *TLDestroyAuthKeyOk

destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes;

type DestroyAuthKeyRes_Data

type DestroyAuthKeyRes_Data struct {
}

///////////////////////////////////////////////////////////////////////////// DestroyAuthKeyRes <--

  • TL_destroy_auth_key_ok
  • TL_destroy_auth_key_none
  • TL_destroy_auth_key_fail

func (*DestroyAuthKeyRes_Data) Descriptor

func (*DestroyAuthKeyRes_Data) Descriptor() ([]byte, []int)

func (*DestroyAuthKeyRes_Data) ProtoMessage

func (*DestroyAuthKeyRes_Data) ProtoMessage()

func (*DestroyAuthKeyRes_Data) Reset

func (m *DestroyAuthKeyRes_Data) Reset()

func (*DestroyAuthKeyRes_Data) String

func (m *DestroyAuthKeyRes_Data) String() string

type DestroySessionRes

type DestroySessionRes struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DestroySessionRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DestroySessionRes) Decode

func (m *DestroySessionRes) Decode(dbuf *DecodeBuf) error

func (*DestroySessionRes) Descriptor

func (*DestroySessionRes) Descriptor() ([]byte, []int)

func (*DestroySessionRes) Encode

func (m *DestroySessionRes) Encode() []byte

func (*DestroySessionRes) GetConstructor

func (m *DestroySessionRes) GetConstructor() TLConstructor

func (*DestroySessionRes) GetData2

func (*DestroySessionRes) ProtoMessage

func (*DestroySessionRes) ProtoMessage()

func (*DestroySessionRes) Reset

func (m *DestroySessionRes) Reset()

func (*DestroySessionRes) String

func (m *DestroySessionRes) String() string

func (*DestroySessionRes) To_DestroySessionNone

func (m *DestroySessionRes) To_DestroySessionNone() *TLDestroySessionNone

destroy_session_none#62d350c9 session_id:long = DestroySessionRes;

func (*DestroySessionRes) To_DestroySessionOk

func (m *DestroySessionRes) To_DestroySessionOk() *TLDestroySessionOk

destroy_session_ok#e22045fc session_id:long = DestroySessionRes;

type DestroySessionRes_Data

type DestroySessionRes_Data struct {
	SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DestroySessionRes <--

  • TL_destroy_session_ok
  • TL_destroy_session_none

func (*DestroySessionRes_Data) Descriptor

func (*DestroySessionRes_Data) Descriptor() ([]byte, []int)

func (*DestroySessionRes_Data) GetSessionId

func (m *DestroySessionRes_Data) GetSessionId() int64

func (*DestroySessionRes_Data) ProtoMessage

func (*DestroySessionRes_Data) ProtoMessage()

func (*DestroySessionRes_Data) Reset

func (m *DestroySessionRes_Data) Reset()

func (*DestroySessionRes_Data) String

func (m *DestroySessionRes_Data) String() string

type Dialer

type Dialer func() (net.Conn, error)

type Dialog

type Dialog struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Dialog_Data  `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Dialog) Decode

func (m *Dialog) Decode(dbuf *DecodeBuf) error

func (*Dialog) Descriptor

func (*Dialog) Descriptor() ([]byte, []int)

func (*Dialog) Encode

func (m *Dialog) Encode() []byte

func (*Dialog) GetConstructor

func (m *Dialog) GetConstructor() TLConstructor

func (*Dialog) GetData2

func (m *Dialog) GetData2() *Dialog_Data

func (*Dialog) ProtoMessage

func (*Dialog) ProtoMessage()

func (*Dialog) Reset

func (m *Dialog) Reset()

func (*Dialog) String

func (m *Dialog) String() string

func (*Dialog) To_Dialog

func (m *Dialog) To_Dialog() *TLDialog

dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;

type Dialog_Data

type Dialog_Data struct {
	Pinned              bool                `protobuf:"varint,1,opt,name=pinned" json:"pinned,omitempty"`
	Peer                *Peer               `protobuf:"bytes,2,opt,name=peer" json:"peer,omitempty"`
	TopMessage          int32               `protobuf:"varint,3,opt,name=top_message,json=topMessage" json:"top_message,omitempty"`
	ReadInboxMaxId      int32               `protobuf:"varint,4,opt,name=read_inbox_max_id,json=readInboxMaxId" json:"read_inbox_max_id,omitempty"`
	ReadOutboxMaxId     int32               `protobuf:"varint,5,opt,name=read_outbox_max_id,json=readOutboxMaxId" json:"read_outbox_max_id,omitempty"`
	UnreadCount         int32               `protobuf:"varint,6,opt,name=unread_count,json=unreadCount" json:"unread_count,omitempty"`
	UnreadMentionsCount int32               `protobuf:"varint,7,opt,name=unread_mentions_count,json=unreadMentionsCount" json:"unread_mentions_count,omitempty"`
	NotifySettings      *PeerNotifySettings `protobuf:"bytes,8,opt,name=notify_settings,json=notifySettings" json:"notify_settings,omitempty"`
	Pts                 int32               `protobuf:"varint,9,opt,name=pts" json:"pts,omitempty"`
	Draft               *DraftMessage       `protobuf:"bytes,10,opt,name=draft" json:"draft,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Dialog <--

  • TL_dialog

func (*Dialog_Data) Descriptor

func (*Dialog_Data) Descriptor() ([]byte, []int)

func (*Dialog_Data) GetDraft

func (m *Dialog_Data) GetDraft() *DraftMessage

func (*Dialog_Data) GetNotifySettings

func (m *Dialog_Data) GetNotifySettings() *PeerNotifySettings

func (*Dialog_Data) GetPeer

func (m *Dialog_Data) GetPeer() *Peer

func (*Dialog_Data) GetPinned

func (m *Dialog_Data) GetPinned() bool

func (*Dialog_Data) GetPts

func (m *Dialog_Data) GetPts() int32

func (*Dialog_Data) GetReadInboxMaxId

func (m *Dialog_Data) GetReadInboxMaxId() int32

func (*Dialog_Data) GetReadOutboxMaxId

func (m *Dialog_Data) GetReadOutboxMaxId() int32

func (*Dialog_Data) GetTopMessage

func (m *Dialog_Data) GetTopMessage() int32

func (*Dialog_Data) GetUnreadCount

func (m *Dialog_Data) GetUnreadCount() int32

func (*Dialog_Data) GetUnreadMentionsCount

func (m *Dialog_Data) GetUnreadMentionsCount() int32

func (*Dialog_Data) ProtoMessage

func (*Dialog_Data) ProtoMessage()

func (*Dialog_Data) Reset

func (m *Dialog_Data) Reset()

func (*Dialog_Data) String

func (m *Dialog_Data) String() string

type DisabledFeature

type DisabledFeature struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DisabledFeature_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DisabledFeature) Decode

func (m *DisabledFeature) Decode(dbuf *DecodeBuf) error

func (*DisabledFeature) Descriptor

func (*DisabledFeature) Descriptor() ([]byte, []int)

func (*DisabledFeature) Encode

func (m *DisabledFeature) Encode() []byte

func (*DisabledFeature) GetConstructor

func (m *DisabledFeature) GetConstructor() TLConstructor

func (*DisabledFeature) GetData2

func (m *DisabledFeature) GetData2() *DisabledFeature_Data

func (*DisabledFeature) ProtoMessage

func (*DisabledFeature) ProtoMessage()

func (*DisabledFeature) Reset

func (m *DisabledFeature) Reset()

func (*DisabledFeature) String

func (m *DisabledFeature) String() string

func (*DisabledFeature) To_DisabledFeature

func (m *DisabledFeature) To_DisabledFeature() *TLDisabledFeature

disabledFeature#ae636f24 feature:string description:string = DisabledFeature;

type DisabledFeature_Data

type DisabledFeature_Data struct {
	Feature     string `protobuf:"bytes,1,opt,name=feature" json:"feature,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description" json:"description,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DisabledFeature <--

  • TL_disabledFeature

func (*DisabledFeature_Data) Descriptor

func (*DisabledFeature_Data) Descriptor() ([]byte, []int)

func (*DisabledFeature_Data) GetDescription

func (m *DisabledFeature_Data) GetDescription() string

func (*DisabledFeature_Data) GetFeature

func (m *DisabledFeature_Data) GetFeature() string

func (*DisabledFeature_Data) ProtoMessage

func (*DisabledFeature_Data) ProtoMessage()

func (*DisabledFeature_Data) Reset

func (m *DisabledFeature_Data) Reset()

func (*DisabledFeature_Data) String

func (m *DisabledFeature_Data) String() string

type Document

type Document struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Document_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Document) Decode

func (m *Document) Decode(dbuf *DecodeBuf) error

func (*Document) Descriptor

func (*Document) Descriptor() ([]byte, []int)

func (*Document) Encode

func (m *Document) Encode() []byte

func (*Document) GetConstructor

func (m *Document) GetConstructor() TLConstructor

func (*Document) GetData2

func (m *Document) GetData2() *Document_Data

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) Reset

func (m *Document) Reset()

func (*Document) String

func (m *Document) String() string

func (*Document) To_Document

func (m *Document) To_Document() *TLDocument

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;

func (*Document) To_DocumentEmpty

func (m *Document) To_DocumentEmpty() *TLDocumentEmpty

documentEmpty#36f8c871 id:long = Document;

type DocumentAttribute

type DocumentAttribute struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DocumentAttribute) Decode

func (m *DocumentAttribute) Decode(dbuf *DecodeBuf) error

func (*DocumentAttribute) Descriptor

func (*DocumentAttribute) Descriptor() ([]byte, []int)

func (*DocumentAttribute) Encode

func (m *DocumentAttribute) Encode() []byte

func (*DocumentAttribute) GetConstructor

func (m *DocumentAttribute) GetConstructor() TLConstructor

func (*DocumentAttribute) GetData2

func (*DocumentAttribute) ProtoMessage

func (*DocumentAttribute) ProtoMessage()

func (*DocumentAttribute) Reset

func (m *DocumentAttribute) Reset()

func (*DocumentAttribute) String

func (m *DocumentAttribute) String() string

func (*DocumentAttribute) To_DocumentAttributeAnimated

func (m *DocumentAttribute) To_DocumentAttributeAnimated() *TLDocumentAttributeAnimated

documentAttributeAnimated#11b58939 = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeAudio

func (m *DocumentAttribute) To_DocumentAttributeAudio() *TLDocumentAttributeAudio

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeFilename

func (m *DocumentAttribute) To_DocumentAttributeFilename() *TLDocumentAttributeFilename

documentAttributeFilename#15590068 file_name:string = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeHasStickers

func (m *DocumentAttribute) To_DocumentAttributeHasStickers() *TLDocumentAttributeHasStickers

documentAttributeHasStickers#9801d2f7 = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeImageSize

func (m *DocumentAttribute) To_DocumentAttributeImageSize() *TLDocumentAttributeImageSize

documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeSticker

func (m *DocumentAttribute) To_DocumentAttributeSticker() *TLDocumentAttributeSticker

documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

func (*DocumentAttribute) To_DocumentAttributeVideo

func (m *DocumentAttribute) To_DocumentAttributeVideo() *TLDocumentAttributeVideo

documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute;

type DocumentAttributeList

type DocumentAttributeList struct {
	Attributes []*DocumentAttribute `protobuf:"bytes,1,rep,name=attributes" json:"attributes,omitempty"`
}

func (*DocumentAttributeList) Descriptor

func (*DocumentAttributeList) Descriptor() ([]byte, []int)

func (*DocumentAttributeList) GetAttributes

func (m *DocumentAttributeList) GetAttributes() []*DocumentAttribute

func (*DocumentAttributeList) ProtoMessage

func (*DocumentAttributeList) ProtoMessage()

func (*DocumentAttributeList) Reset

func (m *DocumentAttributeList) Reset()

func (*DocumentAttributeList) String

func (m *DocumentAttributeList) String() string

type DocumentAttribute_Data

type DocumentAttribute_Data struct {
	W            int32            `protobuf:"varint,1,opt,name=w" json:"w,omitempty"`
	H            int32            `protobuf:"varint,2,opt,name=h" json:"h,omitempty"`
	Mask         bool             `protobuf:"varint,3,opt,name=mask" json:"mask,omitempty"`
	Alt          string           `protobuf:"bytes,4,opt,name=alt" json:"alt,omitempty"`
	Stickerset   *InputStickerSet `protobuf:"bytes,5,opt,name=stickerset" json:"stickerset,omitempty"`
	MaskCoords   *MaskCoords      `protobuf:"bytes,6,opt,name=mask_coords,json=maskCoords" json:"mask_coords,omitempty"`
	RoundMessage bool             `protobuf:"varint,7,opt,name=round_message,json=roundMessage" json:"round_message,omitempty"`
	Duration     int32            `protobuf:"varint,8,opt,name=duration" json:"duration,omitempty"`
	Voice        bool             `protobuf:"varint,9,opt,name=voice" json:"voice,omitempty"`
	Title        string           `protobuf:"bytes,10,opt,name=title" json:"title,omitempty"`
	Performer    string           `protobuf:"bytes,11,opt,name=performer" json:"performer,omitempty"`
	Waveform     []byte           `protobuf:"bytes,12,opt,name=waveform,proto3" json:"waveform,omitempty"`
	FileName     string           `protobuf:"bytes,13,opt,name=file_name,json=fileName" json:"file_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DocumentAttribute <--

  • TL_documentAttributeImageSize
  • TL_documentAttributeAnimated
  • TL_documentAttributeSticker
  • TL_documentAttributeVideo
  • TL_documentAttributeAudio
  • TL_documentAttributeFilename
  • TL_documentAttributeHasStickers

func (*DocumentAttribute_Data) Descriptor

func (*DocumentAttribute_Data) Descriptor() ([]byte, []int)

func (*DocumentAttribute_Data) GetAlt

func (m *DocumentAttribute_Data) GetAlt() string

func (*DocumentAttribute_Data) GetDuration

func (m *DocumentAttribute_Data) GetDuration() int32

func (*DocumentAttribute_Data) GetFileName

func (m *DocumentAttribute_Data) GetFileName() string

func (*DocumentAttribute_Data) GetH

func (m *DocumentAttribute_Data) GetH() int32

func (*DocumentAttribute_Data) GetMask

func (m *DocumentAttribute_Data) GetMask() bool

func (*DocumentAttribute_Data) GetMaskCoords

func (m *DocumentAttribute_Data) GetMaskCoords() *MaskCoords

func (*DocumentAttribute_Data) GetPerformer

func (m *DocumentAttribute_Data) GetPerformer() string

func (*DocumentAttribute_Data) GetRoundMessage

func (m *DocumentAttribute_Data) GetRoundMessage() bool

func (*DocumentAttribute_Data) GetStickerset

func (m *DocumentAttribute_Data) GetStickerset() *InputStickerSet

func (*DocumentAttribute_Data) GetTitle

func (m *DocumentAttribute_Data) GetTitle() string

func (*DocumentAttribute_Data) GetVoice

func (m *DocumentAttribute_Data) GetVoice() bool

func (*DocumentAttribute_Data) GetW

func (m *DocumentAttribute_Data) GetW() int32

func (*DocumentAttribute_Data) GetWaveform

func (m *DocumentAttribute_Data) GetWaveform() []byte

func (*DocumentAttribute_Data) ProtoMessage

func (*DocumentAttribute_Data) ProtoMessage()

func (*DocumentAttribute_Data) Reset

func (m *DocumentAttribute_Data) Reset()

func (*DocumentAttribute_Data) String

func (m *DocumentAttribute_Data) String() string

type DocumentId

type DocumentId struct {
	Id         int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Version    int32 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
}

func (*DocumentId) Descriptor

func (*DocumentId) Descriptor() ([]byte, []int)

func (*DocumentId) GetAccessHash

func (m *DocumentId) GetAccessHash() int64

func (*DocumentId) GetId

func (m *DocumentId) GetId() int64

func (*DocumentId) GetVersion

func (m *DocumentId) GetVersion() int32

func (*DocumentId) ProtoMessage

func (*DocumentId) ProtoMessage()

func (*DocumentId) Reset

func (m *DocumentId) Reset()

func (*DocumentId) String

func (m *DocumentId) String() string

type DocumentIdList

type DocumentIdList struct {
	IdList []int64 `protobuf:"varint,1,rep,packed,name=id_list,json=idList" json:"id_list,omitempty"`
}

func (*DocumentIdList) Descriptor

func (*DocumentIdList) Descriptor() ([]byte, []int)

func (*DocumentIdList) GetIdList

func (m *DocumentIdList) GetIdList() []int64

func (*DocumentIdList) ProtoMessage

func (*DocumentIdList) ProtoMessage()

func (*DocumentIdList) Reset

func (m *DocumentIdList) Reset()

func (*DocumentIdList) String

func (m *DocumentIdList) String() string

type DocumentList

type DocumentList struct {
	Documents []*Document `protobuf:"bytes,1,rep,name=documents" json:"documents,omitempty"`
}

func (*DocumentList) Descriptor

func (*DocumentList) Descriptor() ([]byte, []int)

func (*DocumentList) GetDocuments

func (m *DocumentList) GetDocuments() []*Document

func (*DocumentList) ProtoMessage

func (*DocumentList) ProtoMessage()

func (*DocumentList) Reset

func (m *DocumentList) Reset()

func (*DocumentList) String

func (m *DocumentList) String() string

type Document_Data

type Document_Data struct {
	Id         int64                `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64                `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Date       int32                `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	MimeType   string               `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	Size       int32                `protobuf:"varint,5,opt,name=size" json:"size,omitempty"`
	Thumb      *PhotoSize           `protobuf:"bytes,6,opt,name=thumb" json:"thumb,omitempty"`
	DcId       int32                `protobuf:"varint,7,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
	Version    int32                `protobuf:"varint,8,opt,name=version" json:"version,omitempty"`
	Attributes []*DocumentAttribute `protobuf:"bytes,9,rep,name=attributes" json:"attributes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Document <--

  • TL_documentEmpty
  • TL_document

func (*Document_Data) Descriptor

func (*Document_Data) Descriptor() ([]byte, []int)

func (*Document_Data) GetAccessHash

func (m *Document_Data) GetAccessHash() int64

func (*Document_Data) GetAttributes

func (m *Document_Data) GetAttributes() []*DocumentAttribute

func (*Document_Data) GetDate

func (m *Document_Data) GetDate() int32

func (*Document_Data) GetDcId

func (m *Document_Data) GetDcId() int32

func (*Document_Data) GetId

func (m *Document_Data) GetId() int64

func (*Document_Data) GetMimeType

func (m *Document_Data) GetMimeType() string

func (*Document_Data) GetSize

func (m *Document_Data) GetSize() int32

func (*Document_Data) GetThumb

func (m *Document_Data) GetThumb() *PhotoSize

func (*Document_Data) GetVersion

func (m *Document_Data) GetVersion() int32

func (*Document_Data) ProtoMessage

func (*Document_Data) ProtoMessage()

func (*Document_Data) Reset

func (m *Document_Data) Reset()

func (*Document_Data) String

func (m *Document_Data) String() string

type DraftMessage

type DraftMessage struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *DraftMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*DraftMessage) Decode

func (m *DraftMessage) Decode(dbuf *DecodeBuf) error

func (*DraftMessage) Descriptor

func (*DraftMessage) Descriptor() ([]byte, []int)

func (*DraftMessage) Encode

func (m *DraftMessage) Encode() []byte

func (*DraftMessage) GetConstructor

func (m *DraftMessage) GetConstructor() TLConstructor

func (*DraftMessage) GetData2

func (m *DraftMessage) GetData2() *DraftMessage_Data

func (*DraftMessage) ProtoMessage

func (*DraftMessage) ProtoMessage()

func (*DraftMessage) Reset

func (m *DraftMessage) Reset()

func (*DraftMessage) String

func (m *DraftMessage) String() string

func (*DraftMessage) To_DraftMessage

func (m *DraftMessage) To_DraftMessage() *TLDraftMessage

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

func (*DraftMessage) To_DraftMessageEmpty

func (m *DraftMessage) To_DraftMessageEmpty() *TLDraftMessageEmpty

draftMessageEmpty#ba4baec5 = DraftMessage;

type DraftMessage_Data

type DraftMessage_Data struct {
	NoWebpage    bool             `protobuf:"varint,1,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	ReplyToMsgId int32            `protobuf:"varint,2,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Message      string           `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	Entities     []*MessageEntity `protobuf:"bytes,4,rep,name=entities" json:"entities,omitempty"`
	Date         int32            `protobuf:"varint,5,opt,name=date" json:"date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// DraftMessage <--

  • TL_draftMessageEmpty
  • TL_draftMessage

func (*DraftMessage_Data) Descriptor

func (*DraftMessage_Data) Descriptor() ([]byte, []int)

func (*DraftMessage_Data) GetDate

func (m *DraftMessage_Data) GetDate() int32

func (*DraftMessage_Data) GetEntities

func (m *DraftMessage_Data) GetEntities() []*MessageEntity

func (*DraftMessage_Data) GetMessage

func (m *DraftMessage_Data) GetMessage() string

func (*DraftMessage_Data) GetNoWebpage

func (m *DraftMessage_Data) GetNoWebpage() bool

func (*DraftMessage_Data) GetReplyToMsgId

func (m *DraftMessage_Data) GetReplyToMsgId() int32

func (*DraftMessage_Data) ProtoMessage

func (*DraftMessage_Data) ProtoMessage()

func (*DraftMessage_Data) Reset

func (m *DraftMessage_Data) Reset()

func (*DraftMessage_Data) String

func (m *DraftMessage_Data) String() string

type EncodeBuf

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

func NewEncodeBuf

func NewEncodeBuf(cap int) *EncodeBuf

func (*EncodeBuf) BigInt

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

func (*EncodeBuf) Bytes

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

func (*EncodeBuf) Double

func (e *EncodeBuf) Double(s float64)

func (*EncodeBuf) GetBuf

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

func (*EncodeBuf) Int

func (e *EncodeBuf) Int(s int32)

func (*EncodeBuf) Int16

func (e *EncodeBuf) Int16(s int16)

func (*EncodeBuf) Long

func (e *EncodeBuf) Long(s int64)

func (*EncodeBuf) String

func (e *EncodeBuf) String(s string)

func (*EncodeBuf) StringBytes

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

func (*EncodeBuf) UInt

func (e *EncodeBuf) UInt(s uint32)

func (*EncodeBuf) UInt16

func (e *EncodeBuf) UInt16(s uint16)

func (*EncodeBuf) VectorInt

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

func (*EncodeBuf) VectorLong

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

func (*EncodeBuf) VectorString

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

type EncryptedChat

type EncryptedChat struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*EncryptedChat) Decode

func (m *EncryptedChat) Decode(dbuf *DecodeBuf) error

func (*EncryptedChat) Descriptor

func (*EncryptedChat) Descriptor() ([]byte, []int)

func (*EncryptedChat) Encode

func (m *EncryptedChat) Encode() []byte

func (*EncryptedChat) GetConstructor

func (m *EncryptedChat) GetConstructor() TLConstructor

func (*EncryptedChat) GetData2

func (m *EncryptedChat) GetData2() *EncryptedChat_Data

func (*EncryptedChat) ProtoMessage

func (*EncryptedChat) ProtoMessage()

func (*EncryptedChat) Reset

func (m *EncryptedChat) Reset()

func (*EncryptedChat) String

func (m *EncryptedChat) String() string

func (*EncryptedChat) To_EncryptedChat

func (m *EncryptedChat) To_EncryptedChat() *TLEncryptedChat

encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat;

func (*EncryptedChat) To_EncryptedChatDiscarded

func (m *EncryptedChat) To_EncryptedChatDiscarded() *TLEncryptedChatDiscarded

encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat;

func (*EncryptedChat) To_EncryptedChatEmpty

func (m *EncryptedChat) To_EncryptedChatEmpty() *TLEncryptedChatEmpty

encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;

func (*EncryptedChat) To_EncryptedChatRequested

func (m *EncryptedChat) To_EncryptedChatRequested() *TLEncryptedChatRequested

encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat;

func (*EncryptedChat) To_EncryptedChatWaiting

func (m *EncryptedChat) To_EncryptedChatWaiting() *TLEncryptedChatWaiting

encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat;

type EncryptedChat_Data

type EncryptedChat_Data struct {
	Id             int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash     int64  `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Date           int32  `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	AdminId        int32  `protobuf:"varint,4,opt,name=admin_id,json=adminId" json:"admin_id,omitempty"`
	ParticipantId  int32  `protobuf:"varint,5,opt,name=participant_id,json=participantId" json:"participant_id,omitempty"`
	GA             []byte `protobuf:"bytes,6,opt,name=g_a,json=gA,proto3" json:"g_a,omitempty"`
	GAOrB          []byte `protobuf:"bytes,7,opt,name=g_a_or_b,json=gAOrB,proto3" json:"g_a_or_b,omitempty"`
	KeyFingerprint int64  `protobuf:"varint,8,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// EncryptedChat <--

  • TL_encryptedChatEmpty
  • TL_encryptedChatWaiting
  • TL_encryptedChatRequested
  • TL_encryptedChat
  • TL_encryptedChatDiscarded

func (*EncryptedChat_Data) Descriptor

func (*EncryptedChat_Data) Descriptor() ([]byte, []int)

func (*EncryptedChat_Data) GetAccessHash

func (m *EncryptedChat_Data) GetAccessHash() int64

func (*EncryptedChat_Data) GetAdminId

func (m *EncryptedChat_Data) GetAdminId() int32

func (*EncryptedChat_Data) GetDate

func (m *EncryptedChat_Data) GetDate() int32

func (*EncryptedChat_Data) GetGA

func (m *EncryptedChat_Data) GetGA() []byte

func (*EncryptedChat_Data) GetGAOrB

func (m *EncryptedChat_Data) GetGAOrB() []byte

func (*EncryptedChat_Data) GetId

func (m *EncryptedChat_Data) GetId() int32

func (*EncryptedChat_Data) GetKeyFingerprint

func (m *EncryptedChat_Data) GetKeyFingerprint() int64

func (*EncryptedChat_Data) GetParticipantId

func (m *EncryptedChat_Data) GetParticipantId() int32

func (*EncryptedChat_Data) ProtoMessage

func (*EncryptedChat_Data) ProtoMessage()

func (*EncryptedChat_Data) Reset

func (m *EncryptedChat_Data) Reset()

func (*EncryptedChat_Data) String

func (m *EncryptedChat_Data) String() string

type EncryptedFile

type EncryptedFile struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *EncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*EncryptedFile) Decode

func (m *EncryptedFile) Decode(dbuf *DecodeBuf) error

func (*EncryptedFile) Descriptor

func (*EncryptedFile) Descriptor() ([]byte, []int)

func (*EncryptedFile) Encode

func (m *EncryptedFile) Encode() []byte

func (*EncryptedFile) GetConstructor

func (m *EncryptedFile) GetConstructor() TLConstructor

func (*EncryptedFile) GetData2

func (m *EncryptedFile) GetData2() *EncryptedFile_Data

func (*EncryptedFile) ProtoMessage

func (*EncryptedFile) ProtoMessage()

func (*EncryptedFile) Reset

func (m *EncryptedFile) Reset()

func (*EncryptedFile) String

func (m *EncryptedFile) String() string

func (*EncryptedFile) To_EncryptedFile

func (m *EncryptedFile) To_EncryptedFile() *TLEncryptedFile

encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile;

func (*EncryptedFile) To_EncryptedFileEmpty

func (m *EncryptedFile) To_EncryptedFileEmpty() *TLEncryptedFileEmpty

encryptedFileEmpty#c21f497e = EncryptedFile;

type EncryptedFile_Data

type EncryptedFile_Data struct {
	Id             int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash     int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Size           int32 `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
	DcId           int32 `protobuf:"varint,4,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
	KeyFingerprint int32 `protobuf:"varint,5,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// EncryptedFile <--

  • TL_encryptedFileEmpty
  • TL_encryptedFile

func (*EncryptedFile_Data) Descriptor

func (*EncryptedFile_Data) Descriptor() ([]byte, []int)

func (*EncryptedFile_Data) GetAccessHash

func (m *EncryptedFile_Data) GetAccessHash() int64

func (*EncryptedFile_Data) GetDcId

func (m *EncryptedFile_Data) GetDcId() int32

func (*EncryptedFile_Data) GetId

func (m *EncryptedFile_Data) GetId() int64

func (*EncryptedFile_Data) GetKeyFingerprint

func (m *EncryptedFile_Data) GetKeyFingerprint() int32

func (*EncryptedFile_Data) GetSize

func (m *EncryptedFile_Data) GetSize() int32

func (*EncryptedFile_Data) ProtoMessage

func (*EncryptedFile_Data) ProtoMessage()

func (*EncryptedFile_Data) Reset

func (m *EncryptedFile_Data) Reset()

func (*EncryptedFile_Data) String

func (m *EncryptedFile_Data) String() string

type EncryptedMessage

type EncryptedMessage struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *EncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*EncryptedMessage) Decode

func (m *EncryptedMessage) Decode(dbuf *DecodeBuf) error

func (*EncryptedMessage) Descriptor

func (*EncryptedMessage) Descriptor() ([]byte, []int)

func (*EncryptedMessage) Encode

func (m *EncryptedMessage) Encode() []byte

func (*EncryptedMessage) GetConstructor

func (m *EncryptedMessage) GetConstructor() TLConstructor

func (*EncryptedMessage) GetData2

func (m *EncryptedMessage) GetData2() *EncryptedMessage_Data

func (*EncryptedMessage) ProtoMessage

func (*EncryptedMessage) ProtoMessage()

func (*EncryptedMessage) Reset

func (m *EncryptedMessage) Reset()

func (*EncryptedMessage) String

func (m *EncryptedMessage) String() string

func (*EncryptedMessage) To_EncryptedMessage

func (m *EncryptedMessage) To_EncryptedMessage() *TLEncryptedMessage

encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;

func (*EncryptedMessage) To_EncryptedMessageService

func (m *EncryptedMessage) To_EncryptedMessageService() *TLEncryptedMessageService

encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;

type EncryptedMessage2

type EncryptedMessage2 struct {
	NeedAck bool

	Salt      int64
	SessionId int64
	MessageId int64
	SeqNo     int32
	Object    TLObject
	// contains filtered or unexported fields
}

////////////////////////////////////////////////////////////////////////////////////////// TODO(@benqi): 将Encrypt和Descrypt移到底层

func NewEncryptedMessage2

func NewEncryptedMessage2(authKeyId int64) *EncryptedMessage2

func (*EncryptedMessage2) Decode

func (m *EncryptedMessage2) Decode(authKeyId int64, authKey, b []byte) error

func (*EncryptedMessage2) Encode

func (m *EncryptedMessage2) Encode(authKeyId int64, authKey []byte) ([]byte, error)

func (*EncryptedMessage2) MessageType

func (m *EncryptedMessage2) MessageType() int

type EncryptedMessage_Data

type EncryptedMessage_Data struct {
	RandomId int64          `protobuf:"varint,1,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	ChatId   int32          `protobuf:"varint,2,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Date     int32          `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	Bytes    []byte         `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	File     *EncryptedFile `protobuf:"bytes,5,opt,name=file" json:"file,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// EncryptedMessage <--

  • TL_encryptedMessage
  • TL_encryptedMessageService

func (*EncryptedMessage_Data) Descriptor

func (*EncryptedMessage_Data) Descriptor() ([]byte, []int)

func (*EncryptedMessage_Data) GetBytes

func (m *EncryptedMessage_Data) GetBytes() []byte

func (*EncryptedMessage_Data) GetChatId

func (m *EncryptedMessage_Data) GetChatId() int32

func (*EncryptedMessage_Data) GetDate

func (m *EncryptedMessage_Data) GetDate() int32

func (*EncryptedMessage_Data) GetFile

func (m *EncryptedMessage_Data) GetFile() *EncryptedFile

func (*EncryptedMessage_Data) GetRandomId

func (m *EncryptedMessage_Data) GetRandomId() int64

func (*EncryptedMessage_Data) ProtoMessage

func (*EncryptedMessage_Data) ProtoMessage()

func (*EncryptedMessage_Data) Reset

func (m *EncryptedMessage_Data) Reset()

func (*EncryptedMessage_Data) String

func (m *EncryptedMessage_Data) String() string

type EncryptedRawMessage

type EncryptedRawMessage struct {
	// TODO(@benqi): reportAck and quickAck
	// NeedAck bool
	AuthKeyId     int64
	MsgKey        []byte
	EncryptedData []byte
}

func NewEncryptedRawMessage

func NewEncryptedRawMessage(authKeyId int64) *EncryptedRawMessage

func (*EncryptedRawMessage) Decode

func (m *EncryptedRawMessage) Decode(b []byte) error

func (*EncryptedRawMessage) Encode

func (m *EncryptedRawMessage) Encode() []byte

type Error

type Error struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Error_Data   `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Error) Decode

func (m *Error) Decode(dbuf *DecodeBuf) error

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) Encode

func (m *Error) Encode() []byte

func (*Error) GetConstructor

func (m *Error) GetConstructor() TLConstructor

func (*Error) GetData2

func (m *Error) GetData2() *Error_Data

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) To_Error

func (m *Error) To_Error() *TLError

error#c4b9f9bb code:int text:string = Error;

type Error_Data

type Error_Data struct {
	Code int32  `protobuf:"varint,1,opt,name=code" json:"code,omitempty"`
	Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Error <--

  • TL_error

func (*Error_Data) Descriptor

func (*Error_Data) Descriptor() ([]byte, []int)

func (*Error_Data) GetCode

func (m *Error_Data) GetCode() int32

func (*Error_Data) GetText

func (m *Error_Data) GetText() string

func (*Error_Data) ProtoMessage

func (*Error_Data) ProtoMessage()

func (*Error_Data) Reset

func (m *Error_Data) Reset()

func (*Error_Data) String

func (m *Error_Data) String() string

type ExportedChatInvite

type ExportedChatInvite struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ExportedChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ExportedChatInvite) Decode

func (m *ExportedChatInvite) Decode(dbuf *DecodeBuf) error

func (*ExportedChatInvite) Descriptor

func (*ExportedChatInvite) Descriptor() ([]byte, []int)

func (*ExportedChatInvite) Encode

func (m *ExportedChatInvite) Encode() []byte

func (*ExportedChatInvite) GetConstructor

func (m *ExportedChatInvite) GetConstructor() TLConstructor

func (*ExportedChatInvite) GetData2

func (*ExportedChatInvite) ProtoMessage

func (*ExportedChatInvite) ProtoMessage()

func (*ExportedChatInvite) Reset

func (m *ExportedChatInvite) Reset()

func (*ExportedChatInvite) String

func (m *ExportedChatInvite) String() string

func (*ExportedChatInvite) To_ChatInviteEmpty

func (m *ExportedChatInvite) To_ChatInviteEmpty() *TLChatInviteEmpty

chatInviteEmpty#69df3769 = ExportedChatInvite;

func (*ExportedChatInvite) To_ChatInviteExported

func (m *ExportedChatInvite) To_ChatInviteExported() *TLChatInviteExported

chatInviteExported#fc2e05bc link:string = ExportedChatInvite;

type ExportedChatInvite_Data

type ExportedChatInvite_Data struct {
	Link string `protobuf:"bytes,1,opt,name=link" json:"link,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ExportedChatInvite <--

  • TL_chatInviteEmpty
  • TL_chatInviteExported

func (*ExportedChatInvite_Data) Descriptor

func (*ExportedChatInvite_Data) Descriptor() ([]byte, []int)
func (m *ExportedChatInvite_Data) GetLink() string

func (*ExportedChatInvite_Data) ProtoMessage

func (*ExportedChatInvite_Data) ProtoMessage()

func (*ExportedChatInvite_Data) Reset

func (m *ExportedChatInvite_Data) Reset()

func (*ExportedChatInvite_Data) String

func (m *ExportedChatInvite_Data) String() string
type ExportedMessageLink struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ExportedMessageLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ExportedMessageLink) Decode

func (m *ExportedMessageLink) Decode(dbuf *DecodeBuf) error

func (*ExportedMessageLink) Descriptor

func (*ExportedMessageLink) Descriptor() ([]byte, []int)

func (*ExportedMessageLink) Encode

func (m *ExportedMessageLink) Encode() []byte

func (*ExportedMessageLink) GetConstructor

func (m *ExportedMessageLink) GetConstructor() TLConstructor

func (*ExportedMessageLink) GetData2

func (*ExportedMessageLink) ProtoMessage

func (*ExportedMessageLink) ProtoMessage()

func (*ExportedMessageLink) Reset

func (m *ExportedMessageLink) Reset()

func (*ExportedMessageLink) String

func (m *ExportedMessageLink) String() string
func (m *ExportedMessageLink) To_ExportedMessageLink() *TLExportedMessageLink

exportedMessageLink#1f486803 link:string = ExportedMessageLink;

func (*ExportedMessageLink) To_ExportedMessageLinkLayer74

func (m *ExportedMessageLink) To_ExportedMessageLinkLayer74() *TLExportedMessageLinkLayer74
type ExportedMessageLink_Data struct {
	Link string `protobuf:"bytes,1,opt,name=link" json:"link,omitempty"`
	Html string `protobuf:"bytes,2,opt,name=html" json:"html,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ExportedMessageLink <--

  • TL_exportedMessageLink
func (*ExportedMessageLink_Data) Descriptor() ([]byte, []int)
func (m *ExportedMessageLink_Data) GetHtml() string
func (m *ExportedMessageLink_Data) GetLink() string
func (*ExportedMessageLink_Data) ProtoMessage()
func (m *ExportedMessageLink_Data) Reset()
func (m *ExportedMessageLink_Data) String() string

type FileLocation

type FileLocation struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *FileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*FileLocation) Decode

func (m *FileLocation) Decode(dbuf *DecodeBuf) error

func (*FileLocation) Descriptor

func (*FileLocation) Descriptor() ([]byte, []int)

func (*FileLocation) Encode

func (m *FileLocation) Encode() []byte

func (*FileLocation) GetConstructor

func (m *FileLocation) GetConstructor() TLConstructor

func (*FileLocation) GetData2

func (m *FileLocation) GetData2() *FileLocation_Data

func (*FileLocation) ProtoMessage

func (*FileLocation) ProtoMessage()

func (*FileLocation) Reset

func (m *FileLocation) Reset()

func (*FileLocation) String

func (m *FileLocation) String() string

func (*FileLocation) To_FileLocation

func (m *FileLocation) To_FileLocation() *TLFileLocation

fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation;

func (*FileLocation) To_FileLocationUnavailable

func (m *FileLocation) To_FileLocationUnavailable() *TLFileLocationUnavailable

fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation;

type FileLocation_Data

type FileLocation_Data struct {
	VolumeId int64 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	LocalId  int32 `protobuf:"varint,2,opt,name=local_id,json=localId" json:"local_id,omitempty"`
	Secret   int64 `protobuf:"varint,3,opt,name=secret" json:"secret,omitempty"`
	DcId     int32 `protobuf:"varint,4,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// FileLocation <--

  • TL_fileLocationUnavailable
  • TL_fileLocation

func (*FileLocation_Data) Descriptor

func (*FileLocation_Data) Descriptor() ([]byte, []int)

func (*FileLocation_Data) GetDcId

func (m *FileLocation_Data) GetDcId() int32

func (*FileLocation_Data) GetLocalId

func (m *FileLocation_Data) GetLocalId() int32

func (*FileLocation_Data) GetSecret

func (m *FileLocation_Data) GetSecret() int64

func (*FileLocation_Data) GetVolumeId

func (m *FileLocation_Data) GetVolumeId() int64

func (*FileLocation_Data) ProtoMessage

func (*FileLocation_Data) ProtoMessage()

func (*FileLocation_Data) Reset

func (m *FileLocation_Data) Reset()

func (*FileLocation_Data) String

func (m *FileLocation_Data) String() string

type FoundGif

type FoundGif struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *FoundGif_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*FoundGif) Decode

func (m *FoundGif) Decode(dbuf *DecodeBuf) error

func (*FoundGif) Descriptor

func (*FoundGif) Descriptor() ([]byte, []int)

func (*FoundGif) Encode

func (m *FoundGif) Encode() []byte

func (*FoundGif) GetConstructor

func (m *FoundGif) GetConstructor() TLConstructor

func (*FoundGif) GetData2

func (m *FoundGif) GetData2() *FoundGif_Data

func (*FoundGif) ProtoMessage

func (*FoundGif) ProtoMessage()

func (*FoundGif) Reset

func (m *FoundGif) Reset()

func (*FoundGif) String

func (m *FoundGif) String() string

func (*FoundGif) To_FoundGif

func (m *FoundGif) To_FoundGif() *TLFoundGif

foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif;

func (*FoundGif) To_FoundGifCached

func (m *FoundGif) To_FoundGifCached() *TLFoundGifCached

foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif;

type FoundGif_Data

type FoundGif_Data struct {
	Url         string    `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	ThumbUrl    string    `protobuf:"bytes,2,opt,name=thumb_url,json=thumbUrl" json:"thumb_url,omitempty"`
	ContentUrl  string    `protobuf:"bytes,3,opt,name=content_url,json=contentUrl" json:"content_url,omitempty"`
	ContentType string    `protobuf:"bytes,4,opt,name=content_type,json=contentType" json:"content_type,omitempty"`
	W           int32     `protobuf:"varint,5,opt,name=w" json:"w,omitempty"`
	H           int32     `protobuf:"varint,6,opt,name=h" json:"h,omitempty"`
	Photo       *Photo    `protobuf:"bytes,7,opt,name=photo" json:"photo,omitempty"`
	Document    *Document `protobuf:"bytes,8,opt,name=document" json:"document,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// FoundGif <--

  • TL_foundGif
  • TL_foundGifCached

func (*FoundGif_Data) Descriptor

func (*FoundGif_Data) Descriptor() ([]byte, []int)

func (*FoundGif_Data) GetContentType

func (m *FoundGif_Data) GetContentType() string

func (*FoundGif_Data) GetContentUrl

func (m *FoundGif_Data) GetContentUrl() string

func (*FoundGif_Data) GetDocument

func (m *FoundGif_Data) GetDocument() *Document

func (*FoundGif_Data) GetH

func (m *FoundGif_Data) GetH() int32

func (*FoundGif_Data) GetPhoto

func (m *FoundGif_Data) GetPhoto() *Photo

func (*FoundGif_Data) GetThumbUrl

func (m *FoundGif_Data) GetThumbUrl() string

func (*FoundGif_Data) GetUrl

func (m *FoundGif_Data) GetUrl() string

func (*FoundGif_Data) GetW

func (m *FoundGif_Data) GetW() int32

func (*FoundGif_Data) ProtoMessage

func (*FoundGif_Data) ProtoMessage()

func (*FoundGif_Data) Reset

func (m *FoundGif_Data) Reset()

func (*FoundGif_Data) String

func (m *FoundGif_Data) String() string

type FutureSalt

type FutureSalt struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *FutureSalt_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*FutureSalt) Decode

func (m *FutureSalt) Decode(dbuf *DecodeBuf) error

func (*FutureSalt) Descriptor

func (*FutureSalt) Descriptor() ([]byte, []int)

func (*FutureSalt) Encode

func (m *FutureSalt) Encode() []byte

func (*FutureSalt) GetConstructor

func (m *FutureSalt) GetConstructor() TLConstructor

func (*FutureSalt) GetData2

func (m *FutureSalt) GetData2() *FutureSalt_Data

func (*FutureSalt) ProtoMessage

func (*FutureSalt) ProtoMessage()

func (*FutureSalt) Reset

func (m *FutureSalt) Reset()

func (*FutureSalt) String

func (m *FutureSalt) String() string

func (*FutureSalt) To_FutureSalt

func (m *FutureSalt) To_FutureSalt() *TLFutureSalt

future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt;

type FutureSalt_Data

type FutureSalt_Data struct {
	ValidSince int32 `protobuf:"varint,1,opt,name=valid_since,json=validSince" json:"valid_since,omitempty"`
	ValidUntil int32 `protobuf:"varint,2,opt,name=valid_until,json=validUntil" json:"valid_until,omitempty"`
	Salt       int64 `protobuf:"varint,3,opt,name=salt" json:"salt,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// FutureSalt <--

  • TL_future_salt

func (*FutureSalt_Data) Descriptor

func (*FutureSalt_Data) Descriptor() ([]byte, []int)

func (*FutureSalt_Data) GetSalt

func (m *FutureSalt_Data) GetSalt() int64

func (*FutureSalt_Data) GetValidSince

func (m *FutureSalt_Data) GetValidSince() int32

func (*FutureSalt_Data) GetValidUntil

func (m *FutureSalt_Data) GetValidUntil() int32

func (*FutureSalt_Data) ProtoMessage

func (*FutureSalt_Data) ProtoMessage()

func (*FutureSalt_Data) Reset

func (m *FutureSalt_Data) Reset()

func (*FutureSalt_Data) String

func (m *FutureSalt_Data) String() string

type FutureSalts

type FutureSalts struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *FutureSalts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*FutureSalts) Decode

func (m *FutureSalts) Decode(dbuf *DecodeBuf) error

func (*FutureSalts) Descriptor

func (*FutureSalts) Descriptor() ([]byte, []int)

func (*FutureSalts) Encode

func (m *FutureSalts) Encode() []byte

func (*FutureSalts) GetConstructor

func (m *FutureSalts) GetConstructor() TLConstructor

func (*FutureSalts) GetData2

func (m *FutureSalts) GetData2() *FutureSalts_Data

func (*FutureSalts) ProtoMessage

func (*FutureSalts) ProtoMessage()

func (*FutureSalts) Reset

func (m *FutureSalts) Reset()

func (*FutureSalts) String

func (m *FutureSalts) String() string

func (*FutureSalts) To_FutureSalts

func (m *FutureSalts) To_FutureSalts() *TLFutureSalts

future_salts#ae500895 req_msg_id:long now:int salts:vector<future_salt> = FutureSalts;

type FutureSalts_Data

type FutureSalts_Data struct {
	ReqMsgId int64           `protobuf:"varint,1,opt,name=req_msg_id,json=reqMsgId" json:"req_msg_id,omitempty"`
	Now      int32           `protobuf:"varint,2,opt,name=now" json:"now,omitempty"`
	Salts    []*TLFutureSalt `protobuf:"bytes,3,rep,name=salts" json:"salts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// FutureSalts <--

  • TL_future_salts

func (*FutureSalts_Data) Descriptor

func (*FutureSalts_Data) Descriptor() ([]byte, []int)

func (*FutureSalts_Data) GetNow

func (m *FutureSalts_Data) GetNow() int32

func (*FutureSalts_Data) GetReqMsgId

func (m *FutureSalts_Data) GetReqMsgId() int64

func (*FutureSalts_Data) GetSalts

func (m *FutureSalts_Data) GetSalts() []*TLFutureSalt

func (*FutureSalts_Data) ProtoMessage

func (*FutureSalts_Data) ProtoMessage()

func (*FutureSalts_Data) Reset

func (m *FutureSalts_Data) Reset()

func (*FutureSalts_Data) String

func (m *FutureSalts_Data) String() string

type Game

type Game struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Game_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Game) Decode

func (m *Game) Decode(dbuf *DecodeBuf) error

func (*Game) Descriptor

func (*Game) Descriptor() ([]byte, []int)

func (*Game) Encode

func (m *Game) Encode() []byte

func (*Game) GetConstructor

func (m *Game) GetConstructor() TLConstructor

func (*Game) GetData2

func (m *Game) GetData2() *Game_Data

func (*Game) ProtoMessage

func (*Game) ProtoMessage()

func (*Game) Reset

func (m *Game) Reset()

func (*Game) String

func (m *Game) String() string

func (*Game) To_Game

func (m *Game) To_Game() *TLGame

game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game;

type Game_Data

type Game_Data struct {
	Id          int64     `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash  int64     `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	ShortName   string    `protobuf:"bytes,3,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
	Title       string    `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	Description string    `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"`
	Photo       *Photo    `protobuf:"bytes,6,opt,name=photo" json:"photo,omitempty"`
	Document    *Document `protobuf:"bytes,7,opt,name=document" json:"document,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Game <--

  • TL_game

func (*Game_Data) Descriptor

func (*Game_Data) Descriptor() ([]byte, []int)

func (*Game_Data) GetAccessHash

func (m *Game_Data) GetAccessHash() int64

func (*Game_Data) GetDescription

func (m *Game_Data) GetDescription() string

func (*Game_Data) GetDocument

func (m *Game_Data) GetDocument() *Document

func (*Game_Data) GetId

func (m *Game_Data) GetId() int64

func (*Game_Data) GetPhoto

func (m *Game_Data) GetPhoto() *Photo

func (*Game_Data) GetShortName

func (m *Game_Data) GetShortName() string

func (*Game_Data) GetTitle

func (m *Game_Data) GetTitle() string

func (*Game_Data) ProtoMessage

func (*Game_Data) ProtoMessage()

func (*Game_Data) Reset

func (m *Game_Data) Reset()

func (*Game_Data) String

func (m *Game_Data) String() string

type GeoPoint

type GeoPoint struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *GeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*GeoPoint) Decode

func (m *GeoPoint) Decode(dbuf *DecodeBuf) error

func (*GeoPoint) Descriptor

func (*GeoPoint) Descriptor() ([]byte, []int)

func (*GeoPoint) Encode

func (m *GeoPoint) Encode() []byte

func (*GeoPoint) GetConstructor

func (m *GeoPoint) GetConstructor() TLConstructor

func (*GeoPoint) GetData2

func (m *GeoPoint) GetData2() *GeoPoint_Data

func (*GeoPoint) ProtoMessage

func (*GeoPoint) ProtoMessage()

func (*GeoPoint) Reset

func (m *GeoPoint) Reset()

func (*GeoPoint) String

func (m *GeoPoint) String() string

func (*GeoPoint) To_GeoPoint

func (m *GeoPoint) To_GeoPoint() *TLGeoPoint

geoPoint#2049d70c long:double lat:double = GeoPoint;

func (*GeoPoint) To_GeoPointEmpty

func (m *GeoPoint) To_GeoPointEmpty() *TLGeoPointEmpty

geoPointEmpty#1117dd5f = GeoPoint;

type GeoPoint_Data

type GeoPoint_Data struct {
	Long float64 `protobuf:"fixed64,1,opt,name=long" json:"long,omitempty"`
	Lat  float64 `protobuf:"fixed64,2,opt,name=lat" json:"lat,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// GeoPoint <--

  • TL_geoPointEmpty
  • TL_geoPoint

func (*GeoPoint_Data) Descriptor

func (*GeoPoint_Data) Descriptor() ([]byte, []int)

func (*GeoPoint_Data) GetLat

func (m *GeoPoint_Data) GetLat() float64

func (*GeoPoint_Data) GetLong

func (m *GeoPoint_Data) GetLong() float64

func (*GeoPoint_Data) ProtoMessage

func (*GeoPoint_Data) ProtoMessage()

func (*GeoPoint_Data) Reset

func (m *GeoPoint_Data) Reset()

func (*GeoPoint_Data) String

func (m *GeoPoint_Data) String() string

type GetPhotoFileDataRequest

type GetPhotoFileDataRequest struct {
	PhotoId int64 `protobuf:"varint,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
}

func (*GetPhotoFileDataRequest) Descriptor

func (*GetPhotoFileDataRequest) Descriptor() ([]byte, []int)

func (*GetPhotoFileDataRequest) GetPhotoId

func (m *GetPhotoFileDataRequest) GetPhotoId() int64

func (*GetPhotoFileDataRequest) ProtoMessage

func (*GetPhotoFileDataRequest) ProtoMessage()

func (*GetPhotoFileDataRequest) Reset

func (m *GetPhotoFileDataRequest) Reset()

func (*GetPhotoFileDataRequest) String

func (m *GetPhotoFileDataRequest) String() string

type HandshakeState

type HandshakeState struct {
	State    int    // 状态
	ResState int    // 后端握手返回的结果
	Ctx      []byte // 握手上下文数据,透传给后端
}

func (*HandshakeState) String

func (s *HandshakeState) String() string

type Help_AppUpdate

type Help_AppUpdate struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Help_AppUpdate_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Help_AppUpdate) Decode

func (m *Help_AppUpdate) Decode(dbuf *DecodeBuf) error

func (*Help_AppUpdate) Descriptor

func (*Help_AppUpdate) Descriptor() ([]byte, []int)

func (*Help_AppUpdate) Encode

func (m *Help_AppUpdate) Encode() []byte

func (*Help_AppUpdate) GetConstructor

func (m *Help_AppUpdate) GetConstructor() TLConstructor

func (*Help_AppUpdate) GetData2

func (m *Help_AppUpdate) GetData2() *Help_AppUpdate_Data

func (*Help_AppUpdate) ProtoMessage

func (*Help_AppUpdate) ProtoMessage()

func (*Help_AppUpdate) Reset

func (m *Help_AppUpdate) Reset()

func (*Help_AppUpdate) String

func (m *Help_AppUpdate) String() string

func (*Help_AppUpdate) To_HelpAppUpdate

func (m *Help_AppUpdate) To_HelpAppUpdate() *TLHelpAppUpdate

help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;

func (*Help_AppUpdate) To_HelpNoAppUpdate

func (m *Help_AppUpdate) To_HelpNoAppUpdate() *TLHelpNoAppUpdate

help.noAppUpdate#c45a6536 = help.AppUpdate;

type Help_AppUpdate_Data

type Help_AppUpdate_Data struct {
	Id       int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Critical *Bool  `protobuf:"bytes,2,opt,name=critical" json:"critical,omitempty"`
	Url      string `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	Text     string `protobuf:"bytes,4,opt,name=text" json:"text,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help_AppUpdate <--

  • TL_help_appUpdate
  • TL_help_noAppUpdate

func (*Help_AppUpdate_Data) Descriptor

func (*Help_AppUpdate_Data) Descriptor() ([]byte, []int)

func (*Help_AppUpdate_Data) GetCritical

func (m *Help_AppUpdate_Data) GetCritical() *Bool

func (*Help_AppUpdate_Data) GetId

func (m *Help_AppUpdate_Data) GetId() int32

func (*Help_AppUpdate_Data) GetText

func (m *Help_AppUpdate_Data) GetText() string

func (*Help_AppUpdate_Data) GetUrl

func (m *Help_AppUpdate_Data) GetUrl() string

func (*Help_AppUpdate_Data) ProtoMessage

func (*Help_AppUpdate_Data) ProtoMessage()

func (*Help_AppUpdate_Data) Reset

func (m *Help_AppUpdate_Data) Reset()

func (*Help_AppUpdate_Data) String

func (m *Help_AppUpdate_Data) String() string

type Help_InviteText

type Help_InviteText struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Help_InviteText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Help_InviteText) Decode

func (m *Help_InviteText) Decode(dbuf *DecodeBuf) error

func (*Help_InviteText) Descriptor

func (*Help_InviteText) Descriptor() ([]byte, []int)

func (*Help_InviteText) Encode

func (m *Help_InviteText) Encode() []byte

func (*Help_InviteText) GetConstructor

func (m *Help_InviteText) GetConstructor() TLConstructor

func (*Help_InviteText) GetData2

func (m *Help_InviteText) GetData2() *Help_InviteText_Data

func (*Help_InviteText) ProtoMessage

func (*Help_InviteText) ProtoMessage()

func (*Help_InviteText) Reset

func (m *Help_InviteText) Reset()

func (*Help_InviteText) String

func (m *Help_InviteText) String() string

func (*Help_InviteText) To_HelpInviteText

func (m *Help_InviteText) To_HelpInviteText() *TLHelpInviteText

help.inviteText#18cb9f78 message:string = help.InviteText;

type Help_InviteText_Data

type Help_InviteText_Data struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help_InviteText <--

  • TL_help_inviteText

func (*Help_InviteText_Data) Descriptor

func (*Help_InviteText_Data) Descriptor() ([]byte, []int)

func (*Help_InviteText_Data) GetMessage

func (m *Help_InviteText_Data) GetMessage() string

func (*Help_InviteText_Data) ProtoMessage

func (*Help_InviteText_Data) ProtoMessage()

func (*Help_InviteText_Data) Reset

func (m *Help_InviteText_Data) Reset()

func (*Help_InviteText_Data) String

func (m *Help_InviteText_Data) String() string

type Help_RecentMeUrls

type Help_RecentMeUrls struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Help_RecentMeUrls_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Help_RecentMeUrls) Decode

func (m *Help_RecentMeUrls) Decode(dbuf *DecodeBuf) error

func (*Help_RecentMeUrls) Descriptor

func (*Help_RecentMeUrls) Descriptor() ([]byte, []int)

func (*Help_RecentMeUrls) Encode

func (m *Help_RecentMeUrls) Encode() []byte

func (*Help_RecentMeUrls) GetConstructor

func (m *Help_RecentMeUrls) GetConstructor() TLConstructor

func (*Help_RecentMeUrls) GetData2

func (*Help_RecentMeUrls) ProtoMessage

func (*Help_RecentMeUrls) ProtoMessage()

func (*Help_RecentMeUrls) Reset

func (m *Help_RecentMeUrls) Reset()

func (*Help_RecentMeUrls) String

func (m *Help_RecentMeUrls) String() string

func (*Help_RecentMeUrls) To_HelpRecentMeUrls

func (m *Help_RecentMeUrls) To_HelpRecentMeUrls() *TLHelpRecentMeUrls

help.recentMeUrls#e0310d7 urls:Vector<RecentMeUrl> chats:Vector<Chat> users:Vector<User> = help.RecentMeUrls;

type Help_RecentMeUrls_Data

type Help_RecentMeUrls_Data struct {
	Urls  []*RecentMeUrl `protobuf:"bytes,1,rep,name=urls" json:"urls,omitempty"`
	Chats []*Chat        `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users []*User        `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help_RecentMeUrls <--

  • TL_help_recentMeUrls

func (*Help_RecentMeUrls_Data) Descriptor

func (*Help_RecentMeUrls_Data) Descriptor() ([]byte, []int)

func (*Help_RecentMeUrls_Data) GetChats

func (m *Help_RecentMeUrls_Data) GetChats() []*Chat

func (*Help_RecentMeUrls_Data) GetUrls

func (m *Help_RecentMeUrls_Data) GetUrls() []*RecentMeUrl

func (*Help_RecentMeUrls_Data) GetUsers

func (m *Help_RecentMeUrls_Data) GetUsers() []*User

func (*Help_RecentMeUrls_Data) ProtoMessage

func (*Help_RecentMeUrls_Data) ProtoMessage()

func (*Help_RecentMeUrls_Data) Reset

func (m *Help_RecentMeUrls_Data) Reset()

func (*Help_RecentMeUrls_Data) String

func (m *Help_RecentMeUrls_Data) String() string

type Help_Support

type Help_Support struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Help_Support_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Help_Support) Decode

func (m *Help_Support) Decode(dbuf *DecodeBuf) error

func (*Help_Support) Descriptor

func (*Help_Support) Descriptor() ([]byte, []int)

func (*Help_Support) Encode

func (m *Help_Support) Encode() []byte

func (*Help_Support) GetConstructor

func (m *Help_Support) GetConstructor() TLConstructor

func (*Help_Support) GetData2

func (m *Help_Support) GetData2() *Help_Support_Data

func (*Help_Support) ProtoMessage

func (*Help_Support) ProtoMessage()

func (*Help_Support) Reset

func (m *Help_Support) Reset()

func (*Help_Support) String

func (m *Help_Support) String() string

func (*Help_Support) To_HelpSupport

func (m *Help_Support) To_HelpSupport() *TLHelpSupport

help.support#17c6b5f6 phone_number:string user:User = help.Support;

type Help_Support_Data

type Help_Support_Data struct {
	PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	User        *User  `protobuf:"bytes,2,opt,name=user" json:"user,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help_Support <--

  • TL_help_support

func (*Help_Support_Data) Descriptor

func (*Help_Support_Data) Descriptor() ([]byte, []int)

func (*Help_Support_Data) GetPhoneNumber

func (m *Help_Support_Data) GetPhoneNumber() string

func (*Help_Support_Data) GetUser

func (m *Help_Support_Data) GetUser() *User

func (*Help_Support_Data) ProtoMessage

func (*Help_Support_Data) ProtoMessage()

func (*Help_Support_Data) Reset

func (m *Help_Support_Data) Reset()

func (*Help_Support_Data) String

func (m *Help_Support_Data) String() string

type Help_TermsOfService

type Help_TermsOfService struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Help_TermsOfService_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Help_TermsOfService) Decode

func (m *Help_TermsOfService) Decode(dbuf *DecodeBuf) error

func (*Help_TermsOfService) Descriptor

func (*Help_TermsOfService) Descriptor() ([]byte, []int)

func (*Help_TermsOfService) Encode

func (m *Help_TermsOfService) Encode() []byte

func (*Help_TermsOfService) GetConstructor

func (m *Help_TermsOfService) GetConstructor() TLConstructor

func (*Help_TermsOfService) GetData2

func (*Help_TermsOfService) ProtoMessage

func (*Help_TermsOfService) ProtoMessage()

func (*Help_TermsOfService) Reset

func (m *Help_TermsOfService) Reset()

func (*Help_TermsOfService) String

func (m *Help_TermsOfService) String() string

func (*Help_TermsOfService) To_HelpTermsOfService

func (m *Help_TermsOfService) To_HelpTermsOfService() *TLHelpTermsOfService

help.termsOfService#f1ee3e90 text:string = help.TermsOfService;

type Help_TermsOfService_Data

type Help_TermsOfService_Data struct {
	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help_TermsOfService <--

  • TL_help_termsOfService

func (*Help_TermsOfService_Data) Descriptor

func (*Help_TermsOfService_Data) Descriptor() ([]byte, []int)

func (*Help_TermsOfService_Data) GetText

func (m *Help_TermsOfService_Data) GetText() string

func (*Help_TermsOfService_Data) ProtoMessage

func (*Help_TermsOfService_Data) ProtoMessage()

func (*Help_TermsOfService_Data) Reset

func (m *Help_TermsOfService_Data) Reset()

func (*Help_TermsOfService_Data) String

func (m *Help_TermsOfService_Data) String() string

type HighScore

type HighScore struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *HighScore_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*HighScore) Decode

func (m *HighScore) Decode(dbuf *DecodeBuf) error

func (*HighScore) Descriptor

func (*HighScore) Descriptor() ([]byte, []int)

func (*HighScore) Encode

func (m *HighScore) Encode() []byte

func (*HighScore) GetConstructor

func (m *HighScore) GetConstructor() TLConstructor

func (*HighScore) GetData2

func (m *HighScore) GetData2() *HighScore_Data

func (*HighScore) ProtoMessage

func (*HighScore) ProtoMessage()

func (*HighScore) Reset

func (m *HighScore) Reset()

func (*HighScore) String

func (m *HighScore) String() string

func (*HighScore) To_HighScore

func (m *HighScore) To_HighScore() *TLHighScore

highScore#58fffcd0 pos:int user_id:int score:int = HighScore;

type HighScore_Data

type HighScore_Data struct {
	Pos    int32 `protobuf:"varint,1,opt,name=pos" json:"pos,omitempty"`
	UserId int32 `protobuf:"varint,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Score  int32 `protobuf:"varint,3,opt,name=score" json:"score,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// HighScore <--

  • TL_highScore

func (*HighScore_Data) Descriptor

func (*HighScore_Data) Descriptor() ([]byte, []int)

func (*HighScore_Data) GetPos

func (m *HighScore_Data) GetPos() int32

func (*HighScore_Data) GetScore

func (m *HighScore_Data) GetScore() int32

func (*HighScore_Data) GetUserId

func (m *HighScore_Data) GetUserId() int32

func (*HighScore_Data) ProtoMessage

func (*HighScore_Data) ProtoMessage()

func (*HighScore_Data) Reset

func (m *HighScore_Data) Reset()

func (*HighScore_Data) String

func (m *HighScore_Data) String() string

type HttpWait

type HttpWait struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *HttpWait_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*HttpWait) Decode

func (m *HttpWait) Decode(dbuf *DecodeBuf) error

func (*HttpWait) Descriptor

func (*HttpWait) Descriptor() ([]byte, []int)

func (*HttpWait) Encode

func (m *HttpWait) Encode() []byte

func (*HttpWait) GetConstructor

func (m *HttpWait) GetConstructor() TLConstructor

func (*HttpWait) GetData2

func (m *HttpWait) GetData2() *HttpWait_Data

func (*HttpWait) ProtoMessage

func (*HttpWait) ProtoMessage()

func (*HttpWait) Reset

func (m *HttpWait) Reset()

func (*HttpWait) String

func (m *HttpWait) String() string

func (*HttpWait) To_HttpWait

func (m *HttpWait) To_HttpWait() *TLHttpWait

http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait;

type HttpWait_Data

type HttpWait_Data struct {
	MaxDelay  int32 `protobuf:"varint,1,opt,name=max_delay,json=maxDelay" json:"max_delay,omitempty"`
	WaitAfter int32 `protobuf:"varint,2,opt,name=wait_after,json=waitAfter" json:"wait_after,omitempty"`
	MaxWait   int32 `protobuf:"varint,3,opt,name=max_wait,json=maxWait" json:"max_wait,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// HttpWait <--

  • TL_http_wait

func (*HttpWait_Data) Descriptor

func (*HttpWait_Data) Descriptor() ([]byte, []int)

func (*HttpWait_Data) GetMaxDelay

func (m *HttpWait_Data) GetMaxDelay() int32

func (*HttpWait_Data) GetMaxWait

func (m *HttpWait_Data) GetMaxWait() int32

func (*HttpWait_Data) GetWaitAfter

func (m *HttpWait_Data) GetWaitAfter() int32

func (*HttpWait_Data) ProtoMessage

func (*HttpWait_Data) ProtoMessage()

func (*HttpWait_Data) Reset

func (m *HttpWait_Data) Reset()

func (*HttpWait_Data) String

func (m *HttpWait_Data) String() string

type ImportedContact

type ImportedContact struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ImportedContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ImportedContact) Decode

func (m *ImportedContact) Decode(dbuf *DecodeBuf) error

func (*ImportedContact) Descriptor

func (*ImportedContact) Descriptor() ([]byte, []int)

func (*ImportedContact) Encode

func (m *ImportedContact) Encode() []byte

func (*ImportedContact) GetConstructor

func (m *ImportedContact) GetConstructor() TLConstructor

func (*ImportedContact) GetData2

func (m *ImportedContact) GetData2() *ImportedContact_Data

func (*ImportedContact) ProtoMessage

func (*ImportedContact) ProtoMessage()

func (*ImportedContact) Reset

func (m *ImportedContact) Reset()

func (*ImportedContact) String

func (m *ImportedContact) String() string

func (*ImportedContact) To_ImportedContact

func (m *ImportedContact) To_ImportedContact() *TLImportedContact

importedContact#d0028438 user_id:int client_id:long = ImportedContact;

type ImportedContact_Data

type ImportedContact_Data struct {
	UserId   int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	ClientId int64 `protobuf:"varint,2,opt,name=client_id,json=clientId" json:"client_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ImportedContact <--

  • TL_importedContact

func (*ImportedContact_Data) Descriptor

func (*ImportedContact_Data) Descriptor() ([]byte, []int)

func (*ImportedContact_Data) GetClientId

func (m *ImportedContact_Data) GetClientId() int64

func (*ImportedContact_Data) GetUserId

func (m *ImportedContact_Data) GetUserId() int32

func (*ImportedContact_Data) ProtoMessage

func (*ImportedContact_Data) ProtoMessage()

func (*ImportedContact_Data) Reset

func (m *ImportedContact_Data) Reset()

func (*ImportedContact_Data) String

func (m *ImportedContact_Data) String() string

type InlineBotSwitchPM

type InlineBotSwitchPM struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InlineBotSwitchPM_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InlineBotSwitchPM) Decode

func (m *InlineBotSwitchPM) Decode(dbuf *DecodeBuf) error

func (*InlineBotSwitchPM) Descriptor

func (*InlineBotSwitchPM) Descriptor() ([]byte, []int)

func (*InlineBotSwitchPM) Encode

func (m *InlineBotSwitchPM) Encode() []byte

func (*InlineBotSwitchPM) GetConstructor

func (m *InlineBotSwitchPM) GetConstructor() TLConstructor

func (*InlineBotSwitchPM) GetData2

func (*InlineBotSwitchPM) ProtoMessage

func (*InlineBotSwitchPM) ProtoMessage()

func (*InlineBotSwitchPM) Reset

func (m *InlineBotSwitchPM) Reset()

func (*InlineBotSwitchPM) String

func (m *InlineBotSwitchPM) String() string

func (*InlineBotSwitchPM) To_InlineBotSwitchPM

func (m *InlineBotSwitchPM) To_InlineBotSwitchPM() *TLInlineBotSwitchPM

inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;

type InlineBotSwitchPM_Data

type InlineBotSwitchPM_Data struct {
	Text       string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
	StartParam string `protobuf:"bytes,2,opt,name=start_param,json=startParam" json:"start_param,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InlineBotSwitchPM <--

  • TL_inlineBotSwitchPM

func (*InlineBotSwitchPM_Data) Descriptor

func (*InlineBotSwitchPM_Data) Descriptor() ([]byte, []int)

func (*InlineBotSwitchPM_Data) GetStartParam

func (m *InlineBotSwitchPM_Data) GetStartParam() string

func (*InlineBotSwitchPM_Data) GetText

func (m *InlineBotSwitchPM_Data) GetText() string

func (*InlineBotSwitchPM_Data) ProtoMessage

func (*InlineBotSwitchPM_Data) ProtoMessage()

func (*InlineBotSwitchPM_Data) Reset

func (m *InlineBotSwitchPM_Data) Reset()

func (*InlineBotSwitchPM_Data) String

func (m *InlineBotSwitchPM_Data) String() string

type InputAppEvent

type InputAppEvent struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputAppEvent_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputAppEvent) Decode

func (m *InputAppEvent) Decode(dbuf *DecodeBuf) error

func (*InputAppEvent) Descriptor

func (*InputAppEvent) Descriptor() ([]byte, []int)

func (*InputAppEvent) Encode

func (m *InputAppEvent) Encode() []byte

func (*InputAppEvent) GetConstructor

func (m *InputAppEvent) GetConstructor() TLConstructor

func (*InputAppEvent) GetData2

func (m *InputAppEvent) GetData2() *InputAppEvent_Data

func (*InputAppEvent) ProtoMessage

func (*InputAppEvent) ProtoMessage()

func (*InputAppEvent) Reset

func (m *InputAppEvent) Reset()

func (*InputAppEvent) String

func (m *InputAppEvent) String() string

func (*InputAppEvent) To_InputAppEvent

func (m *InputAppEvent) To_InputAppEvent() *TLInputAppEvent

inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent;

type InputAppEvent_Data

type InputAppEvent_Data struct {
	Time float64 `protobuf:"fixed64,1,opt,name=time" json:"time,omitempty"`
	Type string  `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Peer int64   `protobuf:"varint,3,opt,name=peer" json:"peer,omitempty"`
	Data string  `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputAppEvent <--

  • TL_inputAppEvent

func (*InputAppEvent_Data) Descriptor

func (*InputAppEvent_Data) Descriptor() ([]byte, []int)

func (*InputAppEvent_Data) GetData

func (m *InputAppEvent_Data) GetData() string

func (*InputAppEvent_Data) GetPeer

func (m *InputAppEvent_Data) GetPeer() int64

func (*InputAppEvent_Data) GetTime

func (m *InputAppEvent_Data) GetTime() float64

func (*InputAppEvent_Data) GetType

func (m *InputAppEvent_Data) GetType() string

func (*InputAppEvent_Data) ProtoMessage

func (*InputAppEvent_Data) ProtoMessage()

func (*InputAppEvent_Data) Reset

func (m *InputAppEvent_Data) Reset()

func (*InputAppEvent_Data) String

func (m *InputAppEvent_Data) String() string

type InputBotInlineMessage

type InputBotInlineMessage struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputBotInlineMessage) Decode

func (m *InputBotInlineMessage) Decode(dbuf *DecodeBuf) error

func (*InputBotInlineMessage) Descriptor

func (*InputBotInlineMessage) Descriptor() ([]byte, []int)

func (*InputBotInlineMessage) Encode

func (m *InputBotInlineMessage) Encode() []byte

func (*InputBotInlineMessage) GetConstructor

func (m *InputBotInlineMessage) GetConstructor() TLConstructor

func (*InputBotInlineMessage) GetData2

func (*InputBotInlineMessage) ProtoMessage

func (*InputBotInlineMessage) ProtoMessage()

func (*InputBotInlineMessage) Reset

func (m *InputBotInlineMessage) Reset()

func (*InputBotInlineMessage) String

func (m *InputBotInlineMessage) String() string

func (*InputBotInlineMessage) To_InputBotInlineMessageGame

func (m *InputBotInlineMessage) To_InputBotInlineMessageGame() *TLInputBotInlineMessageGame

inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func (*InputBotInlineMessage) To_InputBotInlineMessageMediaAuto

func (m *InputBotInlineMessage) To_InputBotInlineMessageMediaAuto() *TLInputBotInlineMessageMediaAuto

inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func (*InputBotInlineMessage) To_InputBotInlineMessageMediaContact

func (m *InputBotInlineMessage) To_InputBotInlineMessageMediaContact() *TLInputBotInlineMessageMediaContact

inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func (*InputBotInlineMessage) To_InputBotInlineMessageMediaGeo

func (m *InputBotInlineMessage) To_InputBotInlineMessageMediaGeo() *TLInputBotInlineMessageMediaGeo

inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func (*InputBotInlineMessage) To_InputBotInlineMessageMediaVenue

func (m *InputBotInlineMessage) To_InputBotInlineMessageMediaVenue() *TLInputBotInlineMessageMediaVenue

inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func (*InputBotInlineMessage) To_InputBotInlineMessageText

func (m *InputBotInlineMessage) To_InputBotInlineMessageText() *TLInputBotInlineMessageText

inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type InputBotInlineMessageID

type InputBotInlineMessageID struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputBotInlineMessageID_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputBotInlineMessageID) Decode

func (m *InputBotInlineMessageID) Decode(dbuf *DecodeBuf) error

func (*InputBotInlineMessageID) Descriptor

func (*InputBotInlineMessageID) Descriptor() ([]byte, []int)

func (*InputBotInlineMessageID) Encode

func (m *InputBotInlineMessageID) Encode() []byte

func (*InputBotInlineMessageID) GetConstructor

func (m *InputBotInlineMessageID) GetConstructor() TLConstructor

func (*InputBotInlineMessageID) GetData2

func (*InputBotInlineMessageID) ProtoMessage

func (*InputBotInlineMessageID) ProtoMessage()

func (*InputBotInlineMessageID) Reset

func (m *InputBotInlineMessageID) Reset()

func (*InputBotInlineMessageID) String

func (m *InputBotInlineMessageID) String() string

func (*InputBotInlineMessageID) To_InputBotInlineMessageID

func (m *InputBotInlineMessageID) To_InputBotInlineMessageID() *TLInputBotInlineMessageID

inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID;

type InputBotInlineMessageID_Data

type InputBotInlineMessageID_Data struct {
	DcId       int32 `protobuf:"varint,1,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
	Id         int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,3,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputBotInlineMessageID <--

  • TL_inputBotInlineMessageID

func (*InputBotInlineMessageID_Data) Descriptor

func (*InputBotInlineMessageID_Data) Descriptor() ([]byte, []int)

func (*InputBotInlineMessageID_Data) GetAccessHash

func (m *InputBotInlineMessageID_Data) GetAccessHash() int64

func (*InputBotInlineMessageID_Data) GetDcId

func (m *InputBotInlineMessageID_Data) GetDcId() int32

func (*InputBotInlineMessageID_Data) GetId

func (*InputBotInlineMessageID_Data) ProtoMessage

func (*InputBotInlineMessageID_Data) ProtoMessage()

func (*InputBotInlineMessageID_Data) Reset

func (m *InputBotInlineMessageID_Data) Reset()

func (*InputBotInlineMessageID_Data) String

type InputBotInlineMessage_Data

type InputBotInlineMessage_Data struct {
	Caption     string           `protobuf:"bytes,1,opt,name=caption" json:"caption,omitempty"`
	ReplyMarkup *ReplyMarkup     `protobuf:"bytes,2,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	NoWebpage   bool             `protobuf:"varint,3,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	Message     string           `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	Entities    []*MessageEntity `protobuf:"bytes,5,rep,name=entities" json:"entities,omitempty"`
	GeoPoint    *InputGeoPoint   `protobuf:"bytes,6,opt,name=geo_point,json=geoPoint" json:"geo_point,omitempty"`
	Period      int32            `protobuf:"varint,7,opt,name=period" json:"period,omitempty"`
	Title       string           `protobuf:"bytes,8,opt,name=title" json:"title,omitempty"`
	Address     string           `protobuf:"bytes,9,opt,name=address" json:"address,omitempty"`
	Provider    string           `protobuf:"bytes,10,opt,name=provider" json:"provider,omitempty"`
	VenueId     string           `protobuf:"bytes,11,opt,name=venue_id,json=venueId" json:"venue_id,omitempty"`
	PhoneNumber string           `protobuf:"bytes,12,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	FirstName   string           `protobuf:"bytes,13,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName    string           `protobuf:"bytes,14,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputBotInlineMessage <--

  • TL_inputBotInlineMessageMediaAuto
  • TL_inputBotInlineMessageText
  • TL_inputBotInlineMessageMediaGeo
  • TL_inputBotInlineMessageMediaVenue
  • TL_inputBotInlineMessageMediaContact
  • TL_inputBotInlineMessageGame

func (*InputBotInlineMessage_Data) Descriptor

func (*InputBotInlineMessage_Data) Descriptor() ([]byte, []int)

func (*InputBotInlineMessage_Data) GetAddress

func (m *InputBotInlineMessage_Data) GetAddress() string

func (*InputBotInlineMessage_Data) GetCaption

func (m *InputBotInlineMessage_Data) GetCaption() string

func (*InputBotInlineMessage_Data) GetEntities

func (m *InputBotInlineMessage_Data) GetEntities() []*MessageEntity

func (*InputBotInlineMessage_Data) GetFirstName

func (m *InputBotInlineMessage_Data) GetFirstName() string

func (*InputBotInlineMessage_Data) GetGeoPoint

func (m *InputBotInlineMessage_Data) GetGeoPoint() *InputGeoPoint

func (*InputBotInlineMessage_Data) GetLastName

func (m *InputBotInlineMessage_Data) GetLastName() string

func (*InputBotInlineMessage_Data) GetMessage

func (m *InputBotInlineMessage_Data) GetMessage() string

func (*InputBotInlineMessage_Data) GetNoWebpage

func (m *InputBotInlineMessage_Data) GetNoWebpage() bool

func (*InputBotInlineMessage_Data) GetPeriod

func (m *InputBotInlineMessage_Data) GetPeriod() int32

func (*InputBotInlineMessage_Data) GetPhoneNumber

func (m *InputBotInlineMessage_Data) GetPhoneNumber() string

func (*InputBotInlineMessage_Data) GetProvider

func (m *InputBotInlineMessage_Data) GetProvider() string

func (*InputBotInlineMessage_Data) GetReplyMarkup

func (m *InputBotInlineMessage_Data) GetReplyMarkup() *ReplyMarkup

func (*InputBotInlineMessage_Data) GetTitle

func (m *InputBotInlineMessage_Data) GetTitle() string

func (*InputBotInlineMessage_Data) GetVenueId

func (m *InputBotInlineMessage_Data) GetVenueId() string

func (*InputBotInlineMessage_Data) ProtoMessage

func (*InputBotInlineMessage_Data) ProtoMessage()

func (*InputBotInlineMessage_Data) Reset

func (m *InputBotInlineMessage_Data) Reset()

func (*InputBotInlineMessage_Data) String

func (m *InputBotInlineMessage_Data) String() string

type InputBotInlineResult

type InputBotInlineResult struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputBotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputBotInlineResult) Decode

func (m *InputBotInlineResult) Decode(dbuf *DecodeBuf) error

func (*InputBotInlineResult) Descriptor

func (*InputBotInlineResult) Descriptor() ([]byte, []int)

func (*InputBotInlineResult) Encode

func (m *InputBotInlineResult) Encode() []byte

func (*InputBotInlineResult) GetConstructor

func (m *InputBotInlineResult) GetConstructor() TLConstructor

func (*InputBotInlineResult) GetData2

func (*InputBotInlineResult) ProtoMessage

func (*InputBotInlineResult) ProtoMessage()

func (*InputBotInlineResult) Reset

func (m *InputBotInlineResult) Reset()

func (*InputBotInlineResult) String

func (m *InputBotInlineResult) String() string

func (*InputBotInlineResult) To_InputBotInlineResult

func (m *InputBotInlineResult) To_InputBotInlineResult() *TLInputBotInlineResult

inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult;

func (*InputBotInlineResult) To_InputBotInlineResultDocument

func (m *InputBotInlineResult) To_InputBotInlineResultDocument() *TLInputBotInlineResultDocument

inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;

func (*InputBotInlineResult) To_InputBotInlineResultGame

func (m *InputBotInlineResult) To_InputBotInlineResultGame() *TLInputBotInlineResultGame

inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;

func (*InputBotInlineResult) To_InputBotInlineResultPhoto

func (m *InputBotInlineResult) To_InputBotInlineResultPhoto() *TLInputBotInlineResultPhoto

inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;

type InputBotInlineResult_Data

type InputBotInlineResult_Data struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Type        string                 `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Title       string                 `protobuf:"bytes,3,opt,name=title" json:"title,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	Url         string                 `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	ThumbUrl    string                 `protobuf:"bytes,6,opt,name=thumb_url,json=thumbUrl" json:"thumb_url,omitempty"`
	ContentUrl  string                 `protobuf:"bytes,7,opt,name=content_url,json=contentUrl" json:"content_url,omitempty"`
	ContentType string                 `protobuf:"bytes,8,opt,name=content_type,json=contentType" json:"content_type,omitempty"`
	W           int32                  `protobuf:"varint,9,opt,name=w" json:"w,omitempty"`
	H           int32                  `protobuf:"varint,10,opt,name=h" json:"h,omitempty"`
	Duration    int32                  `protobuf:"varint,11,opt,name=duration" json:"duration,omitempty"`
	SendMessage *InputBotInlineMessage `protobuf:"bytes,12,opt,name=send_message,json=sendMessage" json:"send_message,omitempty"`
	Photo       *InputPhoto            `protobuf:"bytes,13,opt,name=photo" json:"photo,omitempty"`
	Document    *InputDocument         `protobuf:"bytes,14,opt,name=document" json:"document,omitempty"`
	ShortName   string                 `protobuf:"bytes,15,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputBotInlineResult <--

  • TL_inputBotInlineResult
  • TL_inputBotInlineResultPhoto
  • TL_inputBotInlineResultDocument
  • TL_inputBotInlineResultGame

func (*InputBotInlineResult_Data) Descriptor

func (*InputBotInlineResult_Data) Descriptor() ([]byte, []int)

func (*InputBotInlineResult_Data) GetContentType

func (m *InputBotInlineResult_Data) GetContentType() string

func (*InputBotInlineResult_Data) GetContentUrl

func (m *InputBotInlineResult_Data) GetContentUrl() string

func (*InputBotInlineResult_Data) GetDescription

func (m *InputBotInlineResult_Data) GetDescription() string

func (*InputBotInlineResult_Data) GetDocument

func (m *InputBotInlineResult_Data) GetDocument() *InputDocument

func (*InputBotInlineResult_Data) GetDuration

func (m *InputBotInlineResult_Data) GetDuration() int32

func (*InputBotInlineResult_Data) GetH

func (m *InputBotInlineResult_Data) GetH() int32

func (*InputBotInlineResult_Data) GetId

func (m *InputBotInlineResult_Data) GetId() string

func (*InputBotInlineResult_Data) GetPhoto

func (m *InputBotInlineResult_Data) GetPhoto() *InputPhoto

func (*InputBotInlineResult_Data) GetSendMessage

func (m *InputBotInlineResult_Data) GetSendMessage() *InputBotInlineMessage

func (*InputBotInlineResult_Data) GetShortName

func (m *InputBotInlineResult_Data) GetShortName() string

func (*InputBotInlineResult_Data) GetThumbUrl

func (m *InputBotInlineResult_Data) GetThumbUrl() string

func (*InputBotInlineResult_Data) GetTitle

func (m *InputBotInlineResult_Data) GetTitle() string

func (*InputBotInlineResult_Data) GetType

func (m *InputBotInlineResult_Data) GetType() string

func (*InputBotInlineResult_Data) GetUrl

func (m *InputBotInlineResult_Data) GetUrl() string

func (*InputBotInlineResult_Data) GetW

func (m *InputBotInlineResult_Data) GetW() int32

func (*InputBotInlineResult_Data) ProtoMessage

func (*InputBotInlineResult_Data) ProtoMessage()

func (*InputBotInlineResult_Data) Reset

func (m *InputBotInlineResult_Data) Reset()

func (*InputBotInlineResult_Data) String

func (m *InputBotInlineResult_Data) String() string

type InputChannel

type InputChannel struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputChannel_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputChannel) Decode

func (m *InputChannel) Decode(dbuf *DecodeBuf) error

func (*InputChannel) Descriptor

func (*InputChannel) Descriptor() ([]byte, []int)

func (*InputChannel) Encode

func (m *InputChannel) Encode() []byte

func (*InputChannel) GetConstructor

func (m *InputChannel) GetConstructor() TLConstructor

func (*InputChannel) GetData2

func (m *InputChannel) GetData2() *InputChannel_Data

func (*InputChannel) ProtoMessage

func (*InputChannel) ProtoMessage()

func (*InputChannel) Reset

func (m *InputChannel) Reset()

func (*InputChannel) String

func (m *InputChannel) String() string

func (*InputChannel) To_InputChannel

func (m *InputChannel) To_InputChannel() *TLInputChannel

inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;

func (*InputChannel) To_InputChannelEmpty

func (m *InputChannel) To_InputChannelEmpty() *TLInputChannelEmpty

inputChannelEmpty#ee8c1e86 = InputChannel;

type InputChannel_Data

type InputChannel_Data struct {
	ChannelId  int32 `protobuf:"varint,1,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputChannel <--

  • TL_inputChannelEmpty
  • TL_inputChannel

func (*InputChannel_Data) Descriptor

func (*InputChannel_Data) Descriptor() ([]byte, []int)

func (*InputChannel_Data) GetAccessHash

func (m *InputChannel_Data) GetAccessHash() int64

func (*InputChannel_Data) GetChannelId

func (m *InputChannel_Data) GetChannelId() int32

func (*InputChannel_Data) ProtoMessage

func (*InputChannel_Data) ProtoMessage()

func (*InputChannel_Data) Reset

func (m *InputChannel_Data) Reset()

func (*InputChannel_Data) String

func (m *InputChannel_Data) String() string

type InputChatPhoto

type InputChatPhoto struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputChatPhoto) Decode

func (m *InputChatPhoto) Decode(dbuf *DecodeBuf) error

func (*InputChatPhoto) Descriptor

func (*InputChatPhoto) Descriptor() ([]byte, []int)

func (*InputChatPhoto) Encode

func (m *InputChatPhoto) Encode() []byte

func (*InputChatPhoto) GetConstructor

func (m *InputChatPhoto) GetConstructor() TLConstructor

func (*InputChatPhoto) GetData2

func (m *InputChatPhoto) GetData2() *InputChatPhoto_Data

func (*InputChatPhoto) ProtoMessage

func (*InputChatPhoto) ProtoMessage()

func (*InputChatPhoto) Reset

func (m *InputChatPhoto) Reset()

func (*InputChatPhoto) String

func (m *InputChatPhoto) String() string

func (*InputChatPhoto) To_InputChatPhoto

func (m *InputChatPhoto) To_InputChatPhoto() *TLInputChatPhoto

inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;

func (*InputChatPhoto) To_InputChatPhotoEmpty

func (m *InputChatPhoto) To_InputChatPhotoEmpty() *TLInputChatPhotoEmpty

inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;

func (*InputChatPhoto) To_InputChatUploadedPhoto

func (m *InputChatPhoto) To_InputChatUploadedPhoto() *TLInputChatUploadedPhoto

inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto;

type InputChatPhoto_Data

type InputChatPhoto_Data struct {
	File *InputFile  `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
	Id   *InputPhoto `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputChatPhoto <--

  • TL_inputChatPhotoEmpty
  • TL_inputChatUploadedPhoto
  • TL_inputChatPhoto

func (*InputChatPhoto_Data) Descriptor

func (*InputChatPhoto_Data) Descriptor() ([]byte, []int)

func (*InputChatPhoto_Data) GetFile

func (m *InputChatPhoto_Data) GetFile() *InputFile

func (*InputChatPhoto_Data) GetId

func (m *InputChatPhoto_Data) GetId() *InputPhoto

func (*InputChatPhoto_Data) ProtoMessage

func (*InputChatPhoto_Data) ProtoMessage()

func (*InputChatPhoto_Data) Reset

func (m *InputChatPhoto_Data) Reset()

func (*InputChatPhoto_Data) String

func (m *InputChatPhoto_Data) String() string

type InputContact

type InputContact struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputContact) Decode

func (m *InputContact) Decode(dbuf *DecodeBuf) error

func (*InputContact) Descriptor

func (*InputContact) Descriptor() ([]byte, []int)

func (*InputContact) Encode

func (m *InputContact) Encode() []byte

func (*InputContact) GetConstructor

func (m *InputContact) GetConstructor() TLConstructor

func (*InputContact) GetData2

func (m *InputContact) GetData2() *InputContact_Data

func (*InputContact) ProtoMessage

func (*InputContact) ProtoMessage()

func (*InputContact) Reset

func (m *InputContact) Reset()

func (*InputContact) String

func (m *InputContact) String() string

func (*InputContact) To_InputPhoneContact

func (m *InputContact) To_InputPhoneContact() *TLInputPhoneContact

inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;

type InputContact_Data

type InputContact_Data struct {
	ClientId  int64  `protobuf:"varint,1,opt,name=client_id,json=clientId" json:"client_id,omitempty"`
	Phone     string `protobuf:"bytes,2,opt,name=phone" json:"phone,omitempty"`
	FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,4,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputContact <--

  • TL_inputPhoneContact

func (*InputContact_Data) Descriptor

func (*InputContact_Data) Descriptor() ([]byte, []int)

func (*InputContact_Data) GetClientId

func (m *InputContact_Data) GetClientId() int64

func (*InputContact_Data) GetFirstName

func (m *InputContact_Data) GetFirstName() string

func (*InputContact_Data) GetLastName

func (m *InputContact_Data) GetLastName() string

func (*InputContact_Data) GetPhone

func (m *InputContact_Data) GetPhone() string

func (*InputContact_Data) ProtoMessage

func (*InputContact_Data) ProtoMessage()

func (*InputContact_Data) Reset

func (m *InputContact_Data) Reset()

func (*InputContact_Data) String

func (m *InputContact_Data) String() string

type InputDocument

type InputDocument struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputDocument) Decode

func (m *InputDocument) Decode(dbuf *DecodeBuf) error

func (*InputDocument) Descriptor

func (*InputDocument) Descriptor() ([]byte, []int)

func (*InputDocument) Encode

func (m *InputDocument) Encode() []byte

func (*InputDocument) GetConstructor

func (m *InputDocument) GetConstructor() TLConstructor

func (*InputDocument) GetData2

func (m *InputDocument) GetData2() *InputDocument_Data

func (*InputDocument) ProtoMessage

func (*InputDocument) ProtoMessage()

func (*InputDocument) Reset

func (m *InputDocument) Reset()

func (*InputDocument) String

func (m *InputDocument) String() string

func (*InputDocument) To_InputDocument

func (m *InputDocument) To_InputDocument() *TLInputDocument

inputDocument#18798952 id:long access_hash:long = InputDocument;

func (*InputDocument) To_InputDocumentEmpty

func (m *InputDocument) To_InputDocumentEmpty() *TLInputDocumentEmpty

inputDocumentEmpty#72f0eaae = InputDocument;

type InputDocument_Data

type InputDocument_Data struct {
	Id         int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputDocument <--

  • TL_inputDocumentEmpty
  • TL_inputDocument

func (*InputDocument_Data) Descriptor

func (*InputDocument_Data) Descriptor() ([]byte, []int)

func (*InputDocument_Data) GetAccessHash

func (m *InputDocument_Data) GetAccessHash() int64

func (*InputDocument_Data) GetId

func (m *InputDocument_Data) GetId() int64

func (*InputDocument_Data) ProtoMessage

func (*InputDocument_Data) ProtoMessage()

func (*InputDocument_Data) Reset

func (m *InputDocument_Data) Reset()

func (*InputDocument_Data) String

func (m *InputDocument_Data) String() string

type InputEncryptedChat

type InputEncryptedChat struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputEncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputEncryptedChat) Decode

func (m *InputEncryptedChat) Decode(dbuf *DecodeBuf) error

func (*InputEncryptedChat) Descriptor

func (*InputEncryptedChat) Descriptor() ([]byte, []int)

func (*InputEncryptedChat) Encode

func (m *InputEncryptedChat) Encode() []byte

func (*InputEncryptedChat) GetConstructor

func (m *InputEncryptedChat) GetConstructor() TLConstructor

func (*InputEncryptedChat) GetData2

func (*InputEncryptedChat) ProtoMessage

func (*InputEncryptedChat) ProtoMessage()

func (*InputEncryptedChat) Reset

func (m *InputEncryptedChat) Reset()

func (*InputEncryptedChat) String

func (m *InputEncryptedChat) String() string

func (*InputEncryptedChat) To_InputEncryptedChat

func (m *InputEncryptedChat) To_InputEncryptedChat() *TLInputEncryptedChat

inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat;

type InputEncryptedChat_Data

type InputEncryptedChat_Data struct {
	ChatId     int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputEncryptedChat <--

  • TL_inputEncryptedChat

func (*InputEncryptedChat_Data) Descriptor

func (*InputEncryptedChat_Data) Descriptor() ([]byte, []int)

func (*InputEncryptedChat_Data) GetAccessHash

func (m *InputEncryptedChat_Data) GetAccessHash() int64

func (*InputEncryptedChat_Data) GetChatId

func (m *InputEncryptedChat_Data) GetChatId() int32

func (*InputEncryptedChat_Data) ProtoMessage

func (*InputEncryptedChat_Data) ProtoMessage()

func (*InputEncryptedChat_Data) Reset

func (m *InputEncryptedChat_Data) Reset()

func (*InputEncryptedChat_Data) String

func (m *InputEncryptedChat_Data) String() string

type InputEncryptedFile

type InputEncryptedFile struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputEncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputEncryptedFile) Decode

func (m *InputEncryptedFile) Decode(dbuf *DecodeBuf) error

func (*InputEncryptedFile) Descriptor

func (*InputEncryptedFile) Descriptor() ([]byte, []int)

func (*InputEncryptedFile) Encode

func (m *InputEncryptedFile) Encode() []byte

func (*InputEncryptedFile) GetConstructor

func (m *InputEncryptedFile) GetConstructor() TLConstructor

func (*InputEncryptedFile) GetData2

func (*InputEncryptedFile) ProtoMessage

func (*InputEncryptedFile) ProtoMessage()

func (*InputEncryptedFile) Reset

func (m *InputEncryptedFile) Reset()

func (*InputEncryptedFile) String

func (m *InputEncryptedFile) String() string

func (*InputEncryptedFile) To_InputEncryptedFile

func (m *InputEncryptedFile) To_InputEncryptedFile() *TLInputEncryptedFile

inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile;

func (*InputEncryptedFile) To_InputEncryptedFileBigUploaded

func (m *InputEncryptedFile) To_InputEncryptedFileBigUploaded() *TLInputEncryptedFileBigUploaded

inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;

func (*InputEncryptedFile) To_InputEncryptedFileEmpty

func (m *InputEncryptedFile) To_InputEncryptedFileEmpty() *TLInputEncryptedFileEmpty

inputEncryptedFileEmpty#1837c364 = InputEncryptedFile;

func (*InputEncryptedFile) To_InputEncryptedFileUploaded

func (m *InputEncryptedFile) To_InputEncryptedFileUploaded() *TLInputEncryptedFileUploaded

inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;

type InputEncryptedFile_Data

type InputEncryptedFile_Data struct {
	Id             int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Parts          int32  `protobuf:"varint,2,opt,name=parts" json:"parts,omitempty"`
	Md5Checksum    string `protobuf:"bytes,3,opt,name=md5_checksum,json=md5Checksum" json:"md5_checksum,omitempty"`
	KeyFingerprint int32  `protobuf:"varint,4,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
	AccessHash     int64  `protobuf:"varint,5,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputEncryptedFile <--

  • TL_inputEncryptedFileEmpty
  • TL_inputEncryptedFileUploaded
  • TL_inputEncryptedFile
  • TL_inputEncryptedFileBigUploaded

func (*InputEncryptedFile_Data) Descriptor

func (*InputEncryptedFile_Data) Descriptor() ([]byte, []int)

func (*InputEncryptedFile_Data) GetAccessHash

func (m *InputEncryptedFile_Data) GetAccessHash() int64

func (*InputEncryptedFile_Data) GetId

func (m *InputEncryptedFile_Data) GetId() int64

func (*InputEncryptedFile_Data) GetKeyFingerprint

func (m *InputEncryptedFile_Data) GetKeyFingerprint() int32

func (*InputEncryptedFile_Data) GetMd5Checksum

func (m *InputEncryptedFile_Data) GetMd5Checksum() string

func (*InputEncryptedFile_Data) GetParts

func (m *InputEncryptedFile_Data) GetParts() int32

func (*InputEncryptedFile_Data) ProtoMessage

func (*InputEncryptedFile_Data) ProtoMessage()

func (*InputEncryptedFile_Data) Reset

func (m *InputEncryptedFile_Data) Reset()

func (*InputEncryptedFile_Data) String

func (m *InputEncryptedFile_Data) String() string

type InputFile

type InputFile struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputFile) Decode

func (m *InputFile) Decode(dbuf *DecodeBuf) error

func (*InputFile) Descriptor

func (*InputFile) Descriptor() ([]byte, []int)

func (*InputFile) Encode

func (m *InputFile) Encode() []byte

func (*InputFile) GetConstructor

func (m *InputFile) GetConstructor() TLConstructor

func (*InputFile) GetData2

func (m *InputFile) GetData2() *InputFile_Data

func (*InputFile) ProtoMessage

func (*InputFile) ProtoMessage()

func (*InputFile) Reset

func (m *InputFile) Reset()

func (*InputFile) String

func (m *InputFile) String() string

func (*InputFile) To_InputFile

func (m *InputFile) To_InputFile() *TLInputFile

inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;

func (*InputFile) To_InputFileBig

func (m *InputFile) To_InputFileBig() *TLInputFileBig

inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;

type InputFileLocation

type InputFileLocation struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputFileLocation) Decode

func (m *InputFileLocation) Decode(dbuf *DecodeBuf) error

func (*InputFileLocation) Descriptor

func (*InputFileLocation) Descriptor() ([]byte, []int)

func (*InputFileLocation) Encode

func (m *InputFileLocation) Encode() []byte

func (*InputFileLocation) GetConstructor

func (m *InputFileLocation) GetConstructor() TLConstructor

func (*InputFileLocation) GetData2

func (*InputFileLocation) ProtoMessage

func (*InputFileLocation) ProtoMessage()

func (*InputFileLocation) Reset

func (m *InputFileLocation) Reset()

func (*InputFileLocation) String

func (m *InputFileLocation) String() string

func (*InputFileLocation) To_InputDocumentFileLocation

func (m *InputFileLocation) To_InputDocumentFileLocation() *TLInputDocumentFileLocation

inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation;

func (*InputFileLocation) To_InputDocumentFileLocationLayer11

func (m *InputFileLocation) To_InputDocumentFileLocationLayer11() *TLInputDocumentFileLocationLayer11

inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation;

func (*InputFileLocation) To_InputEncryptedFileLocation

func (m *InputFileLocation) To_InputEncryptedFileLocation() *TLInputEncryptedFileLocation

inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;

func (*InputFileLocation) To_InputFileLocation

func (m *InputFileLocation) To_InputFileLocation() *TLInputFileLocation

inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation;

type InputFileLocation_Data

type InputFileLocation_Data struct {
	VolumeId   int64 `protobuf:"varint,1,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	LocalId    int32 `protobuf:"varint,2,opt,name=local_id,json=localId" json:"local_id,omitempty"`
	Secret     int64 `protobuf:"varint,3,opt,name=secret" json:"secret,omitempty"`
	Id         int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,5,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Version    int32 `protobuf:"varint,6,opt,name=version" json:"version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputFileLocation <--

  • TL_inputFileLocation
  • TL_inputEncryptedFileLocation
  • TL_inputDocumentFileLocation

func (*InputFileLocation_Data) Descriptor

func (*InputFileLocation_Data) Descriptor() ([]byte, []int)

func (*InputFileLocation_Data) GetAccessHash

func (m *InputFileLocation_Data) GetAccessHash() int64

func (*InputFileLocation_Data) GetId

func (m *InputFileLocation_Data) GetId() int64

func (*InputFileLocation_Data) GetLocalId

func (m *InputFileLocation_Data) GetLocalId() int32

func (*InputFileLocation_Data) GetSecret

func (m *InputFileLocation_Data) GetSecret() int64

func (*InputFileLocation_Data) GetVersion

func (m *InputFileLocation_Data) GetVersion() int32

func (*InputFileLocation_Data) GetVolumeId

func (m *InputFileLocation_Data) GetVolumeId() int64

func (*InputFileLocation_Data) ProtoMessage

func (*InputFileLocation_Data) ProtoMessage()

func (*InputFileLocation_Data) Reset

func (m *InputFileLocation_Data) Reset()

func (*InputFileLocation_Data) String

func (m *InputFileLocation_Data) String() string

type InputFile_Data

type InputFile_Data struct {
	Id          int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Parts       int32  `protobuf:"varint,2,opt,name=parts" json:"parts,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Md5Checksum string `protobuf:"bytes,4,opt,name=md5_checksum,json=md5Checksum" json:"md5_checksum,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputFile <--

  • TL_inputFile
  • TL_inputFileBig

func (*InputFile_Data) Descriptor

func (*InputFile_Data) Descriptor() ([]byte, []int)

func (*InputFile_Data) GetId

func (m *InputFile_Data) GetId() int64

func (*InputFile_Data) GetMd5Checksum

func (m *InputFile_Data) GetMd5Checksum() string

func (*InputFile_Data) GetName

func (m *InputFile_Data) GetName() string

func (*InputFile_Data) GetParts

func (m *InputFile_Data) GetParts() int32

func (*InputFile_Data) ProtoMessage

func (*InputFile_Data) ProtoMessage()

func (*InputFile_Data) Reset

func (m *InputFile_Data) Reset()

func (*InputFile_Data) String

func (m *InputFile_Data) String() string

type InputGame

type InputGame struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputGame_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputGame) Decode

func (m *InputGame) Decode(dbuf *DecodeBuf) error

func (*InputGame) Descriptor

func (*InputGame) Descriptor() ([]byte, []int)

func (*InputGame) Encode

func (m *InputGame) Encode() []byte

func (*InputGame) GetConstructor

func (m *InputGame) GetConstructor() TLConstructor

func (*InputGame) GetData2

func (m *InputGame) GetData2() *InputGame_Data

func (*InputGame) ProtoMessage

func (*InputGame) ProtoMessage()

func (*InputGame) Reset

func (m *InputGame) Reset()

func (*InputGame) String

func (m *InputGame) String() string

func (*InputGame) To_InputGameID

func (m *InputGame) To_InputGameID() *TLInputGameID

inputGameID#32c3e77 id:long access_hash:long = InputGame;

func (*InputGame) To_InputGameShortName

func (m *InputGame) To_InputGameShortName() *TLInputGameShortName

inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;

type InputGame_Data

type InputGame_Data struct {
	Id         int64      `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64      `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	BotId      *InputUser `protobuf:"bytes,3,opt,name=bot_id,json=botId" json:"bot_id,omitempty"`
	ShortName  string     `protobuf:"bytes,4,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputGame <--

  • TL_inputGameID
  • TL_inputGameShortName

func (*InputGame_Data) Descriptor

func (*InputGame_Data) Descriptor() ([]byte, []int)

func (*InputGame_Data) GetAccessHash

func (m *InputGame_Data) GetAccessHash() int64

func (*InputGame_Data) GetBotId

func (m *InputGame_Data) GetBotId() *InputUser

func (*InputGame_Data) GetId

func (m *InputGame_Data) GetId() int64

func (*InputGame_Data) GetShortName

func (m *InputGame_Data) GetShortName() string

func (*InputGame_Data) ProtoMessage

func (*InputGame_Data) ProtoMessage()

func (*InputGame_Data) Reset

func (m *InputGame_Data) Reset()

func (*InputGame_Data) String

func (m *InputGame_Data) String() string

type InputGeoPoint

type InputGeoPoint struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputGeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputGeoPoint) Decode

func (m *InputGeoPoint) Decode(dbuf *DecodeBuf) error

func (*InputGeoPoint) Descriptor

func (*InputGeoPoint) Descriptor() ([]byte, []int)

func (*InputGeoPoint) Encode

func (m *InputGeoPoint) Encode() []byte

func (*InputGeoPoint) GetConstructor

func (m *InputGeoPoint) GetConstructor() TLConstructor

func (*InputGeoPoint) GetData2

func (m *InputGeoPoint) GetData2() *InputGeoPoint_Data

func (*InputGeoPoint) ProtoMessage

func (*InputGeoPoint) ProtoMessage()

func (*InputGeoPoint) Reset

func (m *InputGeoPoint) Reset()

func (*InputGeoPoint) String

func (m *InputGeoPoint) String() string

func (*InputGeoPoint) To_InputGeoPoint

func (m *InputGeoPoint) To_InputGeoPoint() *TLInputGeoPoint

inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint;

func (*InputGeoPoint) To_InputGeoPointEmpty

func (m *InputGeoPoint) To_InputGeoPointEmpty() *TLInputGeoPointEmpty

inputGeoPointEmpty#e4c123d6 = InputGeoPoint;

type InputGeoPoint_Data

type InputGeoPoint_Data struct {
	Lat  float64 `protobuf:"fixed64,1,opt,name=lat" json:"lat,omitempty"`
	Long float64 `protobuf:"fixed64,2,opt,name=long" json:"long,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputGeoPoint <--

  • TL_inputGeoPointEmpty
  • TL_inputGeoPoint

func (*InputGeoPoint_Data) Descriptor

func (*InputGeoPoint_Data) Descriptor() ([]byte, []int)

func (*InputGeoPoint_Data) GetLat

func (m *InputGeoPoint_Data) GetLat() float64

func (*InputGeoPoint_Data) GetLong

func (m *InputGeoPoint_Data) GetLong() float64

func (*InputGeoPoint_Data) ProtoMessage

func (*InputGeoPoint_Data) ProtoMessage()

func (*InputGeoPoint_Data) Reset

func (m *InputGeoPoint_Data) Reset()

func (*InputGeoPoint_Data) String

func (m *InputGeoPoint_Data) String() string

type InputMedia

type InputMedia struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputMedia) Decode

func (m *InputMedia) Decode(dbuf *DecodeBuf) error

func (*InputMedia) Descriptor

func (*InputMedia) Descriptor() ([]byte, []int)

func (*InputMedia) Encode

func (m *InputMedia) Encode() []byte

func (*InputMedia) GetConstructor

func (m *InputMedia) GetConstructor() TLConstructor

func (*InputMedia) GetData2

func (m *InputMedia) GetData2() *InputMedia_Data

func (*InputMedia) ProtoMessage

func (*InputMedia) ProtoMessage()

func (*InputMedia) Reset

func (m *InputMedia) Reset()

func (*InputMedia) String

func (m *InputMedia) String() string

func (*InputMedia) To_InputMediaContact

func (m *InputMedia) To_InputMediaContact() *TLInputMediaContact

inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;

func (*InputMedia) To_InputMediaDocument

func (m *InputMedia) To_InputMediaDocument() *TLInputMediaDocument

inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia;

func (*InputMedia) To_InputMediaDocumentExternal

func (m *InputMedia) To_InputMediaDocumentExternal() *TLInputMediaDocumentExternal

inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

func (*InputMedia) To_InputMediaEmpty

func (m *InputMedia) To_InputMediaEmpty() *TLInputMediaEmpty

inputMediaEmpty#9664f57f = InputMedia;

func (*InputMedia) To_InputMediaGame

func (m *InputMedia) To_InputMediaGame() *TLInputMediaGame

inputMediaGame#d33f43f3 id:InputGame = InputMedia;

func (*InputMedia) To_InputMediaGeoLive

func (m *InputMedia) To_InputMediaGeoLive() *TLInputMediaGeoLive

inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia;

func (*InputMedia) To_InputMediaGeoPoint

func (m *InputMedia) To_InputMediaGeoPoint() *TLInputMediaGeoPoint

inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;

func (*InputMedia) To_InputMediaGifExternal

func (m *InputMedia) To_InputMediaGifExternal() *TLInputMediaGifExternal

inputMediaGifExternal#4843b0fd url:string q:string = InputMedia;

func (*InputMedia) To_InputMediaInvoice

func (m *InputMedia) To_InputMediaInvoice() *TLInputMediaInvoice

inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia;

func (*InputMedia) To_InputMediaPhoto

func (m *InputMedia) To_InputMediaPhoto() *TLInputMediaPhoto

inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;

func (*InputMedia) To_InputMediaPhotoExternal

func (m *InputMedia) To_InputMediaPhotoExternal() *TLInputMediaPhotoExternal

inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

func (*InputMedia) To_InputMediaUploadedDocument

func (m *InputMedia) To_InputMediaUploadedDocument() *TLInputMediaUploadedDocument

inputMediaUploadedDocument#e39621fd flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

func (*InputMedia) To_InputMediaUploadedPhoto

func (m *InputMedia) To_InputMediaUploadedPhoto() *TLInputMediaUploadedPhoto

inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

func (*InputMedia) To_InputMediaVenue

func (m *InputMedia) To_InputMediaVenue() *TLInputMediaVenue

inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia;

type InputMedia_Data

type InputMedia_Data struct {
	File         *InputFile           `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
	Caption      string               `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
	Stickers     []*InputDocument     `protobuf:"bytes,3,rep,name=stickers" json:"stickers,omitempty"`
	TtlSeconds   int32                `protobuf:"varint,4,opt,name=ttl_seconds,json=ttlSeconds" json:"ttl_seconds,omitempty"`
	Id_5         *InputPhoto          `protobuf:"bytes,5,opt,name=id_5,json=id5" json:"id_5,omitempty"`
	GeoPoint     *InputGeoPoint       `protobuf:"bytes,6,opt,name=geo_point,json=geoPoint" json:"geo_point,omitempty"`
	PhoneNumber  string               `protobuf:"bytes,7,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	FirstName    string               `protobuf:"bytes,8,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName     string               `protobuf:"bytes,9,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	NosoundVideo bool                 `protobuf:"varint,10,opt,name=nosound_video,json=nosoundVideo" json:"nosound_video,omitempty"`
	Thumb        *InputFile           `protobuf:"bytes,11,opt,name=thumb" json:"thumb,omitempty"`
	MimeType     string               `protobuf:"bytes,12,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	Attributes   []*DocumentAttribute `protobuf:"bytes,13,rep,name=attributes" json:"attributes,omitempty"`
	Id_14        *InputDocument       `protobuf:"bytes,14,opt,name=id_14,json=id14" json:"id_14,omitempty"`
	Title        string               `protobuf:"bytes,15,opt,name=title" json:"title,omitempty"`
	Address      string               `protobuf:"bytes,16,opt,name=address" json:"address,omitempty"`
	Provider     string               `protobuf:"bytes,17,opt,name=provider" json:"provider,omitempty"`
	VenueId      string               `protobuf:"bytes,18,opt,name=venue_id,json=venueId" json:"venue_id,omitempty"`
	VenueType    string               `protobuf:"bytes,19,opt,name=venue_type,json=venueType" json:"venue_type,omitempty"`
	Url          string               `protobuf:"bytes,20,opt,name=url" json:"url,omitempty"`
	Q            string               `protobuf:"bytes,21,opt,name=q" json:"q,omitempty"`
	Id_22        *InputGame           `protobuf:"bytes,22,opt,name=id_22,json=id22" json:"id_22,omitempty"`
	Description  string               `protobuf:"bytes,23,opt,name=description" json:"description,omitempty"`
	Photo        *InputWebDocument    `protobuf:"bytes,24,opt,name=photo" json:"photo,omitempty"`
	Invoice      *Invoice             `protobuf:"bytes,25,opt,name=invoice" json:"invoice,omitempty"`
	Payload      []byte               `protobuf:"bytes,26,opt,name=payload,proto3" json:"payload,omitempty"`
	ProviderData *DataJSON            `protobuf:"bytes,27,opt,name=provider_data,json=providerData" json:"provider_data,omitempty"`
	StartParam   string               `protobuf:"bytes,28,opt,name=start_param,json=startParam" json:"start_param,omitempty"`
	Period       int32                `protobuf:"varint,29,opt,name=period" json:"period,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputMedia <--

  • TL_inputMediaEmpty
  • TL_inputMediaUploadedPhoto
  • TL_inputMediaPhoto
  • TL_inputMediaGeoPoint
  • TL_inputMediaContact
  • TL_inputMediaUploadedDocument
  • TL_inputMediaDocument
  • TL_inputMediaVenue
  • TL_inputMediaGifExternal
  • TL_inputMediaPhotoExternal
  • TL_inputMediaDocumentExternal
  • TL_inputMediaGame
  • TL_inputMediaInvoice
  • TL_inputMediaGeoLive

func (*InputMedia_Data) Descriptor

func (*InputMedia_Data) Descriptor() ([]byte, []int)

func (*InputMedia_Data) GetAddress

func (m *InputMedia_Data) GetAddress() string

func (*InputMedia_Data) GetAttributes

func (m *InputMedia_Data) GetAttributes() []*DocumentAttribute

func (*InputMedia_Data) GetCaption

func (m *InputMedia_Data) GetCaption() string

func (*InputMedia_Data) GetDescription

func (m *InputMedia_Data) GetDescription() string

func (*InputMedia_Data) GetFile

func (m *InputMedia_Data) GetFile() *InputFile

func (*InputMedia_Data) GetFirstName

func (m *InputMedia_Data) GetFirstName() string

func (*InputMedia_Data) GetGeoPoint

func (m *InputMedia_Data) GetGeoPoint() *InputGeoPoint

func (*InputMedia_Data) GetId_14

func (m *InputMedia_Data) GetId_14() *InputDocument

func (*InputMedia_Data) GetId_22

func (m *InputMedia_Data) GetId_22() *InputGame

func (*InputMedia_Data) GetId_5

func (m *InputMedia_Data) GetId_5() *InputPhoto

func (*InputMedia_Data) GetInvoice

func (m *InputMedia_Data) GetInvoice() *Invoice

func (*InputMedia_Data) GetLastName

func (m *InputMedia_Data) GetLastName() string

func (*InputMedia_Data) GetMimeType

func (m *InputMedia_Data) GetMimeType() string

func (*InputMedia_Data) GetNosoundVideo

func (m *InputMedia_Data) GetNosoundVideo() bool

func (*InputMedia_Data) GetPayload

func (m *InputMedia_Data) GetPayload() []byte

func (*InputMedia_Data) GetPeriod

func (m *InputMedia_Data) GetPeriod() int32

func (*InputMedia_Data) GetPhoneNumber

func (m *InputMedia_Data) GetPhoneNumber() string

func (*InputMedia_Data) GetPhoto

func (m *InputMedia_Data) GetPhoto() *InputWebDocument

func (*InputMedia_Data) GetProvider

func (m *InputMedia_Data) GetProvider() string

func (*InputMedia_Data) GetProviderData

func (m *InputMedia_Data) GetProviderData() *DataJSON

func (*InputMedia_Data) GetQ

func (m *InputMedia_Data) GetQ() string

func (*InputMedia_Data) GetStartParam

func (m *InputMedia_Data) GetStartParam() string

func (*InputMedia_Data) GetStickers

func (m *InputMedia_Data) GetStickers() []*InputDocument

func (*InputMedia_Data) GetThumb

func (m *InputMedia_Data) GetThumb() *InputFile

func (*InputMedia_Data) GetTitle

func (m *InputMedia_Data) GetTitle() string

func (*InputMedia_Data) GetTtlSeconds

func (m *InputMedia_Data) GetTtlSeconds() int32

func (*InputMedia_Data) GetUrl

func (m *InputMedia_Data) GetUrl() string

func (*InputMedia_Data) GetVenueId

func (m *InputMedia_Data) GetVenueId() string

func (*InputMedia_Data) GetVenueType

func (m *InputMedia_Data) GetVenueType() string

func (*InputMedia_Data) ProtoMessage

func (*InputMedia_Data) ProtoMessage()

func (*InputMedia_Data) Reset

func (m *InputMedia_Data) Reset()

func (*InputMedia_Data) String

func (m *InputMedia_Data) String() string

type InputNotifyPeer

type InputNotifyPeer struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputNotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputNotifyPeer) Decode

func (m *InputNotifyPeer) Decode(dbuf *DecodeBuf) error

func (*InputNotifyPeer) Descriptor

func (*InputNotifyPeer) Descriptor() ([]byte, []int)

func (*InputNotifyPeer) Encode

func (m *InputNotifyPeer) Encode() []byte

func (*InputNotifyPeer) GetConstructor

func (m *InputNotifyPeer) GetConstructor() TLConstructor

func (*InputNotifyPeer) GetData2

func (m *InputNotifyPeer) GetData2() *InputNotifyPeer_Data

func (*InputNotifyPeer) ProtoMessage

func (*InputNotifyPeer) ProtoMessage()

func (*InputNotifyPeer) Reset

func (m *InputNotifyPeer) Reset()

func (*InputNotifyPeer) String

func (m *InputNotifyPeer) String() string

func (*InputNotifyPeer) To_InputNotifyAll

func (m *InputNotifyPeer) To_InputNotifyAll() *TLInputNotifyAll

inputNotifyAll#a429b886 = InputNotifyPeer;

func (*InputNotifyPeer) To_InputNotifyChats

func (m *InputNotifyPeer) To_InputNotifyChats() *TLInputNotifyChats

inputNotifyChats#4a95e84e = InputNotifyPeer;

func (*InputNotifyPeer) To_InputNotifyPeer

func (m *InputNotifyPeer) To_InputNotifyPeer() *TLInputNotifyPeer

inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;

func (*InputNotifyPeer) To_InputNotifyUsers

func (m *InputNotifyPeer) To_InputNotifyUsers() *TLInputNotifyUsers

inputNotifyUsers#193b4417 = InputNotifyPeer;

type InputNotifyPeer_Data

type InputNotifyPeer_Data struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputNotifyPeer <--

  • TL_inputNotifyPeer
  • TL_inputNotifyUsers
  • TL_inputNotifyChats
  • TL_inputNotifyAll

func (*InputNotifyPeer_Data) Descriptor

func (*InputNotifyPeer_Data) Descriptor() ([]byte, []int)

func (*InputNotifyPeer_Data) GetPeer

func (m *InputNotifyPeer_Data) GetPeer() *InputPeer

func (*InputNotifyPeer_Data) ProtoMessage

func (*InputNotifyPeer_Data) ProtoMessage()

func (*InputNotifyPeer_Data) Reset

func (m *InputNotifyPeer_Data) Reset()

func (*InputNotifyPeer_Data) String

func (m *InputNotifyPeer_Data) String() string

type InputPaymentCredentials

type InputPaymentCredentials struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPaymentCredentials) Decode

func (m *InputPaymentCredentials) Decode(dbuf *DecodeBuf) error

func (*InputPaymentCredentials) Descriptor

func (*InputPaymentCredentials) Descriptor() ([]byte, []int)

func (*InputPaymentCredentials) Encode

func (m *InputPaymentCredentials) Encode() []byte

func (*InputPaymentCredentials) GetConstructor

func (m *InputPaymentCredentials) GetConstructor() TLConstructor

func (*InputPaymentCredentials) GetData2

func (*InputPaymentCredentials) ProtoMessage

func (*InputPaymentCredentials) ProtoMessage()

func (*InputPaymentCredentials) Reset

func (m *InputPaymentCredentials) Reset()

func (*InputPaymentCredentials) String

func (m *InputPaymentCredentials) String() string

func (*InputPaymentCredentials) To_InputPaymentCredentials

func (m *InputPaymentCredentials) To_InputPaymentCredentials() *TLInputPaymentCredentials

inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials;

func (*InputPaymentCredentials) To_InputPaymentCredentialsAndroidPay

func (m *InputPaymentCredentials) To_InputPaymentCredentialsAndroidPay() *TLInputPaymentCredentialsAndroidPay

inputPaymentCredentialsAndroidPay#795667a6 payment_token:DataJSON = InputPaymentCredentials;

func (*InputPaymentCredentials) To_InputPaymentCredentialsAndroidPayLayer74

func (m *InputPaymentCredentials) To_InputPaymentCredentialsAndroidPayLayer74() *TLInputPaymentCredentialsAndroidPayLayer74

func (*InputPaymentCredentials) To_InputPaymentCredentialsApplePay

func (m *InputPaymentCredentials) To_InputPaymentCredentialsApplePay() *TLInputPaymentCredentialsApplePay

inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials;

func (*InputPaymentCredentials) To_InputPaymentCredentialsSaved

func (m *InputPaymentCredentials) To_InputPaymentCredentialsSaved() *TLInputPaymentCredentialsSaved

inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials;

type InputPaymentCredentials_Data

type InputPaymentCredentials_Data struct {
	Id                  string    `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	TmpPassword         []byte    `protobuf:"bytes,2,opt,name=tmp_password,json=tmpPassword,proto3" json:"tmp_password,omitempty"`
	Save                bool      `protobuf:"varint,3,opt,name=save" json:"save,omitempty"`
	Data                *DataJSON `protobuf:"bytes,4,opt,name=data" json:"data,omitempty"`
	PaymentData         *DataJSON `protobuf:"bytes,5,opt,name=payment_data,json=paymentData" json:"payment_data,omitempty"`
	PaymentToken        *DataJSON `protobuf:"bytes,6,opt,name=payment_token,json=paymentToken" json:"payment_token,omitempty"`
	GoogleTransactionId string    `protobuf:"bytes,7,opt,name=google_transaction_id,json=googleTransactionId" json:"google_transaction_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPaymentCredentials <--

  • TL_inputPaymentCredentialsSaved
  • TL_inputPaymentCredentials
  • TL_inputPaymentCredentialsApplePay
  • TL_inputPaymentCredentialsAndroidPay

func (*InputPaymentCredentials_Data) Descriptor

func (*InputPaymentCredentials_Data) Descriptor() ([]byte, []int)

func (*InputPaymentCredentials_Data) GetData

func (m *InputPaymentCredentials_Data) GetData() *DataJSON

func (*InputPaymentCredentials_Data) GetGoogleTransactionId

func (m *InputPaymentCredentials_Data) GetGoogleTransactionId() string

func (*InputPaymentCredentials_Data) GetId

func (*InputPaymentCredentials_Data) GetPaymentData

func (m *InputPaymentCredentials_Data) GetPaymentData() *DataJSON

func (*InputPaymentCredentials_Data) GetPaymentToken

func (m *InputPaymentCredentials_Data) GetPaymentToken() *DataJSON

func (*InputPaymentCredentials_Data) GetSave

func (m *InputPaymentCredentials_Data) GetSave() bool

func (*InputPaymentCredentials_Data) GetTmpPassword

func (m *InputPaymentCredentials_Data) GetTmpPassword() []byte

func (*InputPaymentCredentials_Data) ProtoMessage

func (*InputPaymentCredentials_Data) ProtoMessage()

func (*InputPaymentCredentials_Data) Reset

func (m *InputPaymentCredentials_Data) Reset()

func (*InputPaymentCredentials_Data) String

type InputPeer

type InputPeer struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPeer) Decode

func (m *InputPeer) Decode(dbuf *DecodeBuf) error

func (*InputPeer) Descriptor

func (*InputPeer) Descriptor() ([]byte, []int)

func (*InputPeer) Encode

func (m *InputPeer) Encode() []byte

func (*InputPeer) GetConstructor

func (m *InputPeer) GetConstructor() TLConstructor

func (*InputPeer) GetData2

func (m *InputPeer) GetData2() *InputPeer_Data

func (*InputPeer) ProtoMessage

func (*InputPeer) ProtoMessage()

func (*InputPeer) Reset

func (m *InputPeer) Reset()

func (*InputPeer) String

func (m *InputPeer) String() string

func (*InputPeer) To_InputPeerChannel

func (m *InputPeer) To_InputPeerChannel() *TLInputPeerChannel

inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;

func (*InputPeer) To_InputPeerChat

func (m *InputPeer) To_InputPeerChat() *TLInputPeerChat

inputPeerChat#179be863 chat_id:int = InputPeer;

func (*InputPeer) To_InputPeerEmpty

func (m *InputPeer) To_InputPeerEmpty() *TLInputPeerEmpty

inputPeerEmpty#7f3b18ea = InputPeer;

func (*InputPeer) To_InputPeerSelf

func (m *InputPeer) To_InputPeerSelf() *TLInputPeerSelf

inputPeerSelf#7da07ec9 = InputPeer;

func (*InputPeer) To_InputPeerUser

func (m *InputPeer) To_InputPeerUser() *TLInputPeerUser

inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;

type InputPeerNotifyEvents

type InputPeerNotifyEvents struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPeerNotifyEvents) Decode

func (m *InputPeerNotifyEvents) Decode(dbuf *DecodeBuf) error

func (*InputPeerNotifyEvents) Descriptor

func (*InputPeerNotifyEvents) Descriptor() ([]byte, []int)

func (*InputPeerNotifyEvents) Encode

func (m *InputPeerNotifyEvents) Encode() []byte

func (*InputPeerNotifyEvents) GetConstructor

func (m *InputPeerNotifyEvents) GetConstructor() TLConstructor

func (*InputPeerNotifyEvents) GetData2

func (*InputPeerNotifyEvents) ProtoMessage

func (*InputPeerNotifyEvents) ProtoMessage()

func (*InputPeerNotifyEvents) Reset

func (m *InputPeerNotifyEvents) Reset()

func (*InputPeerNotifyEvents) String

func (m *InputPeerNotifyEvents) String() string

func (*InputPeerNotifyEvents) To_InputPeerNotifyEventsAll

func (m *InputPeerNotifyEvents) To_InputPeerNotifyEventsAll() *TLInputPeerNotifyEventsAll

inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents;

func (*InputPeerNotifyEvents) To_InputPeerNotifyEventsEmpty

func (m *InputPeerNotifyEvents) To_InputPeerNotifyEventsEmpty() *TLInputPeerNotifyEventsEmpty

inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents;

type InputPeerNotifyEvents_Data

type InputPeerNotifyEvents_Data struct {
}

///////////////////////////////////////////////////////////////////////////// InputPeerNotifyEvents <--

  • TL_inputPeerNotifyEventsEmpty
  • TL_inputPeerNotifyEventsAll

func (*InputPeerNotifyEvents_Data) Descriptor

func (*InputPeerNotifyEvents_Data) Descriptor() ([]byte, []int)

func (*InputPeerNotifyEvents_Data) ProtoMessage

func (*InputPeerNotifyEvents_Data) ProtoMessage()

func (*InputPeerNotifyEvents_Data) Reset

func (m *InputPeerNotifyEvents_Data) Reset()

func (*InputPeerNotifyEvents_Data) String

func (m *InputPeerNotifyEvents_Data) String() string

type InputPeerNotifySettings

type InputPeerNotifySettings struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPeerNotifySettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPeerNotifySettings) Decode

func (m *InputPeerNotifySettings) Decode(dbuf *DecodeBuf) error

func (*InputPeerNotifySettings) Descriptor

func (*InputPeerNotifySettings) Descriptor() ([]byte, []int)

func (*InputPeerNotifySettings) Encode

func (m *InputPeerNotifySettings) Encode() []byte

func (*InputPeerNotifySettings) GetConstructor

func (m *InputPeerNotifySettings) GetConstructor() TLConstructor

func (*InputPeerNotifySettings) GetData2

func (*InputPeerNotifySettings) ProtoMessage

func (*InputPeerNotifySettings) ProtoMessage()

func (*InputPeerNotifySettings) Reset

func (m *InputPeerNotifySettings) Reset()

func (*InputPeerNotifySettings) String

func (m *InputPeerNotifySettings) String() string

func (*InputPeerNotifySettings) To_InputPeerNotifySettings

func (m *InputPeerNotifySettings) To_InputPeerNotifySettings() *TLInputPeerNotifySettings

inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings;

type InputPeerNotifySettings_Data

type InputPeerNotifySettings_Data struct {
	ShowPreviews bool   `protobuf:"varint,1,opt,name=show_previews,json=showPreviews" json:"show_previews,omitempty"`
	Silent       bool   `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	MuteUntil    int32  `protobuf:"varint,3,opt,name=mute_until,json=muteUntil" json:"mute_until,omitempty"`
	Sound        string `protobuf:"bytes,4,opt,name=sound" json:"sound,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPeerNotifySettings <--

  • TL_inputPeerNotifySettings

func (*InputPeerNotifySettings_Data) Descriptor

func (*InputPeerNotifySettings_Data) Descriptor() ([]byte, []int)

func (*InputPeerNotifySettings_Data) GetMuteUntil

func (m *InputPeerNotifySettings_Data) GetMuteUntil() int32

func (*InputPeerNotifySettings_Data) GetShowPreviews

func (m *InputPeerNotifySettings_Data) GetShowPreviews() bool

func (*InputPeerNotifySettings_Data) GetSilent

func (m *InputPeerNotifySettings_Data) GetSilent() bool

func (*InputPeerNotifySettings_Data) GetSound

func (m *InputPeerNotifySettings_Data) GetSound() string

func (*InputPeerNotifySettings_Data) ProtoMessage

func (*InputPeerNotifySettings_Data) ProtoMessage()

func (*InputPeerNotifySettings_Data) Reset

func (m *InputPeerNotifySettings_Data) Reset()

func (*InputPeerNotifySettings_Data) String

type InputPeer_Data

type InputPeer_Data struct {
	ChatId     int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	UserId     int32 `protobuf:"varint,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	AccessHash int64 `protobuf:"varint,3,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	ChannelId  int32 `protobuf:"varint,4,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPeer <--

  • TL_inputPeerEmpty
  • TL_inputPeerSelf
  • TL_inputPeerChat
  • TL_inputPeerUser
  • TL_inputPeerChannel

func (*InputPeer_Data) Descriptor

func (*InputPeer_Data) Descriptor() ([]byte, []int)

func (*InputPeer_Data) GetAccessHash

func (m *InputPeer_Data) GetAccessHash() int64

func (*InputPeer_Data) GetChannelId

func (m *InputPeer_Data) GetChannelId() int32

func (*InputPeer_Data) GetChatId

func (m *InputPeer_Data) GetChatId() int32

func (*InputPeer_Data) GetUserId

func (m *InputPeer_Data) GetUserId() int32

func (*InputPeer_Data) ProtoMessage

func (*InputPeer_Data) ProtoMessage()

func (*InputPeer_Data) Reset

func (m *InputPeer_Data) Reset()

func (*InputPeer_Data) String

func (m *InputPeer_Data) String() string

type InputPhoneCall

type InputPhoneCall struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPhoneCall) Decode

func (m *InputPhoneCall) Decode(dbuf *DecodeBuf) error

func (*InputPhoneCall) Descriptor

func (*InputPhoneCall) Descriptor() ([]byte, []int)

func (*InputPhoneCall) Encode

func (m *InputPhoneCall) Encode() []byte

func (*InputPhoneCall) GetConstructor

func (m *InputPhoneCall) GetConstructor() TLConstructor

func (*InputPhoneCall) GetData2

func (m *InputPhoneCall) GetData2() *InputPhoneCall_Data

func (*InputPhoneCall) ProtoMessage

func (*InputPhoneCall) ProtoMessage()

func (*InputPhoneCall) Reset

func (m *InputPhoneCall) Reset()

func (*InputPhoneCall) String

func (m *InputPhoneCall) String() string

func (*InputPhoneCall) To_InputPhoneCall

func (m *InputPhoneCall) To_InputPhoneCall() *TLInputPhoneCall

inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;

type InputPhoneCall_Data

type InputPhoneCall_Data struct {
	Id         int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPhoneCall <--

  • TL_inputPhoneCall

func (*InputPhoneCall_Data) Descriptor

func (*InputPhoneCall_Data) Descriptor() ([]byte, []int)

func (*InputPhoneCall_Data) GetAccessHash

func (m *InputPhoneCall_Data) GetAccessHash() int64

func (*InputPhoneCall_Data) GetId

func (m *InputPhoneCall_Data) GetId() int64

func (*InputPhoneCall_Data) ProtoMessage

func (*InputPhoneCall_Data) ProtoMessage()

func (*InputPhoneCall_Data) Reset

func (m *InputPhoneCall_Data) Reset()

func (*InputPhoneCall_Data) String

func (m *InputPhoneCall_Data) String() string

type InputPhoto

type InputPhoto struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPhoto) Decode

func (m *InputPhoto) Decode(dbuf *DecodeBuf) error

func (*InputPhoto) Descriptor

func (*InputPhoto) Descriptor() ([]byte, []int)

func (*InputPhoto) Encode

func (m *InputPhoto) Encode() []byte

func (*InputPhoto) GetConstructor

func (m *InputPhoto) GetConstructor() TLConstructor

func (*InputPhoto) GetData2

func (m *InputPhoto) GetData2() *InputPhoto_Data

func (*InputPhoto) ProtoMessage

func (*InputPhoto) ProtoMessage()

func (*InputPhoto) Reset

func (m *InputPhoto) Reset()

func (*InputPhoto) String

func (m *InputPhoto) String() string

func (*InputPhoto) To_InputPhoto

func (m *InputPhoto) To_InputPhoto() *TLInputPhoto

inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto;

func (*InputPhoto) To_InputPhotoEmpty

func (m *InputPhoto) To_InputPhotoEmpty() *TLInputPhotoEmpty

inputPhotoEmpty#1cd7bf0d = InputPhoto;

type InputPhoto_Data

type InputPhoto_Data struct {
	Id         int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPhoto <--

  • TL_inputPhotoEmpty
  • TL_inputPhoto

func (*InputPhoto_Data) Descriptor

func (*InputPhoto_Data) Descriptor() ([]byte, []int)

func (*InputPhoto_Data) GetAccessHash

func (m *InputPhoto_Data) GetAccessHash() int64

func (*InputPhoto_Data) GetId

func (m *InputPhoto_Data) GetId() int64

func (*InputPhoto_Data) ProtoMessage

func (*InputPhoto_Data) ProtoMessage()

func (*InputPhoto_Data) Reset

func (m *InputPhoto_Data) Reset()

func (*InputPhoto_Data) String

func (m *InputPhoto_Data) String() string

type InputPrivacyKey

type InputPrivacyKey struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPrivacyKey) Decode

func (m *InputPrivacyKey) Decode(dbuf *DecodeBuf) error

func (*InputPrivacyKey) Descriptor

func (*InputPrivacyKey) Descriptor() ([]byte, []int)

func (*InputPrivacyKey) Encode

func (m *InputPrivacyKey) Encode() []byte

func (*InputPrivacyKey) GetConstructor

func (m *InputPrivacyKey) GetConstructor() TLConstructor

func (*InputPrivacyKey) GetData2

func (m *InputPrivacyKey) GetData2() *InputPrivacyKey_Data

func (*InputPrivacyKey) ProtoMessage

func (*InputPrivacyKey) ProtoMessage()

func (*InputPrivacyKey) Reset

func (m *InputPrivacyKey) Reset()

func (*InputPrivacyKey) String

func (m *InputPrivacyKey) String() string

func (*InputPrivacyKey) To_InputPrivacyKeyChatInvite

func (m *InputPrivacyKey) To_InputPrivacyKeyChatInvite() *TLInputPrivacyKeyChatInvite

inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey;

func (*InputPrivacyKey) To_InputPrivacyKeyPhoneCall

func (m *InputPrivacyKey) To_InputPrivacyKeyPhoneCall() *TLInputPrivacyKeyPhoneCall

inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;

func (*InputPrivacyKey) To_InputPrivacyKeyStatusTimestamp

func (m *InputPrivacyKey) To_InputPrivacyKeyStatusTimestamp() *TLInputPrivacyKeyStatusTimestamp

inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;

type InputPrivacyKey_Data

type InputPrivacyKey_Data struct {
}

///////////////////////////////////////////////////////////////////////////// InputPrivacyKey <--

  • TL_inputPrivacyKeyStatusTimestamp
  • TL_inputPrivacyKeyChatInvite
  • TL_inputPrivacyKeyPhoneCall

func (*InputPrivacyKey_Data) Descriptor

func (*InputPrivacyKey_Data) Descriptor() ([]byte, []int)

func (*InputPrivacyKey_Data) ProtoMessage

func (*InputPrivacyKey_Data) ProtoMessage()

func (*InputPrivacyKey_Data) Reset

func (m *InputPrivacyKey_Data) Reset()

func (*InputPrivacyKey_Data) String

func (m *InputPrivacyKey_Data) String() string

type InputPrivacyRule

type InputPrivacyRule struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputPrivacyRule) Decode

func (m *InputPrivacyRule) Decode(dbuf *DecodeBuf) error

func (*InputPrivacyRule) Descriptor

func (*InputPrivacyRule) Descriptor() ([]byte, []int)

func (*InputPrivacyRule) Encode

func (m *InputPrivacyRule) Encode() []byte

func (*InputPrivacyRule) GetConstructor

func (m *InputPrivacyRule) GetConstructor() TLConstructor

func (*InputPrivacyRule) GetData2

func (m *InputPrivacyRule) GetData2() *InputPrivacyRule_Data

func (*InputPrivacyRule) ProtoMessage

func (*InputPrivacyRule) ProtoMessage()

func (*InputPrivacyRule) Reset

func (m *InputPrivacyRule) Reset()

func (*InputPrivacyRule) String

func (m *InputPrivacyRule) String() string

func (*InputPrivacyRule) To_InputPrivacyValueAllowAll

func (m *InputPrivacyRule) To_InputPrivacyValueAllowAll() *TLInputPrivacyValueAllowAll

inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;

func (*InputPrivacyRule) To_InputPrivacyValueAllowContacts

func (m *InputPrivacyRule) To_InputPrivacyValueAllowContacts() *TLInputPrivacyValueAllowContacts

inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;

func (*InputPrivacyRule) To_InputPrivacyValueAllowUsers

func (m *InputPrivacyRule) To_InputPrivacyValueAllowUsers() *TLInputPrivacyValueAllowUsers

inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;

func (*InputPrivacyRule) To_InputPrivacyValueDisallowAll

func (m *InputPrivacyRule) To_InputPrivacyValueDisallowAll() *TLInputPrivacyValueDisallowAll

inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;

func (*InputPrivacyRule) To_InputPrivacyValueDisallowContacts

func (m *InputPrivacyRule) To_InputPrivacyValueDisallowContacts() *TLInputPrivacyValueDisallowContacts

inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;

func (*InputPrivacyRule) To_InputPrivacyValueDisallowUsers

func (m *InputPrivacyRule) To_InputPrivacyValueDisallowUsers() *TLInputPrivacyValueDisallowUsers

inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;

type InputPrivacyRule_Data

type InputPrivacyRule_Data struct {
	Users []*InputUser `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputPrivacyRule <--

  • TL_inputPrivacyValueAllowContacts
  • TL_inputPrivacyValueAllowAll
  • TL_inputPrivacyValueAllowUsers
  • TL_inputPrivacyValueDisallowContacts
  • TL_inputPrivacyValueDisallowAll
  • TL_inputPrivacyValueDisallowUsers

func (*InputPrivacyRule_Data) Descriptor

func (*InputPrivacyRule_Data) Descriptor() ([]byte, []int)

func (*InputPrivacyRule_Data) GetUsers

func (m *InputPrivacyRule_Data) GetUsers() []*InputUser

func (*InputPrivacyRule_Data) ProtoMessage

func (*InputPrivacyRule_Data) ProtoMessage()

func (*InputPrivacyRule_Data) Reset

func (m *InputPrivacyRule_Data) Reset()

func (*InputPrivacyRule_Data) String

func (m *InputPrivacyRule_Data) String() string

type InputSingleMedia

type InputSingleMedia struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputSingleMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputSingleMedia) Decode

func (m *InputSingleMedia) Decode(dbuf *DecodeBuf) error

func (*InputSingleMedia) Descriptor

func (*InputSingleMedia) Descriptor() ([]byte, []int)

func (*InputSingleMedia) Encode

func (m *InputSingleMedia) Encode() []byte

func (*InputSingleMedia) GetConstructor

func (m *InputSingleMedia) GetConstructor() TLConstructor

func (*InputSingleMedia) GetData2

func (m *InputSingleMedia) GetData2() *InputSingleMedia_Data

func (*InputSingleMedia) ProtoMessage

func (*InputSingleMedia) ProtoMessage()

func (*InputSingleMedia) Reset

func (m *InputSingleMedia) Reset()

func (*InputSingleMedia) String

func (m *InputSingleMedia) String() string

func (*InputSingleMedia) To_InputSingleMedia

func (m *InputSingleMedia) To_InputSingleMedia() *TLInputSingleMedia

inputSingleMedia#5eaa7809 media:InputMedia random_id:long = InputSingleMedia;

type InputSingleMedia_Data

type InputSingleMedia_Data struct {
	Media    *InputMedia `protobuf:"bytes,1,opt,name=media" json:"media,omitempty"`
	RandomId int64       `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputSingleMedia <--

  • TL_inputSingleMedia

func (*InputSingleMedia_Data) Descriptor

func (*InputSingleMedia_Data) Descriptor() ([]byte, []int)

func (*InputSingleMedia_Data) GetMedia

func (m *InputSingleMedia_Data) GetMedia() *InputMedia

func (*InputSingleMedia_Data) GetRandomId

func (m *InputSingleMedia_Data) GetRandomId() int64

func (*InputSingleMedia_Data) ProtoMessage

func (*InputSingleMedia_Data) ProtoMessage()

func (*InputSingleMedia_Data) Reset

func (m *InputSingleMedia_Data) Reset()

func (*InputSingleMedia_Data) String

func (m *InputSingleMedia_Data) String() string

type InputStickerSet

type InputStickerSet struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputStickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputStickerSet) Decode

func (m *InputStickerSet) Decode(dbuf *DecodeBuf) error

func (*InputStickerSet) Descriptor

func (*InputStickerSet) Descriptor() ([]byte, []int)

func (*InputStickerSet) Encode

func (m *InputStickerSet) Encode() []byte

func (*InputStickerSet) GetConstructor

func (m *InputStickerSet) GetConstructor() TLConstructor

func (*InputStickerSet) GetData2

func (m *InputStickerSet) GetData2() *InputStickerSet_Data

func (*InputStickerSet) ProtoMessage

func (*InputStickerSet) ProtoMessage()

func (*InputStickerSet) Reset

func (m *InputStickerSet) Reset()

func (*InputStickerSet) String

func (m *InputStickerSet) String() string

func (*InputStickerSet) To_InputStickerSetEmpty

func (m *InputStickerSet) To_InputStickerSetEmpty() *TLInputStickerSetEmpty

inputStickerSetEmpty#ffb62b95 = InputStickerSet;

func (*InputStickerSet) To_InputStickerSetID

func (m *InputStickerSet) To_InputStickerSetID() *TLInputStickerSetID

inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;

func (*InputStickerSet) To_InputStickerSetShortName

func (m *InputStickerSet) To_InputStickerSetShortName() *TLInputStickerSetShortName

inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;

type InputStickerSetItem

type InputStickerSetItem struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputStickerSetItem_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputStickerSetItem) Decode

func (m *InputStickerSetItem) Decode(dbuf *DecodeBuf) error

func (*InputStickerSetItem) Descriptor

func (*InputStickerSetItem) Descriptor() ([]byte, []int)

func (*InputStickerSetItem) Encode

func (m *InputStickerSetItem) Encode() []byte

func (*InputStickerSetItem) GetConstructor

func (m *InputStickerSetItem) GetConstructor() TLConstructor

func (*InputStickerSetItem) GetData2

func (*InputStickerSetItem) ProtoMessage

func (*InputStickerSetItem) ProtoMessage()

func (*InputStickerSetItem) Reset

func (m *InputStickerSetItem) Reset()

func (*InputStickerSetItem) String

func (m *InputStickerSetItem) String() string

func (*InputStickerSetItem) To_InputStickerSetItem

func (m *InputStickerSetItem) To_InputStickerSetItem() *TLInputStickerSetItem

inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;

type InputStickerSetItem_Data

type InputStickerSetItem_Data struct {
	Document   *InputDocument `protobuf:"bytes,1,opt,name=document" json:"document,omitempty"`
	Emoji      string         `protobuf:"bytes,2,opt,name=emoji" json:"emoji,omitempty"`
	MaskCoords *MaskCoords    `protobuf:"bytes,3,opt,name=mask_coords,json=maskCoords" json:"mask_coords,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputStickerSetItem <--

  • TL_inputStickerSetItem

func (*InputStickerSetItem_Data) Descriptor

func (*InputStickerSetItem_Data) Descriptor() ([]byte, []int)

func (*InputStickerSetItem_Data) GetDocument

func (m *InputStickerSetItem_Data) GetDocument() *InputDocument

func (*InputStickerSetItem_Data) GetEmoji

func (m *InputStickerSetItem_Data) GetEmoji() string

func (*InputStickerSetItem_Data) GetMaskCoords

func (m *InputStickerSetItem_Data) GetMaskCoords() *MaskCoords

func (*InputStickerSetItem_Data) ProtoMessage

func (*InputStickerSetItem_Data) ProtoMessage()

func (*InputStickerSetItem_Data) Reset

func (m *InputStickerSetItem_Data) Reset()

func (*InputStickerSetItem_Data) String

func (m *InputStickerSetItem_Data) String() string

type InputStickerSet_Data

type InputStickerSet_Data struct {
	Id         int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash int64  `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	ShortName  string `protobuf:"bytes,3,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputStickerSet <--

  • TL_inputStickerSetEmpty
  • TL_inputStickerSetID
  • TL_inputStickerSetShortName

func (*InputStickerSet_Data) Descriptor

func (*InputStickerSet_Data) Descriptor() ([]byte, []int)

func (*InputStickerSet_Data) GetAccessHash

func (m *InputStickerSet_Data) GetAccessHash() int64

func (*InputStickerSet_Data) GetId

func (m *InputStickerSet_Data) GetId() int64

func (*InputStickerSet_Data) GetShortName

func (m *InputStickerSet_Data) GetShortName() string

func (*InputStickerSet_Data) ProtoMessage

func (*InputStickerSet_Data) ProtoMessage()

func (*InputStickerSet_Data) Reset

func (m *InputStickerSet_Data) Reset()

func (*InputStickerSet_Data) String

func (m *InputStickerSet_Data) String() string

type InputStickeredMedia

type InputStickeredMedia struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputStickeredMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputStickeredMedia) Decode

func (m *InputStickeredMedia) Decode(dbuf *DecodeBuf) error

func (*InputStickeredMedia) Descriptor

func (*InputStickeredMedia) Descriptor() ([]byte, []int)

func (*InputStickeredMedia) Encode

func (m *InputStickeredMedia) Encode() []byte

func (*InputStickeredMedia) GetConstructor

func (m *InputStickeredMedia) GetConstructor() TLConstructor

func (*InputStickeredMedia) GetData2

func (*InputStickeredMedia) ProtoMessage

func (*InputStickeredMedia) ProtoMessage()

func (*InputStickeredMedia) Reset

func (m *InputStickeredMedia) Reset()

func (*InputStickeredMedia) String

func (m *InputStickeredMedia) String() string

func (*InputStickeredMedia) To_InputStickeredMediaDocument

func (m *InputStickeredMedia) To_InputStickeredMediaDocument() *TLInputStickeredMediaDocument

inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia;

func (*InputStickeredMedia) To_InputStickeredMediaPhoto

func (m *InputStickeredMedia) To_InputStickeredMediaPhoto() *TLInputStickeredMediaPhoto

inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia;

type InputStickeredMedia_Data

type InputStickeredMedia_Data struct {
	Id_1 *InputPhoto    `protobuf:"bytes,1,opt,name=id_1,json=id1" json:"id_1,omitempty"`
	Id_2 *InputDocument `protobuf:"bytes,2,opt,name=id_2,json=id2" json:"id_2,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputStickeredMedia <--

  • TL_inputStickeredMediaPhoto
  • TL_inputStickeredMediaDocument

func (*InputStickeredMedia_Data) Descriptor

func (*InputStickeredMedia_Data) Descriptor() ([]byte, []int)

func (*InputStickeredMedia_Data) GetId_1

func (m *InputStickeredMedia_Data) GetId_1() *InputPhoto

func (*InputStickeredMedia_Data) GetId_2

func (*InputStickeredMedia_Data) ProtoMessage

func (*InputStickeredMedia_Data) ProtoMessage()

func (*InputStickeredMedia_Data) Reset

func (m *InputStickeredMedia_Data) Reset()

func (*InputStickeredMedia_Data) String

func (m *InputStickeredMedia_Data) String() string

type InputUser

type InputUser struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputUser_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputUser) Decode

func (m *InputUser) Decode(dbuf *DecodeBuf) error

func (*InputUser) Descriptor

func (*InputUser) Descriptor() ([]byte, []int)

func (*InputUser) Encode

func (m *InputUser) Encode() []byte

func (*InputUser) GetConstructor

func (m *InputUser) GetConstructor() TLConstructor

func (*InputUser) GetData2

func (m *InputUser) GetData2() *InputUser_Data

func (*InputUser) ProtoMessage

func (*InputUser) ProtoMessage()

func (*InputUser) Reset

func (m *InputUser) Reset()

func (*InputUser) String

func (m *InputUser) String() string

func (*InputUser) To_InputUser

func (m *InputUser) To_InputUser() *TLInputUser

inputUser#d8292816 user_id:int access_hash:long = InputUser;

func (*InputUser) To_InputUserEmpty

func (m *InputUser) To_InputUserEmpty() *TLInputUserEmpty

inputUserEmpty#b98886cf = InputUser;

func (*InputUser) To_InputUserSelf

func (m *InputUser) To_InputUserSelf() *TLInputUserSelf

inputUserSelf#f7c1b13f = InputUser;

type InputUser_Data

type InputUser_Data struct {
	UserId     int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	AccessHash int64 `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputUser <--

  • TL_inputUserEmpty
  • TL_inputUserSelf
  • TL_inputUser

func (*InputUser_Data) Descriptor

func (*InputUser_Data) Descriptor() ([]byte, []int)

func (*InputUser_Data) GetAccessHash

func (m *InputUser_Data) GetAccessHash() int64

func (*InputUser_Data) GetUserId

func (m *InputUser_Data) GetUserId() int32

func (*InputUser_Data) ProtoMessage

func (*InputUser_Data) ProtoMessage()

func (*InputUser_Data) Reset

func (m *InputUser_Data) Reset()

func (*InputUser_Data) String

func (m *InputUser_Data) String() string

type InputWebDocument

type InputWebDocument struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputWebDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputWebDocument) Decode

func (m *InputWebDocument) Decode(dbuf *DecodeBuf) error

func (*InputWebDocument) Descriptor

func (*InputWebDocument) Descriptor() ([]byte, []int)

func (*InputWebDocument) Encode

func (m *InputWebDocument) Encode() []byte

func (*InputWebDocument) GetConstructor

func (m *InputWebDocument) GetConstructor() TLConstructor

func (*InputWebDocument) GetData2

func (m *InputWebDocument) GetData2() *InputWebDocument_Data

func (*InputWebDocument) ProtoMessage

func (*InputWebDocument) ProtoMessage()

func (*InputWebDocument) Reset

func (m *InputWebDocument) Reset()

func (*InputWebDocument) String

func (m *InputWebDocument) String() string

func (*InputWebDocument) To_InputWebDocument

func (m *InputWebDocument) To_InputWebDocument() *TLInputWebDocument

inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument;

type InputWebDocument_Data

type InputWebDocument_Data struct {
	Url        string               `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	Size       int32                `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
	MimeType   string               `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	Attributes []*DocumentAttribute `protobuf:"bytes,4,rep,name=attributes" json:"attributes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputWebDocument <--

  • TL_inputWebDocument

func (*InputWebDocument_Data) Descriptor

func (*InputWebDocument_Data) Descriptor() ([]byte, []int)

func (*InputWebDocument_Data) GetAttributes

func (m *InputWebDocument_Data) GetAttributes() []*DocumentAttribute

func (*InputWebDocument_Data) GetMimeType

func (m *InputWebDocument_Data) GetMimeType() string

func (*InputWebDocument_Data) GetSize

func (m *InputWebDocument_Data) GetSize() int32

func (*InputWebDocument_Data) GetUrl

func (m *InputWebDocument_Data) GetUrl() string

func (*InputWebDocument_Data) ProtoMessage

func (*InputWebDocument_Data) ProtoMessage()

func (*InputWebDocument_Data) Reset

func (m *InputWebDocument_Data) Reset()

func (*InputWebDocument_Data) String

func (m *InputWebDocument_Data) String() string

type InputWebFileLocation

type InputWebFileLocation struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *InputWebFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*InputWebFileLocation) Decode

func (m *InputWebFileLocation) Decode(dbuf *DecodeBuf) error

func (*InputWebFileLocation) Descriptor

func (*InputWebFileLocation) Descriptor() ([]byte, []int)

func (*InputWebFileLocation) Encode

func (m *InputWebFileLocation) Encode() []byte

func (*InputWebFileLocation) GetConstructor

func (m *InputWebFileLocation) GetConstructor() TLConstructor

func (*InputWebFileLocation) GetData2

func (*InputWebFileLocation) ProtoMessage

func (*InputWebFileLocation) ProtoMessage()

func (*InputWebFileLocation) Reset

func (m *InputWebFileLocation) Reset()

func (*InputWebFileLocation) String

func (m *InputWebFileLocation) String() string

func (*InputWebFileLocation) To_InputWebFileLocation

func (m *InputWebFileLocation) To_InputWebFileLocation() *TLInputWebFileLocation

inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;

type InputWebFileLocation_Data

type InputWebFileLocation_Data struct {
	Url        string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	AccessHash int64  `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// InputWebFileLocation <--

  • TL_inputWebFileLocation

func (*InputWebFileLocation_Data) Descriptor

func (*InputWebFileLocation_Data) Descriptor() ([]byte, []int)

func (*InputWebFileLocation_Data) GetAccessHash

func (m *InputWebFileLocation_Data) GetAccessHash() int64

func (*InputWebFileLocation_Data) GetUrl

func (m *InputWebFileLocation_Data) GetUrl() string

func (*InputWebFileLocation_Data) ProtoMessage

func (*InputWebFileLocation_Data) ProtoMessage()

func (*InputWebFileLocation_Data) Reset

func (m *InputWebFileLocation_Data) Reset()

func (*InputWebFileLocation_Data) String

func (m *InputWebFileLocation_Data) String() string

type Invoice

type Invoice struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Invoice_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Invoice) Decode

func (m *Invoice) Decode(dbuf *DecodeBuf) error

func (*Invoice) Descriptor

func (*Invoice) Descriptor() ([]byte, []int)

func (*Invoice) Encode

func (m *Invoice) Encode() []byte

func (*Invoice) GetConstructor

func (m *Invoice) GetConstructor() TLConstructor

func (*Invoice) GetData2

func (m *Invoice) GetData2() *Invoice_Data

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) Reset

func (m *Invoice) Reset()

func (*Invoice) String

func (m *Invoice) String() string

func (*Invoice) To_Invoice

func (m *Invoice) To_Invoice() *TLInvoice

invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector<LabeledPrice> = Invoice;

type Invoice_Data

type Invoice_Data struct {
	Test                     bool            `protobuf:"varint,1,opt,name=test" json:"test,omitempty"`
	NameRequested            bool            `protobuf:"varint,2,opt,name=name_requested,json=nameRequested" json:"name_requested,omitempty"`
	PhoneRequested           bool            `protobuf:"varint,3,opt,name=phone_requested,json=phoneRequested" json:"phone_requested,omitempty"`
	EmailRequested           bool            `protobuf:"varint,4,opt,name=email_requested,json=emailRequested" json:"email_requested,omitempty"`
	ShippingAddressRequested bool            `` /* 129-byte string literal not displayed */
	Flexible                 bool            `protobuf:"varint,6,opt,name=flexible" json:"flexible,omitempty"`
	PhoneToProvider          bool            `protobuf:"varint,7,opt,name=phone_to_provider,json=phoneToProvider" json:"phone_to_provider,omitempty"`
	EmailToProvider          bool            `protobuf:"varint,8,opt,name=email_to_provider,json=emailToProvider" json:"email_to_provider,omitempty"`
	Currency                 string          `protobuf:"bytes,9,opt,name=currency" json:"currency,omitempty"`
	Prices                   []*LabeledPrice `protobuf:"bytes,10,rep,name=prices" json:"prices,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Invoice <--

  • TL_invoice

func (*Invoice_Data) Descriptor

func (*Invoice_Data) Descriptor() ([]byte, []int)

func (*Invoice_Data) GetCurrency

func (m *Invoice_Data) GetCurrency() string

func (*Invoice_Data) GetEmailRequested

func (m *Invoice_Data) GetEmailRequested() bool

func (*Invoice_Data) GetEmailToProvider

func (m *Invoice_Data) GetEmailToProvider() bool

func (*Invoice_Data) GetFlexible

func (m *Invoice_Data) GetFlexible() bool

func (*Invoice_Data) GetNameRequested

func (m *Invoice_Data) GetNameRequested() bool

func (*Invoice_Data) GetPhoneRequested

func (m *Invoice_Data) GetPhoneRequested() bool

func (*Invoice_Data) GetPhoneToProvider

func (m *Invoice_Data) GetPhoneToProvider() bool

func (*Invoice_Data) GetPrices

func (m *Invoice_Data) GetPrices() []*LabeledPrice

func (*Invoice_Data) GetShippingAddressRequested

func (m *Invoice_Data) GetShippingAddressRequested() bool

func (*Invoice_Data) GetTest

func (m *Invoice_Data) GetTest() bool

func (*Invoice_Data) ProtoMessage

func (*Invoice_Data) ProtoMessage()

func (*Invoice_Data) Reset

func (m *Invoice_Data) Reset()

func (*Invoice_Data) String

func (m *Invoice_Data) String() string

type KeyboardButton

type KeyboardButton struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*KeyboardButton) Decode

func (m *KeyboardButton) Decode(dbuf *DecodeBuf) error

func (*KeyboardButton) Descriptor

func (*KeyboardButton) Descriptor() ([]byte, []int)

func (*KeyboardButton) Encode

func (m *KeyboardButton) Encode() []byte

func (*KeyboardButton) GetConstructor

func (m *KeyboardButton) GetConstructor() TLConstructor

func (*KeyboardButton) GetData2

func (m *KeyboardButton) GetData2() *KeyboardButton_Data

func (*KeyboardButton) ProtoMessage

func (*KeyboardButton) ProtoMessage()

func (*KeyboardButton) Reset

func (m *KeyboardButton) Reset()

func (*KeyboardButton) String

func (m *KeyboardButton) String() string

func (*KeyboardButton) To_KeyboardButton

func (m *KeyboardButton) To_KeyboardButton() *TLKeyboardButton

keyboardButton#a2fa4880 text:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonBuy

func (m *KeyboardButton) To_KeyboardButtonBuy() *TLKeyboardButtonBuy

keyboardButtonBuy#afd93fbb text:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonCallback

func (m *KeyboardButton) To_KeyboardButtonCallback() *TLKeyboardButtonCallback

keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonGame

func (m *KeyboardButton) To_KeyboardButtonGame() *TLKeyboardButtonGame

keyboardButtonGame#50f41ccf text:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonRequestGeoLocation

func (m *KeyboardButton) To_KeyboardButtonRequestGeoLocation() *TLKeyboardButtonRequestGeoLocation

keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonRequestPhone

func (m *KeyboardButton) To_KeyboardButtonRequestPhone() *TLKeyboardButtonRequestPhone

keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonSwitchInline

func (m *KeyboardButton) To_KeyboardButtonSwitchInline() *TLKeyboardButtonSwitchInline

keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;

func (*KeyboardButton) To_KeyboardButtonUrl

func (m *KeyboardButton) To_KeyboardButtonUrl() *TLKeyboardButtonUrl

keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;

type KeyboardButtonRow

type KeyboardButtonRow struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *KeyboardButtonRow_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*KeyboardButtonRow) Decode

func (m *KeyboardButtonRow) Decode(dbuf *DecodeBuf) error

func (*KeyboardButtonRow) Descriptor

func (*KeyboardButtonRow) Descriptor() ([]byte, []int)

func (*KeyboardButtonRow) Encode

func (m *KeyboardButtonRow) Encode() []byte

func (*KeyboardButtonRow) GetConstructor

func (m *KeyboardButtonRow) GetConstructor() TLConstructor

func (*KeyboardButtonRow) GetData2

func (*KeyboardButtonRow) ProtoMessage

func (*KeyboardButtonRow) ProtoMessage()

func (*KeyboardButtonRow) Reset

func (m *KeyboardButtonRow) Reset()

func (*KeyboardButtonRow) String

func (m *KeyboardButtonRow) String() string

func (*KeyboardButtonRow) To_KeyboardButtonRow

func (m *KeyboardButtonRow) To_KeyboardButtonRow() *TLKeyboardButtonRow

keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;

type KeyboardButtonRow_Data

type KeyboardButtonRow_Data struct {
	Buttons []*KeyboardButton `protobuf:"bytes,1,rep,name=buttons" json:"buttons,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// KeyboardButtonRow <--

  • TL_keyboardButtonRow

func (*KeyboardButtonRow_Data) Descriptor

func (*KeyboardButtonRow_Data) Descriptor() ([]byte, []int)

func (*KeyboardButtonRow_Data) GetButtons

func (m *KeyboardButtonRow_Data) GetButtons() []*KeyboardButton

func (*KeyboardButtonRow_Data) ProtoMessage

func (*KeyboardButtonRow_Data) ProtoMessage()

func (*KeyboardButtonRow_Data) Reset

func (m *KeyboardButtonRow_Data) Reset()

func (*KeyboardButtonRow_Data) String

func (m *KeyboardButtonRow_Data) String() string

type KeyboardButton_Data

type KeyboardButton_Data struct {
	Text     string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
	Url      string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	Data     []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	SamePeer bool   `protobuf:"varint,4,opt,name=same_peer,json=samePeer" json:"same_peer,omitempty"`
	Query    string `protobuf:"bytes,5,opt,name=query" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// KeyboardButton <--

  • TL_keyboardButton
  • TL_keyboardButtonUrl
  • TL_keyboardButtonCallback
  • TL_keyboardButtonRequestPhone
  • TL_keyboardButtonRequestGeoLocation
  • TL_keyboardButtonSwitchInline
  • TL_keyboardButtonGame
  • TL_keyboardButtonBuy

func (*KeyboardButton_Data) Descriptor

func (*KeyboardButton_Data) Descriptor() ([]byte, []int)

func (*KeyboardButton_Data) GetData

func (m *KeyboardButton_Data) GetData() []byte

func (*KeyboardButton_Data) GetQuery

func (m *KeyboardButton_Data) GetQuery() string

func (*KeyboardButton_Data) GetSamePeer

func (m *KeyboardButton_Data) GetSamePeer() bool

func (*KeyboardButton_Data) GetText

func (m *KeyboardButton_Data) GetText() string

func (*KeyboardButton_Data) GetUrl

func (m *KeyboardButton_Data) GetUrl() string

func (*KeyboardButton_Data) ProtoMessage

func (*KeyboardButton_Data) ProtoMessage()

func (*KeyboardButton_Data) Reset

func (m *KeyboardButton_Data) Reset()

func (*KeyboardButton_Data) String

func (m *KeyboardButton_Data) String() string

type LabeledPrice

type LabeledPrice struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *LabeledPrice_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*LabeledPrice) Decode

func (m *LabeledPrice) Decode(dbuf *DecodeBuf) error

func (*LabeledPrice) Descriptor

func (*LabeledPrice) Descriptor() ([]byte, []int)

func (*LabeledPrice) Encode

func (m *LabeledPrice) Encode() []byte

func (*LabeledPrice) GetConstructor

func (m *LabeledPrice) GetConstructor() TLConstructor

func (*LabeledPrice) GetData2

func (m *LabeledPrice) GetData2() *LabeledPrice_Data

func (*LabeledPrice) ProtoMessage

func (*LabeledPrice) ProtoMessage()

func (*LabeledPrice) Reset

func (m *LabeledPrice) Reset()

func (*LabeledPrice) String

func (m *LabeledPrice) String() string

func (*LabeledPrice) To_LabeledPrice

func (m *LabeledPrice) To_LabeledPrice() *TLLabeledPrice

labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;

type LabeledPrice_Data

type LabeledPrice_Data struct {
	Label  string `protobuf:"bytes,1,opt,name=label" json:"label,omitempty"`
	Amount int64  `protobuf:"varint,2,opt,name=amount" json:"amount,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// LabeledPrice <--

  • TL_labeledPrice

func (*LabeledPrice_Data) Descriptor

func (*LabeledPrice_Data) Descriptor() ([]byte, []int)

func (*LabeledPrice_Data) GetAmount

func (m *LabeledPrice_Data) GetAmount() int64

func (*LabeledPrice_Data) GetLabel

func (m *LabeledPrice_Data) GetLabel() string

func (*LabeledPrice_Data) ProtoMessage

func (*LabeledPrice_Data) ProtoMessage()

func (*LabeledPrice_Data) Reset

func (m *LabeledPrice_Data) Reset()

func (*LabeledPrice_Data) String

func (m *LabeledPrice_Data) String() string

type LangPackDifference

type LangPackDifference struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *LangPackDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*LangPackDifference) Decode

func (m *LangPackDifference) Decode(dbuf *DecodeBuf) error

func (*LangPackDifference) Descriptor

func (*LangPackDifference) Descriptor() ([]byte, []int)

func (*LangPackDifference) Encode

func (m *LangPackDifference) Encode() []byte

func (*LangPackDifference) GetConstructor

func (m *LangPackDifference) GetConstructor() TLConstructor

func (*LangPackDifference) GetData2

func (*LangPackDifference) ProtoMessage

func (*LangPackDifference) ProtoMessage()

func (*LangPackDifference) Reset

func (m *LangPackDifference) Reset()

func (*LangPackDifference) String

func (m *LangPackDifference) String() string

func (*LangPackDifference) To_LangPackDifference

func (m *LangPackDifference) To_LangPackDifference() *TLLangPackDifference

langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;

type LangPackDifference_Data

type LangPackDifference_Data struct {
	LangCode    string            `protobuf:"bytes,1,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
	FromVersion int32             `protobuf:"varint,2,opt,name=from_version,json=fromVersion" json:"from_version,omitempty"`
	Version     int32             `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
	Strings     []*LangPackString `protobuf:"bytes,4,rep,name=strings" json:"strings,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// LangPackDifference <--

  • TL_langPackDifference

func (*LangPackDifference_Data) Descriptor

func (*LangPackDifference_Data) Descriptor() ([]byte, []int)

func (*LangPackDifference_Data) GetFromVersion

func (m *LangPackDifference_Data) GetFromVersion() int32

func (*LangPackDifference_Data) GetLangCode

func (m *LangPackDifference_Data) GetLangCode() string

func (*LangPackDifference_Data) GetStrings

func (m *LangPackDifference_Data) GetStrings() []*LangPackString

func (*LangPackDifference_Data) GetVersion

func (m *LangPackDifference_Data) GetVersion() int32

func (*LangPackDifference_Data) ProtoMessage

func (*LangPackDifference_Data) ProtoMessage()

func (*LangPackDifference_Data) Reset

func (m *LangPackDifference_Data) Reset()

func (*LangPackDifference_Data) String

func (m *LangPackDifference_Data) String() string

type LangPackLanguage

type LangPackLanguage struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *LangPackLanguage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*LangPackLanguage) Decode

func (m *LangPackLanguage) Decode(dbuf *DecodeBuf) error

func (*LangPackLanguage) Descriptor

func (*LangPackLanguage) Descriptor() ([]byte, []int)

func (*LangPackLanguage) Encode

func (m *LangPackLanguage) Encode() []byte

func (*LangPackLanguage) GetConstructor

func (m *LangPackLanguage) GetConstructor() TLConstructor

func (*LangPackLanguage) GetData2

func (m *LangPackLanguage) GetData2() *LangPackLanguage_Data

func (*LangPackLanguage) ProtoMessage

func (*LangPackLanguage) ProtoMessage()

func (*LangPackLanguage) Reset

func (m *LangPackLanguage) Reset()

func (*LangPackLanguage) String

func (m *LangPackLanguage) String() string

func (*LangPackLanguage) To_LangPackLanguage

func (m *LangPackLanguage) To_LangPackLanguage() *TLLangPackLanguage

langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage;

type LangPackLanguage_Data

type LangPackLanguage_Data struct {
	Name       string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	NativeName string `protobuf:"bytes,2,opt,name=native_name,json=nativeName" json:"native_name,omitempty"`
	LangCode   string `protobuf:"bytes,3,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// LangPackLanguage <--

  • TL_langPackLanguage

func (*LangPackLanguage_Data) Descriptor

func (*LangPackLanguage_Data) Descriptor() ([]byte, []int)

func (*LangPackLanguage_Data) GetLangCode

func (m *LangPackLanguage_Data) GetLangCode() string

func (*LangPackLanguage_Data) GetName

func (m *LangPackLanguage_Data) GetName() string

func (*LangPackLanguage_Data) GetNativeName

func (m *LangPackLanguage_Data) GetNativeName() string

func (*LangPackLanguage_Data) ProtoMessage

func (*LangPackLanguage_Data) ProtoMessage()

func (*LangPackLanguage_Data) Reset

func (m *LangPackLanguage_Data) Reset()

func (*LangPackLanguage_Data) String

func (m *LangPackLanguage_Data) String() string

type LangPackString

type LangPackString struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *LangPackString_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*LangPackString) Decode

func (m *LangPackString) Decode(dbuf *DecodeBuf) error

func (*LangPackString) Descriptor

func (*LangPackString) Descriptor() ([]byte, []int)

func (*LangPackString) Encode

func (m *LangPackString) Encode() []byte

func (*LangPackString) GetConstructor

func (m *LangPackString) GetConstructor() TLConstructor

func (*LangPackString) GetData2

func (m *LangPackString) GetData2() *LangPackString_Data

func (*LangPackString) ProtoMessage

func (*LangPackString) ProtoMessage()

func (*LangPackString) Reset

func (m *LangPackString) Reset()

func (*LangPackString) String

func (m *LangPackString) String() string

func (*LangPackString) To_LangPackString

func (m *LangPackString) To_LangPackString() *TLLangPackString

langPackString#cad181f6 key:string value:string = LangPackString;

func (*LangPackString) To_LangPackStringDeleted

func (m *LangPackString) To_LangPackStringDeleted() *TLLangPackStringDeleted

langPackStringDeleted#2979eeb2 key:string = LangPackString;

func (*LangPackString) To_LangPackStringPluralized

func (m *LangPackString) To_LangPackStringPluralized() *TLLangPackStringPluralized

langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;

type LangPackString_Data

type LangPackString_Data struct {
	Key        string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Value      string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	ZeroValue  string `protobuf:"bytes,3,opt,name=zero_value,json=zeroValue" json:"zero_value,omitempty"`
	OneValue   string `protobuf:"bytes,4,opt,name=one_value,json=oneValue" json:"one_value,omitempty"`
	TwoValue   string `protobuf:"bytes,5,opt,name=two_value,json=twoValue" json:"two_value,omitempty"`
	FewValue   string `protobuf:"bytes,6,opt,name=few_value,json=fewValue" json:"few_value,omitempty"`
	ManyValue  string `protobuf:"bytes,7,opt,name=many_value,json=manyValue" json:"many_value,omitempty"`
	OtherValue string `protobuf:"bytes,8,opt,name=other_value,json=otherValue" json:"other_value,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// LangPackString <--

  • TL_langPackString
  • TL_langPackStringPluralized
  • TL_langPackStringDeleted

func (*LangPackString_Data) Descriptor

func (*LangPackString_Data) Descriptor() ([]byte, []int)

func (*LangPackString_Data) GetFewValue

func (m *LangPackString_Data) GetFewValue() string

func (*LangPackString_Data) GetKey

func (m *LangPackString_Data) GetKey() string

func (*LangPackString_Data) GetManyValue

func (m *LangPackString_Data) GetManyValue() string

func (*LangPackString_Data) GetOneValue

func (m *LangPackString_Data) GetOneValue() string

func (*LangPackString_Data) GetOtherValue

func (m *LangPackString_Data) GetOtherValue() string

func (*LangPackString_Data) GetTwoValue

func (m *LangPackString_Data) GetTwoValue() string

func (*LangPackString_Data) GetValue

func (m *LangPackString_Data) GetValue() string

func (*LangPackString_Data) GetZeroValue

func (m *LangPackString_Data) GetZeroValue() string

func (*LangPackString_Data) ProtoMessage

func (*LangPackString_Data) ProtoMessage()

func (*LangPackString_Data) Reset

func (m *LangPackString_Data) Reset()

func (*LangPackString_Data) String

func (m *LangPackString_Data) String() string

type Listener

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

func Listen

func Listen(listenFunc func() (net.Listener, error)) (*Listener, error)

func (*Listener) Accept

func (l *Listener) Accept() (net.Conn, error)

func (*Listener) Addr

func (l *Listener) Addr() net.Addr

func (*Listener) Close

func (l *Listener) Close() error

type MTPRawMessage

type MTPRawMessage struct {
	AuthKeyId  int64 // 由原始数据解压获得
	QuickAckId int32 // EncryptedMessage,则可能存在

	// 原始数据
	Payload []byte
}

////////////////////////////////////////////////////////////////////////// 代理使用

func NewMTPRawMessage

func NewMTPRawMessage(authKeyId int64, quickAckId int32) *MTPRawMessage

func (*MTPRawMessage) Decode

func (m *MTPRawMessage) Decode(b []byte) error

func (*MTPRawMessage) Encode

func (m *MTPRawMessage) Encode() []byte

type MTProto

type MTProto struct {
}

func NewMTProto

func NewMTProto() *MTProto

func (*MTProto) NewCodec

func (m *MTProto) NewCodec(rw io.ReadWriter) (net2.Codec, error)

type MTProtoAbridgedCodec

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

https://core.telegram.org/mtproto#tcp-transport

There is an abridged version of the same protocol: if the client sends 0xef as the first byte (**important:** only prior to the very first data packet), then packet length is encoded by a single byte (0x01..0x7e = data length divided by 4; or 0x7f followed by 3 length bytes (little endian) divided by 4) followed by the data themselves (sequence number and CRC32 not added). In this case, server responses look the same (the server does not send 0xefas the first byte).

func NewMTProtoAbridgedCodec

func NewMTProtoAbridgedCodec(conn *net2.BufferedConn) *MTProtoAbridgedCodec

func (*MTProtoAbridgedCodec) Close

func (c *MTProtoAbridgedCodec) Close() error

func (*MTProtoAbridgedCodec) Receive

func (c *MTProtoAbridgedCodec) Receive() (interface{}, error)

func (*MTProtoAbridgedCodec) Send

func (c *MTProtoAbridgedCodec) Send(msg interface{}) error

type MTProtoAppCodec

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

func (*MTProtoAppCodec) Close

func (c *MTProtoAppCodec) Close() error

func (*MTProtoAppCodec) Receive

func (c *MTProtoAppCodec) Receive() (interface{}, error)

func (*MTProtoAppCodec) Send

func (c *MTProtoAppCodec) Send(msg interface{}) error

type MTProtoCodec

type MTProtoCodec struct {

	// 缓存AuthKey
	AuthKeyStorager

	State int

	//
	AuthKeyId int64
	AuthKey   []byte
	UserId    int32

	Salt      int64
	SessionId int64
	SeqNo     int32
	// contains filtered or unexported fields
}

func (*MTProtoCodec) Close

func (m *MTProtoCodec) Close() error

func (*MTProtoCodec) LocalAddr

func (m *MTProtoCodec) LocalAddr() net.Addr

func (*MTProtoCodec) Receive

func (m *MTProtoCodec) Receive() (interface{}, error)

func (*MTProtoCodec) RemoteAddr

func (m *MTProtoCodec) RemoteAddr() net.Addr

func (*MTProtoCodec) Send

func (m *MTProtoCodec) Send(msg interface{}) error

type MTProtoConn

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

func (*MTProtoConn) Close

func (c *MTProtoConn) Close() error

func (*MTProtoConn) LocalAddr

func (c *MTProtoConn) LocalAddr() net.Addr

func (*MTProtoConn) Read

func (c *MTProtoConn) Read(b []byte) (n int, err error)

func (*MTProtoConn) RemoteAddr

func (c *MTProtoConn) RemoteAddr() net.Addr

func (*MTProtoConn) SetDeadline

func (c *MTProtoConn) SetDeadline(t time.Time) error

func (*MTProtoConn) SetReadDeadline

func (c *MTProtoConn) SetReadDeadline(t time.Time) error

func (*MTProtoConn) SetWriteDeadline

func (c *MTProtoConn) SetWriteDeadline(t time.Time) error

func (*MTProtoConn) WrapBaseForTest

func (c *MTProtoConn) WrapBaseForTest(wrap func(net.Conn) net.Conn)

func (*MTProtoConn) Write

func (c *MTProtoConn) Write(b []byte) (n int, err error)

type MTProtoFullCodec

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

https://core.telegram.org/mtproto#tcp-transport

If a payload (packet) needs to be transmitted from server to client or from client to server, it is encapsulated as follows: 4 length bytes are added at the front (to include the length, the sequence number, and CRC32; always divisible by 4) and 4 bytes with the packet sequence number within this TCP connection (the first packet sent is numbered 0, the next one 1, etc.), and 4 CRC32 bytes at the end (length, sequence number, and payload together).

func NewMTProtoFullCodec

func NewMTProtoFullCodec(conn *net2.BufferedConn) *MTProtoFullCodec

func (*MTProtoFullCodec) Close

func (c *MTProtoFullCodec) Close() error

func (*MTProtoFullCodec) Receive

func (c *MTProtoFullCodec) Receive() (interface{}, error)

func (*MTProtoFullCodec) Send

func (c *MTProtoFullCodec) Send(msg interface{}) error

type MTProtoHttpProxyCodec

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

func NewMTProtoHttpProxyCodec

func NewMTProtoHttpProxyCodec(conn net.Conn) *MTProtoHttpProxyCodec

func (*MTProtoHttpProxyCodec) Close

func (c *MTProtoHttpProxyCodec) Close() error

func (*MTProtoHttpProxyCodec) Receive

func (c *MTProtoHttpProxyCodec) Receive() (interface{}, error)

func (*MTProtoHttpProxyCodec) Send

func (c *MTProtoHttpProxyCodec) Send(msg interface{}) error

type MTProtoIntermediateCodec

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

https://core.telegram.org/mtproto#tcp-transport

In case 4-byte data alignment is needed, an intermediate version of the original protocol may be used: if the client sends 0xeeeeeeee as the first int (four bytes), then packet length is encoded always by four bytes as in the original version, but the sequence number and CRC32 are omitted, thus decreasing total packet size by 8 bytes.

func NewMTProtoIntermediateCodec

func NewMTProtoIntermediateCodec(conn *net2.BufferedConn) *MTProtoIntermediateCodec

func (*MTProtoIntermediateCodec) Close

func (c *MTProtoIntermediateCodec) Close() error

func (*MTProtoIntermediateCodec) Receive

func (c *MTProtoIntermediateCodec) Receive() (interface{}, error)

func (*MTProtoIntermediateCodec) Send

func (c *MTProtoIntermediateCodec) Send(msg interface{}) error

type MTProtoMessage

type MTProtoMessage interface {
}

type MTProtoProxy

type MTProtoProxy struct {
}

https://core.telegram.org/mtproto#tcp-transport 服务端MTPProto代理 服务端需要兼容各种协议

func NewMTProtoProxy

func NewMTProtoProxy() *MTProtoProxy

func (*MTProtoProxy) NewCodec

func (m *MTProtoProxy) NewCodec(rw io.ReadWriter) (net2.Codec, error)

type MTProtoProxyCodec

type MTProtoProxyCodec struct {
	State int
	// contains filtered or unexported fields
}

func (*MTProtoProxyCodec) Close

func (c *MTProtoProxyCodec) Close() error

func (*MTProtoProxyCodec) PeekCodec

func (c *MTProtoProxyCodec) PeekCodec() error

///////////////////////////////////////////////////////////////////////////////////

func (*MTProtoProxyCodec) Receive

func (c *MTProtoProxyCodec) Receive() (interface{}, error)

func (*MTProtoProxyCodec) Send

func (c *MTProtoProxyCodec) Send(msg interface{}) error

type MaskCoords

type MaskCoords struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MaskCoords_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MaskCoords) Decode

func (m *MaskCoords) Decode(dbuf *DecodeBuf) error

func (*MaskCoords) Descriptor

func (*MaskCoords) Descriptor() ([]byte, []int)

func (*MaskCoords) Encode

func (m *MaskCoords) Encode() []byte

func (*MaskCoords) GetConstructor

func (m *MaskCoords) GetConstructor() TLConstructor

func (*MaskCoords) GetData2

func (m *MaskCoords) GetData2() *MaskCoords_Data

func (*MaskCoords) ProtoMessage

func (*MaskCoords) ProtoMessage()

func (*MaskCoords) Reset

func (m *MaskCoords) Reset()

func (*MaskCoords) String

func (m *MaskCoords) String() string

func (*MaskCoords) To_MaskCoords

func (m *MaskCoords) To_MaskCoords() *TLMaskCoords

maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords;

type MaskCoords_Data

type MaskCoords_Data struct {
	N    int32   `protobuf:"varint,1,opt,name=n" json:"n,omitempty"`
	X    float64 `protobuf:"fixed64,2,opt,name=x" json:"x,omitempty"`
	Y    float64 `protobuf:"fixed64,3,opt,name=y" json:"y,omitempty"`
	Zoom float64 `protobuf:"fixed64,4,opt,name=zoom" json:"zoom,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MaskCoords <--

  • TL_maskCoords

func (*MaskCoords_Data) Descriptor

func (*MaskCoords_Data) Descriptor() ([]byte, []int)

func (*MaskCoords_Data) GetN

func (m *MaskCoords_Data) GetN() int32

func (*MaskCoords_Data) GetX

func (m *MaskCoords_Data) GetX() float64

func (*MaskCoords_Data) GetY

func (m *MaskCoords_Data) GetY() float64

func (*MaskCoords_Data) GetZoom

func (m *MaskCoords_Data) GetZoom() float64

func (*MaskCoords_Data) ProtoMessage

func (*MaskCoords_Data) ProtoMessage()

func (*MaskCoords_Data) Reset

func (m *MaskCoords_Data) Reset()

func (*MaskCoords_Data) String

func (m *MaskCoords_Data) String() string

type Message

type Message struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Message_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Message) Decode

func (m *Message) Decode(dbuf *DecodeBuf) error

func (*Message) Descriptor

func (*Message) Descriptor() ([]byte, []int)

func (*Message) Encode

func (m *Message) Encode() []byte

func (*Message) GetConstructor

func (m *Message) GetConstructor() TLConstructor

func (*Message) GetData2

func (m *Message) GetData2() *Message_Data

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) To_Message

func (m *Message) To_Message() *TLMessage

message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message;

func (*Message) To_MessageEmpty

func (m *Message) To_MessageEmpty() *TLMessageEmpty

messageEmpty#83e5de54 id:int = Message;

func (*Message) To_MessageService

func (m *Message) To_MessageService() *TLMessageService

messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message;

type MessageAction

type MessageAction struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessageAction) Decode

func (m *MessageAction) Decode(dbuf *DecodeBuf) error

func (*MessageAction) Descriptor

func (*MessageAction) Descriptor() ([]byte, []int)

func (*MessageAction) Encode

func (m *MessageAction) Encode() []byte

func (*MessageAction) GetConstructor

func (m *MessageAction) GetConstructor() TLConstructor

func (*MessageAction) GetData2

func (m *MessageAction) GetData2() *MessageAction_Data

func (*MessageAction) ProtoMessage

func (*MessageAction) ProtoMessage()

func (*MessageAction) Reset

func (m *MessageAction) Reset()

func (*MessageAction) String

func (m *MessageAction) String() string

func (*MessageAction) To_MessageActionChannelCreate

func (m *MessageAction) To_MessageActionChannelCreate() *TLMessageActionChannelCreate

messageActionChannelCreate#95d2ac92 title:string = MessageAction;

func (*MessageAction) To_MessageActionChannelMigrateFrom

func (m *MessageAction) To_MessageActionChannelMigrateFrom() *TLMessageActionChannelMigrateFrom

messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;

func (*MessageAction) To_MessageActionChatAddUser

func (m *MessageAction) To_MessageActionChatAddUser() *TLMessageActionChatAddUser

messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;

func (*MessageAction) To_MessageActionChatCreate

func (m *MessageAction) To_MessageActionChatCreate() *TLMessageActionChatCreate

messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction;

func (*MessageAction) To_MessageActionChatDeletePhoto

func (m *MessageAction) To_MessageActionChatDeletePhoto() *TLMessageActionChatDeletePhoto

messageActionChatDeletePhoto#95e3fbef = MessageAction;

func (*MessageAction) To_MessageActionChatDeleteUser

func (m *MessageAction) To_MessageActionChatDeleteUser() *TLMessageActionChatDeleteUser

messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;

func (*MessageAction) To_MessageActionChatEditPhoto

func (m *MessageAction) To_MessageActionChatEditPhoto() *TLMessageActionChatEditPhoto

messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;

func (*MessageAction) To_MessageActionChatEditTitle

func (m *MessageAction) To_MessageActionChatEditTitle() *TLMessageActionChatEditTitle

messageActionChatEditTitle#b5a1ce5a title:string = MessageAction;

func (m *MessageAction) To_MessageActionChatJoinedByLink() *TLMessageActionChatJoinedByLink

messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction;

func (*MessageAction) To_MessageActionChatMigrateTo

func (m *MessageAction) To_MessageActionChatMigrateTo() *TLMessageActionChatMigrateTo

messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;

func (*MessageAction) To_MessageActionCustomAction

func (m *MessageAction) To_MessageActionCustomAction() *TLMessageActionCustomAction

messageActionCustomAction#fae69f56 message:string = MessageAction;

func (*MessageAction) To_MessageActionEmpty

func (m *MessageAction) To_MessageActionEmpty() *TLMessageActionEmpty

messageActionEmpty#b6aef7b0 = MessageAction;

func (*MessageAction) To_MessageActionGameScore

func (m *MessageAction) To_MessageActionGameScore() *TLMessageActionGameScore

messageActionGameScore#92a72876 game_id:long score:int = MessageAction;

func (*MessageAction) To_MessageActionHistoryClear

func (m *MessageAction) To_MessageActionHistoryClear() *TLMessageActionHistoryClear

messageActionHistoryClear#9fbab604 = MessageAction;

func (*MessageAction) To_MessageActionPaymentSent

func (m *MessageAction) To_MessageActionPaymentSent() *TLMessageActionPaymentSent

messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction;

func (*MessageAction) To_MessageActionPaymentSentMe

func (m *MessageAction) To_MessageActionPaymentSentMe() *TLMessageActionPaymentSentMe

messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction;

func (*MessageAction) To_MessageActionPhoneCall

func (m *MessageAction) To_MessageActionPhoneCall() *TLMessageActionPhoneCall

messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;

func (*MessageAction) To_MessageActionPinMessage

func (m *MessageAction) To_MessageActionPinMessage() *TLMessageActionPinMessage

messageActionPinMessage#94bd38ed = MessageAction;

func (*MessageAction) To_MessageActionScreenshotTaken

func (m *MessageAction) To_MessageActionScreenshotTaken() *TLMessageActionScreenshotTaken

messageActionScreenshotTaken#4792929b = MessageAction;

type MessageAction_Data

type MessageAction_Data struct {
	Title            string                  `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
	Users            []int32                 `protobuf:"varint,2,rep,packed,name=users" json:"users,omitempty"`
	Photo            *Photo                  `protobuf:"bytes,3,opt,name=photo" json:"photo,omitempty"`
	UserId           int32                   `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	InviterId        int32                   `protobuf:"varint,5,opt,name=inviter_id,json=inviterId" json:"inviter_id,omitempty"`
	ChannelId        int32                   `protobuf:"varint,6,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
	ChatId           int32                   `protobuf:"varint,7,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	GameId           int64                   `protobuf:"varint,8,opt,name=game_id,json=gameId" json:"game_id,omitempty"`
	Score            int32                   `protobuf:"varint,9,opt,name=score" json:"score,omitempty"`
	Currency         string                  `protobuf:"bytes,10,opt,name=currency" json:"currency,omitempty"`
	TotalAmount      int64                   `protobuf:"varint,11,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"`
	Payload          []byte                  `protobuf:"bytes,12,opt,name=payload,proto3" json:"payload,omitempty"`
	Info             *PaymentRequestedInfo   `protobuf:"bytes,13,opt,name=info" json:"info,omitempty"`
	ShippingOptionId string                  `protobuf:"bytes,14,opt,name=shipping_option_id,json=shippingOptionId" json:"shipping_option_id,omitempty"`
	Charge           *PaymentCharge          `protobuf:"bytes,15,opt,name=charge" json:"charge,omitempty"`
	CallId           int64                   `protobuf:"varint,16,opt,name=call_id,json=callId" json:"call_id,omitempty"`
	Reason           *PhoneCallDiscardReason `protobuf:"bytes,17,opt,name=reason" json:"reason,omitempty"`
	Duration         int32                   `protobuf:"varint,18,opt,name=duration" json:"duration,omitempty"`
	Message          string                  `protobuf:"bytes,19,opt,name=message" json:"message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessageAction <--

  • TL_messageActionEmpty
  • TL_messageActionChatCreate
  • TL_messageActionChatEditTitle
  • TL_messageActionChatEditPhoto
  • TL_messageActionChatDeletePhoto
  • TL_messageActionChatAddUser
  • TL_messageActionChatDeleteUser
  • TL_messageActionChatJoinedByLink
  • TL_messageActionChannelCreate
  • TL_messageActionChatMigrateTo
  • TL_messageActionChannelMigrateFrom
  • TL_messageActionPinMessage
  • TL_messageActionHistoryClear
  • TL_messageActionGameScore
  • TL_messageActionPaymentSentMe
  • TL_messageActionPaymentSent
  • TL_messageActionPhoneCall
  • TL_messageActionScreenshotTaken
  • TL_messageActionCustomAction

func (*MessageAction_Data) Descriptor

func (*MessageAction_Data) Descriptor() ([]byte, []int)

func (*MessageAction_Data) GetCallId

func (m *MessageAction_Data) GetCallId() int64

func (*MessageAction_Data) GetChannelId

func (m *MessageAction_Data) GetChannelId() int32

func (*MessageAction_Data) GetCharge

func (m *MessageAction_Data) GetCharge() *PaymentCharge

func (*MessageAction_Data) GetChatId

func (m *MessageAction_Data) GetChatId() int32

func (*MessageAction_Data) GetCurrency

func (m *MessageAction_Data) GetCurrency() string

func (*MessageAction_Data) GetDuration

func (m *MessageAction_Data) GetDuration() int32

func (*MessageAction_Data) GetGameId

func (m *MessageAction_Data) GetGameId() int64

func (*MessageAction_Data) GetInfo

func (*MessageAction_Data) GetInviterId

func (m *MessageAction_Data) GetInviterId() int32

func (*MessageAction_Data) GetMessage

func (m *MessageAction_Data) GetMessage() string

func (*MessageAction_Data) GetPayload

func (m *MessageAction_Data) GetPayload() []byte

func (*MessageAction_Data) GetPhoto

func (m *MessageAction_Data) GetPhoto() *Photo

func (*MessageAction_Data) GetReason

func (*MessageAction_Data) GetScore

func (m *MessageAction_Data) GetScore() int32

func (*MessageAction_Data) GetShippingOptionId

func (m *MessageAction_Data) GetShippingOptionId() string

func (*MessageAction_Data) GetTitle

func (m *MessageAction_Data) GetTitle() string

func (*MessageAction_Data) GetTotalAmount

func (m *MessageAction_Data) GetTotalAmount() int64

func (*MessageAction_Data) GetUserId

func (m *MessageAction_Data) GetUserId() int32

func (*MessageAction_Data) GetUsers

func (m *MessageAction_Data) GetUsers() []int32

func (*MessageAction_Data) ProtoMessage

func (*MessageAction_Data) ProtoMessage()

func (*MessageAction_Data) Reset

func (m *MessageAction_Data) Reset()

func (*MessageAction_Data) String

func (m *MessageAction_Data) String() string

type MessageBase

type MessageBase interface {
	Encode() []byte
	Decode(b []byte) error
}

type MessageEntity

type MessageEntity struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessageEntity) Decode

func (m *MessageEntity) Decode(dbuf *DecodeBuf) error

func (*MessageEntity) Descriptor

func (*MessageEntity) Descriptor() ([]byte, []int)

func (*MessageEntity) Encode

func (m *MessageEntity) Encode() []byte

func (*MessageEntity) GetConstructor

func (m *MessageEntity) GetConstructor() TLConstructor

func (*MessageEntity) GetData2

func (m *MessageEntity) GetData2() *MessageEntity_Data

func (*MessageEntity) ProtoMessage

func (*MessageEntity) ProtoMessage()

func (*MessageEntity) Reset

func (m *MessageEntity) Reset()

func (*MessageEntity) String

func (m *MessageEntity) String() string

func (*MessageEntity) To_InputMessageEntityMentionName

func (m *MessageEntity) To_InputMessageEntityMentionName() *TLInputMessageEntityMentionName

inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;

func (*MessageEntity) To_MessageEntityBold

func (m *MessageEntity) To_MessageEntityBold() *TLMessageEntityBold

messageEntityBold#bd610bc9 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityBotCommand

func (m *MessageEntity) To_MessageEntityBotCommand() *TLMessageEntityBotCommand

messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityCode

func (m *MessageEntity) To_MessageEntityCode() *TLMessageEntityCode

messageEntityCode#28a20571 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityEmail

func (m *MessageEntity) To_MessageEntityEmail() *TLMessageEntityEmail

messageEntityEmail#64e475c2 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityHashtag

func (m *MessageEntity) To_MessageEntityHashtag() *TLMessageEntityHashtag

messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityItalic

func (m *MessageEntity) To_MessageEntityItalic() *TLMessageEntityItalic

messageEntityItalic#826f8b60 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityMention

func (m *MessageEntity) To_MessageEntityMention() *TLMessageEntityMention

messageEntityMention#fa04579d offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityMentionName

func (m *MessageEntity) To_MessageEntityMentionName() *TLMessageEntityMentionName

messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity;

func (*MessageEntity) To_MessageEntityPre

func (m *MessageEntity) To_MessageEntityPre() *TLMessageEntityPre

messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;

func (*MessageEntity) To_MessageEntityTextUrl

func (m *MessageEntity) To_MessageEntityTextUrl() *TLMessageEntityTextUrl

messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;

func (*MessageEntity) To_MessageEntityUnknown

func (m *MessageEntity) To_MessageEntityUnknown() *TLMessageEntityUnknown

messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;

func (*MessageEntity) To_MessageEntityUrl

func (m *MessageEntity) To_MessageEntityUrl() *TLMessageEntityUrl

messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;

type MessageEntity_Data

type MessageEntity_Data struct {
	Offset   int32      `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"`
	Length   int32      `protobuf:"varint,2,opt,name=length" json:"length,omitempty"`
	Language string     `protobuf:"bytes,3,opt,name=language" json:"language,omitempty"`
	Url      string     `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"`
	UserId_5 int32      `protobuf:"varint,5,opt,name=user_id_5,json=userId5" json:"user_id_5,omitempty"`
	UserId_6 *InputUser `protobuf:"bytes,6,opt,name=user_id_6,json=userId6" json:"user_id_6,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessageEntity <--

  • TL_messageEntityUnknown
  • TL_messageEntityMention
  • TL_messageEntityHashtag
  • TL_messageEntityBotCommand
  • TL_messageEntityUrl
  • TL_messageEntityEmail
  • TL_messageEntityBold
  • TL_messageEntityItalic
  • TL_messageEntityCode
  • TL_messageEntityPre
  • TL_messageEntityTextUrl
  • TL_messageEntityMentionName
  • TL_inputMessageEntityMentionName

func (*MessageEntity_Data) Descriptor

func (*MessageEntity_Data) Descriptor() ([]byte, []int)

func (*MessageEntity_Data) GetLanguage

func (m *MessageEntity_Data) GetLanguage() string

func (*MessageEntity_Data) GetLength

func (m *MessageEntity_Data) GetLength() int32

func (*MessageEntity_Data) GetOffset

func (m *MessageEntity_Data) GetOffset() int32

func (*MessageEntity_Data) GetUrl

func (m *MessageEntity_Data) GetUrl() string

func (*MessageEntity_Data) GetUserId_5

func (m *MessageEntity_Data) GetUserId_5() int32

func (*MessageEntity_Data) GetUserId_6

func (m *MessageEntity_Data) GetUserId_6() *InputUser

func (*MessageEntity_Data) ProtoMessage

func (*MessageEntity_Data) ProtoMessage()

func (*MessageEntity_Data) Reset

func (m *MessageEntity_Data) Reset()

func (*MessageEntity_Data) String

func (m *MessageEntity_Data) String() string

type MessageFwdHeader

type MessageFwdHeader struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessageFwdHeader_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessageFwdHeader) Decode

func (m *MessageFwdHeader) Decode(dbuf *DecodeBuf) error

func (*MessageFwdHeader) Descriptor

func (*MessageFwdHeader) Descriptor() ([]byte, []int)

func (*MessageFwdHeader) Encode

func (m *MessageFwdHeader) Encode() []byte

func (*MessageFwdHeader) GetConstructor

func (m *MessageFwdHeader) GetConstructor() TLConstructor

func (*MessageFwdHeader) GetData2

func (m *MessageFwdHeader) GetData2() *MessageFwdHeader_Data

func (*MessageFwdHeader) ProtoMessage

func (*MessageFwdHeader) ProtoMessage()

func (*MessageFwdHeader) Reset

func (m *MessageFwdHeader) Reset()

func (*MessageFwdHeader) String

func (m *MessageFwdHeader) String() string

func (*MessageFwdHeader) To_MessageFwdHeader

func (m *MessageFwdHeader) To_MessageFwdHeader() *TLMessageFwdHeader

messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader;

type MessageFwdHeader_Data

type MessageFwdHeader_Data struct {
	FromId         int32  `protobuf:"varint,1,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
	Date           int32  `protobuf:"varint,2,opt,name=date" json:"date,omitempty"`
	ChannelId      int32  `protobuf:"varint,3,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
	ChannelPost    int32  `protobuf:"varint,4,opt,name=channel_post,json=channelPost" json:"channel_post,omitempty"`
	PostAuthor     string `protobuf:"bytes,5,opt,name=post_author,json=postAuthor" json:"post_author,omitempty"`
	SavedFromPeer  *Peer  `protobuf:"bytes,6,opt,name=saved_from_peer,json=savedFromPeer" json:"saved_from_peer,omitempty"`
	SavedFromMsgId int32  `protobuf:"varint,7,opt,name=saved_from_msg_id,json=savedFromMsgId" json:"saved_from_msg_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessageFwdHeader <--

  • TL_messageFwdHeader

func (*MessageFwdHeader_Data) Descriptor

func (*MessageFwdHeader_Data) Descriptor() ([]byte, []int)

func (*MessageFwdHeader_Data) GetChannelId

func (m *MessageFwdHeader_Data) GetChannelId() int32

func (*MessageFwdHeader_Data) GetChannelPost

func (m *MessageFwdHeader_Data) GetChannelPost() int32

func (*MessageFwdHeader_Data) GetDate

func (m *MessageFwdHeader_Data) GetDate() int32

func (*MessageFwdHeader_Data) GetFromId

func (m *MessageFwdHeader_Data) GetFromId() int32

func (*MessageFwdHeader_Data) GetPostAuthor

func (m *MessageFwdHeader_Data) GetPostAuthor() string

func (*MessageFwdHeader_Data) GetSavedFromMsgId

func (m *MessageFwdHeader_Data) GetSavedFromMsgId() int32

func (*MessageFwdHeader_Data) GetSavedFromPeer

func (m *MessageFwdHeader_Data) GetSavedFromPeer() *Peer

func (*MessageFwdHeader_Data) ProtoMessage

func (*MessageFwdHeader_Data) ProtoMessage()

func (*MessageFwdHeader_Data) Reset

func (m *MessageFwdHeader_Data) Reset()

func (*MessageFwdHeader_Data) String

func (m *MessageFwdHeader_Data) String() string

type MessageMedia

type MessageMedia struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessageMedia) Decode

func (m *MessageMedia) Decode(dbuf *DecodeBuf) error

func (*MessageMedia) Descriptor

func (*MessageMedia) Descriptor() ([]byte, []int)

func (*MessageMedia) Encode

func (m *MessageMedia) Encode() []byte

func (*MessageMedia) GetConstructor

func (m *MessageMedia) GetConstructor() TLConstructor

func (*MessageMedia) GetData2

func (m *MessageMedia) GetData2() *MessageMedia_Data

func (*MessageMedia) ProtoMessage

func (*MessageMedia) ProtoMessage()

func (*MessageMedia) Reset

func (m *MessageMedia) Reset()

func (*MessageMedia) String

func (m *MessageMedia) String() string

func (*MessageMedia) To_MessageMediaContact

func (m *MessageMedia) To_MessageMediaContact() *TLMessageMediaContact

messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia;

func (*MessageMedia) To_MessageMediaDocument

func (m *MessageMedia) To_MessageMediaDocument() *TLMessageMediaDocument

messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

func (*MessageMedia) To_MessageMediaEmpty

func (m *MessageMedia) To_MessageMediaEmpty() *TLMessageMediaEmpty

messageMediaEmpty#3ded6320 = MessageMedia;

func (*MessageMedia) To_MessageMediaGame

func (m *MessageMedia) To_MessageMediaGame() *TLMessageMediaGame

messageMediaGame#fdb19008 game:Game = MessageMedia;

func (*MessageMedia) To_MessageMediaGeo

func (m *MessageMedia) To_MessageMediaGeo() *TLMessageMediaGeo

messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;

func (*MessageMedia) To_MessageMediaGeoLive

func (m *MessageMedia) To_MessageMediaGeoLive() *TLMessageMediaGeoLive

messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia;

func (*MessageMedia) To_MessageMediaInvoice

func (m *MessageMedia) To_MessageMediaInvoice() *TLMessageMediaInvoice

messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;

func (*MessageMedia) To_MessageMediaPhoto

func (m *MessageMedia) To_MessageMediaPhoto() *TLMessageMediaPhoto

messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

func (*MessageMedia) To_MessageMediaUnsupported

func (m *MessageMedia) To_MessageMediaUnsupported() *TLMessageMediaUnsupported

messageMediaUnsupported#9f84f49e = MessageMedia;

func (*MessageMedia) To_MessageMediaVenue

func (m *MessageMedia) To_MessageMediaVenue() *TLMessageMediaVenue

messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;

func (*MessageMedia) To_MessageMediaWebPage

func (m *MessageMedia) To_MessageMediaWebPage() *TLMessageMediaWebPage

messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;

type MessageMedia_Data

type MessageMedia_Data struct {
	Photo_1                  *Photo       `protobuf:"bytes,1,opt,name=photo_1,json=photo1" json:"photo_1,omitempty"`
	Caption                  string       `protobuf:"bytes,2,opt,name=caption" json:"caption,omitempty"`
	TtlSeconds               int32        `protobuf:"varint,3,opt,name=ttl_seconds,json=ttlSeconds" json:"ttl_seconds,omitempty"`
	Geo                      *GeoPoint    `protobuf:"bytes,4,opt,name=geo" json:"geo,omitempty"`
	PhoneNumber              string       `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	FirstName                string       `protobuf:"bytes,6,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName                 string       `protobuf:"bytes,7,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	UserId                   int32        `protobuf:"varint,8,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Document                 *Document    `protobuf:"bytes,9,opt,name=document" json:"document,omitempty"`
	Webpage                  *WebPage     `protobuf:"bytes,10,opt,name=webpage" json:"webpage,omitempty"`
	Title                    string       `protobuf:"bytes,11,opt,name=title" json:"title,omitempty"`
	Address                  string       `protobuf:"bytes,12,opt,name=address" json:"address,omitempty"`
	Provider                 string       `protobuf:"bytes,13,opt,name=provider" json:"provider,omitempty"`
	VenueId                  string       `protobuf:"bytes,14,opt,name=venue_id,json=venueId" json:"venue_id,omitempty"`
	VenueType                string       `protobuf:"bytes,15,opt,name=venue_type,json=venueType" json:"venue_type,omitempty"`
	Game                     *Game        `protobuf:"bytes,16,opt,name=game" json:"game,omitempty"`
	ShippingAddressRequested bool         `` /* 130-byte string literal not displayed */
	Test                     bool         `protobuf:"varint,18,opt,name=test" json:"test,omitempty"`
	Description              string       `protobuf:"bytes,19,opt,name=description" json:"description,omitempty"`
	Photo_20                 *WebDocument `protobuf:"bytes,20,opt,name=photo_20,json=photo20" json:"photo_20,omitempty"`
	ReceiptMsgId             int32        `protobuf:"varint,21,opt,name=receipt_msg_id,json=receiptMsgId" json:"receipt_msg_id,omitempty"`
	Currency                 string       `protobuf:"bytes,22,opt,name=currency" json:"currency,omitempty"`
	TotalAmount              int64        `protobuf:"varint,23,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"`
	StartParam               string       `protobuf:"bytes,24,opt,name=start_param,json=startParam" json:"start_param,omitempty"`
	Period                   int32        `protobuf:"varint,25,opt,name=period" json:"period,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessageMedia <--

  • TL_messageMediaEmpty
  • TL_messageMediaPhoto
  • TL_messageMediaGeo
  • TL_messageMediaContact
  • TL_messageMediaUnsupported
  • TL_messageMediaDocument
  • TL_messageMediaWebPage
  • TL_messageMediaVenue
  • TL_messageMediaGame
  • TL_messageMediaInvoice
  • TL_messageMediaGeoLive

func (*MessageMedia_Data) Descriptor

func (*MessageMedia_Data) Descriptor() ([]byte, []int)

func (*MessageMedia_Data) GetAddress

func (m *MessageMedia_Data) GetAddress() string

func (*MessageMedia_Data) GetCaption

func (m *MessageMedia_Data) GetCaption() string

func (*MessageMedia_Data) GetCurrency

func (m *MessageMedia_Data) GetCurrency() string

func (*MessageMedia_Data) GetDescription

func (m *MessageMedia_Data) GetDescription() string

func (*MessageMedia_Data) GetDocument

func (m *MessageMedia_Data) GetDocument() *Document

func (*MessageMedia_Data) GetFirstName

func (m *MessageMedia_Data) GetFirstName() string

func (*MessageMedia_Data) GetGame

func (m *MessageMedia_Data) GetGame() *Game

func (*MessageMedia_Data) GetGeo

func (m *MessageMedia_Data) GetGeo() *GeoPoint

func (*MessageMedia_Data) GetLastName

func (m *MessageMedia_Data) GetLastName() string

func (*MessageMedia_Data) GetPeriod

func (m *MessageMedia_Data) GetPeriod() int32

func (*MessageMedia_Data) GetPhoneNumber

func (m *MessageMedia_Data) GetPhoneNumber() string

func (*MessageMedia_Data) GetPhoto_1

func (m *MessageMedia_Data) GetPhoto_1() *Photo

func (*MessageMedia_Data) GetPhoto_20

func (m *MessageMedia_Data) GetPhoto_20() *WebDocument

func (*MessageMedia_Data) GetProvider

func (m *MessageMedia_Data) GetProvider() string

func (*MessageMedia_Data) GetReceiptMsgId

func (m *MessageMedia_Data) GetReceiptMsgId() int32

func (*MessageMedia_Data) GetShippingAddressRequested

func (m *MessageMedia_Data) GetShippingAddressRequested() bool

func (*MessageMedia_Data) GetStartParam

func (m *MessageMedia_Data) GetStartParam() string

func (*MessageMedia_Data) GetTest

func (m *MessageMedia_Data) GetTest() bool

func (*MessageMedia_Data) GetTitle

func (m *MessageMedia_Data) GetTitle() string

func (*MessageMedia_Data) GetTotalAmount

func (m *MessageMedia_Data) GetTotalAmount() int64

func (*MessageMedia_Data) GetTtlSeconds

func (m *MessageMedia_Data) GetTtlSeconds() int32

func (*MessageMedia_Data) GetUserId

func (m *MessageMedia_Data) GetUserId() int32

func (*MessageMedia_Data) GetVenueId

func (m *MessageMedia_Data) GetVenueId() string

func (*MessageMedia_Data) GetVenueType

func (m *MessageMedia_Data) GetVenueType() string

func (*MessageMedia_Data) GetWebpage

func (m *MessageMedia_Data) GetWebpage() *WebPage

func (*MessageMedia_Data) ProtoMessage

func (*MessageMedia_Data) ProtoMessage()

func (*MessageMedia_Data) Reset

func (m *MessageMedia_Data) Reset()

func (*MessageMedia_Data) String

func (m *MessageMedia_Data) String() string

type MessageRange

type MessageRange struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessageRange_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessageRange) Decode

func (m *MessageRange) Decode(dbuf *DecodeBuf) error

func (*MessageRange) Descriptor

func (*MessageRange) Descriptor() ([]byte, []int)

func (*MessageRange) Encode

func (m *MessageRange) Encode() []byte

func (*MessageRange) GetConstructor

func (m *MessageRange) GetConstructor() TLConstructor

func (*MessageRange) GetData2

func (m *MessageRange) GetData2() *MessageRange_Data

func (*MessageRange) ProtoMessage

func (*MessageRange) ProtoMessage()

func (*MessageRange) Reset

func (m *MessageRange) Reset()

func (*MessageRange) String

func (m *MessageRange) String() string

func (*MessageRange) To_MessageRange

func (m *MessageRange) To_MessageRange() *TLMessageRange

messageRange#ae30253 min_id:int max_id:int = MessageRange;

type MessageRange_Data

type MessageRange_Data struct {
	MinId int32 `protobuf:"varint,1,opt,name=min_id,json=minId" json:"min_id,omitempty"`
	MaxId int32 `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessageRange <--

  • TL_messageRange

func (*MessageRange_Data) Descriptor

func (*MessageRange_Data) Descriptor() ([]byte, []int)

func (*MessageRange_Data) GetMaxId

func (m *MessageRange_Data) GetMaxId() int32

func (*MessageRange_Data) GetMinId

func (m *MessageRange_Data) GetMinId() int32

func (*MessageRange_Data) ProtoMessage

func (*MessageRange_Data) ProtoMessage()

func (*MessageRange_Data) Reset

func (m *MessageRange_Data) Reset()

func (*MessageRange_Data) String

func (m *MessageRange_Data) String() string

type Message_Data

type Message_Data struct {
	Id           int32             `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Out          bool              `protobuf:"varint,2,opt,name=out" json:"out,omitempty"`
	Mentioned    bool              `protobuf:"varint,3,opt,name=mentioned" json:"mentioned,omitempty"`
	MediaUnread  bool              `protobuf:"varint,4,opt,name=media_unread,json=mediaUnread" json:"media_unread,omitempty"`
	Silent       bool              `protobuf:"varint,5,opt,name=silent" json:"silent,omitempty"`
	Post         bool              `protobuf:"varint,6,opt,name=post" json:"post,omitempty"`
	FromId       int32             `protobuf:"varint,7,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
	ToId         *Peer             `protobuf:"bytes,8,opt,name=to_id,json=toId" json:"to_id,omitempty"`
	FwdFrom      *MessageFwdHeader `protobuf:"bytes,9,opt,name=fwd_from,json=fwdFrom" json:"fwd_from,omitempty"`
	ViaBotId     int32             `protobuf:"varint,10,opt,name=via_bot_id,json=viaBotId" json:"via_bot_id,omitempty"`
	ReplyToMsgId int32             `protobuf:"varint,11,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Date         int32             `protobuf:"varint,12,opt,name=date" json:"date,omitempty"`
	Message      string            `protobuf:"bytes,13,opt,name=message" json:"message,omitempty"`
	Media        *MessageMedia     `protobuf:"bytes,14,opt,name=media" json:"media,omitempty"`
	ReplyMarkup  *ReplyMarkup      `protobuf:"bytes,15,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	Entities     []*MessageEntity  `protobuf:"bytes,16,rep,name=entities" json:"entities,omitempty"`
	Views        int32             `protobuf:"varint,17,opt,name=views" json:"views,omitempty"`
	EditDate     int32             `protobuf:"varint,18,opt,name=edit_date,json=editDate" json:"edit_date,omitempty"`
	PostAuthor   string            `protobuf:"bytes,19,opt,name=post_author,json=postAuthor" json:"post_author,omitempty"`
	GroupedId    int64             `protobuf:"varint,20,opt,name=grouped_id,json=groupedId" json:"grouped_id,omitempty"`
	Action       *MessageAction    `protobuf:"bytes,21,opt,name=action" json:"action,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Message <--

  • TL_messageEmpty
  • TL_message
  • TL_messageService

func (*Message_Data) Descriptor

func (*Message_Data) Descriptor() ([]byte, []int)

func (*Message_Data) GetAction

func (m *Message_Data) GetAction() *MessageAction

func (*Message_Data) GetDate

func (m *Message_Data) GetDate() int32

func (*Message_Data) GetEditDate

func (m *Message_Data) GetEditDate() int32

func (*Message_Data) GetEntities

func (m *Message_Data) GetEntities() []*MessageEntity

func (*Message_Data) GetFromId

func (m *Message_Data) GetFromId() int32

func (*Message_Data) GetFwdFrom

func (m *Message_Data) GetFwdFrom() *MessageFwdHeader

func (*Message_Data) GetGroupedId

func (m *Message_Data) GetGroupedId() int64

func (*Message_Data) GetId

func (m *Message_Data) GetId() int32

func (*Message_Data) GetMedia

func (m *Message_Data) GetMedia() *MessageMedia

func (*Message_Data) GetMediaUnread

func (m *Message_Data) GetMediaUnread() bool

func (*Message_Data) GetMentioned

func (m *Message_Data) GetMentioned() bool

func (*Message_Data) GetMessage

func (m *Message_Data) GetMessage() string

func (*Message_Data) GetOut

func (m *Message_Data) GetOut() bool

func (*Message_Data) GetPost

func (m *Message_Data) GetPost() bool

func (*Message_Data) GetPostAuthor

func (m *Message_Data) GetPostAuthor() string

func (*Message_Data) GetReplyMarkup

func (m *Message_Data) GetReplyMarkup() *ReplyMarkup

func (*Message_Data) GetReplyToMsgId

func (m *Message_Data) GetReplyToMsgId() int32

func (*Message_Data) GetSilent

func (m *Message_Data) GetSilent() bool

func (*Message_Data) GetToId

func (m *Message_Data) GetToId() *Peer

func (*Message_Data) GetViaBotId

func (m *Message_Data) GetViaBotId() int32

func (*Message_Data) GetViews

func (m *Message_Data) GetViews() int32

func (*Message_Data) ProtoMessage

func (*Message_Data) ProtoMessage()

func (*Message_Data) Reset

func (m *Message_Data) Reset()

func (*Message_Data) String

func (m *Message_Data) String() string

type MessagesFilter

type MessagesFilter struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MessagesFilter) Decode

func (m *MessagesFilter) Decode(dbuf *DecodeBuf) error

func (*MessagesFilter) Descriptor

func (*MessagesFilter) Descriptor() ([]byte, []int)

func (*MessagesFilter) Encode

func (m *MessagesFilter) Encode() []byte

func (*MessagesFilter) GetConstructor

func (m *MessagesFilter) GetConstructor() TLConstructor

func (*MessagesFilter) GetData2

func (m *MessagesFilter) GetData2() *MessagesFilter_Data

func (*MessagesFilter) ProtoMessage

func (*MessagesFilter) ProtoMessage()

func (*MessagesFilter) Reset

func (m *MessagesFilter) Reset()

func (*MessagesFilter) String

func (m *MessagesFilter) String() string

func (*MessagesFilter) To_InputMessagesFilterChatPhotos

func (m *MessagesFilter) To_InputMessagesFilterChatPhotos() *TLInputMessagesFilterChatPhotos

inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterContacts

func (m *MessagesFilter) To_InputMessagesFilterContacts() *TLInputMessagesFilterContacts

inputMessagesFilterContacts#e062db83 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterDocument

func (m *MessagesFilter) To_InputMessagesFilterDocument() *TLInputMessagesFilterDocument

inputMessagesFilterDocument#9eddf188 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterEmpty

func (m *MessagesFilter) To_InputMessagesFilterEmpty() *TLInputMessagesFilterEmpty

inputMessagesFilterEmpty#57e2f66c = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterGeo

func (m *MessagesFilter) To_InputMessagesFilterGeo() *TLInputMessagesFilterGeo

inputMessagesFilterGeo#e7026d0d = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterGif

func (m *MessagesFilter) To_InputMessagesFilterGif() *TLInputMessagesFilterGif

inputMessagesFilterGif#ffc86587 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterMusic

func (m *MessagesFilter) To_InputMessagesFilterMusic() *TLInputMessagesFilterMusic

inputMessagesFilterMusic#3751b49e = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterMyMentions

func (m *MessagesFilter) To_InputMessagesFilterMyMentions() *TLInputMessagesFilterMyMentions

inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterPhoneCalls

func (m *MessagesFilter) To_InputMessagesFilterPhoneCalls() *TLInputMessagesFilterPhoneCalls

inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterPhotoVideo

func (m *MessagesFilter) To_InputMessagesFilterPhotoVideo() *TLInputMessagesFilterPhotoVideo

inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterPhotos

func (m *MessagesFilter) To_InputMessagesFilterPhotos() *TLInputMessagesFilterPhotos

inputMessagesFilterPhotos#9609a51c = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterRoundVideo

func (m *MessagesFilter) To_InputMessagesFilterRoundVideo() *TLInputMessagesFilterRoundVideo

inputMessagesFilterRoundVideo#b549da53 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterRoundVoice

func (m *MessagesFilter) To_InputMessagesFilterRoundVoice() *TLInputMessagesFilterRoundVoice

inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterUrl

func (m *MessagesFilter) To_InputMessagesFilterUrl() *TLInputMessagesFilterUrl

inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterVideo

func (m *MessagesFilter) To_InputMessagesFilterVideo() *TLInputMessagesFilterVideo

inputMessagesFilterVideo#9fc00e65 = MessagesFilter;

func (*MessagesFilter) To_InputMessagesFilterVoice

func (m *MessagesFilter) To_InputMessagesFilterVoice() *TLInputMessagesFilterVoice

inputMessagesFilterVoice#50f5c392 = MessagesFilter;

type MessagesFilter_Data

type MessagesFilter_Data struct {
	Missed bool `protobuf:"varint,1,opt,name=missed" json:"missed,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MessagesFilter <--

  • TL_inputMessagesFilterEmpty
  • TL_inputMessagesFilterPhotos
  • TL_inputMessagesFilterVideo
  • TL_inputMessagesFilterPhotoVideo
  • TL_inputMessagesFilterDocument
  • TL_inputMessagesFilterUrl
  • TL_inputMessagesFilterGif
  • TL_inputMessagesFilterVoice
  • TL_inputMessagesFilterMusic
  • TL_inputMessagesFilterChatPhotos
  • TL_inputMessagesFilterPhoneCalls
  • TL_inputMessagesFilterRoundVoice
  • TL_inputMessagesFilterRoundVideo
  • TL_inputMessagesFilterMyMentions
  • TL_inputMessagesFilterGeo
  • TL_inputMessagesFilterContacts

func (*MessagesFilter_Data) Descriptor

func (*MessagesFilter_Data) Descriptor() ([]byte, []int)

func (*MessagesFilter_Data) GetMissed

func (m *MessagesFilter_Data) GetMissed() bool

func (*MessagesFilter_Data) ProtoMessage

func (*MessagesFilter_Data) ProtoMessage()

func (*MessagesFilter_Data) Reset

func (m *MessagesFilter_Data) Reset()

func (*MessagesFilter_Data) String

func (m *MessagesFilter_Data) String() string

type Messages_AffectedHistory

type Messages_AffectedHistory struct {
	Constructor TLConstructor                  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_AffectedHistory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_AffectedHistory) Decode

func (m *Messages_AffectedHistory) Decode(dbuf *DecodeBuf) error

func (*Messages_AffectedHistory) Descriptor

func (*Messages_AffectedHistory) Descriptor() ([]byte, []int)

func (*Messages_AffectedHistory) Encode

func (m *Messages_AffectedHistory) Encode() []byte

func (*Messages_AffectedHistory) GetConstructor

func (m *Messages_AffectedHistory) GetConstructor() TLConstructor

func (*Messages_AffectedHistory) GetData2

func (*Messages_AffectedHistory) ProtoMessage

func (*Messages_AffectedHistory) ProtoMessage()

func (*Messages_AffectedHistory) Reset

func (m *Messages_AffectedHistory) Reset()

func (*Messages_AffectedHistory) String

func (m *Messages_AffectedHistory) String() string

func (*Messages_AffectedHistory) To_MessagesAffectedHistory

func (m *Messages_AffectedHistory) To_MessagesAffectedHistory() *TLMessagesAffectedHistory

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;

type Messages_AffectedHistory_Data

type Messages_AffectedHistory_Data struct {
	Pts      int32 `protobuf:"varint,1,opt,name=pts" json:"pts,omitempty"`
	PtsCount int32 `protobuf:"varint,2,opt,name=pts_count,json=ptsCount" json:"pts_count,omitempty"`
	Offset   int32 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_AffectedHistory <--

  • TL_messages_affectedHistory

func (*Messages_AffectedHistory_Data) Descriptor

func (*Messages_AffectedHistory_Data) Descriptor() ([]byte, []int)

func (*Messages_AffectedHistory_Data) GetOffset

func (m *Messages_AffectedHistory_Data) GetOffset() int32

func (*Messages_AffectedHistory_Data) GetPts

func (*Messages_AffectedHistory_Data) GetPtsCount

func (m *Messages_AffectedHistory_Data) GetPtsCount() int32

func (*Messages_AffectedHistory_Data) ProtoMessage

func (*Messages_AffectedHistory_Data) ProtoMessage()

func (*Messages_AffectedHistory_Data) Reset

func (m *Messages_AffectedHistory_Data) Reset()

func (*Messages_AffectedHistory_Data) String

type Messages_AffectedMessages

type Messages_AffectedMessages struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_AffectedMessages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_AffectedMessages) Decode

func (m *Messages_AffectedMessages) Decode(dbuf *DecodeBuf) error

func (*Messages_AffectedMessages) Descriptor

func (*Messages_AffectedMessages) Descriptor() ([]byte, []int)

func (*Messages_AffectedMessages) Encode

func (m *Messages_AffectedMessages) Encode() []byte

func (*Messages_AffectedMessages) GetConstructor

func (m *Messages_AffectedMessages) GetConstructor() TLConstructor

func (*Messages_AffectedMessages) GetData2

func (*Messages_AffectedMessages) ProtoMessage

func (*Messages_AffectedMessages) ProtoMessage()

func (*Messages_AffectedMessages) Reset

func (m *Messages_AffectedMessages) Reset()

func (*Messages_AffectedMessages) String

func (m *Messages_AffectedMessages) String() string

func (*Messages_AffectedMessages) To_MessagesAffectedMessages

func (m *Messages_AffectedMessages) To_MessagesAffectedMessages() *TLMessagesAffectedMessages

messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;

type Messages_AffectedMessages_Data

type Messages_AffectedMessages_Data struct {
	Pts      int32 `protobuf:"varint,1,opt,name=pts" json:"pts,omitempty"`
	PtsCount int32 `protobuf:"varint,2,opt,name=pts_count,json=ptsCount" json:"pts_count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_AffectedMessages <--

  • TL_messages_affectedMessages

func (*Messages_AffectedMessages_Data) Descriptor

func (*Messages_AffectedMessages_Data) Descriptor() ([]byte, []int)

func (*Messages_AffectedMessages_Data) GetPts

func (*Messages_AffectedMessages_Data) GetPtsCount

func (m *Messages_AffectedMessages_Data) GetPtsCount() int32

func (*Messages_AffectedMessages_Data) ProtoMessage

func (*Messages_AffectedMessages_Data) ProtoMessage()

func (*Messages_AffectedMessages_Data) Reset

func (m *Messages_AffectedMessages_Data) Reset()

func (*Messages_AffectedMessages_Data) String

type Messages_AllStickers

type Messages_AllStickers struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_AllStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_AllStickers) Decode

func (m *Messages_AllStickers) Decode(dbuf *DecodeBuf) error

func (*Messages_AllStickers) Descriptor

func (*Messages_AllStickers) Descriptor() ([]byte, []int)

func (*Messages_AllStickers) Encode

func (m *Messages_AllStickers) Encode() []byte

func (*Messages_AllStickers) GetConstructor

func (m *Messages_AllStickers) GetConstructor() TLConstructor

func (*Messages_AllStickers) GetData2

func (*Messages_AllStickers) ProtoMessage

func (*Messages_AllStickers) ProtoMessage()

func (*Messages_AllStickers) Reset

func (m *Messages_AllStickers) Reset()

func (*Messages_AllStickers) String

func (m *Messages_AllStickers) String() string

func (*Messages_AllStickers) To_MessagesAllStickers

func (m *Messages_AllStickers) To_MessagesAllStickers() *TLMessagesAllStickers

messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;

func (*Messages_AllStickers) To_MessagesAllStickersNotModified

func (m *Messages_AllStickers) To_MessagesAllStickersNotModified() *TLMessagesAllStickersNotModified

messages.allStickersNotModified#e86602c3 = messages.AllStickers;

type Messages_AllStickers_Data

type Messages_AllStickers_Data struct {
	Hash int32         `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Sets []*StickerSet `protobuf:"bytes,2,rep,name=sets" json:"sets,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_AllStickers <--

  • TL_messages_allStickersNotModified
  • TL_messages_allStickers

func (*Messages_AllStickers_Data) Descriptor

func (*Messages_AllStickers_Data) Descriptor() ([]byte, []int)

func (*Messages_AllStickers_Data) GetHash

func (m *Messages_AllStickers_Data) GetHash() int32

func (*Messages_AllStickers_Data) GetSets

func (m *Messages_AllStickers_Data) GetSets() []*StickerSet

func (*Messages_AllStickers_Data) ProtoMessage

func (*Messages_AllStickers_Data) ProtoMessage()

func (*Messages_AllStickers_Data) Reset

func (m *Messages_AllStickers_Data) Reset()

func (*Messages_AllStickers_Data) String

func (m *Messages_AllStickers_Data) String() string

type Messages_ArchivedStickers

type Messages_ArchivedStickers struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_ArchivedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_ArchivedStickers) Decode

func (m *Messages_ArchivedStickers) Decode(dbuf *DecodeBuf) error

func (*Messages_ArchivedStickers) Descriptor

func (*Messages_ArchivedStickers) Descriptor() ([]byte, []int)

func (*Messages_ArchivedStickers) Encode

func (m *Messages_ArchivedStickers) Encode() []byte

func (*Messages_ArchivedStickers) GetConstructor

func (m *Messages_ArchivedStickers) GetConstructor() TLConstructor

func (*Messages_ArchivedStickers) GetData2

func (*Messages_ArchivedStickers) ProtoMessage

func (*Messages_ArchivedStickers) ProtoMessage()

func (*Messages_ArchivedStickers) Reset

func (m *Messages_ArchivedStickers) Reset()

func (*Messages_ArchivedStickers) String

func (m *Messages_ArchivedStickers) String() string

func (*Messages_ArchivedStickers) To_MessagesArchivedStickers

func (m *Messages_ArchivedStickers) To_MessagesArchivedStickers() *TLMessagesArchivedStickers

messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = messages.ArchivedStickers;

type Messages_ArchivedStickers_Data

type Messages_ArchivedStickers_Data struct {
	Count int32                `protobuf:"varint,1,opt,name=count" json:"count,omitempty"`
	Sets  []*StickerSetCovered `protobuf:"bytes,2,rep,name=sets" json:"sets,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_ArchivedStickers <--

  • TL_messages_archivedStickers

func (*Messages_ArchivedStickers_Data) Descriptor

func (*Messages_ArchivedStickers_Data) Descriptor() ([]byte, []int)

func (*Messages_ArchivedStickers_Data) GetCount

func (m *Messages_ArchivedStickers_Data) GetCount() int32

func (*Messages_ArchivedStickers_Data) GetSets

func (*Messages_ArchivedStickers_Data) ProtoMessage

func (*Messages_ArchivedStickers_Data) ProtoMessage()

func (*Messages_ArchivedStickers_Data) Reset

func (m *Messages_ArchivedStickers_Data) Reset()

func (*Messages_ArchivedStickers_Data) String

type Messages_BotCallbackAnswer

type Messages_BotCallbackAnswer struct {
	Constructor TLConstructor                    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_BotCallbackAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_BotCallbackAnswer) Decode

func (m *Messages_BotCallbackAnswer) Decode(dbuf *DecodeBuf) error

func (*Messages_BotCallbackAnswer) Descriptor

func (*Messages_BotCallbackAnswer) Descriptor() ([]byte, []int)

func (*Messages_BotCallbackAnswer) Encode

func (m *Messages_BotCallbackAnswer) Encode() []byte

func (*Messages_BotCallbackAnswer) GetConstructor

func (m *Messages_BotCallbackAnswer) GetConstructor() TLConstructor

func (*Messages_BotCallbackAnswer) GetData2

func (*Messages_BotCallbackAnswer) ProtoMessage

func (*Messages_BotCallbackAnswer) ProtoMessage()

func (*Messages_BotCallbackAnswer) Reset

func (m *Messages_BotCallbackAnswer) Reset()

func (*Messages_BotCallbackAnswer) String

func (m *Messages_BotCallbackAnswer) String() string

func (*Messages_BotCallbackAnswer) To_MessagesBotCallbackAnswer

func (m *Messages_BotCallbackAnswer) To_MessagesBotCallbackAnswer() *TLMessagesBotCallbackAnswer

messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer;

type Messages_BotCallbackAnswer_Data

type Messages_BotCallbackAnswer_Data struct {
	Alert     bool   `protobuf:"varint,1,opt,name=alert" json:"alert,omitempty"`
	HasUrl    bool   `protobuf:"varint,2,opt,name=has_url,json=hasUrl" json:"has_url,omitempty"`
	NativeUi  bool   `protobuf:"varint,3,opt,name=native_ui,json=nativeUi" json:"native_ui,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	Url       string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	CacheTime int32  `protobuf:"varint,6,opt,name=cache_time,json=cacheTime" json:"cache_time,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_BotCallbackAnswer <--

  • TL_messages_botCallbackAnswer

func (*Messages_BotCallbackAnswer_Data) Descriptor

func (*Messages_BotCallbackAnswer_Data) Descriptor() ([]byte, []int)

func (*Messages_BotCallbackAnswer_Data) GetAlert

func (m *Messages_BotCallbackAnswer_Data) GetAlert() bool

func (*Messages_BotCallbackAnswer_Data) GetCacheTime

func (m *Messages_BotCallbackAnswer_Data) GetCacheTime() int32

func (*Messages_BotCallbackAnswer_Data) GetHasUrl

func (m *Messages_BotCallbackAnswer_Data) GetHasUrl() bool

func (*Messages_BotCallbackAnswer_Data) GetMessage

func (m *Messages_BotCallbackAnswer_Data) GetMessage() string

func (*Messages_BotCallbackAnswer_Data) GetNativeUi

func (m *Messages_BotCallbackAnswer_Data) GetNativeUi() bool

func (*Messages_BotCallbackAnswer_Data) GetUrl

func (*Messages_BotCallbackAnswer_Data) ProtoMessage

func (*Messages_BotCallbackAnswer_Data) ProtoMessage()

func (*Messages_BotCallbackAnswer_Data) Reset

func (*Messages_BotCallbackAnswer_Data) String

type Messages_BotResults

type Messages_BotResults struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_BotResults_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_BotResults) Decode

func (m *Messages_BotResults) Decode(dbuf *DecodeBuf) error

func (*Messages_BotResults) Descriptor

func (*Messages_BotResults) Descriptor() ([]byte, []int)

func (*Messages_BotResults) Encode

func (m *Messages_BotResults) Encode() []byte

func (*Messages_BotResults) GetConstructor

func (m *Messages_BotResults) GetConstructor() TLConstructor

func (*Messages_BotResults) GetData2

func (*Messages_BotResults) ProtoMessage

func (*Messages_BotResults) ProtoMessage()

func (*Messages_BotResults) Reset

func (m *Messages_BotResults) Reset()

func (*Messages_BotResults) String

func (m *Messages_BotResults) String() string

func (*Messages_BotResults) To_MessagesBotResults

func (m *Messages_BotResults) To_MessagesBotResults() *TLMessagesBotResults

messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;

type Messages_BotResults_Data

type Messages_BotResults_Data struct {
	Gallery    bool               `protobuf:"varint,1,opt,name=gallery" json:"gallery,omitempty"`
	QueryId    int64              `protobuf:"varint,2,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	NextOffset string             `protobuf:"bytes,3,opt,name=next_offset,json=nextOffset" json:"next_offset,omitempty"`
	SwitchPm   *InlineBotSwitchPM `protobuf:"bytes,4,opt,name=switch_pm,json=switchPm" json:"switch_pm,omitempty"`
	Results    []*BotInlineResult `protobuf:"bytes,5,rep,name=results" json:"results,omitempty"`
	CacheTime  int32              `protobuf:"varint,6,opt,name=cache_time,json=cacheTime" json:"cache_time,omitempty"`
	Users      []*User            `protobuf:"bytes,7,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_BotResults <--

  • TL_messages_botResults

func (*Messages_BotResults_Data) Descriptor

func (*Messages_BotResults_Data) Descriptor() ([]byte, []int)

func (*Messages_BotResults_Data) GetCacheTime

func (m *Messages_BotResults_Data) GetCacheTime() int32

func (*Messages_BotResults_Data) GetGallery

func (m *Messages_BotResults_Data) GetGallery() bool

func (*Messages_BotResults_Data) GetNextOffset

func (m *Messages_BotResults_Data) GetNextOffset() string

func (*Messages_BotResults_Data) GetQueryId

func (m *Messages_BotResults_Data) GetQueryId() int64

func (*Messages_BotResults_Data) GetResults

func (m *Messages_BotResults_Data) GetResults() []*BotInlineResult

func (*Messages_BotResults_Data) GetSwitchPm

func (m *Messages_BotResults_Data) GetSwitchPm() *InlineBotSwitchPM

func (*Messages_BotResults_Data) GetUsers

func (m *Messages_BotResults_Data) GetUsers() []*User

func (*Messages_BotResults_Data) ProtoMessage

func (*Messages_BotResults_Data) ProtoMessage()

func (*Messages_BotResults_Data) Reset

func (m *Messages_BotResults_Data) Reset()

func (*Messages_BotResults_Data) String

func (m *Messages_BotResults_Data) String() string

type Messages_ChatFull

type Messages_ChatFull struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_ChatFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_ChatFull) Decode

func (m *Messages_ChatFull) Decode(dbuf *DecodeBuf) error

func (*Messages_ChatFull) Descriptor

func (*Messages_ChatFull) Descriptor() ([]byte, []int)

func (*Messages_ChatFull) Encode

func (m *Messages_ChatFull) Encode() []byte

func (*Messages_ChatFull) GetConstructor

func (m *Messages_ChatFull) GetConstructor() TLConstructor

func (*Messages_ChatFull) GetData2

func (*Messages_ChatFull) ProtoMessage

func (*Messages_ChatFull) ProtoMessage()

func (*Messages_ChatFull) Reset

func (m *Messages_ChatFull) Reset()

func (*Messages_ChatFull) String

func (m *Messages_ChatFull) String() string

func (*Messages_ChatFull) To_MessagesChatFull

func (m *Messages_ChatFull) To_MessagesChatFull() *TLMessagesChatFull

messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;

type Messages_ChatFull_Data

type Messages_ChatFull_Data struct {
	FullChat *ChatFull `protobuf:"bytes,1,opt,name=full_chat,json=fullChat" json:"full_chat,omitempty"`
	Chats    []*Chat   `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users    []*User   `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_ChatFull <--

  • TL_messages_chatFull

func (*Messages_ChatFull_Data) Descriptor

func (*Messages_ChatFull_Data) Descriptor() ([]byte, []int)

func (*Messages_ChatFull_Data) GetChats

func (m *Messages_ChatFull_Data) GetChats() []*Chat

func (*Messages_ChatFull_Data) GetFullChat

func (m *Messages_ChatFull_Data) GetFullChat() *ChatFull

func (*Messages_ChatFull_Data) GetUsers

func (m *Messages_ChatFull_Data) GetUsers() []*User

func (*Messages_ChatFull_Data) ProtoMessage

func (*Messages_ChatFull_Data) ProtoMessage()

func (*Messages_ChatFull_Data) Reset

func (m *Messages_ChatFull_Data) Reset()

func (*Messages_ChatFull_Data) String

func (m *Messages_ChatFull_Data) String() string

type Messages_Chats

type Messages_Chats struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_Chats_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_Chats) Decode

func (m *Messages_Chats) Decode(dbuf *DecodeBuf) error

func (*Messages_Chats) Descriptor

func (*Messages_Chats) Descriptor() ([]byte, []int)

func (*Messages_Chats) Encode

func (m *Messages_Chats) Encode() []byte

func (*Messages_Chats) GetConstructor

func (m *Messages_Chats) GetConstructor() TLConstructor

func (*Messages_Chats) GetData2

func (m *Messages_Chats) GetData2() *Messages_Chats_Data

func (*Messages_Chats) ProtoMessage

func (*Messages_Chats) ProtoMessage()

func (*Messages_Chats) Reset

func (m *Messages_Chats) Reset()

func (*Messages_Chats) String

func (m *Messages_Chats) String() string

func (*Messages_Chats) To_MessagesChats

func (m *Messages_Chats) To_MessagesChats() *TLMessagesChats

messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;

func (*Messages_Chats) To_MessagesChatsSlice

func (m *Messages_Chats) To_MessagesChatsSlice() *TLMessagesChatsSlice

messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;

type Messages_Chats_Data

type Messages_Chats_Data struct {
	Chats []*Chat `protobuf:"bytes,1,rep,name=chats" json:"chats,omitempty"`
	Count int32   `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_Chats <--

  • TL_messages_chats
  • TL_messages_chatsSlice

func (*Messages_Chats_Data) Descriptor

func (*Messages_Chats_Data) Descriptor() ([]byte, []int)

func (*Messages_Chats_Data) GetChats

func (m *Messages_Chats_Data) GetChats() []*Chat

func (*Messages_Chats_Data) GetCount

func (m *Messages_Chats_Data) GetCount() int32

func (*Messages_Chats_Data) ProtoMessage

func (*Messages_Chats_Data) ProtoMessage()

func (*Messages_Chats_Data) Reset

func (m *Messages_Chats_Data) Reset()

func (*Messages_Chats_Data) String

func (m *Messages_Chats_Data) String() string

type Messages_DhConfig

type Messages_DhConfig struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_DhConfig_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_DhConfig) Decode

func (m *Messages_DhConfig) Decode(dbuf *DecodeBuf) error

func (*Messages_DhConfig) Descriptor

func (*Messages_DhConfig) Descriptor() ([]byte, []int)

func (*Messages_DhConfig) Encode

func (m *Messages_DhConfig) Encode() []byte

func (*Messages_DhConfig) GetConstructor

func (m *Messages_DhConfig) GetConstructor() TLConstructor

func (*Messages_DhConfig) GetData2

func (*Messages_DhConfig) ProtoMessage

func (*Messages_DhConfig) ProtoMessage()

func (*Messages_DhConfig) Reset

func (m *Messages_DhConfig) Reset()

func (*Messages_DhConfig) String

func (m *Messages_DhConfig) String() string

func (*Messages_DhConfig) To_MessagesDhConfig

func (m *Messages_DhConfig) To_MessagesDhConfig() *TLMessagesDhConfig

messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;

func (*Messages_DhConfig) To_MessagesDhConfigNotModified

func (m *Messages_DhConfig) To_MessagesDhConfigNotModified() *TLMessagesDhConfigNotModified

messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;

type Messages_DhConfig_Data

type Messages_DhConfig_Data struct {
	Random  []byte `protobuf:"bytes,1,opt,name=random,proto3" json:"random,omitempty"`
	G       int32  `protobuf:"varint,2,opt,name=g" json:"g,omitempty"`
	P       []byte `protobuf:"bytes,3,opt,name=p,proto3" json:"p,omitempty"`
	Version int32  `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_DhConfig <--

  • TL_messages_dhConfigNotModified
  • TL_messages_dhConfig

func (*Messages_DhConfig_Data) Descriptor

func (*Messages_DhConfig_Data) Descriptor() ([]byte, []int)

func (*Messages_DhConfig_Data) GetG

func (m *Messages_DhConfig_Data) GetG() int32

func (*Messages_DhConfig_Data) GetP

func (m *Messages_DhConfig_Data) GetP() []byte

func (*Messages_DhConfig_Data) GetRandom

func (m *Messages_DhConfig_Data) GetRandom() []byte

func (*Messages_DhConfig_Data) GetVersion

func (m *Messages_DhConfig_Data) GetVersion() int32

func (*Messages_DhConfig_Data) ProtoMessage

func (*Messages_DhConfig_Data) ProtoMessage()

func (*Messages_DhConfig_Data) Reset

func (m *Messages_DhConfig_Data) Reset()

func (*Messages_DhConfig_Data) String

func (m *Messages_DhConfig_Data) String() string

type Messages_Dialogs

type Messages_Dialogs struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_Dialogs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_Dialogs) Decode

func (m *Messages_Dialogs) Decode(dbuf *DecodeBuf) error

func (*Messages_Dialogs) Descriptor

func (*Messages_Dialogs) Descriptor() ([]byte, []int)

func (*Messages_Dialogs) Encode

func (m *Messages_Dialogs) Encode() []byte

func (*Messages_Dialogs) GetConstructor

func (m *Messages_Dialogs) GetConstructor() TLConstructor

func (*Messages_Dialogs) GetData2

func (m *Messages_Dialogs) GetData2() *Messages_Dialogs_Data

func (*Messages_Dialogs) ProtoMessage

func (*Messages_Dialogs) ProtoMessage()

func (*Messages_Dialogs) Reset

func (m *Messages_Dialogs) Reset()

func (*Messages_Dialogs) String

func (m *Messages_Dialogs) String() string

func (*Messages_Dialogs) To_MessagesDialogs

func (m *Messages_Dialogs) To_MessagesDialogs() *TLMessagesDialogs

messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

func (*Messages_Dialogs) To_MessagesDialogsSlice

func (m *Messages_Dialogs) To_MessagesDialogsSlice() *TLMessagesDialogsSlice

messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

type Messages_Dialogs_Data

type Messages_Dialogs_Data struct {
	Dialogs  []*Dialog  `protobuf:"bytes,1,rep,name=dialogs" json:"dialogs,omitempty"`
	Messages []*Message `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
	Chats    []*Chat    `protobuf:"bytes,3,rep,name=chats" json:"chats,omitempty"`
	Users    []*User    `protobuf:"bytes,4,rep,name=users" json:"users,omitempty"`
	Count    int32      `protobuf:"varint,5,opt,name=count" json:"count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_Dialogs <--

  • TL_messages_dialogs
  • TL_messages_dialogsSlice

func (*Messages_Dialogs_Data) Descriptor

func (*Messages_Dialogs_Data) Descriptor() ([]byte, []int)

func (*Messages_Dialogs_Data) GetChats

func (m *Messages_Dialogs_Data) GetChats() []*Chat

func (*Messages_Dialogs_Data) GetCount

func (m *Messages_Dialogs_Data) GetCount() int32

func (*Messages_Dialogs_Data) GetDialogs

func (m *Messages_Dialogs_Data) GetDialogs() []*Dialog

func (*Messages_Dialogs_Data) GetMessages

func (m *Messages_Dialogs_Data) GetMessages() []*Message

func (*Messages_Dialogs_Data) GetUsers

func (m *Messages_Dialogs_Data) GetUsers() []*User

func (*Messages_Dialogs_Data) ProtoMessage

func (*Messages_Dialogs_Data) ProtoMessage()

func (*Messages_Dialogs_Data) Reset

func (m *Messages_Dialogs_Data) Reset()

func (*Messages_Dialogs_Data) String

func (m *Messages_Dialogs_Data) String() string

type Messages_FavedStickers

type Messages_FavedStickers struct {
	Constructor TLConstructor                `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_FavedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_FavedStickers) Decode

func (m *Messages_FavedStickers) Decode(dbuf *DecodeBuf) error

func (*Messages_FavedStickers) Descriptor

func (*Messages_FavedStickers) Descriptor() ([]byte, []int)

func (*Messages_FavedStickers) Encode

func (m *Messages_FavedStickers) Encode() []byte

func (*Messages_FavedStickers) GetConstructor

func (m *Messages_FavedStickers) GetConstructor() TLConstructor

func (*Messages_FavedStickers) GetData2

func (*Messages_FavedStickers) ProtoMessage

func (*Messages_FavedStickers) ProtoMessage()

func (*Messages_FavedStickers) Reset

func (m *Messages_FavedStickers) Reset()

func (*Messages_FavedStickers) String

func (m *Messages_FavedStickers) String() string

func (*Messages_FavedStickers) To_MessagesFavedStickers

func (m *Messages_FavedStickers) To_MessagesFavedStickers() *TLMessagesFavedStickers

messages.favedStickers#f37f2f16 hash:int packs:Vector<StickerPack> stickers:Vector<Document> = messages.FavedStickers;

func (*Messages_FavedStickers) To_MessagesFavedStickersNotModified

func (m *Messages_FavedStickers) To_MessagesFavedStickersNotModified() *TLMessagesFavedStickersNotModified

messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers;

type Messages_FavedStickers_Data

type Messages_FavedStickers_Data struct {
	Hash     int32          `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Packs    []*StickerPack `protobuf:"bytes,2,rep,name=packs" json:"packs,omitempty"`
	Stickers []*Document    `protobuf:"bytes,3,rep,name=stickers" json:"stickers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_FavedStickers <--

  • TL_messages_favedStickersNotModified
  • TL_messages_favedStickers

func (*Messages_FavedStickers_Data) Descriptor

func (*Messages_FavedStickers_Data) Descriptor() ([]byte, []int)

func (*Messages_FavedStickers_Data) GetHash

func (m *Messages_FavedStickers_Data) GetHash() int32

func (*Messages_FavedStickers_Data) GetPacks

func (m *Messages_FavedStickers_Data) GetPacks() []*StickerPack

func (*Messages_FavedStickers_Data) GetStickers

func (m *Messages_FavedStickers_Data) GetStickers() []*Document

func (*Messages_FavedStickers_Data) ProtoMessage

func (*Messages_FavedStickers_Data) ProtoMessage()

func (*Messages_FavedStickers_Data) Reset

func (m *Messages_FavedStickers_Data) Reset()

func (*Messages_FavedStickers_Data) String

func (m *Messages_FavedStickers_Data) String() string

type Messages_FeaturedStickers

type Messages_FeaturedStickers struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_FeaturedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_FeaturedStickers) Decode

func (m *Messages_FeaturedStickers) Decode(dbuf *DecodeBuf) error

func (*Messages_FeaturedStickers) Descriptor

func (*Messages_FeaturedStickers) Descriptor() ([]byte, []int)

func (*Messages_FeaturedStickers) Encode

func (m *Messages_FeaturedStickers) Encode() []byte

func (*Messages_FeaturedStickers) GetConstructor

func (m *Messages_FeaturedStickers) GetConstructor() TLConstructor

func (*Messages_FeaturedStickers) GetData2

func (*Messages_FeaturedStickers) ProtoMessage

func (*Messages_FeaturedStickers) ProtoMessage()

func (*Messages_FeaturedStickers) Reset

func (m *Messages_FeaturedStickers) Reset()

func (*Messages_FeaturedStickers) String

func (m *Messages_FeaturedStickers) String() string

func (*Messages_FeaturedStickers) To_MessagesFeaturedStickers

func (m *Messages_FeaturedStickers) To_MessagesFeaturedStickers() *TLMessagesFeaturedStickers

messages.featuredStickers#f89d88e5 hash:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;

func (*Messages_FeaturedStickers) To_MessagesFeaturedStickersNotModified

func (m *Messages_FeaturedStickers) To_MessagesFeaturedStickersNotModified() *TLMessagesFeaturedStickersNotModified

messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers;

type Messages_FeaturedStickers_Data

type Messages_FeaturedStickers_Data struct {
	Hash   int32                `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Sets   []*StickerSetCovered `protobuf:"bytes,2,rep,name=sets" json:"sets,omitempty"`
	Unread []int64              `protobuf:"varint,3,rep,packed,name=unread" json:"unread,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_FeaturedStickers <--

  • TL_messages_featuredStickersNotModified
  • TL_messages_featuredStickers

func (*Messages_FeaturedStickers_Data) Descriptor

func (*Messages_FeaturedStickers_Data) Descriptor() ([]byte, []int)

func (*Messages_FeaturedStickers_Data) GetHash

func (*Messages_FeaturedStickers_Data) GetSets

func (*Messages_FeaturedStickers_Data) GetUnread

func (m *Messages_FeaturedStickers_Data) GetUnread() []int64

func (*Messages_FeaturedStickers_Data) ProtoMessage

func (*Messages_FeaturedStickers_Data) ProtoMessage()

func (*Messages_FeaturedStickers_Data) Reset

func (m *Messages_FeaturedStickers_Data) Reset()

func (*Messages_FeaturedStickers_Data) String

type Messages_FoundGifs

type Messages_FoundGifs struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_FoundGifs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_FoundGifs) Decode

func (m *Messages_FoundGifs) Decode(dbuf *DecodeBuf) error

func (*Messages_FoundGifs) Descriptor

func (*Messages_FoundGifs) Descriptor() ([]byte, []int)

func (*Messages_FoundGifs) Encode

func (m *Messages_FoundGifs) Encode() []byte

func (*Messages_FoundGifs) GetConstructor

func (m *Messages_FoundGifs) GetConstructor() TLConstructor

func (*Messages_FoundGifs) GetData2

func (*Messages_FoundGifs) ProtoMessage

func (*Messages_FoundGifs) ProtoMessage()

func (*Messages_FoundGifs) Reset

func (m *Messages_FoundGifs) Reset()

func (*Messages_FoundGifs) String

func (m *Messages_FoundGifs) String() string

func (*Messages_FoundGifs) To_MessagesFoundGifs

func (m *Messages_FoundGifs) To_MessagesFoundGifs() *TLMessagesFoundGifs

messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif> = messages.FoundGifs;

type Messages_FoundGifs_Data

type Messages_FoundGifs_Data struct {
	NextOffset int32       `protobuf:"varint,1,opt,name=next_offset,json=nextOffset" json:"next_offset,omitempty"`
	Results    []*FoundGif `protobuf:"bytes,2,rep,name=results" json:"results,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_FoundGifs <--

  • TL_messages_foundGifs

func (*Messages_FoundGifs_Data) Descriptor

func (*Messages_FoundGifs_Data) Descriptor() ([]byte, []int)

func (*Messages_FoundGifs_Data) GetNextOffset

func (m *Messages_FoundGifs_Data) GetNextOffset() int32

func (*Messages_FoundGifs_Data) GetResults

func (m *Messages_FoundGifs_Data) GetResults() []*FoundGif

func (*Messages_FoundGifs_Data) ProtoMessage

func (*Messages_FoundGifs_Data) ProtoMessage()

func (*Messages_FoundGifs_Data) Reset

func (m *Messages_FoundGifs_Data) Reset()

func (*Messages_FoundGifs_Data) String

func (m *Messages_FoundGifs_Data) String() string

type Messages_HighScores

type Messages_HighScores struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_HighScores_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_HighScores) Decode

func (m *Messages_HighScores) Decode(dbuf *DecodeBuf) error

func (*Messages_HighScores) Descriptor

func (*Messages_HighScores) Descriptor() ([]byte, []int)

func (*Messages_HighScores) Encode

func (m *Messages_HighScores) Encode() []byte

func (*Messages_HighScores) GetConstructor

func (m *Messages_HighScores) GetConstructor() TLConstructor

func (*Messages_HighScores) GetData2

func (*Messages_HighScores) ProtoMessage

func (*Messages_HighScores) ProtoMessage()

func (*Messages_HighScores) Reset

func (m *Messages_HighScores) Reset()

func (*Messages_HighScores) String

func (m *Messages_HighScores) String() string

func (*Messages_HighScores) To_MessagesHighScores

func (m *Messages_HighScores) To_MessagesHighScores() *TLMessagesHighScores

messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores;

type Messages_HighScores_Data

type Messages_HighScores_Data struct {
	Scores []*HighScore `protobuf:"bytes,1,rep,name=scores" json:"scores,omitempty"`
	Users  []*User      `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_HighScores <--

  • TL_messages_highScores

func (*Messages_HighScores_Data) Descriptor

func (*Messages_HighScores_Data) Descriptor() ([]byte, []int)

func (*Messages_HighScores_Data) GetScores

func (m *Messages_HighScores_Data) GetScores() []*HighScore

func (*Messages_HighScores_Data) GetUsers

func (m *Messages_HighScores_Data) GetUsers() []*User

func (*Messages_HighScores_Data) ProtoMessage

func (*Messages_HighScores_Data) ProtoMessage()

func (*Messages_HighScores_Data) Reset

func (m *Messages_HighScores_Data) Reset()

func (*Messages_HighScores_Data) String

func (m *Messages_HighScores_Data) String() string

type Messages_MessageEditData

type Messages_MessageEditData struct {
	Constructor TLConstructor                  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_MessageEditData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_MessageEditData) Decode

func (m *Messages_MessageEditData) Decode(dbuf *DecodeBuf) error

func (*Messages_MessageEditData) Descriptor

func (*Messages_MessageEditData) Descriptor() ([]byte, []int)

func (*Messages_MessageEditData) Encode

func (m *Messages_MessageEditData) Encode() []byte

func (*Messages_MessageEditData) GetConstructor

func (m *Messages_MessageEditData) GetConstructor() TLConstructor

func (*Messages_MessageEditData) GetData2

func (*Messages_MessageEditData) ProtoMessage

func (*Messages_MessageEditData) ProtoMessage()

func (*Messages_MessageEditData) Reset

func (m *Messages_MessageEditData) Reset()

func (*Messages_MessageEditData) String

func (m *Messages_MessageEditData) String() string

func (*Messages_MessageEditData) To_MessagesMessageEditData

func (m *Messages_MessageEditData) To_MessagesMessageEditData() *TLMessagesMessageEditData

messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData;

type Messages_MessageEditData_Data

type Messages_MessageEditData_Data struct {
	Caption bool `protobuf:"varint,1,opt,name=caption" json:"caption,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_MessageEditData <--

  • TL_messages_messageEditData

func (*Messages_MessageEditData_Data) Descriptor

func (*Messages_MessageEditData_Data) Descriptor() ([]byte, []int)

func (*Messages_MessageEditData_Data) GetCaption

func (m *Messages_MessageEditData_Data) GetCaption() bool

func (*Messages_MessageEditData_Data) ProtoMessage

func (*Messages_MessageEditData_Data) ProtoMessage()

func (*Messages_MessageEditData_Data) Reset

func (m *Messages_MessageEditData_Data) Reset()

func (*Messages_MessageEditData_Data) String

type Messages_Messages

type Messages_Messages struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_Messages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_Messages) Decode

func (m *Messages_Messages) Decode(dbuf *DecodeBuf) error

func (*Messages_Messages) Descriptor

func (*Messages_Messages) Descriptor() ([]byte, []int)

func (*Messages_Messages) Encode

func (m *Messages_Messages) Encode() []byte

func (*Messages_Messages) GetConstructor

func (m *Messages_Messages) GetConstructor() TLConstructor

func (*Messages_Messages) GetData2

func (*Messages_Messages) ProtoMessage

func (*Messages_Messages) ProtoMessage()

func (*Messages_Messages) Reset

func (m *Messages_Messages) Reset()

func (*Messages_Messages) String

func (m *Messages_Messages) String() string

func (*Messages_Messages) To_MessagesChannelMessages

func (m *Messages_Messages) To_MessagesChannelMessages() *TLMessagesChannelMessages

messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

func (*Messages_Messages) To_MessagesMessages

func (m *Messages_Messages) To_MessagesMessages() *TLMessagesMessages

messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

func (*Messages_Messages) To_MessagesMessagesNotModified

func (m *Messages_Messages) To_MessagesMessagesNotModified() *TLMessagesMessagesNotModified

messages.messagesNotModified#74535f21 count:int = messages.Messages;

func (*Messages_Messages) To_MessagesMessagesSlice

func (m *Messages_Messages) To_MessagesMessagesSlice() *TLMessagesMessagesSlice

messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

type Messages_Messages_Data

type Messages_Messages_Data struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	Chats    []*Chat    `protobuf:"bytes,2,rep,name=chats" json:"chats,omitempty"`
	Users    []*User    `protobuf:"bytes,3,rep,name=users" json:"users,omitempty"`
	Count    int32      `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
	Pts      int32      `protobuf:"varint,5,opt,name=pts" json:"pts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_Messages <--

  • TL_messages_messages
  • TL_messages_messagesSlice
  • TL_messages_channelMessages
  • TL_messages_messagesNotModified

func (*Messages_Messages_Data) Descriptor

func (*Messages_Messages_Data) Descriptor() ([]byte, []int)

func (*Messages_Messages_Data) GetChats

func (m *Messages_Messages_Data) GetChats() []*Chat

func (*Messages_Messages_Data) GetCount

func (m *Messages_Messages_Data) GetCount() int32

func (*Messages_Messages_Data) GetMessages

func (m *Messages_Messages_Data) GetMessages() []*Message

func (*Messages_Messages_Data) GetPts

func (m *Messages_Messages_Data) GetPts() int32

func (*Messages_Messages_Data) GetUsers

func (m *Messages_Messages_Data) GetUsers() []*User

func (*Messages_Messages_Data) ProtoMessage

func (*Messages_Messages_Data) ProtoMessage()

func (*Messages_Messages_Data) Reset

func (m *Messages_Messages_Data) Reset()

func (*Messages_Messages_Data) String

func (m *Messages_Messages_Data) String() string

type Messages_PeerDialogs

type Messages_PeerDialogs struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_PeerDialogs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_PeerDialogs) Decode

func (m *Messages_PeerDialogs) Decode(dbuf *DecodeBuf) error

func (*Messages_PeerDialogs) Descriptor

func (*Messages_PeerDialogs) Descriptor() ([]byte, []int)

func (*Messages_PeerDialogs) Encode

func (m *Messages_PeerDialogs) Encode() []byte

func (*Messages_PeerDialogs) GetConstructor

func (m *Messages_PeerDialogs) GetConstructor() TLConstructor

func (*Messages_PeerDialogs) GetData2

func (*Messages_PeerDialogs) ProtoMessage

func (*Messages_PeerDialogs) ProtoMessage()

func (*Messages_PeerDialogs) Reset

func (m *Messages_PeerDialogs) Reset()

func (*Messages_PeerDialogs) String

func (m *Messages_PeerDialogs) String() string

func (*Messages_PeerDialogs) To_MessagesPeerDialogs

func (m *Messages_PeerDialogs) To_MessagesPeerDialogs() *TLMessagesPeerDialogs

messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs;

type Messages_PeerDialogs_Data

type Messages_PeerDialogs_Data struct {
	Dialogs  []*Dialog      `protobuf:"bytes,1,rep,name=dialogs" json:"dialogs,omitempty"`
	Messages []*Message     `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
	Chats    []*Chat        `protobuf:"bytes,3,rep,name=chats" json:"chats,omitempty"`
	Users    []*User        `protobuf:"bytes,4,rep,name=users" json:"users,omitempty"`
	State    *Updates_State `protobuf:"bytes,5,opt,name=state" json:"state,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_PeerDialogs <--

  • TL_messages_peerDialogs

func (*Messages_PeerDialogs_Data) Descriptor

func (*Messages_PeerDialogs_Data) Descriptor() ([]byte, []int)

func (*Messages_PeerDialogs_Data) GetChats

func (m *Messages_PeerDialogs_Data) GetChats() []*Chat

func (*Messages_PeerDialogs_Data) GetDialogs

func (m *Messages_PeerDialogs_Data) GetDialogs() []*Dialog

func (*Messages_PeerDialogs_Data) GetMessages

func (m *Messages_PeerDialogs_Data) GetMessages() []*Message

func (*Messages_PeerDialogs_Data) GetState

func (*Messages_PeerDialogs_Data) GetUsers

func (m *Messages_PeerDialogs_Data) GetUsers() []*User

func (*Messages_PeerDialogs_Data) ProtoMessage

func (*Messages_PeerDialogs_Data) ProtoMessage()

func (*Messages_PeerDialogs_Data) Reset

func (m *Messages_PeerDialogs_Data) Reset()

func (*Messages_PeerDialogs_Data) String

func (m *Messages_PeerDialogs_Data) String() string

type Messages_RecentStickers

type Messages_RecentStickers struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_RecentStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_RecentStickers) Decode

func (m *Messages_RecentStickers) Decode(dbuf *DecodeBuf) error

func (*Messages_RecentStickers) Descriptor

func (*Messages_RecentStickers) Descriptor() ([]byte, []int)

func (*Messages_RecentStickers) Encode

func (m *Messages_RecentStickers) Encode() []byte

func (*Messages_RecentStickers) GetConstructor

func (m *Messages_RecentStickers) GetConstructor() TLConstructor

func (*Messages_RecentStickers) GetData2

func (*Messages_RecentStickers) ProtoMessage

func (*Messages_RecentStickers) ProtoMessage()

func (*Messages_RecentStickers) Reset

func (m *Messages_RecentStickers) Reset()

func (*Messages_RecentStickers) String

func (m *Messages_RecentStickers) String() string

func (*Messages_RecentStickers) To_MessagesRecentStickers

func (m *Messages_RecentStickers) To_MessagesRecentStickers() *TLMessagesRecentStickers

messages.recentStickers#5ce20970 hash:int stickers:Vector<Document> = messages.RecentStickers;

func (*Messages_RecentStickers) To_MessagesRecentStickersNotModified

func (m *Messages_RecentStickers) To_MessagesRecentStickersNotModified() *TLMessagesRecentStickersNotModified

messages.recentStickersNotModified#b17f890 = messages.RecentStickers;

type Messages_RecentStickers_Data

type Messages_RecentStickers_Data struct {
	Hash     int32       `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Stickers []*Document `protobuf:"bytes,2,rep,name=stickers" json:"stickers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_RecentStickers <--

  • TL_messages_recentStickersNotModified
  • TL_messages_recentStickers

func (*Messages_RecentStickers_Data) Descriptor

func (*Messages_RecentStickers_Data) Descriptor() ([]byte, []int)

func (*Messages_RecentStickers_Data) GetHash

func (m *Messages_RecentStickers_Data) GetHash() int32

func (*Messages_RecentStickers_Data) GetStickers

func (m *Messages_RecentStickers_Data) GetStickers() []*Document

func (*Messages_RecentStickers_Data) ProtoMessage

func (*Messages_RecentStickers_Data) ProtoMessage()

func (*Messages_RecentStickers_Data) Reset

func (m *Messages_RecentStickers_Data) Reset()

func (*Messages_RecentStickers_Data) String

type Messages_SavedGifs

type Messages_SavedGifs struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_SavedGifs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_SavedGifs) Decode

func (m *Messages_SavedGifs) Decode(dbuf *DecodeBuf) error

func (*Messages_SavedGifs) Descriptor

func (*Messages_SavedGifs) Descriptor() ([]byte, []int)

func (*Messages_SavedGifs) Encode

func (m *Messages_SavedGifs) Encode() []byte

func (*Messages_SavedGifs) GetConstructor

func (m *Messages_SavedGifs) GetConstructor() TLConstructor

func (*Messages_SavedGifs) GetData2

func (*Messages_SavedGifs) ProtoMessage

func (*Messages_SavedGifs) ProtoMessage()

func (*Messages_SavedGifs) Reset

func (m *Messages_SavedGifs) Reset()

func (*Messages_SavedGifs) String

func (m *Messages_SavedGifs) String() string

func (*Messages_SavedGifs) To_MessagesSavedGifs

func (m *Messages_SavedGifs) To_MessagesSavedGifs() *TLMessagesSavedGifs

messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs;

func (*Messages_SavedGifs) To_MessagesSavedGifsNotModified

func (m *Messages_SavedGifs) To_MessagesSavedGifsNotModified() *TLMessagesSavedGifsNotModified

messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;

type Messages_SavedGifs_Data

type Messages_SavedGifs_Data struct {
	Hash int32       `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
	Gifs []*Document `protobuf:"bytes,2,rep,name=gifs" json:"gifs,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_SavedGifs <--

  • TL_messages_savedGifsNotModified
  • TL_messages_savedGifs

func (*Messages_SavedGifs_Data) Descriptor

func (*Messages_SavedGifs_Data) Descriptor() ([]byte, []int)

func (*Messages_SavedGifs_Data) GetGifs

func (m *Messages_SavedGifs_Data) GetGifs() []*Document

func (*Messages_SavedGifs_Data) GetHash

func (m *Messages_SavedGifs_Data) GetHash() int32

func (*Messages_SavedGifs_Data) ProtoMessage

func (*Messages_SavedGifs_Data) ProtoMessage()

func (*Messages_SavedGifs_Data) Reset

func (m *Messages_SavedGifs_Data) Reset()

func (*Messages_SavedGifs_Data) String

func (m *Messages_SavedGifs_Data) String() string

type Messages_SentEncryptedMessage

type Messages_SentEncryptedMessage struct {
	Constructor TLConstructor                       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_SentEncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_SentEncryptedMessage) Decode

func (*Messages_SentEncryptedMessage) Descriptor

func (*Messages_SentEncryptedMessage) Descriptor() ([]byte, []int)

func (*Messages_SentEncryptedMessage) Encode

func (m *Messages_SentEncryptedMessage) Encode() []byte

func (*Messages_SentEncryptedMessage) GetConstructor

func (m *Messages_SentEncryptedMessage) GetConstructor() TLConstructor

func (*Messages_SentEncryptedMessage) GetData2

func (*Messages_SentEncryptedMessage) ProtoMessage

func (*Messages_SentEncryptedMessage) ProtoMessage()

func (*Messages_SentEncryptedMessage) Reset

func (m *Messages_SentEncryptedMessage) Reset()

func (*Messages_SentEncryptedMessage) String

func (*Messages_SentEncryptedMessage) To_MessagesSentEncryptedFile

func (m *Messages_SentEncryptedMessage) To_MessagesSentEncryptedFile() *TLMessagesSentEncryptedFile

messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;

func (*Messages_SentEncryptedMessage) To_MessagesSentEncryptedMessage

func (m *Messages_SentEncryptedMessage) To_MessagesSentEncryptedMessage() *TLMessagesSentEncryptedMessage

messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;

type Messages_SentEncryptedMessage_Data

type Messages_SentEncryptedMessage_Data struct {
	Date int32          `protobuf:"varint,1,opt,name=date" json:"date,omitempty"`
	File *EncryptedFile `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_SentEncryptedMessage <--

  • TL_messages_sentEncryptedMessage
  • TL_messages_sentEncryptedFile

func (*Messages_SentEncryptedMessage_Data) Descriptor

func (*Messages_SentEncryptedMessage_Data) Descriptor() ([]byte, []int)

func (*Messages_SentEncryptedMessage_Data) GetDate

func (*Messages_SentEncryptedMessage_Data) GetFile

func (*Messages_SentEncryptedMessage_Data) ProtoMessage

func (*Messages_SentEncryptedMessage_Data) ProtoMessage()

func (*Messages_SentEncryptedMessage_Data) Reset

func (*Messages_SentEncryptedMessage_Data) String

type Messages_StickerSet

type Messages_StickerSet struct {
	Constructor TLConstructor             `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_StickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_StickerSet) Decode

func (m *Messages_StickerSet) Decode(dbuf *DecodeBuf) error

func (*Messages_StickerSet) Descriptor

func (*Messages_StickerSet) Descriptor() ([]byte, []int)

func (*Messages_StickerSet) Encode

func (m *Messages_StickerSet) Encode() []byte

func (*Messages_StickerSet) GetConstructor

func (m *Messages_StickerSet) GetConstructor() TLConstructor

func (*Messages_StickerSet) GetData2

func (*Messages_StickerSet) ProtoMessage

func (*Messages_StickerSet) ProtoMessage()

func (*Messages_StickerSet) Reset

func (m *Messages_StickerSet) Reset()

func (*Messages_StickerSet) String

func (m *Messages_StickerSet) String() string

func (*Messages_StickerSet) To_MessagesStickerSet

func (m *Messages_StickerSet) To_MessagesStickerSet() *TLMessagesStickerSet

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;

type Messages_StickerSetInstallResult

type Messages_StickerSetInstallResult struct {
	Constructor TLConstructor                          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_StickerSetInstallResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_StickerSetInstallResult) Decode

func (*Messages_StickerSetInstallResult) Descriptor

func (*Messages_StickerSetInstallResult) Descriptor() ([]byte, []int)

func (*Messages_StickerSetInstallResult) Encode

func (m *Messages_StickerSetInstallResult) Encode() []byte

func (*Messages_StickerSetInstallResult) GetConstructor

func (m *Messages_StickerSetInstallResult) GetConstructor() TLConstructor

func (*Messages_StickerSetInstallResult) GetData2

func (*Messages_StickerSetInstallResult) ProtoMessage

func (*Messages_StickerSetInstallResult) ProtoMessage()

func (*Messages_StickerSetInstallResult) Reset

func (*Messages_StickerSetInstallResult) String

func (*Messages_StickerSetInstallResult) To_MessagesStickerSetInstallResultArchive

func (m *Messages_StickerSetInstallResult) To_MessagesStickerSetInstallResultArchive() *TLMessagesStickerSetInstallResultArchive

messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult;

func (*Messages_StickerSetInstallResult) To_MessagesStickerSetInstallResultSuccess

func (m *Messages_StickerSetInstallResult) To_MessagesStickerSetInstallResultSuccess() *TLMessagesStickerSetInstallResultSuccess

messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;

type Messages_StickerSetInstallResult_Data

type Messages_StickerSetInstallResult_Data struct {
	Sets []*StickerSetCovered `protobuf:"bytes,1,rep,name=sets" json:"sets,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_StickerSetInstallResult <--

  • TL_messages_stickerSetInstallResultSuccess
  • TL_messages_stickerSetInstallResultArchive

func (*Messages_StickerSetInstallResult_Data) Descriptor

func (*Messages_StickerSetInstallResult_Data) Descriptor() ([]byte, []int)

func (*Messages_StickerSetInstallResult_Data) GetSets

func (*Messages_StickerSetInstallResult_Data) ProtoMessage

func (*Messages_StickerSetInstallResult_Data) ProtoMessage()

func (*Messages_StickerSetInstallResult_Data) Reset

func (*Messages_StickerSetInstallResult_Data) String

type Messages_StickerSet_Data

type Messages_StickerSet_Data struct {
	Set       *StickerSet    `protobuf:"bytes,1,opt,name=set" json:"set,omitempty"`
	Packs     []*StickerPack `protobuf:"bytes,2,rep,name=packs" json:"packs,omitempty"`
	Documents []*Document    `protobuf:"bytes,3,rep,name=documents" json:"documents,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_StickerSet <--

  • TL_messages_stickerSet

func (*Messages_StickerSet_Data) Descriptor

func (*Messages_StickerSet_Data) Descriptor() ([]byte, []int)

func (*Messages_StickerSet_Data) GetDocuments

func (m *Messages_StickerSet_Data) GetDocuments() []*Document

func (*Messages_StickerSet_Data) GetPacks

func (m *Messages_StickerSet_Data) GetPacks() []*StickerPack

func (*Messages_StickerSet_Data) GetSet

func (m *Messages_StickerSet_Data) GetSet() *StickerSet

func (*Messages_StickerSet_Data) ProtoMessage

func (*Messages_StickerSet_Data) ProtoMessage()

func (*Messages_StickerSet_Data) Reset

func (m *Messages_StickerSet_Data) Reset()

func (*Messages_StickerSet_Data) String

func (m *Messages_StickerSet_Data) String() string

type Messages_Stickers

type Messages_Stickers struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Messages_Stickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Messages_Stickers) Decode

func (m *Messages_Stickers) Decode(dbuf *DecodeBuf) error

func (*Messages_Stickers) Descriptor

func (*Messages_Stickers) Descriptor() ([]byte, []int)

func (*Messages_Stickers) Encode

func (m *Messages_Stickers) Encode() []byte

func (*Messages_Stickers) GetConstructor

func (m *Messages_Stickers) GetConstructor() TLConstructor

func (*Messages_Stickers) GetData2

func (*Messages_Stickers) ProtoMessage

func (*Messages_Stickers) ProtoMessage()

func (*Messages_Stickers) Reset

func (m *Messages_Stickers) Reset()

func (*Messages_Stickers) String

func (m *Messages_Stickers) String() string

func (*Messages_Stickers) To_MessagesStickers

func (m *Messages_Stickers) To_MessagesStickers() *TLMessagesStickers

messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;

func (*Messages_Stickers) To_MessagesStickersNotModified

func (m *Messages_Stickers) To_MessagesStickersNotModified() *TLMessagesStickersNotModified

messages.stickersNotModified#f1749a22 = messages.Stickers;

type Messages_Stickers_Data

type Messages_Stickers_Data struct {
	Hash     string      `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
	Stickers []*Document `protobuf:"bytes,2,rep,name=stickers" json:"stickers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages_Stickers <--

  • TL_messages_stickersNotModified
  • TL_messages_stickers

func (*Messages_Stickers_Data) Descriptor

func (*Messages_Stickers_Data) Descriptor() ([]byte, []int)

func (*Messages_Stickers_Data) GetHash

func (m *Messages_Stickers_Data) GetHash() string

func (*Messages_Stickers_Data) GetStickers

func (m *Messages_Stickers_Data) GetStickers() []*Document

func (*Messages_Stickers_Data) ProtoMessage

func (*Messages_Stickers_Data) ProtoMessage()

func (*Messages_Stickers_Data) Reset

func (m *Messages_Stickers_Data) Reset()

func (*Messages_Stickers_Data) String

func (m *Messages_Stickers_Data) String() string

type MsgDetailedInfo

type MsgDetailedInfo struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgDetailedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgDetailedInfo) Decode

func (m *MsgDetailedInfo) Decode(dbuf *DecodeBuf) error

func (*MsgDetailedInfo) Descriptor

func (*MsgDetailedInfo) Descriptor() ([]byte, []int)

func (*MsgDetailedInfo) Encode

func (m *MsgDetailedInfo) Encode() []byte

func (*MsgDetailedInfo) GetConstructor

func (m *MsgDetailedInfo) GetConstructor() TLConstructor

func (*MsgDetailedInfo) GetData2

func (m *MsgDetailedInfo) GetData2() *MsgDetailedInfo_Data

func (*MsgDetailedInfo) ProtoMessage

func (*MsgDetailedInfo) ProtoMessage()

func (*MsgDetailedInfo) Reset

func (m *MsgDetailedInfo) Reset()

func (*MsgDetailedInfo) String

func (m *MsgDetailedInfo) String() string

func (*MsgDetailedInfo) To_MsgDetailedInfo

func (m *MsgDetailedInfo) To_MsgDetailedInfo() *TLMsgDetailedInfo

msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

func (*MsgDetailedInfo) To_MsgNewDetailedInfo

func (m *MsgDetailedInfo) To_MsgNewDetailedInfo() *TLMsgNewDetailedInfo

msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

type MsgDetailedInfoContainer

type MsgDetailedInfoContainer struct {
	Message *EncryptedMessage2
}

////////////////////////////////////////////////////////////////////////////////////////// MsgDetailedInfo

type MsgDetailedInfo_Data

type MsgDetailedInfo_Data struct {
	MsgId       int64 `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	AnswerMsgId int64 `protobuf:"varint,2,opt,name=answer_msg_id,json=answerMsgId" json:"answer_msg_id,omitempty"`
	Bytes       int32 `protobuf:"varint,3,opt,name=bytes" json:"bytes,omitempty"`
	Status      int32 `protobuf:"varint,4,opt,name=status" json:"status,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgDetailedInfo <--

  • TL_msg_detailed_info
  • TL_msg_new_detailed_info

func (*MsgDetailedInfo_Data) Descriptor

func (*MsgDetailedInfo_Data) Descriptor() ([]byte, []int)

func (*MsgDetailedInfo_Data) GetAnswerMsgId

func (m *MsgDetailedInfo_Data) GetAnswerMsgId() int64

func (*MsgDetailedInfo_Data) GetBytes

func (m *MsgDetailedInfo_Data) GetBytes() int32

func (*MsgDetailedInfo_Data) GetMsgId

func (m *MsgDetailedInfo_Data) GetMsgId() int64

func (*MsgDetailedInfo_Data) GetStatus

func (m *MsgDetailedInfo_Data) GetStatus() int32

func (*MsgDetailedInfo_Data) ProtoMessage

func (*MsgDetailedInfo_Data) ProtoMessage()

func (*MsgDetailedInfo_Data) Reset

func (m *MsgDetailedInfo_Data) Reset()

func (*MsgDetailedInfo_Data) String

func (m *MsgDetailedInfo_Data) String() string

type MsgResendReq

type MsgResendReq struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgResendReq_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgResendReq) Decode

func (m *MsgResendReq) Decode(dbuf *DecodeBuf) error

func (*MsgResendReq) Descriptor

func (*MsgResendReq) Descriptor() ([]byte, []int)

func (*MsgResendReq) Encode

func (m *MsgResendReq) Encode() []byte

func (*MsgResendReq) GetConstructor

func (m *MsgResendReq) GetConstructor() TLConstructor

func (*MsgResendReq) GetData2

func (m *MsgResendReq) GetData2() *MsgResendReq_Data

func (*MsgResendReq) ProtoMessage

func (*MsgResendReq) ProtoMessage()

func (*MsgResendReq) Reset

func (m *MsgResendReq) Reset()

func (*MsgResendReq) String

func (m *MsgResendReq) String() string

func (*MsgResendReq) To_MsgResendReq

func (m *MsgResendReq) To_MsgResendReq() *TLMsgResendReq

msg_resend_req#7d861a08 msg_ids:Vector<long> = MsgResendReq;

type MsgResendReq_Data

type MsgResendReq_Data struct {
	MsgIds []int64 `protobuf:"varint,1,rep,packed,name=msg_ids,json=msgIds" json:"msg_ids,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgResendReq <--

  • TL_msg_resend_req

func (*MsgResendReq_Data) Descriptor

func (*MsgResendReq_Data) Descriptor() ([]byte, []int)

func (*MsgResendReq_Data) GetMsgIds

func (m *MsgResendReq_Data) GetMsgIds() []int64

func (*MsgResendReq_Data) ProtoMessage

func (*MsgResendReq_Data) ProtoMessage()

func (*MsgResendReq_Data) Reset

func (m *MsgResendReq_Data) Reset()

func (*MsgResendReq_Data) String

func (m *MsgResendReq_Data) String() string

type MsgsAck

type MsgsAck struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgsAck_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgsAck) Decode

func (m *MsgsAck) Decode(dbuf *DecodeBuf) error

func (*MsgsAck) Descriptor

func (*MsgsAck) Descriptor() ([]byte, []int)

func (*MsgsAck) Encode

func (m *MsgsAck) Encode() []byte

func (*MsgsAck) GetConstructor

func (m *MsgsAck) GetConstructor() TLConstructor

func (*MsgsAck) GetData2

func (m *MsgsAck) GetData2() *MsgsAck_Data

func (*MsgsAck) ProtoMessage

func (*MsgsAck) ProtoMessage()

func (*MsgsAck) Reset

func (m *MsgsAck) Reset()

func (*MsgsAck) String

func (m *MsgsAck) String() string

func (*MsgsAck) To_MsgsAck

func (m *MsgsAck) To_MsgsAck() *TLMsgsAck

msgs_ack#62d6b459 msg_ids:Vector<long> = MsgsAck;

type MsgsAck_Data

type MsgsAck_Data struct {
	MsgIds []int64 `protobuf:"varint,1,rep,packed,name=msg_ids,json=msgIds" json:"msg_ids,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgsAck <--

  • TL_msgs_ack

func (*MsgsAck_Data) Descriptor

func (*MsgsAck_Data) Descriptor() ([]byte, []int)

func (*MsgsAck_Data) GetMsgIds

func (m *MsgsAck_Data) GetMsgIds() []int64

func (*MsgsAck_Data) ProtoMessage

func (*MsgsAck_Data) ProtoMessage()

func (*MsgsAck_Data) Reset

func (m *MsgsAck_Data) Reset()

func (*MsgsAck_Data) String

func (m *MsgsAck_Data) String() string

type MsgsAllInfo

type MsgsAllInfo struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgsAllInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgsAllInfo) Decode

func (m *MsgsAllInfo) Decode(dbuf *DecodeBuf) error

func (*MsgsAllInfo) Descriptor

func (*MsgsAllInfo) Descriptor() ([]byte, []int)

func (*MsgsAllInfo) Encode

func (m *MsgsAllInfo) Encode() []byte

func (*MsgsAllInfo) GetConstructor

func (m *MsgsAllInfo) GetConstructor() TLConstructor

func (*MsgsAllInfo) GetData2

func (m *MsgsAllInfo) GetData2() *MsgsAllInfo_Data

func (*MsgsAllInfo) ProtoMessage

func (*MsgsAllInfo) ProtoMessage()

func (*MsgsAllInfo) Reset

func (m *MsgsAllInfo) Reset()

func (*MsgsAllInfo) String

func (m *MsgsAllInfo) String() string

func (*MsgsAllInfo) To_MsgsAllInfo

func (m *MsgsAllInfo) To_MsgsAllInfo() *TLMsgsAllInfo

msgs_all_info#8cc0d131 msg_ids:Vector<long> info:string = MsgsAllInfo;

type MsgsAllInfo_Data

type MsgsAllInfo_Data struct {
	MsgIds []int64 `protobuf:"varint,1,rep,packed,name=msg_ids,json=msgIds" json:"msg_ids,omitempty"`
	Info   string  `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgsAllInfo <--

  • TL_msgs_all_info

func (*MsgsAllInfo_Data) Descriptor

func (*MsgsAllInfo_Data) Descriptor() ([]byte, []int)

func (*MsgsAllInfo_Data) GetInfo

func (m *MsgsAllInfo_Data) GetInfo() string

func (*MsgsAllInfo_Data) GetMsgIds

func (m *MsgsAllInfo_Data) GetMsgIds() []int64

func (*MsgsAllInfo_Data) ProtoMessage

func (*MsgsAllInfo_Data) ProtoMessage()

func (*MsgsAllInfo_Data) Reset

func (m *MsgsAllInfo_Data) Reset()

func (*MsgsAllInfo_Data) String

func (m *MsgsAllInfo_Data) String() string

type MsgsStateInfo

type MsgsStateInfo struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgsStateInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgsStateInfo) Decode

func (m *MsgsStateInfo) Decode(dbuf *DecodeBuf) error

func (*MsgsStateInfo) Descriptor

func (*MsgsStateInfo) Descriptor() ([]byte, []int)

func (*MsgsStateInfo) Encode

func (m *MsgsStateInfo) Encode() []byte

func (*MsgsStateInfo) GetConstructor

func (m *MsgsStateInfo) GetConstructor() TLConstructor

func (*MsgsStateInfo) GetData2

func (m *MsgsStateInfo) GetData2() *MsgsStateInfo_Data

func (*MsgsStateInfo) ProtoMessage

func (*MsgsStateInfo) ProtoMessage()

func (*MsgsStateInfo) Reset

func (m *MsgsStateInfo) Reset()

func (*MsgsStateInfo) String

func (m *MsgsStateInfo) String() string

func (*MsgsStateInfo) To_MsgsStateInfo

func (m *MsgsStateInfo) To_MsgsStateInfo() *TLMsgsStateInfo

msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo;

type MsgsStateInfo_Data

type MsgsStateInfo_Data struct {
	ReqMsgId int64  `protobuf:"varint,1,opt,name=req_msg_id,json=reqMsgId" json:"req_msg_id,omitempty"`
	Info     string `protobuf:"bytes,2,opt,name=info" json:"info,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgsStateInfo <--

  • TL_msgs_state_info

func (*MsgsStateInfo_Data) Descriptor

func (*MsgsStateInfo_Data) Descriptor() ([]byte, []int)

func (*MsgsStateInfo_Data) GetInfo

func (m *MsgsStateInfo_Data) GetInfo() string

func (*MsgsStateInfo_Data) GetReqMsgId

func (m *MsgsStateInfo_Data) GetReqMsgId() int64

func (*MsgsStateInfo_Data) ProtoMessage

func (*MsgsStateInfo_Data) ProtoMessage()

func (*MsgsStateInfo_Data) Reset

func (m *MsgsStateInfo_Data) Reset()

func (*MsgsStateInfo_Data) String

func (m *MsgsStateInfo_Data) String() string

type MsgsStateReq

type MsgsStateReq struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *MsgsStateReq_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*MsgsStateReq) Decode

func (m *MsgsStateReq) Decode(dbuf *DecodeBuf) error

func (*MsgsStateReq) Descriptor

func (*MsgsStateReq) Descriptor() ([]byte, []int)

func (*MsgsStateReq) Encode

func (m *MsgsStateReq) Encode() []byte

func (*MsgsStateReq) GetConstructor

func (m *MsgsStateReq) GetConstructor() TLConstructor

func (*MsgsStateReq) GetData2

func (m *MsgsStateReq) GetData2() *MsgsStateReq_Data

func (*MsgsStateReq) ProtoMessage

func (*MsgsStateReq) ProtoMessage()

func (*MsgsStateReq) Reset

func (m *MsgsStateReq) Reset()

func (*MsgsStateReq) String

func (m *MsgsStateReq) String() string

func (*MsgsStateReq) To_MsgsStateReq

func (m *MsgsStateReq) To_MsgsStateReq() *TLMsgsStateReq

msgs_state_req#da69fb52 msg_ids:Vector<long> = MsgsStateReq;

type MsgsStateReq_Data

type MsgsStateReq_Data struct {
	MsgIds []int64 `protobuf:"varint,1,rep,packed,name=msg_ids,json=msgIds" json:"msg_ids,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// MsgsStateReq <--

  • TL_msgs_state_req

func (*MsgsStateReq_Data) Descriptor

func (*MsgsStateReq_Data) Descriptor() ([]byte, []int)

func (*MsgsStateReq_Data) GetMsgIds

func (m *MsgsStateReq_Data) GetMsgIds() []int64

func (*MsgsStateReq_Data) ProtoMessage

func (*MsgsStateReq_Data) ProtoMessage()

func (*MsgsStateReq_Data) Reset

func (m *MsgsStateReq_Data) Reset()

func (*MsgsStateReq_Data) String

func (m *MsgsStateReq_Data) String() string

type NbfsUploadedDocumentMedia

type NbfsUploadedDocumentMedia struct {
	OwnerId int64                         `protobuf:"varint,1,opt,name=ownerId" json:"ownerId,omitempty"`
	Media   *TLInputMediaUploadedDocument `protobuf:"bytes,2,opt,name=media" json:"media,omitempty"`
}

func (*NbfsUploadedDocumentMedia) Descriptor

func (*NbfsUploadedDocumentMedia) Descriptor() ([]byte, []int)

func (*NbfsUploadedDocumentMedia) GetMedia

func (*NbfsUploadedDocumentMedia) GetOwnerId

func (m *NbfsUploadedDocumentMedia) GetOwnerId() int64

func (*NbfsUploadedDocumentMedia) ProtoMessage

func (*NbfsUploadedDocumentMedia) ProtoMessage()

func (*NbfsUploadedDocumentMedia) Reset

func (m *NbfsUploadedDocumentMedia) Reset()

func (*NbfsUploadedDocumentMedia) String

func (m *NbfsUploadedDocumentMedia) String() string

type NbfsUploadedPhotoMedia

type NbfsUploadedPhotoMedia struct {
	OwnerId int64                      `protobuf:"varint,1,opt,name=ownerId" json:"ownerId,omitempty"`
	Media   *TLInputMediaUploadedPhoto `protobuf:"bytes,2,opt,name=media" json:"media,omitempty"`
}

func (*NbfsUploadedPhotoMedia) Descriptor

func (*NbfsUploadedPhotoMedia) Descriptor() ([]byte, []int)

func (*NbfsUploadedPhotoMedia) GetMedia

func (*NbfsUploadedPhotoMedia) GetOwnerId

func (m *NbfsUploadedPhotoMedia) GetOwnerId() int64

func (*NbfsUploadedPhotoMedia) ProtoMessage

func (*NbfsUploadedPhotoMedia) ProtoMessage()

func (*NbfsUploadedPhotoMedia) Reset

func (m *NbfsUploadedPhotoMedia) Reset()

func (*NbfsUploadedPhotoMedia) String

func (m *NbfsUploadedPhotoMedia) String() string

type NearestDc

type NearestDc struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *NearestDc_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*NearestDc) Decode

func (m *NearestDc) Decode(dbuf *DecodeBuf) error

func (*NearestDc) Descriptor

func (*NearestDc) Descriptor() ([]byte, []int)

func (*NearestDc) Encode

func (m *NearestDc) Encode() []byte

func (*NearestDc) GetConstructor

func (m *NearestDc) GetConstructor() TLConstructor

func (*NearestDc) GetData2

func (m *NearestDc) GetData2() *NearestDc_Data

func (*NearestDc) ProtoMessage

func (*NearestDc) ProtoMessage()

func (*NearestDc) Reset

func (m *NearestDc) Reset()

func (*NearestDc) String

func (m *NearestDc) String() string

func (*NearestDc) To_NearestDc

func (m *NearestDc) To_NearestDc() *TLNearestDc

nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;

type NearestDc_Data

type NearestDc_Data struct {
	Country   string `protobuf:"bytes,1,opt,name=country" json:"country,omitempty"`
	ThisDc    int32  `protobuf:"varint,2,opt,name=this_dc,json=thisDc" json:"this_dc,omitempty"`
	NearestDc int32  `protobuf:"varint,3,opt,name=nearest_dc,json=nearestDc" json:"nearest_dc,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// NearestDc <--

  • TL_nearestDc

func (*NearestDc_Data) Descriptor

func (*NearestDc_Data) Descriptor() ([]byte, []int)

func (*NearestDc_Data) GetCountry

func (m *NearestDc_Data) GetCountry() string

func (*NearestDc_Data) GetNearestDc

func (m *NearestDc_Data) GetNearestDc() int32

func (*NearestDc_Data) GetThisDc

func (m *NearestDc_Data) GetThisDc() int32

func (*NearestDc_Data) ProtoMessage

func (*NearestDc_Data) ProtoMessage()

func (*NearestDc_Data) Reset

func (m *NearestDc_Data) Reset()

func (*NearestDc_Data) String

func (m *NearestDc_Data) String() string

type NewSession

type NewSession struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *NewSession_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*NewSession) Decode

func (m *NewSession) Decode(dbuf *DecodeBuf) error

func (*NewSession) Descriptor

func (*NewSession) Descriptor() ([]byte, []int)

func (*NewSession) Encode

func (m *NewSession) Encode() []byte

func (*NewSession) GetConstructor

func (m *NewSession) GetConstructor() TLConstructor

func (*NewSession) GetData2

func (m *NewSession) GetData2() *NewSession_Data

func (*NewSession) ProtoMessage

func (*NewSession) ProtoMessage()

func (*NewSession) Reset

func (m *NewSession) Reset()

func (*NewSession) String

func (m *NewSession) String() string

func (*NewSession) To_NewSessionCreated

func (m *NewSession) To_NewSessionCreated() *TLNewSessionCreated

new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession;

type NewSession_Data

type NewSession_Data struct {
	FirstMsgId int64 `protobuf:"varint,1,opt,name=first_msg_id,json=firstMsgId" json:"first_msg_id,omitempty"`
	UniqueId   int64 `protobuf:"varint,2,opt,name=unique_id,json=uniqueId" json:"unique_id,omitempty"`
	ServerSalt int64 `protobuf:"varint,3,opt,name=server_salt,json=serverSalt" json:"server_salt,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// NewSession <--

  • TL_new_session_created

func (*NewSession_Data) Descriptor

func (*NewSession_Data) Descriptor() ([]byte, []int)

func (*NewSession_Data) GetFirstMsgId

func (m *NewSession_Data) GetFirstMsgId() int64

func (*NewSession_Data) GetServerSalt

func (m *NewSession_Data) GetServerSalt() int64

func (*NewSession_Data) GetUniqueId

func (m *NewSession_Data) GetUniqueId() int64

func (*NewSession_Data) ProtoMessage

func (*NewSession_Data) ProtoMessage()

func (*NewSession_Data) Reset

func (m *NewSession_Data) Reset()

func (*NewSession_Data) String

func (m *NewSession_Data) String() string

type NewUpdatesRequest

type NewUpdatesRequest struct {
	AuthKeyId int64 `protobuf:"varint,1,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	UserId    int32 `protobuf:"varint,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

/////////////////////////////////////////////////////////////////////

func (*NewUpdatesRequest) Descriptor

func (*NewUpdatesRequest) Descriptor() ([]byte, []int)

func (*NewUpdatesRequest) GetAuthKeyId

func (m *NewUpdatesRequest) GetAuthKeyId() int64

func (*NewUpdatesRequest) GetUserId

func (m *NewUpdatesRequest) GetUserId() int32

func (*NewUpdatesRequest) ProtoMessage

func (*NewUpdatesRequest) ProtoMessage()

func (*NewUpdatesRequest) Reset

func (m *NewUpdatesRequest) Reset()

func (*NewUpdatesRequest) String

func (m *NewUpdatesRequest) String() string

type NotifyPeer

type NotifyPeer struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *NotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*NotifyPeer) Decode

func (m *NotifyPeer) Decode(dbuf *DecodeBuf) error

func (*NotifyPeer) Descriptor

func (*NotifyPeer) Descriptor() ([]byte, []int)

func (*NotifyPeer) Encode

func (m *NotifyPeer) Encode() []byte

func (*NotifyPeer) GetConstructor

func (m *NotifyPeer) GetConstructor() TLConstructor

func (*NotifyPeer) GetData2

func (m *NotifyPeer) GetData2() *NotifyPeer_Data

func (*NotifyPeer) ProtoMessage

func (*NotifyPeer) ProtoMessage()

func (*NotifyPeer) Reset

func (m *NotifyPeer) Reset()

func (*NotifyPeer) String

func (m *NotifyPeer) String() string

func (*NotifyPeer) To_NotifyAll

func (m *NotifyPeer) To_NotifyAll() *TLNotifyAll

notifyAll#74d07c60 = NotifyPeer;

func (*NotifyPeer) To_NotifyChats

func (m *NotifyPeer) To_NotifyChats() *TLNotifyChats

notifyChats#c007cec3 = NotifyPeer;

func (*NotifyPeer) To_NotifyPeer

func (m *NotifyPeer) To_NotifyPeer() *TLNotifyPeer

notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;

func (*NotifyPeer) To_NotifyUsers

func (m *NotifyPeer) To_NotifyUsers() *TLNotifyUsers

notifyUsers#b4c83b4c = NotifyPeer;

type NotifyPeer_Data

type NotifyPeer_Data struct {
	Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// NotifyPeer <--

  • TL_notifyPeer
  • TL_notifyUsers
  • TL_notifyChats
  • TL_notifyAll

func (*NotifyPeer_Data) Descriptor

func (*NotifyPeer_Data) Descriptor() ([]byte, []int)

func (*NotifyPeer_Data) GetPeer

func (m *NotifyPeer_Data) GetPeer() *Peer

func (*NotifyPeer_Data) ProtoMessage

func (*NotifyPeer_Data) ProtoMessage()

func (*NotifyPeer_Data) Reset

func (m *NotifyPeer_Data) Reset()

func (*NotifyPeer_Data) String

func (m *NotifyPeer_Data) String() string

type Null

type Null struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Null_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Null) Decode

func (m *Null) Decode(dbuf *DecodeBuf) error

func (*Null) Descriptor

func (*Null) Descriptor() ([]byte, []int)

func (*Null) Encode

func (m *Null) Encode() []byte

func (*Null) GetConstructor

func (m *Null) GetConstructor() TLConstructor

func (*Null) GetData2

func (m *Null) GetData2() *Null_Data

func (*Null) ProtoMessage

func (*Null) ProtoMessage()

func (*Null) Reset

func (m *Null) Reset()

func (*Null) String

func (m *Null) String() string

func (*Null) To_Null

func (m *Null) To_Null() *TLNull

null#56730bcc = Null;

type Null_Data

type Null_Data struct {
}

///////////////////////////////////////////////////////////////////////////// Null <--

  • TL_null

func (*Null_Data) Descriptor

func (*Null_Data) Descriptor() ([]byte, []int)

func (*Null_Data) ProtoMessage

func (*Null_Data) ProtoMessage()

func (*Null_Data) Reset

func (m *Null_Data) Reset()

func (*Null_Data) String

func (m *Null_Data) String() string

type P_QInnerData

type P_QInnerData struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *P_QInnerData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*P_QInnerData) Decode

func (m *P_QInnerData) Decode(dbuf *DecodeBuf) error

func (*P_QInnerData) Descriptor

func (*P_QInnerData) Descriptor() ([]byte, []int)

func (*P_QInnerData) Encode

func (m *P_QInnerData) Encode() []byte

func (*P_QInnerData) GetConstructor

func (m *P_QInnerData) GetConstructor() TLConstructor

func (*P_QInnerData) GetData2

func (m *P_QInnerData) GetData2() *P_QInnerData_Data

func (*P_QInnerData) ProtoMessage

func (*P_QInnerData) ProtoMessage()

func (*P_QInnerData) Reset

func (m *P_QInnerData) Reset()

func (*P_QInnerData) String

func (m *P_QInnerData) String() string

func (*P_QInnerData) To_PQInnerData

func (m *P_QInnerData) To_PQInnerData() *TLPQInnerData

p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data;

type P_QInnerData_Data

type P_QInnerData_Data struct {
	Pq          string `protobuf:"bytes,1,opt,name=pq" json:"pq,omitempty"`
	P           string `protobuf:"bytes,2,opt,name=p" json:"p,omitempty"`
	Q           string `protobuf:"bytes,3,opt,name=q" json:"q,omitempty"`
	Nonce       []byte `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce []byte `protobuf:"bytes,5,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	NewNonce    []byte `protobuf:"bytes,6,opt,name=new_nonce,json=newNonce,proto3" json:"new_nonce,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// P_Q_inner_data <--

  • TL_p_q_inner_data

func (*P_QInnerData_Data) Descriptor

func (*P_QInnerData_Data) Descriptor() ([]byte, []int)

func (*P_QInnerData_Data) GetNewNonce

func (m *P_QInnerData_Data) GetNewNonce() []byte

func (*P_QInnerData_Data) GetNonce

func (m *P_QInnerData_Data) GetNonce() []byte

func (*P_QInnerData_Data) GetP

func (m *P_QInnerData_Data) GetP() string

func (*P_QInnerData_Data) GetPq

func (m *P_QInnerData_Data) GetPq() string

func (*P_QInnerData_Data) GetQ

func (m *P_QInnerData_Data) GetQ() string

func (*P_QInnerData_Data) GetServerNonce

func (m *P_QInnerData_Data) GetServerNonce() []byte

func (*P_QInnerData_Data) ProtoMessage

func (*P_QInnerData_Data) ProtoMessage()

func (*P_QInnerData_Data) Reset

func (m *P_QInnerData_Data) Reset()

func (*P_QInnerData_Data) String

func (m *P_QInnerData_Data) String() string

type Page

type Page struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Page_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Page) Decode

func (m *Page) Decode(dbuf *DecodeBuf) error

func (*Page) Descriptor

func (*Page) Descriptor() ([]byte, []int)

func (*Page) Encode

func (m *Page) Encode() []byte

func (*Page) GetConstructor

func (m *Page) GetConstructor() TLConstructor

func (*Page) GetData2

func (m *Page) GetData2() *Page_Data

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) Reset

func (m *Page) Reset()

func (*Page) String

func (m *Page) String() string

func (*Page) To_PageFull

func (m *Page) To_PageFull() *TLPageFull

pageFull#556ec7aa blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

func (*Page) To_PagePart

func (m *Page) To_PagePart() *TLPagePart

pagePart#8e3f9ebe blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

type PageBlock

type PageBlock struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PageBlock) Decode

func (m *PageBlock) Decode(dbuf *DecodeBuf) error

func (*PageBlock) Descriptor

func (*PageBlock) Descriptor() ([]byte, []int)

func (*PageBlock) Encode

func (m *PageBlock) Encode() []byte

func (*PageBlock) GetConstructor

func (m *PageBlock) GetConstructor() TLConstructor

func (*PageBlock) GetData2

func (m *PageBlock) GetData2() *PageBlock_Data

func (*PageBlock) ProtoMessage

func (*PageBlock) ProtoMessage()

func (*PageBlock) Reset

func (m *PageBlock) Reset()

func (*PageBlock) String

func (m *PageBlock) String() string

func (*PageBlock) To_PageBlockAnchor

func (m *PageBlock) To_PageBlockAnchor() *TLPageBlockAnchor

pageBlockAnchor#ce0d37b0 name:string = PageBlock;

func (*PageBlock) To_PageBlockAudio

func (m *PageBlock) To_PageBlockAudio() *TLPageBlockAudio

pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockAuthorDate

func (m *PageBlock) To_PageBlockAuthorDate() *TLPageBlockAuthorDate

pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;

func (*PageBlock) To_PageBlockBlockquote

func (m *PageBlock) To_PageBlockBlockquote() *TLPageBlockBlockquote

pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockChannel

func (m *PageBlock) To_PageBlockChannel() *TLPageBlockChannel

pageBlockChannel#ef1751b5 channel:Chat = PageBlock;

func (*PageBlock) To_PageBlockCollage

func (m *PageBlock) To_PageBlockCollage() *TLPageBlockCollage

pageBlockCollage#8b31c4f items:Vector<PageBlock> caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockCover

func (m *PageBlock) To_PageBlockCover() *TLPageBlockCover

pageBlockCover#39f23300 cover:PageBlock = PageBlock;

func (*PageBlock) To_PageBlockDivider

func (m *PageBlock) To_PageBlockDivider() *TLPageBlockDivider

pageBlockDivider#db20b188 = PageBlock;

func (*PageBlock) To_PageBlockEmbed

func (m *PageBlock) To_PageBlockEmbed() *TLPageBlockEmbed

pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockEmbedPost

func (m *PageBlock) To_PageBlockEmbedPost() *TLPageBlockEmbedPost

pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockFooter

func (m *PageBlock) To_PageBlockFooter() *TLPageBlockFooter

pageBlockFooter#48870999 text:RichText = PageBlock;

func (*PageBlock) To_PageBlockHeader

func (m *PageBlock) To_PageBlockHeader() *TLPageBlockHeader

pageBlockHeader#bfd064ec text:RichText = PageBlock;

func (*PageBlock) To_PageBlockList

func (m *PageBlock) To_PageBlockList() *TLPageBlockList

pageBlockList#3a58c7f4 ordered:Bool items:Vector<RichText> = PageBlock;

func (*PageBlock) To_PageBlockParagraph

func (m *PageBlock) To_PageBlockParagraph() *TLPageBlockParagraph

pageBlockParagraph#467a0766 text:RichText = PageBlock;

func (*PageBlock) To_PageBlockPhoto

func (m *PageBlock) To_PageBlockPhoto() *TLPageBlockPhoto

pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockPreformatted

func (m *PageBlock) To_PageBlockPreformatted() *TLPageBlockPreformatted

pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock;

func (*PageBlock) To_PageBlockPullquote

func (m *PageBlock) To_PageBlockPullquote() *TLPageBlockPullquote

pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockSlideshow

func (m *PageBlock) To_PageBlockSlideshow() *TLPageBlockSlideshow

pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock;

func (*PageBlock) To_PageBlockSubheader

func (m *PageBlock) To_PageBlockSubheader() *TLPageBlockSubheader

pageBlockSubheader#f12bb6e1 text:RichText = PageBlock;

func (*PageBlock) To_PageBlockSubtitle

func (m *PageBlock) To_PageBlockSubtitle() *TLPageBlockSubtitle

pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;

func (*PageBlock) To_PageBlockTitle

func (m *PageBlock) To_PageBlockTitle() *TLPageBlockTitle

pageBlockTitle#70abc3fd text:RichText = PageBlock;

func (*PageBlock) To_PageBlockUnsupported

func (m *PageBlock) To_PageBlockUnsupported() *TLPageBlockUnsupported

pageBlockUnsupported#13567e8a = PageBlock;

func (*PageBlock) To_PageBlockVideo

func (m *PageBlock) To_PageBlockVideo() *TLPageBlockVideo

pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock;

type PageBlock_Data

type PageBlock_Data struct {
	Text           *RichText    `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
	Author_2       *RichText    `protobuf:"bytes,2,opt,name=author_2,json=author2" json:"author_2,omitempty"`
	PublishedDate  int32        `protobuf:"varint,3,opt,name=published_date,json=publishedDate" json:"published_date,omitempty"`
	Language       string       `protobuf:"bytes,4,opt,name=language" json:"language,omitempty"`
	Name           string       `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	Ordered        *Bool        `protobuf:"bytes,6,opt,name=ordered" json:"ordered,omitempty"`
	Items_7        []*RichText  `protobuf:"bytes,7,rep,name=items_7,json=items7" json:"items_7,omitempty"`
	Caption        *RichText    `protobuf:"bytes,8,opt,name=caption" json:"caption,omitempty"`
	PhotoId        int64        `protobuf:"varint,9,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
	Autoplay       bool         `protobuf:"varint,10,opt,name=autoplay" json:"autoplay,omitempty"`
	Loop           bool         `protobuf:"varint,11,opt,name=loop" json:"loop,omitempty"`
	VideoId        int64        `protobuf:"varint,12,opt,name=video_id,json=videoId" json:"video_id,omitempty"`
	Cover          *PageBlock   `protobuf:"bytes,13,opt,name=cover" json:"cover,omitempty"`
	FullWidth      bool         `protobuf:"varint,14,opt,name=full_width,json=fullWidth" json:"full_width,omitempty"`
	AllowScrolling bool         `protobuf:"varint,15,opt,name=allow_scrolling,json=allowScrolling" json:"allow_scrolling,omitempty"`
	Url            string       `protobuf:"bytes,16,opt,name=url" json:"url,omitempty"`
	Html           string       `protobuf:"bytes,17,opt,name=html" json:"html,omitempty"`
	PosterPhotoId  int64        `protobuf:"varint,18,opt,name=poster_photo_id,json=posterPhotoId" json:"poster_photo_id,omitempty"`
	W              int32        `protobuf:"varint,19,opt,name=w" json:"w,omitempty"`
	H              int32        `protobuf:"varint,20,opt,name=h" json:"h,omitempty"`
	WebpageId      int64        `protobuf:"varint,21,opt,name=webpage_id,json=webpageId" json:"webpage_id,omitempty"`
	AuthorPhotoId  int64        `protobuf:"varint,22,opt,name=author_photo_id,json=authorPhotoId" json:"author_photo_id,omitempty"`
	Author_23      string       `protobuf:"bytes,23,opt,name=author_23,json=author23" json:"author_23,omitempty"`
	Date           int32        `protobuf:"varint,24,opt,name=date" json:"date,omitempty"`
	Blocks         []*PageBlock `protobuf:"bytes,25,rep,name=blocks" json:"blocks,omitempty"`
	Items_26       []*PageBlock `protobuf:"bytes,26,rep,name=items_26,json=items26" json:"items_26,omitempty"`
	Channel        *Chat        `protobuf:"bytes,27,opt,name=channel" json:"channel,omitempty"`
	AudioId        int64        `protobuf:"varint,28,opt,name=audio_id,json=audioId" json:"audio_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PageBlock <--

  • TL_pageBlockUnsupported
  • TL_pageBlockTitle
  • TL_pageBlockSubtitle
  • TL_pageBlockAuthorDate
  • TL_pageBlockHeader
  • TL_pageBlockSubheader
  • TL_pageBlockParagraph
  • TL_pageBlockPreformatted
  • TL_pageBlockFooter
  • TL_pageBlockDivider
  • TL_pageBlockAnchor
  • TL_pageBlockList
  • TL_pageBlockBlockquote
  • TL_pageBlockPullquote
  • TL_pageBlockPhoto
  • TL_pageBlockVideo
  • TL_pageBlockCover
  • TL_pageBlockEmbed
  • TL_pageBlockEmbedPost
  • TL_pageBlockCollage
  • TL_pageBlockSlideshow
  • TL_pageBlockChannel
  • TL_pageBlockAudio

func (*PageBlock_Data) Descriptor

func (*PageBlock_Data) Descriptor() ([]byte, []int)

func (*PageBlock_Data) GetAllowScrolling

func (m *PageBlock_Data) GetAllowScrolling() bool

func (*PageBlock_Data) GetAudioId

func (m *PageBlock_Data) GetAudioId() int64

func (*PageBlock_Data) GetAuthorPhotoId

func (m *PageBlock_Data) GetAuthorPhotoId() int64

func (*PageBlock_Data) GetAuthor_2

func (m *PageBlock_Data) GetAuthor_2() *RichText

func (*PageBlock_Data) GetAuthor_23

func (m *PageBlock_Data) GetAuthor_23() string

func (*PageBlock_Data) GetAutoplay

func (m *PageBlock_Data) GetAutoplay() bool

func (*PageBlock_Data) GetBlocks

func (m *PageBlock_Data) GetBlocks() []*PageBlock

func (*PageBlock_Data) GetCaption

func (m *PageBlock_Data) GetCaption() *RichText

func (*PageBlock_Data) GetChannel

func (m *PageBlock_Data) GetChannel() *Chat

func (*PageBlock_Data) GetCover

func (m *PageBlock_Data) GetCover() *PageBlock

func (*PageBlock_Data) GetDate

func (m *PageBlock_Data) GetDate() int32

func (*PageBlock_Data) GetFullWidth

func (m *PageBlock_Data) GetFullWidth() bool

func (*PageBlock_Data) GetH

func (m *PageBlock_Data) GetH() int32

func (*PageBlock_Data) GetHtml

func (m *PageBlock_Data) GetHtml() string

func (*PageBlock_Data) GetItems_26

func (m *PageBlock_Data) GetItems_26() []*PageBlock

func (*PageBlock_Data) GetItems_7

func (m *PageBlock_Data) GetItems_7() []*RichText

func (*PageBlock_Data) GetLanguage

func (m *PageBlock_Data) GetLanguage() string

func (*PageBlock_Data) GetLoop

func (m *PageBlock_Data) GetLoop() bool

func (*PageBlock_Data) GetName

func (m *PageBlock_Data) GetName() string

func (*PageBlock_Data) GetOrdered

func (m *PageBlock_Data) GetOrdered() *Bool

func (*PageBlock_Data) GetPhotoId

func (m *PageBlock_Data) GetPhotoId() int64

func (*PageBlock_Data) GetPosterPhotoId

func (m *PageBlock_Data) GetPosterPhotoId() int64

func (*PageBlock_Data) GetPublishedDate

func (m *PageBlock_Data) GetPublishedDate() int32

func (*PageBlock_Data) GetText

func (m *PageBlock_Data) GetText() *RichText

func (*PageBlock_Data) GetUrl

func (m *PageBlock_Data) GetUrl() string

func (*PageBlock_Data) GetVideoId

func (m *PageBlock_Data) GetVideoId() int64

func (*PageBlock_Data) GetW

func (m *PageBlock_Data) GetW() int32

func (*PageBlock_Data) GetWebpageId

func (m *PageBlock_Data) GetWebpageId() int64

func (*PageBlock_Data) ProtoMessage

func (*PageBlock_Data) ProtoMessage()

func (*PageBlock_Data) Reset

func (m *PageBlock_Data) Reset()

func (*PageBlock_Data) String

func (m *PageBlock_Data) String() string

type Page_Data

type Page_Data struct {
	Blocks    []*PageBlock `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
	Photos    []*Photo     `protobuf:"bytes,2,rep,name=photos" json:"photos,omitempty"`
	Documents []*Document  `protobuf:"bytes,3,rep,name=documents" json:"documents,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Page <--

  • TL_pagePart
  • TL_pageFull

func (*Page_Data) Descriptor

func (*Page_Data) Descriptor() ([]byte, []int)

func (*Page_Data) GetBlocks

func (m *Page_Data) GetBlocks() []*PageBlock

func (*Page_Data) GetDocuments

func (m *Page_Data) GetDocuments() []*Document

func (*Page_Data) GetPhotos

func (m *Page_Data) GetPhotos() []*Photo

func (*Page_Data) ProtoMessage

func (*Page_Data) ProtoMessage()

func (*Page_Data) Reset

func (m *Page_Data) Reset()

func (*Page_Data) String

func (m *Page_Data) String() string

type PaymentCharge

type PaymentCharge struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PaymentCharge_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PaymentCharge) Decode

func (m *PaymentCharge) Decode(dbuf *DecodeBuf) error

func (*PaymentCharge) Descriptor

func (*PaymentCharge) Descriptor() ([]byte, []int)

func (*PaymentCharge) Encode

func (m *PaymentCharge) Encode() []byte

func (*PaymentCharge) GetConstructor

func (m *PaymentCharge) GetConstructor() TLConstructor

func (*PaymentCharge) GetData2

func (m *PaymentCharge) GetData2() *PaymentCharge_Data

func (*PaymentCharge) ProtoMessage

func (*PaymentCharge) ProtoMessage()

func (*PaymentCharge) Reset

func (m *PaymentCharge) Reset()

func (*PaymentCharge) String

func (m *PaymentCharge) String() string

func (*PaymentCharge) To_PaymentCharge

func (m *PaymentCharge) To_PaymentCharge() *TLPaymentCharge

paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;

type PaymentCharge_Data

type PaymentCharge_Data struct {
	Id               string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	ProviderChargeId string `protobuf:"bytes,2,opt,name=provider_charge_id,json=providerChargeId" json:"provider_charge_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PaymentCharge <--

  • TL_paymentCharge

func (*PaymentCharge_Data) Descriptor

func (*PaymentCharge_Data) Descriptor() ([]byte, []int)

func (*PaymentCharge_Data) GetId

func (m *PaymentCharge_Data) GetId() string

func (*PaymentCharge_Data) GetProviderChargeId

func (m *PaymentCharge_Data) GetProviderChargeId() string

func (*PaymentCharge_Data) ProtoMessage

func (*PaymentCharge_Data) ProtoMessage()

func (*PaymentCharge_Data) Reset

func (m *PaymentCharge_Data) Reset()

func (*PaymentCharge_Data) String

func (m *PaymentCharge_Data) String() string

type PaymentRequestedInfo

type PaymentRequestedInfo struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PaymentRequestedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PaymentRequestedInfo) Decode

func (m *PaymentRequestedInfo) Decode(dbuf *DecodeBuf) error

func (*PaymentRequestedInfo) Descriptor

func (*PaymentRequestedInfo) Descriptor() ([]byte, []int)

func (*PaymentRequestedInfo) Encode

func (m *PaymentRequestedInfo) Encode() []byte

func (*PaymentRequestedInfo) GetConstructor

func (m *PaymentRequestedInfo) GetConstructor() TLConstructor

func (*PaymentRequestedInfo) GetData2

func (*PaymentRequestedInfo) ProtoMessage

func (*PaymentRequestedInfo) ProtoMessage()

func (*PaymentRequestedInfo) Reset

func (m *PaymentRequestedInfo) Reset()

func (*PaymentRequestedInfo) String

func (m *PaymentRequestedInfo) String() string

func (*PaymentRequestedInfo) To_PaymentRequestedInfo

func (m *PaymentRequestedInfo) To_PaymentRequestedInfo() *TLPaymentRequestedInfo

paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;

type PaymentRequestedInfo_Data

type PaymentRequestedInfo_Data struct {
	Name            string       `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Phone           string       `protobuf:"bytes,2,opt,name=phone" json:"phone,omitempty"`
	Email           string       `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"`
	ShippingAddress *PostAddress `protobuf:"bytes,4,opt,name=shipping_address,json=shippingAddress" json:"shipping_address,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PaymentRequestedInfo <--

  • TL_paymentRequestedInfo

func (*PaymentRequestedInfo_Data) Descriptor

func (*PaymentRequestedInfo_Data) Descriptor() ([]byte, []int)

func (*PaymentRequestedInfo_Data) GetEmail

func (m *PaymentRequestedInfo_Data) GetEmail() string

func (*PaymentRequestedInfo_Data) GetName

func (m *PaymentRequestedInfo_Data) GetName() string

func (*PaymentRequestedInfo_Data) GetPhone

func (m *PaymentRequestedInfo_Data) GetPhone() string

func (*PaymentRequestedInfo_Data) GetShippingAddress

func (m *PaymentRequestedInfo_Data) GetShippingAddress() *PostAddress

func (*PaymentRequestedInfo_Data) ProtoMessage

func (*PaymentRequestedInfo_Data) ProtoMessage()

func (*PaymentRequestedInfo_Data) Reset

func (m *PaymentRequestedInfo_Data) Reset()

func (*PaymentRequestedInfo_Data) String

func (m *PaymentRequestedInfo_Data) String() string

type PaymentSavedCredentials

type PaymentSavedCredentials struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PaymentSavedCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PaymentSavedCredentials) Decode

func (m *PaymentSavedCredentials) Decode(dbuf *DecodeBuf) error

func (*PaymentSavedCredentials) Descriptor

func (*PaymentSavedCredentials) Descriptor() ([]byte, []int)

func (*PaymentSavedCredentials) Encode

func (m *PaymentSavedCredentials) Encode() []byte

func (*PaymentSavedCredentials) GetConstructor

func (m *PaymentSavedCredentials) GetConstructor() TLConstructor

func (*PaymentSavedCredentials) GetData2

func (*PaymentSavedCredentials) ProtoMessage

func (*PaymentSavedCredentials) ProtoMessage()

func (*PaymentSavedCredentials) Reset

func (m *PaymentSavedCredentials) Reset()

func (*PaymentSavedCredentials) String

func (m *PaymentSavedCredentials) String() string

func (*PaymentSavedCredentials) To_PaymentSavedCredentialsCard

func (m *PaymentSavedCredentials) To_PaymentSavedCredentialsCard() *TLPaymentSavedCredentialsCard

paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials;

type PaymentSavedCredentials_Data

type PaymentSavedCredentials_Data struct {
	Id    string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PaymentSavedCredentials <--

  • TL_paymentSavedCredentialsCard

func (*PaymentSavedCredentials_Data) Descriptor

func (*PaymentSavedCredentials_Data) Descriptor() ([]byte, []int)

func (*PaymentSavedCredentials_Data) GetId

func (*PaymentSavedCredentials_Data) GetTitle

func (m *PaymentSavedCredentials_Data) GetTitle() string

func (*PaymentSavedCredentials_Data) ProtoMessage

func (*PaymentSavedCredentials_Data) ProtoMessage()

func (*PaymentSavedCredentials_Data) Reset

func (m *PaymentSavedCredentials_Data) Reset()

func (*PaymentSavedCredentials_Data) String

type Payments_PaymentForm

type Payments_PaymentForm struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Payments_PaymentForm_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Payments_PaymentForm) Decode

func (m *Payments_PaymentForm) Decode(dbuf *DecodeBuf) error

func (*Payments_PaymentForm) Descriptor

func (*Payments_PaymentForm) Descriptor() ([]byte, []int)

func (*Payments_PaymentForm) Encode

func (m *Payments_PaymentForm) Encode() []byte

func (*Payments_PaymentForm) GetConstructor

func (m *Payments_PaymentForm) GetConstructor() TLConstructor

func (*Payments_PaymentForm) GetData2

func (*Payments_PaymentForm) ProtoMessage

func (*Payments_PaymentForm) ProtoMessage()

func (*Payments_PaymentForm) Reset

func (m *Payments_PaymentForm) Reset()

func (*Payments_PaymentForm) String

func (m *Payments_PaymentForm) String() string

func (*Payments_PaymentForm) To_PaymentsPaymentForm

func (m *Payments_PaymentForm) To_PaymentsPaymentForm() *TLPaymentsPaymentForm

payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector<User> = payments.PaymentForm;

type Payments_PaymentForm_Data

type Payments_PaymentForm_Data struct {
	CanSaveCredentials bool                     `protobuf:"varint,1,opt,name=can_save_credentials,json=canSaveCredentials" json:"can_save_credentials,omitempty"`
	PasswordMissing    bool                     `protobuf:"varint,2,opt,name=password_missing,json=passwordMissing" json:"password_missing,omitempty"`
	BotId              int32                    `protobuf:"varint,3,opt,name=bot_id,json=botId" json:"bot_id,omitempty"`
	Invoice            *Invoice                 `protobuf:"bytes,4,opt,name=invoice" json:"invoice,omitempty"`
	ProviderId         int32                    `protobuf:"varint,5,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"`
	Url                string                   `protobuf:"bytes,6,opt,name=url" json:"url,omitempty"`
	NativeProvider     string                   `protobuf:"bytes,7,opt,name=native_provider,json=nativeProvider" json:"native_provider,omitempty"`
	NativeParams       *DataJSON                `protobuf:"bytes,8,opt,name=native_params,json=nativeParams" json:"native_params,omitempty"`
	SavedInfo          *PaymentRequestedInfo    `protobuf:"bytes,9,opt,name=saved_info,json=savedInfo" json:"saved_info,omitempty"`
	SavedCredentials   *PaymentSavedCredentials `protobuf:"bytes,10,opt,name=saved_credentials,json=savedCredentials" json:"saved_credentials,omitempty"`
	Users              []*User                  `protobuf:"bytes,11,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments_PaymentForm <--

  • TL_payments_paymentForm

func (*Payments_PaymentForm_Data) Descriptor

func (*Payments_PaymentForm_Data) Descriptor() ([]byte, []int)

func (*Payments_PaymentForm_Data) GetBotId

func (m *Payments_PaymentForm_Data) GetBotId() int32

func (*Payments_PaymentForm_Data) GetCanSaveCredentials

func (m *Payments_PaymentForm_Data) GetCanSaveCredentials() bool

func (*Payments_PaymentForm_Data) GetInvoice

func (m *Payments_PaymentForm_Data) GetInvoice() *Invoice

func (*Payments_PaymentForm_Data) GetNativeParams

func (m *Payments_PaymentForm_Data) GetNativeParams() *DataJSON

func (*Payments_PaymentForm_Data) GetNativeProvider

func (m *Payments_PaymentForm_Data) GetNativeProvider() string

func (*Payments_PaymentForm_Data) GetPasswordMissing

func (m *Payments_PaymentForm_Data) GetPasswordMissing() bool

func (*Payments_PaymentForm_Data) GetProviderId

func (m *Payments_PaymentForm_Data) GetProviderId() int32

func (*Payments_PaymentForm_Data) GetSavedCredentials

func (m *Payments_PaymentForm_Data) GetSavedCredentials() *PaymentSavedCredentials

func (*Payments_PaymentForm_Data) GetSavedInfo

func (*Payments_PaymentForm_Data) GetUrl

func (m *Payments_PaymentForm_Data) GetUrl() string

func (*Payments_PaymentForm_Data) GetUsers

func (m *Payments_PaymentForm_Data) GetUsers() []*User

func (*Payments_PaymentForm_Data) ProtoMessage

func (*Payments_PaymentForm_Data) ProtoMessage()

func (*Payments_PaymentForm_Data) Reset

func (m *Payments_PaymentForm_Data) Reset()

func (*Payments_PaymentForm_Data) String

func (m *Payments_PaymentForm_Data) String() string

type Payments_PaymentReceipt

type Payments_PaymentReceipt struct {
	Constructor TLConstructor                 `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Payments_PaymentReceipt_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Payments_PaymentReceipt) Decode

func (m *Payments_PaymentReceipt) Decode(dbuf *DecodeBuf) error

func (*Payments_PaymentReceipt) Descriptor

func (*Payments_PaymentReceipt) Descriptor() ([]byte, []int)

func (*Payments_PaymentReceipt) Encode

func (m *Payments_PaymentReceipt) Encode() []byte

func (*Payments_PaymentReceipt) GetConstructor

func (m *Payments_PaymentReceipt) GetConstructor() TLConstructor

func (*Payments_PaymentReceipt) GetData2

func (*Payments_PaymentReceipt) ProtoMessage

func (*Payments_PaymentReceipt) ProtoMessage()

func (*Payments_PaymentReceipt) Reset

func (m *Payments_PaymentReceipt) Reset()

func (*Payments_PaymentReceipt) String

func (m *Payments_PaymentReceipt) String() string

func (*Payments_PaymentReceipt) To_PaymentsPaymentReceipt

func (m *Payments_PaymentReceipt) To_PaymentsPaymentReceipt() *TLPaymentsPaymentReceipt

payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;

type Payments_PaymentReceipt_Data

type Payments_PaymentReceipt_Data struct {
	Date             int32                 `protobuf:"varint,1,opt,name=date" json:"date,omitempty"`
	BotId            int32                 `protobuf:"varint,2,opt,name=bot_id,json=botId" json:"bot_id,omitempty"`
	Invoice          *Invoice              `protobuf:"bytes,3,opt,name=invoice" json:"invoice,omitempty"`
	ProviderId       int32                 `protobuf:"varint,4,opt,name=provider_id,json=providerId" json:"provider_id,omitempty"`
	Info             *PaymentRequestedInfo `protobuf:"bytes,5,opt,name=info" json:"info,omitempty"`
	Shipping         *ShippingOption       `protobuf:"bytes,6,opt,name=shipping" json:"shipping,omitempty"`
	Currency         string                `protobuf:"bytes,7,opt,name=currency" json:"currency,omitempty"`
	TotalAmount      int64                 `protobuf:"varint,8,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"`
	CredentialsTitle string                `protobuf:"bytes,9,opt,name=credentials_title,json=credentialsTitle" json:"credentials_title,omitempty"`
	Users            []*User               `protobuf:"bytes,10,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments_PaymentReceipt <--

  • TL_payments_paymentReceipt

func (*Payments_PaymentReceipt_Data) Descriptor

func (*Payments_PaymentReceipt_Data) Descriptor() ([]byte, []int)

func (*Payments_PaymentReceipt_Data) GetBotId

func (m *Payments_PaymentReceipt_Data) GetBotId() int32

func (*Payments_PaymentReceipt_Data) GetCredentialsTitle

func (m *Payments_PaymentReceipt_Data) GetCredentialsTitle() string

func (*Payments_PaymentReceipt_Data) GetCurrency

func (m *Payments_PaymentReceipt_Data) GetCurrency() string

func (*Payments_PaymentReceipt_Data) GetDate

func (m *Payments_PaymentReceipt_Data) GetDate() int32

func (*Payments_PaymentReceipt_Data) GetInfo

func (*Payments_PaymentReceipt_Data) GetInvoice

func (m *Payments_PaymentReceipt_Data) GetInvoice() *Invoice

func (*Payments_PaymentReceipt_Data) GetProviderId

func (m *Payments_PaymentReceipt_Data) GetProviderId() int32

func (*Payments_PaymentReceipt_Data) GetShipping

func (m *Payments_PaymentReceipt_Data) GetShipping() *ShippingOption

func (*Payments_PaymentReceipt_Data) GetTotalAmount

func (m *Payments_PaymentReceipt_Data) GetTotalAmount() int64

func (*Payments_PaymentReceipt_Data) GetUsers

func (m *Payments_PaymentReceipt_Data) GetUsers() []*User

func (*Payments_PaymentReceipt_Data) ProtoMessage

func (*Payments_PaymentReceipt_Data) ProtoMessage()

func (*Payments_PaymentReceipt_Data) Reset

func (m *Payments_PaymentReceipt_Data) Reset()

func (*Payments_PaymentReceipt_Data) String

type Payments_PaymentResult

type Payments_PaymentResult struct {
	Constructor TLConstructor                `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Payments_PaymentResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Payments_PaymentResult) Decode

func (m *Payments_PaymentResult) Decode(dbuf *DecodeBuf) error

func (*Payments_PaymentResult) Descriptor

func (*Payments_PaymentResult) Descriptor() ([]byte, []int)

func (*Payments_PaymentResult) Encode

func (m *Payments_PaymentResult) Encode() []byte

func (*Payments_PaymentResult) GetConstructor

func (m *Payments_PaymentResult) GetConstructor() TLConstructor

func (*Payments_PaymentResult) GetData2

func (*Payments_PaymentResult) ProtoMessage

func (*Payments_PaymentResult) ProtoMessage()

func (*Payments_PaymentResult) Reset

func (m *Payments_PaymentResult) Reset()

func (*Payments_PaymentResult) String

func (m *Payments_PaymentResult) String() string

func (*Payments_PaymentResult) To_PaymentsPaymentResult

func (m *Payments_PaymentResult) To_PaymentsPaymentResult() *TLPaymentsPaymentResult

payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult;

func (*Payments_PaymentResult) To_PaymentsPaymentVerficationNeeded

func (m *Payments_PaymentResult) To_PaymentsPaymentVerficationNeeded() *TLPaymentsPaymentVerficationNeeded

payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult;

type Payments_PaymentResult_Data

type Payments_PaymentResult_Data struct {
	Updates *Updates `protobuf:"bytes,1,opt,name=updates" json:"updates,omitempty"`
	Url     string   `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments_PaymentResult <--

  • TL_payments_paymentResult
  • TL_payments_paymentVerficationNeeded

func (*Payments_PaymentResult_Data) Descriptor

func (*Payments_PaymentResult_Data) Descriptor() ([]byte, []int)

func (*Payments_PaymentResult_Data) GetUpdates

func (m *Payments_PaymentResult_Data) GetUpdates() *Updates

func (*Payments_PaymentResult_Data) GetUrl

func (m *Payments_PaymentResult_Data) GetUrl() string

func (*Payments_PaymentResult_Data) ProtoMessage

func (*Payments_PaymentResult_Data) ProtoMessage()

func (*Payments_PaymentResult_Data) Reset

func (m *Payments_PaymentResult_Data) Reset()

func (*Payments_PaymentResult_Data) String

func (m *Payments_PaymentResult_Data) String() string

type Payments_SavedInfo

type Payments_SavedInfo struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Payments_SavedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Payments_SavedInfo) Decode

func (m *Payments_SavedInfo) Decode(dbuf *DecodeBuf) error

func (*Payments_SavedInfo) Descriptor

func (*Payments_SavedInfo) Descriptor() ([]byte, []int)

func (*Payments_SavedInfo) Encode

func (m *Payments_SavedInfo) Encode() []byte

func (*Payments_SavedInfo) GetConstructor

func (m *Payments_SavedInfo) GetConstructor() TLConstructor

func (*Payments_SavedInfo) GetData2

func (*Payments_SavedInfo) ProtoMessage

func (*Payments_SavedInfo) ProtoMessage()

func (*Payments_SavedInfo) Reset

func (m *Payments_SavedInfo) Reset()

func (*Payments_SavedInfo) String

func (m *Payments_SavedInfo) String() string

func (*Payments_SavedInfo) To_PaymentsSavedInfo

func (m *Payments_SavedInfo) To_PaymentsSavedInfo() *TLPaymentsSavedInfo

payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo;

type Payments_SavedInfo_Data

type Payments_SavedInfo_Data struct {
	HasSavedCredentials bool                  `protobuf:"varint,1,opt,name=has_saved_credentials,json=hasSavedCredentials" json:"has_saved_credentials,omitempty"`
	SavedInfo           *PaymentRequestedInfo `protobuf:"bytes,2,opt,name=saved_info,json=savedInfo" json:"saved_info,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments_SavedInfo <--

  • TL_payments_savedInfo

func (*Payments_SavedInfo_Data) Descriptor

func (*Payments_SavedInfo_Data) Descriptor() ([]byte, []int)

func (*Payments_SavedInfo_Data) GetHasSavedCredentials

func (m *Payments_SavedInfo_Data) GetHasSavedCredentials() bool

func (*Payments_SavedInfo_Data) GetSavedInfo

func (m *Payments_SavedInfo_Data) GetSavedInfo() *PaymentRequestedInfo

func (*Payments_SavedInfo_Data) ProtoMessage

func (*Payments_SavedInfo_Data) ProtoMessage()

func (*Payments_SavedInfo_Data) Reset

func (m *Payments_SavedInfo_Data) Reset()

func (*Payments_SavedInfo_Data) String

func (m *Payments_SavedInfo_Data) String() string

type Payments_ValidatedRequestedInfo

type Payments_ValidatedRequestedInfo struct {
	Constructor TLConstructor                         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Payments_ValidatedRequestedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Payments_ValidatedRequestedInfo) Decode

func (*Payments_ValidatedRequestedInfo) Descriptor

func (*Payments_ValidatedRequestedInfo) Descriptor() ([]byte, []int)

func (*Payments_ValidatedRequestedInfo) Encode

func (m *Payments_ValidatedRequestedInfo) Encode() []byte

func (*Payments_ValidatedRequestedInfo) GetConstructor

func (m *Payments_ValidatedRequestedInfo) GetConstructor() TLConstructor

func (*Payments_ValidatedRequestedInfo) GetData2

func (*Payments_ValidatedRequestedInfo) ProtoMessage

func (*Payments_ValidatedRequestedInfo) ProtoMessage()

func (*Payments_ValidatedRequestedInfo) Reset

func (*Payments_ValidatedRequestedInfo) String

func (*Payments_ValidatedRequestedInfo) To_PaymentsValidatedRequestedInfo

func (m *Payments_ValidatedRequestedInfo) To_PaymentsValidatedRequestedInfo() *TLPaymentsValidatedRequestedInfo

payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = payments.ValidatedRequestedInfo;

type Payments_ValidatedRequestedInfo_Data

type Payments_ValidatedRequestedInfo_Data struct {
	Id              string            `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	ShippingOptions []*ShippingOption `protobuf:"bytes,2,rep,name=shipping_options,json=shippingOptions" json:"shipping_options,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments_ValidatedRequestedInfo <--

  • TL_payments_validatedRequestedInfo

func (*Payments_ValidatedRequestedInfo_Data) Descriptor

func (*Payments_ValidatedRequestedInfo_Data) Descriptor() ([]byte, []int)

func (*Payments_ValidatedRequestedInfo_Data) GetId

func (*Payments_ValidatedRequestedInfo_Data) GetShippingOptions

func (m *Payments_ValidatedRequestedInfo_Data) GetShippingOptions() []*ShippingOption

func (*Payments_ValidatedRequestedInfo_Data) ProtoMessage

func (*Payments_ValidatedRequestedInfo_Data) ProtoMessage()

func (*Payments_ValidatedRequestedInfo_Data) Reset

func (*Payments_ValidatedRequestedInfo_Data) String

type Peer

type Peer struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Peer_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Peer) Decode

func (m *Peer) Decode(dbuf *DecodeBuf) error

func (*Peer) Descriptor

func (*Peer) Descriptor() ([]byte, []int)

func (*Peer) Encode

func (m *Peer) Encode() []byte

func (*Peer) GetConstructor

func (m *Peer) GetConstructor() TLConstructor

func (*Peer) GetData2

func (m *Peer) GetData2() *Peer_Data

func (*Peer) ProtoMessage

func (*Peer) ProtoMessage()

func (*Peer) Reset

func (m *Peer) Reset()

func (*Peer) String

func (m *Peer) String() string

func (*Peer) To_PeerChannel

func (m *Peer) To_PeerChannel() *TLPeerChannel

peerChannel#bddde532 channel_id:int = Peer;

func (*Peer) To_PeerChat

func (m *Peer) To_PeerChat() *TLPeerChat

peerChat#bad0e5bb chat_id:int = Peer;

func (*Peer) To_PeerUser

func (m *Peer) To_PeerUser() *TLPeerUser

peerUser#9db1bc6d user_id:int = Peer;

type PeerNotifyEvents

type PeerNotifyEvents struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PeerNotifyEvents) Decode

func (m *PeerNotifyEvents) Decode(dbuf *DecodeBuf) error

func (*PeerNotifyEvents) Descriptor

func (*PeerNotifyEvents) Descriptor() ([]byte, []int)

func (*PeerNotifyEvents) Encode

func (m *PeerNotifyEvents) Encode() []byte

func (*PeerNotifyEvents) GetConstructor

func (m *PeerNotifyEvents) GetConstructor() TLConstructor

func (*PeerNotifyEvents) GetData2

func (m *PeerNotifyEvents) GetData2() *PeerNotifyEvents_Data

func (*PeerNotifyEvents) ProtoMessage

func (*PeerNotifyEvents) ProtoMessage()

func (*PeerNotifyEvents) Reset

func (m *PeerNotifyEvents) Reset()

func (*PeerNotifyEvents) String

func (m *PeerNotifyEvents) String() string

func (*PeerNotifyEvents) To_PeerNotifyEventsAll

func (m *PeerNotifyEvents) To_PeerNotifyEventsAll() *TLPeerNotifyEventsAll

peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents;

func (*PeerNotifyEvents) To_PeerNotifyEventsEmpty

func (m *PeerNotifyEvents) To_PeerNotifyEventsEmpty() *TLPeerNotifyEventsEmpty

peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents;

type PeerNotifyEvents_Data

type PeerNotifyEvents_Data struct {
}

///////////////////////////////////////////////////////////////////////////// PeerNotifyEvents <--

  • TL_peerNotifyEventsEmpty
  • TL_peerNotifyEventsAll

func (*PeerNotifyEvents_Data) Descriptor

func (*PeerNotifyEvents_Data) Descriptor() ([]byte, []int)

func (*PeerNotifyEvents_Data) ProtoMessage

func (*PeerNotifyEvents_Data) ProtoMessage()

func (*PeerNotifyEvents_Data) Reset

func (m *PeerNotifyEvents_Data) Reset()

func (*PeerNotifyEvents_Data) String

func (m *PeerNotifyEvents_Data) String() string

type PeerNotifySettings

type PeerNotifySettings struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PeerNotifySettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PeerNotifySettings) Decode

func (m *PeerNotifySettings) Decode(dbuf *DecodeBuf) error

func (*PeerNotifySettings) Descriptor

func (*PeerNotifySettings) Descriptor() ([]byte, []int)

func (*PeerNotifySettings) Encode

func (m *PeerNotifySettings) Encode() []byte

func (*PeerNotifySettings) GetConstructor

func (m *PeerNotifySettings) GetConstructor() TLConstructor

func (*PeerNotifySettings) GetData2

func (*PeerNotifySettings) ProtoMessage

func (*PeerNotifySettings) ProtoMessage()

func (*PeerNotifySettings) Reset

func (m *PeerNotifySettings) Reset()

func (*PeerNotifySettings) String

func (m *PeerNotifySettings) String() string

func (*PeerNotifySettings) To_PeerNotifySettings

func (m *PeerNotifySettings) To_PeerNotifySettings() *TLPeerNotifySettings

peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings;

func (*PeerNotifySettings) To_PeerNotifySettingsEmpty

func (m *PeerNotifySettings) To_PeerNotifySettingsEmpty() *TLPeerNotifySettingsEmpty

peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;

type PeerNotifySettings_Data

type PeerNotifySettings_Data struct {
	ShowPreviews bool   `protobuf:"varint,1,opt,name=show_previews,json=showPreviews" json:"show_previews,omitempty"`
	Silent       bool   `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	MuteUntil    int32  `protobuf:"varint,3,opt,name=mute_until,json=muteUntil" json:"mute_until,omitempty"`
	Sound        string `protobuf:"bytes,4,opt,name=sound" json:"sound,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PeerNotifySettings <--

  • TL_peerNotifySettingsEmpty
  • TL_peerNotifySettings

func (*PeerNotifySettings_Data) Descriptor

func (*PeerNotifySettings_Data) Descriptor() ([]byte, []int)

func (*PeerNotifySettings_Data) GetMuteUntil

func (m *PeerNotifySettings_Data) GetMuteUntil() int32

func (*PeerNotifySettings_Data) GetShowPreviews

func (m *PeerNotifySettings_Data) GetShowPreviews() bool

func (*PeerNotifySettings_Data) GetSilent

func (m *PeerNotifySettings_Data) GetSilent() bool

func (*PeerNotifySettings_Data) GetSound

func (m *PeerNotifySettings_Data) GetSound() string

func (*PeerNotifySettings_Data) ProtoMessage

func (*PeerNotifySettings_Data) ProtoMessage()

func (*PeerNotifySettings_Data) Reset

func (m *PeerNotifySettings_Data) Reset()

func (*PeerNotifySettings_Data) String

func (m *PeerNotifySettings_Data) String() string

type PeerSettings

type PeerSettings struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PeerSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PeerSettings) Decode

func (m *PeerSettings) Decode(dbuf *DecodeBuf) error

func (*PeerSettings) Descriptor

func (*PeerSettings) Descriptor() ([]byte, []int)

func (*PeerSettings) Encode

func (m *PeerSettings) Encode() []byte

func (*PeerSettings) GetConstructor

func (m *PeerSettings) GetConstructor() TLConstructor

func (*PeerSettings) GetData2

func (m *PeerSettings) GetData2() *PeerSettings_Data

func (*PeerSettings) ProtoMessage

func (*PeerSettings) ProtoMessage()

func (*PeerSettings) Reset

func (m *PeerSettings) Reset()

func (*PeerSettings) String

func (m *PeerSettings) String() string

func (*PeerSettings) To_PeerSettings

func (m *PeerSettings) To_PeerSettings() *TLPeerSettings

peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings;

type PeerSettings_Data

type PeerSettings_Data struct {
	ReportSpam bool `protobuf:"varint,1,opt,name=report_spam,json=reportSpam" json:"report_spam,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PeerSettings <--

  • TL_peerSettings

func (*PeerSettings_Data) Descriptor

func (*PeerSettings_Data) Descriptor() ([]byte, []int)

func (*PeerSettings_Data) GetReportSpam

func (m *PeerSettings_Data) GetReportSpam() bool

func (*PeerSettings_Data) ProtoMessage

func (*PeerSettings_Data) ProtoMessage()

func (*PeerSettings_Data) Reset

func (m *PeerSettings_Data) Reset()

func (*PeerSettings_Data) String

func (m *PeerSettings_Data) String() string

type Peer_Data

type Peer_Data struct {
	UserId    int32 `protobuf:"varint,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	ChatId    int32 `protobuf:"varint,2,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	ChannelId int32 `protobuf:"varint,3,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Peer <--

  • TL_peerUser
  • TL_peerChat
  • TL_peerChannel

func (*Peer_Data) Descriptor

func (*Peer_Data) Descriptor() ([]byte, []int)

func (*Peer_Data) GetChannelId

func (m *Peer_Data) GetChannelId() int32

func (*Peer_Data) GetChatId

func (m *Peer_Data) GetChatId() int32

func (*Peer_Data) GetUserId

func (m *Peer_Data) GetUserId() int32

func (*Peer_Data) ProtoMessage

func (*Peer_Data) ProtoMessage()

func (*Peer_Data) Reset

func (m *Peer_Data) Reset()

func (*Peer_Data) String

func (m *Peer_Data) String() string

type PhoneCall

type PhoneCall struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PhoneCall) Decode

func (m *PhoneCall) Decode(dbuf *DecodeBuf) error

func (*PhoneCall) Descriptor

func (*PhoneCall) Descriptor() ([]byte, []int)

func (*PhoneCall) Encode

func (m *PhoneCall) Encode() []byte

func (*PhoneCall) GetConstructor

func (m *PhoneCall) GetConstructor() TLConstructor

func (*PhoneCall) GetData2

func (m *PhoneCall) GetData2() *PhoneCall_Data

func (*PhoneCall) ProtoMessage

func (*PhoneCall) ProtoMessage()

func (*PhoneCall) Reset

func (m *PhoneCall) Reset()

func (*PhoneCall) String

func (m *PhoneCall) String() string

func (*PhoneCall) To_PhoneCall

func (m *PhoneCall) To_PhoneCall() *TLPhoneCall

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;

func (*PhoneCall) To_PhoneCallAccepted

func (m *PhoneCall) To_PhoneCallAccepted() *TLPhoneCallAccepted

phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall;

func (*PhoneCall) To_PhoneCallDiscarded

func (m *PhoneCall) To_PhoneCallDiscarded() *TLPhoneCallDiscarded

phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;

func (*PhoneCall) To_PhoneCallEmpty

func (m *PhoneCall) To_PhoneCallEmpty() *TLPhoneCallEmpty

phoneCallEmpty#5366c915 id:long = PhoneCall;

func (*PhoneCall) To_PhoneCallRequested

func (m *PhoneCall) To_PhoneCallRequested() *TLPhoneCallRequested

phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;

func (*PhoneCall) To_PhoneCallWaiting

func (m *PhoneCall) To_PhoneCallWaiting() *TLPhoneCallWaiting

phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;

type PhoneCallDiscardReason

type PhoneCallDiscardReason struct {
	Constructor TLConstructor                `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PhoneCallDiscardReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PhoneCallDiscardReason) Decode

func (m *PhoneCallDiscardReason) Decode(dbuf *DecodeBuf) error

func (*PhoneCallDiscardReason) Descriptor

func (*PhoneCallDiscardReason) Descriptor() ([]byte, []int)

func (*PhoneCallDiscardReason) Encode

func (m *PhoneCallDiscardReason) Encode() []byte

func (*PhoneCallDiscardReason) GetConstructor

func (m *PhoneCallDiscardReason) GetConstructor() TLConstructor

func (*PhoneCallDiscardReason) GetData2

func (*PhoneCallDiscardReason) ProtoMessage

func (*PhoneCallDiscardReason) ProtoMessage()

func (*PhoneCallDiscardReason) Reset

func (m *PhoneCallDiscardReason) Reset()

func (*PhoneCallDiscardReason) String

func (m *PhoneCallDiscardReason) String() string

func (*PhoneCallDiscardReason) To_PhoneCallDiscardReasonBusy

func (m *PhoneCallDiscardReason) To_PhoneCallDiscardReasonBusy() *TLPhoneCallDiscardReasonBusy

phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;

func (*PhoneCallDiscardReason) To_PhoneCallDiscardReasonDisconnect

func (m *PhoneCallDiscardReason) To_PhoneCallDiscardReasonDisconnect() *TLPhoneCallDiscardReasonDisconnect

phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;

func (*PhoneCallDiscardReason) To_PhoneCallDiscardReasonHangup

func (m *PhoneCallDiscardReason) To_PhoneCallDiscardReasonHangup() *TLPhoneCallDiscardReasonHangup

phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;

func (*PhoneCallDiscardReason) To_PhoneCallDiscardReasonMissed

func (m *PhoneCallDiscardReason) To_PhoneCallDiscardReasonMissed() *TLPhoneCallDiscardReasonMissed

phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;

type PhoneCallDiscardReason_Data

type PhoneCallDiscardReason_Data struct {
}

///////////////////////////////////////////////////////////////////////////// PhoneCallDiscardReason <--

  • TL_phoneCallDiscardReasonMissed
  • TL_phoneCallDiscardReasonDisconnect
  • TL_phoneCallDiscardReasonHangup
  • TL_phoneCallDiscardReasonBusy

func (*PhoneCallDiscardReason_Data) Descriptor

func (*PhoneCallDiscardReason_Data) Descriptor() ([]byte, []int)

func (*PhoneCallDiscardReason_Data) ProtoMessage

func (*PhoneCallDiscardReason_Data) ProtoMessage()

func (*PhoneCallDiscardReason_Data) Reset

func (m *PhoneCallDiscardReason_Data) Reset()

func (*PhoneCallDiscardReason_Data) String

func (m *PhoneCallDiscardReason_Data) String() string

type PhoneCallProtocol

type PhoneCallProtocol struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PhoneCallProtocol_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PhoneCallProtocol) Decode

func (m *PhoneCallProtocol) Decode(dbuf *DecodeBuf) error

func (*PhoneCallProtocol) Descriptor

func (*PhoneCallProtocol) Descriptor() ([]byte, []int)

func (*PhoneCallProtocol) Encode

func (m *PhoneCallProtocol) Encode() []byte

func (*PhoneCallProtocol) GetConstructor

func (m *PhoneCallProtocol) GetConstructor() TLConstructor

func (*PhoneCallProtocol) GetData2

func (*PhoneCallProtocol) ProtoMessage

func (*PhoneCallProtocol) ProtoMessage()

func (*PhoneCallProtocol) Reset

func (m *PhoneCallProtocol) Reset()

func (*PhoneCallProtocol) String

func (m *PhoneCallProtocol) String() string

func (*PhoneCallProtocol) To_PhoneCallProtocol

func (m *PhoneCallProtocol) To_PhoneCallProtocol() *TLPhoneCallProtocol

phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol;

type PhoneCallProtocol_Data

type PhoneCallProtocol_Data struct {
	UdpP2P       bool  `protobuf:"varint,1,opt,name=udp_p2p,json=udpP2p" json:"udp_p2p,omitempty"`
	UdpReflector bool  `protobuf:"varint,2,opt,name=udp_reflector,json=udpReflector" json:"udp_reflector,omitempty"`
	MinLayer     int32 `protobuf:"varint,3,opt,name=min_layer,json=minLayer" json:"min_layer,omitempty"`
	MaxLayer     int32 `protobuf:"varint,4,opt,name=max_layer,json=maxLayer" json:"max_layer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PhoneCallProtocol <--

  • TL_phoneCallProtocol

func (*PhoneCallProtocol_Data) Descriptor

func (*PhoneCallProtocol_Data) Descriptor() ([]byte, []int)

func (*PhoneCallProtocol_Data) GetMaxLayer

func (m *PhoneCallProtocol_Data) GetMaxLayer() int32

func (*PhoneCallProtocol_Data) GetMinLayer

func (m *PhoneCallProtocol_Data) GetMinLayer() int32

func (*PhoneCallProtocol_Data) GetUdpP2P

func (m *PhoneCallProtocol_Data) GetUdpP2P() bool

func (*PhoneCallProtocol_Data) GetUdpReflector

func (m *PhoneCallProtocol_Data) GetUdpReflector() bool

func (*PhoneCallProtocol_Data) ProtoMessage

func (*PhoneCallProtocol_Data) ProtoMessage()

func (*PhoneCallProtocol_Data) Reset

func (m *PhoneCallProtocol_Data) Reset()

func (*PhoneCallProtocol_Data) String

func (m *PhoneCallProtocol_Data) String() string

type PhoneCall_Data

type PhoneCall_Data struct {
	Id                     int64                   `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AccessHash             int64                   `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Date                   int32                   `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	AdminId                int32                   `protobuf:"varint,4,opt,name=admin_id,json=adminId" json:"admin_id,omitempty"`
	ParticipantId          int32                   `protobuf:"varint,5,opt,name=participant_id,json=participantId" json:"participant_id,omitempty"`
	Protocol               *PhoneCallProtocol      `protobuf:"bytes,6,opt,name=protocol" json:"protocol,omitempty"`
	ReceiveDate            int32                   `protobuf:"varint,7,opt,name=receive_date,json=receiveDate" json:"receive_date,omitempty"`
	GAHash                 []byte                  `protobuf:"bytes,8,opt,name=g_a_hash,json=gAHash,proto3" json:"g_a_hash,omitempty"`
	GB                     []byte                  `protobuf:"bytes,9,opt,name=g_b,json=gB,proto3" json:"g_b,omitempty"`
	GAOrB                  []byte                  `protobuf:"bytes,10,opt,name=g_a_or_b,json=gAOrB,proto3" json:"g_a_or_b,omitempty"`
	KeyFingerprint         int64                   `protobuf:"varint,11,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
	Connection             *PhoneConnection        `protobuf:"bytes,12,opt,name=connection" json:"connection,omitempty"`
	AlternativeConnections []*PhoneConnection      `protobuf:"bytes,13,rep,name=alternative_connections,json=alternativeConnections" json:"alternative_connections,omitempty"`
	StartDate              int32                   `protobuf:"varint,14,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
	NeedRating             bool                    `protobuf:"varint,15,opt,name=need_rating,json=needRating" json:"need_rating,omitempty"`
	NeedDebug              bool                    `protobuf:"varint,16,opt,name=need_debug,json=needDebug" json:"need_debug,omitempty"`
	Reason                 *PhoneCallDiscardReason `protobuf:"bytes,17,opt,name=reason" json:"reason,omitempty"`
	Duration               int32                   `protobuf:"varint,18,opt,name=duration" json:"duration,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PhoneCall <--

  • TL_phoneCallEmpty
  • TL_phoneCallWaiting
  • TL_phoneCallRequested
  • TL_phoneCallAccepted
  • TL_phoneCall
  • TL_phoneCallDiscarded

func (*PhoneCall_Data) Descriptor

func (*PhoneCall_Data) Descriptor() ([]byte, []int)

func (*PhoneCall_Data) GetAccessHash

func (m *PhoneCall_Data) GetAccessHash() int64

func (*PhoneCall_Data) GetAdminId

func (m *PhoneCall_Data) GetAdminId() int32

func (*PhoneCall_Data) GetAlternativeConnections

func (m *PhoneCall_Data) GetAlternativeConnections() []*PhoneConnection

func (*PhoneCall_Data) GetConnection

func (m *PhoneCall_Data) GetConnection() *PhoneConnection

func (*PhoneCall_Data) GetDate

func (m *PhoneCall_Data) GetDate() int32

func (*PhoneCall_Data) GetDuration

func (m *PhoneCall_Data) GetDuration() int32

func (*PhoneCall_Data) GetGAHash

func (m *PhoneCall_Data) GetGAHash() []byte

func (*PhoneCall_Data) GetGAOrB

func (m *PhoneCall_Data) GetGAOrB() []byte

func (*PhoneCall_Data) GetGB

func (m *PhoneCall_Data) GetGB() []byte

func (*PhoneCall_Data) GetId

func (m *PhoneCall_Data) GetId() int64

func (*PhoneCall_Data) GetKeyFingerprint

func (m *PhoneCall_Data) GetKeyFingerprint() int64

func (*PhoneCall_Data) GetNeedDebug

func (m *PhoneCall_Data) GetNeedDebug() bool

func (*PhoneCall_Data) GetNeedRating

func (m *PhoneCall_Data) GetNeedRating() bool

func (*PhoneCall_Data) GetParticipantId

func (m *PhoneCall_Data) GetParticipantId() int32

func (*PhoneCall_Data) GetProtocol

func (m *PhoneCall_Data) GetProtocol() *PhoneCallProtocol

func (*PhoneCall_Data) GetReason

func (m *PhoneCall_Data) GetReason() *PhoneCallDiscardReason

func (*PhoneCall_Data) GetReceiveDate

func (m *PhoneCall_Data) GetReceiveDate() int32

func (*PhoneCall_Data) GetStartDate

func (m *PhoneCall_Data) GetStartDate() int32

func (*PhoneCall_Data) ProtoMessage

func (*PhoneCall_Data) ProtoMessage()

func (*PhoneCall_Data) Reset

func (m *PhoneCall_Data) Reset()

func (*PhoneCall_Data) String

func (m *PhoneCall_Data) String() string

type PhoneConnection

type PhoneConnection struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PhoneConnection_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PhoneConnection) Decode

func (m *PhoneConnection) Decode(dbuf *DecodeBuf) error

func (*PhoneConnection) Descriptor

func (*PhoneConnection) Descriptor() ([]byte, []int)

func (*PhoneConnection) Encode

func (m *PhoneConnection) Encode() []byte

func (*PhoneConnection) GetConstructor

func (m *PhoneConnection) GetConstructor() TLConstructor

func (*PhoneConnection) GetData2

func (m *PhoneConnection) GetData2() *PhoneConnection_Data

func (*PhoneConnection) ProtoMessage

func (*PhoneConnection) ProtoMessage()

func (*PhoneConnection) Reset

func (m *PhoneConnection) Reset()

func (*PhoneConnection) String

func (m *PhoneConnection) String() string

func (*PhoneConnection) To_PhoneConnection

func (m *PhoneConnection) To_PhoneConnection() *TLPhoneConnection

phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;

type PhoneConnection_Data

type PhoneConnection_Data struct {
	Id      int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Ip      string `protobuf:"bytes,2,opt,name=ip" json:"ip,omitempty"`
	Ipv6    string `protobuf:"bytes,3,opt,name=ipv6" json:"ipv6,omitempty"`
	Port    int32  `protobuf:"varint,4,opt,name=port" json:"port,omitempty"`
	PeerTag []byte `protobuf:"bytes,5,opt,name=peer_tag,json=peerTag,proto3" json:"peer_tag,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PhoneConnection <--

  • TL_phoneConnection

func (*PhoneConnection_Data) Descriptor

func (*PhoneConnection_Data) Descriptor() ([]byte, []int)

func (*PhoneConnection_Data) GetId

func (m *PhoneConnection_Data) GetId() int64

func (*PhoneConnection_Data) GetIp

func (m *PhoneConnection_Data) GetIp() string

func (*PhoneConnection_Data) GetIpv6

func (m *PhoneConnection_Data) GetIpv6() string

func (*PhoneConnection_Data) GetPeerTag

func (m *PhoneConnection_Data) GetPeerTag() []byte

func (*PhoneConnection_Data) GetPort

func (m *PhoneConnection_Data) GetPort() int32

func (*PhoneConnection_Data) ProtoMessage

func (*PhoneConnection_Data) ProtoMessage()

func (*PhoneConnection_Data) Reset

func (m *PhoneConnection_Data) Reset()

func (*PhoneConnection_Data) String

func (m *PhoneConnection_Data) String() string

type Phone_PhoneCall

type Phone_PhoneCall struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Phone_PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Phone_PhoneCall) Decode

func (m *Phone_PhoneCall) Decode(dbuf *DecodeBuf) error

func (*Phone_PhoneCall) Descriptor

func (*Phone_PhoneCall) Descriptor() ([]byte, []int)

func (*Phone_PhoneCall) Encode

func (m *Phone_PhoneCall) Encode() []byte

func (*Phone_PhoneCall) GetConstructor

func (m *Phone_PhoneCall) GetConstructor() TLConstructor

func (*Phone_PhoneCall) GetData2

func (m *Phone_PhoneCall) GetData2() *Phone_PhoneCall_Data

func (*Phone_PhoneCall) ProtoMessage

func (*Phone_PhoneCall) ProtoMessage()

func (*Phone_PhoneCall) Reset

func (m *Phone_PhoneCall) Reset()

func (*Phone_PhoneCall) String

func (m *Phone_PhoneCall) String() string

func (*Phone_PhoneCall) To_PhonePhoneCall

func (m *Phone_PhoneCall) To_PhonePhoneCall() *TLPhonePhoneCall

phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;

type Phone_PhoneCall_Data

type Phone_PhoneCall_Data struct {
	PhoneCall *PhoneCall `protobuf:"bytes,1,opt,name=phone_call,json=phoneCall" json:"phone_call,omitempty"`
	Users     []*User    `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone_PhoneCall <--

  • TL_phone_phoneCall

func (*Phone_PhoneCall_Data) Descriptor

func (*Phone_PhoneCall_Data) Descriptor() ([]byte, []int)

func (*Phone_PhoneCall_Data) GetPhoneCall

func (m *Phone_PhoneCall_Data) GetPhoneCall() *PhoneCall

func (*Phone_PhoneCall_Data) GetUsers

func (m *Phone_PhoneCall_Data) GetUsers() []*User

func (*Phone_PhoneCall_Data) ProtoMessage

func (*Phone_PhoneCall_Data) ProtoMessage()

func (*Phone_PhoneCall_Data) Reset

func (m *Phone_PhoneCall_Data) Reset()

func (*Phone_PhoneCall_Data) String

func (m *Phone_PhoneCall_Data) String() string

type Photo

type Photo struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Photo_Data   `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Photo) Decode

func (m *Photo) Decode(dbuf *DecodeBuf) error

func (*Photo) Descriptor

func (*Photo) Descriptor() ([]byte, []int)

func (*Photo) Encode

func (m *Photo) Encode() []byte

func (*Photo) GetConstructor

func (m *Photo) GetConstructor() TLConstructor

func (*Photo) GetData2

func (m *Photo) GetData2() *Photo_Data

func (*Photo) ProtoMessage

func (*Photo) ProtoMessage()

func (*Photo) Reset

func (m *Photo) Reset()

func (*Photo) String

func (m *Photo) String() string

func (*Photo) To_Photo

func (m *Photo) To_Photo() *TLPhoto

photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;

func (*Photo) To_PhotoEmpty

func (m *Photo) To_PhotoEmpty() *TLPhotoEmpty

photoEmpty#2331b22d id:long = Photo;

type PhotoDataRsp

type PhotoDataRsp struct {
	PhotoId    int64        `protobuf:"varint,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
	AccessHash int64        `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Date       int32        `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	SizeList   []*PhotoSize `protobuf:"bytes,4,rep,name=size_list,json=sizeList" json:"size_list,omitempty"`
}

func (*PhotoDataRsp) Descriptor

func (*PhotoDataRsp) Descriptor() ([]byte, []int)

func (*PhotoDataRsp) GetAccessHash

func (m *PhotoDataRsp) GetAccessHash() int64

func (*PhotoDataRsp) GetDate

func (m *PhotoDataRsp) GetDate() int32

func (*PhotoDataRsp) GetPhotoId

func (m *PhotoDataRsp) GetPhotoId() int64

func (*PhotoDataRsp) GetSizeList

func (m *PhotoDataRsp) GetSizeList() []*PhotoSize

func (*PhotoDataRsp) ProtoMessage

func (*PhotoDataRsp) ProtoMessage()

func (*PhotoDataRsp) Reset

func (m *PhotoDataRsp) Reset()

func (*PhotoDataRsp) String

func (m *PhotoDataRsp) String() string

type PhotoSize

type PhotoSize struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PhotoSize_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PhotoSize) Decode

func (m *PhotoSize) Decode(dbuf *DecodeBuf) error

func (*PhotoSize) Descriptor

func (*PhotoSize) Descriptor() ([]byte, []int)

func (*PhotoSize) Encode

func (m *PhotoSize) Encode() []byte

func (*PhotoSize) GetConstructor

func (m *PhotoSize) GetConstructor() TLConstructor

func (*PhotoSize) GetData2

func (m *PhotoSize) GetData2() *PhotoSize_Data

func (*PhotoSize) ProtoMessage

func (*PhotoSize) ProtoMessage()

func (*PhotoSize) Reset

func (m *PhotoSize) Reset()

func (*PhotoSize) String

func (m *PhotoSize) String() string

func (*PhotoSize) To_PhotoCachedSize

func (m *PhotoSize) To_PhotoCachedSize() *TLPhotoCachedSize

photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize;

func (*PhotoSize) To_PhotoSize

func (m *PhotoSize) To_PhotoSize() *TLPhotoSize

photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize;

func (*PhotoSize) To_PhotoSizeEmpty

func (m *PhotoSize) To_PhotoSizeEmpty() *TLPhotoSizeEmpty

photoSizeEmpty#e17e23c type:string = PhotoSize;

type PhotoSize_Data

type PhotoSize_Data struct {
	Type     string        `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Location *FileLocation `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"`
	W        int32         `protobuf:"varint,3,opt,name=w" json:"w,omitempty"`
	H        int32         `protobuf:"varint,4,opt,name=h" json:"h,omitempty"`
	Size     int32         `protobuf:"varint,5,opt,name=size" json:"size,omitempty"`
	Bytes    []byte        `protobuf:"bytes,6,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PhotoSize <--

  • TL_photoSizeEmpty
  • TL_photoSize
  • TL_photoCachedSize

func (*PhotoSize_Data) Descriptor

func (*PhotoSize_Data) Descriptor() ([]byte, []int)

func (*PhotoSize_Data) GetBytes

func (m *PhotoSize_Data) GetBytes() []byte

func (*PhotoSize_Data) GetH

func (m *PhotoSize_Data) GetH() int32

func (*PhotoSize_Data) GetLocation

func (m *PhotoSize_Data) GetLocation() *FileLocation

func (*PhotoSize_Data) GetSize

func (m *PhotoSize_Data) GetSize() int32

func (*PhotoSize_Data) GetType

func (m *PhotoSize_Data) GetType() string

func (*PhotoSize_Data) GetW

func (m *PhotoSize_Data) GetW() int32

func (*PhotoSize_Data) ProtoMessage

func (*PhotoSize_Data) ProtoMessage()

func (*PhotoSize_Data) Reset

func (m *PhotoSize_Data) Reset()

func (*PhotoSize_Data) String

func (m *PhotoSize_Data) String() string

type Photo_Data

type Photo_Data struct {
	Id          int64        `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	HasStickers bool         `protobuf:"varint,2,opt,name=has_stickers,json=hasStickers" json:"has_stickers,omitempty"`
	AccessHash  int64        `protobuf:"varint,3,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Date        int32        `protobuf:"varint,4,opt,name=date" json:"date,omitempty"`
	Sizes       []*PhotoSize `protobuf:"bytes,5,rep,name=sizes" json:"sizes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Photo <--

  • TL_photoEmpty
  • TL_photo

func (*Photo_Data) Descriptor

func (*Photo_Data) Descriptor() ([]byte, []int)

func (*Photo_Data) GetAccessHash

func (m *Photo_Data) GetAccessHash() int64

func (*Photo_Data) GetDate

func (m *Photo_Data) GetDate() int32

func (*Photo_Data) GetHasStickers

func (m *Photo_Data) GetHasStickers() bool

func (*Photo_Data) GetId

func (m *Photo_Data) GetId() int64

func (*Photo_Data) GetSizes

func (m *Photo_Data) GetSizes() []*PhotoSize

func (*Photo_Data) ProtoMessage

func (*Photo_Data) ProtoMessage()

func (*Photo_Data) Reset

func (m *Photo_Data) Reset()

func (*Photo_Data) String

func (m *Photo_Data) String() string

type Photos_Photo

type Photos_Photo struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Photos_Photo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Photos_Photo) Decode

func (m *Photos_Photo) Decode(dbuf *DecodeBuf) error

func (*Photos_Photo) Descriptor

func (*Photos_Photo) Descriptor() ([]byte, []int)

func (*Photos_Photo) Encode

func (m *Photos_Photo) Encode() []byte

func (*Photos_Photo) GetConstructor

func (m *Photos_Photo) GetConstructor() TLConstructor

func (*Photos_Photo) GetData2

func (m *Photos_Photo) GetData2() *Photos_Photo_Data

func (*Photos_Photo) ProtoMessage

func (*Photos_Photo) ProtoMessage()

func (*Photos_Photo) Reset

func (m *Photos_Photo) Reset()

func (*Photos_Photo) String

func (m *Photos_Photo) String() string

func (*Photos_Photo) To_PhotosPhoto

func (m *Photos_Photo) To_PhotosPhoto() *TLPhotosPhoto

photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;

type Photos_Photo_Data

type Photos_Photo_Data struct {
	Photo *Photo  `protobuf:"bytes,1,opt,name=photo" json:"photo,omitempty"`
	Users []*User `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos_Photo <--

  • TL_photos_photo

func (*Photos_Photo_Data) Descriptor

func (*Photos_Photo_Data) Descriptor() ([]byte, []int)

func (*Photos_Photo_Data) GetPhoto

func (m *Photos_Photo_Data) GetPhoto() *Photo

func (*Photos_Photo_Data) GetUsers

func (m *Photos_Photo_Data) GetUsers() []*User

func (*Photos_Photo_Data) ProtoMessage

func (*Photos_Photo_Data) ProtoMessage()

func (*Photos_Photo_Data) Reset

func (m *Photos_Photo_Data) Reset()

func (*Photos_Photo_Data) String

func (m *Photos_Photo_Data) String() string

type Photos_Photos

type Photos_Photos struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Photos_Photos_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Photos_Photos) Decode

func (m *Photos_Photos) Decode(dbuf *DecodeBuf) error

func (*Photos_Photos) Descriptor

func (*Photos_Photos) Descriptor() ([]byte, []int)

func (*Photos_Photos) Encode

func (m *Photos_Photos) Encode() []byte

func (*Photos_Photos) GetConstructor

func (m *Photos_Photos) GetConstructor() TLConstructor

func (*Photos_Photos) GetData2

func (m *Photos_Photos) GetData2() *Photos_Photos_Data

func (*Photos_Photos) ProtoMessage

func (*Photos_Photos) ProtoMessage()

func (*Photos_Photos) Reset

func (m *Photos_Photos) Reset()

func (*Photos_Photos) String

func (m *Photos_Photos) String() string

func (*Photos_Photos) To_PhotosPhotos

func (m *Photos_Photos) To_PhotosPhotos() *TLPhotosPhotos

photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;

func (*Photos_Photos) To_PhotosPhotosSlice

func (m *Photos_Photos) To_PhotosPhotosSlice() *TLPhotosPhotosSlice

photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;

type Photos_Photos_Data

type Photos_Photos_Data struct {
	Photos []*Photo `protobuf:"bytes,1,rep,name=photos" json:"photos,omitempty"`
	Users  []*User  `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
	Count  int32    `protobuf:"varint,3,opt,name=count" json:"count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos_Photos <--

  • TL_photos_photos
  • TL_photos_photosSlice

func (*Photos_Photos_Data) Descriptor

func (*Photos_Photos_Data) Descriptor() ([]byte, []int)

func (*Photos_Photos_Data) GetCount

func (m *Photos_Photos_Data) GetCount() int32

func (*Photos_Photos_Data) GetPhotos

func (m *Photos_Photos_Data) GetPhotos() []*Photo

func (*Photos_Photos_Data) GetUsers

func (m *Photos_Photos_Data) GetUsers() []*User

func (*Photos_Photos_Data) ProtoMessage

func (*Photos_Photos_Data) ProtoMessage()

func (*Photos_Photos_Data) Reset

func (m *Photos_Photos_Data) Reset()

func (*Photos_Photos_Data) String

func (m *Photos_Photos_Data) String() string

type Pong

type Pong struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Pong_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Pong) Decode

func (m *Pong) Decode(dbuf *DecodeBuf) error

func (*Pong) Descriptor

func (*Pong) Descriptor() ([]byte, []int)

func (*Pong) Encode

func (m *Pong) Encode() []byte

func (*Pong) GetConstructor

func (m *Pong) GetConstructor() TLConstructor

func (*Pong) GetData2

func (m *Pong) GetData2() *Pong_Data

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) Reset

func (m *Pong) Reset()

func (*Pong) String

func (m *Pong) String() string

func (*Pong) To_Pong

func (m *Pong) To_Pong() *TLPong

pong#347773c5 msg_id:long ping_id:long = Pong;

type Pong_Data

type Pong_Data struct {
	MsgId  int64 `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	PingId int64 `protobuf:"varint,2,opt,name=ping_id,json=pingId" json:"ping_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Pong <--

  • TL_pong

func (*Pong_Data) Descriptor

func (*Pong_Data) Descriptor() ([]byte, []int)

func (*Pong_Data) GetMsgId

func (m *Pong_Data) GetMsgId() int64

func (*Pong_Data) GetPingId

func (m *Pong_Data) GetPingId() int64

func (*Pong_Data) ProtoMessage

func (*Pong_Data) ProtoMessage()

func (*Pong_Data) Reset

func (m *Pong_Data) Reset()

func (*Pong_Data) String

func (m *Pong_Data) String() string

type PopularContact

type PopularContact struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PopularContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PopularContact) Decode

func (m *PopularContact) Decode(dbuf *DecodeBuf) error

func (*PopularContact) Descriptor

func (*PopularContact) Descriptor() ([]byte, []int)

func (*PopularContact) Encode

func (m *PopularContact) Encode() []byte

func (*PopularContact) GetConstructor

func (m *PopularContact) GetConstructor() TLConstructor

func (*PopularContact) GetData2

func (m *PopularContact) GetData2() *PopularContact_Data

func (*PopularContact) ProtoMessage

func (*PopularContact) ProtoMessage()

func (*PopularContact) Reset

func (m *PopularContact) Reset()

func (*PopularContact) String

func (m *PopularContact) String() string

func (*PopularContact) To_PopularContact

func (m *PopularContact) To_PopularContact() *TLPopularContact

popularContact#5ce14175 client_id:long importers:int = PopularContact;

type PopularContact_Data

type PopularContact_Data struct {
	ClientId  int64 `protobuf:"varint,1,opt,name=client_id,json=clientId" json:"client_id,omitempty"`
	Importers int32 `protobuf:"varint,2,opt,name=importers" json:"importers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PopularContact <--

  • TL_popularContact

func (*PopularContact_Data) Descriptor

func (*PopularContact_Data) Descriptor() ([]byte, []int)

func (*PopularContact_Data) GetClientId

func (m *PopularContact_Data) GetClientId() int64

func (*PopularContact_Data) GetImporters

func (m *PopularContact_Data) GetImporters() int32

func (*PopularContact_Data) ProtoMessage

func (*PopularContact_Data) ProtoMessage()

func (*PopularContact_Data) Reset

func (m *PopularContact_Data) Reset()

func (*PopularContact_Data) String

func (m *PopularContact_Data) String() string

type PostAddress

type PostAddress struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PostAddress_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PostAddress) Decode

func (m *PostAddress) Decode(dbuf *DecodeBuf) error

func (*PostAddress) Descriptor

func (*PostAddress) Descriptor() ([]byte, []int)

func (*PostAddress) Encode

func (m *PostAddress) Encode() []byte

func (*PostAddress) GetConstructor

func (m *PostAddress) GetConstructor() TLConstructor

func (*PostAddress) GetData2

func (m *PostAddress) GetData2() *PostAddress_Data

func (*PostAddress) ProtoMessage

func (*PostAddress) ProtoMessage()

func (*PostAddress) Reset

func (m *PostAddress) Reset()

func (*PostAddress) String

func (m *PostAddress) String() string

func (*PostAddress) To_PostAddress

func (m *PostAddress) To_PostAddress() *TLPostAddress

postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;

type PostAddress_Data

type PostAddress_Data struct {
	StreetLine1 string `protobuf:"bytes,1,opt,name=street_line1,json=streetLine1" json:"street_line1,omitempty"`
	StreetLine2 string `protobuf:"bytes,2,opt,name=street_line2,json=streetLine2" json:"street_line2,omitempty"`
	City        string `protobuf:"bytes,3,opt,name=city" json:"city,omitempty"`
	State       string `protobuf:"bytes,4,opt,name=state" json:"state,omitempty"`
	CountryIso2 string `protobuf:"bytes,5,opt,name=country_iso2,json=countryIso2" json:"country_iso2,omitempty"`
	PostCode    string `protobuf:"bytes,6,opt,name=post_code,json=postCode" json:"post_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PostAddress <--

  • TL_postAddress

func (*PostAddress_Data) Descriptor

func (*PostAddress_Data) Descriptor() ([]byte, []int)

func (*PostAddress_Data) GetCity

func (m *PostAddress_Data) GetCity() string

func (*PostAddress_Data) GetCountryIso2

func (m *PostAddress_Data) GetCountryIso2() string

func (*PostAddress_Data) GetPostCode

func (m *PostAddress_Data) GetPostCode() string

func (*PostAddress_Data) GetState

func (m *PostAddress_Data) GetState() string

func (*PostAddress_Data) GetStreetLine1

func (m *PostAddress_Data) GetStreetLine1() string

func (*PostAddress_Data) GetStreetLine2

func (m *PostAddress_Data) GetStreetLine2() string

func (*PostAddress_Data) ProtoMessage

func (*PostAddress_Data) ProtoMessage()

func (*PostAddress_Data) Reset

func (m *PostAddress_Data) Reset()

func (*PostAddress_Data) String

func (m *PostAddress_Data) String() string

type PrivacyKey

type PrivacyKey struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PrivacyKey) Decode

func (m *PrivacyKey) Decode(dbuf *DecodeBuf) error

func (*PrivacyKey) Descriptor

func (*PrivacyKey) Descriptor() ([]byte, []int)

func (*PrivacyKey) Encode

func (m *PrivacyKey) Encode() []byte

func (*PrivacyKey) GetConstructor

func (m *PrivacyKey) GetConstructor() TLConstructor

func (*PrivacyKey) GetData2

func (m *PrivacyKey) GetData2() *PrivacyKey_Data

func (*PrivacyKey) ProtoMessage

func (*PrivacyKey) ProtoMessage()

func (*PrivacyKey) Reset

func (m *PrivacyKey) Reset()

func (*PrivacyKey) String

func (m *PrivacyKey) String() string

func (*PrivacyKey) To_PrivacyKeyChatInvite

func (m *PrivacyKey) To_PrivacyKeyChatInvite() *TLPrivacyKeyChatInvite

privacyKeyChatInvite#500e6dfa = PrivacyKey;

func (*PrivacyKey) To_PrivacyKeyPhoneCall

func (m *PrivacyKey) To_PrivacyKeyPhoneCall() *TLPrivacyKeyPhoneCall

privacyKeyPhoneCall#3d662b7b = PrivacyKey;

func (*PrivacyKey) To_PrivacyKeyStatusTimestamp

func (m *PrivacyKey) To_PrivacyKeyStatusTimestamp() *TLPrivacyKeyStatusTimestamp

privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;

type PrivacyKey_Data

type PrivacyKey_Data struct {
}

///////////////////////////////////////////////////////////////////////////// PrivacyKey <--

  • TL_privacyKeyStatusTimestamp
  • TL_privacyKeyChatInvite
  • TL_privacyKeyPhoneCall

func (*PrivacyKey_Data) Descriptor

func (*PrivacyKey_Data) Descriptor() ([]byte, []int)

func (*PrivacyKey_Data) ProtoMessage

func (*PrivacyKey_Data) ProtoMessage()

func (*PrivacyKey_Data) Reset

func (m *PrivacyKey_Data) Reset()

func (*PrivacyKey_Data) String

func (m *PrivacyKey_Data) String() string

type PrivacyRule

type PrivacyRule struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*PrivacyRule) Decode

func (m *PrivacyRule) Decode(dbuf *DecodeBuf) error

func (*PrivacyRule) Descriptor

func (*PrivacyRule) Descriptor() ([]byte, []int)

func (*PrivacyRule) Encode

func (m *PrivacyRule) Encode() []byte

func (*PrivacyRule) GetConstructor

func (m *PrivacyRule) GetConstructor() TLConstructor

func (*PrivacyRule) GetData2

func (m *PrivacyRule) GetData2() *PrivacyRule_Data

func (*PrivacyRule) ProtoMessage

func (*PrivacyRule) ProtoMessage()

func (*PrivacyRule) Reset

func (m *PrivacyRule) Reset()

func (*PrivacyRule) String

func (m *PrivacyRule) String() string

func (*PrivacyRule) To_PrivacyValueAllowAll

func (m *PrivacyRule) To_PrivacyValueAllowAll() *TLPrivacyValueAllowAll

privacyValueAllowAll#65427b82 = PrivacyRule;

func (*PrivacyRule) To_PrivacyValueAllowContacts

func (m *PrivacyRule) To_PrivacyValueAllowContacts() *TLPrivacyValueAllowContacts

privacyValueAllowContacts#fffe1bac = PrivacyRule;

func (*PrivacyRule) To_PrivacyValueAllowUsers

func (m *PrivacyRule) To_PrivacyValueAllowUsers() *TLPrivacyValueAllowUsers

privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;

func (*PrivacyRule) To_PrivacyValueDisallowAll

func (m *PrivacyRule) To_PrivacyValueDisallowAll() *TLPrivacyValueDisallowAll

privacyValueDisallowAll#8b73e763 = PrivacyRule;

func (*PrivacyRule) To_PrivacyValueDisallowContacts

func (m *PrivacyRule) To_PrivacyValueDisallowContacts() *TLPrivacyValueDisallowContacts

privacyValueDisallowContacts#f888fa1a = PrivacyRule;

func (*PrivacyRule) To_PrivacyValueDisallowUsers

func (m *PrivacyRule) To_PrivacyValueDisallowUsers() *TLPrivacyValueDisallowUsers

privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;

type PrivacyRule_Data

type PrivacyRule_Data struct {
	Users []int32 `protobuf:"varint,1,rep,packed,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// PrivacyRule <--

  • TL_privacyValueAllowContacts
  • TL_privacyValueAllowAll
  • TL_privacyValueAllowUsers
  • TL_privacyValueDisallowContacts
  • TL_privacyValueDisallowAll
  • TL_privacyValueDisallowUsers

func (*PrivacyRule_Data) Descriptor

func (*PrivacyRule_Data) Descriptor() ([]byte, []int)

func (*PrivacyRule_Data) GetUsers

func (m *PrivacyRule_Data) GetUsers() []int32

func (*PrivacyRule_Data) ProtoMessage

func (*PrivacyRule_Data) ProtoMessage()

func (*PrivacyRule_Data) Reset

func (m *PrivacyRule_Data) Reset()

func (*PrivacyRule_Data) String

func (m *PrivacyRule_Data) String() string

type PushUpdatesData

type PushUpdatesData struct {
	AuthKeyId   int64               `protobuf:"varint,1,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	SessionId   int64               `protobuf:"varint,2,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	State       *ClientUpdatesState `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
	UpdatesData []byte              `protobuf:"bytes,5,opt,name=updates_data,json=updatesData,proto3" json:"updates_data,omitempty"`
}

PushUpdatesData --> VoidRsp

func (*PushUpdatesData) Descriptor

func (*PushUpdatesData) Descriptor() ([]byte, []int)

func (*PushUpdatesData) GetAuthKeyId

func (m *PushUpdatesData) GetAuthKeyId() int64

func (*PushUpdatesData) GetSessionId

func (m *PushUpdatesData) GetSessionId() int64

func (*PushUpdatesData) GetState

func (m *PushUpdatesData) GetState() *ClientUpdatesState

func (*PushUpdatesData) GetUpdatesData

func (m *PushUpdatesData) GetUpdatesData() []byte

func (*PushUpdatesData) ProtoMessage

func (*PushUpdatesData) ProtoMessage()

func (*PushUpdatesData) Reset

func (m *PushUpdatesData) Reset()

func (*PushUpdatesData) String

func (m *PushUpdatesData) String() string

type QuickAckMessage

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

func (*QuickAckMessage) MessageType

func (m *QuickAckMessage) MessageType() int

type RPCAccountClient

type RPCAccountClient interface {
	// account.registerDevice#637ea878 token_type:int token:string = Bool;
	AccountRegisterDevice(ctx context.Context, in *TLAccountRegisterDevice, opts ...grpc.CallOption) (*Bool, error)
	// account.registerDevice#1389cc token_type:int token:string app_sandbox:Bool other_uids:Vector<int> = Bool;
	AccountRegisterDeviceLayer74(ctx context.Context, in *TLAccountRegisterDeviceLayer74, opts ...grpc.CallOption) (*Bool, error)
	// account.unregisterDevice#65c55b40 token_type:int token:string = Bool;
	AccountUnregisterDevice(ctx context.Context, in *TLAccountUnregisterDevice, opts ...grpc.CallOption) (*Bool, error)
	// account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector<int> = Bool;
	AccountUnregisterDeviceLayer74(ctx context.Context, in *TLAccountUnregisterDeviceLayer74, opts ...grpc.CallOption) (*Bool, error)
	// account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;
	AccountUpdateNotifySettings(ctx context.Context, in *TLAccountUpdateNotifySettings, opts ...grpc.CallOption) (*Bool, error)
	// account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
	AccountGetNotifySettings(ctx context.Context, in *TLAccountGetNotifySettings, opts ...grpc.CallOption) (*PeerNotifySettings, error)
	// account.resetNotifySettings#db7e1747 = Bool;
	AccountResetNotifySettings(ctx context.Context, in *TLAccountResetNotifySettings, opts ...grpc.CallOption) (*Bool, error)
	// account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User;
	AccountUpdateProfile(ctx context.Context, in *TLAccountUpdateProfile, opts ...grpc.CallOption) (*User, error)
	// account.updateStatus#6628562c offline:Bool = Bool;
	AccountUpdateStatus(ctx context.Context, in *TLAccountUpdateStatus, opts ...grpc.CallOption) (*Bool, error)
	// account.getWallPapers#c04cfac2 = Vector<WallPaper>;
	AccountGetWallPapers(ctx context.Context, in *TLAccountGetWallPapers, opts ...grpc.CallOption) (*Vector_WallPaper, error)
	// account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
	AccountReportPeer(ctx context.Context, in *TLAccountReportPeer, opts ...grpc.CallOption) (*Bool, error)
	// account.checkUsername#2714d86c username:string = Bool;
	AccountCheckUsername(ctx context.Context, in *TLAccountCheckUsername, opts ...grpc.CallOption) (*Bool, error)
	// account.updateUsername#3e0bdd7c username:string = User;
	AccountUpdateUsername(ctx context.Context, in *TLAccountUpdateUsername, opts ...grpc.CallOption) (*User, error)
	// account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;
	AccountGetPrivacy(ctx context.Context, in *TLAccountGetPrivacy, opts ...grpc.CallOption) (*Account_PrivacyRules, error)
	// account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
	AccountSetPrivacy(ctx context.Context, in *TLAccountSetPrivacy, opts ...grpc.CallOption) (*Account_PrivacyRules, error)
	// account.deleteAccount#418d4e0b reason:string = Bool;
	AccountDeleteAccount(ctx context.Context, in *TLAccountDeleteAccount, opts ...grpc.CallOption) (*Bool, error)
	// account.getAccountTTL#8fc711d = AccountDaysTTL;
	AccountGetAccountTTL(ctx context.Context, in *TLAccountGetAccountTTL, opts ...grpc.CallOption) (*AccountDaysTTL, error)
	// account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;
	AccountSetAccountTTL(ctx context.Context, in *TLAccountSetAccountTTL, opts ...grpc.CallOption) (*Bool, error)
	// account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode;
	AccountSendChangePhoneCode(ctx context.Context, in *TLAccountSendChangePhoneCode, opts ...grpc.CallOption) (*Auth_SentCode, error)
	// account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
	AccountChangePhone(ctx context.Context, in *TLAccountChangePhone, opts ...grpc.CallOption) (*User, error)
	// account.updateDeviceLocked#38df3532 period:int = Bool;
	AccountUpdateDeviceLocked(ctx context.Context, in *TLAccountUpdateDeviceLocked, opts ...grpc.CallOption) (*Bool, error)
	// account.getAuthorizations#e320c158 = account.Authorizations;
	AccountGetAuthorizations(ctx context.Context, in *TLAccountGetAuthorizations, opts ...grpc.CallOption) (*Account_Authorizations, error)
	// account.resetAuthorization#df77f3bc hash:long = Bool;
	AccountResetAuthorization(ctx context.Context, in *TLAccountResetAuthorization, opts ...grpc.CallOption) (*Bool, error)
	// account.getPassword#548a30f5 = account.Password;
	AccountGetPassword(ctx context.Context, in *TLAccountGetPassword, opts ...grpc.CallOption) (*Account_Password, error)
	// account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;
	AccountGetPasswordSettings(ctx context.Context, in *TLAccountGetPasswordSettings, opts ...grpc.CallOption) (*Account_PasswordSettings, error)
	// account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
	AccountUpdatePasswordSettings(ctx context.Context, in *TLAccountUpdatePasswordSettings, opts ...grpc.CallOption) (*Bool, error)
	// account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode;
	AccountSendConfirmPhoneCode(ctx context.Context, in *TLAccountSendConfirmPhoneCode, opts ...grpc.CallOption) (*Auth_SentCode, error)
	// account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool;
	AccountConfirmPhone(ctx context.Context, in *TLAccountConfirmPhone, opts ...grpc.CallOption) (*Bool, error)
	// account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword;
	AccountGetTmpPassword(ctx context.Context, in *TLAccountGetTmpPassword, opts ...grpc.CallOption) (*Account_TmpPassword, error)
}

func NewRPCAccountClient

func NewRPCAccountClient(cc *grpc.ClientConn) RPCAccountClient

type RPCAccountServer

type RPCAccountServer interface {
	// account.registerDevice#637ea878 token_type:int token:string = Bool;
	AccountRegisterDevice(context.Context, *TLAccountRegisterDevice) (*Bool, error)
	// account.registerDevice#1389cc token_type:int token:string app_sandbox:Bool other_uids:Vector<int> = Bool;
	AccountRegisterDeviceLayer74(context.Context, *TLAccountRegisterDeviceLayer74) (*Bool, error)
	// account.unregisterDevice#65c55b40 token_type:int token:string = Bool;
	AccountUnregisterDevice(context.Context, *TLAccountUnregisterDevice) (*Bool, error)
	// account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector<int> = Bool;
	AccountUnregisterDeviceLayer74(context.Context, *TLAccountUnregisterDeviceLayer74) (*Bool, error)
	// account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;
	AccountUpdateNotifySettings(context.Context, *TLAccountUpdateNotifySettings) (*Bool, error)
	// account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;
	AccountGetNotifySettings(context.Context, *TLAccountGetNotifySettings) (*PeerNotifySettings, error)
	// account.resetNotifySettings#db7e1747 = Bool;
	AccountResetNotifySettings(context.Context, *TLAccountResetNotifySettings) (*Bool, error)
	// account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User;
	AccountUpdateProfile(context.Context, *TLAccountUpdateProfile) (*User, error)
	// account.updateStatus#6628562c offline:Bool = Bool;
	AccountUpdateStatus(context.Context, *TLAccountUpdateStatus) (*Bool, error)
	// account.getWallPapers#c04cfac2 = Vector<WallPaper>;
	AccountGetWallPapers(context.Context, *TLAccountGetWallPapers) (*Vector_WallPaper, error)
	// account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;
	AccountReportPeer(context.Context, *TLAccountReportPeer) (*Bool, error)
	// account.checkUsername#2714d86c username:string = Bool;
	AccountCheckUsername(context.Context, *TLAccountCheckUsername) (*Bool, error)
	// account.updateUsername#3e0bdd7c username:string = User;
	AccountUpdateUsername(context.Context, *TLAccountUpdateUsername) (*User, error)
	// account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;
	AccountGetPrivacy(context.Context, *TLAccountGetPrivacy) (*Account_PrivacyRules, error)
	// account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;
	AccountSetPrivacy(context.Context, *TLAccountSetPrivacy) (*Account_PrivacyRules, error)
	// account.deleteAccount#418d4e0b reason:string = Bool;
	AccountDeleteAccount(context.Context, *TLAccountDeleteAccount) (*Bool, error)
	// account.getAccountTTL#8fc711d = AccountDaysTTL;
	AccountGetAccountTTL(context.Context, *TLAccountGetAccountTTL) (*AccountDaysTTL, error)
	// account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;
	AccountSetAccountTTL(context.Context, *TLAccountSetAccountTTL) (*Bool, error)
	// account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode;
	AccountSendChangePhoneCode(context.Context, *TLAccountSendChangePhoneCode) (*Auth_SentCode, error)
	// account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;
	AccountChangePhone(context.Context, *TLAccountChangePhone) (*User, error)
	// account.updateDeviceLocked#38df3532 period:int = Bool;
	AccountUpdateDeviceLocked(context.Context, *TLAccountUpdateDeviceLocked) (*Bool, error)
	// account.getAuthorizations#e320c158 = account.Authorizations;
	AccountGetAuthorizations(context.Context, *TLAccountGetAuthorizations) (*Account_Authorizations, error)
	// account.resetAuthorization#df77f3bc hash:long = Bool;
	AccountResetAuthorization(context.Context, *TLAccountResetAuthorization) (*Bool, error)
	// account.getPassword#548a30f5 = account.Password;
	AccountGetPassword(context.Context, *TLAccountGetPassword) (*Account_Password, error)
	// account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;
	AccountGetPasswordSettings(context.Context, *TLAccountGetPasswordSettings) (*Account_PasswordSettings, error)
	// account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;
	AccountUpdatePasswordSettings(context.Context, *TLAccountUpdatePasswordSettings) (*Bool, error)
	// account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode;
	AccountSendConfirmPhoneCode(context.Context, *TLAccountSendConfirmPhoneCode) (*Auth_SentCode, error)
	// account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool;
	AccountConfirmPhone(context.Context, *TLAccountConfirmPhone) (*Bool, error)
	// account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword;
	AccountGetTmpPassword(context.Context, *TLAccountGetTmpPassword) (*Account_TmpPassword, error)
}

type RPCAuthClient

type RPCAuthClient interface {
	// auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;
	AuthCheckPhone(ctx context.Context, in *TLAuthCheckPhone, opts ...grpc.CallOption) (*Auth_CheckedPhone, error)
	// auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode;
	AuthSendCode(ctx context.Context, in *TLAuthSendCode, opts ...grpc.CallOption) (*Auth_SentCode, error)
	// auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;
	AuthSendCodeLayer51(ctx context.Context, in *TLAuthSendCodeLayer51, opts ...grpc.CallOption) (*Auth_SentCode, error)
	// auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
	AuthSignUp(ctx context.Context, in *TLAuthSignUp, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;
	AuthSignIn(ctx context.Context, in *TLAuthSignIn, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.logOut#5717da40 = Bool;
	AuthLogOut(ctx context.Context, in *TLAuthLogOut, opts ...grpc.CallOption) (*Bool, error)
	// auth.resetAuthorizations#9fab0d1a = Bool;
	AuthResetAuthorizations(ctx context.Context, in *TLAuthResetAuthorizations, opts ...grpc.CallOption) (*Bool, error)
	// auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;
	AuthSendInvites(ctx context.Context, in *TLAuthSendInvites, opts ...grpc.CallOption) (*Bool, error)
	// auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
	AuthExportAuthorization(ctx context.Context, in *TLAuthExportAuthorization, opts ...grpc.CallOption) (*Auth_ExportedAuthorization, error)
	// auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;
	AuthImportAuthorization(ctx context.Context, in *TLAuthImportAuthorization, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
	AuthBindTempAuthKey(ctx context.Context, in *TLAuthBindTempAuthKey, opts ...grpc.CallOption) (*Bool, error)
	// auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
	AuthImportBotAuthorization(ctx context.Context, in *TLAuthImportBotAuthorization, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
	AuthCheckPassword(ctx context.Context, in *TLAuthCheckPassword, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
	AuthRequestPasswordRecovery(ctx context.Context, in *TLAuthRequestPasswordRecovery, opts ...grpc.CallOption) (*Auth_PasswordRecovery, error)
	// auth.recoverPassword#4ea56e92 code:string = auth.Authorization;
	AuthRecoverPassword(ctx context.Context, in *TLAuthRecoverPassword, opts ...grpc.CallOption) (*Auth_Authorization, error)
	// auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode;
	AuthResendCode(ctx context.Context, in *TLAuthResendCode, opts ...grpc.CallOption) (*Auth_SentCode, error)
	// auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool;
	AuthCancelCode(ctx context.Context, in *TLAuthCancelCode, opts ...grpc.CallOption) (*Bool, error)
	// auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool;
	AuthDropTempAuthKeys(ctx context.Context, in *TLAuthDropTempAuthKeys, opts ...grpc.CallOption) (*Bool, error)
}

func NewRPCAuthClient

func NewRPCAuthClient(cc *grpc.ClientConn) RPCAuthClient

type RPCAuthKeyClient

type RPCAuthKeyClient interface {
	// req_pq#60469778 nonce:int128 = ResPQ;
	ReqPq(ctx context.Context, in *TLReqPq, opts ...grpc.CallOption) (*ResPQ, error)
	// req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;
	Req_DHParams(ctx context.Context, in *TLReq_DHParams, opts ...grpc.CallOption) (*Server_DH_Params, error)
	// set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;
	SetClient_DHParams(ctx context.Context, in *TLSetClient_DHParams, opts ...grpc.CallOption) (*SetClient_DHParamsAnswer, error)
	// destroy_auth_key#d1435160 = DestroyAuthKeyRes;
	DestroyAuthKey(ctx context.Context, in *TLDestroyAuthKey, opts ...grpc.CallOption) (*DestroyAuthKeyRes, error)
}

func NewRPCAuthKeyClient

func NewRPCAuthKeyClient(cc *grpc.ClientConn) RPCAuthKeyClient

type RPCAuthKeyServer

type RPCAuthKeyServer interface {
	// req_pq#60469778 nonce:int128 = ResPQ;
	ReqPq(context.Context, *TLReqPq) (*ResPQ, error)
	// req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;
	Req_DHParams(context.Context, *TLReq_DHParams) (*Server_DH_Params, error)
	// set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;
	SetClient_DHParams(context.Context, *TLSetClient_DHParams) (*SetClient_DHParamsAnswer, error)
	// destroy_auth_key#d1435160 = DestroyAuthKeyRes;
	DestroyAuthKey(context.Context, *TLDestroyAuthKey) (*DestroyAuthKeyRes, error)
}

type RPCAuthServer

type RPCAuthServer interface {
	// auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;
	AuthCheckPhone(context.Context, *TLAuthCheckPhone) (*Auth_CheckedPhone, error)
	// auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode;
	AuthSendCode(context.Context, *TLAuthSendCode) (*Auth_SentCode, error)
	// auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;
	AuthSendCodeLayer51(context.Context, *TLAuthSendCodeLayer51) (*Auth_SentCode, error)
	// auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;
	AuthSignUp(context.Context, *TLAuthSignUp) (*Auth_Authorization, error)
	// auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;
	AuthSignIn(context.Context, *TLAuthSignIn) (*Auth_Authorization, error)
	// auth.logOut#5717da40 = Bool;
	AuthLogOut(context.Context, *TLAuthLogOut) (*Bool, error)
	// auth.resetAuthorizations#9fab0d1a = Bool;
	AuthResetAuthorizations(context.Context, *TLAuthResetAuthorizations) (*Bool, error)
	// auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;
	AuthSendInvites(context.Context, *TLAuthSendInvites) (*Bool, error)
	// auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;
	AuthExportAuthorization(context.Context, *TLAuthExportAuthorization) (*Auth_ExportedAuthorization, error)
	// auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;
	AuthImportAuthorization(context.Context, *TLAuthImportAuthorization) (*Auth_Authorization, error)
	// auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;
	AuthBindTempAuthKey(context.Context, *TLAuthBindTempAuthKey) (*Bool, error)
	// auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;
	AuthImportBotAuthorization(context.Context, *TLAuthImportBotAuthorization) (*Auth_Authorization, error)
	// auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;
	AuthCheckPassword(context.Context, *TLAuthCheckPassword) (*Auth_Authorization, error)
	// auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;
	AuthRequestPasswordRecovery(context.Context, *TLAuthRequestPasswordRecovery) (*Auth_PasswordRecovery, error)
	// auth.recoverPassword#4ea56e92 code:string = auth.Authorization;
	AuthRecoverPassword(context.Context, *TLAuthRecoverPassword) (*Auth_Authorization, error)
	// auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode;
	AuthResendCode(context.Context, *TLAuthResendCode) (*Auth_SentCode, error)
	// auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool;
	AuthCancelCode(context.Context, *TLAuthCancelCode) (*Bool, error)
	// auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool;
	AuthDropTempAuthKeys(context.Context, *TLAuthDropTempAuthKeys) (*Bool, error)
}

type RPCBotsClient

type RPCBotsClient interface {
	// bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
	BotsSendCustomRequest(ctx context.Context, in *TLBotsSendCustomRequest, opts ...grpc.CallOption) (*DataJSON, error)
	// bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
	BotsAnswerWebhookJSONQuery(ctx context.Context, in *TLBotsAnswerWebhookJSONQuery, opts ...grpc.CallOption) (*Bool, error)
}

func NewRPCBotsClient

func NewRPCBotsClient(cc *grpc.ClientConn) RPCBotsClient

type RPCBotsServer

type RPCBotsServer interface {
	// bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;
	BotsSendCustomRequest(context.Context, *TLBotsSendCustomRequest) (*DataJSON, error)
	// bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;
	BotsAnswerWebhookJSONQuery(context.Context, *TLBotsAnswerWebhookJSONQuery) (*Bool, error)
}

type RPCChannelsClient

type RPCChannelsClient interface {
	// channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
	ChannelsReadHistory(ctx context.Context, in *TLChannelsReadHistory, opts ...grpc.CallOption) (*Bool, error)
	// channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
	ChannelsDeleteMessages(ctx context.Context, in *TLChannelsDeleteMessages, opts ...grpc.CallOption) (*Messages_AffectedMessages, error)
	// channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
	ChannelsDeleteUserHistory(ctx context.Context, in *TLChannelsDeleteUserHistory, opts ...grpc.CallOption) (*Messages_AffectedHistory, error)
	// channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;
	ChannelsReportSpam(ctx context.Context, in *TLChannelsReportSpam, opts ...grpc.CallOption) (*Bool, error)
	// channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;
	ChannelsGetMessages(ctx context.Context, in *TLChannelsGetMessages, opts ...grpc.CallOption) (*Messages_Messages, error)
	// channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants;
	ChannelsGetParticipants(ctx context.Context, in *TLChannelsGetParticipants, opts ...grpc.CallOption) (*Channels_ChannelParticipants, error)
	// channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;
	ChannelsGetParticipant(ctx context.Context, in *TLChannelsGetParticipant, opts ...grpc.CallOption) (*Channels_ChannelParticipant, error)
	// channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
	ChannelsGetChannels(ctx context.Context, in *TLChannelsGetChannels, opts ...grpc.CallOption) (*Messages_Chats, error)
	// channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
	ChannelsGetFullChannel(ctx context.Context, in *TLChannelsGetFullChannel, opts ...grpc.CallOption) (*Messages_ChatFull, error)
	// channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates;
	ChannelsCreateChannel(ctx context.Context, in *TLChannelsCreateChannel, opts ...grpc.CallOption) (*Updates, error)
	// channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
	ChannelsEditAbout(ctx context.Context, in *TLChannelsEditAbout, opts ...grpc.CallOption) (*Bool, error)
	// channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates;
	ChannelsEditAdmin(ctx context.Context, in *TLChannelsEditAdmin, opts ...grpc.CallOption) (*Updates, error)
	// channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
	ChannelsEditTitle(ctx context.Context, in *TLChannelsEditTitle, opts ...grpc.CallOption) (*Updates, error)
	// channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
	ChannelsEditPhoto(ctx context.Context, in *TLChannelsEditPhoto, opts ...grpc.CallOption) (*Updates, error)
	// channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
	ChannelsCheckUsername(ctx context.Context, in *TLChannelsCheckUsername, opts ...grpc.CallOption) (*Bool, error)
	// channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
	ChannelsUpdateUsername(ctx context.Context, in *TLChannelsUpdateUsername, opts ...grpc.CallOption) (*Bool, error)
	// channels.joinChannel#24b524c5 channel:InputChannel = Updates;
	ChannelsJoinChannel(ctx context.Context, in *TLChannelsJoinChannel, opts ...grpc.CallOption) (*Updates, error)
	// channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
	ChannelsLeaveChannel(ctx context.Context, in *TLChannelsLeaveChannel, opts ...grpc.CallOption) (*Updates, error)
	// channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
	ChannelsInviteToChannel(ctx context.Context, in *TLChannelsInviteToChannel, opts ...grpc.CallOption) (*Updates, error)
	// channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
	ChannelsExportInvite(ctx context.Context, in *TLChannelsExportInvite, opts ...grpc.CallOption) (*ExportedChatInvite, error)
	// channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;
	ChannelsDeleteChannel(ctx context.Context, in *TLChannelsDeleteChannel, opts ...grpc.CallOption) (*Updates, error)
	// channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;
	ChannelsToggleInvites(ctx context.Context, in *TLChannelsToggleInvites, opts ...grpc.CallOption) (*Updates, error)
	// channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink;
	ChannelsExportMessageLink(ctx context.Context, in *TLChannelsExportMessageLink, opts ...grpc.CallOption) (*ExportedMessageLink, error)
	// channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink;
	ChannelsExportMessageLinkLayer74(ctx context.Context, in *TLChannelsExportMessageLinkLayer74, opts ...grpc.CallOption) (*ExportedMessageLink, error)
	// channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;
	ChannelsToggleSignatures(ctx context.Context, in *TLChannelsToggleSignatures, opts ...grpc.CallOption) (*Updates, error)
	// channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;
	ChannelsUpdatePinnedMessage(ctx context.Context, in *TLChannelsUpdatePinnedMessage, opts ...grpc.CallOption) (*Updates, error)
	// channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;
	ChannelsGetAdminedPublicChannels(ctx context.Context, in *TLChannelsGetAdminedPublicChannels, opts ...grpc.CallOption) (*Messages_Chats, error)
	// channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates;
	ChannelsEditBanned(ctx context.Context, in *TLChannelsEditBanned, opts ...grpc.CallOption) (*Updates, error)
	// channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
	ChannelsGetAdminLog(ctx context.Context, in *TLChannelsGetAdminLog, opts ...grpc.CallOption) (*Channels_AdminLogResults, error)
	// channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;
	ChannelsSetStickers(ctx context.Context, in *TLChannelsSetStickers, opts ...grpc.CallOption) (*Bool, error)
	// channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool;
	ChannelsReadMessageContents(ctx context.Context, in *TLChannelsReadMessageContents, opts ...grpc.CallOption) (*Bool, error)
	// channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;
	ChannelsDeleteHistory(ctx context.Context, in *TLChannelsDeleteHistory, opts ...grpc.CallOption) (*Bool, error)
	// channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
	ChannelsTogglePreHistoryHidden(ctx context.Context, in *TLChannelsTogglePreHistoryHidden, opts ...grpc.CallOption) (*Updates, error)
}

func NewRPCChannelsClient

func NewRPCChannelsClient(cc *grpc.ClientConn) RPCChannelsClient

type RPCChannelsServer

type RPCChannelsServer interface {
	// channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;
	ChannelsReadHistory(context.Context, *TLChannelsReadHistory) (*Bool, error)
	// channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;
	ChannelsDeleteMessages(context.Context, *TLChannelsDeleteMessages) (*Messages_AffectedMessages, error)
	// channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;
	ChannelsDeleteUserHistory(context.Context, *TLChannelsDeleteUserHistory) (*Messages_AffectedHistory, error)
	// channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;
	ChannelsReportSpam(context.Context, *TLChannelsReportSpam) (*Bool, error)
	// channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;
	ChannelsGetMessages(context.Context, *TLChannelsGetMessages) (*Messages_Messages, error)
	// channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants;
	ChannelsGetParticipants(context.Context, *TLChannelsGetParticipants) (*Channels_ChannelParticipants, error)
	// channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;
	ChannelsGetParticipant(context.Context, *TLChannelsGetParticipant) (*Channels_ChannelParticipant, error)
	// channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
	ChannelsGetChannels(context.Context, *TLChannelsGetChannels) (*Messages_Chats, error)
	// channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;
	ChannelsGetFullChannel(context.Context, *TLChannelsGetFullChannel) (*Messages_ChatFull, error)
	// channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates;
	ChannelsCreateChannel(context.Context, *TLChannelsCreateChannel) (*Updates, error)
	// channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;
	ChannelsEditAbout(context.Context, *TLChannelsEditAbout) (*Bool, error)
	// channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates;
	ChannelsEditAdmin(context.Context, *TLChannelsEditAdmin) (*Updates, error)
	// channels.editTitle#566decd0 channel:InputChannel title:string = Updates;
	ChannelsEditTitle(context.Context, *TLChannelsEditTitle) (*Updates, error)
	// channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;
	ChannelsEditPhoto(context.Context, *TLChannelsEditPhoto) (*Updates, error)
	// channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;
	ChannelsCheckUsername(context.Context, *TLChannelsCheckUsername) (*Bool, error)
	// channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;
	ChannelsUpdateUsername(context.Context, *TLChannelsUpdateUsername) (*Bool, error)
	// channels.joinChannel#24b524c5 channel:InputChannel = Updates;
	ChannelsJoinChannel(context.Context, *TLChannelsJoinChannel) (*Updates, error)
	// channels.leaveChannel#f836aa95 channel:InputChannel = Updates;
	ChannelsLeaveChannel(context.Context, *TLChannelsLeaveChannel) (*Updates, error)
	// channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;
	ChannelsInviteToChannel(context.Context, *TLChannelsInviteToChannel) (*Updates, error)
	// channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;
	ChannelsExportInvite(context.Context, *TLChannelsExportInvite) (*ExportedChatInvite, error)
	// channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;
	ChannelsDeleteChannel(context.Context, *TLChannelsDeleteChannel) (*Updates, error)
	// channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;
	ChannelsToggleInvites(context.Context, *TLChannelsToggleInvites) (*Updates, error)
	// channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink;
	ChannelsExportMessageLink(context.Context, *TLChannelsExportMessageLink) (*ExportedMessageLink, error)
	// channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink;
	ChannelsExportMessageLinkLayer74(context.Context, *TLChannelsExportMessageLinkLayer74) (*ExportedMessageLink, error)
	// channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;
	ChannelsToggleSignatures(context.Context, *TLChannelsToggleSignatures) (*Updates, error)
	// channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;
	ChannelsUpdatePinnedMessage(context.Context, *TLChannelsUpdatePinnedMessage) (*Updates, error)
	// channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;
	ChannelsGetAdminedPublicChannels(context.Context, *TLChannelsGetAdminedPublicChannels) (*Messages_Chats, error)
	// channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates;
	ChannelsEditBanned(context.Context, *TLChannelsEditBanned) (*Updates, error)
	// channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
	ChannelsGetAdminLog(context.Context, *TLChannelsGetAdminLog) (*Channels_AdminLogResults, error)
	// channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;
	ChannelsSetStickers(context.Context, *TLChannelsSetStickers) (*Bool, error)
	// channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool;
	ChannelsReadMessageContents(context.Context, *TLChannelsReadMessageContents) (*Bool, error)
	// channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;
	ChannelsDeleteHistory(context.Context, *TLChannelsDeleteHistory) (*Bool, error)
	// channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;
	ChannelsTogglePreHistoryHidden(context.Context, *TLChannelsTogglePreHistoryHidden) (*Updates, error)
}

type RPCContactsClient

type RPCContactsClient interface {
	// contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
	ContactsGetStatuses(ctx context.Context, in *TLContactsGetStatuses, opts ...grpc.CallOption) (*Vector_ContactStatus, error)
	// contacts.getContacts#c023849f hash:int = contacts.Contacts;
	ContactsGetContacts(ctx context.Context, in *TLContactsGetContacts, opts ...grpc.CallOption) (*Contacts_Contacts, error)
	// contacts.importContacts#2c800be5 contacts:Vector<InputContact> = contacts.ImportedContacts;
	ContactsImportContacts(ctx context.Context, in *TLContactsImportContacts, opts ...grpc.CallOption) (*Contacts_ImportedContacts, error)
	// contacts.deleteContact#8e953744 id:InputUser = contacts.Link;
	ContactsDeleteContact(ctx context.Context, in *TLContactsDeleteContact, opts ...grpc.CallOption) (*Contacts_Link, error)
	// contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool;
	ContactsDeleteContacts(ctx context.Context, in *TLContactsDeleteContacts, opts ...grpc.CallOption) (*Bool, error)
	// contacts.block#332b49fc id:InputUser = Bool;
	ContactsBlock(ctx context.Context, in *TLContactsBlock, opts ...grpc.CallOption) (*Bool, error)
	// contacts.unblock#e54100bd id:InputUser = Bool;
	ContactsUnblock(ctx context.Context, in *TLContactsUnblock, opts ...grpc.CallOption) (*Bool, error)
	// contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
	ContactsGetBlocked(ctx context.Context, in *TLContactsGetBlocked, opts ...grpc.CallOption) (*Contacts_Blocked, error)
	// contacts.exportCard#84e53737 = Vector<int>;
	ContactsExportCard(ctx context.Context, in *TLContactsExportCard, opts ...grpc.CallOption) (*VectorInt, error)
	// contacts.importCard#4fe196fe export_card:Vector<int> = User;
	ContactsImportCard(ctx context.Context, in *TLContactsImportCard, opts ...grpc.CallOption) (*User, error)
	// contacts.search#11f812d8 q:string limit:int = contacts.Found;
	ContactsSearch(ctx context.Context, in *TLContactsSearch, opts ...grpc.CallOption) (*Contacts_Found, error)
	// contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
	ContactsResolveUsername(ctx context.Context, in *TLContactsResolveUsername, opts ...grpc.CallOption) (*Contacts_ResolvedPeer, error)
	// contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers;
	ContactsGetTopPeers(ctx context.Context, in *TLContactsGetTopPeers, opts ...grpc.CallOption) (*Contacts_TopPeers, error)
	// contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;
	ContactsResetTopPeerRating(ctx context.Context, in *TLContactsResetTopPeerRating, opts ...grpc.CallOption) (*Bool, error)
	// contacts.resetSaved#879537f1 = Bool;
	ContactsResetSaved(ctx context.Context, in *TLContactsResetSaved, opts ...grpc.CallOption) (*Bool, error)
}

func NewRPCContactsClient

func NewRPCContactsClient(cc *grpc.ClientConn) RPCContactsClient

type RPCContactsServer

type RPCContactsServer interface {
	// contacts.getStatuses#c4a353ee = Vector<ContactStatus>;
	ContactsGetStatuses(context.Context, *TLContactsGetStatuses) (*Vector_ContactStatus, error)
	// contacts.getContacts#c023849f hash:int = contacts.Contacts;
	ContactsGetContacts(context.Context, *TLContactsGetContacts) (*Contacts_Contacts, error)
	// contacts.importContacts#2c800be5 contacts:Vector<InputContact> = contacts.ImportedContacts;
	ContactsImportContacts(context.Context, *TLContactsImportContacts) (*Contacts_ImportedContacts, error)
	// contacts.deleteContact#8e953744 id:InputUser = contacts.Link;
	ContactsDeleteContact(context.Context, *TLContactsDeleteContact) (*Contacts_Link, error)
	// contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool;
	ContactsDeleteContacts(context.Context, *TLContactsDeleteContacts) (*Bool, error)
	// contacts.block#332b49fc id:InputUser = Bool;
	ContactsBlock(context.Context, *TLContactsBlock) (*Bool, error)
	// contacts.unblock#e54100bd id:InputUser = Bool;
	ContactsUnblock(context.Context, *TLContactsUnblock) (*Bool, error)
	// contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;
	ContactsGetBlocked(context.Context, *TLContactsGetBlocked) (*Contacts_Blocked, error)
	// contacts.exportCard#84e53737 = Vector<int>;
	ContactsExportCard(context.Context, *TLContactsExportCard) (*VectorInt, error)
	// contacts.importCard#4fe196fe export_card:Vector<int> = User;
	ContactsImportCard(context.Context, *TLContactsImportCard) (*User, error)
	// contacts.search#11f812d8 q:string limit:int = contacts.Found;
	ContactsSearch(context.Context, *TLContactsSearch) (*Contacts_Found, error)
	// contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;
	ContactsResolveUsername(context.Context, *TLContactsResolveUsername) (*Contacts_ResolvedPeer, error)
	// contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers;
	ContactsGetTopPeers(context.Context, *TLContactsGetTopPeers) (*Contacts_TopPeers, error)
	// contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;
	ContactsResetTopPeerRating(context.Context, *TLContactsResetTopPeerRating) (*Bool, error)
	// contacts.resetSaved#879537f1 = Bool;
	ContactsResetSaved(context.Context, *TLContactsResetSaved) (*Bool, error)
}

type RPCContextTuple

type RPCContextTuple struct {
	Method       string
	NewReplyFunc newRPCReplyFunc
}

func FindRPCContextTuple

func FindRPCContextTuple(t interface{}) *RPCContextTuple

type RPCHelpClient

type RPCHelpClient interface {
	// help.getConfig#c4f9186b = Config;
	HelpGetConfig(ctx context.Context, in *TLHelpGetConfig, opts ...grpc.CallOption) (*Config, error)
	// help.getNearestDc#1fb33026 = NearestDc;
	HelpGetNearestDc(ctx context.Context, in *TLHelpGetNearestDc, opts ...grpc.CallOption) (*NearestDc, error)
	// help.getAppUpdate#ae2de196 = help.AppUpdate;
	HelpGetAppUpdate(ctx context.Context, in *TLHelpGetAppUpdate, opts ...grpc.CallOption) (*Help_AppUpdate, error)
	// help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;
	HelpGetAppUpdateLayer46(ctx context.Context, in *TLHelpGetAppUpdateLayer46, opts ...grpc.CallOption) (*Help_AppUpdate, error)
	// help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
	HelpSaveAppLog(ctx context.Context, in *TLHelpSaveAppLog, opts ...grpc.CallOption) (*Bool, error)
	// help.getInviteText#4d392343 = help.InviteText;
	HelpGetInviteText(ctx context.Context, in *TLHelpGetInviteText, opts ...grpc.CallOption) (*Help_InviteText, error)
	// help.getInviteText#a4a95186 lang_code:string = help.InviteText;
	HelpGetInviteTextLayer46(ctx context.Context, in *TLHelpGetInviteTextLayer46, opts ...grpc.CallOption) (*Help_InviteText, error)
	// help.getSupport#9cdf08cd = help.Support;
	HelpGetSupport(ctx context.Context, in *TLHelpGetSupport, opts ...grpc.CallOption) (*Help_Support, error)
	// help.getAppChangelog#9010ef6f prev_app_version:string = Updates;
	HelpGetAppChangelog(ctx context.Context, in *TLHelpGetAppChangelog, opts ...grpc.CallOption) (*Updates, error)
	// help.getTermsOfService#350170f3 = help.TermsOfService;
	HelpGetTermsOfService(ctx context.Context, in *TLHelpGetTermsOfService, opts ...grpc.CallOption) (*Help_TermsOfService, error)
	// help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
	HelpSetBotUpdatesStatus(ctx context.Context, in *TLHelpSetBotUpdatesStatus, opts ...grpc.CallOption) (*Bool, error)
	// help.getCdnConfig#52029342 = CdnConfig;
	HelpGetCdnConfig(ctx context.Context, in *TLHelpGetCdnConfig, opts ...grpc.CallOption) (*CdnConfig, error)
	// help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;
	HelpGetRecentMeUrls(ctx context.Context, in *TLHelpGetRecentMeUrls, opts ...grpc.CallOption) (*Help_RecentMeUrls, error)
	// help.getScheme#dbb69a9e version:int = Scheme;
	HelpGetScheme(ctx context.Context, in *TLHelpGetScheme, opts ...grpc.CallOption) (*Scheme, error)
}

func NewRPCHelpClient

func NewRPCHelpClient(cc *grpc.ClientConn) RPCHelpClient

type RPCHelpServer

type RPCHelpServer interface {
	// help.getConfig#c4f9186b = Config;
	HelpGetConfig(context.Context, *TLHelpGetConfig) (*Config, error)
	// help.getNearestDc#1fb33026 = NearestDc;
	HelpGetNearestDc(context.Context, *TLHelpGetNearestDc) (*NearestDc, error)
	// help.getAppUpdate#ae2de196 = help.AppUpdate;
	HelpGetAppUpdate(context.Context, *TLHelpGetAppUpdate) (*Help_AppUpdate, error)
	// help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;
	HelpGetAppUpdateLayer46(context.Context, *TLHelpGetAppUpdateLayer46) (*Help_AppUpdate, error)
	// help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;
	HelpSaveAppLog(context.Context, *TLHelpSaveAppLog) (*Bool, error)
	// help.getInviteText#4d392343 = help.InviteText;
	HelpGetInviteText(context.Context, *TLHelpGetInviteText) (*Help_InviteText, error)
	// help.getInviteText#a4a95186 lang_code:string = help.InviteText;
	HelpGetInviteTextLayer46(context.Context, *TLHelpGetInviteTextLayer46) (*Help_InviteText, error)
	// help.getSupport#9cdf08cd = help.Support;
	HelpGetSupport(context.Context, *TLHelpGetSupport) (*Help_Support, error)
	// help.getAppChangelog#9010ef6f prev_app_version:string = Updates;
	HelpGetAppChangelog(context.Context, *TLHelpGetAppChangelog) (*Updates, error)
	// help.getTermsOfService#350170f3 = help.TermsOfService;
	HelpGetTermsOfService(context.Context, *TLHelpGetTermsOfService) (*Help_TermsOfService, error)
	// help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;
	HelpSetBotUpdatesStatus(context.Context, *TLHelpSetBotUpdatesStatus) (*Bool, error)
	// help.getCdnConfig#52029342 = CdnConfig;
	HelpGetCdnConfig(context.Context, *TLHelpGetCdnConfig) (*CdnConfig, error)
	// help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;
	HelpGetRecentMeUrls(context.Context, *TLHelpGetRecentMeUrls) (*Help_RecentMeUrls, error)
	// help.getScheme#dbb69a9e version:int = Scheme;
	HelpGetScheme(context.Context, *TLHelpGetScheme) (*Scheme, error)
}

type RPCLangpackClient

type RPCLangpackClient interface {
	// langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;
	LangpackGetLangPack(ctx context.Context, in *TLLangpackGetLangPack, opts ...grpc.CallOption) (*LangPackDifference, error)
	// langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;
	LangpackGetStrings(ctx context.Context, in *TLLangpackGetStrings, opts ...grpc.CallOption) (*Vector_LangPackString, error)
	// langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
	LangpackGetDifference(ctx context.Context, in *TLLangpackGetDifference, opts ...grpc.CallOption) (*LangPackDifference, error)
	// langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;
	LangpackGetLanguages(ctx context.Context, in *TLLangpackGetLanguages, opts ...grpc.CallOption) (*Vector_LangPackLanguage, error)
}

func NewRPCLangpackClient

func NewRPCLangpackClient(cc *grpc.ClientConn) RPCLangpackClient

type RPCLangpackServer

type RPCLangpackServer interface {
	// langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;
	LangpackGetLangPack(context.Context, *TLLangpackGetLangPack) (*LangPackDifference, error)
	// langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;
	LangpackGetStrings(context.Context, *TLLangpackGetStrings) (*Vector_LangPackString, error)
	// langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;
	LangpackGetDifference(context.Context, *TLLangpackGetDifference) (*LangPackDifference, error)
	// langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;
	LangpackGetLanguages(context.Context, *TLLangpackGetLanguages) (*Vector_LangPackLanguage, error)
}

type RPCMessagesClient

type RPCMessagesClient interface {
	// messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
	MessagesGetMessages(ctx context.Context, in *TLMessagesGetMessages, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
	MessagesGetDialogs(ctx context.Context, in *TLMessagesGetDialogs, opts ...grpc.CallOption) (*Messages_Dialogs, error)
	// messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages;
	MessagesGetHistory(ctx context.Context, in *TLMessagesGetHistory, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesGetHistoryLayer71(ctx context.Context, in *TLMessagesGetHistoryLayer71, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesSearch(ctx context.Context, in *TLMessagesSearch, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.search#f288a275 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
	MessagesSearchLayer68(ctx context.Context, in *TLMessagesSearchLayer68, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
	MessagesReadHistory(ctx context.Context, in *TLMessagesReadHistory, opts ...grpc.CallOption) (*Messages_AffectedMessages, error)
	// messages.readHistory#b04f2510 peer:InputPeer max_id:int offset:int = messages.AffectedHistory;
	MessagesReadHistoryLayer2(ctx context.Context, in *TLMessagesReadHistoryLayer2, opts ...grpc.CallOption) (*Messages_AffectedHistory, error)
	// messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory;
	MessagesDeleteHistory(ctx context.Context, in *TLMessagesDeleteHistory, opts ...grpc.CallOption) (*Messages_AffectedHistory, error)
	// messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
	MessagesDeleteMessages(ctx context.Context, in *TLMessagesDeleteMessages, opts ...grpc.CallOption) (*Messages_AffectedMessages, error)
	// messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
	MessagesReceivedMessages(ctx context.Context, in *TLMessagesReceivedMessages, opts ...grpc.CallOption) (*Vector_ReceivedNotifyMessage, error)
	// messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;
	MessagesSetTyping(ctx context.Context, in *TLMessagesSetTyping, opts ...grpc.CallOption) (*Bool, error)
	// messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
	MessagesSendMessage(ctx context.Context, in *TLMessagesSendMessage, opts ...grpc.CallOption) (*Updates, error)
	// messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
	MessagesSendMedia(ctx context.Context, in *TLMessagesSendMedia, opts ...grpc.CallOption) (*Updates, error)
	// messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
	MessagesForwardMessages(ctx context.Context, in *TLMessagesForwardMessages, opts ...grpc.CallOption) (*Updates, error)
	// messages.reportSpam#cf1592db peer:InputPeer = Bool;
	MessagesReportSpam(ctx context.Context, in *TLMessagesReportSpam, opts ...grpc.CallOption) (*Bool, error)
	// messages.hideReportSpam#a8f1709b peer:InputPeer = Bool;
	MessagesHideReportSpam(ctx context.Context, in *TLMessagesHideReportSpam, opts ...grpc.CallOption) (*Bool, error)
	// messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings;
	MessagesGetPeerSettings(ctx context.Context, in *TLMessagesGetPeerSettings, opts ...grpc.CallOption) (*PeerSettings, error)
	// messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
	MessagesGetChats(ctx context.Context, in *TLMessagesGetChats, opts ...grpc.CallOption) (*Messages_Chats, error)
	// messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;
	MessagesGetFullChat(ctx context.Context, in *TLMessagesGetFullChat, opts ...grpc.CallOption) (*Messages_ChatFull, error)
	// messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
	MessagesEditChatTitle(ctx context.Context, in *TLMessagesEditChatTitle, opts ...grpc.CallOption) (*Updates, error)
	// messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;
	MessagesEditChatPhoto(ctx context.Context, in *TLMessagesEditChatPhoto, opts ...grpc.CallOption) (*Updates, error)
	// messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;
	MessagesAddChatUser(ctx context.Context, in *TLMessagesAddChatUser, opts ...grpc.CallOption) (*Updates, error)
	// messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;
	MessagesDeleteChatUser(ctx context.Context, in *TLMessagesDeleteChatUser, opts ...grpc.CallOption) (*Updates, error)
	// messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
	MessagesCreateChat(ctx context.Context, in *TLMessagesCreateChat, opts ...grpc.CallOption) (*Updates, error)
	// messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
	MessagesForwardMessage(ctx context.Context, in *TLMessagesForwardMessage, opts ...grpc.CallOption) (*Updates, error)
	// messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
	MessagesGetDhConfig(ctx context.Context, in *TLMessagesGetDhConfig, opts ...grpc.CallOption) (*Messages_DhConfig, error)
	// messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
	MessagesRequestEncryption(ctx context.Context, in *TLMessagesRequestEncryption, opts ...grpc.CallOption) (*EncryptedChat, error)
	// messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
	MessagesAcceptEncryption(ctx context.Context, in *TLMessagesAcceptEncryption, opts ...grpc.CallOption) (*EncryptedChat, error)
	// messages.discardEncryption#edd923c5 chat_id:int = Bool;
	MessagesDiscardEncryption(ctx context.Context, in *TLMessagesDiscardEncryption, opts ...grpc.CallOption) (*Bool, error)
	// messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;
	MessagesSetEncryptedTyping(ctx context.Context, in *TLMessagesSetEncryptedTyping, opts ...grpc.CallOption) (*Bool, error)
	// messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool;
	MessagesReadEncryptedHistory(ctx context.Context, in *TLMessagesReadEncryptedHistory, opts ...grpc.CallOption) (*Bool, error)
	// messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
	MessagesSendEncrypted(ctx context.Context, in *TLMessagesSendEncrypted, opts ...grpc.CallOption) (*Messages_SentEncryptedMessage, error)
	// messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;
	MessagesSendEncryptedFile(ctx context.Context, in *TLMessagesSendEncryptedFile, opts ...grpc.CallOption) (*Messages_SentEncryptedMessage, error)
	// messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
	MessagesSendEncryptedService(ctx context.Context, in *TLMessagesSendEncryptedService, opts ...grpc.CallOption) (*Messages_SentEncryptedMessage, error)
	// messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
	MessagesReceivedQueue(ctx context.Context, in *TLMessagesReceivedQueue, opts ...grpc.CallOption) (*VectorLong, error)
	// messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;
	MessagesReportEncryptedSpam(ctx context.Context, in *TLMessagesReportEncryptedSpam, opts ...grpc.CallOption) (*Bool, error)
	// messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;
	MessagesReadMessageContents(ctx context.Context, in *TLMessagesReadMessageContents, opts ...grpc.CallOption) (*Messages_AffectedMessages, error)
	// messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
	MessagesGetAllStickers(ctx context.Context, in *TLMessagesGetAllStickers, opts ...grpc.CallOption) (*Messages_AllStickers, error)
	// messages.getWebPagePreview#25223e24 message:string = MessageMedia;
	MessagesGetWebPagePreview(ctx context.Context, in *TLMessagesGetWebPagePreview, opts ...grpc.CallOption) (*MessageMedia, error)
	// messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite;
	MessagesExportChatInvite(ctx context.Context, in *TLMessagesExportChatInvite, opts ...grpc.CallOption) (*ExportedChatInvite, error)
	// messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
	MessagesCheckChatInvite(ctx context.Context, in *TLMessagesCheckChatInvite, opts ...grpc.CallOption) (*ChatInvite, error)
	// messages.importChatInvite#6c50051c hash:string = Updates;
	MessagesImportChatInvite(ctx context.Context, in *TLMessagesImportChatInvite, opts ...grpc.CallOption) (*Updates, error)
	// messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;
	MessagesGetStickerSet(ctx context.Context, in *TLMessagesGetStickerSet, opts ...grpc.CallOption) (*Messages_StickerSet, error)
	// messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult;
	MessagesInstallStickerSet(ctx context.Context, in *TLMessagesInstallStickerSet, opts ...grpc.CallOption) (*Messages_StickerSetInstallResult, error)
	// messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;
	MessagesUninstallStickerSet(ctx context.Context, in *TLMessagesUninstallStickerSet, opts ...grpc.CallOption) (*Bool, error)
	// messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;
	MessagesStartBot(ctx context.Context, in *TLMessagesStartBot, opts ...grpc.CallOption) (*Updates, error)
	// messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;
	MessagesGetMessagesViews(ctx context.Context, in *TLMessagesGetMessagesViews, opts ...grpc.CallOption) (*VectorInt, error)
	// messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;
	MessagesToggleChatAdmins(ctx context.Context, in *TLMessagesToggleChatAdmins, opts ...grpc.CallOption) (*Updates, error)
	// messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;
	MessagesEditChatAdmin(ctx context.Context, in *TLMessagesEditChatAdmin, opts ...grpc.CallOption) (*Bool, error)
	// messages.migrateChat#15a3b8e3 chat_id:int = Updates;
	MessagesMigrateChat(ctx context.Context, in *TLMessagesMigrateChat, opts ...grpc.CallOption) (*Updates, error)
	// messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
	MessagesSearchGlobal(ctx context.Context, in *TLMessagesSearchGlobal, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector<long> = Bool;
	MessagesReorderStickerSets(ctx context.Context, in *TLMessagesReorderStickerSets, opts ...grpc.CallOption) (*Bool, error)
	// messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
	MessagesGetDocumentByHash(ctx context.Context, in *TLMessagesGetDocumentByHash, opts ...grpc.CallOption) (*Document, error)
	// messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs;
	MessagesSearchGifs(ctx context.Context, in *TLMessagesSearchGifs, opts ...grpc.CallOption) (*Messages_FoundGifs, error)
	// messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;
	MessagesGetSavedGifs(ctx context.Context, in *TLMessagesGetSavedGifs, opts ...grpc.CallOption) (*Messages_SavedGifs, error)
	// messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;
	MessagesSaveGif(ctx context.Context, in *TLMessagesSaveGif, opts ...grpc.CallOption) (*Bool, error)
	// messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;
	MessagesGetInlineBotResults(ctx context.Context, in *TLMessagesGetInlineBotResults, opts ...grpc.CallOption) (*Messages_BotResults, error)
	// messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool;
	MessagesSetInlineBotResults(ctx context.Context, in *TLMessagesSetInlineBotResults, opts ...grpc.CallOption) (*Bool, error)
	// messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
	MessagesSendInlineBotResult(ctx context.Context, in *TLMessagesSendInlineBotResult, opts ...grpc.CallOption) (*Updates, error)
	// messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;
	MessagesGetMessageEditData(ctx context.Context, in *TLMessagesGetMessageEditData, opts ...grpc.CallOption) (*Messages_MessageEditData, error)
	// messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Updates;
	MessagesEditMessage(ctx context.Context, in *TLMessagesEditMessage, opts ...grpc.CallOption) (*Updates, error)
	// messages.editInlineBotMessage#b0e08243 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Bool;
	MessagesEditInlineBotMessage(ctx context.Context, in *TLMessagesEditInlineBotMessage, opts ...grpc.CallOption) (*Bool, error)
	// messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer;
	MessagesGetBotCallbackAnswer(ctx context.Context, in *TLMessagesGetBotCallbackAnswer, opts ...grpc.CallOption) (*Messages_BotCallbackAnswer, error)
	// messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;
	MessagesSetBotCallbackAnswer(ctx context.Context, in *TLMessagesSetBotCallbackAnswer, opts ...grpc.CallOption) (*Bool, error)
	// messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs;
	MessagesGetPeerDialogs(ctx context.Context, in *TLMessagesGetPeerDialogs, opts ...grpc.CallOption) (*Messages_PeerDialogs, error)
	// messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;
	MessagesSaveDraft(ctx context.Context, in *TLMessagesSaveDraft, opts ...grpc.CallOption) (*Bool, error)
	// messages.getAllDrafts#6a3f8d65 = Updates;
	MessagesGetAllDrafts(ctx context.Context, in *TLMessagesGetAllDrafts, opts ...grpc.CallOption) (*Updates, error)
	// messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers;
	MessagesGetFeaturedStickers(ctx context.Context, in *TLMessagesGetFeaturedStickers, opts ...grpc.CallOption) (*Messages_FeaturedStickers, error)
	// messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;
	MessagesReadFeaturedStickers(ctx context.Context, in *TLMessagesReadFeaturedStickers, opts ...grpc.CallOption) (*Bool, error)
	// messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers;
	MessagesGetRecentStickers(ctx context.Context, in *TLMessagesGetRecentStickers, opts ...grpc.CallOption) (*Messages_RecentStickers, error)
	// messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;
	MessagesSaveRecentSticker(ctx context.Context, in *TLMessagesSaveRecentSticker, opts ...grpc.CallOption) (*Bool, error)
	// messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;
	MessagesClearRecentStickers(ctx context.Context, in *TLMessagesClearRecentStickers, opts ...grpc.CallOption) (*Bool, error)
	// messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;
	MessagesGetArchivedStickers(ctx context.Context, in *TLMessagesGetArchivedStickers, opts ...grpc.CallOption) (*Messages_ArchivedStickers, error)
	// messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;
	MessagesGetMaskStickers(ctx context.Context, in *TLMessagesGetMaskStickers, opts ...grpc.CallOption) (*Messages_AllStickers, error)
	// messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;
	MessagesGetAttachedStickers(ctx context.Context, in *TLMessagesGetAttachedStickers, opts ...grpc.CallOption) (*Vector_StickerSetCovered, error)
	// messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
	MessagesSetGameScore(ctx context.Context, in *TLMessagesSetGameScore, opts ...grpc.CallOption) (*Updates, error)
	// messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
	MessagesSetInlineGameScore(ctx context.Context, in *TLMessagesSetInlineGameScore, opts ...grpc.CallOption) (*Bool, error)
	// messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;
	MessagesGetGameHighScores(ctx context.Context, in *TLMessagesGetGameHighScores, opts ...grpc.CallOption) (*Messages_HighScores, error)
	// messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores;
	MessagesGetInlineGameHighScores(ctx context.Context, in *TLMessagesGetInlineGameHighScores, opts ...grpc.CallOption) (*Messages_HighScores, error)
	// messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats;
	MessagesGetCommonChats(ctx context.Context, in *TLMessagesGetCommonChats, opts ...grpc.CallOption) (*Messages_Chats, error)
	// messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats;
	MessagesGetAllChats(ctx context.Context, in *TLMessagesGetAllChats, opts ...grpc.CallOption) (*Messages_Chats, error)
	// messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
	MessagesGetWebPage(ctx context.Context, in *TLMessagesGetWebPage, opts ...grpc.CallOption) (*WebPage, error)
	// messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool;
	MessagesToggleDialogPin(ctx context.Context, in *TLMessagesToggleDialogPin, opts ...grpc.CallOption) (*Bool, error)
	// messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector<InputPeer> = Bool;
	MessagesReorderPinnedDialogs(ctx context.Context, in *TLMessagesReorderPinnedDialogs, opts ...grpc.CallOption) (*Bool, error)
	// messages.getPinnedDialogs#e254d64e = messages.PeerDialogs;
	MessagesGetPinnedDialogs(ctx context.Context, in *TLMessagesGetPinnedDialogs, opts ...grpc.CallOption) (*Messages_PeerDialogs, error)
	// messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = Bool;
	MessagesSetBotShippingResults(ctx context.Context, in *TLMessagesSetBotShippingResults, opts ...grpc.CallOption) (*Bool, error)
	// messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool;
	MessagesSetBotPrecheckoutResults(ctx context.Context, in *TLMessagesSetBotPrecheckoutResults, opts ...grpc.CallOption) (*Bool, error)
	// messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
	MessagesUploadMedia(ctx context.Context, in *TLMessagesUploadMedia, opts ...grpc.CallOption) (*MessageMedia, error)
	// messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;
	MessagesSendScreenshotNotification(ctx context.Context, in *TLMessagesSendScreenshotNotification, opts ...grpc.CallOption) (*Updates, error)
	// messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers;
	MessagesGetFavedStickers(ctx context.Context, in *TLMessagesGetFavedStickers, opts ...grpc.CallOption) (*Messages_FavedStickers, error)
	// messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
	MessagesFaveSticker(ctx context.Context, in *TLMessagesFaveSticker, opts ...grpc.CallOption) (*Bool, error)
	// messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesGetUnreadMentions(ctx context.Context, in *TLMessagesGetUnreadMentions, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory;
	MessagesReadMentions(ctx context.Context, in *TLMessagesReadMentions, opts ...grpc.CallOption) (*Messages_AffectedHistory, error)
	// messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages;
	MessagesGetRecentLocations(ctx context.Context, in *TLMessagesGetRecentLocations, opts ...grpc.CallOption) (*Messages_Messages, error)
	// messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector<InputSingleMedia> = Updates;
	MessagesSendMultiMedia(ctx context.Context, in *TLMessagesSendMultiMedia, opts ...grpc.CallOption) (*Updates, error)
	// messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
	MessagesUploadEncryptedFile(ctx context.Context, in *TLMessagesUploadEncryptedFile, opts ...grpc.CallOption) (*EncryptedFile, error)
}

func NewRPCMessagesClient

func NewRPCMessagesClient(cc *grpc.ClientConn) RPCMessagesClient

type RPCMessagesServer

type RPCMessagesServer interface {
	// messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;
	MessagesGetMessages(context.Context, *TLMessagesGetMessages) (*Messages_Messages, error)
	// messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;
	MessagesGetDialogs(context.Context, *TLMessagesGetDialogs) (*Messages_Dialogs, error)
	// messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages;
	MessagesGetHistory(context.Context, *TLMessagesGetHistory) (*Messages_Messages, error)
	// messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesGetHistoryLayer71(context.Context, *TLMessagesGetHistoryLayer71) (*Messages_Messages, error)
	// messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesSearch(context.Context, *TLMessagesSearch) (*Messages_Messages, error)
	// messages.search#f288a275 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;
	MessagesSearchLayer68(context.Context, *TLMessagesSearchLayer68) (*Messages_Messages, error)
	// messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;
	MessagesReadHistory(context.Context, *TLMessagesReadHistory) (*Messages_AffectedMessages, error)
	// messages.readHistory#b04f2510 peer:InputPeer max_id:int offset:int = messages.AffectedHistory;
	MessagesReadHistoryLayer2(context.Context, *TLMessagesReadHistoryLayer2) (*Messages_AffectedHistory, error)
	// messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory;
	MessagesDeleteHistory(context.Context, *TLMessagesDeleteHistory) (*Messages_AffectedHistory, error)
	// messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;
	MessagesDeleteMessages(context.Context, *TLMessagesDeleteMessages) (*Messages_AffectedMessages, error)
	// messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;
	MessagesReceivedMessages(context.Context, *TLMessagesReceivedMessages) (*Vector_ReceivedNotifyMessage, error)
	// messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;
	MessagesSetTyping(context.Context, *TLMessagesSetTyping) (*Bool, error)
	// messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;
	MessagesSendMessage(context.Context, *TLMessagesSendMessage) (*Updates, error)
	// messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;
	MessagesSendMedia(context.Context, *TLMessagesSendMedia) (*Updates, error)
	// messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;
	MessagesForwardMessages(context.Context, *TLMessagesForwardMessages) (*Updates, error)
	// messages.reportSpam#cf1592db peer:InputPeer = Bool;
	MessagesReportSpam(context.Context, *TLMessagesReportSpam) (*Bool, error)
	// messages.hideReportSpam#a8f1709b peer:InputPeer = Bool;
	MessagesHideReportSpam(context.Context, *TLMessagesHideReportSpam) (*Bool, error)
	// messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings;
	MessagesGetPeerSettings(context.Context, *TLMessagesGetPeerSettings) (*PeerSettings, error)
	// messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;
	MessagesGetChats(context.Context, *TLMessagesGetChats) (*Messages_Chats, error)
	// messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;
	MessagesGetFullChat(context.Context, *TLMessagesGetFullChat) (*Messages_ChatFull, error)
	// messages.editChatTitle#dc452855 chat_id:int title:string = Updates;
	MessagesEditChatTitle(context.Context, *TLMessagesEditChatTitle) (*Updates, error)
	// messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;
	MessagesEditChatPhoto(context.Context, *TLMessagesEditChatPhoto) (*Updates, error)
	// messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;
	MessagesAddChatUser(context.Context, *TLMessagesAddChatUser) (*Updates, error)
	// messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;
	MessagesDeleteChatUser(context.Context, *TLMessagesDeleteChatUser) (*Updates, error)
	// messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;
	MessagesCreateChat(context.Context, *TLMessagesCreateChat) (*Updates, error)
	// messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;
	MessagesForwardMessage(context.Context, *TLMessagesForwardMessage) (*Updates, error)
	// messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;
	MessagesGetDhConfig(context.Context, *TLMessagesGetDhConfig) (*Messages_DhConfig, error)
	// messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;
	MessagesRequestEncryption(context.Context, *TLMessagesRequestEncryption) (*EncryptedChat, error)
	// messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;
	MessagesAcceptEncryption(context.Context, *TLMessagesAcceptEncryption) (*EncryptedChat, error)
	// messages.discardEncryption#edd923c5 chat_id:int = Bool;
	MessagesDiscardEncryption(context.Context, *TLMessagesDiscardEncryption) (*Bool, error)
	// messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;
	MessagesSetEncryptedTyping(context.Context, *TLMessagesSetEncryptedTyping) (*Bool, error)
	// messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool;
	MessagesReadEncryptedHistory(context.Context, *TLMessagesReadEncryptedHistory) (*Bool, error)
	// messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
	MessagesSendEncrypted(context.Context, *TLMessagesSendEncrypted) (*Messages_SentEncryptedMessage, error)
	// messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;
	MessagesSendEncryptedFile(context.Context, *TLMessagesSendEncryptedFile) (*Messages_SentEncryptedMessage, error)
	// messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;
	MessagesSendEncryptedService(context.Context, *TLMessagesSendEncryptedService) (*Messages_SentEncryptedMessage, error)
	// messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
	MessagesReceivedQueue(context.Context, *TLMessagesReceivedQueue) (*VectorLong, error)
	// messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;
	MessagesReportEncryptedSpam(context.Context, *TLMessagesReportEncryptedSpam) (*Bool, error)
	// messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;
	MessagesReadMessageContents(context.Context, *TLMessagesReadMessageContents) (*Messages_AffectedMessages, error)
	// messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;
	MessagesGetAllStickers(context.Context, *TLMessagesGetAllStickers) (*Messages_AllStickers, error)
	// messages.getWebPagePreview#25223e24 message:string = MessageMedia;
	MessagesGetWebPagePreview(context.Context, *TLMessagesGetWebPagePreview) (*MessageMedia, error)
	// messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite;
	MessagesExportChatInvite(context.Context, *TLMessagesExportChatInvite) (*ExportedChatInvite, error)
	// messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;
	MessagesCheckChatInvite(context.Context, *TLMessagesCheckChatInvite) (*ChatInvite, error)
	// messages.importChatInvite#6c50051c hash:string = Updates;
	MessagesImportChatInvite(context.Context, *TLMessagesImportChatInvite) (*Updates, error)
	// messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;
	MessagesGetStickerSet(context.Context, *TLMessagesGetStickerSet) (*Messages_StickerSet, error)
	// messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult;
	MessagesInstallStickerSet(context.Context, *TLMessagesInstallStickerSet) (*Messages_StickerSetInstallResult, error)
	// messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;
	MessagesUninstallStickerSet(context.Context, *TLMessagesUninstallStickerSet) (*Bool, error)
	// messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;
	MessagesStartBot(context.Context, *TLMessagesStartBot) (*Updates, error)
	// messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;
	MessagesGetMessagesViews(context.Context, *TLMessagesGetMessagesViews) (*VectorInt, error)
	// messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;
	MessagesToggleChatAdmins(context.Context, *TLMessagesToggleChatAdmins) (*Updates, error)
	// messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;
	MessagesEditChatAdmin(context.Context, *TLMessagesEditChatAdmin) (*Bool, error)
	// messages.migrateChat#15a3b8e3 chat_id:int = Updates;
	MessagesMigrateChat(context.Context, *TLMessagesMigrateChat) (*Updates, error)
	// messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;
	MessagesSearchGlobal(context.Context, *TLMessagesSearchGlobal) (*Messages_Messages, error)
	// messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector<long> = Bool;
	MessagesReorderStickerSets(context.Context, *TLMessagesReorderStickerSets) (*Bool, error)
	// messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;
	MessagesGetDocumentByHash(context.Context, *TLMessagesGetDocumentByHash) (*Document, error)
	// messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs;
	MessagesSearchGifs(context.Context, *TLMessagesSearchGifs) (*Messages_FoundGifs, error)
	// messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;
	MessagesGetSavedGifs(context.Context, *TLMessagesGetSavedGifs) (*Messages_SavedGifs, error)
	// messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;
	MessagesSaveGif(context.Context, *TLMessagesSaveGif) (*Bool, error)
	// messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;
	MessagesGetInlineBotResults(context.Context, *TLMessagesGetInlineBotResults) (*Messages_BotResults, error)
	// messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool;
	MessagesSetInlineBotResults(context.Context, *TLMessagesSetInlineBotResults) (*Bool, error)
	// messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;
	MessagesSendInlineBotResult(context.Context, *TLMessagesSendInlineBotResult) (*Updates, error)
	// messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;
	MessagesGetMessageEditData(context.Context, *TLMessagesGetMessageEditData) (*Messages_MessageEditData, error)
	// messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Updates;
	MessagesEditMessage(context.Context, *TLMessagesEditMessage) (*Updates, error)
	// messages.editInlineBotMessage#b0e08243 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Bool;
	MessagesEditInlineBotMessage(context.Context, *TLMessagesEditInlineBotMessage) (*Bool, error)
	// messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer;
	MessagesGetBotCallbackAnswer(context.Context, *TLMessagesGetBotCallbackAnswer) (*Messages_BotCallbackAnswer, error)
	// messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;
	MessagesSetBotCallbackAnswer(context.Context, *TLMessagesSetBotCallbackAnswer) (*Bool, error)
	// messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs;
	MessagesGetPeerDialogs(context.Context, *TLMessagesGetPeerDialogs) (*Messages_PeerDialogs, error)
	// messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;
	MessagesSaveDraft(context.Context, *TLMessagesSaveDraft) (*Bool, error)
	// messages.getAllDrafts#6a3f8d65 = Updates;
	MessagesGetAllDrafts(context.Context, *TLMessagesGetAllDrafts) (*Updates, error)
	// messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers;
	MessagesGetFeaturedStickers(context.Context, *TLMessagesGetFeaturedStickers) (*Messages_FeaturedStickers, error)
	// messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;
	MessagesReadFeaturedStickers(context.Context, *TLMessagesReadFeaturedStickers) (*Bool, error)
	// messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers;
	MessagesGetRecentStickers(context.Context, *TLMessagesGetRecentStickers) (*Messages_RecentStickers, error)
	// messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;
	MessagesSaveRecentSticker(context.Context, *TLMessagesSaveRecentSticker) (*Bool, error)
	// messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;
	MessagesClearRecentStickers(context.Context, *TLMessagesClearRecentStickers) (*Bool, error)
	// messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;
	MessagesGetArchivedStickers(context.Context, *TLMessagesGetArchivedStickers) (*Messages_ArchivedStickers, error)
	// messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;
	MessagesGetMaskStickers(context.Context, *TLMessagesGetMaskStickers) (*Messages_AllStickers, error)
	// messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;
	MessagesGetAttachedStickers(context.Context, *TLMessagesGetAttachedStickers) (*Vector_StickerSetCovered, error)
	// messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;
	MessagesSetGameScore(context.Context, *TLMessagesSetGameScore) (*Updates, error)
	// messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;
	MessagesSetInlineGameScore(context.Context, *TLMessagesSetInlineGameScore) (*Bool, error)
	// messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;
	MessagesGetGameHighScores(context.Context, *TLMessagesGetGameHighScores) (*Messages_HighScores, error)
	// messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores;
	MessagesGetInlineGameHighScores(context.Context, *TLMessagesGetInlineGameHighScores) (*Messages_HighScores, error)
	// messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats;
	MessagesGetCommonChats(context.Context, *TLMessagesGetCommonChats) (*Messages_Chats, error)
	// messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats;
	MessagesGetAllChats(context.Context, *TLMessagesGetAllChats) (*Messages_Chats, error)
	// messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
	MessagesGetWebPage(context.Context, *TLMessagesGetWebPage) (*WebPage, error)
	// messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool;
	MessagesToggleDialogPin(context.Context, *TLMessagesToggleDialogPin) (*Bool, error)
	// messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector<InputPeer> = Bool;
	MessagesReorderPinnedDialogs(context.Context, *TLMessagesReorderPinnedDialogs) (*Bool, error)
	// messages.getPinnedDialogs#e254d64e = messages.PeerDialogs;
	MessagesGetPinnedDialogs(context.Context, *TLMessagesGetPinnedDialogs) (*Messages_PeerDialogs, error)
	// messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = Bool;
	MessagesSetBotShippingResults(context.Context, *TLMessagesSetBotShippingResults) (*Bool, error)
	// messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool;
	MessagesSetBotPrecheckoutResults(context.Context, *TLMessagesSetBotPrecheckoutResults) (*Bool, error)
	// messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;
	MessagesUploadMedia(context.Context, *TLMessagesUploadMedia) (*MessageMedia, error)
	// messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;
	MessagesSendScreenshotNotification(context.Context, *TLMessagesSendScreenshotNotification) (*Updates, error)
	// messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers;
	MessagesGetFavedStickers(context.Context, *TLMessagesGetFavedStickers) (*Messages_FavedStickers, error)
	// messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
	MessagesFaveSticker(context.Context, *TLMessagesFaveSticker) (*Bool, error)
	// messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;
	MessagesGetUnreadMentions(context.Context, *TLMessagesGetUnreadMentions) (*Messages_Messages, error)
	// messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory;
	MessagesReadMentions(context.Context, *TLMessagesReadMentions) (*Messages_AffectedHistory, error)
	// messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages;
	MessagesGetRecentLocations(context.Context, *TLMessagesGetRecentLocations) (*Messages_Messages, error)
	// messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector<InputSingleMedia> = Updates;
	MessagesSendMultiMedia(context.Context, *TLMessagesSendMultiMedia) (*Updates, error)
	// messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;
	MessagesUploadEncryptedFile(context.Context, *TLMessagesUploadEncryptedFile) (*EncryptedFile, error)
}

type RPCNbfsClient

type RPCNbfsClient interface {
	NbfsUploadPhotoFile(ctx context.Context, in *UploadPhotoFileRequest, opts ...grpc.CallOption) (*PhotoDataRsp, error)
	NbfsGetPhotoFileData(ctx context.Context, in *GetPhotoFileDataRequest, opts ...grpc.CallOption) (*PhotoDataRsp, error)
	NbfsUploadedPhotoMedia(ctx context.Context, in *NbfsUploadedPhotoMedia, opts ...grpc.CallOption) (*TLMessageMediaPhoto, error)
	NbfsUploadedDocumentMedia(ctx context.Context, in *NbfsUploadedDocumentMedia, opts ...grpc.CallOption) (*TLMessageMediaDocument, error)
	NbfsGetDocument(ctx context.Context, in *DocumentId, opts ...grpc.CallOption) (*Document, error)
	NbfsGetDocumentList(ctx context.Context, in *DocumentIdList, opts ...grpc.CallOption) (*DocumentList, error)
}

func NewRPCNbfsClient

func NewRPCNbfsClient(cc *grpc.ClientConn) RPCNbfsClient

type RPCNbfsServer

type RPCNbfsServer interface {
	NbfsUploadPhotoFile(context.Context, *UploadPhotoFileRequest) (*PhotoDataRsp, error)
	NbfsGetPhotoFileData(context.Context, *GetPhotoFileDataRequest) (*PhotoDataRsp, error)
	NbfsUploadedPhotoMedia(context.Context, *NbfsUploadedPhotoMedia) (*TLMessageMediaPhoto, error)
	NbfsUploadedDocumentMedia(context.Context, *NbfsUploadedDocumentMedia) (*TLMessageMediaDocument, error)
	NbfsGetDocument(context.Context, *DocumentId) (*Document, error)
	NbfsGetDocumentList(context.Context, *DocumentIdList) (*DocumentList, error)
}

type RPCPaymentsClient

type RPCPaymentsClient interface {
	// payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm;
	PaymentsGetPaymentForm(ctx context.Context, in *TLPaymentsGetPaymentForm, opts ...grpc.CallOption) (*Payments_PaymentForm, error)
	// payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt;
	PaymentsGetPaymentReceipt(ctx context.Context, in *TLPaymentsGetPaymentReceipt, opts ...grpc.CallOption) (*Payments_PaymentReceipt, error)
	// payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
	PaymentsValidateRequestedInfo(ctx context.Context, in *TLPaymentsValidateRequestedInfo, opts ...grpc.CallOption) (*Payments_ValidatedRequestedInfo, error)
	// payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult;
	PaymentsSendPaymentForm(ctx context.Context, in *TLPaymentsSendPaymentForm, opts ...grpc.CallOption) (*Payments_PaymentResult, error)
	// payments.getSavedInfo#227d824b = payments.SavedInfo;
	PaymentsGetSavedInfo(ctx context.Context, in *TLPaymentsGetSavedInfo, opts ...grpc.CallOption) (*Payments_SavedInfo, error)
	// payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;
	PaymentsClearSavedInfo(ctx context.Context, in *TLPaymentsClearSavedInfo, opts ...grpc.CallOption) (*Bool, error)
}

func NewRPCPaymentsClient

func NewRPCPaymentsClient(cc *grpc.ClientConn) RPCPaymentsClient

type RPCPaymentsServer

type RPCPaymentsServer interface {
	// payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm;
	PaymentsGetPaymentForm(context.Context, *TLPaymentsGetPaymentForm) (*Payments_PaymentForm, error)
	// payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt;
	PaymentsGetPaymentReceipt(context.Context, *TLPaymentsGetPaymentReceipt) (*Payments_PaymentReceipt, error)
	// payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;
	PaymentsValidateRequestedInfo(context.Context, *TLPaymentsValidateRequestedInfo) (*Payments_ValidatedRequestedInfo, error)
	// payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult;
	PaymentsSendPaymentForm(context.Context, *TLPaymentsSendPaymentForm) (*Payments_PaymentResult, error)
	// payments.getSavedInfo#227d824b = payments.SavedInfo;
	PaymentsGetSavedInfo(context.Context, *TLPaymentsGetSavedInfo) (*Payments_SavedInfo, error)
	// payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;
	PaymentsClearSavedInfo(context.Context, *TLPaymentsClearSavedInfo) (*Bool, error)
}

type RPCPhoneClient

type RPCPhoneClient interface {
	// phone.getCallConfig#55451fa9 = DataJSON;
	PhoneGetCallConfig(ctx context.Context, in *TLPhoneGetCallConfig, opts ...grpc.CallOption) (*DataJSON, error)
	// phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneRequestCall(ctx context.Context, in *TLPhoneRequestCall, opts ...grpc.CallOption) (*Phone_PhoneCall, error)
	// phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneAcceptCall(ctx context.Context, in *TLPhoneAcceptCall, opts ...grpc.CallOption) (*Phone_PhoneCall, error)
	// phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneConfirmCall(ctx context.Context, in *TLPhoneConfirmCall, opts ...grpc.CallOption) (*Phone_PhoneCall, error)
	// phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;
	PhoneReceivedCall(ctx context.Context, in *TLPhoneReceivedCall, opts ...grpc.CallOption) (*Bool, error)
	// phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;
	PhoneDiscardCall(ctx context.Context, in *TLPhoneDiscardCall, opts ...grpc.CallOption) (*Updates, error)
	// phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates;
	PhoneSetCallRating(ctx context.Context, in *TLPhoneSetCallRating, opts ...grpc.CallOption) (*Updates, error)
	// phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
	PhoneSaveCallDebug(ctx context.Context, in *TLPhoneSaveCallDebug, opts ...grpc.CallOption) (*Bool, error)
}

func NewRPCPhoneClient

func NewRPCPhoneClient(cc *grpc.ClientConn) RPCPhoneClient

type RPCPhoneServer

type RPCPhoneServer interface {
	// phone.getCallConfig#55451fa9 = DataJSON;
	PhoneGetCallConfig(context.Context, *TLPhoneGetCallConfig) (*DataJSON, error)
	// phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneRequestCall(context.Context, *TLPhoneRequestCall) (*Phone_PhoneCall, error)
	// phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneAcceptCall(context.Context, *TLPhoneAcceptCall) (*Phone_PhoneCall, error)
	// phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;
	PhoneConfirmCall(context.Context, *TLPhoneConfirmCall) (*Phone_PhoneCall, error)
	// phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;
	PhoneReceivedCall(context.Context, *TLPhoneReceivedCall) (*Bool, error)
	// phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;
	PhoneDiscardCall(context.Context, *TLPhoneDiscardCall) (*Updates, error)
	// phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates;
	PhoneSetCallRating(context.Context, *TLPhoneSetCallRating) (*Updates, error)
	// phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;
	PhoneSaveCallDebug(context.Context, *TLPhoneSaveCallDebug) (*Bool, error)
}

type RPCPhotosClient

type RPCPhotosClient interface {
	// photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto;
	PhotosUpdateProfilePhoto(ctx context.Context, in *TLPhotosUpdateProfilePhoto, opts ...grpc.CallOption) (*UserProfilePhoto, error)
	// photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo;
	PhotosUploadProfilePhoto(ctx context.Context, in *TLPhotosUploadProfilePhoto, opts ...grpc.CallOption) (*Photos_Photo, error)
	// photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
	PhotosDeletePhotos(ctx context.Context, in *TLPhotosDeletePhotos, opts ...grpc.CallOption) (*VectorLong, error)
	// photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
	PhotosGetUserPhotos(ctx context.Context, in *TLPhotosGetUserPhotos, opts ...grpc.CallOption) (*Photos_Photos, error)
}

func NewRPCPhotosClient

func NewRPCPhotosClient(cc *grpc.ClientConn) RPCPhotosClient

type RPCPhotosServer

type RPCPhotosServer interface {
	// photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto;
	PhotosUpdateProfilePhoto(context.Context, *TLPhotosUpdateProfilePhoto) (*UserProfilePhoto, error)
	// photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo;
	PhotosUploadProfilePhoto(context.Context, *TLPhotosUploadProfilePhoto) (*Photos_Photo, error)
	// photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;
	PhotosDeletePhotos(context.Context, *TLPhotosDeletePhotos) (*VectorLong, error)
	// photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;
	PhotosGetUserPhotos(context.Context, *TLPhotosGetUserPhotos) (*Photos_Photos, error)
}

type RPCStickersClient

type RPCStickersClient interface {
	// stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = messages.StickerSet;
	StickersCreateStickerSet(ctx context.Context, in *TLStickersCreateStickerSet, opts ...grpc.CallOption) (*Messages_StickerSet, error)
	// stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
	StickersRemoveStickerFromSet(ctx context.Context, in *TLStickersRemoveStickerFromSet, opts ...grpc.CallOption) (*Messages_StickerSet, error)
	// stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
	StickersChangeStickerPosition(ctx context.Context, in *TLStickersChangeStickerPosition, opts ...grpc.CallOption) (*Messages_StickerSet, error)
	// stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
	StickersAddStickerToSet(ctx context.Context, in *TLStickersAddStickerToSet, opts ...grpc.CallOption) (*Messages_StickerSet, error)
}

func NewRPCStickersClient

func NewRPCStickersClient(cc *grpc.ClientConn) RPCStickersClient

type RPCStickersServer

type RPCStickersServer interface {
	// stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = messages.StickerSet;
	StickersCreateStickerSet(context.Context, *TLStickersCreateStickerSet) (*Messages_StickerSet, error)
	// stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;
	StickersRemoveStickerFromSet(context.Context, *TLStickersRemoveStickerFromSet) (*Messages_StickerSet, error)
	// stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;
	StickersChangeStickerPosition(context.Context, *TLStickersChangeStickerPosition) (*Messages_StickerSet, error)
	// stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;
	StickersAddStickerToSet(context.Context, *TLStickersAddStickerToSet) (*Messages_StickerSet, error)
}

type RPCSyncClient

type RPCSyncClient interface {
	SyncUpdatesData(ctx context.Context, in *UpdatesRequest, opts ...grpc.CallOption) (*ClientUpdatesState, error)
	PushUpdatesData(ctx context.Context, in *UpdatesRequest, opts ...grpc.CallOption) (*VoidRsp, error)
	// PushUpdatesDataList(UpdatesListRequest) returns (VoidRsp);
	GetNewUpdatesData(ctx context.Context, in *NewUpdatesRequest, opts ...grpc.CallOption) (*Updates, error)
}

func NewRPCSyncClient

func NewRPCSyncClient(cc *grpc.ClientConn) RPCSyncClient

type RPCSyncServer

type RPCSyncServer interface {
	SyncUpdatesData(context.Context, *UpdatesRequest) (*ClientUpdatesState, error)
	PushUpdatesData(context.Context, *UpdatesRequest) (*VoidRsp, error)
	// PushUpdatesDataList(UpdatesListRequest) returns (VoidRsp);
	GetNewUpdatesData(context.Context, *NewUpdatesRequest) (*Updates, error)
}

type RPCUpdatesClient

type RPCUpdatesClient interface {
	// updates.getState#edd4882a = updates.State;
	UpdatesGetState(ctx context.Context, in *TLUpdatesGetState, opts ...grpc.CallOption) (*Updates_State, error)
	// updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
	UpdatesGetDifference(ctx context.Context, in *TLUpdatesGetDifference, opts ...grpc.CallOption) (*Updates_Difference, error)
	// updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
	UpdatesGetChannelDifference(ctx context.Context, in *TLUpdatesGetChannelDifference, opts ...grpc.CallOption) (*Updates_ChannelDifference, error)
}

func NewRPCUpdatesClient

func NewRPCUpdatesClient(cc *grpc.ClientConn) RPCUpdatesClient

type RPCUpdatesServer

type RPCUpdatesServer interface {
	// updates.getState#edd4882a = updates.State;
	UpdatesGetState(context.Context, *TLUpdatesGetState) (*Updates_State, error)
	// updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
	UpdatesGetDifference(context.Context, *TLUpdatesGetDifference) (*Updates_Difference, error)
	// updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;
	UpdatesGetChannelDifference(context.Context, *TLUpdatesGetChannelDifference) (*Updates_ChannelDifference, error)
}

type RPCUploadClient

type RPCUploadClient interface {
	// upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
	UploadSaveFilePart(ctx context.Context, in *TLUploadSaveFilePart, opts ...grpc.CallOption) (*Bool, error)
	// upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File;
	UploadGetFile(ctx context.Context, in *TLUploadGetFile, opts ...grpc.CallOption) (*Upload_File, error)
	// upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
	UploadSaveBigFilePart(ctx context.Context, in *TLUploadSaveBigFilePart, opts ...grpc.CallOption) (*Bool, error)
	// upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;
	UploadGetWebFile(ctx context.Context, in *TLUploadGetWebFile, opts ...grpc.CallOption) (*Upload_WebFile, error)
	// upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;
	UploadGetCdnFile(ctx context.Context, in *TLUploadGetCdnFile, opts ...grpc.CallOption) (*Upload_CdnFile, error)
	// upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector<CdnFileHash>;
	UploadReuploadCdnFile(ctx context.Context, in *TLUploadReuploadCdnFile, opts ...grpc.CallOption) (*Vector_CdnFileHash, error)
	// upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector<CdnFileHash>;
	UploadGetCdnFileHashes(ctx context.Context, in *TLUploadGetCdnFileHashes, opts ...grpc.CallOption) (*Vector_CdnFileHash, error)
}

func NewRPCUploadClient

func NewRPCUploadClient(cc *grpc.ClientConn) RPCUploadClient

type RPCUploadServer

type RPCUploadServer interface {
	// upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;
	UploadSaveFilePart(context.Context, *TLUploadSaveFilePart) (*Bool, error)
	// upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File;
	UploadGetFile(context.Context, *TLUploadGetFile) (*Upload_File, error)
	// upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
	UploadSaveBigFilePart(context.Context, *TLUploadSaveBigFilePart) (*Bool, error)
	// upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;
	UploadGetWebFile(context.Context, *TLUploadGetWebFile) (*Upload_WebFile, error)
	// upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;
	UploadGetCdnFile(context.Context, *TLUploadGetCdnFile) (*Upload_CdnFile, error)
	// upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector<CdnFileHash>;
	UploadReuploadCdnFile(context.Context, *TLUploadReuploadCdnFile) (*Vector_CdnFileHash, error)
	// upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector<CdnFileHash>;
	UploadGetCdnFileHashes(context.Context, *TLUploadGetCdnFileHashes) (*Vector_CdnFileHash, error)
}

type RPCUsersClient

type RPCUsersClient interface {
	// users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
	UsersGetUsers(ctx context.Context, in *TLUsersGetUsers, opts ...grpc.CallOption) (*Vector_User, error)
	// users.getFullUser#ca30a5b1 id:InputUser = UserFull;
	UsersGetFullUser(ctx context.Context, in *TLUsersGetFullUser, opts ...grpc.CallOption) (*UserFull, error)
}

func NewRPCUsersClient

func NewRPCUsersClient(cc *grpc.ClientConn) RPCUsersClient

type RPCUsersServer

type RPCUsersServer interface {
	// users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;
	UsersGetUsers(context.Context, *TLUsersGetUsers) (*Vector_User, error)
	// users.getFullUser#ca30a5b1 id:InputUser = UserFull;
	UsersGetFullUser(context.Context, *TLUsersGetFullUser) (*UserFull, error)
}

type ReceivedNotifyMessage

type ReceivedNotifyMessage struct {
	Constructor TLConstructor               `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ReceivedNotifyMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ReceivedNotifyMessage) Decode

func (m *ReceivedNotifyMessage) Decode(dbuf *DecodeBuf) error

func (*ReceivedNotifyMessage) Descriptor

func (*ReceivedNotifyMessage) Descriptor() ([]byte, []int)

func (*ReceivedNotifyMessage) Encode

func (m *ReceivedNotifyMessage) Encode() []byte

func (*ReceivedNotifyMessage) GetConstructor

func (m *ReceivedNotifyMessage) GetConstructor() TLConstructor

func (*ReceivedNotifyMessage) GetData2

func (*ReceivedNotifyMessage) ProtoMessage

func (*ReceivedNotifyMessage) ProtoMessage()

func (*ReceivedNotifyMessage) Reset

func (m *ReceivedNotifyMessage) Reset()

func (*ReceivedNotifyMessage) String

func (m *ReceivedNotifyMessage) String() string

func (*ReceivedNotifyMessage) To_ReceivedNotifyMessage

func (m *ReceivedNotifyMessage) To_ReceivedNotifyMessage() *TLReceivedNotifyMessage

receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;

type ReceivedNotifyMessage_Data

type ReceivedNotifyMessage_Data struct {
	Id    int32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Flags int32 `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ReceivedNotifyMessage <--

  • TL_receivedNotifyMessage

func (*ReceivedNotifyMessage_Data) Descriptor

func (*ReceivedNotifyMessage_Data) Descriptor() ([]byte, []int)

func (*ReceivedNotifyMessage_Data) GetFlags

func (m *ReceivedNotifyMessage_Data) GetFlags() int32

func (*ReceivedNotifyMessage_Data) GetId

func (m *ReceivedNotifyMessage_Data) GetId() int32

func (*ReceivedNotifyMessage_Data) ProtoMessage

func (*ReceivedNotifyMessage_Data) ProtoMessage()

func (*ReceivedNotifyMessage_Data) Reset

func (m *ReceivedNotifyMessage_Data) Reset()

func (*ReceivedNotifyMessage_Data) String

func (m *ReceivedNotifyMessage_Data) String() string

type RecentMeUrl

type RecentMeUrl struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*RecentMeUrl) Decode

func (m *RecentMeUrl) Decode(dbuf *DecodeBuf) error

func (*RecentMeUrl) Descriptor

func (*RecentMeUrl) Descriptor() ([]byte, []int)

func (*RecentMeUrl) Encode

func (m *RecentMeUrl) Encode() []byte

func (*RecentMeUrl) GetConstructor

func (m *RecentMeUrl) GetConstructor() TLConstructor

func (*RecentMeUrl) GetData2

func (m *RecentMeUrl) GetData2() *RecentMeUrl_Data

func (*RecentMeUrl) ProtoMessage

func (*RecentMeUrl) ProtoMessage()

func (*RecentMeUrl) Reset

func (m *RecentMeUrl) Reset()

func (*RecentMeUrl) String

func (m *RecentMeUrl) String() string

func (*RecentMeUrl) To_RecentMeUrlChat

func (m *RecentMeUrl) To_RecentMeUrlChat() *TLRecentMeUrlChat

recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl;

func (*RecentMeUrl) To_RecentMeUrlChatInvite

func (m *RecentMeUrl) To_RecentMeUrlChatInvite() *TLRecentMeUrlChatInvite

recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl;

func (*RecentMeUrl) To_RecentMeUrlStickerSet

func (m *RecentMeUrl) To_RecentMeUrlStickerSet() *TLRecentMeUrlStickerSet

recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl;

func (*RecentMeUrl) To_RecentMeUrlUnknown

func (m *RecentMeUrl) To_RecentMeUrlUnknown() *TLRecentMeUrlUnknown

recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl;

func (*RecentMeUrl) To_RecentMeUrlUser

func (m *RecentMeUrl) To_RecentMeUrlUser() *TLRecentMeUrlUser

recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl;

type RecentMeUrl_Data

type RecentMeUrl_Data struct {
	Url        string             `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	UserId     int32              `protobuf:"varint,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	ChatId     int32              `protobuf:"varint,3,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	ChatInvite *ChatInvite        `protobuf:"bytes,4,opt,name=chat_invite,json=chatInvite" json:"chat_invite,omitempty"`
	Set        *StickerSetCovered `protobuf:"bytes,5,opt,name=set" json:"set,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// RecentMeUrl <--

  • TL_recentMeUrlUnknown
  • TL_recentMeUrlUser
  • TL_recentMeUrlChat
  • TL_recentMeUrlChatInvite
  • TL_recentMeUrlStickerSet

func (*RecentMeUrl_Data) Descriptor

func (*RecentMeUrl_Data) Descriptor() ([]byte, []int)

func (*RecentMeUrl_Data) GetChatId

func (m *RecentMeUrl_Data) GetChatId() int32

func (*RecentMeUrl_Data) GetChatInvite

func (m *RecentMeUrl_Data) GetChatInvite() *ChatInvite

func (*RecentMeUrl_Data) GetSet

func (m *RecentMeUrl_Data) GetSet() *StickerSetCovered

func (*RecentMeUrl_Data) GetUrl

func (m *RecentMeUrl_Data) GetUrl() string

func (*RecentMeUrl_Data) GetUserId

func (m *RecentMeUrl_Data) GetUserId() int32

func (*RecentMeUrl_Data) ProtoMessage

func (*RecentMeUrl_Data) ProtoMessage()

func (*RecentMeUrl_Data) Reset

func (m *RecentMeUrl_Data) Reset()

func (*RecentMeUrl_Data) String

func (m *RecentMeUrl_Data) String() string

type ReplyMarkup

type ReplyMarkup struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ReplyMarkup_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ReplyMarkup) Decode

func (m *ReplyMarkup) Decode(dbuf *DecodeBuf) error

func (*ReplyMarkup) Descriptor

func (*ReplyMarkup) Descriptor() ([]byte, []int)

func (*ReplyMarkup) Encode

func (m *ReplyMarkup) Encode() []byte

func (*ReplyMarkup) GetConstructor

func (m *ReplyMarkup) GetConstructor() TLConstructor

func (*ReplyMarkup) GetData2

func (m *ReplyMarkup) GetData2() *ReplyMarkup_Data

func (*ReplyMarkup) ProtoMessage

func (*ReplyMarkup) ProtoMessage()

func (*ReplyMarkup) Reset

func (m *ReplyMarkup) Reset()

func (*ReplyMarkup) String

func (m *ReplyMarkup) String() string

func (*ReplyMarkup) To_ReplyInlineMarkup

func (m *ReplyMarkup) To_ReplyInlineMarkup() *TLReplyInlineMarkup

replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup;

func (*ReplyMarkup) To_ReplyKeyboardForceReply

func (m *ReplyMarkup) To_ReplyKeyboardForceReply() *TLReplyKeyboardForceReply

replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup;

func (*ReplyMarkup) To_ReplyKeyboardHide

func (m *ReplyMarkup) To_ReplyKeyboardHide() *TLReplyKeyboardHide

replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;

func (*ReplyMarkup) To_ReplyKeyboardMarkup

func (m *ReplyMarkup) To_ReplyKeyboardMarkup() *TLReplyKeyboardMarkup

replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;

type ReplyMarkup_Data

type ReplyMarkup_Data struct {
	Selective bool                 `protobuf:"varint,1,opt,name=selective" json:"selective,omitempty"`
	SingleUse bool                 `protobuf:"varint,2,opt,name=single_use,json=singleUse" json:"single_use,omitempty"`
	Resize    bool                 `protobuf:"varint,3,opt,name=resize" json:"resize,omitempty"`
	Rows      []*KeyboardButtonRow `protobuf:"bytes,4,rep,name=rows" json:"rows,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ReplyMarkup <--

  • TL_replyKeyboardHide
  • TL_replyKeyboardForceReply
  • TL_replyKeyboardMarkup
  • TL_replyInlineMarkup

func (*ReplyMarkup_Data) Descriptor

func (*ReplyMarkup_Data) Descriptor() ([]byte, []int)

func (*ReplyMarkup_Data) GetResize

func (m *ReplyMarkup_Data) GetResize() bool

func (*ReplyMarkup_Data) GetRows

func (m *ReplyMarkup_Data) GetRows() []*KeyboardButtonRow

func (*ReplyMarkup_Data) GetSelective

func (m *ReplyMarkup_Data) GetSelective() bool

func (*ReplyMarkup_Data) GetSingleUse

func (m *ReplyMarkup_Data) GetSingleUse() bool

func (*ReplyMarkup_Data) ProtoMessage

func (*ReplyMarkup_Data) ProtoMessage()

func (*ReplyMarkup_Data) Reset

func (m *ReplyMarkup_Data) Reset()

func (*ReplyMarkup_Data) String

func (m *ReplyMarkup_Data) String() string

type ReportReason

type ReportReason struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ReportReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ReportReason) Decode

func (m *ReportReason) Decode(dbuf *DecodeBuf) error

func (*ReportReason) Descriptor

func (*ReportReason) Descriptor() ([]byte, []int)

func (*ReportReason) Encode

func (m *ReportReason) Encode() []byte

func (*ReportReason) GetConstructor

func (m *ReportReason) GetConstructor() TLConstructor

func (*ReportReason) GetData2

func (m *ReportReason) GetData2() *ReportReason_Data

func (*ReportReason) ProtoMessage

func (*ReportReason) ProtoMessage()

func (*ReportReason) Reset

func (m *ReportReason) Reset()

func (*ReportReason) String

func (m *ReportReason) String() string

func (*ReportReason) To_InputReportReasonOther

func (m *ReportReason) To_InputReportReasonOther() *TLInputReportReasonOther

inputReportReasonOther#e1746d0a text:string = ReportReason;

func (*ReportReason) To_InputReportReasonPornography

func (m *ReportReason) To_InputReportReasonPornography() *TLInputReportReasonPornography

inputReportReasonPornography#2e59d922 = ReportReason;

func (*ReportReason) To_InputReportReasonSpam

func (m *ReportReason) To_InputReportReasonSpam() *TLInputReportReasonSpam

inputReportReasonSpam#58dbcab8 = ReportReason;

func (*ReportReason) To_InputReportReasonViolence

func (m *ReportReason) To_InputReportReasonViolence() *TLInputReportReasonViolence

inputReportReasonViolence#1e22c78d = ReportReason;

type ReportReason_Data

type ReportReason_Data struct {
	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ReportReason <--

  • TL_inputReportReasonSpam
  • TL_inputReportReasonViolence
  • TL_inputReportReasonPornography
  • TL_inputReportReasonOther

func (*ReportReason_Data) Descriptor

func (*ReportReason_Data) Descriptor() ([]byte, []int)

func (*ReportReason_Data) GetText

func (m *ReportReason_Data) GetText() string

func (*ReportReason_Data) ProtoMessage

func (*ReportReason_Data) ProtoMessage()

func (*ReportReason_Data) Reset

func (m *ReportReason_Data) Reset()

func (*ReportReason_Data) String

func (m *ReportReason_Data) String() string

type ResPQ

type ResPQ struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ResPQ_Data   `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ResPQ) Decode

func (m *ResPQ) Decode(dbuf *DecodeBuf) error

func (*ResPQ) Descriptor

func (*ResPQ) Descriptor() ([]byte, []int)

func (*ResPQ) Encode

func (m *ResPQ) Encode() []byte

func (*ResPQ) GetConstructor

func (m *ResPQ) GetConstructor() TLConstructor

func (*ResPQ) GetData2

func (m *ResPQ) GetData2() *ResPQ_Data

func (*ResPQ) ProtoMessage

func (*ResPQ) ProtoMessage()

func (*ResPQ) Reset

func (m *ResPQ) Reset()

func (*ResPQ) String

func (m *ResPQ) String() string

func (*ResPQ) To_ResPQ

func (m *ResPQ) To_ResPQ() *TLResPQ

resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector<long> = ResPQ;

type ResPQ_Data

type ResPQ_Data struct {
	Nonce                       []byte  `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce                 []byte  `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	Pq                          string  `protobuf:"bytes,3,opt,name=pq" json:"pq,omitempty"`
	ServerPublicKeyFingerprints []int64 `` /* 147-byte string literal not displayed */
}

///////////////////////////////////////////////////////////////////////////// ResPQ <--

  • TL_resPQ

func (*ResPQ_Data) Descriptor

func (*ResPQ_Data) Descriptor() ([]byte, []int)

func (*ResPQ_Data) GetNonce

func (m *ResPQ_Data) GetNonce() []byte

func (*ResPQ_Data) GetPq

func (m *ResPQ_Data) GetPq() string

func (*ResPQ_Data) GetServerNonce

func (m *ResPQ_Data) GetServerNonce() []byte

func (*ResPQ_Data) GetServerPublicKeyFingerprints

func (m *ResPQ_Data) GetServerPublicKeyFingerprints() []int64

func (*ResPQ_Data) ProtoMessage

func (*ResPQ_Data) ProtoMessage()

func (*ResPQ_Data) Reset

func (m *ResPQ_Data) Reset()

func (*ResPQ_Data) String

func (m *ResPQ_Data) String() string

type RichText

type RichText struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*RichText) Decode

func (m *RichText) Decode(dbuf *DecodeBuf) error

func (*RichText) Descriptor

func (*RichText) Descriptor() ([]byte, []int)

func (*RichText) Encode

func (m *RichText) Encode() []byte

func (*RichText) GetConstructor

func (m *RichText) GetConstructor() TLConstructor

func (*RichText) GetData2

func (m *RichText) GetData2() *RichText_Data

func (*RichText) ProtoMessage

func (*RichText) ProtoMessage()

func (*RichText) Reset

func (m *RichText) Reset()

func (*RichText) String

func (m *RichText) String() string

func (*RichText) To_TextBold

func (m *RichText) To_TextBold() *TLTextBold

textBold#6724abc4 text:RichText = RichText;

func (*RichText) To_TextConcat

func (m *RichText) To_TextConcat() *TLTextConcat

textConcat#7e6260d7 texts:Vector<RichText> = RichText;

func (*RichText) To_TextEmail

func (m *RichText) To_TextEmail() *TLTextEmail

textEmail#de5a0dd6 text:RichText email:string = RichText;

func (*RichText) To_TextEmpty

func (m *RichText) To_TextEmpty() *TLTextEmpty

textEmpty#dc3d824f = RichText;

func (*RichText) To_TextFixed

func (m *RichText) To_TextFixed() *TLTextFixed

textFixed#6c3f19b9 text:RichText = RichText;

func (*RichText) To_TextItalic

func (m *RichText) To_TextItalic() *TLTextItalic

textItalic#d912a59c text:RichText = RichText;

func (*RichText) To_TextPlain

func (m *RichText) To_TextPlain() *TLTextPlain

textPlain#744694e0 text:string = RichText;

func (*RichText) To_TextStrike

func (m *RichText) To_TextStrike() *TLTextStrike

textStrike#9bf8bb95 text:RichText = RichText;

func (*RichText) To_TextUnderline

func (m *RichText) To_TextUnderline() *TLTextUnderline

textUnderline#c12622c4 text:RichText = RichText;

func (*RichText) To_TextUrl

func (m *RichText) To_TextUrl() *TLTextUrl

textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText;

type RichText_Data

type RichText_Data struct {
	Text_1    string      `protobuf:"bytes,1,opt,name=text_1,json=text1" json:"text_1,omitempty"`
	Text_2    *RichText   `protobuf:"bytes,2,opt,name=text_2,json=text2" json:"text_2,omitempty"`
	Url       string      `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	WebpageId int64       `protobuf:"varint,4,opt,name=webpage_id,json=webpageId" json:"webpage_id,omitempty"`
	Email     string      `protobuf:"bytes,5,opt,name=email" json:"email,omitempty"`
	Texts     []*RichText `protobuf:"bytes,6,rep,name=texts" json:"texts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// RichText <--

  • TL_textEmpty
  • TL_textPlain
  • TL_textBold
  • TL_textItalic
  • TL_textUnderline
  • TL_textStrike
  • TL_textFixed
  • TL_textUrl
  • TL_textEmail
  • TL_textConcat

func (*RichText_Data) Descriptor

func (*RichText_Data) Descriptor() ([]byte, []int)

func (*RichText_Data) GetEmail

func (m *RichText_Data) GetEmail() string

func (*RichText_Data) GetText_1

func (m *RichText_Data) GetText_1() string

func (*RichText_Data) GetText_2

func (m *RichText_Data) GetText_2() *RichText

func (*RichText_Data) GetTexts

func (m *RichText_Data) GetTexts() []*RichText

func (*RichText_Data) GetUrl

func (m *RichText_Data) GetUrl() string

func (*RichText_Data) GetWebpageId

func (m *RichText_Data) GetWebpageId() int64

func (*RichText_Data) ProtoMessage

func (*RichText_Data) ProtoMessage()

func (*RichText_Data) Reset

func (m *RichText_Data) Reset()

func (*RichText_Data) String

func (m *RichText_Data) String() string

type RpcDropAnswer

type RpcDropAnswer struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *RpcDropAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*RpcDropAnswer) Decode

func (m *RpcDropAnswer) Decode(dbuf *DecodeBuf) error

func (*RpcDropAnswer) Descriptor

func (*RpcDropAnswer) Descriptor() ([]byte, []int)

func (*RpcDropAnswer) Encode

func (m *RpcDropAnswer) Encode() []byte

func (*RpcDropAnswer) GetConstructor

func (m *RpcDropAnswer) GetConstructor() TLConstructor

func (*RpcDropAnswer) GetData2

func (m *RpcDropAnswer) GetData2() *RpcDropAnswer_Data

func (*RpcDropAnswer) ProtoMessage

func (*RpcDropAnswer) ProtoMessage()

func (*RpcDropAnswer) Reset

func (m *RpcDropAnswer) Reset()

func (*RpcDropAnswer) String

func (m *RpcDropAnswer) String() string

func (*RpcDropAnswer) To_RpcAnswerDropped

func (m *RpcDropAnswer) To_RpcAnswerDropped() *TLRpcAnswerDropped

rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer;

func (*RpcDropAnswer) To_RpcAnswerDroppedRunning

func (m *RpcDropAnswer) To_RpcAnswerDroppedRunning() *TLRpcAnswerDroppedRunning

rpc_answer_dropped_running#cd78e586 = RpcDropAnswer;

func (*RpcDropAnswer) To_RpcAnswerUnknown

func (m *RpcDropAnswer) To_RpcAnswerUnknown() *TLRpcAnswerUnknown

rpc_answer_unknown#5e2ad36e = RpcDropAnswer;

type RpcDropAnswer_Data

type RpcDropAnswer_Data struct {
	MsgId int64 `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	SeqNo int32 `protobuf:"varint,2,opt,name=seq_no,json=seqNo" json:"seq_no,omitempty"`
	Bytes int32 `protobuf:"varint,3,opt,name=bytes" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// RpcDropAnswer <--

  • TL_rpc_answer_unknown
  • TL_rpc_answer_dropped_running
  • TL_rpc_answer_dropped

func (*RpcDropAnswer_Data) Descriptor

func (*RpcDropAnswer_Data) Descriptor() ([]byte, []int)

func (*RpcDropAnswer_Data) GetBytes

func (m *RpcDropAnswer_Data) GetBytes() int32

func (*RpcDropAnswer_Data) GetMsgId

func (m *RpcDropAnswer_Data) GetMsgId() int64

func (*RpcDropAnswer_Data) GetSeqNo

func (m *RpcDropAnswer_Data) GetSeqNo() int32

func (*RpcDropAnswer_Data) ProtoMessage

func (*RpcDropAnswer_Data) ProtoMessage()

func (*RpcDropAnswer_Data) Reset

func (m *RpcDropAnswer_Data) Reset()

func (*RpcDropAnswer_Data) String

func (m *RpcDropAnswer_Data) String() string

type RpcError

type RpcError struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *RpcError_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*RpcError) Decode

func (m *RpcError) Decode(dbuf *DecodeBuf) error

func (*RpcError) Descriptor

func (*RpcError) Descriptor() ([]byte, []int)

func (*RpcError) Encode

func (m *RpcError) Encode() []byte

func (*RpcError) GetConstructor

func (m *RpcError) GetConstructor() TLConstructor

func (*RpcError) GetData2

func (m *RpcError) GetData2() *RpcError_Data

func (*RpcError) ProtoMessage

func (*RpcError) ProtoMessage()

func (*RpcError) Reset

func (m *RpcError) Reset()

func (*RpcError) String

func (m *RpcError) String() string

func (*RpcError) To_RpcError

func (m *RpcError) To_RpcError() *TLRpcError

rpc_error#2144ca19 error_code:int error_message:string = RpcError;

type RpcError_Data

type RpcError_Data struct {
	ErrorCode    int32  `protobuf:"varint,1,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// RpcError <--

  • TL_rpc_error

func (*RpcError_Data) Descriptor

func (*RpcError_Data) Descriptor() ([]byte, []int)

func (*RpcError_Data) GetErrorCode

func (m *RpcError_Data) GetErrorCode() int32

func (*RpcError_Data) GetErrorMessage

func (m *RpcError_Data) GetErrorMessage() string

func (*RpcError_Data) ProtoMessage

func (*RpcError_Data) ProtoMessage()

func (*RpcError_Data) Reset

func (m *RpcError_Data) Reset()

func (*RpcError_Data) String

func (m *RpcError_Data) String() string

type RpcResultData

type RpcResultData struct {
	// int32 rpc_result_type = 1;
	Updates          *Updates                    `protobuf:"bytes,2,opt,name=updates" json:"updates,omitempty"`
	AffectedHistory  *TLMessagesAffectedHistory  `protobuf:"bytes,3,opt,name=affected_history,json=affectedHistory" json:"affected_history,omitempty"`
	AffectedMessages *TLMessagesAffectedMessages `protobuf:"bytes,4,opt,name=affected_messages,json=affectedMessages" json:"affected_messages,omitempty"`
}

Updates messages_affectedHistory messages_affectedMessages

func (*RpcResultData) Descriptor

func (*RpcResultData) Descriptor() ([]byte, []int)

func (*RpcResultData) GetAffectedHistory

func (m *RpcResultData) GetAffectedHistory() *TLMessagesAffectedHistory

func (*RpcResultData) GetAffectedMessages

func (m *RpcResultData) GetAffectedMessages() *TLMessagesAffectedMessages

func (*RpcResultData) GetUpdates

func (m *RpcResultData) GetUpdates() *Updates

func (*RpcResultData) ProtoMessage

func (*RpcResultData) ProtoMessage()

func (*RpcResultData) Reset

func (m *RpcResultData) Reset()

func (*RpcResultData) String

func (m *RpcResultData) String() string

type Scheme

type Scheme struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Scheme_Data  `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Scheme) Decode

func (m *Scheme) Decode(dbuf *DecodeBuf) error

func (*Scheme) Descriptor

func (*Scheme) Descriptor() ([]byte, []int)

func (*Scheme) Encode

func (m *Scheme) Encode() []byte

func (*Scheme) GetConstructor

func (m *Scheme) GetConstructor() TLConstructor

func (*Scheme) GetData2

func (m *Scheme) GetData2() *Scheme_Data

func (*Scheme) ProtoMessage

func (*Scheme) ProtoMessage()

func (*Scheme) Reset

func (m *Scheme) Reset()

func (*Scheme) String

func (m *Scheme) String() string

func (*Scheme) To_Scheme

func (m *Scheme) To_Scheme() *TLScheme

scheme#4e6ef65e scheme_raw:string types:Vector<SchemeType> methods:Vector<SchemeMethod> version:int = Scheme;

func (*Scheme) To_SchemeNotModified

func (m *Scheme) To_SchemeNotModified() *TLSchemeNotModified

schemeNotModified#263c9c58 = Scheme;

type SchemeMethod

type SchemeMethod struct {
	Constructor TLConstructor      `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *SchemeMethod_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*SchemeMethod) Decode

func (m *SchemeMethod) Decode(dbuf *DecodeBuf) error

func (*SchemeMethod) Descriptor

func (*SchemeMethod) Descriptor() ([]byte, []int)

func (*SchemeMethod) Encode

func (m *SchemeMethod) Encode() []byte

func (*SchemeMethod) GetConstructor

func (m *SchemeMethod) GetConstructor() TLConstructor

func (*SchemeMethod) GetData2

func (m *SchemeMethod) GetData2() *SchemeMethod_Data

func (*SchemeMethod) ProtoMessage

func (*SchemeMethod) ProtoMessage()

func (*SchemeMethod) Reset

func (m *SchemeMethod) Reset()

func (*SchemeMethod) String

func (m *SchemeMethod) String() string

func (*SchemeMethod) To_SchemeMethod

func (m *SchemeMethod) To_SchemeMethod() *TLSchemeMethod

schemeMethod#479357c0 id:int method:string params:Vector<SchemeParam> type:string = SchemeMethod;

type SchemeMethod_Data

type SchemeMethod_Data struct {
	Id     int32          `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Method string         `protobuf:"bytes,2,opt,name=method" json:"method,omitempty"`
	Params []*SchemeParam `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"`
	Type   string         `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// SchemeMethod <--

  • TL_schemeMethod

func (*SchemeMethod_Data) Descriptor

func (*SchemeMethod_Data) Descriptor() ([]byte, []int)

func (*SchemeMethod_Data) GetId

func (m *SchemeMethod_Data) GetId() int32

func (*SchemeMethod_Data) GetMethod

func (m *SchemeMethod_Data) GetMethod() string

func (*SchemeMethod_Data) GetParams

func (m *SchemeMethod_Data) GetParams() []*SchemeParam

func (*SchemeMethod_Data) GetType

func (m *SchemeMethod_Data) GetType() string

func (*SchemeMethod_Data) ProtoMessage

func (*SchemeMethod_Data) ProtoMessage()

func (*SchemeMethod_Data) Reset

func (m *SchemeMethod_Data) Reset()

func (*SchemeMethod_Data) String

func (m *SchemeMethod_Data) String() string

type SchemeParam

type SchemeParam struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *SchemeParam_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*SchemeParam) Decode

func (m *SchemeParam) Decode(dbuf *DecodeBuf) error

func (*SchemeParam) Descriptor

func (*SchemeParam) Descriptor() ([]byte, []int)

func (*SchemeParam) Encode

func (m *SchemeParam) Encode() []byte

func (*SchemeParam) GetConstructor

func (m *SchemeParam) GetConstructor() TLConstructor

func (*SchemeParam) GetData2

func (m *SchemeParam) GetData2() *SchemeParam_Data

func (*SchemeParam) ProtoMessage

func (*SchemeParam) ProtoMessage()

func (*SchemeParam) Reset

func (m *SchemeParam) Reset()

func (*SchemeParam) String

func (m *SchemeParam) String() string

func (*SchemeParam) To_SchemeParam

func (m *SchemeParam) To_SchemeParam() *TLSchemeParam

schemeParam#21b59bef name:string type:string = SchemeParam;

type SchemeParam_Data

type SchemeParam_Data struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// SchemeParam <--

  • TL_schemeParam

func (*SchemeParam_Data) Descriptor

func (*SchemeParam_Data) Descriptor() ([]byte, []int)

func (*SchemeParam_Data) GetName

func (m *SchemeParam_Data) GetName() string

func (*SchemeParam_Data) GetType

func (m *SchemeParam_Data) GetType() string

func (*SchemeParam_Data) ProtoMessage

func (*SchemeParam_Data) ProtoMessage()

func (*SchemeParam_Data) Reset

func (m *SchemeParam_Data) Reset()

func (*SchemeParam_Data) String

func (m *SchemeParam_Data) String() string

type SchemeType

type SchemeType struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *SchemeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*SchemeType) Decode

func (m *SchemeType) Decode(dbuf *DecodeBuf) error

func (*SchemeType) Descriptor

func (*SchemeType) Descriptor() ([]byte, []int)

func (*SchemeType) Encode

func (m *SchemeType) Encode() []byte

func (*SchemeType) GetConstructor

func (m *SchemeType) GetConstructor() TLConstructor

func (*SchemeType) GetData2

func (m *SchemeType) GetData2() *SchemeType_Data

func (*SchemeType) ProtoMessage

func (*SchemeType) ProtoMessage()

func (*SchemeType) Reset

func (m *SchemeType) Reset()

func (*SchemeType) String

func (m *SchemeType) String() string

func (*SchemeType) To_SchemeType

func (m *SchemeType) To_SchemeType() *TLSchemeType

schemeType#a8e1e989 id:int predicate:string params:Vector<SchemeParam> type:string = SchemeType;

type SchemeType_Data

type SchemeType_Data struct {
	Id        int32          `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Predicate string         `protobuf:"bytes,2,opt,name=predicate" json:"predicate,omitempty"`
	Params    []*SchemeParam `protobuf:"bytes,3,rep,name=params" json:"params,omitempty"`
	Type      string         `protobuf:"bytes,4,opt,name=type" json:"type,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// SchemeType <--

  • TL_schemeType

func (*SchemeType_Data) Descriptor

func (*SchemeType_Data) Descriptor() ([]byte, []int)

func (*SchemeType_Data) GetId

func (m *SchemeType_Data) GetId() int32

func (*SchemeType_Data) GetParams

func (m *SchemeType_Data) GetParams() []*SchemeParam

func (*SchemeType_Data) GetPredicate

func (m *SchemeType_Data) GetPredicate() string

func (*SchemeType_Data) GetType

func (m *SchemeType_Data) GetType() string

func (*SchemeType_Data) ProtoMessage

func (*SchemeType_Data) ProtoMessage()

func (*SchemeType_Data) Reset

func (m *SchemeType_Data) Reset()

func (*SchemeType_Data) String

func (m *SchemeType_Data) String() string

type Scheme_Data

type Scheme_Data struct {
	SchemeRaw string          `protobuf:"bytes,1,opt,name=scheme_raw,json=schemeRaw" json:"scheme_raw,omitempty"`
	Types     []*SchemeType   `protobuf:"bytes,2,rep,name=types" json:"types,omitempty"`
	Methods   []*SchemeMethod `protobuf:"bytes,3,rep,name=methods" json:"methods,omitempty"`
	Version   int32           `protobuf:"varint,4,opt,name=version" json:"version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Scheme <--

  • TL_schemeNotModified
  • TL_scheme

func (*Scheme_Data) Descriptor

func (*Scheme_Data) Descriptor() ([]byte, []int)

func (*Scheme_Data) GetMethods

func (m *Scheme_Data) GetMethods() []*SchemeMethod

func (*Scheme_Data) GetSchemeRaw

func (m *Scheme_Data) GetSchemeRaw() string

func (*Scheme_Data) GetTypes

func (m *Scheme_Data) GetTypes() []*SchemeType

func (*Scheme_Data) GetVersion

func (m *Scheme_Data) GetVersion() int32

func (*Scheme_Data) ProtoMessage

func (*Scheme_Data) ProtoMessage()

func (*Scheme_Data) Reset

func (m *Scheme_Data) Reset()

func (*Scheme_Data) String

func (m *Scheme_Data) String() string

type SendMessageAction

type SendMessageAction struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*SendMessageAction) Decode

func (m *SendMessageAction) Decode(dbuf *DecodeBuf) error

func (*SendMessageAction) Descriptor

func (*SendMessageAction) Descriptor() ([]byte, []int)

func (*SendMessageAction) Encode

func (m *SendMessageAction) Encode() []byte

func (*SendMessageAction) GetConstructor

func (m *SendMessageAction) GetConstructor() TLConstructor

func (*SendMessageAction) GetData2

func (*SendMessageAction) ProtoMessage

func (*SendMessageAction) ProtoMessage()

func (*SendMessageAction) Reset

func (m *SendMessageAction) Reset()

func (*SendMessageAction) String

func (m *SendMessageAction) String() string

func (*SendMessageAction) To_SendMessageCancelAction

func (m *SendMessageAction) To_SendMessageCancelAction() *TLSendMessageCancelAction

sendMessageCancelAction#fd5ec8f5 = SendMessageAction;

func (*SendMessageAction) To_SendMessageChooseContactAction

func (m *SendMessageAction) To_SendMessageChooseContactAction() *TLSendMessageChooseContactAction

sendMessageChooseContactAction#628cbc6f = SendMessageAction;

func (*SendMessageAction) To_SendMessageGamePlayAction

func (m *SendMessageAction) To_SendMessageGamePlayAction() *TLSendMessageGamePlayAction

sendMessageGamePlayAction#dd6a8f48 = SendMessageAction;

func (*SendMessageAction) To_SendMessageGeoLocationAction

func (m *SendMessageAction) To_SendMessageGeoLocationAction() *TLSendMessageGeoLocationAction

sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;

func (*SendMessageAction) To_SendMessageRecordAudioAction

func (m *SendMessageAction) To_SendMessageRecordAudioAction() *TLSendMessageRecordAudioAction

sendMessageRecordAudioAction#d52f73f7 = SendMessageAction;

func (*SendMessageAction) To_SendMessageRecordRoundAction

func (m *SendMessageAction) To_SendMessageRecordRoundAction() *TLSendMessageRecordRoundAction

sendMessageRecordRoundAction#88f27fbc = SendMessageAction;

func (*SendMessageAction) To_SendMessageRecordVideoAction

func (m *SendMessageAction) To_SendMessageRecordVideoAction() *TLSendMessageRecordVideoAction

sendMessageRecordVideoAction#a187d66f = SendMessageAction;

func (*SendMessageAction) To_SendMessageTypingAction

func (m *SendMessageAction) To_SendMessageTypingAction() *TLSendMessageTypingAction

sendMessageTypingAction#16bf744e = SendMessageAction;

func (*SendMessageAction) To_SendMessageUploadAudioAction

func (m *SendMessageAction) To_SendMessageUploadAudioAction() *TLSendMessageUploadAudioAction

sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction;

func (*SendMessageAction) To_SendMessageUploadDocumentAction

func (m *SendMessageAction) To_SendMessageUploadDocumentAction() *TLSendMessageUploadDocumentAction

sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;

func (*SendMessageAction) To_SendMessageUploadPhotoAction

func (m *SendMessageAction) To_SendMessageUploadPhotoAction() *TLSendMessageUploadPhotoAction

sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;

func (*SendMessageAction) To_SendMessageUploadRoundAction

func (m *SendMessageAction) To_SendMessageUploadRoundAction() *TLSendMessageUploadRoundAction

sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;

func (*SendMessageAction) To_SendMessageUploadVideoAction

func (m *SendMessageAction) To_SendMessageUploadVideoAction() *TLSendMessageUploadVideoAction

sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction;

type SendMessageAction_Data

type SendMessageAction_Data struct {
	Progress int32 `protobuf:"varint,1,opt,name=progress" json:"progress,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// SendMessageAction <--

  • TL_sendMessageTypingAction
  • TL_sendMessageCancelAction
  • TL_sendMessageRecordVideoAction
  • TL_sendMessageUploadVideoAction
  • TL_sendMessageRecordAudioAction
  • TL_sendMessageUploadAudioAction
  • TL_sendMessageUploadPhotoAction
  • TL_sendMessageUploadDocumentAction
  • TL_sendMessageGeoLocationAction
  • TL_sendMessageChooseContactAction
  • TL_sendMessageGamePlayAction
  • TL_sendMessageRecordRoundAction
  • TL_sendMessageUploadRoundAction

func (*SendMessageAction_Data) Descriptor

func (*SendMessageAction_Data) Descriptor() ([]byte, []int)

func (*SendMessageAction_Data) GetProgress

func (m *SendMessageAction_Data) GetProgress() int32

func (*SendMessageAction_Data) ProtoMessage

func (*SendMessageAction_Data) ProtoMessage()

func (*SendMessageAction_Data) Reset

func (m *SendMessageAction_Data) Reset()

func (*SendMessageAction_Data) String

func (m *SendMessageAction_Data) String() string

type Server_DHInnerData

type Server_DHInnerData struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Server_DHInnerData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Server_DHInnerData) Decode

func (m *Server_DHInnerData) Decode(dbuf *DecodeBuf) error

func (*Server_DHInnerData) Descriptor

func (*Server_DHInnerData) Descriptor() ([]byte, []int)

func (*Server_DHInnerData) Encode

func (m *Server_DHInnerData) Encode() []byte

func (*Server_DHInnerData) GetConstructor

func (m *Server_DHInnerData) GetConstructor() TLConstructor

func (*Server_DHInnerData) GetData2

func (*Server_DHInnerData) ProtoMessage

func (*Server_DHInnerData) ProtoMessage()

func (*Server_DHInnerData) Reset

func (m *Server_DHInnerData) Reset()

func (*Server_DHInnerData) String

func (m *Server_DHInnerData) String() string

func (*Server_DHInnerData) To_Server_DHInnerData

func (m *Server_DHInnerData) To_Server_DHInnerData() *TLServer_DHInnerData

server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;

type Server_DHInnerData_Data

type Server_DHInnerData_Data struct {
	Nonce       []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	G           int32  `protobuf:"varint,3,opt,name=g" json:"g,omitempty"`
	DhPrime     string `protobuf:"bytes,4,opt,name=dh_prime,json=dhPrime" json:"dh_prime,omitempty"`
	GA          string `protobuf:"bytes,5,opt,name=g_a,json=gA" json:"g_a,omitempty"`
	ServerTime  int32  `protobuf:"varint,6,opt,name=server_time,json=serverTime" json:"server_time,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Server_DH_inner_data <--

  • TL_server_DH_inner_data

func (*Server_DHInnerData_Data) Descriptor

func (*Server_DHInnerData_Data) Descriptor() ([]byte, []int)

func (*Server_DHInnerData_Data) GetDhPrime

func (m *Server_DHInnerData_Data) GetDhPrime() string

func (*Server_DHInnerData_Data) GetG

func (m *Server_DHInnerData_Data) GetG() int32

func (*Server_DHInnerData_Data) GetGA

func (m *Server_DHInnerData_Data) GetGA() string

func (*Server_DHInnerData_Data) GetNonce

func (m *Server_DHInnerData_Data) GetNonce() []byte

func (*Server_DHInnerData_Data) GetServerNonce

func (m *Server_DHInnerData_Data) GetServerNonce() []byte

func (*Server_DHInnerData_Data) GetServerTime

func (m *Server_DHInnerData_Data) GetServerTime() int32

func (*Server_DHInnerData_Data) ProtoMessage

func (*Server_DHInnerData_Data) ProtoMessage()

func (*Server_DHInnerData_Data) Reset

func (m *Server_DHInnerData_Data) Reset()

func (*Server_DHInnerData_Data) String

func (m *Server_DHInnerData_Data) String() string

type Server_DH_Params

type Server_DH_Params struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Server_DH_Params_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Server_DH_Params) Decode

func (m *Server_DH_Params) Decode(dbuf *DecodeBuf) error

func (*Server_DH_Params) Descriptor

func (*Server_DH_Params) Descriptor() ([]byte, []int)

func (*Server_DH_Params) Encode

func (m *Server_DH_Params) Encode() []byte

func (*Server_DH_Params) GetConstructor

func (m *Server_DH_Params) GetConstructor() TLConstructor

func (*Server_DH_Params) GetData2

func (m *Server_DH_Params) GetData2() *Server_DH_Params_Data

func (*Server_DH_Params) ProtoMessage

func (*Server_DH_Params) ProtoMessage()

func (*Server_DH_Params) Reset

func (m *Server_DH_Params) Reset()

func (*Server_DH_Params) String

func (m *Server_DH_Params) String() string

func (*Server_DH_Params) To_Server_DHParamsFail

func (m *Server_DH_Params) To_Server_DHParamsFail() *TLServer_DHParamsFail

server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params;

func (*Server_DH_Params) To_Server_DHParamsOk

func (m *Server_DH_Params) To_Server_DHParamsOk() *TLServer_DHParamsOk

server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;

type Server_DH_Params_Data

type Server_DH_Params_Data struct {
	Nonce           []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce     []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	NewNonceHash    []byte `protobuf:"bytes,3,opt,name=new_nonce_hash,json=newNonceHash,proto3" json:"new_nonce_hash,omitempty"`
	EncryptedAnswer string `protobuf:"bytes,4,opt,name=encrypted_answer,json=encryptedAnswer" json:"encrypted_answer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Server_DH_Params <--

  • TL_server_DH_params_fail
  • TL_server_DH_params_ok

func (*Server_DH_Params_Data) Descriptor

func (*Server_DH_Params_Data) Descriptor() ([]byte, []int)

func (*Server_DH_Params_Data) GetEncryptedAnswer

func (m *Server_DH_Params_Data) GetEncryptedAnswer() string

func (*Server_DH_Params_Data) GetNewNonceHash

func (m *Server_DH_Params_Data) GetNewNonceHash() []byte

func (*Server_DH_Params_Data) GetNonce

func (m *Server_DH_Params_Data) GetNonce() []byte

func (*Server_DH_Params_Data) GetServerNonce

func (m *Server_DH_Params_Data) GetServerNonce() []byte

func (*Server_DH_Params_Data) ProtoMessage

func (*Server_DH_Params_Data) ProtoMessage()

func (*Server_DH_Params_Data) Reset

func (m *Server_DH_Params_Data) Reset()

func (*Server_DH_Params_Data) String

func (m *Server_DH_Params_Data) String() string

type SessionDataMessage

type SessionDataMessage struct {
	MTPMessage *EncryptedMessage2
}

func (*SessionDataMessage) Decode

func (m *SessionDataMessage) Decode(b []byte) error

func (*SessionDataMessage) Encode

func (m *SessionDataMessage) Encode() []byte

type SessionHandshakeMessage

type SessionHandshakeMessage struct {
	State      *HandshakeState
	MTPMessage *UnencryptedMessage
}

/////////////////////////////////////////////////////////////////////////////////////////

func (*SessionHandshakeMessage) Decode

func (m *SessionHandshakeMessage) Decode(b []byte) error

func (*SessionHandshakeMessage) Encode

func (m *SessionHandshakeMessage) Encode() []byte

type SessionServerConnectedRsp

type SessionServerConnectedRsp struct {
	ServerId   int32  `protobuf:"varint,1,opt,name=server_id,json=serverId" json:"server_id,omitempty"`
	ServerName string `protobuf:"bytes,2,opt,name=server_name,json=serverName" json:"server_name,omitempty"`
}

func (*SessionServerConnectedRsp) Descriptor

func (*SessionServerConnectedRsp) Descriptor() ([]byte, []int)

func (*SessionServerConnectedRsp) GetServerId

func (m *SessionServerConnectedRsp) GetServerId() int32

func (*SessionServerConnectedRsp) GetServerName

func (m *SessionServerConnectedRsp) GetServerName() string

func (*SessionServerConnectedRsp) ProtoMessage

func (*SessionServerConnectedRsp) ProtoMessage()

func (*SessionServerConnectedRsp) Reset

func (m *SessionServerConnectedRsp) Reset()

func (*SessionServerConnectedRsp) String

func (m *SessionServerConnectedRsp) String() string

type SetClient_DHParamsAnswer

type SetClient_DHParamsAnswer struct {
	Constructor TLConstructor                  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *SetClient_DHParamsAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*SetClient_DHParamsAnswer) Decode

func (m *SetClient_DHParamsAnswer) Decode(dbuf *DecodeBuf) error

func (*SetClient_DHParamsAnswer) Descriptor

func (*SetClient_DHParamsAnswer) Descriptor() ([]byte, []int)

func (*SetClient_DHParamsAnswer) Encode

func (m *SetClient_DHParamsAnswer) Encode() []byte

func (*SetClient_DHParamsAnswer) GetConstructor

func (m *SetClient_DHParamsAnswer) GetConstructor() TLConstructor

func (*SetClient_DHParamsAnswer) GetData2

func (*SetClient_DHParamsAnswer) ProtoMessage

func (*SetClient_DHParamsAnswer) ProtoMessage()

func (*SetClient_DHParamsAnswer) Reset

func (m *SetClient_DHParamsAnswer) Reset()

func (*SetClient_DHParamsAnswer) String

func (m *SetClient_DHParamsAnswer) String() string

func (*SetClient_DHParamsAnswer) To_DhGenFail

func (m *SetClient_DHParamsAnswer) To_DhGenFail() *TLDhGenFail

dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer;

func (*SetClient_DHParamsAnswer) To_DhGenOk

func (m *SetClient_DHParamsAnswer) To_DhGenOk() *TLDhGenOk

dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;

func (*SetClient_DHParamsAnswer) To_DhGenRetry

func (m *SetClient_DHParamsAnswer) To_DhGenRetry() *TLDhGenRetry

dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer;

type SetClient_DHParamsAnswer_Data

type SetClient_DHParamsAnswer_Data struct {
	Nonce         []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce   []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	NewNonceHash1 []byte `protobuf:"bytes,3,opt,name=new_nonce_hash1,json=newNonceHash1,proto3" json:"new_nonce_hash1,omitempty"`
	NewNonceHash2 []byte `protobuf:"bytes,4,opt,name=new_nonce_hash2,json=newNonceHash2,proto3" json:"new_nonce_hash2,omitempty"`
	NewNonceHash3 []byte `protobuf:"bytes,5,opt,name=new_nonce_hash3,json=newNonceHash3,proto3" json:"new_nonce_hash3,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Set_client_DH_params_answer <--

  • TL_dh_gen_ok
  • TL_dh_gen_retry
  • TL_dh_gen_fail

func (*SetClient_DHParamsAnswer_Data) Descriptor

func (*SetClient_DHParamsAnswer_Data) Descriptor() ([]byte, []int)

func (*SetClient_DHParamsAnswer_Data) GetNewNonceHash1

func (m *SetClient_DHParamsAnswer_Data) GetNewNonceHash1() []byte

func (*SetClient_DHParamsAnswer_Data) GetNewNonceHash2

func (m *SetClient_DHParamsAnswer_Data) GetNewNonceHash2() []byte

func (*SetClient_DHParamsAnswer_Data) GetNewNonceHash3

func (m *SetClient_DHParamsAnswer_Data) GetNewNonceHash3() []byte

func (*SetClient_DHParamsAnswer_Data) GetNonce

func (m *SetClient_DHParamsAnswer_Data) GetNonce() []byte

func (*SetClient_DHParamsAnswer_Data) GetServerNonce

func (m *SetClient_DHParamsAnswer_Data) GetServerNonce() []byte

func (*SetClient_DHParamsAnswer_Data) ProtoMessage

func (*SetClient_DHParamsAnswer_Data) ProtoMessage()

func (*SetClient_DHParamsAnswer_Data) Reset

func (m *SetClient_DHParamsAnswer_Data) Reset()

func (*SetClient_DHParamsAnswer_Data) String

type ShippingOption

type ShippingOption struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *ShippingOption_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*ShippingOption) Decode

func (m *ShippingOption) Decode(dbuf *DecodeBuf) error

func (*ShippingOption) Descriptor

func (*ShippingOption) Descriptor() ([]byte, []int)

func (*ShippingOption) Encode

func (m *ShippingOption) Encode() []byte

func (*ShippingOption) GetConstructor

func (m *ShippingOption) GetConstructor() TLConstructor

func (*ShippingOption) GetData2

func (m *ShippingOption) GetData2() *ShippingOption_Data

func (*ShippingOption) ProtoMessage

func (*ShippingOption) ProtoMessage()

func (*ShippingOption) Reset

func (m *ShippingOption) Reset()

func (*ShippingOption) String

func (m *ShippingOption) String() string

func (*ShippingOption) To_ShippingOption

func (m *ShippingOption) To_ShippingOption() *TLShippingOption

shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption;

type ShippingOption_Data

type ShippingOption_Data struct {
	Id     string          `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Title  string          `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	Prices []*LabeledPrice `protobuf:"bytes,3,rep,name=prices" json:"prices,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ShippingOption <--

  • TL_shippingOption

func (*ShippingOption_Data) Descriptor

func (*ShippingOption_Data) Descriptor() ([]byte, []int)

func (*ShippingOption_Data) GetId

func (m *ShippingOption_Data) GetId() string

func (*ShippingOption_Data) GetPrices

func (m *ShippingOption_Data) GetPrices() []*LabeledPrice

func (*ShippingOption_Data) GetTitle

func (m *ShippingOption_Data) GetTitle() string

func (*ShippingOption_Data) ProtoMessage

func (*ShippingOption_Data) ProtoMessage()

func (*ShippingOption_Data) Reset

func (m *ShippingOption_Data) Reset()

func (*ShippingOption_Data) String

func (m *ShippingOption_Data) String() string

type StickerPack

type StickerPack struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *StickerPack_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*StickerPack) Decode

func (m *StickerPack) Decode(dbuf *DecodeBuf) error

func (*StickerPack) Descriptor

func (*StickerPack) Descriptor() ([]byte, []int)

func (*StickerPack) Encode

func (m *StickerPack) Encode() []byte

func (*StickerPack) GetConstructor

func (m *StickerPack) GetConstructor() TLConstructor

func (*StickerPack) GetData2

func (m *StickerPack) GetData2() *StickerPack_Data

func (*StickerPack) ProtoMessage

func (*StickerPack) ProtoMessage()

func (*StickerPack) Reset

func (m *StickerPack) Reset()

func (*StickerPack) String

func (m *StickerPack) String() string

func (*StickerPack) To_StickerPack

func (m *StickerPack) To_StickerPack() *TLStickerPack

stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;

type StickerPack_Data

type StickerPack_Data struct {
	Emoticon  string  `protobuf:"bytes,1,opt,name=emoticon" json:"emoticon,omitempty"`
	Documents []int64 `protobuf:"varint,2,rep,packed,name=documents" json:"documents,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// StickerPack <--

  • TL_stickerPack

func (*StickerPack_Data) Descriptor

func (*StickerPack_Data) Descriptor() ([]byte, []int)

func (*StickerPack_Data) GetDocuments

func (m *StickerPack_Data) GetDocuments() []int64

func (*StickerPack_Data) GetEmoticon

func (m *StickerPack_Data) GetEmoticon() string

func (*StickerPack_Data) ProtoMessage

func (*StickerPack_Data) ProtoMessage()

func (*StickerPack_Data) Reset

func (m *StickerPack_Data) Reset()

func (*StickerPack_Data) String

func (m *StickerPack_Data) String() string

type StickerSet

type StickerSet struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *StickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*StickerSet) Decode

func (m *StickerSet) Decode(dbuf *DecodeBuf) error

func (*StickerSet) Descriptor

func (*StickerSet) Descriptor() ([]byte, []int)

func (*StickerSet) Encode

func (m *StickerSet) Encode() []byte

func (*StickerSet) GetConstructor

func (m *StickerSet) GetConstructor() TLConstructor

func (*StickerSet) GetData2

func (m *StickerSet) GetData2() *StickerSet_Data

func (*StickerSet) ProtoMessage

func (*StickerSet) ProtoMessage()

func (*StickerSet) Reset

func (m *StickerSet) Reset()

func (*StickerSet) String

func (m *StickerSet) String() string

func (*StickerSet) To_StickerSet

func (m *StickerSet) To_StickerSet() *TLStickerSet

stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet;

type StickerSetCovered

type StickerSetCovered struct {
	Constructor TLConstructor           `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *StickerSetCovered_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*StickerSetCovered) Decode

func (m *StickerSetCovered) Decode(dbuf *DecodeBuf) error

func (*StickerSetCovered) Descriptor

func (*StickerSetCovered) Descriptor() ([]byte, []int)

func (*StickerSetCovered) Encode

func (m *StickerSetCovered) Encode() []byte

func (*StickerSetCovered) GetConstructor

func (m *StickerSetCovered) GetConstructor() TLConstructor

func (*StickerSetCovered) GetData2

func (*StickerSetCovered) ProtoMessage

func (*StickerSetCovered) ProtoMessage()

func (*StickerSetCovered) Reset

func (m *StickerSetCovered) Reset()

func (*StickerSetCovered) String

func (m *StickerSetCovered) String() string

func (*StickerSetCovered) To_StickerSetCovered

func (m *StickerSetCovered) To_StickerSetCovered() *TLStickerSetCovered

stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;

func (*StickerSetCovered) To_StickerSetMultiCovered

func (m *StickerSetCovered) To_StickerSetMultiCovered() *TLStickerSetMultiCovered

stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document> = StickerSetCovered;

type StickerSetCovered_Data

type StickerSetCovered_Data struct {
	Set    *StickerSet `protobuf:"bytes,1,opt,name=set" json:"set,omitempty"`
	Cover  *Document   `protobuf:"bytes,2,opt,name=cover" json:"cover,omitempty"`
	Covers []*Document `protobuf:"bytes,3,rep,name=covers" json:"covers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// StickerSetCovered <--

  • TL_stickerSetCovered
  • TL_stickerSetMultiCovered

func (*StickerSetCovered_Data) Descriptor

func (*StickerSetCovered_Data) Descriptor() ([]byte, []int)

func (*StickerSetCovered_Data) GetCover

func (m *StickerSetCovered_Data) GetCover() *Document

func (*StickerSetCovered_Data) GetCovers

func (m *StickerSetCovered_Data) GetCovers() []*Document

func (*StickerSetCovered_Data) GetSet

func (m *StickerSetCovered_Data) GetSet() *StickerSet

func (*StickerSetCovered_Data) ProtoMessage

func (*StickerSetCovered_Data) ProtoMessage()

func (*StickerSetCovered_Data) Reset

func (m *StickerSetCovered_Data) Reset()

func (*StickerSetCovered_Data) String

func (m *StickerSetCovered_Data) String() string

type StickerSet_Data

type StickerSet_Data struct {
	Installed  bool   `protobuf:"varint,1,opt,name=installed" json:"installed,omitempty"`
	Archived   bool   `protobuf:"varint,2,opt,name=archived" json:"archived,omitempty"`
	Official   bool   `protobuf:"varint,3,opt,name=official" json:"official,omitempty"`
	Masks      bool   `protobuf:"varint,4,opt,name=masks" json:"masks,omitempty"`
	Id         int64  `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
	AccessHash int64  `protobuf:"varint,6,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Title      string `protobuf:"bytes,7,opt,name=title" json:"title,omitempty"`
	ShortName  string `protobuf:"bytes,8,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
	Count      int32  `protobuf:"varint,9,opt,name=count" json:"count,omitempty"`
	Hash       int32  `protobuf:"varint,10,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// StickerSet <--

  • TL_stickerSet

func (*StickerSet_Data) Descriptor

func (*StickerSet_Data) Descriptor() ([]byte, []int)

func (*StickerSet_Data) GetAccessHash

func (m *StickerSet_Data) GetAccessHash() int64

func (*StickerSet_Data) GetArchived

func (m *StickerSet_Data) GetArchived() bool

func (*StickerSet_Data) GetCount

func (m *StickerSet_Data) GetCount() int32

func (*StickerSet_Data) GetHash

func (m *StickerSet_Data) GetHash() int32

func (*StickerSet_Data) GetId

func (m *StickerSet_Data) GetId() int64

func (*StickerSet_Data) GetInstalled

func (m *StickerSet_Data) GetInstalled() bool

func (*StickerSet_Data) GetMasks

func (m *StickerSet_Data) GetMasks() bool

func (*StickerSet_Data) GetOfficial

func (m *StickerSet_Data) GetOfficial() bool

func (*StickerSet_Data) GetShortName

func (m *StickerSet_Data) GetShortName() string

func (*StickerSet_Data) GetTitle

func (m *StickerSet_Data) GetTitle() string

func (*StickerSet_Data) ProtoMessage

func (*StickerSet_Data) ProtoMessage()

func (*StickerSet_Data) Reset

func (m *StickerSet_Data) Reset()

func (*StickerSet_Data) String

func (m *StickerSet_Data) String() string

type Storage_FileType

type Storage_FileType struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Storage_FileType) Decode

func (m *Storage_FileType) Decode(dbuf *DecodeBuf) error

func (*Storage_FileType) Descriptor

func (*Storage_FileType) Descriptor() ([]byte, []int)

func (*Storage_FileType) Encode

func (m *Storage_FileType) Encode() []byte

func (*Storage_FileType) GetConstructor

func (m *Storage_FileType) GetConstructor() TLConstructor

func (*Storage_FileType) GetData2

func (m *Storage_FileType) GetData2() *Storage_FileType_Data

func (*Storage_FileType) ProtoMessage

func (*Storage_FileType) ProtoMessage()

func (*Storage_FileType) Reset

func (m *Storage_FileType) Reset()

func (*Storage_FileType) String

func (m *Storage_FileType) String() string

func (*Storage_FileType) To_StorageFileGif

func (m *Storage_FileType) To_StorageFileGif() *TLStorageFileGif

storage.fileGif#cae1aadf = storage.FileType;

func (*Storage_FileType) To_StorageFileJpeg

func (m *Storage_FileType) To_StorageFileJpeg() *TLStorageFileJpeg

storage.fileJpeg#7efe0e = storage.FileType;

func (*Storage_FileType) To_StorageFileMov

func (m *Storage_FileType) To_StorageFileMov() *TLStorageFileMov

storage.fileMov#4b09ebbc = storage.FileType;

func (*Storage_FileType) To_StorageFileMp3

func (m *Storage_FileType) To_StorageFileMp3() *TLStorageFileMp3

storage.fileMp3#528a0677 = storage.FileType;

func (*Storage_FileType) To_StorageFileMp4

func (m *Storage_FileType) To_StorageFileMp4() *TLStorageFileMp4

storage.fileMp4#b3cea0e4 = storage.FileType;

func (*Storage_FileType) To_StorageFilePartial

func (m *Storage_FileType) To_StorageFilePartial() *TLStorageFilePartial

storage.filePartial#40bc6f52 = storage.FileType;

func (*Storage_FileType) To_StorageFilePdf

func (m *Storage_FileType) To_StorageFilePdf() *TLStorageFilePdf

storage.filePdf#ae1e508d = storage.FileType;

func (*Storage_FileType) To_StorageFilePng

func (m *Storage_FileType) To_StorageFilePng() *TLStorageFilePng

storage.filePng#a4f63c0 = storage.FileType;

func (*Storage_FileType) To_StorageFileUnknown

func (m *Storage_FileType) To_StorageFileUnknown() *TLStorageFileUnknown

storage.fileUnknown#aa963b05 = storage.FileType;

func (*Storage_FileType) To_StorageFileWebp

func (m *Storage_FileType) To_StorageFileWebp() *TLStorageFileWebp

storage.fileWebp#1081464c = storage.FileType;

type Storage_FileType_Data

type Storage_FileType_Data struct {
}

///////////////////////////////////////////////////////////////////////////// storage_FileType <--

  • TL_storage_fileUnknown
  • TL_storage_filePartial
  • TL_storage_fileJpeg
  • TL_storage_fileGif
  • TL_storage_filePng
  • TL_storage_filePdf
  • TL_storage_fileMp3
  • TL_storage_fileMov
  • TL_storage_fileMp4
  • TL_storage_fileWebp

func (*Storage_FileType_Data) Descriptor

func (*Storage_FileType_Data) Descriptor() ([]byte, []int)

func (*Storage_FileType_Data) ProtoMessage

func (*Storage_FileType_Data) ProtoMessage()

func (*Storage_FileType_Data) Reset

func (m *Storage_FileType_Data) Reset()

func (*Storage_FileType_Data) String

func (m *Storage_FileType_Data) String() string

type SyncType

type SyncType int32

同步类型

const (
	SyncType_SYNC_TYPE_UNKNOWN    SyncType = 0
	SyncType_SYNC_TYPE_USER       SyncType = 1
	SyncType_SYNC_TYPE_USER_NOTME SyncType = 2
	SyncType_SYNC_TYPE_USER_ME    SyncType = 3
	SyncType_SYNC_TYPE_RPC_RESULT SyncType = 4
	SyncType_SYNC_TYPE_NONE       SyncType = 5
)

func (SyncType) EnumDescriptor

func (SyncType) EnumDescriptor() ([]byte, []int)

func (SyncType) String

func (x SyncType) String() string

type TLAccountAuthorizations

type TLAccountAuthorizations struct {
	Data2 *Account_Authorizations_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;

func NewTLAccountAuthorizations

func NewTLAccountAuthorizations() *TLAccountAuthorizations

func (*TLAccountAuthorizations) Decode

func (m *TLAccountAuthorizations) Decode(dbuf *DecodeBuf) error

func (*TLAccountAuthorizations) Descriptor

func (*TLAccountAuthorizations) Descriptor() ([]byte, []int)

func (*TLAccountAuthorizations) Encode

func (m *TLAccountAuthorizations) Encode() []byte

func (*TLAccountAuthorizations) GetAuthorizations

func (m *TLAccountAuthorizations) GetAuthorizations() []*Authorization

func (*TLAccountAuthorizations) GetData2

func (*TLAccountAuthorizations) ProtoMessage

func (*TLAccountAuthorizations) ProtoMessage()

func (*TLAccountAuthorizations) Reset

func (m *TLAccountAuthorizations) Reset()

func (*TLAccountAuthorizations) SetAuthorizations

func (m *TLAccountAuthorizations) SetAuthorizations(v []*Authorization)

func (*TLAccountAuthorizations) String

func (m *TLAccountAuthorizations) String() string

func (*TLAccountAuthorizations) To_Account_Authorizations

func (m *TLAccountAuthorizations) To_Account_Authorizations() *Account_Authorizations

account.authorizations#1250abde authorizations:Vector<Authorization> = account.Authorizations;

type TLAccountChangePhone

type TLAccountChangePhone struct {
	PhoneNumber   string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	PhoneCodeHash string `protobuf:"bytes,2,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
	PhoneCode     string `protobuf:"bytes,3,opt,name=phone_code,json=phoneCode" json:"phone_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.changePhone#70c32edb phone_number:string phone_code_hash:string phone_code:string = User;

func NewTLAccountChangePhone

func NewTLAccountChangePhone() *TLAccountChangePhone

func (*TLAccountChangePhone) Decode

func (m *TLAccountChangePhone) Decode(dbuf *DecodeBuf) error

func (*TLAccountChangePhone) Descriptor

func (*TLAccountChangePhone) Descriptor() ([]byte, []int)

func (*TLAccountChangePhone) Encode

func (m *TLAccountChangePhone) Encode() []byte

func (*TLAccountChangePhone) GetPhoneCode

func (m *TLAccountChangePhone) GetPhoneCode() string

func (*TLAccountChangePhone) GetPhoneCodeHash

func (m *TLAccountChangePhone) GetPhoneCodeHash() string

func (*TLAccountChangePhone) GetPhoneNumber

func (m *TLAccountChangePhone) GetPhoneNumber() string

func (*TLAccountChangePhone) ProtoMessage

func (*TLAccountChangePhone) ProtoMessage()

func (*TLAccountChangePhone) Reset

func (m *TLAccountChangePhone) Reset()

func (*TLAccountChangePhone) String

func (m *TLAccountChangePhone) String() string

type TLAccountCheckUsername

type TLAccountCheckUsername struct {
	Username string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.checkUsername#2714d86c username:string = Bool;

func NewTLAccountCheckUsername

func NewTLAccountCheckUsername() *TLAccountCheckUsername

func (*TLAccountCheckUsername) Decode

func (m *TLAccountCheckUsername) Decode(dbuf *DecodeBuf) error

func (*TLAccountCheckUsername) Descriptor

func (*TLAccountCheckUsername) Descriptor() ([]byte, []int)

func (*TLAccountCheckUsername) Encode

func (m *TLAccountCheckUsername) Encode() []byte

func (*TLAccountCheckUsername) GetUsername

func (m *TLAccountCheckUsername) GetUsername() string

func (*TLAccountCheckUsername) ProtoMessage

func (*TLAccountCheckUsername) ProtoMessage()

func (*TLAccountCheckUsername) Reset

func (m *TLAccountCheckUsername) Reset()

func (*TLAccountCheckUsername) String

func (m *TLAccountCheckUsername) String() string

type TLAccountConfirmPhone

type TLAccountConfirmPhone struct {
	PhoneCodeHash string `protobuf:"bytes,1,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
	PhoneCode     string `protobuf:"bytes,2,opt,name=phone_code,json=phoneCode" json:"phone_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool;

func NewTLAccountConfirmPhone

func NewTLAccountConfirmPhone() *TLAccountConfirmPhone

func (*TLAccountConfirmPhone) Decode

func (m *TLAccountConfirmPhone) Decode(dbuf *DecodeBuf) error

func (*TLAccountConfirmPhone) Descriptor

func (*TLAccountConfirmPhone) Descriptor() ([]byte, []int)

func (*TLAccountConfirmPhone) Encode

func (m *TLAccountConfirmPhone) Encode() []byte

func (*TLAccountConfirmPhone) GetPhoneCode

func (m *TLAccountConfirmPhone) GetPhoneCode() string

func (*TLAccountConfirmPhone) GetPhoneCodeHash

func (m *TLAccountConfirmPhone) GetPhoneCodeHash() string

func (*TLAccountConfirmPhone) ProtoMessage

func (*TLAccountConfirmPhone) ProtoMessage()

func (*TLAccountConfirmPhone) Reset

func (m *TLAccountConfirmPhone) Reset()

func (*TLAccountConfirmPhone) String

func (m *TLAccountConfirmPhone) String() string

type TLAccountDaysTTL

type TLAccountDaysTTL struct {
	Data2 *AccountDaysTTL_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;

func NewTLAccountDaysTTL

func NewTLAccountDaysTTL() *TLAccountDaysTTL

func (*TLAccountDaysTTL) Decode

func (m *TLAccountDaysTTL) Decode(dbuf *DecodeBuf) error

func (*TLAccountDaysTTL) Descriptor

func (*TLAccountDaysTTL) Descriptor() ([]byte, []int)

func (*TLAccountDaysTTL) Encode

func (m *TLAccountDaysTTL) Encode() []byte

func (*TLAccountDaysTTL) GetData2

func (m *TLAccountDaysTTL) GetData2() *AccountDaysTTL_Data

func (*TLAccountDaysTTL) GetDays

func (m *TLAccountDaysTTL) GetDays() int32

func (*TLAccountDaysTTL) ProtoMessage

func (*TLAccountDaysTTL) ProtoMessage()

func (*TLAccountDaysTTL) Reset

func (m *TLAccountDaysTTL) Reset()

func (*TLAccountDaysTTL) SetDays

func (m *TLAccountDaysTTL) SetDays(v int32)

func (*TLAccountDaysTTL) String

func (m *TLAccountDaysTTL) String() string

func (*TLAccountDaysTTL) To_AccountDaysTTL

func (m *TLAccountDaysTTL) To_AccountDaysTTL() *AccountDaysTTL

accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;

type TLAccountDeleteAccount

type TLAccountDeleteAccount struct {
	Reason string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.deleteAccount#418d4e0b reason:string = Bool;

func NewTLAccountDeleteAccount

func NewTLAccountDeleteAccount() *TLAccountDeleteAccount

func (*TLAccountDeleteAccount) Decode

func (m *TLAccountDeleteAccount) Decode(dbuf *DecodeBuf) error

func (*TLAccountDeleteAccount) Descriptor

func (*TLAccountDeleteAccount) Descriptor() ([]byte, []int)

func (*TLAccountDeleteAccount) Encode

func (m *TLAccountDeleteAccount) Encode() []byte

func (*TLAccountDeleteAccount) GetReason

func (m *TLAccountDeleteAccount) GetReason() string

func (*TLAccountDeleteAccount) ProtoMessage

func (*TLAccountDeleteAccount) ProtoMessage()

func (*TLAccountDeleteAccount) Reset

func (m *TLAccountDeleteAccount) Reset()

func (*TLAccountDeleteAccount) String

func (m *TLAccountDeleteAccount) String() string

type TLAccountGetAccountTTL

type TLAccountGetAccountTTL struct {
}

///////////////////////////////////////////////////////////////////////////// account.getAccountTTL#8fc711d = AccountDaysTTL;

func NewTLAccountGetAccountTTL

func NewTLAccountGetAccountTTL() *TLAccountGetAccountTTL

func (*TLAccountGetAccountTTL) Decode

func (m *TLAccountGetAccountTTL) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetAccountTTL) Descriptor

func (*TLAccountGetAccountTTL) Descriptor() ([]byte, []int)

func (*TLAccountGetAccountTTL) Encode

func (m *TLAccountGetAccountTTL) Encode() []byte

func (*TLAccountGetAccountTTL) ProtoMessage

func (*TLAccountGetAccountTTL) ProtoMessage()

func (*TLAccountGetAccountTTL) Reset

func (m *TLAccountGetAccountTTL) Reset()

func (*TLAccountGetAccountTTL) String

func (m *TLAccountGetAccountTTL) String() string

type TLAccountGetAuthorizations

type TLAccountGetAuthorizations struct {
}

///////////////////////////////////////////////////////////////////////////// account.getAuthorizations#e320c158 = account.Authorizations;

func NewTLAccountGetAuthorizations

func NewTLAccountGetAuthorizations() *TLAccountGetAuthorizations

func (*TLAccountGetAuthorizations) Decode

func (m *TLAccountGetAuthorizations) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetAuthorizations) Descriptor

func (*TLAccountGetAuthorizations) Descriptor() ([]byte, []int)

func (*TLAccountGetAuthorizations) Encode

func (m *TLAccountGetAuthorizations) Encode() []byte

func (*TLAccountGetAuthorizations) ProtoMessage

func (*TLAccountGetAuthorizations) ProtoMessage()

func (*TLAccountGetAuthorizations) Reset

func (m *TLAccountGetAuthorizations) Reset()

func (*TLAccountGetAuthorizations) String

func (m *TLAccountGetAuthorizations) String() string

type TLAccountGetNotifySettings

type TLAccountGetNotifySettings struct {
	Peer *InputNotifyPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.getNotifySettings#12b3ad31 peer:InputNotifyPeer = PeerNotifySettings;

func NewTLAccountGetNotifySettings

func NewTLAccountGetNotifySettings() *TLAccountGetNotifySettings

func (*TLAccountGetNotifySettings) Decode

func (m *TLAccountGetNotifySettings) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetNotifySettings) Descriptor

func (*TLAccountGetNotifySettings) Descriptor() ([]byte, []int)

func (*TLAccountGetNotifySettings) Encode

func (m *TLAccountGetNotifySettings) Encode() []byte

func (*TLAccountGetNotifySettings) GetPeer

func (*TLAccountGetNotifySettings) ProtoMessage

func (*TLAccountGetNotifySettings) ProtoMessage()

func (*TLAccountGetNotifySettings) Reset

func (m *TLAccountGetNotifySettings) Reset()

func (*TLAccountGetNotifySettings) String

func (m *TLAccountGetNotifySettings) String() string

type TLAccountGetPassword

type TLAccountGetPassword struct {
}

///////////////////////////////////////////////////////////////////////////// account.getPassword#548a30f5 = account.Password;

func NewTLAccountGetPassword

func NewTLAccountGetPassword() *TLAccountGetPassword

func (*TLAccountGetPassword) Decode

func (m *TLAccountGetPassword) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetPassword) Descriptor

func (*TLAccountGetPassword) Descriptor() ([]byte, []int)

func (*TLAccountGetPassword) Encode

func (m *TLAccountGetPassword) Encode() []byte

func (*TLAccountGetPassword) ProtoMessage

func (*TLAccountGetPassword) ProtoMessage()

func (*TLAccountGetPassword) Reset

func (m *TLAccountGetPassword) Reset()

func (*TLAccountGetPassword) String

func (m *TLAccountGetPassword) String() string

type TLAccountGetPasswordSettings

type TLAccountGetPasswordSettings struct {
	CurrentPasswordHash []byte `protobuf:"bytes,1,opt,name=current_password_hash,json=currentPasswordHash,proto3" json:"current_password_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.getPasswordSettings#bc8d11bb current_password_hash:bytes = account.PasswordSettings;

func NewTLAccountGetPasswordSettings

func NewTLAccountGetPasswordSettings() *TLAccountGetPasswordSettings

func (*TLAccountGetPasswordSettings) Decode

func (m *TLAccountGetPasswordSettings) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetPasswordSettings) Descriptor

func (*TLAccountGetPasswordSettings) Descriptor() ([]byte, []int)

func (*TLAccountGetPasswordSettings) Encode

func (m *TLAccountGetPasswordSettings) Encode() []byte

func (*TLAccountGetPasswordSettings) GetCurrentPasswordHash

func (m *TLAccountGetPasswordSettings) GetCurrentPasswordHash() []byte

func (*TLAccountGetPasswordSettings) ProtoMessage

func (*TLAccountGetPasswordSettings) ProtoMessage()

func (*TLAccountGetPasswordSettings) Reset

func (m *TLAccountGetPasswordSettings) Reset()

func (*TLAccountGetPasswordSettings) String

type TLAccountGetPrivacy

type TLAccountGetPrivacy struct {
	Key *InputPrivacyKey `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.getPrivacy#dadbc950 key:InputPrivacyKey = account.PrivacyRules;

func NewTLAccountGetPrivacy

func NewTLAccountGetPrivacy() *TLAccountGetPrivacy

func (*TLAccountGetPrivacy) Decode

func (m *TLAccountGetPrivacy) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetPrivacy) Descriptor

func (*TLAccountGetPrivacy) Descriptor() ([]byte, []int)

func (*TLAccountGetPrivacy) Encode

func (m *TLAccountGetPrivacy) Encode() []byte

func (*TLAccountGetPrivacy) GetKey

func (m *TLAccountGetPrivacy) GetKey() *InputPrivacyKey

func (*TLAccountGetPrivacy) ProtoMessage

func (*TLAccountGetPrivacy) ProtoMessage()

func (*TLAccountGetPrivacy) Reset

func (m *TLAccountGetPrivacy) Reset()

func (*TLAccountGetPrivacy) String

func (m *TLAccountGetPrivacy) String() string

type TLAccountGetTmpPassword

type TLAccountGetTmpPassword struct {
	PasswordHash []byte `protobuf:"bytes,1,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"`
	Period       int32  `protobuf:"varint,2,opt,name=period" json:"period,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.getTmpPassword#4a82327e password_hash:bytes period:int = account.TmpPassword;

func NewTLAccountGetTmpPassword

func NewTLAccountGetTmpPassword() *TLAccountGetTmpPassword

func (*TLAccountGetTmpPassword) Decode

func (m *TLAccountGetTmpPassword) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetTmpPassword) Descriptor

func (*TLAccountGetTmpPassword) Descriptor() ([]byte, []int)

func (*TLAccountGetTmpPassword) Encode

func (m *TLAccountGetTmpPassword) Encode() []byte

func (*TLAccountGetTmpPassword) GetPasswordHash

func (m *TLAccountGetTmpPassword) GetPasswordHash() []byte

func (*TLAccountGetTmpPassword) GetPeriod

func (m *TLAccountGetTmpPassword) GetPeriod() int32

func (*TLAccountGetTmpPassword) ProtoMessage

func (*TLAccountGetTmpPassword) ProtoMessage()

func (*TLAccountGetTmpPassword) Reset

func (m *TLAccountGetTmpPassword) Reset()

func (*TLAccountGetTmpPassword) String

func (m *TLAccountGetTmpPassword) String() string

type TLAccountGetWallPapers

type TLAccountGetWallPapers struct {
}

///////////////////////////////////////////////////////////////////////////// account.getWallPapers#c04cfac2 = Vector<WallPaper>;

func NewTLAccountGetWallPapers

func NewTLAccountGetWallPapers() *TLAccountGetWallPapers

func (*TLAccountGetWallPapers) Decode

func (m *TLAccountGetWallPapers) Decode(dbuf *DecodeBuf) error

func (*TLAccountGetWallPapers) Descriptor

func (*TLAccountGetWallPapers) Descriptor() ([]byte, []int)

func (*TLAccountGetWallPapers) Encode

func (m *TLAccountGetWallPapers) Encode() []byte

func (*TLAccountGetWallPapers) ProtoMessage

func (*TLAccountGetWallPapers) ProtoMessage()

func (*TLAccountGetWallPapers) Reset

func (m *TLAccountGetWallPapers) Reset()

func (*TLAccountGetWallPapers) String

func (m *TLAccountGetWallPapers) String() string

type TLAccountNoPassword

type TLAccountNoPassword struct {
	Data2 *Account_Password_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;

func NewTLAccountNoPassword

func NewTLAccountNoPassword() *TLAccountNoPassword

func (*TLAccountNoPassword) Decode

func (m *TLAccountNoPassword) Decode(dbuf *DecodeBuf) error

func (*TLAccountNoPassword) Descriptor

func (*TLAccountNoPassword) Descriptor() ([]byte, []int)

func (*TLAccountNoPassword) Encode

func (m *TLAccountNoPassword) Encode() []byte

func (*TLAccountNoPassword) GetData2

func (*TLAccountNoPassword) GetEmailUnconfirmedPattern

func (m *TLAccountNoPassword) GetEmailUnconfirmedPattern() string

func (*TLAccountNoPassword) GetNewSalt

func (m *TLAccountNoPassword) GetNewSalt() []byte

func (*TLAccountNoPassword) ProtoMessage

func (*TLAccountNoPassword) ProtoMessage()

func (*TLAccountNoPassword) Reset

func (m *TLAccountNoPassword) Reset()

func (*TLAccountNoPassword) SetEmailUnconfirmedPattern

func (m *TLAccountNoPassword) SetEmailUnconfirmedPattern(v string)

func (*TLAccountNoPassword) SetNewSalt

func (m *TLAccountNoPassword) SetNewSalt(v []byte)

func (*TLAccountNoPassword) String

func (m *TLAccountNoPassword) String() string

func (*TLAccountNoPassword) To_Account_Password

func (m *TLAccountNoPassword) To_Account_Password() *Account_Password

account.noPassword#96dabc18 new_salt:bytes email_unconfirmed_pattern:string = account.Password;

type TLAccountPassword

type TLAccountPassword struct {
	Data2 *Account_Password_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;

func NewTLAccountPassword

func NewTLAccountPassword() *TLAccountPassword

func (*TLAccountPassword) Decode

func (m *TLAccountPassword) Decode(dbuf *DecodeBuf) error

func (*TLAccountPassword) Descriptor

func (*TLAccountPassword) Descriptor() ([]byte, []int)

func (*TLAccountPassword) Encode

func (m *TLAccountPassword) Encode() []byte

func (*TLAccountPassword) GetCurrentSalt

func (m *TLAccountPassword) GetCurrentSalt() []byte

func (*TLAccountPassword) GetData2

func (*TLAccountPassword) GetEmailUnconfirmedPattern

func (m *TLAccountPassword) GetEmailUnconfirmedPattern() string

func (*TLAccountPassword) GetHasRecovery

func (m *TLAccountPassword) GetHasRecovery() *Bool

func (*TLAccountPassword) GetHint

func (m *TLAccountPassword) GetHint() string

func (*TLAccountPassword) GetNewSalt

func (m *TLAccountPassword) GetNewSalt() []byte

func (*TLAccountPassword) ProtoMessage

func (*TLAccountPassword) ProtoMessage()

func (*TLAccountPassword) Reset

func (m *TLAccountPassword) Reset()

func (*TLAccountPassword) SetCurrentSalt

func (m *TLAccountPassword) SetCurrentSalt(v []byte)

func (*TLAccountPassword) SetEmailUnconfirmedPattern

func (m *TLAccountPassword) SetEmailUnconfirmedPattern(v string)

func (*TLAccountPassword) SetHasRecovery

func (m *TLAccountPassword) SetHasRecovery(v *Bool)

func (*TLAccountPassword) SetHint

func (m *TLAccountPassword) SetHint(v string)

func (*TLAccountPassword) SetNewSalt

func (m *TLAccountPassword) SetNewSalt(v []byte)

func (*TLAccountPassword) String

func (m *TLAccountPassword) String() string

func (*TLAccountPassword) To_Account_Password

func (m *TLAccountPassword) To_Account_Password() *Account_Password

account.password#7c18141c current_salt:bytes new_salt:bytes hint:string has_recovery:Bool email_unconfirmed_pattern:string = account.Password;

type TLAccountPasswordInputSettings

type TLAccountPasswordInputSettings struct {
	Data2 *Account_PasswordInputSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;

func NewTLAccountPasswordInputSettings

func NewTLAccountPasswordInputSettings() *TLAccountPasswordInputSettings

func (*TLAccountPasswordInputSettings) Decode

func (*TLAccountPasswordInputSettings) Descriptor

func (*TLAccountPasswordInputSettings) Descriptor() ([]byte, []int)

func (*TLAccountPasswordInputSettings) Encode

func (m *TLAccountPasswordInputSettings) Encode() []byte

func (*TLAccountPasswordInputSettings) GetData2

func (*TLAccountPasswordInputSettings) GetEmail

func (m *TLAccountPasswordInputSettings) GetEmail() string

func (*TLAccountPasswordInputSettings) GetHint

func (*TLAccountPasswordInputSettings) GetNewPasswordHash

func (m *TLAccountPasswordInputSettings) GetNewPasswordHash() []byte

func (*TLAccountPasswordInputSettings) GetNewSalt

func (m *TLAccountPasswordInputSettings) GetNewSalt() []byte

func (*TLAccountPasswordInputSettings) ProtoMessage

func (*TLAccountPasswordInputSettings) ProtoMessage()

func (*TLAccountPasswordInputSettings) Reset

func (m *TLAccountPasswordInputSettings) Reset()

func (*TLAccountPasswordInputSettings) SetEmail

func (m *TLAccountPasswordInputSettings) SetEmail(v string)

func (*TLAccountPasswordInputSettings) SetHint

func (m *TLAccountPasswordInputSettings) SetHint(v string)

func (*TLAccountPasswordInputSettings) SetNewPasswordHash

func (m *TLAccountPasswordInputSettings) SetNewPasswordHash(v []byte)

func (*TLAccountPasswordInputSettings) SetNewSalt

func (m *TLAccountPasswordInputSettings) SetNewSalt(v []byte)

func (*TLAccountPasswordInputSettings) String

func (*TLAccountPasswordInputSettings) To_Account_PasswordInputSettings

func (m *TLAccountPasswordInputSettings) To_Account_PasswordInputSettings() *Account_PasswordInputSettings

account.passwordInputSettings#86916deb flags:# new_salt:flags.0?bytes new_password_hash:flags.0?bytes hint:flags.0?string email:flags.1?string = account.PasswordInputSettings;

type TLAccountPasswordSettings

type TLAccountPasswordSettings struct {
	Data2 *Account_PasswordSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;

func NewTLAccountPasswordSettings

func NewTLAccountPasswordSettings() *TLAccountPasswordSettings

func (*TLAccountPasswordSettings) Decode

func (m *TLAccountPasswordSettings) Decode(dbuf *DecodeBuf) error

func (*TLAccountPasswordSettings) Descriptor

func (*TLAccountPasswordSettings) Descriptor() ([]byte, []int)

func (*TLAccountPasswordSettings) Encode

func (m *TLAccountPasswordSettings) Encode() []byte

func (*TLAccountPasswordSettings) GetData2

func (*TLAccountPasswordSettings) GetEmail

func (m *TLAccountPasswordSettings) GetEmail() string

func (*TLAccountPasswordSettings) ProtoMessage

func (*TLAccountPasswordSettings) ProtoMessage()

func (*TLAccountPasswordSettings) Reset

func (m *TLAccountPasswordSettings) Reset()

func (*TLAccountPasswordSettings) SetEmail

func (m *TLAccountPasswordSettings) SetEmail(v string)

func (*TLAccountPasswordSettings) String

func (m *TLAccountPasswordSettings) String() string

func (*TLAccountPasswordSettings) To_Account_PasswordSettings

func (m *TLAccountPasswordSettings) To_Account_PasswordSettings() *Account_PasswordSettings

account.passwordSettings#b7b72ab3 email:string = account.PasswordSettings;

type TLAccountPrivacyRules

type TLAccountPrivacyRules struct {
	Data2 *Account_PrivacyRules_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;

func NewTLAccountPrivacyRules

func NewTLAccountPrivacyRules() *TLAccountPrivacyRules

func (*TLAccountPrivacyRules) Decode

func (m *TLAccountPrivacyRules) Decode(dbuf *DecodeBuf) error

func (*TLAccountPrivacyRules) Descriptor

func (*TLAccountPrivacyRules) Descriptor() ([]byte, []int)

func (*TLAccountPrivacyRules) Encode

func (m *TLAccountPrivacyRules) Encode() []byte

func (*TLAccountPrivacyRules) GetData2

func (*TLAccountPrivacyRules) GetRules

func (m *TLAccountPrivacyRules) GetRules() []*PrivacyRule

func (*TLAccountPrivacyRules) GetUsers

func (m *TLAccountPrivacyRules) GetUsers() []*User

func (*TLAccountPrivacyRules) ProtoMessage

func (*TLAccountPrivacyRules) ProtoMessage()

func (*TLAccountPrivacyRules) Reset

func (m *TLAccountPrivacyRules) Reset()

func (*TLAccountPrivacyRules) SetRules

func (m *TLAccountPrivacyRules) SetRules(v []*PrivacyRule)

func (*TLAccountPrivacyRules) SetUsers

func (m *TLAccountPrivacyRules) SetUsers(v []*User)

func (*TLAccountPrivacyRules) String

func (m *TLAccountPrivacyRules) String() string

func (*TLAccountPrivacyRules) To_Account_PrivacyRules

func (m *TLAccountPrivacyRules) To_Account_PrivacyRules() *Account_PrivacyRules

account.privacyRules#554abb6f rules:Vector<PrivacyRule> users:Vector<User> = account.PrivacyRules;

type TLAccountRegisterDevice

type TLAccountRegisterDevice struct {
	TokenType int32  `protobuf:"varint,1,opt,name=token_type,json=tokenType" json:"token_type,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.registerDevice#637ea878 token_type:int token:string = Bool;

func NewTLAccountRegisterDevice

func NewTLAccountRegisterDevice() *TLAccountRegisterDevice

func (*TLAccountRegisterDevice) Decode

func (m *TLAccountRegisterDevice) Decode(dbuf *DecodeBuf) error

func (*TLAccountRegisterDevice) Descriptor

func (*TLAccountRegisterDevice) Descriptor() ([]byte, []int)

func (*TLAccountRegisterDevice) Encode

func (m *TLAccountRegisterDevice) Encode() []byte

func (*TLAccountRegisterDevice) GetToken

func (m *TLAccountRegisterDevice) GetToken() string

func (*TLAccountRegisterDevice) GetTokenType

func (m *TLAccountRegisterDevice) GetTokenType() int32

func (*TLAccountRegisterDevice) ProtoMessage

func (*TLAccountRegisterDevice) ProtoMessage()

func (*TLAccountRegisterDevice) Reset

func (m *TLAccountRegisterDevice) Reset()

func (*TLAccountRegisterDevice) String

func (m *TLAccountRegisterDevice) String() string

type TLAccountRegisterDeviceLayer74

type TLAccountRegisterDeviceLayer74 struct {
	TokenType  int32   `protobuf:"varint,1,opt,name=token_type,json=tokenType" json:"token_type,omitempty"`
	Token      string  `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	AppSandbox *Bool   `protobuf:"bytes,3,opt,name=app_sandbox,json=appSandbox" json:"app_sandbox,omitempty"`
	OtherUids  []int32 `protobuf:"varint,4,rep,packed,name=other_uids,json=otherUids" json:"other_uids,omitempty"`
}

Layer74 account.registerDevice#1389cc token_type:int token:string app_sandbox:Bool other_uids:Vector<int> = Bool;

func NewTLAccountRegisterDeviceLayer74

func NewTLAccountRegisterDeviceLayer74() *TLAccountRegisterDeviceLayer74

//////////////////////////////////////////////////////////////////////////

func (*TLAccountRegisterDeviceLayer74) Decode

func (*TLAccountRegisterDeviceLayer74) Descriptor

func (*TLAccountRegisterDeviceLayer74) Descriptor() ([]byte, []int)

func (*TLAccountRegisterDeviceLayer74) Encode

func (m *TLAccountRegisterDeviceLayer74) Encode() []byte

func (*TLAccountRegisterDeviceLayer74) GetAppSandbox

func (m *TLAccountRegisterDeviceLayer74) GetAppSandbox() *Bool

func (*TLAccountRegisterDeviceLayer74) GetOtherUids

func (m *TLAccountRegisterDeviceLayer74) GetOtherUids() []int32

func (*TLAccountRegisterDeviceLayer74) GetToken

func (m *TLAccountRegisterDeviceLayer74) GetToken() string

func (*TLAccountRegisterDeviceLayer74) GetTokenType

func (m *TLAccountRegisterDeviceLayer74) GetTokenType() int32

func (*TLAccountRegisterDeviceLayer74) ProtoMessage

func (*TLAccountRegisterDeviceLayer74) ProtoMessage()

func (*TLAccountRegisterDeviceLayer74) Reset

func (m *TLAccountRegisterDeviceLayer74) Reset()

func (*TLAccountRegisterDeviceLayer74) String

type TLAccountReportPeer

type TLAccountReportPeer struct {
	Peer   *InputPeer    `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Reason *ReportReason `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.reportPeer#ae189d5f peer:InputPeer reason:ReportReason = Bool;

func NewTLAccountReportPeer

func NewTLAccountReportPeer() *TLAccountReportPeer

func (*TLAccountReportPeer) Decode

func (m *TLAccountReportPeer) Decode(dbuf *DecodeBuf) error

func (*TLAccountReportPeer) Descriptor

func (*TLAccountReportPeer) Descriptor() ([]byte, []int)

func (*TLAccountReportPeer) Encode

func (m *TLAccountReportPeer) Encode() []byte

func (*TLAccountReportPeer) GetPeer

func (m *TLAccountReportPeer) GetPeer() *InputPeer

func (*TLAccountReportPeer) GetReason

func (m *TLAccountReportPeer) GetReason() *ReportReason

func (*TLAccountReportPeer) ProtoMessage

func (*TLAccountReportPeer) ProtoMessage()

func (*TLAccountReportPeer) Reset

func (m *TLAccountReportPeer) Reset()

func (*TLAccountReportPeer) String

func (m *TLAccountReportPeer) String() string

type TLAccountResetAuthorization

type TLAccountResetAuthorization struct {
	Hash int64 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.resetAuthorization#df77f3bc hash:long = Bool;

func NewTLAccountResetAuthorization

func NewTLAccountResetAuthorization() *TLAccountResetAuthorization

func (*TLAccountResetAuthorization) Decode

func (m *TLAccountResetAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAccountResetAuthorization) Descriptor

func (*TLAccountResetAuthorization) Descriptor() ([]byte, []int)

func (*TLAccountResetAuthorization) Encode

func (m *TLAccountResetAuthorization) Encode() []byte

func (*TLAccountResetAuthorization) GetHash

func (m *TLAccountResetAuthorization) GetHash() int64

func (*TLAccountResetAuthorization) ProtoMessage

func (*TLAccountResetAuthorization) ProtoMessage()

func (*TLAccountResetAuthorization) Reset

func (m *TLAccountResetAuthorization) Reset()

func (*TLAccountResetAuthorization) String

func (m *TLAccountResetAuthorization) String() string

type TLAccountResetNotifySettings

type TLAccountResetNotifySettings struct {
}

///////////////////////////////////////////////////////////////////////////// account.resetNotifySettings#db7e1747 = Bool;

func NewTLAccountResetNotifySettings

func NewTLAccountResetNotifySettings() *TLAccountResetNotifySettings

func (*TLAccountResetNotifySettings) Decode

func (m *TLAccountResetNotifySettings) Decode(dbuf *DecodeBuf) error

func (*TLAccountResetNotifySettings) Descriptor

func (*TLAccountResetNotifySettings) Descriptor() ([]byte, []int)

func (*TLAccountResetNotifySettings) Encode

func (m *TLAccountResetNotifySettings) Encode() []byte

func (*TLAccountResetNotifySettings) ProtoMessage

func (*TLAccountResetNotifySettings) ProtoMessage()

func (*TLAccountResetNotifySettings) Reset

func (m *TLAccountResetNotifySettings) Reset()

func (*TLAccountResetNotifySettings) String

type TLAccountSendChangePhoneCode

type TLAccountSendChangePhoneCode struct {
	AllowFlashcall bool   `protobuf:"varint,2,opt,name=allow_flashcall,json=allowFlashcall" json:"allow_flashcall,omitempty"`
	PhoneNumber    string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	CurrentNumber  *Bool  `protobuf:"bytes,4,opt,name=current_number,json=currentNumber" json:"current_number,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.sendChangePhoneCode#8e57deb flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool = auth.SentCode;

func NewTLAccountSendChangePhoneCode

func NewTLAccountSendChangePhoneCode() *TLAccountSendChangePhoneCode

func (*TLAccountSendChangePhoneCode) Decode

func (m *TLAccountSendChangePhoneCode) Decode(dbuf *DecodeBuf) error

func (*TLAccountSendChangePhoneCode) Descriptor

func (*TLAccountSendChangePhoneCode) Descriptor() ([]byte, []int)

func (*TLAccountSendChangePhoneCode) Encode

func (m *TLAccountSendChangePhoneCode) Encode() []byte

func (*TLAccountSendChangePhoneCode) GetAllowFlashcall

func (m *TLAccountSendChangePhoneCode) GetAllowFlashcall() bool

func (*TLAccountSendChangePhoneCode) GetCurrentNumber

func (m *TLAccountSendChangePhoneCode) GetCurrentNumber() *Bool

func (*TLAccountSendChangePhoneCode) GetPhoneNumber

func (m *TLAccountSendChangePhoneCode) GetPhoneNumber() string

func (*TLAccountSendChangePhoneCode) ProtoMessage

func (*TLAccountSendChangePhoneCode) ProtoMessage()

func (*TLAccountSendChangePhoneCode) Reset

func (m *TLAccountSendChangePhoneCode) Reset()

func (*TLAccountSendChangePhoneCode) String

type TLAccountSendConfirmPhoneCode

type TLAccountSendConfirmPhoneCode struct {
	AllowFlashcall bool   `protobuf:"varint,2,opt,name=allow_flashcall,json=allowFlashcall" json:"allow_flashcall,omitempty"`
	Hash           string `protobuf:"bytes,3,opt,name=hash" json:"hash,omitempty"`
	CurrentNumber  *Bool  `protobuf:"bytes,4,opt,name=current_number,json=currentNumber" json:"current_number,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.sendConfirmPhoneCode#1516d7bd flags:# allow_flashcall:flags.0?true hash:string current_number:flags.0?Bool = auth.SentCode;

func NewTLAccountSendConfirmPhoneCode

func NewTLAccountSendConfirmPhoneCode() *TLAccountSendConfirmPhoneCode

func (*TLAccountSendConfirmPhoneCode) Decode

func (*TLAccountSendConfirmPhoneCode) Descriptor

func (*TLAccountSendConfirmPhoneCode) Descriptor() ([]byte, []int)

func (*TLAccountSendConfirmPhoneCode) Encode

func (m *TLAccountSendConfirmPhoneCode) Encode() []byte

func (*TLAccountSendConfirmPhoneCode) GetAllowFlashcall

func (m *TLAccountSendConfirmPhoneCode) GetAllowFlashcall() bool

func (*TLAccountSendConfirmPhoneCode) GetCurrentNumber

func (m *TLAccountSendConfirmPhoneCode) GetCurrentNumber() *Bool

func (*TLAccountSendConfirmPhoneCode) GetHash

func (*TLAccountSendConfirmPhoneCode) ProtoMessage

func (*TLAccountSendConfirmPhoneCode) ProtoMessage()

func (*TLAccountSendConfirmPhoneCode) Reset

func (m *TLAccountSendConfirmPhoneCode) Reset()

func (*TLAccountSendConfirmPhoneCode) String

type TLAccountSetAccountTTL

type TLAccountSetAccountTTL struct {
	Ttl *AccountDaysTTL `protobuf:"bytes,1,opt,name=ttl" json:"ttl,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.setAccountTTL#2442485e ttl:AccountDaysTTL = Bool;

func NewTLAccountSetAccountTTL

func NewTLAccountSetAccountTTL() *TLAccountSetAccountTTL

func (*TLAccountSetAccountTTL) Decode

func (m *TLAccountSetAccountTTL) Decode(dbuf *DecodeBuf) error

func (*TLAccountSetAccountTTL) Descriptor

func (*TLAccountSetAccountTTL) Descriptor() ([]byte, []int)

func (*TLAccountSetAccountTTL) Encode

func (m *TLAccountSetAccountTTL) Encode() []byte

func (*TLAccountSetAccountTTL) GetTtl

func (*TLAccountSetAccountTTL) ProtoMessage

func (*TLAccountSetAccountTTL) ProtoMessage()

func (*TLAccountSetAccountTTL) Reset

func (m *TLAccountSetAccountTTL) Reset()

func (*TLAccountSetAccountTTL) String

func (m *TLAccountSetAccountTTL) String() string

type TLAccountSetPrivacy

type TLAccountSetPrivacy struct {
	Key   *InputPrivacyKey    `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	Rules []*InputPrivacyRule `protobuf:"bytes,2,rep,name=rules" json:"rules,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.setPrivacy#c9f81ce8 key:InputPrivacyKey rules:Vector<InputPrivacyRule> = account.PrivacyRules;

func NewTLAccountSetPrivacy

func NewTLAccountSetPrivacy() *TLAccountSetPrivacy

func (*TLAccountSetPrivacy) Decode

func (m *TLAccountSetPrivacy) Decode(dbuf *DecodeBuf) error

func (*TLAccountSetPrivacy) Descriptor

func (*TLAccountSetPrivacy) Descriptor() ([]byte, []int)

func (*TLAccountSetPrivacy) Encode

func (m *TLAccountSetPrivacy) Encode() []byte

func (*TLAccountSetPrivacy) GetKey

func (m *TLAccountSetPrivacy) GetKey() *InputPrivacyKey

func (*TLAccountSetPrivacy) GetRules

func (m *TLAccountSetPrivacy) GetRules() []*InputPrivacyRule

func (*TLAccountSetPrivacy) ProtoMessage

func (*TLAccountSetPrivacy) ProtoMessage()

func (*TLAccountSetPrivacy) Reset

func (m *TLAccountSetPrivacy) Reset()

func (*TLAccountSetPrivacy) String

func (m *TLAccountSetPrivacy) String() string

type TLAccountTmpPassword

type TLAccountTmpPassword struct {
	Data2 *Account_TmpPassword_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;

func NewTLAccountTmpPassword

func NewTLAccountTmpPassword() *TLAccountTmpPassword

func (*TLAccountTmpPassword) Decode

func (m *TLAccountTmpPassword) Decode(dbuf *DecodeBuf) error

func (*TLAccountTmpPassword) Descriptor

func (*TLAccountTmpPassword) Descriptor() ([]byte, []int)

func (*TLAccountTmpPassword) Encode

func (m *TLAccountTmpPassword) Encode() []byte

func (*TLAccountTmpPassword) GetData2

func (*TLAccountTmpPassword) GetTmpPassword

func (m *TLAccountTmpPassword) GetTmpPassword() []byte

func (*TLAccountTmpPassword) GetValidUntil

func (m *TLAccountTmpPassword) GetValidUntil() int32

func (*TLAccountTmpPassword) ProtoMessage

func (*TLAccountTmpPassword) ProtoMessage()

func (*TLAccountTmpPassword) Reset

func (m *TLAccountTmpPassword) Reset()

func (*TLAccountTmpPassword) SetTmpPassword

func (m *TLAccountTmpPassword) SetTmpPassword(v []byte)

func (*TLAccountTmpPassword) SetValidUntil

func (m *TLAccountTmpPassword) SetValidUntil(v int32)

func (*TLAccountTmpPassword) String

func (m *TLAccountTmpPassword) String() string

func (*TLAccountTmpPassword) To_Account_TmpPassword

func (m *TLAccountTmpPassword) To_Account_TmpPassword() *Account_TmpPassword

account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;

type TLAccountUnregisterDevice

type TLAccountUnregisterDevice struct {
	TokenType int32  `protobuf:"varint,1,opt,name=token_type,json=tokenType" json:"token_type,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.unregisterDevice#65c55b40 token_type:int token:string = Bool;

func NewTLAccountUnregisterDevice

func NewTLAccountUnregisterDevice() *TLAccountUnregisterDevice

func (*TLAccountUnregisterDevice) Decode

func (m *TLAccountUnregisterDevice) Decode(dbuf *DecodeBuf) error

func (*TLAccountUnregisterDevice) Descriptor

func (*TLAccountUnregisterDevice) Descriptor() ([]byte, []int)

func (*TLAccountUnregisterDevice) Encode

func (m *TLAccountUnregisterDevice) Encode() []byte

func (*TLAccountUnregisterDevice) GetToken

func (m *TLAccountUnregisterDevice) GetToken() string

func (*TLAccountUnregisterDevice) GetTokenType

func (m *TLAccountUnregisterDevice) GetTokenType() int32

func (*TLAccountUnregisterDevice) ProtoMessage

func (*TLAccountUnregisterDevice) ProtoMessage()

func (*TLAccountUnregisterDevice) Reset

func (m *TLAccountUnregisterDevice) Reset()

func (*TLAccountUnregisterDevice) String

func (m *TLAccountUnregisterDevice) String() string

type TLAccountUnregisterDeviceLayer74

type TLAccountUnregisterDeviceLayer74 struct {
	TokenType int32   `protobuf:"varint,1,opt,name=token_type,json=tokenType" json:"token_type,omitempty"`
	Token     string  `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
	OtherUids []int32 `protobuf:"varint,3,rep,packed,name=other_uids,json=otherUids" json:"other_uids,omitempty"`
}

Layer74 account.unregisterDevice#3076c4bf token_type:int token:string other_uids:Vector<int> = Bool;

func NewTLAccountUnregisterDeviceLayer74

func NewTLAccountUnregisterDeviceLayer74() *TLAccountUnregisterDeviceLayer74

func (*TLAccountUnregisterDeviceLayer74) Decode

func (*TLAccountUnregisterDeviceLayer74) Descriptor

func (*TLAccountUnregisterDeviceLayer74) Descriptor() ([]byte, []int)

func (*TLAccountUnregisterDeviceLayer74) Encode

func (m *TLAccountUnregisterDeviceLayer74) Encode() []byte

func (*TLAccountUnregisterDeviceLayer74) GetOtherUids

func (m *TLAccountUnregisterDeviceLayer74) GetOtherUids() []int32

func (*TLAccountUnregisterDeviceLayer74) GetToken

func (*TLAccountUnregisterDeviceLayer74) GetTokenType

func (m *TLAccountUnregisterDeviceLayer74) GetTokenType() int32

func (*TLAccountUnregisterDeviceLayer74) ProtoMessage

func (*TLAccountUnregisterDeviceLayer74) ProtoMessage()

func (*TLAccountUnregisterDeviceLayer74) Reset

func (*TLAccountUnregisterDeviceLayer74) String

type TLAccountUpdateDeviceLocked

type TLAccountUpdateDeviceLocked struct {
	Period int32 `protobuf:"varint,1,opt,name=period" json:"period,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updateDeviceLocked#38df3532 period:int = Bool;

func NewTLAccountUpdateDeviceLocked

func NewTLAccountUpdateDeviceLocked() *TLAccountUpdateDeviceLocked

func (*TLAccountUpdateDeviceLocked) Decode

func (m *TLAccountUpdateDeviceLocked) Decode(dbuf *DecodeBuf) error

func (*TLAccountUpdateDeviceLocked) Descriptor

func (*TLAccountUpdateDeviceLocked) Descriptor() ([]byte, []int)

func (*TLAccountUpdateDeviceLocked) Encode

func (m *TLAccountUpdateDeviceLocked) Encode() []byte

func (*TLAccountUpdateDeviceLocked) GetPeriod

func (m *TLAccountUpdateDeviceLocked) GetPeriod() int32

func (*TLAccountUpdateDeviceLocked) ProtoMessage

func (*TLAccountUpdateDeviceLocked) ProtoMessage()

func (*TLAccountUpdateDeviceLocked) Reset

func (m *TLAccountUpdateDeviceLocked) Reset()

func (*TLAccountUpdateDeviceLocked) String

func (m *TLAccountUpdateDeviceLocked) String() string

type TLAccountUpdateNotifySettings

type TLAccountUpdateNotifySettings struct {
	Peer     *InputNotifyPeer         `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Settings *InputPeerNotifySettings `protobuf:"bytes,2,opt,name=settings" json:"settings,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updateNotifySettings#84be5b93 peer:InputNotifyPeer settings:InputPeerNotifySettings = Bool;

func NewTLAccountUpdateNotifySettings

func NewTLAccountUpdateNotifySettings() *TLAccountUpdateNotifySettings

func (*TLAccountUpdateNotifySettings) Decode

func (*TLAccountUpdateNotifySettings) Descriptor

func (*TLAccountUpdateNotifySettings) Descriptor() ([]byte, []int)

func (*TLAccountUpdateNotifySettings) Encode

func (m *TLAccountUpdateNotifySettings) Encode() []byte

func (*TLAccountUpdateNotifySettings) GetPeer

func (*TLAccountUpdateNotifySettings) GetSettings

func (*TLAccountUpdateNotifySettings) ProtoMessage

func (*TLAccountUpdateNotifySettings) ProtoMessage()

func (*TLAccountUpdateNotifySettings) Reset

func (m *TLAccountUpdateNotifySettings) Reset()

func (*TLAccountUpdateNotifySettings) String

type TLAccountUpdatePasswordSettings

type TLAccountUpdatePasswordSettings struct {
	CurrentPasswordHash []byte                         `protobuf:"bytes,1,opt,name=current_password_hash,json=currentPasswordHash,proto3" json:"current_password_hash,omitempty"`
	NewSettings         *Account_PasswordInputSettings `protobuf:"bytes,2,opt,name=new_settings,json=newSettings" json:"new_settings,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updatePasswordSettings#fa7c4b86 current_password_hash:bytes new_settings:account.PasswordInputSettings = Bool;

func NewTLAccountUpdatePasswordSettings

func NewTLAccountUpdatePasswordSettings() *TLAccountUpdatePasswordSettings

func (*TLAccountUpdatePasswordSettings) Decode

func (*TLAccountUpdatePasswordSettings) Descriptor

func (*TLAccountUpdatePasswordSettings) Descriptor() ([]byte, []int)

func (*TLAccountUpdatePasswordSettings) Encode

func (m *TLAccountUpdatePasswordSettings) Encode() []byte

func (*TLAccountUpdatePasswordSettings) GetCurrentPasswordHash

func (m *TLAccountUpdatePasswordSettings) GetCurrentPasswordHash() []byte

func (*TLAccountUpdatePasswordSettings) GetNewSettings

func (*TLAccountUpdatePasswordSettings) ProtoMessage

func (*TLAccountUpdatePasswordSettings) ProtoMessage()

func (*TLAccountUpdatePasswordSettings) Reset

func (*TLAccountUpdatePasswordSettings) String

type TLAccountUpdateProfile

type TLAccountUpdateProfile struct {
	FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,3,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	About     string `protobuf:"bytes,4,opt,name=about" json:"about,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updateProfile#78515775 flags:# first_name:flags.0?string last_name:flags.1?string about:flags.2?string = User;

func NewTLAccountUpdateProfile

func NewTLAccountUpdateProfile() *TLAccountUpdateProfile

func (*TLAccountUpdateProfile) Decode

func (m *TLAccountUpdateProfile) Decode(dbuf *DecodeBuf) error

func (*TLAccountUpdateProfile) Descriptor

func (*TLAccountUpdateProfile) Descriptor() ([]byte, []int)

func (*TLAccountUpdateProfile) Encode

func (m *TLAccountUpdateProfile) Encode() []byte

func (*TLAccountUpdateProfile) GetAbout

func (m *TLAccountUpdateProfile) GetAbout() string

func (*TLAccountUpdateProfile) GetFirstName

func (m *TLAccountUpdateProfile) GetFirstName() string

func (*TLAccountUpdateProfile) GetLastName

func (m *TLAccountUpdateProfile) GetLastName() string

func (*TLAccountUpdateProfile) ProtoMessage

func (*TLAccountUpdateProfile) ProtoMessage()

func (*TLAccountUpdateProfile) Reset

func (m *TLAccountUpdateProfile) Reset()

func (*TLAccountUpdateProfile) String

func (m *TLAccountUpdateProfile) String() string

type TLAccountUpdateStatus

type TLAccountUpdateStatus struct {
	Offline *Bool `protobuf:"bytes,1,opt,name=offline" json:"offline,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updateStatus#6628562c offline:Bool = Bool;

func NewTLAccountUpdateStatus

func NewTLAccountUpdateStatus() *TLAccountUpdateStatus

func (*TLAccountUpdateStatus) Decode

func (m *TLAccountUpdateStatus) Decode(dbuf *DecodeBuf) error

func (*TLAccountUpdateStatus) Descriptor

func (*TLAccountUpdateStatus) Descriptor() ([]byte, []int)

func (*TLAccountUpdateStatus) Encode

func (m *TLAccountUpdateStatus) Encode() []byte

func (*TLAccountUpdateStatus) GetOffline

func (m *TLAccountUpdateStatus) GetOffline() *Bool

func (*TLAccountUpdateStatus) ProtoMessage

func (*TLAccountUpdateStatus) ProtoMessage()

func (*TLAccountUpdateStatus) Reset

func (m *TLAccountUpdateStatus) Reset()

func (*TLAccountUpdateStatus) String

func (m *TLAccountUpdateStatus) String() string

type TLAccountUpdateUsername

type TLAccountUpdateUsername struct {
	Username string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// account.updateUsername#3e0bdd7c username:string = User;

func NewTLAccountUpdateUsername

func NewTLAccountUpdateUsername() *TLAccountUpdateUsername

func (*TLAccountUpdateUsername) Decode

func (m *TLAccountUpdateUsername) Decode(dbuf *DecodeBuf) error

func (*TLAccountUpdateUsername) Descriptor

func (*TLAccountUpdateUsername) Descriptor() ([]byte, []int)

func (*TLAccountUpdateUsername) Encode

func (m *TLAccountUpdateUsername) Encode() []byte

func (*TLAccountUpdateUsername) GetUsername

func (m *TLAccountUpdateUsername) GetUsername() string

func (*TLAccountUpdateUsername) ProtoMessage

func (*TLAccountUpdateUsername) ProtoMessage()

func (*TLAccountUpdateUsername) Reset

func (m *TLAccountUpdateUsername) Reset()

func (*TLAccountUpdateUsername) String

func (m *TLAccountUpdateUsername) String() string

type TLAuthAuthorization

type TLAuthAuthorization struct {
	Data2 *Auth_Authorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;

func NewTLAuthAuthorization

func NewTLAuthAuthorization() *TLAuthAuthorization

func (*TLAuthAuthorization) Decode

func (m *TLAuthAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthAuthorization) Descriptor

func (*TLAuthAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthAuthorization) Encode

func (m *TLAuthAuthorization) Encode() []byte

func (*TLAuthAuthorization) GetData2

func (*TLAuthAuthorization) GetTmpSessions

func (m *TLAuthAuthorization) GetTmpSessions() int32

func (*TLAuthAuthorization) GetUser

func (m *TLAuthAuthorization) GetUser() *User

func (*TLAuthAuthorization) ProtoMessage

func (*TLAuthAuthorization) ProtoMessage()

func (*TLAuthAuthorization) Reset

func (m *TLAuthAuthorization) Reset()

func (*TLAuthAuthorization) SetTmpSessions

func (m *TLAuthAuthorization) SetTmpSessions(v int32)

func (*TLAuthAuthorization) SetUser

func (m *TLAuthAuthorization) SetUser(v *User)

func (*TLAuthAuthorization) String

func (m *TLAuthAuthorization) String() string

func (*TLAuthAuthorization) To_Auth_Authorization

func (m *TLAuthAuthorization) To_Auth_Authorization() *Auth_Authorization

auth.authorization#cd050916 flags:# tmp_sessions:flags.0?int user:User = auth.Authorization;

type TLAuthBindTempAuthKey

type TLAuthBindTempAuthKey struct {
	PermAuthKeyId    int64  `protobuf:"varint,1,opt,name=perm_auth_key_id,json=permAuthKeyId" json:"perm_auth_key_id,omitempty"`
	Nonce            int64  `protobuf:"varint,2,opt,name=nonce" json:"nonce,omitempty"`
	ExpiresAt        int32  `protobuf:"varint,3,opt,name=expires_at,json=expiresAt" json:"expires_at,omitempty"`
	EncryptedMessage []byte `protobuf:"bytes,4,opt,name=encrypted_message,json=encryptedMessage,proto3" json:"encrypted_message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.bindTempAuthKey#cdd42a05 perm_auth_key_id:long nonce:long expires_at:int encrypted_message:bytes = Bool;

func NewTLAuthBindTempAuthKey

func NewTLAuthBindTempAuthKey() *TLAuthBindTempAuthKey

func (*TLAuthBindTempAuthKey) Decode

func (m *TLAuthBindTempAuthKey) Decode(dbuf *DecodeBuf) error

func (*TLAuthBindTempAuthKey) Descriptor

func (*TLAuthBindTempAuthKey) Descriptor() ([]byte, []int)

func (*TLAuthBindTempAuthKey) Encode

func (m *TLAuthBindTempAuthKey) Encode() []byte

func (*TLAuthBindTempAuthKey) GetEncryptedMessage

func (m *TLAuthBindTempAuthKey) GetEncryptedMessage() []byte

func (*TLAuthBindTempAuthKey) GetExpiresAt

func (m *TLAuthBindTempAuthKey) GetExpiresAt() int32

func (*TLAuthBindTempAuthKey) GetNonce

func (m *TLAuthBindTempAuthKey) GetNonce() int64

func (*TLAuthBindTempAuthKey) GetPermAuthKeyId

func (m *TLAuthBindTempAuthKey) GetPermAuthKeyId() int64

func (*TLAuthBindTempAuthKey) ProtoMessage

func (*TLAuthBindTempAuthKey) ProtoMessage()

func (*TLAuthBindTempAuthKey) Reset

func (m *TLAuthBindTempAuthKey) Reset()

func (*TLAuthBindTempAuthKey) String

func (m *TLAuthBindTempAuthKey) String() string

type TLAuthCancelCode

type TLAuthCancelCode struct {
	PhoneNumber   string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	PhoneCodeHash string `protobuf:"bytes,2,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.cancelCode#1f040578 phone_number:string phone_code_hash:string = Bool;

func NewTLAuthCancelCode

func NewTLAuthCancelCode() *TLAuthCancelCode

func (*TLAuthCancelCode) Decode

func (m *TLAuthCancelCode) Decode(dbuf *DecodeBuf) error

func (*TLAuthCancelCode) Descriptor

func (*TLAuthCancelCode) Descriptor() ([]byte, []int)

func (*TLAuthCancelCode) Encode

func (m *TLAuthCancelCode) Encode() []byte

func (*TLAuthCancelCode) GetPhoneCodeHash

func (m *TLAuthCancelCode) GetPhoneCodeHash() string

func (*TLAuthCancelCode) GetPhoneNumber

func (m *TLAuthCancelCode) GetPhoneNumber() string

func (*TLAuthCancelCode) ProtoMessage

func (*TLAuthCancelCode) ProtoMessage()

func (*TLAuthCancelCode) Reset

func (m *TLAuthCancelCode) Reset()

func (*TLAuthCancelCode) String

func (m *TLAuthCancelCode) String() string

type TLAuthCheckPassword

type TLAuthCheckPassword struct {
	PasswordHash []byte `protobuf:"bytes,1,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.checkPassword#a63011e password_hash:bytes = auth.Authorization;

func NewTLAuthCheckPassword

func NewTLAuthCheckPassword() *TLAuthCheckPassword

func (*TLAuthCheckPassword) Decode

func (m *TLAuthCheckPassword) Decode(dbuf *DecodeBuf) error

func (*TLAuthCheckPassword) Descriptor

func (*TLAuthCheckPassword) Descriptor() ([]byte, []int)

func (*TLAuthCheckPassword) Encode

func (m *TLAuthCheckPassword) Encode() []byte

func (*TLAuthCheckPassword) GetPasswordHash

func (m *TLAuthCheckPassword) GetPasswordHash() []byte

func (*TLAuthCheckPassword) ProtoMessage

func (*TLAuthCheckPassword) ProtoMessage()

func (*TLAuthCheckPassword) Reset

func (m *TLAuthCheckPassword) Reset()

func (*TLAuthCheckPassword) String

func (m *TLAuthCheckPassword) String() string

type TLAuthCheckPhone

type TLAuthCheckPhone struct {
	PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.checkPhone#6fe51dfb phone_number:string = auth.CheckedPhone;

func NewTLAuthCheckPhone

func NewTLAuthCheckPhone() *TLAuthCheckPhone

func (*TLAuthCheckPhone) Decode

func (m *TLAuthCheckPhone) Decode(dbuf *DecodeBuf) error

func (*TLAuthCheckPhone) Descriptor

func (*TLAuthCheckPhone) Descriptor() ([]byte, []int)

func (*TLAuthCheckPhone) Encode

func (m *TLAuthCheckPhone) Encode() []byte

func (*TLAuthCheckPhone) GetPhoneNumber

func (m *TLAuthCheckPhone) GetPhoneNumber() string

func (*TLAuthCheckPhone) ProtoMessage

func (*TLAuthCheckPhone) ProtoMessage()

func (*TLAuthCheckPhone) Reset

func (m *TLAuthCheckPhone) Reset()

func (*TLAuthCheckPhone) String

func (m *TLAuthCheckPhone) String() string

type TLAuthCheckedPhone

type TLAuthCheckedPhone struct {
	Data2 *Auth_CheckedPhone_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;

func NewTLAuthCheckedPhone

func NewTLAuthCheckedPhone() *TLAuthCheckedPhone

func (*TLAuthCheckedPhone) Decode

func (m *TLAuthCheckedPhone) Decode(dbuf *DecodeBuf) error

func (*TLAuthCheckedPhone) Descriptor

func (*TLAuthCheckedPhone) Descriptor() ([]byte, []int)

func (*TLAuthCheckedPhone) Encode

func (m *TLAuthCheckedPhone) Encode() []byte

func (*TLAuthCheckedPhone) GetData2

func (*TLAuthCheckedPhone) GetPhoneRegistered

func (m *TLAuthCheckedPhone) GetPhoneRegistered() *Bool

func (*TLAuthCheckedPhone) ProtoMessage

func (*TLAuthCheckedPhone) ProtoMessage()

func (*TLAuthCheckedPhone) Reset

func (m *TLAuthCheckedPhone) Reset()

func (*TLAuthCheckedPhone) SetPhoneRegistered

func (m *TLAuthCheckedPhone) SetPhoneRegistered(v *Bool)

func (*TLAuthCheckedPhone) String

func (m *TLAuthCheckedPhone) String() string

func (*TLAuthCheckedPhone) To_Auth_CheckedPhone

func (m *TLAuthCheckedPhone) To_Auth_CheckedPhone() *Auth_CheckedPhone

auth.checkedPhone#811ea28e phone_registered:Bool = auth.CheckedPhone;

type TLAuthCodeTypeCall

type TLAuthCodeTypeCall struct {
	Data2 *Auth_CodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.codeTypeCall#741cd3e3 = auth.CodeType;

func NewTLAuthCodeTypeCall

func NewTLAuthCodeTypeCall() *TLAuthCodeTypeCall

func (*TLAuthCodeTypeCall) Decode

func (m *TLAuthCodeTypeCall) Decode(dbuf *DecodeBuf) error

func (*TLAuthCodeTypeCall) Descriptor

func (*TLAuthCodeTypeCall) Descriptor() ([]byte, []int)

func (*TLAuthCodeTypeCall) Encode

func (m *TLAuthCodeTypeCall) Encode() []byte

func (*TLAuthCodeTypeCall) GetData2

func (m *TLAuthCodeTypeCall) GetData2() *Auth_CodeType_Data

func (*TLAuthCodeTypeCall) ProtoMessage

func (*TLAuthCodeTypeCall) ProtoMessage()

func (*TLAuthCodeTypeCall) Reset

func (m *TLAuthCodeTypeCall) Reset()

func (*TLAuthCodeTypeCall) String

func (m *TLAuthCodeTypeCall) String() string

func (*TLAuthCodeTypeCall) To_Auth_CodeType

func (m *TLAuthCodeTypeCall) To_Auth_CodeType() *Auth_CodeType

auth.codeTypeCall#741cd3e3 = auth.CodeType;

type TLAuthCodeTypeFlashCall

type TLAuthCodeTypeFlashCall struct {
	Data2 *Auth_CodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.codeTypeFlashCall#226ccefb = auth.CodeType;

func NewTLAuthCodeTypeFlashCall

func NewTLAuthCodeTypeFlashCall() *TLAuthCodeTypeFlashCall

func (*TLAuthCodeTypeFlashCall) Decode

func (m *TLAuthCodeTypeFlashCall) Decode(dbuf *DecodeBuf) error

func (*TLAuthCodeTypeFlashCall) Descriptor

func (*TLAuthCodeTypeFlashCall) Descriptor() ([]byte, []int)

func (*TLAuthCodeTypeFlashCall) Encode

func (m *TLAuthCodeTypeFlashCall) Encode() []byte

func (*TLAuthCodeTypeFlashCall) GetData2

func (*TLAuthCodeTypeFlashCall) ProtoMessage

func (*TLAuthCodeTypeFlashCall) ProtoMessage()

func (*TLAuthCodeTypeFlashCall) Reset

func (m *TLAuthCodeTypeFlashCall) Reset()

func (*TLAuthCodeTypeFlashCall) String

func (m *TLAuthCodeTypeFlashCall) String() string

func (*TLAuthCodeTypeFlashCall) To_Auth_CodeType

func (m *TLAuthCodeTypeFlashCall) To_Auth_CodeType() *Auth_CodeType

auth.codeTypeFlashCall#226ccefb = auth.CodeType;

type TLAuthCodeTypeSms

type TLAuthCodeTypeSms struct {
	Data2 *Auth_CodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.codeTypeSms#72a3158c = auth.CodeType;

func NewTLAuthCodeTypeSms

func NewTLAuthCodeTypeSms() *TLAuthCodeTypeSms

func (*TLAuthCodeTypeSms) Decode

func (m *TLAuthCodeTypeSms) Decode(dbuf *DecodeBuf) error

func (*TLAuthCodeTypeSms) Descriptor

func (*TLAuthCodeTypeSms) Descriptor() ([]byte, []int)

func (*TLAuthCodeTypeSms) Encode

func (m *TLAuthCodeTypeSms) Encode() []byte

func (*TLAuthCodeTypeSms) GetData2

func (m *TLAuthCodeTypeSms) GetData2() *Auth_CodeType_Data

func (*TLAuthCodeTypeSms) ProtoMessage

func (*TLAuthCodeTypeSms) ProtoMessage()

func (*TLAuthCodeTypeSms) Reset

func (m *TLAuthCodeTypeSms) Reset()

func (*TLAuthCodeTypeSms) String

func (m *TLAuthCodeTypeSms) String() string

func (*TLAuthCodeTypeSms) To_Auth_CodeType

func (m *TLAuthCodeTypeSms) To_Auth_CodeType() *Auth_CodeType

auth.codeTypeSms#72a3158c = auth.CodeType;

type TLAuthDropTempAuthKeys

type TLAuthDropTempAuthKeys struct {
	ExceptAuthKeys []int64 `protobuf:"varint,1,rep,packed,name=except_auth_keys,json=exceptAuthKeys" json:"except_auth_keys,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.dropTempAuthKeys#8e48a188 except_auth_keys:Vector<long> = Bool;

func NewTLAuthDropTempAuthKeys

func NewTLAuthDropTempAuthKeys() *TLAuthDropTempAuthKeys

func (*TLAuthDropTempAuthKeys) Decode

func (m *TLAuthDropTempAuthKeys) Decode(dbuf *DecodeBuf) error

func (*TLAuthDropTempAuthKeys) Descriptor

func (*TLAuthDropTempAuthKeys) Descriptor() ([]byte, []int)

func (*TLAuthDropTempAuthKeys) Encode

func (m *TLAuthDropTempAuthKeys) Encode() []byte

func (*TLAuthDropTempAuthKeys) GetExceptAuthKeys

func (m *TLAuthDropTempAuthKeys) GetExceptAuthKeys() []int64

func (*TLAuthDropTempAuthKeys) ProtoMessage

func (*TLAuthDropTempAuthKeys) ProtoMessage()

func (*TLAuthDropTempAuthKeys) Reset

func (m *TLAuthDropTempAuthKeys) Reset()

func (*TLAuthDropTempAuthKeys) String

func (m *TLAuthDropTempAuthKeys) String() string

type TLAuthExportAuthorization

type TLAuthExportAuthorization struct {
	DcId int32 `protobuf:"varint,1,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.exportAuthorization#e5bfffcd dc_id:int = auth.ExportedAuthorization;

func NewTLAuthExportAuthorization

func NewTLAuthExportAuthorization() *TLAuthExportAuthorization

func (*TLAuthExportAuthorization) Decode

func (m *TLAuthExportAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthExportAuthorization) Descriptor

func (*TLAuthExportAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthExportAuthorization) Encode

func (m *TLAuthExportAuthorization) Encode() []byte

func (*TLAuthExportAuthorization) GetDcId

func (m *TLAuthExportAuthorization) GetDcId() int32

func (*TLAuthExportAuthorization) ProtoMessage

func (*TLAuthExportAuthorization) ProtoMessage()

func (*TLAuthExportAuthorization) Reset

func (m *TLAuthExportAuthorization) Reset()

func (*TLAuthExportAuthorization) String

func (m *TLAuthExportAuthorization) String() string

type TLAuthExportedAuthorization

type TLAuthExportedAuthorization struct {
	Data2 *Auth_ExportedAuthorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization;

func NewTLAuthExportedAuthorization

func NewTLAuthExportedAuthorization() *TLAuthExportedAuthorization

func (*TLAuthExportedAuthorization) Decode

func (m *TLAuthExportedAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthExportedAuthorization) Descriptor

func (*TLAuthExportedAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthExportedAuthorization) Encode

func (m *TLAuthExportedAuthorization) Encode() []byte

func (*TLAuthExportedAuthorization) GetBytes

func (m *TLAuthExportedAuthorization) GetBytes() []byte

func (*TLAuthExportedAuthorization) GetData2

func (*TLAuthExportedAuthorization) GetId

func (*TLAuthExportedAuthorization) ProtoMessage

func (*TLAuthExportedAuthorization) ProtoMessage()

func (*TLAuthExportedAuthorization) Reset

func (m *TLAuthExportedAuthorization) Reset()

func (*TLAuthExportedAuthorization) SetBytes

func (m *TLAuthExportedAuthorization) SetBytes(v []byte)

func (*TLAuthExportedAuthorization) SetId

func (m *TLAuthExportedAuthorization) SetId(v int32)

func (*TLAuthExportedAuthorization) String

func (m *TLAuthExportedAuthorization) String() string

func (*TLAuthExportedAuthorization) To_Auth_ExportedAuthorization

func (m *TLAuthExportedAuthorization) To_Auth_ExportedAuthorization() *Auth_ExportedAuthorization

auth.exportedAuthorization#df969c2d id:int bytes:bytes = auth.ExportedAuthorization;

type TLAuthImportAuthorization

type TLAuthImportAuthorization struct {
	Id    int32  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.importAuthorization#e3ef9613 id:int bytes:bytes = auth.Authorization;

func NewTLAuthImportAuthorization

func NewTLAuthImportAuthorization() *TLAuthImportAuthorization

func (*TLAuthImportAuthorization) Decode

func (m *TLAuthImportAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthImportAuthorization) Descriptor

func (*TLAuthImportAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthImportAuthorization) Encode

func (m *TLAuthImportAuthorization) Encode() []byte

func (*TLAuthImportAuthorization) GetBytes

func (m *TLAuthImportAuthorization) GetBytes() []byte

func (*TLAuthImportAuthorization) GetId

func (m *TLAuthImportAuthorization) GetId() int32

func (*TLAuthImportAuthorization) ProtoMessage

func (*TLAuthImportAuthorization) ProtoMessage()

func (*TLAuthImportAuthorization) Reset

func (m *TLAuthImportAuthorization) Reset()

func (*TLAuthImportAuthorization) String

func (m *TLAuthImportAuthorization) String() string

type TLAuthImportBotAuthorization

type TLAuthImportBotAuthorization struct {
	Flags        int32  `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	ApiId        int32  `protobuf:"varint,2,opt,name=api_id,json=apiId" json:"api_id,omitempty"`
	ApiHash      string `protobuf:"bytes,3,opt,name=api_hash,json=apiHash" json:"api_hash,omitempty"`
	BotAuthToken string `protobuf:"bytes,4,opt,name=bot_auth_token,json=botAuthToken" json:"bot_auth_token,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.importBotAuthorization#67a3ff2c flags:int api_id:int api_hash:string bot_auth_token:string = auth.Authorization;

func NewTLAuthImportBotAuthorization

func NewTLAuthImportBotAuthorization() *TLAuthImportBotAuthorization

func (*TLAuthImportBotAuthorization) Decode

func (m *TLAuthImportBotAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthImportBotAuthorization) Descriptor

func (*TLAuthImportBotAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthImportBotAuthorization) Encode

func (m *TLAuthImportBotAuthorization) Encode() []byte

func (*TLAuthImportBotAuthorization) GetApiHash

func (m *TLAuthImportBotAuthorization) GetApiHash() string

func (*TLAuthImportBotAuthorization) GetApiId

func (m *TLAuthImportBotAuthorization) GetApiId() int32

func (*TLAuthImportBotAuthorization) GetBotAuthToken

func (m *TLAuthImportBotAuthorization) GetBotAuthToken() string

func (*TLAuthImportBotAuthorization) GetFlags

func (m *TLAuthImportBotAuthorization) GetFlags() int32

func (*TLAuthImportBotAuthorization) ProtoMessage

func (*TLAuthImportBotAuthorization) ProtoMessage()

func (*TLAuthImportBotAuthorization) Reset

func (m *TLAuthImportBotAuthorization) Reset()

func (*TLAuthImportBotAuthorization) String

type TLAuthLogOut

type TLAuthLogOut struct {
}

///////////////////////////////////////////////////////////////////////////// auth.logOut#5717da40 = Bool;

func NewTLAuthLogOut

func NewTLAuthLogOut() *TLAuthLogOut

func (*TLAuthLogOut) Decode

func (m *TLAuthLogOut) Decode(dbuf *DecodeBuf) error

func (*TLAuthLogOut) Descriptor

func (*TLAuthLogOut) Descriptor() ([]byte, []int)

func (*TLAuthLogOut) Encode

func (m *TLAuthLogOut) Encode() []byte

func (*TLAuthLogOut) ProtoMessage

func (*TLAuthLogOut) ProtoMessage()

func (*TLAuthLogOut) Reset

func (m *TLAuthLogOut) Reset()

func (*TLAuthLogOut) String

func (m *TLAuthLogOut) String() string

type TLAuthPasswordRecovery

type TLAuthPasswordRecovery struct {
	Data2 *Auth_PasswordRecovery_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;

func NewTLAuthPasswordRecovery

func NewTLAuthPasswordRecovery() *TLAuthPasswordRecovery

func (*TLAuthPasswordRecovery) Decode

func (m *TLAuthPasswordRecovery) Decode(dbuf *DecodeBuf) error

func (*TLAuthPasswordRecovery) Descriptor

func (*TLAuthPasswordRecovery) Descriptor() ([]byte, []int)

func (*TLAuthPasswordRecovery) Encode

func (m *TLAuthPasswordRecovery) Encode() []byte

func (*TLAuthPasswordRecovery) GetData2

func (*TLAuthPasswordRecovery) GetEmailPattern

func (m *TLAuthPasswordRecovery) GetEmailPattern() string

func (*TLAuthPasswordRecovery) ProtoMessage

func (*TLAuthPasswordRecovery) ProtoMessage()

func (*TLAuthPasswordRecovery) Reset

func (m *TLAuthPasswordRecovery) Reset()

func (*TLAuthPasswordRecovery) SetEmailPattern

func (m *TLAuthPasswordRecovery) SetEmailPattern(v string)

func (*TLAuthPasswordRecovery) String

func (m *TLAuthPasswordRecovery) String() string

func (*TLAuthPasswordRecovery) To_Auth_PasswordRecovery

func (m *TLAuthPasswordRecovery) To_Auth_PasswordRecovery() *Auth_PasswordRecovery

auth.passwordRecovery#137948a5 email_pattern:string = auth.PasswordRecovery;

type TLAuthRecoverPassword

type TLAuthRecoverPassword struct {
	Code string `protobuf:"bytes,1,opt,name=code" json:"code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.recoverPassword#4ea56e92 code:string = auth.Authorization;

func NewTLAuthRecoverPassword

func NewTLAuthRecoverPassword() *TLAuthRecoverPassword

func (*TLAuthRecoverPassword) Decode

func (m *TLAuthRecoverPassword) Decode(dbuf *DecodeBuf) error

func (*TLAuthRecoverPassword) Descriptor

func (*TLAuthRecoverPassword) Descriptor() ([]byte, []int)

func (*TLAuthRecoverPassword) Encode

func (m *TLAuthRecoverPassword) Encode() []byte

func (*TLAuthRecoverPassword) GetCode

func (m *TLAuthRecoverPassword) GetCode() string

func (*TLAuthRecoverPassword) ProtoMessage

func (*TLAuthRecoverPassword) ProtoMessage()

func (*TLAuthRecoverPassword) Reset

func (m *TLAuthRecoverPassword) Reset()

func (*TLAuthRecoverPassword) String

func (m *TLAuthRecoverPassword) String() string

type TLAuthRequestPasswordRecovery

type TLAuthRequestPasswordRecovery struct {
}

///////////////////////////////////////////////////////////////////////////// auth.requestPasswordRecovery#d897bc66 = auth.PasswordRecovery;

func NewTLAuthRequestPasswordRecovery

func NewTLAuthRequestPasswordRecovery() *TLAuthRequestPasswordRecovery

func (*TLAuthRequestPasswordRecovery) Decode

func (*TLAuthRequestPasswordRecovery) Descriptor

func (*TLAuthRequestPasswordRecovery) Descriptor() ([]byte, []int)

func (*TLAuthRequestPasswordRecovery) Encode

func (m *TLAuthRequestPasswordRecovery) Encode() []byte

func (*TLAuthRequestPasswordRecovery) ProtoMessage

func (*TLAuthRequestPasswordRecovery) ProtoMessage()

func (*TLAuthRequestPasswordRecovery) Reset

func (m *TLAuthRequestPasswordRecovery) Reset()

func (*TLAuthRequestPasswordRecovery) String

type TLAuthResendCode

type TLAuthResendCode struct {
	PhoneNumber   string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	PhoneCodeHash string `protobuf:"bytes,2,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.resendCode#3ef1a9bf phone_number:string phone_code_hash:string = auth.SentCode;

func NewTLAuthResendCode

func NewTLAuthResendCode() *TLAuthResendCode

func (*TLAuthResendCode) Decode

func (m *TLAuthResendCode) Decode(dbuf *DecodeBuf) error

func (*TLAuthResendCode) Descriptor

func (*TLAuthResendCode) Descriptor() ([]byte, []int)

func (*TLAuthResendCode) Encode

func (m *TLAuthResendCode) Encode() []byte

func (*TLAuthResendCode) GetPhoneCodeHash

func (m *TLAuthResendCode) GetPhoneCodeHash() string

func (*TLAuthResendCode) GetPhoneNumber

func (m *TLAuthResendCode) GetPhoneNumber() string

func (*TLAuthResendCode) ProtoMessage

func (*TLAuthResendCode) ProtoMessage()

func (*TLAuthResendCode) Reset

func (m *TLAuthResendCode) Reset()

func (*TLAuthResendCode) String

func (m *TLAuthResendCode) String() string

type TLAuthResetAuthorizations

type TLAuthResetAuthorizations struct {
}

///////////////////////////////////////////////////////////////////////////// auth.resetAuthorizations#9fab0d1a = Bool;

func NewTLAuthResetAuthorizations

func NewTLAuthResetAuthorizations() *TLAuthResetAuthorizations

func (*TLAuthResetAuthorizations) Decode

func (m *TLAuthResetAuthorizations) Decode(dbuf *DecodeBuf) error

func (*TLAuthResetAuthorizations) Descriptor

func (*TLAuthResetAuthorizations) Descriptor() ([]byte, []int)

func (*TLAuthResetAuthorizations) Encode

func (m *TLAuthResetAuthorizations) Encode() []byte

func (*TLAuthResetAuthorizations) ProtoMessage

func (*TLAuthResetAuthorizations) ProtoMessage()

func (*TLAuthResetAuthorizations) Reset

func (m *TLAuthResetAuthorizations) Reset()

func (*TLAuthResetAuthorizations) String

func (m *TLAuthResetAuthorizations) String() string

type TLAuthSendCode

type TLAuthSendCode struct {
	AllowFlashcall bool   `protobuf:"varint,2,opt,name=allow_flashcall,json=allowFlashcall" json:"allow_flashcall,omitempty"`
	PhoneNumber    string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	CurrentNumber  *Bool  `protobuf:"bytes,4,opt,name=current_number,json=currentNumber" json:"current_number,omitempty"`
	ApiId          int32  `protobuf:"varint,5,opt,name=api_id,json=apiId" json:"api_id,omitempty"`
	ApiHash        string `protobuf:"bytes,6,opt,name=api_hash,json=apiHash" json:"api_hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.sendCode#86aef0ec flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string = auth.SentCode;

func NewTLAuthSendCode

func NewTLAuthSendCode() *TLAuthSendCode

func (*TLAuthSendCode) Decode

func (m *TLAuthSendCode) Decode(dbuf *DecodeBuf) error

func (*TLAuthSendCode) Descriptor

func (*TLAuthSendCode) Descriptor() ([]byte, []int)

func (*TLAuthSendCode) Encode

func (m *TLAuthSendCode) Encode() []byte

func (*TLAuthSendCode) GetAllowFlashcall

func (m *TLAuthSendCode) GetAllowFlashcall() bool

func (*TLAuthSendCode) GetApiHash

func (m *TLAuthSendCode) GetApiHash() string

func (*TLAuthSendCode) GetApiId

func (m *TLAuthSendCode) GetApiId() int32

func (*TLAuthSendCode) GetCurrentNumber

func (m *TLAuthSendCode) GetCurrentNumber() *Bool

func (*TLAuthSendCode) GetPhoneNumber

func (m *TLAuthSendCode) GetPhoneNumber() string

func (*TLAuthSendCode) ProtoMessage

func (*TLAuthSendCode) ProtoMessage()

func (*TLAuthSendCode) Reset

func (m *TLAuthSendCode) Reset()

func (*TLAuthSendCode) String

func (m *TLAuthSendCode) String() string

type TLAuthSendCodeLayer51

type TLAuthSendCodeLayer51 struct {
	AllowFlashcall bool   `protobuf:"varint,2,opt,name=allow_flashcall,json=allowFlashcall" json:"allow_flashcall,omitempty"`
	PhoneNumber    string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	CurrentNumber  *Bool  `protobuf:"bytes,4,opt,name=current_number,json=currentNumber" json:"current_number,omitempty"`
	ApiId          int32  `protobuf:"varint,5,opt,name=api_id,json=apiId" json:"api_id,omitempty"`
	ApiHash        string `protobuf:"bytes,6,opt,name=api_hash,json=apiHash" json:"api_hash,omitempty"`
	LangCode       string `protobuf:"bytes,7,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// layer51 auth.sendCode#ccfd70cf flags:# allow_flashcall:flags.0?true phone_number:string current_number:flags.0?Bool api_id:int api_hash:string lang_code:string = auth.SentCode;

func NewTLAuthSendCodeLayer51

func NewTLAuthSendCodeLayer51() *TLAuthSendCodeLayer51

func (*TLAuthSendCodeLayer51) Decode

func (m *TLAuthSendCodeLayer51) Decode(dbuf *DecodeBuf) error

func (*TLAuthSendCodeLayer51) Descriptor

func (*TLAuthSendCodeLayer51) Descriptor() ([]byte, []int)

func (*TLAuthSendCodeLayer51) Encode

func (m *TLAuthSendCodeLayer51) Encode() []byte

func (*TLAuthSendCodeLayer51) GetAllowFlashcall

func (m *TLAuthSendCodeLayer51) GetAllowFlashcall() bool

func (*TLAuthSendCodeLayer51) GetApiHash

func (m *TLAuthSendCodeLayer51) GetApiHash() string

func (*TLAuthSendCodeLayer51) GetApiId

func (m *TLAuthSendCodeLayer51) GetApiId() int32

func (*TLAuthSendCodeLayer51) GetCurrentNumber

func (m *TLAuthSendCodeLayer51) GetCurrentNumber() *Bool

func (*TLAuthSendCodeLayer51) GetLangCode

func (m *TLAuthSendCodeLayer51) GetLangCode() string

func (*TLAuthSendCodeLayer51) GetPhoneNumber

func (m *TLAuthSendCodeLayer51) GetPhoneNumber() string

func (*TLAuthSendCodeLayer51) ProtoMessage

func (*TLAuthSendCodeLayer51) ProtoMessage()

func (*TLAuthSendCodeLayer51) Reset

func (m *TLAuthSendCodeLayer51) Reset()

func (*TLAuthSendCodeLayer51) String

func (m *TLAuthSendCodeLayer51) String() string

type TLAuthSendInvites

type TLAuthSendInvites struct {
	PhoneNumbers []string `protobuf:"bytes,1,rep,name=phone_numbers,json=phoneNumbers" json:"phone_numbers,omitempty"`
	Message      string   `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.sendInvites#771c1d97 phone_numbers:Vector<string> message:string = Bool;

func NewTLAuthSendInvites

func NewTLAuthSendInvites() *TLAuthSendInvites

func (*TLAuthSendInvites) Decode

func (m *TLAuthSendInvites) Decode(dbuf *DecodeBuf) error

func (*TLAuthSendInvites) Descriptor

func (*TLAuthSendInvites) Descriptor() ([]byte, []int)

func (*TLAuthSendInvites) Encode

func (m *TLAuthSendInvites) Encode() []byte

func (*TLAuthSendInvites) GetMessage

func (m *TLAuthSendInvites) GetMessage() string

func (*TLAuthSendInvites) GetPhoneNumbers

func (m *TLAuthSendInvites) GetPhoneNumbers() []string

func (*TLAuthSendInvites) ProtoMessage

func (*TLAuthSendInvites) ProtoMessage()

func (*TLAuthSendInvites) Reset

func (m *TLAuthSendInvites) Reset()

func (*TLAuthSendInvites) String

func (m *TLAuthSendInvites) String() string

type TLAuthSentCode

type TLAuthSentCode struct {
	Data2 *Auth_SentCode_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLAuthSentCode

func NewTLAuthSentCode() *TLAuthSentCode

func (*TLAuthSentCode) Decode

func (m *TLAuthSentCode) Decode(dbuf *DecodeBuf) error

func (*TLAuthSentCode) Descriptor

func (*TLAuthSentCode) Descriptor() ([]byte, []int)

func (*TLAuthSentCode) Encode

func (m *TLAuthSentCode) Encode() []byte

func (*TLAuthSentCode) GetData2

func (m *TLAuthSentCode) GetData2() *Auth_SentCode_Data

func (*TLAuthSentCode) GetNextType

func (m *TLAuthSentCode) GetNextType() *Auth_CodeType

func (*TLAuthSentCode) GetPhoneCodeHash

func (m *TLAuthSentCode) GetPhoneCodeHash() string

func (*TLAuthSentCode) GetPhoneRegistered

func (m *TLAuthSentCode) GetPhoneRegistered() bool

func (*TLAuthSentCode) GetTimeout

func (m *TLAuthSentCode) GetTimeout() int32

func (*TLAuthSentCode) GetType

func (m *TLAuthSentCode) GetType() *Auth_SentCodeType

func (*TLAuthSentCode) ProtoMessage

func (*TLAuthSentCode) ProtoMessage()

func (*TLAuthSentCode) Reset

func (m *TLAuthSentCode) Reset()

func (*TLAuthSentCode) SetNextType

func (m *TLAuthSentCode) SetNextType(v *Auth_CodeType)

func (*TLAuthSentCode) SetPhoneCodeHash

func (m *TLAuthSentCode) SetPhoneCodeHash(v string)

func (*TLAuthSentCode) SetPhoneRegistered

func (m *TLAuthSentCode) SetPhoneRegistered(v bool)

func (*TLAuthSentCode) SetTimeout

func (m *TLAuthSentCode) SetTimeout(v int32)

func (*TLAuthSentCode) SetType

func (m *TLAuthSentCode) SetType(v *Auth_SentCodeType)

func (*TLAuthSentCode) String

func (m *TLAuthSentCode) String() string

func (*TLAuthSentCode) To_Auth_SentCode

func (m *TLAuthSentCode) To_Auth_SentCode() *Auth_SentCode

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

type TLAuthSentCodeTypeApp

type TLAuthSentCodeTypeApp struct {
	Data2 *Auth_SentCodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;

func NewTLAuthSentCodeTypeApp

func NewTLAuthSentCodeTypeApp() *TLAuthSentCodeTypeApp

func (*TLAuthSentCodeTypeApp) Decode

func (m *TLAuthSentCodeTypeApp) Decode(dbuf *DecodeBuf) error

func (*TLAuthSentCodeTypeApp) Descriptor

func (*TLAuthSentCodeTypeApp) Descriptor() ([]byte, []int)

func (*TLAuthSentCodeTypeApp) Encode

func (m *TLAuthSentCodeTypeApp) Encode() []byte

func (*TLAuthSentCodeTypeApp) GetData2

func (*TLAuthSentCodeTypeApp) GetLength

func (m *TLAuthSentCodeTypeApp) GetLength() int32

func (*TLAuthSentCodeTypeApp) ProtoMessage

func (*TLAuthSentCodeTypeApp) ProtoMessage()

func (*TLAuthSentCodeTypeApp) Reset

func (m *TLAuthSentCodeTypeApp) Reset()

func (*TLAuthSentCodeTypeApp) SetLength

func (m *TLAuthSentCodeTypeApp) SetLength(v int32)

func (*TLAuthSentCodeTypeApp) String

func (m *TLAuthSentCodeTypeApp) String() string

func (*TLAuthSentCodeTypeApp) To_Auth_SentCodeType

func (m *TLAuthSentCodeTypeApp) To_Auth_SentCodeType() *Auth_SentCodeType

auth.sentCodeTypeApp#3dbb5986 length:int = auth.SentCodeType;

type TLAuthSentCodeTypeCall

type TLAuthSentCodeTypeCall struct {
	Data2 *Auth_SentCodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;

func NewTLAuthSentCodeTypeCall

func NewTLAuthSentCodeTypeCall() *TLAuthSentCodeTypeCall

func (*TLAuthSentCodeTypeCall) Decode

func (m *TLAuthSentCodeTypeCall) Decode(dbuf *DecodeBuf) error

func (*TLAuthSentCodeTypeCall) Descriptor

func (*TLAuthSentCodeTypeCall) Descriptor() ([]byte, []int)

func (*TLAuthSentCodeTypeCall) Encode

func (m *TLAuthSentCodeTypeCall) Encode() []byte

func (*TLAuthSentCodeTypeCall) GetData2

func (*TLAuthSentCodeTypeCall) GetLength

func (m *TLAuthSentCodeTypeCall) GetLength() int32

func (*TLAuthSentCodeTypeCall) ProtoMessage

func (*TLAuthSentCodeTypeCall) ProtoMessage()

func (*TLAuthSentCodeTypeCall) Reset

func (m *TLAuthSentCodeTypeCall) Reset()

func (*TLAuthSentCodeTypeCall) SetLength

func (m *TLAuthSentCodeTypeCall) SetLength(v int32)

func (*TLAuthSentCodeTypeCall) String

func (m *TLAuthSentCodeTypeCall) String() string

func (*TLAuthSentCodeTypeCall) To_Auth_SentCodeType

func (m *TLAuthSentCodeTypeCall) To_Auth_SentCodeType() *Auth_SentCodeType

auth.sentCodeTypeCall#5353e5a7 length:int = auth.SentCodeType;

type TLAuthSentCodeTypeFlashCall

type TLAuthSentCodeTypeFlashCall struct {
	Data2 *Auth_SentCodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;

func NewTLAuthSentCodeTypeFlashCall

func NewTLAuthSentCodeTypeFlashCall() *TLAuthSentCodeTypeFlashCall

func (*TLAuthSentCodeTypeFlashCall) Decode

func (m *TLAuthSentCodeTypeFlashCall) Decode(dbuf *DecodeBuf) error

func (*TLAuthSentCodeTypeFlashCall) Descriptor

func (*TLAuthSentCodeTypeFlashCall) Descriptor() ([]byte, []int)

func (*TLAuthSentCodeTypeFlashCall) Encode

func (m *TLAuthSentCodeTypeFlashCall) Encode() []byte

func (*TLAuthSentCodeTypeFlashCall) GetData2

func (*TLAuthSentCodeTypeFlashCall) GetPattern

func (m *TLAuthSentCodeTypeFlashCall) GetPattern() string

func (*TLAuthSentCodeTypeFlashCall) ProtoMessage

func (*TLAuthSentCodeTypeFlashCall) ProtoMessage()

func (*TLAuthSentCodeTypeFlashCall) Reset

func (m *TLAuthSentCodeTypeFlashCall) Reset()

func (*TLAuthSentCodeTypeFlashCall) SetPattern

func (m *TLAuthSentCodeTypeFlashCall) SetPattern(v string)

func (*TLAuthSentCodeTypeFlashCall) String

func (m *TLAuthSentCodeTypeFlashCall) String() string

func (*TLAuthSentCodeTypeFlashCall) To_Auth_SentCodeType

func (m *TLAuthSentCodeTypeFlashCall) To_Auth_SentCodeType() *Auth_SentCodeType

auth.sentCodeTypeFlashCall#ab03c6d9 pattern:string = auth.SentCodeType;

type TLAuthSentCodeTypeSms

type TLAuthSentCodeTypeSms struct {
	Data2 *Auth_SentCodeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;

func NewTLAuthSentCodeTypeSms

func NewTLAuthSentCodeTypeSms() *TLAuthSentCodeTypeSms

func (*TLAuthSentCodeTypeSms) Decode

func (m *TLAuthSentCodeTypeSms) Decode(dbuf *DecodeBuf) error

func (*TLAuthSentCodeTypeSms) Descriptor

func (*TLAuthSentCodeTypeSms) Descriptor() ([]byte, []int)

func (*TLAuthSentCodeTypeSms) Encode

func (m *TLAuthSentCodeTypeSms) Encode() []byte

func (*TLAuthSentCodeTypeSms) GetData2

func (*TLAuthSentCodeTypeSms) GetLength

func (m *TLAuthSentCodeTypeSms) GetLength() int32

func (*TLAuthSentCodeTypeSms) ProtoMessage

func (*TLAuthSentCodeTypeSms) ProtoMessage()

func (*TLAuthSentCodeTypeSms) Reset

func (m *TLAuthSentCodeTypeSms) Reset()

func (*TLAuthSentCodeTypeSms) SetLength

func (m *TLAuthSentCodeTypeSms) SetLength(v int32)

func (*TLAuthSentCodeTypeSms) String

func (m *TLAuthSentCodeTypeSms) String() string

func (*TLAuthSentCodeTypeSms) To_Auth_SentCodeType

func (m *TLAuthSentCodeTypeSms) To_Auth_SentCodeType() *Auth_SentCodeType

auth.sentCodeTypeSms#c000bba2 length:int = auth.SentCodeType;

type TLAuthSignIn

type TLAuthSignIn struct {
	PhoneNumber   string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	PhoneCodeHash string `protobuf:"bytes,2,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
	PhoneCode     string `protobuf:"bytes,3,opt,name=phone_code,json=phoneCode" json:"phone_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.signIn#bcd51581 phone_number:string phone_code_hash:string phone_code:string = auth.Authorization;

func NewTLAuthSignIn

func NewTLAuthSignIn() *TLAuthSignIn

func (*TLAuthSignIn) Decode

func (m *TLAuthSignIn) Decode(dbuf *DecodeBuf) error

func (*TLAuthSignIn) Descriptor

func (*TLAuthSignIn) Descriptor() ([]byte, []int)

func (*TLAuthSignIn) Encode

func (m *TLAuthSignIn) Encode() []byte

func (*TLAuthSignIn) GetPhoneCode

func (m *TLAuthSignIn) GetPhoneCode() string

func (*TLAuthSignIn) GetPhoneCodeHash

func (m *TLAuthSignIn) GetPhoneCodeHash() string

func (*TLAuthSignIn) GetPhoneNumber

func (m *TLAuthSignIn) GetPhoneNumber() string

func (*TLAuthSignIn) ProtoMessage

func (*TLAuthSignIn) ProtoMessage()

func (*TLAuthSignIn) Reset

func (m *TLAuthSignIn) Reset()

func (*TLAuthSignIn) String

func (m *TLAuthSignIn) String() string

type TLAuthSignUp

type TLAuthSignUp struct {
	PhoneNumber   string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	PhoneCodeHash string `protobuf:"bytes,2,opt,name=phone_code_hash,json=phoneCodeHash" json:"phone_code_hash,omitempty"`
	PhoneCode     string `protobuf:"bytes,3,opt,name=phone_code,json=phoneCode" json:"phone_code,omitempty"`
	FirstName     string `protobuf:"bytes,4,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName      string `protobuf:"bytes,5,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// auth.signUp#1b067634 phone_number:string phone_code_hash:string phone_code:string first_name:string last_name:string = auth.Authorization;

func NewTLAuthSignUp

func NewTLAuthSignUp() *TLAuthSignUp

func (*TLAuthSignUp) Decode

func (m *TLAuthSignUp) Decode(dbuf *DecodeBuf) error

func (*TLAuthSignUp) Descriptor

func (*TLAuthSignUp) Descriptor() ([]byte, []int)

func (*TLAuthSignUp) Encode

func (m *TLAuthSignUp) Encode() []byte

func (*TLAuthSignUp) GetFirstName

func (m *TLAuthSignUp) GetFirstName() string

func (*TLAuthSignUp) GetLastName

func (m *TLAuthSignUp) GetLastName() string

func (*TLAuthSignUp) GetPhoneCode

func (m *TLAuthSignUp) GetPhoneCode() string

func (*TLAuthSignUp) GetPhoneCodeHash

func (m *TLAuthSignUp) GetPhoneCodeHash() string

func (*TLAuthSignUp) GetPhoneNumber

func (m *TLAuthSignUp) GetPhoneNumber() string

func (*TLAuthSignUp) ProtoMessage

func (*TLAuthSignUp) ProtoMessage()

func (*TLAuthSignUp) Reset

func (m *TLAuthSignUp) Reset()

func (*TLAuthSignUp) String

func (m *TLAuthSignUp) String() string

type TLAuthorization

type TLAuthorization struct {
	Data2 *Authorization_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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;

func NewTLAuthorization

func NewTLAuthorization() *TLAuthorization

func (*TLAuthorization) Decode

func (m *TLAuthorization) Decode(dbuf *DecodeBuf) error

func (*TLAuthorization) Descriptor

func (*TLAuthorization) Descriptor() ([]byte, []int)

func (*TLAuthorization) Encode

func (m *TLAuthorization) Encode() []byte

func (*TLAuthorization) GetApiId

func (m *TLAuthorization) GetApiId() int32

func (*TLAuthorization) GetAppName

func (m *TLAuthorization) GetAppName() string

func (*TLAuthorization) GetAppVersion

func (m *TLAuthorization) GetAppVersion() string

func (*TLAuthorization) GetCountry

func (m *TLAuthorization) GetCountry() string

func (*TLAuthorization) GetData2

func (m *TLAuthorization) GetData2() *Authorization_Data

func (*TLAuthorization) GetDateActive

func (m *TLAuthorization) GetDateActive() int32

func (*TLAuthorization) GetDateCreated

func (m *TLAuthorization) GetDateCreated() int32

func (*TLAuthorization) GetDeviceModel

func (m *TLAuthorization) GetDeviceModel() string

func (*TLAuthorization) GetFlags

func (m *TLAuthorization) GetFlags() int32

func (*TLAuthorization) GetHash

func (m *TLAuthorization) GetHash() int64

func (*TLAuthorization) GetIp

func (m *TLAuthorization) GetIp() string

func (*TLAuthorization) GetPlatform

func (m *TLAuthorization) GetPlatform() string

func (*TLAuthorization) GetRegion

func (m *TLAuthorization) GetRegion() string

func (*TLAuthorization) GetSystemVersion

func (m *TLAuthorization) GetSystemVersion() string

func (*TLAuthorization) ProtoMessage

func (*TLAuthorization) ProtoMessage()

func (*TLAuthorization) Reset

func (m *TLAuthorization) Reset()

func (*TLAuthorization) SetApiId

func (m *TLAuthorization) SetApiId(v int32)

func (*TLAuthorization) SetAppName

func (m *TLAuthorization) SetAppName(v string)

func (*TLAuthorization) SetAppVersion

func (m *TLAuthorization) SetAppVersion(v string)

func (*TLAuthorization) SetCountry

func (m *TLAuthorization) SetCountry(v string)

func (*TLAuthorization) SetDateActive

func (m *TLAuthorization) SetDateActive(v int32)

func (*TLAuthorization) SetDateCreated

func (m *TLAuthorization) SetDateCreated(v int32)

func (*TLAuthorization) SetDeviceModel

func (m *TLAuthorization) SetDeviceModel(v string)

func (*TLAuthorization) SetFlags

func (m *TLAuthorization) SetFlags(v int32)

func (*TLAuthorization) SetHash

func (m *TLAuthorization) SetHash(v int64)

func (*TLAuthorization) SetIp

func (m *TLAuthorization) SetIp(v string)

func (*TLAuthorization) SetPlatform

func (m *TLAuthorization) SetPlatform(v string)

func (*TLAuthorization) SetRegion

func (m *TLAuthorization) SetRegion(v string)

func (*TLAuthorization) SetSystemVersion

func (m *TLAuthorization) SetSystemVersion(v string)

func (*TLAuthorization) String

func (m *TLAuthorization) String() string

func (*TLAuthorization) To_Authorization

func (m *TLAuthorization) To_Authorization() *Authorization

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;

type TLBadMsgNotification

type TLBadMsgNotification struct {
	Data2 *BadMsgNotification_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification;

func NewTLBadMsgNotification

func NewTLBadMsgNotification() *TLBadMsgNotification

func (*TLBadMsgNotification) Decode

func (m *TLBadMsgNotification) Decode(dbuf *DecodeBuf) error

func (*TLBadMsgNotification) Descriptor

func (*TLBadMsgNotification) Descriptor() ([]byte, []int)

func (*TLBadMsgNotification) Encode

func (m *TLBadMsgNotification) Encode() []byte

func (*TLBadMsgNotification) GetBadMsgId

func (m *TLBadMsgNotification) GetBadMsgId() int64

func (*TLBadMsgNotification) GetBadMsgSeqno

func (m *TLBadMsgNotification) GetBadMsgSeqno() int32

func (*TLBadMsgNotification) GetData2

func (*TLBadMsgNotification) GetErrorCode

func (m *TLBadMsgNotification) GetErrorCode() int32

func (*TLBadMsgNotification) ProtoMessage

func (*TLBadMsgNotification) ProtoMessage()

func (*TLBadMsgNotification) Reset

func (m *TLBadMsgNotification) Reset()

func (*TLBadMsgNotification) SetBadMsgId

func (m *TLBadMsgNotification) SetBadMsgId(v int64)

func (*TLBadMsgNotification) SetBadMsgSeqno

func (m *TLBadMsgNotification) SetBadMsgSeqno(v int32)

func (*TLBadMsgNotification) SetErrorCode

func (m *TLBadMsgNotification) SetErrorCode(v int32)

func (*TLBadMsgNotification) String

func (m *TLBadMsgNotification) String() string

func (*TLBadMsgNotification) To_BadMsgNotification

func (m *TLBadMsgNotification) To_BadMsgNotification() *BadMsgNotification

bad_msg_notification#a7eff811 bad_msg_id:long bad_msg_seqno:int error_code:int = BadMsgNotification;

type TLBadServerSalt

type TLBadServerSalt struct {
	Data2 *BadMsgNotification_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification;

func NewTLBadServerSalt

func NewTLBadServerSalt() *TLBadServerSalt

func (*TLBadServerSalt) Decode

func (m *TLBadServerSalt) Decode(dbuf *DecodeBuf) error

func (*TLBadServerSalt) Descriptor

func (*TLBadServerSalt) Descriptor() ([]byte, []int)

func (*TLBadServerSalt) Encode

func (m *TLBadServerSalt) Encode() []byte

func (*TLBadServerSalt) GetBadMsgId

func (m *TLBadServerSalt) GetBadMsgId() int64

func (*TLBadServerSalt) GetBadMsgSeqno

func (m *TLBadServerSalt) GetBadMsgSeqno() int32

func (*TLBadServerSalt) GetData2

func (*TLBadServerSalt) GetErrorCode

func (m *TLBadServerSalt) GetErrorCode() int32

func (*TLBadServerSalt) GetNewServerSalt

func (m *TLBadServerSalt) GetNewServerSalt() int64

func (*TLBadServerSalt) ProtoMessage

func (*TLBadServerSalt) ProtoMessage()

func (*TLBadServerSalt) Reset

func (m *TLBadServerSalt) Reset()

func (*TLBadServerSalt) SetBadMsgId

func (m *TLBadServerSalt) SetBadMsgId(v int64)

func (*TLBadServerSalt) SetBadMsgSeqno

func (m *TLBadServerSalt) SetBadMsgSeqno(v int32)

func (*TLBadServerSalt) SetErrorCode

func (m *TLBadServerSalt) SetErrorCode(v int32)

func (*TLBadServerSalt) SetNewServerSalt

func (m *TLBadServerSalt) SetNewServerSalt(v int64)

func (*TLBadServerSalt) String

func (m *TLBadServerSalt) String() string

func (*TLBadServerSalt) To_BadMsgNotification

func (m *TLBadServerSalt) To_BadMsgNotification() *BadMsgNotification

bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotification;

type TLBoolFalse

type TLBoolFalse struct {
	Data2 *Bool_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

boolFalse#bc799737 = Bool;

func NewTLBoolFalse

func NewTLBoolFalse() *TLBoolFalse

func (*TLBoolFalse) Decode

func (m *TLBoolFalse) Decode(dbuf *DecodeBuf) error

func (*TLBoolFalse) Descriptor

func (*TLBoolFalse) Descriptor() ([]byte, []int)

func (*TLBoolFalse) Encode

func (m *TLBoolFalse) Encode() []byte

func (*TLBoolFalse) GetData2

func (m *TLBoolFalse) GetData2() *Bool_Data

func (*TLBoolFalse) ProtoMessage

func (*TLBoolFalse) ProtoMessage()

func (*TLBoolFalse) Reset

func (m *TLBoolFalse) Reset()

func (*TLBoolFalse) String

func (m *TLBoolFalse) String() string

func (*TLBoolFalse) To_Bool

func (m *TLBoolFalse) To_Bool() *Bool

boolFalse#bc799737 = Bool;

type TLBoolTrue

type TLBoolTrue struct {
	Data2 *Bool_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

boolTrue#997275b5 = Bool;

func NewTLBoolTrue

func NewTLBoolTrue() *TLBoolTrue

func (*TLBoolTrue) Decode

func (m *TLBoolTrue) Decode(dbuf *DecodeBuf) error

func (*TLBoolTrue) Descriptor

func (*TLBoolTrue) Descriptor() ([]byte, []int)

func (*TLBoolTrue) Encode

func (m *TLBoolTrue) Encode() []byte

func (*TLBoolTrue) GetData2

func (m *TLBoolTrue) GetData2() *Bool_Data

func (*TLBoolTrue) ProtoMessage

func (*TLBoolTrue) ProtoMessage()

func (*TLBoolTrue) Reset

func (m *TLBoolTrue) Reset()

func (*TLBoolTrue) String

func (m *TLBoolTrue) String() string

func (*TLBoolTrue) To_Bool

func (m *TLBoolTrue) To_Bool() *Bool

boolTrue#997275b5 = Bool;

type TLBotCommand

type TLBotCommand struct {
	Data2 *BotCommand_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botCommand#c27ac8c7 command:string description:string = BotCommand;

func NewTLBotCommand

func NewTLBotCommand() *TLBotCommand

func (*TLBotCommand) Decode

func (m *TLBotCommand) Decode(dbuf *DecodeBuf) error

func (*TLBotCommand) Descriptor

func (*TLBotCommand) Descriptor() ([]byte, []int)

func (*TLBotCommand) Encode

func (m *TLBotCommand) Encode() []byte

func (*TLBotCommand) GetCommand

func (m *TLBotCommand) GetCommand() string

func (*TLBotCommand) GetData2

func (m *TLBotCommand) GetData2() *BotCommand_Data

func (*TLBotCommand) GetDescription

func (m *TLBotCommand) GetDescription() string

func (*TLBotCommand) ProtoMessage

func (*TLBotCommand) ProtoMessage()

func (*TLBotCommand) Reset

func (m *TLBotCommand) Reset()

func (*TLBotCommand) SetCommand

func (m *TLBotCommand) SetCommand(v string)

func (*TLBotCommand) SetDescription

func (m *TLBotCommand) SetDescription(v string)

func (*TLBotCommand) String

func (m *TLBotCommand) String() string

func (*TLBotCommand) To_BotCommand

func (m *TLBotCommand) To_BotCommand() *BotCommand

botCommand#c27ac8c7 command:string description:string = BotCommand;

type TLBotInfo

type TLBotInfo struct {
	Data2 *BotInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botInfo#98e81d3a user_id:int description:string commands:Vector<BotCommand> = BotInfo;

func NewTLBotInfo

func NewTLBotInfo() *TLBotInfo

func (*TLBotInfo) Decode

func (m *TLBotInfo) Decode(dbuf *DecodeBuf) error

func (*TLBotInfo) Descriptor

func (*TLBotInfo) Descriptor() ([]byte, []int)

func (*TLBotInfo) Encode

func (m *TLBotInfo) Encode() []byte

func (*TLBotInfo) GetCommands

func (m *TLBotInfo) GetCommands() []*BotCommand

func (*TLBotInfo) GetData2

func (m *TLBotInfo) GetData2() *BotInfo_Data

func (*TLBotInfo) GetDescription

func (m *TLBotInfo) GetDescription() string

func (*TLBotInfo) GetUserId

func (m *TLBotInfo) GetUserId() int32

func (*TLBotInfo) ProtoMessage

func (*TLBotInfo) ProtoMessage()

func (*TLBotInfo) Reset

func (m *TLBotInfo) Reset()

func (*TLBotInfo) SetCommands

func (m *TLBotInfo) SetCommands(v []*BotCommand)

func (*TLBotInfo) SetDescription

func (m *TLBotInfo) SetDescription(v string)

func (*TLBotInfo) SetUserId

func (m *TLBotInfo) SetUserId(v int32)

func (*TLBotInfo) String

func (m *TLBotInfo) String() string

func (*TLBotInfo) To_BotInfo

func (m *TLBotInfo) To_BotInfo() *BotInfo

botInfo#98e81d3a user_id:int description:string commands:Vector<BotCommand> = BotInfo;

type TLBotInlineMediaResult

type TLBotInlineMediaResult struct {
	Data2 *BotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLBotInlineMediaResult

func NewTLBotInlineMediaResult() *TLBotInlineMediaResult

func (*TLBotInlineMediaResult) Decode

func (m *TLBotInlineMediaResult) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineMediaResult) Descriptor

func (*TLBotInlineMediaResult) Descriptor() ([]byte, []int)

func (*TLBotInlineMediaResult) Encode

func (m *TLBotInlineMediaResult) Encode() []byte

func (*TLBotInlineMediaResult) GetData2

func (*TLBotInlineMediaResult) GetDescription

func (m *TLBotInlineMediaResult) GetDescription() string

func (*TLBotInlineMediaResult) GetDocument

func (m *TLBotInlineMediaResult) GetDocument() *Document

func (*TLBotInlineMediaResult) GetId

func (m *TLBotInlineMediaResult) GetId() string

func (*TLBotInlineMediaResult) GetPhoto

func (m *TLBotInlineMediaResult) GetPhoto() *Photo

func (*TLBotInlineMediaResult) GetSendMessage

func (m *TLBotInlineMediaResult) GetSendMessage() *BotInlineMessage

func (*TLBotInlineMediaResult) GetTitle

func (m *TLBotInlineMediaResult) GetTitle() string

func (*TLBotInlineMediaResult) GetType

func (m *TLBotInlineMediaResult) GetType() string

func (*TLBotInlineMediaResult) ProtoMessage

func (*TLBotInlineMediaResult) ProtoMessage()

func (*TLBotInlineMediaResult) Reset

func (m *TLBotInlineMediaResult) Reset()

func (*TLBotInlineMediaResult) SetDescription

func (m *TLBotInlineMediaResult) SetDescription(v string)

func (*TLBotInlineMediaResult) SetDocument

func (m *TLBotInlineMediaResult) SetDocument(v *Document)

func (*TLBotInlineMediaResult) SetId

func (m *TLBotInlineMediaResult) SetId(v string)

func (*TLBotInlineMediaResult) SetPhoto

func (m *TLBotInlineMediaResult) SetPhoto(v *Photo)

func (*TLBotInlineMediaResult) SetSendMessage

func (m *TLBotInlineMediaResult) SetSendMessage(v *BotInlineMessage)

func (*TLBotInlineMediaResult) SetTitle

func (m *TLBotInlineMediaResult) SetTitle(v string)

func (*TLBotInlineMediaResult) SetType

func (m *TLBotInlineMediaResult) SetType(v string)

func (*TLBotInlineMediaResult) String

func (m *TLBotInlineMediaResult) String() string

func (*TLBotInlineMediaResult) To_BotInlineResult

func (m *TLBotInlineMediaResult) To_BotInlineResult() *BotInlineResult

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

type TLBotInlineMessageMediaAuto

type TLBotInlineMessageMediaAuto struct {
	Data2 *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func NewTLBotInlineMessageMediaAuto

func NewTLBotInlineMessageMediaAuto() *TLBotInlineMessageMediaAuto

func (*TLBotInlineMessageMediaAuto) Decode

func (m *TLBotInlineMessageMediaAuto) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineMessageMediaAuto) Descriptor

func (*TLBotInlineMessageMediaAuto) Descriptor() ([]byte, []int)

func (*TLBotInlineMessageMediaAuto) Encode

func (m *TLBotInlineMessageMediaAuto) Encode() []byte

func (*TLBotInlineMessageMediaAuto) GetCaption

func (m *TLBotInlineMessageMediaAuto) GetCaption() string

func (*TLBotInlineMessageMediaAuto) GetData2

func (*TLBotInlineMessageMediaAuto) GetReplyMarkup

func (m *TLBotInlineMessageMediaAuto) GetReplyMarkup() *ReplyMarkup

func (*TLBotInlineMessageMediaAuto) ProtoMessage

func (*TLBotInlineMessageMediaAuto) ProtoMessage()

func (*TLBotInlineMessageMediaAuto) Reset

func (m *TLBotInlineMessageMediaAuto) Reset()

func (*TLBotInlineMessageMediaAuto) SetCaption

func (m *TLBotInlineMessageMediaAuto) SetCaption(v string)

func (*TLBotInlineMessageMediaAuto) SetReplyMarkup

func (m *TLBotInlineMessageMediaAuto) SetReplyMarkup(v *ReplyMarkup)

func (*TLBotInlineMessageMediaAuto) String

func (m *TLBotInlineMessageMediaAuto) String() string

func (*TLBotInlineMessageMediaAuto) To_BotInlineMessage

func (m *TLBotInlineMessageMediaAuto) To_BotInlineMessage() *BotInlineMessage

botInlineMessageMediaAuto#a74b15b flags:# caption:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

type TLBotInlineMessageMediaContact

type TLBotInlineMessageMediaContact struct {
	Data2 *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func NewTLBotInlineMessageMediaContact

func NewTLBotInlineMessageMediaContact() *TLBotInlineMessageMediaContact

func (*TLBotInlineMessageMediaContact) Decode

func (*TLBotInlineMessageMediaContact) Descriptor

func (*TLBotInlineMessageMediaContact) Descriptor() ([]byte, []int)

func (*TLBotInlineMessageMediaContact) Encode

func (m *TLBotInlineMessageMediaContact) Encode() []byte

func (*TLBotInlineMessageMediaContact) GetData2

func (*TLBotInlineMessageMediaContact) GetFirstName

func (m *TLBotInlineMessageMediaContact) GetFirstName() string

func (*TLBotInlineMessageMediaContact) GetLastName

func (m *TLBotInlineMessageMediaContact) GetLastName() string

func (*TLBotInlineMessageMediaContact) GetPhoneNumber

func (m *TLBotInlineMessageMediaContact) GetPhoneNumber() string

func (*TLBotInlineMessageMediaContact) GetReplyMarkup

func (m *TLBotInlineMessageMediaContact) GetReplyMarkup() *ReplyMarkup

func (*TLBotInlineMessageMediaContact) ProtoMessage

func (*TLBotInlineMessageMediaContact) ProtoMessage()

func (*TLBotInlineMessageMediaContact) Reset

func (m *TLBotInlineMessageMediaContact) Reset()

func (*TLBotInlineMessageMediaContact) SetFirstName

func (m *TLBotInlineMessageMediaContact) SetFirstName(v string)

func (*TLBotInlineMessageMediaContact) SetLastName

func (m *TLBotInlineMessageMediaContact) SetLastName(v string)

func (*TLBotInlineMessageMediaContact) SetPhoneNumber

func (m *TLBotInlineMessageMediaContact) SetPhoneNumber(v string)

func (*TLBotInlineMessageMediaContact) SetReplyMarkup

func (m *TLBotInlineMessageMediaContact) SetReplyMarkup(v *ReplyMarkup)

func (*TLBotInlineMessageMediaContact) String

func (*TLBotInlineMessageMediaContact) To_BotInlineMessage

func (m *TLBotInlineMessageMediaContact) To_BotInlineMessage() *BotInlineMessage

botInlineMessageMediaContact#35edb4d4 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

type TLBotInlineMessageMediaGeo

type TLBotInlineMessageMediaGeo struct {
	Data2 *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func NewTLBotInlineMessageMediaGeo

func NewTLBotInlineMessageMediaGeo() *TLBotInlineMessageMediaGeo

func (*TLBotInlineMessageMediaGeo) Decode

func (m *TLBotInlineMessageMediaGeo) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineMessageMediaGeo) Descriptor

func (*TLBotInlineMessageMediaGeo) Descriptor() ([]byte, []int)

func (*TLBotInlineMessageMediaGeo) Encode

func (m *TLBotInlineMessageMediaGeo) Encode() []byte

func (*TLBotInlineMessageMediaGeo) GetData2

func (*TLBotInlineMessageMediaGeo) GetGeo

func (m *TLBotInlineMessageMediaGeo) GetGeo() *GeoPoint

func (*TLBotInlineMessageMediaGeo) GetPeriod

func (m *TLBotInlineMessageMediaGeo) GetPeriod() int32

func (*TLBotInlineMessageMediaGeo) GetReplyMarkup

func (m *TLBotInlineMessageMediaGeo) GetReplyMarkup() *ReplyMarkup

func (*TLBotInlineMessageMediaGeo) ProtoMessage

func (*TLBotInlineMessageMediaGeo) ProtoMessage()

func (*TLBotInlineMessageMediaGeo) Reset

func (m *TLBotInlineMessageMediaGeo) Reset()

func (*TLBotInlineMessageMediaGeo) SetGeo

func (m *TLBotInlineMessageMediaGeo) SetGeo(v *GeoPoint)

func (*TLBotInlineMessageMediaGeo) SetPeriod

func (m *TLBotInlineMessageMediaGeo) SetPeriod(v int32)

func (*TLBotInlineMessageMediaGeo) SetReplyMarkup

func (m *TLBotInlineMessageMediaGeo) SetReplyMarkup(v *ReplyMarkup)

func (*TLBotInlineMessageMediaGeo) String

func (m *TLBotInlineMessageMediaGeo) String() string

func (*TLBotInlineMessageMediaGeo) To_BotInlineMessage

func (m *TLBotInlineMessageMediaGeo) To_BotInlineMessage() *BotInlineMessage

botInlineMessageMediaGeo#b722de65 flags:# geo:GeoPoint period:int reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

type TLBotInlineMessageMediaVenue

type TLBotInlineMessageMediaVenue struct {
	Data2 *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

func NewTLBotInlineMessageMediaVenue

func NewTLBotInlineMessageMediaVenue() *TLBotInlineMessageMediaVenue

func (*TLBotInlineMessageMediaVenue) Decode

func (m *TLBotInlineMessageMediaVenue) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineMessageMediaVenue) Descriptor

func (*TLBotInlineMessageMediaVenue) Descriptor() ([]byte, []int)

func (*TLBotInlineMessageMediaVenue) Encode

func (m *TLBotInlineMessageMediaVenue) Encode() []byte

func (*TLBotInlineMessageMediaVenue) GetAddress

func (m *TLBotInlineMessageMediaVenue) GetAddress() string

func (*TLBotInlineMessageMediaVenue) GetData2

func (*TLBotInlineMessageMediaVenue) GetGeo

func (*TLBotInlineMessageMediaVenue) GetProvider

func (m *TLBotInlineMessageMediaVenue) GetProvider() string

func (*TLBotInlineMessageMediaVenue) GetReplyMarkup

func (m *TLBotInlineMessageMediaVenue) GetReplyMarkup() *ReplyMarkup

func (*TLBotInlineMessageMediaVenue) GetTitle

func (m *TLBotInlineMessageMediaVenue) GetTitle() string

func (*TLBotInlineMessageMediaVenue) GetVenueId

func (m *TLBotInlineMessageMediaVenue) GetVenueId() string

func (*TLBotInlineMessageMediaVenue) ProtoMessage

func (*TLBotInlineMessageMediaVenue) ProtoMessage()

func (*TLBotInlineMessageMediaVenue) Reset

func (m *TLBotInlineMessageMediaVenue) Reset()

func (*TLBotInlineMessageMediaVenue) SetAddress

func (m *TLBotInlineMessageMediaVenue) SetAddress(v string)

func (*TLBotInlineMessageMediaVenue) SetGeo

func (m *TLBotInlineMessageMediaVenue) SetGeo(v *GeoPoint)

func (*TLBotInlineMessageMediaVenue) SetProvider

func (m *TLBotInlineMessageMediaVenue) SetProvider(v string)

func (*TLBotInlineMessageMediaVenue) SetReplyMarkup

func (m *TLBotInlineMessageMediaVenue) SetReplyMarkup(v *ReplyMarkup)

func (*TLBotInlineMessageMediaVenue) SetTitle

func (m *TLBotInlineMessageMediaVenue) SetTitle(v string)

func (*TLBotInlineMessageMediaVenue) SetVenueId

func (m *TLBotInlineMessageMediaVenue) SetVenueId(v string)

func (*TLBotInlineMessageMediaVenue) String

func (*TLBotInlineMessageMediaVenue) To_BotInlineMessage

func (m *TLBotInlineMessageMediaVenue) To_BotInlineMessage() *BotInlineMessage

botInlineMessageMediaVenue#4366232e flags:# geo:GeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;

type TLBotInlineMessageText

type TLBotInlineMessageText struct {
	Data2 *BotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLBotInlineMessageText

func NewTLBotInlineMessageText() *TLBotInlineMessageText

func (*TLBotInlineMessageText) Decode

func (m *TLBotInlineMessageText) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineMessageText) Descriptor

func (*TLBotInlineMessageText) Descriptor() ([]byte, []int)

func (*TLBotInlineMessageText) Encode

func (m *TLBotInlineMessageText) Encode() []byte

func (*TLBotInlineMessageText) GetData2

func (*TLBotInlineMessageText) GetEntities

func (m *TLBotInlineMessageText) GetEntities() []*MessageEntity

func (*TLBotInlineMessageText) GetMessage

func (m *TLBotInlineMessageText) GetMessage() string

func (*TLBotInlineMessageText) GetNoWebpage

func (m *TLBotInlineMessageText) GetNoWebpage() bool

func (*TLBotInlineMessageText) GetReplyMarkup

func (m *TLBotInlineMessageText) GetReplyMarkup() *ReplyMarkup

func (*TLBotInlineMessageText) ProtoMessage

func (*TLBotInlineMessageText) ProtoMessage()

func (*TLBotInlineMessageText) Reset

func (m *TLBotInlineMessageText) Reset()

func (*TLBotInlineMessageText) SetEntities

func (m *TLBotInlineMessageText) SetEntities(v []*MessageEntity)

func (*TLBotInlineMessageText) SetMessage

func (m *TLBotInlineMessageText) SetMessage(v string)

func (*TLBotInlineMessageText) SetNoWebpage

func (m *TLBotInlineMessageText) SetNoWebpage(v bool)

func (*TLBotInlineMessageText) SetReplyMarkup

func (m *TLBotInlineMessageText) SetReplyMarkup(v *ReplyMarkup)

func (*TLBotInlineMessageText) String

func (m *TLBotInlineMessageText) String() string

func (*TLBotInlineMessageText) To_BotInlineMessage

func (m *TLBotInlineMessageText) To_BotInlineMessage() *BotInlineMessage

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

type TLBotInlineResult

type TLBotInlineResult struct {
	Data2 *BotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLBotInlineResult

func NewTLBotInlineResult() *TLBotInlineResult

func (*TLBotInlineResult) Decode

func (m *TLBotInlineResult) Decode(dbuf *DecodeBuf) error

func (*TLBotInlineResult) Descriptor

func (*TLBotInlineResult) Descriptor() ([]byte, []int)

func (*TLBotInlineResult) Encode

func (m *TLBotInlineResult) Encode() []byte

func (*TLBotInlineResult) GetContentType

func (m *TLBotInlineResult) GetContentType() string

func (*TLBotInlineResult) GetContentUrl

func (m *TLBotInlineResult) GetContentUrl() string

func (*TLBotInlineResult) GetData2

func (m *TLBotInlineResult) GetData2() *BotInlineResult_Data

func (*TLBotInlineResult) GetDescription

func (m *TLBotInlineResult) GetDescription() string

func (*TLBotInlineResult) GetDuration

func (m *TLBotInlineResult) GetDuration() int32

func (*TLBotInlineResult) GetH

func (m *TLBotInlineResult) GetH() int32

func (*TLBotInlineResult) GetId

func (m *TLBotInlineResult) GetId() string

func (*TLBotInlineResult) GetSendMessage

func (m *TLBotInlineResult) GetSendMessage() *BotInlineMessage

func (*TLBotInlineResult) GetThumbUrl

func (m *TLBotInlineResult) GetThumbUrl() string

func (*TLBotInlineResult) GetTitle

func (m *TLBotInlineResult) GetTitle() string

func (*TLBotInlineResult) GetType

func (m *TLBotInlineResult) GetType() string

func (*TLBotInlineResult) GetUrl

func (m *TLBotInlineResult) GetUrl() string

func (*TLBotInlineResult) GetW

func (m *TLBotInlineResult) GetW() int32

func (*TLBotInlineResult) ProtoMessage

func (*TLBotInlineResult) ProtoMessage()

func (*TLBotInlineResult) Reset

func (m *TLBotInlineResult) Reset()

func (*TLBotInlineResult) SetContentType

func (m *TLBotInlineResult) SetContentType(v string)

func (*TLBotInlineResult) SetContentUrl

func (m *TLBotInlineResult) SetContentUrl(v string)

func (*TLBotInlineResult) SetDescription

func (m *TLBotInlineResult) SetDescription(v string)

func (*TLBotInlineResult) SetDuration

func (m *TLBotInlineResult) SetDuration(v int32)

func (*TLBotInlineResult) SetH

func (m *TLBotInlineResult) SetH(v int32)

func (*TLBotInlineResult) SetId

func (m *TLBotInlineResult) SetId(v string)

func (*TLBotInlineResult) SetSendMessage

func (m *TLBotInlineResult) SetSendMessage(v *BotInlineMessage)

func (*TLBotInlineResult) SetThumbUrl

func (m *TLBotInlineResult) SetThumbUrl(v string)

func (*TLBotInlineResult) SetTitle

func (m *TLBotInlineResult) SetTitle(v string)

func (*TLBotInlineResult) SetType

func (m *TLBotInlineResult) SetType(v string)

func (*TLBotInlineResult) SetUrl

func (m *TLBotInlineResult) SetUrl(v string)

func (*TLBotInlineResult) SetW

func (m *TLBotInlineResult) SetW(v int32)

func (*TLBotInlineResult) String

func (m *TLBotInlineResult) String() string

func (*TLBotInlineResult) To_BotInlineResult

func (m *TLBotInlineResult) To_BotInlineResult() *BotInlineResult

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

type TLBotsAnswerWebhookJSONQuery

type TLBotsAnswerWebhookJSONQuery struct {
	QueryId int64     `protobuf:"varint,1,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Data    *DataJSON `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// bots.answerWebhookJSONQuery#e6213f4d query_id:long data:DataJSON = Bool;

func NewTLBotsAnswerWebhookJSONQuery

func NewTLBotsAnswerWebhookJSONQuery() *TLBotsAnswerWebhookJSONQuery

func (*TLBotsAnswerWebhookJSONQuery) Decode

func (m *TLBotsAnswerWebhookJSONQuery) Decode(dbuf *DecodeBuf) error

func (*TLBotsAnswerWebhookJSONQuery) Descriptor

func (*TLBotsAnswerWebhookJSONQuery) Descriptor() ([]byte, []int)

func (*TLBotsAnswerWebhookJSONQuery) Encode

func (m *TLBotsAnswerWebhookJSONQuery) Encode() []byte

func (*TLBotsAnswerWebhookJSONQuery) GetData

func (m *TLBotsAnswerWebhookJSONQuery) GetData() *DataJSON

func (*TLBotsAnswerWebhookJSONQuery) GetQueryId

func (m *TLBotsAnswerWebhookJSONQuery) GetQueryId() int64

func (*TLBotsAnswerWebhookJSONQuery) ProtoMessage

func (*TLBotsAnswerWebhookJSONQuery) ProtoMessage()

func (*TLBotsAnswerWebhookJSONQuery) Reset

func (m *TLBotsAnswerWebhookJSONQuery) Reset()

func (*TLBotsAnswerWebhookJSONQuery) String

type TLBotsSendCustomRequest

type TLBotsSendCustomRequest struct {
	CustomMethod string    `protobuf:"bytes,1,opt,name=custom_method,json=customMethod" json:"custom_method,omitempty"`
	Params       *DataJSON `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// bots.sendCustomRequest#aa2769ed custom_method:string params:DataJSON = DataJSON;

func NewTLBotsSendCustomRequest

func NewTLBotsSendCustomRequest() *TLBotsSendCustomRequest

func (*TLBotsSendCustomRequest) Decode

func (m *TLBotsSendCustomRequest) Decode(dbuf *DecodeBuf) error

func (*TLBotsSendCustomRequest) Descriptor

func (*TLBotsSendCustomRequest) Descriptor() ([]byte, []int)

func (*TLBotsSendCustomRequest) Encode

func (m *TLBotsSendCustomRequest) Encode() []byte

func (*TLBotsSendCustomRequest) GetCustomMethod

func (m *TLBotsSendCustomRequest) GetCustomMethod() string

func (*TLBotsSendCustomRequest) GetParams

func (m *TLBotsSendCustomRequest) GetParams() *DataJSON

func (*TLBotsSendCustomRequest) ProtoMessage

func (*TLBotsSendCustomRequest) ProtoMessage()

func (*TLBotsSendCustomRequest) Reset

func (m *TLBotsSendCustomRequest) Reset()

func (*TLBotsSendCustomRequest) String

func (m *TLBotsSendCustomRequest) String() string

type TLCdnConfig

type TLCdnConfig struct {
	Data2 *CdnConfig_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

cdnConfig#5725e40a public_keys:Vector<CdnPublicKey> = CdnConfig;

func NewTLCdnConfig

func NewTLCdnConfig() *TLCdnConfig

func (*TLCdnConfig) Decode

func (m *TLCdnConfig) Decode(dbuf *DecodeBuf) error

func (*TLCdnConfig) Descriptor

func (*TLCdnConfig) Descriptor() ([]byte, []int)

func (*TLCdnConfig) Encode

func (m *TLCdnConfig) Encode() []byte

func (*TLCdnConfig) GetData2

func (m *TLCdnConfig) GetData2() *CdnConfig_Data

func (*TLCdnConfig) GetPublicKeys

func (m *TLCdnConfig) GetPublicKeys() []*CdnPublicKey

func (*TLCdnConfig) ProtoMessage

func (*TLCdnConfig) ProtoMessage()

func (*TLCdnConfig) Reset

func (m *TLCdnConfig) Reset()

func (*TLCdnConfig) SetPublicKeys

func (m *TLCdnConfig) SetPublicKeys(v []*CdnPublicKey)

func (*TLCdnConfig) String

func (m *TLCdnConfig) String() string

func (*TLCdnConfig) To_CdnConfig

func (m *TLCdnConfig) To_CdnConfig() *CdnConfig

cdnConfig#5725e40a public_keys:Vector<CdnPublicKey> = CdnConfig;

type TLCdnFileHash

type TLCdnFileHash struct {
	Data2 *CdnFileHash_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;

func NewTLCdnFileHash

func NewTLCdnFileHash() *TLCdnFileHash

func (*TLCdnFileHash) Decode

func (m *TLCdnFileHash) Decode(dbuf *DecodeBuf) error

func (*TLCdnFileHash) Descriptor

func (*TLCdnFileHash) Descriptor() ([]byte, []int)

func (*TLCdnFileHash) Encode

func (m *TLCdnFileHash) Encode() []byte

func (*TLCdnFileHash) GetData2

func (m *TLCdnFileHash) GetData2() *CdnFileHash_Data

func (*TLCdnFileHash) GetHash

func (m *TLCdnFileHash) GetHash() []byte

func (*TLCdnFileHash) GetLimit

func (m *TLCdnFileHash) GetLimit() int32

func (*TLCdnFileHash) GetOffset

func (m *TLCdnFileHash) GetOffset() int32

func (*TLCdnFileHash) ProtoMessage

func (*TLCdnFileHash) ProtoMessage()

func (*TLCdnFileHash) Reset

func (m *TLCdnFileHash) Reset()

func (*TLCdnFileHash) SetHash

func (m *TLCdnFileHash) SetHash(v []byte)

func (*TLCdnFileHash) SetLimit

func (m *TLCdnFileHash) SetLimit(v int32)

func (*TLCdnFileHash) SetOffset

func (m *TLCdnFileHash) SetOffset(v int32)

func (*TLCdnFileHash) String

func (m *TLCdnFileHash) String() string

func (*TLCdnFileHash) To_CdnFileHash

func (m *TLCdnFileHash) To_CdnFileHash() *CdnFileHash

cdnFileHash#77eec38f offset:int limit:int hash:bytes = CdnFileHash;

type TLCdnPublicKey

type TLCdnPublicKey struct {
	Data2 *CdnPublicKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;

func NewTLCdnPublicKey

func NewTLCdnPublicKey() *TLCdnPublicKey

func (*TLCdnPublicKey) Decode

func (m *TLCdnPublicKey) Decode(dbuf *DecodeBuf) error

func (*TLCdnPublicKey) Descriptor

func (*TLCdnPublicKey) Descriptor() ([]byte, []int)

func (*TLCdnPublicKey) Encode

func (m *TLCdnPublicKey) Encode() []byte

func (*TLCdnPublicKey) GetData2

func (m *TLCdnPublicKey) GetData2() *CdnPublicKey_Data

func (*TLCdnPublicKey) GetDcId

func (m *TLCdnPublicKey) GetDcId() int32

func (*TLCdnPublicKey) GetPublicKey

func (m *TLCdnPublicKey) GetPublicKey() string

func (*TLCdnPublicKey) ProtoMessage

func (*TLCdnPublicKey) ProtoMessage()

func (*TLCdnPublicKey) Reset

func (m *TLCdnPublicKey) Reset()

func (*TLCdnPublicKey) SetDcId

func (m *TLCdnPublicKey) SetDcId(v int32)

func (*TLCdnPublicKey) SetPublicKey

func (m *TLCdnPublicKey) SetPublicKey(v string)

func (*TLCdnPublicKey) String

func (m *TLCdnPublicKey) String() string

func (*TLCdnPublicKey) To_CdnPublicKey

func (m *TLCdnPublicKey) To_CdnPublicKey() *CdnPublicKey

cdnPublicKey#c982eaba dc_id:int public_key:string = CdnPublicKey;

type TLChannel

type TLChannel struct {
	Data2 *Chat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;

func NewTLChannel

func NewTLChannel() *TLChannel

func (*TLChannel) Decode

func (m *TLChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannel) Descriptor

func (*TLChannel) Descriptor() ([]byte, []int)

func (*TLChannel) Encode

func (m *TLChannel) Encode() []byte

func (*TLChannel) GetAccessHash

func (m *TLChannel) GetAccessHash() int64

func (*TLChannel) GetAdminRights

func (m *TLChannel) GetAdminRights() *ChannelAdminRights

func (*TLChannel) GetBannedRights

func (m *TLChannel) GetBannedRights() *ChannelBannedRights

func (*TLChannel) GetBroadcast

func (m *TLChannel) GetBroadcast() bool

func (*TLChannel) GetCreator

func (m *TLChannel) GetCreator() bool

func (*TLChannel) GetData2

func (m *TLChannel) GetData2() *Chat_Data

func (*TLChannel) GetDate

func (m *TLChannel) GetDate() int32

func (*TLChannel) GetDemocracy

func (m *TLChannel) GetDemocracy() bool

func (*TLChannel) GetEditor

func (m *TLChannel) GetEditor() bool

func (*TLChannel) GetId

func (m *TLChannel) GetId() int32

func (*TLChannel) GetLeft

func (m *TLChannel) GetLeft() bool

func (*TLChannel) GetMegagroup

func (m *TLChannel) GetMegagroup() bool

func (*TLChannel) GetMin

func (m *TLChannel) GetMin() bool

func (*TLChannel) GetParticipantsCount

func (m *TLChannel) GetParticipantsCount() int32

func (*TLChannel) GetPhoto

func (m *TLChannel) GetPhoto() *ChatPhoto

func (*TLChannel) GetRestricted

func (m *TLChannel) GetRestricted() bool

func (*TLChannel) GetRestrictionReason

func (m *TLChannel) GetRestrictionReason() string

func (*TLChannel) GetSignatures

func (m *TLChannel) GetSignatures() bool

func (*TLChannel) GetTitle

func (m *TLChannel) GetTitle() string

func (*TLChannel) GetUsername

func (m *TLChannel) GetUsername() string

func (*TLChannel) GetVerified

func (m *TLChannel) GetVerified() bool

func (*TLChannel) GetVersion

func (m *TLChannel) GetVersion() int32

func (*TLChannel) ProtoMessage

func (*TLChannel) ProtoMessage()

func (*TLChannel) Reset

func (m *TLChannel) Reset()

func (*TLChannel) SetAccessHash

func (m *TLChannel) SetAccessHash(v int64)

func (*TLChannel) SetAdminRights

func (m *TLChannel) SetAdminRights(v *ChannelAdminRights)

func (*TLChannel) SetBannedRights

func (m *TLChannel) SetBannedRights(v *ChannelBannedRights)

func (*TLChannel) SetBroadcast

func (m *TLChannel) SetBroadcast(v bool)

func (*TLChannel) SetCreator

func (m *TLChannel) SetCreator(v bool)

func (*TLChannel) SetDate

func (m *TLChannel) SetDate(v int32)

func (*TLChannel) SetDemocracy

func (m *TLChannel) SetDemocracy(v bool)

func (*TLChannel) SetEditor

func (m *TLChannel) SetEditor(v bool)

func (*TLChannel) SetId

func (m *TLChannel) SetId(v int32)

func (*TLChannel) SetLeft

func (m *TLChannel) SetLeft(v bool)

func (*TLChannel) SetMegagroup

func (m *TLChannel) SetMegagroup(v bool)

func (*TLChannel) SetMin

func (m *TLChannel) SetMin(v bool)

func (*TLChannel) SetParticipantsCount

func (m *TLChannel) SetParticipantsCount(v int32)

func (*TLChannel) SetPhoto

func (m *TLChannel) SetPhoto(v *ChatPhoto)

func (*TLChannel) SetRestricted

func (m *TLChannel) SetRestricted(v bool)

func (*TLChannel) SetRestrictionReason

func (m *TLChannel) SetRestrictionReason(v string)

func (*TLChannel) SetSignatures

func (m *TLChannel) SetSignatures(v bool)

func (*TLChannel) SetTitle

func (m *TLChannel) SetTitle(v string)

func (*TLChannel) SetUsername

func (m *TLChannel) SetUsername(v string)

func (*TLChannel) SetVerified

func (m *TLChannel) SetVerified(v bool)

func (*TLChannel) SetVersion

func (m *TLChannel) SetVersion(v int32)

func (*TLChannel) String

func (m *TLChannel) String() string

func (*TLChannel) To_Chat

func (m *TLChannel) To_Chat() *Chat

channel#450b7115 flags:# creator:flags.0?true left:flags.2?true editor:flags.3?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true democracy:flags.10?true signatures:flags.11?true min:flags.12?true id:int access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int version:int restriction_reason:flags.9?string admin_rights:flags.14?ChannelAdminRights banned_rights:flags.15?ChannelBannedRights participants_count:flags.17?int = Chat;

type TLChannelAdminLogEvent

type TLChannelAdminLogEvent struct {
	Data2 *ChannelAdminLogEvent_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent;

func NewTLChannelAdminLogEvent

func NewTLChannelAdminLogEvent() *TLChannelAdminLogEvent

func (*TLChannelAdminLogEvent) Decode

func (m *TLChannelAdminLogEvent) Decode(dbuf *DecodeBuf) error

func (*TLChannelAdminLogEvent) Descriptor

func (*TLChannelAdminLogEvent) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEvent) Encode

func (m *TLChannelAdminLogEvent) Encode() []byte

func (*TLChannelAdminLogEvent) GetAction

func (*TLChannelAdminLogEvent) GetData2

func (*TLChannelAdminLogEvent) GetDate

func (m *TLChannelAdminLogEvent) GetDate() int32

func (*TLChannelAdminLogEvent) GetId

func (m *TLChannelAdminLogEvent) GetId() int64

func (*TLChannelAdminLogEvent) GetUserId

func (m *TLChannelAdminLogEvent) GetUserId() int32

func (*TLChannelAdminLogEvent) ProtoMessage

func (*TLChannelAdminLogEvent) ProtoMessage()

func (*TLChannelAdminLogEvent) Reset

func (m *TLChannelAdminLogEvent) Reset()

func (*TLChannelAdminLogEvent) SetAction

func (*TLChannelAdminLogEvent) SetDate

func (m *TLChannelAdminLogEvent) SetDate(v int32)

func (*TLChannelAdminLogEvent) SetId

func (m *TLChannelAdminLogEvent) SetId(v int64)

func (*TLChannelAdminLogEvent) SetUserId

func (m *TLChannelAdminLogEvent) SetUserId(v int32)

func (*TLChannelAdminLogEvent) String

func (m *TLChannelAdminLogEvent) String() string

func (*TLChannelAdminLogEvent) To_ChannelAdminLogEvent

func (m *TLChannelAdminLogEvent) To_ChannelAdminLogEvent() *ChannelAdminLogEvent

channelAdminLogEvent#3b5a3e40 id:long date:int user_id:int action:ChannelAdminLogEventAction = ChannelAdminLogEvent;

type TLChannelAdminLogEventActionChangeAbout

type TLChannelAdminLogEventActionChangeAbout struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionChangeAbout

func NewTLChannelAdminLogEventActionChangeAbout() *TLChannelAdminLogEventActionChangeAbout

func (*TLChannelAdminLogEventActionChangeAbout) Decode

func (*TLChannelAdminLogEventActionChangeAbout) Descriptor

func (*TLChannelAdminLogEventActionChangeAbout) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionChangeAbout) Encode

func (*TLChannelAdminLogEventActionChangeAbout) GetData2

func (*TLChannelAdminLogEventActionChangeAbout) GetNewValue

func (*TLChannelAdminLogEventActionChangeAbout) GetPrevValue

func (*TLChannelAdminLogEventActionChangeAbout) ProtoMessage

func (*TLChannelAdminLogEventActionChangeAbout) Reset

func (*TLChannelAdminLogEventActionChangeAbout) SetNewValue

func (*TLChannelAdminLogEventActionChangeAbout) SetPrevValue

func (*TLChannelAdminLogEventActionChangeAbout) String

func (*TLChannelAdminLogEventActionChangeAbout) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionChangeAbout) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionChangePhoto

type TLChannelAdminLogEventActionChangePhoto struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionChangePhoto

func NewTLChannelAdminLogEventActionChangePhoto() *TLChannelAdminLogEventActionChangePhoto

func (*TLChannelAdminLogEventActionChangePhoto) Decode

func (*TLChannelAdminLogEventActionChangePhoto) Descriptor

func (*TLChannelAdminLogEventActionChangePhoto) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionChangePhoto) Encode

func (*TLChannelAdminLogEventActionChangePhoto) GetData2

func (*TLChannelAdminLogEventActionChangePhoto) GetNewPhoto

func (*TLChannelAdminLogEventActionChangePhoto) GetPrevPhoto

func (*TLChannelAdminLogEventActionChangePhoto) ProtoMessage

func (*TLChannelAdminLogEventActionChangePhoto) Reset

func (*TLChannelAdminLogEventActionChangePhoto) SetNewPhoto

func (*TLChannelAdminLogEventActionChangePhoto) SetPrevPhoto

func (*TLChannelAdminLogEventActionChangePhoto) String

func (*TLChannelAdminLogEventActionChangePhoto) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionChangePhoto) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionChangePhoto#b82f55c3 prev_photo:ChatPhoto new_photo:ChatPhoto = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionChangeStickerSet

type TLChannelAdminLogEventActionChangeStickerSet struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionChangeStickerSet

func NewTLChannelAdminLogEventActionChangeStickerSet() *TLChannelAdminLogEventActionChangeStickerSet

func (*TLChannelAdminLogEventActionChangeStickerSet) Decode

func (*TLChannelAdminLogEventActionChangeStickerSet) Descriptor

func (*TLChannelAdminLogEventActionChangeStickerSet) Encode

func (*TLChannelAdminLogEventActionChangeStickerSet) GetData2

func (*TLChannelAdminLogEventActionChangeStickerSet) GetNewStickerset

func (*TLChannelAdminLogEventActionChangeStickerSet) GetPrevStickerset

func (*TLChannelAdminLogEventActionChangeStickerSet) ProtoMessage

func (*TLChannelAdminLogEventActionChangeStickerSet) Reset

func (*TLChannelAdminLogEventActionChangeStickerSet) SetNewStickerset

func (*TLChannelAdminLogEventActionChangeStickerSet) SetPrevStickerset

func (*TLChannelAdminLogEventActionChangeStickerSet) String

func (*TLChannelAdminLogEventActionChangeStickerSet) To_ChannelAdminLogEventAction

channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionChangeTitle

type TLChannelAdminLogEventActionChangeTitle struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionChangeTitle

func NewTLChannelAdminLogEventActionChangeTitle() *TLChannelAdminLogEventActionChangeTitle

func (*TLChannelAdminLogEventActionChangeTitle) Decode

func (*TLChannelAdminLogEventActionChangeTitle) Descriptor

func (*TLChannelAdminLogEventActionChangeTitle) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionChangeTitle) Encode

func (*TLChannelAdminLogEventActionChangeTitle) GetData2

func (*TLChannelAdminLogEventActionChangeTitle) GetNewValue

func (*TLChannelAdminLogEventActionChangeTitle) GetPrevValue

func (*TLChannelAdminLogEventActionChangeTitle) ProtoMessage

func (*TLChannelAdminLogEventActionChangeTitle) Reset

func (*TLChannelAdminLogEventActionChangeTitle) SetNewValue

func (*TLChannelAdminLogEventActionChangeTitle) SetPrevValue

func (*TLChannelAdminLogEventActionChangeTitle) String

func (*TLChannelAdminLogEventActionChangeTitle) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionChangeTitle) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionChangeUsername

type TLChannelAdminLogEventActionChangeUsername struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionChangeUsername

func NewTLChannelAdminLogEventActionChangeUsername() *TLChannelAdminLogEventActionChangeUsername

func (*TLChannelAdminLogEventActionChangeUsername) Decode

func (*TLChannelAdminLogEventActionChangeUsername) Descriptor

func (*TLChannelAdminLogEventActionChangeUsername) Encode

func (*TLChannelAdminLogEventActionChangeUsername) GetData2

func (*TLChannelAdminLogEventActionChangeUsername) GetNewValue

func (*TLChannelAdminLogEventActionChangeUsername) GetPrevValue

func (*TLChannelAdminLogEventActionChangeUsername) ProtoMessage

func (*TLChannelAdminLogEventActionChangeUsername) Reset

func (*TLChannelAdminLogEventActionChangeUsername) SetNewValue

func (*TLChannelAdminLogEventActionChangeUsername) SetPrevValue

func (*TLChannelAdminLogEventActionChangeUsername) String

func (*TLChannelAdminLogEventActionChangeUsername) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionChangeUsername) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionDeleteMessage

type TLChannelAdminLogEventActionDeleteMessage struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionDeleteMessage

func NewTLChannelAdminLogEventActionDeleteMessage() *TLChannelAdminLogEventActionDeleteMessage

func (*TLChannelAdminLogEventActionDeleteMessage) Decode

func (*TLChannelAdminLogEventActionDeleteMessage) Descriptor

func (*TLChannelAdminLogEventActionDeleteMessage) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionDeleteMessage) Encode

func (*TLChannelAdminLogEventActionDeleteMessage) GetData2

func (*TLChannelAdminLogEventActionDeleteMessage) GetMessage

func (*TLChannelAdminLogEventActionDeleteMessage) ProtoMessage

func (*TLChannelAdminLogEventActionDeleteMessage) Reset

func (*TLChannelAdminLogEventActionDeleteMessage) SetMessage

func (*TLChannelAdminLogEventActionDeleteMessage) String

func (*TLChannelAdminLogEventActionDeleteMessage) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionDeleteMessage) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionEditMessage

type TLChannelAdminLogEventActionEditMessage struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionEditMessage

func NewTLChannelAdminLogEventActionEditMessage() *TLChannelAdminLogEventActionEditMessage

func (*TLChannelAdminLogEventActionEditMessage) Decode

func (*TLChannelAdminLogEventActionEditMessage) Descriptor

func (*TLChannelAdminLogEventActionEditMessage) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionEditMessage) Encode

func (*TLChannelAdminLogEventActionEditMessage) GetData2

func (*TLChannelAdminLogEventActionEditMessage) GetNewMessage

func (*TLChannelAdminLogEventActionEditMessage) GetPrevMessage

func (m *TLChannelAdminLogEventActionEditMessage) GetPrevMessage() *Message

func (*TLChannelAdminLogEventActionEditMessage) ProtoMessage

func (*TLChannelAdminLogEventActionEditMessage) Reset

func (*TLChannelAdminLogEventActionEditMessage) SetNewMessage

func (m *TLChannelAdminLogEventActionEditMessage) SetNewMessage(v *Message)

func (*TLChannelAdminLogEventActionEditMessage) SetPrevMessage

func (m *TLChannelAdminLogEventActionEditMessage) SetPrevMessage(v *Message)

func (*TLChannelAdminLogEventActionEditMessage) String

func (*TLChannelAdminLogEventActionEditMessage) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionEditMessage) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionParticipantInvite

type TLChannelAdminLogEventActionParticipantInvite struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionParticipantInvite

func NewTLChannelAdminLogEventActionParticipantInvite() *TLChannelAdminLogEventActionParticipantInvite

func (*TLChannelAdminLogEventActionParticipantInvite) Decode

func (*TLChannelAdminLogEventActionParticipantInvite) Descriptor

func (*TLChannelAdminLogEventActionParticipantInvite) Encode

func (*TLChannelAdminLogEventActionParticipantInvite) GetData2

func (*TLChannelAdminLogEventActionParticipantInvite) GetParticipant

func (*TLChannelAdminLogEventActionParticipantInvite) ProtoMessage

func (*TLChannelAdminLogEventActionParticipantInvite) Reset

func (*TLChannelAdminLogEventActionParticipantInvite) SetParticipant

func (*TLChannelAdminLogEventActionParticipantInvite) String

func (*TLChannelAdminLogEventActionParticipantInvite) To_ChannelAdminLogEventAction

channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionParticipantJoin

type TLChannelAdminLogEventActionParticipantJoin struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionParticipantJoin

func NewTLChannelAdminLogEventActionParticipantJoin() *TLChannelAdminLogEventActionParticipantJoin

func (*TLChannelAdminLogEventActionParticipantJoin) Decode

func (*TLChannelAdminLogEventActionParticipantJoin) Descriptor

func (*TLChannelAdminLogEventActionParticipantJoin) Encode

func (*TLChannelAdminLogEventActionParticipantJoin) GetData2

func (*TLChannelAdminLogEventActionParticipantJoin) ProtoMessage

func (*TLChannelAdminLogEventActionParticipantJoin) Reset

func (*TLChannelAdminLogEventActionParticipantJoin) String

func (*TLChannelAdminLogEventActionParticipantJoin) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionParticipantJoin) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionParticipantLeave

type TLChannelAdminLogEventActionParticipantLeave struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionParticipantLeave

func NewTLChannelAdminLogEventActionParticipantLeave() *TLChannelAdminLogEventActionParticipantLeave

func (*TLChannelAdminLogEventActionParticipantLeave) Decode

func (*TLChannelAdminLogEventActionParticipantLeave) Descriptor

func (*TLChannelAdminLogEventActionParticipantLeave) Encode

func (*TLChannelAdminLogEventActionParticipantLeave) GetData2

func (*TLChannelAdminLogEventActionParticipantLeave) ProtoMessage

func (*TLChannelAdminLogEventActionParticipantLeave) Reset

func (*TLChannelAdminLogEventActionParticipantLeave) String

func (*TLChannelAdminLogEventActionParticipantLeave) To_ChannelAdminLogEventAction

channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionParticipantToggleAdmin

type TLChannelAdminLogEventActionParticipantToggleAdmin struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionParticipantToggleAdmin

func NewTLChannelAdminLogEventActionParticipantToggleAdmin() *TLChannelAdminLogEventActionParticipantToggleAdmin

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) Decode

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) Descriptor

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) Encode

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) GetData2

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) GetNewParticipant

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) GetPrevParticipant

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) ProtoMessage

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) Reset

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) SetNewParticipant

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) SetPrevParticipant

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) String

func (*TLChannelAdminLogEventActionParticipantToggleAdmin) To_ChannelAdminLogEventAction

channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionParticipantToggleBan

type TLChannelAdminLogEventActionParticipantToggleBan struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionParticipantToggleBan

func NewTLChannelAdminLogEventActionParticipantToggleBan() *TLChannelAdminLogEventActionParticipantToggleBan

func (*TLChannelAdminLogEventActionParticipantToggleBan) Decode

func (*TLChannelAdminLogEventActionParticipantToggleBan) Descriptor

func (*TLChannelAdminLogEventActionParticipantToggleBan) Encode

func (*TLChannelAdminLogEventActionParticipantToggleBan) GetData2

func (*TLChannelAdminLogEventActionParticipantToggleBan) GetNewParticipant

func (*TLChannelAdminLogEventActionParticipantToggleBan) GetPrevParticipant

func (*TLChannelAdminLogEventActionParticipantToggleBan) ProtoMessage

func (*TLChannelAdminLogEventActionParticipantToggleBan) Reset

func (*TLChannelAdminLogEventActionParticipantToggleBan) SetNewParticipant

func (*TLChannelAdminLogEventActionParticipantToggleBan) SetPrevParticipant

func (*TLChannelAdminLogEventActionParticipantToggleBan) String

func (*TLChannelAdminLogEventActionParticipantToggleBan) To_ChannelAdminLogEventAction

channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionToggleInvites

type TLChannelAdminLogEventActionToggleInvites struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionToggleInvites

func NewTLChannelAdminLogEventActionToggleInvites() *TLChannelAdminLogEventActionToggleInvites

func (*TLChannelAdminLogEventActionToggleInvites) Decode

func (*TLChannelAdminLogEventActionToggleInvites) Descriptor

func (*TLChannelAdminLogEventActionToggleInvites) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionToggleInvites) Encode

func (*TLChannelAdminLogEventActionToggleInvites) GetData2

func (*TLChannelAdminLogEventActionToggleInvites) GetNewValue

func (*TLChannelAdminLogEventActionToggleInvites) ProtoMessage

func (*TLChannelAdminLogEventActionToggleInvites) Reset

func (*TLChannelAdminLogEventActionToggleInvites) SetNewValue

func (*TLChannelAdminLogEventActionToggleInvites) String

func (*TLChannelAdminLogEventActionToggleInvites) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionToggleInvites) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionTogglePreHistoryHidden

type TLChannelAdminLogEventActionTogglePreHistoryHidden struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionTogglePreHistoryHidden

func NewTLChannelAdminLogEventActionTogglePreHistoryHidden() *TLChannelAdminLogEventActionTogglePreHistoryHidden

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) Decode

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) Descriptor

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) Encode

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) GetData2

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) GetNewValue

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) ProtoMessage

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) Reset

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) SetNewValue

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) String

func (*TLChannelAdminLogEventActionTogglePreHistoryHidden) To_ChannelAdminLogEventAction

channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionToggleSignatures

type TLChannelAdminLogEventActionToggleSignatures struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionToggleSignatures

func NewTLChannelAdminLogEventActionToggleSignatures() *TLChannelAdminLogEventActionToggleSignatures

func (*TLChannelAdminLogEventActionToggleSignatures) Decode

func (*TLChannelAdminLogEventActionToggleSignatures) Descriptor

func (*TLChannelAdminLogEventActionToggleSignatures) Encode

func (*TLChannelAdminLogEventActionToggleSignatures) GetData2

func (*TLChannelAdminLogEventActionToggleSignatures) GetNewValue

func (*TLChannelAdminLogEventActionToggleSignatures) ProtoMessage

func (*TLChannelAdminLogEventActionToggleSignatures) Reset

func (*TLChannelAdminLogEventActionToggleSignatures) SetNewValue

func (*TLChannelAdminLogEventActionToggleSignatures) String

func (*TLChannelAdminLogEventActionToggleSignatures) To_ChannelAdminLogEventAction

channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;

type TLChannelAdminLogEventActionUpdatePinned

type TLChannelAdminLogEventActionUpdatePinned struct {
	Data2 *ChannelAdminLogEventAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;

func NewTLChannelAdminLogEventActionUpdatePinned

func NewTLChannelAdminLogEventActionUpdatePinned() *TLChannelAdminLogEventActionUpdatePinned

func (*TLChannelAdminLogEventActionUpdatePinned) Decode

func (*TLChannelAdminLogEventActionUpdatePinned) Descriptor

func (*TLChannelAdminLogEventActionUpdatePinned) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventActionUpdatePinned) Encode

func (*TLChannelAdminLogEventActionUpdatePinned) GetData2

func (*TLChannelAdminLogEventActionUpdatePinned) GetMessage

func (*TLChannelAdminLogEventActionUpdatePinned) ProtoMessage

func (*TLChannelAdminLogEventActionUpdatePinned) Reset

func (*TLChannelAdminLogEventActionUpdatePinned) SetMessage

func (*TLChannelAdminLogEventActionUpdatePinned) String

func (*TLChannelAdminLogEventActionUpdatePinned) To_ChannelAdminLogEventAction

func (m *TLChannelAdminLogEventActionUpdatePinned) To_ChannelAdminLogEventAction() *ChannelAdminLogEventAction

channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;

type TLChannelAdminLogEventsFilter

type TLChannelAdminLogEventsFilter struct {
	Data2 *ChannelAdminLogEventsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter;

func NewTLChannelAdminLogEventsFilter

func NewTLChannelAdminLogEventsFilter() *TLChannelAdminLogEventsFilter

func (*TLChannelAdminLogEventsFilter) Decode

func (*TLChannelAdminLogEventsFilter) Descriptor

func (*TLChannelAdminLogEventsFilter) Descriptor() ([]byte, []int)

func (*TLChannelAdminLogEventsFilter) Encode

func (m *TLChannelAdminLogEventsFilter) Encode() []byte

func (*TLChannelAdminLogEventsFilter) GetBan

func (m *TLChannelAdminLogEventsFilter) GetBan() bool

func (*TLChannelAdminLogEventsFilter) GetData2

func (*TLChannelAdminLogEventsFilter) GetDelete

func (m *TLChannelAdminLogEventsFilter) GetDelete() bool

func (*TLChannelAdminLogEventsFilter) GetDemote

func (m *TLChannelAdminLogEventsFilter) GetDemote() bool

func (*TLChannelAdminLogEventsFilter) GetEdit

func (m *TLChannelAdminLogEventsFilter) GetEdit() bool

func (*TLChannelAdminLogEventsFilter) GetInfo

func (m *TLChannelAdminLogEventsFilter) GetInfo() bool

func (*TLChannelAdminLogEventsFilter) GetInvite

func (m *TLChannelAdminLogEventsFilter) GetInvite() bool

func (*TLChannelAdminLogEventsFilter) GetJoin

func (m *TLChannelAdminLogEventsFilter) GetJoin() bool

func (*TLChannelAdminLogEventsFilter) GetKick

func (m *TLChannelAdminLogEventsFilter) GetKick() bool

func (*TLChannelAdminLogEventsFilter) GetLeave

func (m *TLChannelAdminLogEventsFilter) GetLeave() bool

func (*TLChannelAdminLogEventsFilter) GetPinned

func (m *TLChannelAdminLogEventsFilter) GetPinned() bool

func (*TLChannelAdminLogEventsFilter) GetPromote

func (m *TLChannelAdminLogEventsFilter) GetPromote() bool

func (*TLChannelAdminLogEventsFilter) GetSettings

func (m *TLChannelAdminLogEventsFilter) GetSettings() bool

func (*TLChannelAdminLogEventsFilter) GetUnban

func (m *TLChannelAdminLogEventsFilter) GetUnban() bool

func (*TLChannelAdminLogEventsFilter) GetUnkick

func (m *TLChannelAdminLogEventsFilter) GetUnkick() bool

func (*TLChannelAdminLogEventsFilter) ProtoMessage

func (*TLChannelAdminLogEventsFilter) ProtoMessage()

func (*TLChannelAdminLogEventsFilter) Reset

func (m *TLChannelAdminLogEventsFilter) Reset()

func (*TLChannelAdminLogEventsFilter) SetBan

func (m *TLChannelAdminLogEventsFilter) SetBan(v bool)

func (*TLChannelAdminLogEventsFilter) SetDelete

func (m *TLChannelAdminLogEventsFilter) SetDelete(v bool)

func (*TLChannelAdminLogEventsFilter) SetDemote

func (m *TLChannelAdminLogEventsFilter) SetDemote(v bool)

func (*TLChannelAdminLogEventsFilter) SetEdit

func (m *TLChannelAdminLogEventsFilter) SetEdit(v bool)

func (*TLChannelAdminLogEventsFilter) SetInfo

func (m *TLChannelAdminLogEventsFilter) SetInfo(v bool)

func (*TLChannelAdminLogEventsFilter) SetInvite

func (m *TLChannelAdminLogEventsFilter) SetInvite(v bool)

func (*TLChannelAdminLogEventsFilter) SetJoin

func (m *TLChannelAdminLogEventsFilter) SetJoin(v bool)

func (*TLChannelAdminLogEventsFilter) SetKick

func (m *TLChannelAdminLogEventsFilter) SetKick(v bool)

func (*TLChannelAdminLogEventsFilter) SetLeave

func (m *TLChannelAdminLogEventsFilter) SetLeave(v bool)

func (*TLChannelAdminLogEventsFilter) SetPinned

func (m *TLChannelAdminLogEventsFilter) SetPinned(v bool)

func (*TLChannelAdminLogEventsFilter) SetPromote

func (m *TLChannelAdminLogEventsFilter) SetPromote(v bool)

func (*TLChannelAdminLogEventsFilter) SetSettings

func (m *TLChannelAdminLogEventsFilter) SetSettings(v bool)

func (*TLChannelAdminLogEventsFilter) SetUnban

func (m *TLChannelAdminLogEventsFilter) SetUnban(v bool)

func (*TLChannelAdminLogEventsFilter) SetUnkick

func (m *TLChannelAdminLogEventsFilter) SetUnkick(v bool)

func (*TLChannelAdminLogEventsFilter) String

func (*TLChannelAdminLogEventsFilter) To_ChannelAdminLogEventsFilter

func (m *TLChannelAdminLogEventsFilter) To_ChannelAdminLogEventsFilter() *ChannelAdminLogEventsFilter

channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true = ChannelAdminLogEventsFilter;

type TLChannelAdminRights

type TLChannelAdminRights struct {
	Data2 *ChannelAdminRights_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights;

func NewTLChannelAdminRights

func NewTLChannelAdminRights() *TLChannelAdminRights

func (*TLChannelAdminRights) Decode

func (m *TLChannelAdminRights) Decode(dbuf *DecodeBuf) error

func (*TLChannelAdminRights) Descriptor

func (*TLChannelAdminRights) Descriptor() ([]byte, []int)

func (*TLChannelAdminRights) Encode

func (m *TLChannelAdminRights) Encode() []byte

func (*TLChannelAdminRights) GetAddAdmins

func (m *TLChannelAdminRights) GetAddAdmins() bool

func (*TLChannelAdminRights) GetBanUsers

func (m *TLChannelAdminRights) GetBanUsers() bool

func (*TLChannelAdminRights) GetChangeInfo

func (m *TLChannelAdminRights) GetChangeInfo() bool

func (*TLChannelAdminRights) GetData2

func (*TLChannelAdminRights) GetDeleteMessages

func (m *TLChannelAdminRights) GetDeleteMessages() bool

func (*TLChannelAdminRights) GetEditMessages

func (m *TLChannelAdminRights) GetEditMessages() bool
func (m *TLChannelAdminRights) GetInviteLink() bool

func (*TLChannelAdminRights) GetInviteUsers

func (m *TLChannelAdminRights) GetInviteUsers() bool

func (*TLChannelAdminRights) GetManageCall

func (m *TLChannelAdminRights) GetManageCall() bool

func (*TLChannelAdminRights) GetPinMessages

func (m *TLChannelAdminRights) GetPinMessages() bool

func (*TLChannelAdminRights) GetPostMessages

func (m *TLChannelAdminRights) GetPostMessages() bool

func (*TLChannelAdminRights) ProtoMessage

func (*TLChannelAdminRights) ProtoMessage()

func (*TLChannelAdminRights) Reset

func (m *TLChannelAdminRights) Reset()

func (*TLChannelAdminRights) SetAddAdmins

func (m *TLChannelAdminRights) SetAddAdmins(v bool)

func (*TLChannelAdminRights) SetBanUsers

func (m *TLChannelAdminRights) SetBanUsers(v bool)

func (*TLChannelAdminRights) SetChangeInfo

func (m *TLChannelAdminRights) SetChangeInfo(v bool)

func (*TLChannelAdminRights) SetDeleteMessages

func (m *TLChannelAdminRights) SetDeleteMessages(v bool)

func (*TLChannelAdminRights) SetEditMessages

func (m *TLChannelAdminRights) SetEditMessages(v bool)
func (m *TLChannelAdminRights) SetInviteLink(v bool)

func (*TLChannelAdminRights) SetInviteUsers

func (m *TLChannelAdminRights) SetInviteUsers(v bool)

func (*TLChannelAdminRights) SetManageCall

func (m *TLChannelAdminRights) SetManageCall(v bool)

Layer74

func (*TLChannelAdminRights) SetPinMessages

func (m *TLChannelAdminRights) SetPinMessages(v bool)

func (*TLChannelAdminRights) SetPostMessages

func (m *TLChannelAdminRights) SetPostMessages(v bool)

func (*TLChannelAdminRights) String

func (m *TLChannelAdminRights) String() string

func (*TLChannelAdminRights) To_ChannelAdminRights

func (m *TLChannelAdminRights) To_ChannelAdminRights() *ChannelAdminRights

channelAdminRights#5d7ceba5 flags:# change_info:flags.0?true post_messages:flags.1?true edit_messages:flags.2?true delete_messages:flags.3?true ban_users:flags.4?true invite_users:flags.5?true invite_link:flags.6?true pin_messages:flags.7?true add_admins:flags.9?true = ChannelAdminRights;

type TLChannelBannedRights

type TLChannelBannedRights struct {
	Data2 *ChannelBannedRights_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights;

func NewTLChannelBannedRights

func NewTLChannelBannedRights() *TLChannelBannedRights

func (*TLChannelBannedRights) Decode

func (m *TLChannelBannedRights) Decode(dbuf *DecodeBuf) error

func (*TLChannelBannedRights) Descriptor

func (*TLChannelBannedRights) Descriptor() ([]byte, []int)

func (*TLChannelBannedRights) Encode

func (m *TLChannelBannedRights) Encode() []byte

func (*TLChannelBannedRights) GetData2

func (m *TLChannelBannedRights) GetEmbedLinks() bool

func (*TLChannelBannedRights) GetSendGames

func (m *TLChannelBannedRights) GetSendGames() bool

func (*TLChannelBannedRights) GetSendGifs

func (m *TLChannelBannedRights) GetSendGifs() bool

func (*TLChannelBannedRights) GetSendInline

func (m *TLChannelBannedRights) GetSendInline() bool

func (*TLChannelBannedRights) GetSendMedia

func (m *TLChannelBannedRights) GetSendMedia() bool

func (*TLChannelBannedRights) GetSendMessages

func (m *TLChannelBannedRights) GetSendMessages() bool

func (*TLChannelBannedRights) GetSendStickers

func (m *TLChannelBannedRights) GetSendStickers() bool

func (*TLChannelBannedRights) GetUntilDate

func (m *TLChannelBannedRights) GetUntilDate() int32

func (*TLChannelBannedRights) GetViewMessages

func (m *TLChannelBannedRights) GetViewMessages() bool

func (*TLChannelBannedRights) ProtoMessage

func (*TLChannelBannedRights) ProtoMessage()

func (*TLChannelBannedRights) Reset

func (m *TLChannelBannedRights) Reset()
func (m *TLChannelBannedRights) SetEmbedLinks(v bool)

func (*TLChannelBannedRights) SetSendGames

func (m *TLChannelBannedRights) SetSendGames(v bool)

func (*TLChannelBannedRights) SetSendGifs

func (m *TLChannelBannedRights) SetSendGifs(v bool)

func (*TLChannelBannedRights) SetSendInline

func (m *TLChannelBannedRights) SetSendInline(v bool)

func (*TLChannelBannedRights) SetSendMedia

func (m *TLChannelBannedRights) SetSendMedia(v bool)

func (*TLChannelBannedRights) SetSendMessages

func (m *TLChannelBannedRights) SetSendMessages(v bool)

func (*TLChannelBannedRights) SetSendStickers

func (m *TLChannelBannedRights) SetSendStickers(v bool)

func (*TLChannelBannedRights) SetUntilDate

func (m *TLChannelBannedRights) SetUntilDate(v int32)

func (*TLChannelBannedRights) SetViewMessages

func (m *TLChannelBannedRights) SetViewMessages(v bool)

func (*TLChannelBannedRights) String

func (m *TLChannelBannedRights) String() string

func (*TLChannelBannedRights) To_ChannelBannedRights

func (m *TLChannelBannedRights) To_ChannelBannedRights() *ChannelBannedRights

channelBannedRights#58cf4249 flags:# view_messages:flags.0?true send_messages:flags.1?true send_media:flags.2?true send_stickers:flags.3?true send_gifs:flags.4?true send_games:flags.5?true send_inline:flags.6?true embed_links:flags.7?true until_date:int = ChannelBannedRights;

type TLChannelForbidden

type TLChannelForbidden struct {
	Data2 *Chat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;

func NewTLChannelForbidden

func NewTLChannelForbidden() *TLChannelForbidden

func (*TLChannelForbidden) Decode

func (m *TLChannelForbidden) Decode(dbuf *DecodeBuf) error

func (*TLChannelForbidden) Descriptor

func (*TLChannelForbidden) Descriptor() ([]byte, []int)

func (*TLChannelForbidden) Encode

func (m *TLChannelForbidden) Encode() []byte

func (*TLChannelForbidden) GetAccessHash

func (m *TLChannelForbidden) GetAccessHash() int64

func (*TLChannelForbidden) GetBroadcast

func (m *TLChannelForbidden) GetBroadcast() bool

func (*TLChannelForbidden) GetData2

func (m *TLChannelForbidden) GetData2() *Chat_Data

func (*TLChannelForbidden) GetId

func (m *TLChannelForbidden) GetId() int32

func (*TLChannelForbidden) GetMegagroup

func (m *TLChannelForbidden) GetMegagroup() bool

func (*TLChannelForbidden) GetTitle

func (m *TLChannelForbidden) GetTitle() string

func (*TLChannelForbidden) GetUntilDate

func (m *TLChannelForbidden) GetUntilDate() int32

func (*TLChannelForbidden) ProtoMessage

func (*TLChannelForbidden) ProtoMessage()

func (*TLChannelForbidden) Reset

func (m *TLChannelForbidden) Reset()

func (*TLChannelForbidden) SetAccessHash

func (m *TLChannelForbidden) SetAccessHash(v int64)

func (*TLChannelForbidden) SetBroadcast

func (m *TLChannelForbidden) SetBroadcast(v bool)

func (*TLChannelForbidden) SetId

func (m *TLChannelForbidden) SetId(v int32)

func (*TLChannelForbidden) SetMegagroup

func (m *TLChannelForbidden) SetMegagroup(v bool)

func (*TLChannelForbidden) SetTitle

func (m *TLChannelForbidden) SetTitle(v string)

func (*TLChannelForbidden) SetUntilDate

func (m *TLChannelForbidden) SetUntilDate(v int32)

func (*TLChannelForbidden) String

func (m *TLChannelForbidden) String() string

func (*TLChannelForbidden) To_Chat

func (m *TLChannelForbidden) To_Chat() *Chat

channelForbidden#289da732 flags:# broadcast:flags.5?true megagroup:flags.8?true id:int access_hash:long title:string until_date:flags.16?int = Chat;

type TLChannelFull

type TLChannelFull struct {
	Data2 *ChatFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?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> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull;

func NewTLChannelFull

func NewTLChannelFull() *TLChannelFull

func (*TLChannelFull) Decode

func (m *TLChannelFull) Decode(dbuf *DecodeBuf) error

func (*TLChannelFull) Descriptor

func (*TLChannelFull) Descriptor() ([]byte, []int)

func (*TLChannelFull) Encode

func (m *TLChannelFull) Encode() []byte

func (*TLChannelFull) GetAbout

func (m *TLChannelFull) GetAbout() string

func (*TLChannelFull) GetAdminsCount

func (m *TLChannelFull) GetAdminsCount() int32

func (*TLChannelFull) GetAvailableMinId

func (m *TLChannelFull) GetAvailableMinId() int32

func (*TLChannelFull) GetBannedCount

func (m *TLChannelFull) GetBannedCount() int32

func (*TLChannelFull) GetBotInfo

func (m *TLChannelFull) GetBotInfo() []*BotInfo

func (*TLChannelFull) GetCanSetStickers

func (m *TLChannelFull) GetCanSetStickers() bool

func (*TLChannelFull) GetCanSetUsername

func (m *TLChannelFull) GetCanSetUsername() bool

func (*TLChannelFull) GetCanViewParticipants

func (m *TLChannelFull) GetCanViewParticipants() bool

func (*TLChannelFull) GetChatPhoto

func (m *TLChannelFull) GetChatPhoto() *Photo

func (*TLChannelFull) GetData2

func (m *TLChannelFull) GetData2() *ChatFull_Data

func (*TLChannelFull) GetExportedInvite

func (m *TLChannelFull) GetExportedInvite() *ExportedChatInvite

func (*TLChannelFull) GetHiddenPrehistory

func (m *TLChannelFull) GetHiddenPrehistory() bool

func (*TLChannelFull) GetId

func (m *TLChannelFull) GetId() int32

func (*TLChannelFull) GetKickedCount

func (m *TLChannelFull) GetKickedCount() int32

func (*TLChannelFull) GetMigratedFromChatId

func (m *TLChannelFull) GetMigratedFromChatId() int32

func (*TLChannelFull) GetMigratedFromMaxId

func (m *TLChannelFull) GetMigratedFromMaxId() int32

func (*TLChannelFull) GetNotifySettings

func (m *TLChannelFull) GetNotifySettings() *PeerNotifySettings

func (*TLChannelFull) GetParticipantsCount

func (m *TLChannelFull) GetParticipantsCount() int32

func (*TLChannelFull) GetPinnedMsgId

func (m *TLChannelFull) GetPinnedMsgId() int32

func (*TLChannelFull) GetReadInboxMaxId

func (m *TLChannelFull) GetReadInboxMaxId() int32

func (*TLChannelFull) GetReadOutboxMaxId

func (m *TLChannelFull) GetReadOutboxMaxId() int32

func (*TLChannelFull) GetStickerset

func (m *TLChannelFull) GetStickerset() *StickerSet

func (*TLChannelFull) GetUnreadCount

func (m *TLChannelFull) GetUnreadCount() int32

func (*TLChannelFull) ProtoMessage

func (*TLChannelFull) ProtoMessage()

func (*TLChannelFull) Reset

func (m *TLChannelFull) Reset()

func (*TLChannelFull) SetAbout

func (m *TLChannelFull) SetAbout(v string)

func (*TLChannelFull) SetAdminsCount

func (m *TLChannelFull) SetAdminsCount(v int32)

func (*TLChannelFull) SetAvailableMinId

func (m *TLChannelFull) SetAvailableMinId(v int32)

func (*TLChannelFull) SetBannedCount

func (m *TLChannelFull) SetBannedCount(v int32)

func (*TLChannelFull) SetBotInfo

func (m *TLChannelFull) SetBotInfo(v []*BotInfo)

func (*TLChannelFull) SetCanSetStickers

func (m *TLChannelFull) SetCanSetStickers(v bool)

func (*TLChannelFull) SetCanSetUsername

func (m *TLChannelFull) SetCanSetUsername(v bool)

func (*TLChannelFull) SetCanViewParticipants

func (m *TLChannelFull) SetCanViewParticipants(v bool)

func (*TLChannelFull) SetChatPhoto

func (m *TLChannelFull) SetChatPhoto(v *Photo)

func (*TLChannelFull) SetExportedInvite

func (m *TLChannelFull) SetExportedInvite(v *ExportedChatInvite)

func (*TLChannelFull) SetHiddenPrehistory

func (m *TLChannelFull) SetHiddenPrehistory(v bool)

func (*TLChannelFull) SetId

func (m *TLChannelFull) SetId(v int32)

func (*TLChannelFull) SetKickedCount

func (m *TLChannelFull) SetKickedCount(v int32)

func (*TLChannelFull) SetMigratedFromChatId

func (m *TLChannelFull) SetMigratedFromChatId(v int32)

func (*TLChannelFull) SetMigratedFromMaxId

func (m *TLChannelFull) SetMigratedFromMaxId(v int32)

func (*TLChannelFull) SetNotifySettings

func (m *TLChannelFull) SetNotifySettings(v *PeerNotifySettings)

func (*TLChannelFull) SetParticipantsCount

func (m *TLChannelFull) SetParticipantsCount(v int32)

func (*TLChannelFull) SetPinnedMsgId

func (m *TLChannelFull) SetPinnedMsgId(v int32)

func (*TLChannelFull) SetReadInboxMaxId

func (m *TLChannelFull) SetReadInboxMaxId(v int32)

func (*TLChannelFull) SetReadOutboxMaxId

func (m *TLChannelFull) SetReadOutboxMaxId(v int32)

func (*TLChannelFull) SetStickerset

func (m *TLChannelFull) SetStickerset(v *StickerSet)

func (*TLChannelFull) SetUnreadCount

func (m *TLChannelFull) SetUnreadCount(v int32)

func (*TLChannelFull) String

func (m *TLChannelFull) String() string

func (*TLChannelFull) To_ChatFull

func (m *TLChannelFull) To_ChatFull() *ChatFull

channelFull#76af5481 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?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> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int = ChatFull;

type TLChannelMessagesFilter

type TLChannelMessagesFilter struct {
	Data2 *ChannelMessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;

func NewTLChannelMessagesFilter

func NewTLChannelMessagesFilter() *TLChannelMessagesFilter

func (*TLChannelMessagesFilter) Decode

func (m *TLChannelMessagesFilter) Decode(dbuf *DecodeBuf) error

func (*TLChannelMessagesFilter) Descriptor

func (*TLChannelMessagesFilter) Descriptor() ([]byte, []int)

func (*TLChannelMessagesFilter) Encode

func (m *TLChannelMessagesFilter) Encode() []byte

func (*TLChannelMessagesFilter) GetData2

func (*TLChannelMessagesFilter) GetExcludeNewMessages

func (m *TLChannelMessagesFilter) GetExcludeNewMessages() bool

func (*TLChannelMessagesFilter) GetRanges

func (m *TLChannelMessagesFilter) GetRanges() []*MessageRange

func (*TLChannelMessagesFilter) ProtoMessage

func (*TLChannelMessagesFilter) ProtoMessage()

func (*TLChannelMessagesFilter) Reset

func (m *TLChannelMessagesFilter) Reset()

func (*TLChannelMessagesFilter) SetExcludeNewMessages

func (m *TLChannelMessagesFilter) SetExcludeNewMessages(v bool)

func (*TLChannelMessagesFilter) SetRanges

func (m *TLChannelMessagesFilter) SetRanges(v []*MessageRange)

func (*TLChannelMessagesFilter) String

func (m *TLChannelMessagesFilter) String() string

func (*TLChannelMessagesFilter) To_ChannelMessagesFilter

func (m *TLChannelMessagesFilter) To_ChannelMessagesFilter() *ChannelMessagesFilter

channelMessagesFilter#cd77d957 flags:# exclude_new_messages:flags.1?true ranges:Vector<MessageRange> = ChannelMessagesFilter;

type TLChannelMessagesFilterEmpty

type TLChannelMessagesFilterEmpty struct {
	Data2 *ChannelMessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;

func NewTLChannelMessagesFilterEmpty

func NewTLChannelMessagesFilterEmpty() *TLChannelMessagesFilterEmpty

func (*TLChannelMessagesFilterEmpty) Decode

func (m *TLChannelMessagesFilterEmpty) Decode(dbuf *DecodeBuf) error

func (*TLChannelMessagesFilterEmpty) Descriptor

func (*TLChannelMessagesFilterEmpty) Descriptor() ([]byte, []int)

func (*TLChannelMessagesFilterEmpty) Encode

func (m *TLChannelMessagesFilterEmpty) Encode() []byte

func (*TLChannelMessagesFilterEmpty) GetData2

func (*TLChannelMessagesFilterEmpty) ProtoMessage

func (*TLChannelMessagesFilterEmpty) ProtoMessage()

func (*TLChannelMessagesFilterEmpty) Reset

func (m *TLChannelMessagesFilterEmpty) Reset()

func (*TLChannelMessagesFilterEmpty) String

func (*TLChannelMessagesFilterEmpty) To_ChannelMessagesFilter

func (m *TLChannelMessagesFilterEmpty) To_ChannelMessagesFilter() *ChannelMessagesFilter

channelMessagesFilterEmpty#94d42ee7 = ChannelMessagesFilter;

type TLChannelParticipant

type TLChannelParticipant struct {
	Data2 *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;

func NewTLChannelParticipant

func NewTLChannelParticipant() *TLChannelParticipant

func (*TLChannelParticipant) Decode

func (m *TLChannelParticipant) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipant) Descriptor

func (*TLChannelParticipant) Descriptor() ([]byte, []int)

func (*TLChannelParticipant) Encode

func (m *TLChannelParticipant) Encode() []byte

func (*TLChannelParticipant) GetData2

func (*TLChannelParticipant) GetDate

func (m *TLChannelParticipant) GetDate() int32

func (*TLChannelParticipant) GetUserId

func (m *TLChannelParticipant) GetUserId() int32

func (*TLChannelParticipant) ProtoMessage

func (*TLChannelParticipant) ProtoMessage()

func (*TLChannelParticipant) Reset

func (m *TLChannelParticipant) Reset()

func (*TLChannelParticipant) SetDate

func (m *TLChannelParticipant) SetDate(v int32)

func (*TLChannelParticipant) SetUserId

func (m *TLChannelParticipant) SetUserId(v int32)

func (*TLChannelParticipant) String

func (m *TLChannelParticipant) String() string

func (*TLChannelParticipant) To_ChannelParticipant

func (m *TLChannelParticipant) To_ChannelParticipant() *ChannelParticipant

channelParticipant#15ebac1d user_id:int date:int = ChannelParticipant;

type TLChannelParticipantAdmin

type TLChannelParticipantAdmin struct {
	Data2 *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant;

func NewTLChannelParticipantAdmin

func NewTLChannelParticipantAdmin() *TLChannelParticipantAdmin

func (*TLChannelParticipantAdmin) Decode

func (m *TLChannelParticipantAdmin) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantAdmin) Descriptor

func (*TLChannelParticipantAdmin) Descriptor() ([]byte, []int)

func (*TLChannelParticipantAdmin) Encode

func (m *TLChannelParticipantAdmin) Encode() []byte

func (*TLChannelParticipantAdmin) GetAdminRights

func (m *TLChannelParticipantAdmin) GetAdminRights() *ChannelAdminRights

func (*TLChannelParticipantAdmin) GetCanEdit

func (m *TLChannelParticipantAdmin) GetCanEdit() bool

func (*TLChannelParticipantAdmin) GetData2

func (*TLChannelParticipantAdmin) GetDate

func (m *TLChannelParticipantAdmin) GetDate() int32

func (*TLChannelParticipantAdmin) GetInviterId

func (m *TLChannelParticipantAdmin) GetInviterId() int32

func (*TLChannelParticipantAdmin) GetPromotedBy

func (m *TLChannelParticipantAdmin) GetPromotedBy() int32

func (*TLChannelParticipantAdmin) GetUserId

func (m *TLChannelParticipantAdmin) GetUserId() int32

func (*TLChannelParticipantAdmin) ProtoMessage

func (*TLChannelParticipantAdmin) ProtoMessage()

func (*TLChannelParticipantAdmin) Reset

func (m *TLChannelParticipantAdmin) Reset()

func (*TLChannelParticipantAdmin) SetAdminRights

func (m *TLChannelParticipantAdmin) SetAdminRights(v *ChannelAdminRights)

func (*TLChannelParticipantAdmin) SetCanEdit

func (m *TLChannelParticipantAdmin) SetCanEdit(v bool)

func (*TLChannelParticipantAdmin) SetDate

func (m *TLChannelParticipantAdmin) SetDate(v int32)

func (*TLChannelParticipantAdmin) SetInviterId

func (m *TLChannelParticipantAdmin) SetInviterId(v int32)

func (*TLChannelParticipantAdmin) SetPromotedBy

func (m *TLChannelParticipantAdmin) SetPromotedBy(v int32)

func (*TLChannelParticipantAdmin) SetUserId

func (m *TLChannelParticipantAdmin) SetUserId(v int32)

func (*TLChannelParticipantAdmin) String

func (m *TLChannelParticipantAdmin) String() string

func (*TLChannelParticipantAdmin) To_ChannelParticipant

func (m *TLChannelParticipantAdmin) To_ChannelParticipant() *ChannelParticipant

channelParticipantAdmin#a82fa898 flags:# can_edit:flags.0?true user_id:int inviter_id:int promoted_by:int date:int admin_rights:ChannelAdminRights = ChannelParticipant;

type TLChannelParticipantBanned

type TLChannelParticipantBanned struct {
	Data2 *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant;

func NewTLChannelParticipantBanned

func NewTLChannelParticipantBanned() *TLChannelParticipantBanned

func (*TLChannelParticipantBanned) Decode

func (m *TLChannelParticipantBanned) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantBanned) Descriptor

func (*TLChannelParticipantBanned) Descriptor() ([]byte, []int)

func (*TLChannelParticipantBanned) Encode

func (m *TLChannelParticipantBanned) Encode() []byte

func (*TLChannelParticipantBanned) GetBannedRights

func (m *TLChannelParticipantBanned) GetBannedRights() *ChannelBannedRights

func (*TLChannelParticipantBanned) GetData2

func (*TLChannelParticipantBanned) GetDate

func (m *TLChannelParticipantBanned) GetDate() int32

func (*TLChannelParticipantBanned) GetKickedBy

func (m *TLChannelParticipantBanned) GetKickedBy() int32

func (*TLChannelParticipantBanned) GetLeft

func (m *TLChannelParticipantBanned) GetLeft() bool

func (*TLChannelParticipantBanned) GetUserId

func (m *TLChannelParticipantBanned) GetUserId() int32

func (*TLChannelParticipantBanned) ProtoMessage

func (*TLChannelParticipantBanned) ProtoMessage()

func (*TLChannelParticipantBanned) Reset

func (m *TLChannelParticipantBanned) Reset()

func (*TLChannelParticipantBanned) SetBannedRights

func (m *TLChannelParticipantBanned) SetBannedRights(v *ChannelBannedRights)

func (*TLChannelParticipantBanned) SetDate

func (m *TLChannelParticipantBanned) SetDate(v int32)

func (*TLChannelParticipantBanned) SetKickedBy

func (m *TLChannelParticipantBanned) SetKickedBy(v int32)

func (*TLChannelParticipantBanned) SetLeft

func (m *TLChannelParticipantBanned) SetLeft(v bool)

func (*TLChannelParticipantBanned) SetUserId

func (m *TLChannelParticipantBanned) SetUserId(v int32)

func (*TLChannelParticipantBanned) String

func (m *TLChannelParticipantBanned) String() string

func (*TLChannelParticipantBanned) To_ChannelParticipant

func (m *TLChannelParticipantBanned) To_ChannelParticipant() *ChannelParticipant

channelParticipantBanned#222c1886 flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChannelBannedRights = ChannelParticipant;

type TLChannelParticipantCreator

type TLChannelParticipantCreator struct {
	Data2 *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant;

func NewTLChannelParticipantCreator

func NewTLChannelParticipantCreator() *TLChannelParticipantCreator

func (*TLChannelParticipantCreator) Decode

func (m *TLChannelParticipantCreator) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantCreator) Descriptor

func (*TLChannelParticipantCreator) Descriptor() ([]byte, []int)

func (*TLChannelParticipantCreator) Encode

func (m *TLChannelParticipantCreator) Encode() []byte

func (*TLChannelParticipantCreator) GetData2

func (*TLChannelParticipantCreator) GetUserId

func (m *TLChannelParticipantCreator) GetUserId() int32

func (*TLChannelParticipantCreator) ProtoMessage

func (*TLChannelParticipantCreator) ProtoMessage()

func (*TLChannelParticipantCreator) Reset

func (m *TLChannelParticipantCreator) Reset()

func (*TLChannelParticipantCreator) SetUserId

func (m *TLChannelParticipantCreator) SetUserId(v int32)

func (*TLChannelParticipantCreator) String

func (m *TLChannelParticipantCreator) String() string

func (*TLChannelParticipantCreator) To_ChannelParticipant

func (m *TLChannelParticipantCreator) To_ChannelParticipant() *ChannelParticipant

channelParticipantCreator#e3e2e1f9 user_id:int = ChannelParticipant;

type TLChannelParticipantSelf

type TLChannelParticipantSelf struct {
	Data2 *ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;

func NewTLChannelParticipantSelf

func NewTLChannelParticipantSelf() *TLChannelParticipantSelf

func (*TLChannelParticipantSelf) Decode

func (m *TLChannelParticipantSelf) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantSelf) Descriptor

func (*TLChannelParticipantSelf) Descriptor() ([]byte, []int)

func (*TLChannelParticipantSelf) Encode

func (m *TLChannelParticipantSelf) Encode() []byte

func (*TLChannelParticipantSelf) GetData2

func (*TLChannelParticipantSelf) GetDate

func (m *TLChannelParticipantSelf) GetDate() int32

func (*TLChannelParticipantSelf) GetInviterId

func (m *TLChannelParticipantSelf) GetInviterId() int32

func (*TLChannelParticipantSelf) GetUserId

func (m *TLChannelParticipantSelf) GetUserId() int32

func (*TLChannelParticipantSelf) ProtoMessage

func (*TLChannelParticipantSelf) ProtoMessage()

func (*TLChannelParticipantSelf) Reset

func (m *TLChannelParticipantSelf) Reset()

func (*TLChannelParticipantSelf) SetDate

func (m *TLChannelParticipantSelf) SetDate(v int32)

func (*TLChannelParticipantSelf) SetInviterId

func (m *TLChannelParticipantSelf) SetInviterId(v int32)

func (*TLChannelParticipantSelf) SetUserId

func (m *TLChannelParticipantSelf) SetUserId(v int32)

func (*TLChannelParticipantSelf) String

func (m *TLChannelParticipantSelf) String() string

func (*TLChannelParticipantSelf) To_ChannelParticipant

func (m *TLChannelParticipantSelf) To_ChannelParticipant() *ChannelParticipant

channelParticipantSelf#a3289a6d user_id:int inviter_id:int date:int = ChannelParticipant;

type TLChannelParticipantsAdmins

type TLChannelParticipantsAdmins struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;

func NewTLChannelParticipantsAdmins

func NewTLChannelParticipantsAdmins() *TLChannelParticipantsAdmins

func (*TLChannelParticipantsAdmins) Decode

func (m *TLChannelParticipantsAdmins) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsAdmins) Descriptor

func (*TLChannelParticipantsAdmins) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsAdmins) Encode

func (m *TLChannelParticipantsAdmins) Encode() []byte

func (*TLChannelParticipantsAdmins) GetData2

func (*TLChannelParticipantsAdmins) ProtoMessage

func (*TLChannelParticipantsAdmins) ProtoMessage()

func (*TLChannelParticipantsAdmins) Reset

func (m *TLChannelParticipantsAdmins) Reset()

func (*TLChannelParticipantsAdmins) String

func (m *TLChannelParticipantsAdmins) String() string

func (*TLChannelParticipantsAdmins) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsAdmins) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsAdmins#b4608969 = ChannelParticipantsFilter;

type TLChannelParticipantsBanned

type TLChannelParticipantsBanned struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter;

func NewTLChannelParticipantsBanned

func NewTLChannelParticipantsBanned() *TLChannelParticipantsBanned

func (*TLChannelParticipantsBanned) Decode

func (m *TLChannelParticipantsBanned) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsBanned) Descriptor

func (*TLChannelParticipantsBanned) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsBanned) Encode

func (m *TLChannelParticipantsBanned) Encode() []byte

func (*TLChannelParticipantsBanned) GetData2

func (*TLChannelParticipantsBanned) GetQ

func (*TLChannelParticipantsBanned) ProtoMessage

func (*TLChannelParticipantsBanned) ProtoMessage()

func (*TLChannelParticipantsBanned) Reset

func (m *TLChannelParticipantsBanned) Reset()

func (*TLChannelParticipantsBanned) SetQ

func (*TLChannelParticipantsBanned) String

func (m *TLChannelParticipantsBanned) String() string

func (*TLChannelParticipantsBanned) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsBanned) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsBanned#1427a5e1 q:string = ChannelParticipantsFilter;

type TLChannelParticipantsBots

type TLChannelParticipantsBots struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;

func NewTLChannelParticipantsBots

func NewTLChannelParticipantsBots() *TLChannelParticipantsBots

func (*TLChannelParticipantsBots) Decode

func (m *TLChannelParticipantsBots) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsBots) Descriptor

func (*TLChannelParticipantsBots) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsBots) Encode

func (m *TLChannelParticipantsBots) Encode() []byte

func (*TLChannelParticipantsBots) GetData2

func (*TLChannelParticipantsBots) ProtoMessage

func (*TLChannelParticipantsBots) ProtoMessage()

func (*TLChannelParticipantsBots) Reset

func (m *TLChannelParticipantsBots) Reset()

func (*TLChannelParticipantsBots) String

func (m *TLChannelParticipantsBots) String() string

func (*TLChannelParticipantsBots) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsBots) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsBots#b0d1865b = ChannelParticipantsFilter;

type TLChannelParticipantsKicked

type TLChannelParticipantsKicked struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter;

func NewTLChannelParticipantsKicked

func NewTLChannelParticipantsKicked() *TLChannelParticipantsKicked

func (*TLChannelParticipantsKicked) Decode

func (m *TLChannelParticipantsKicked) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsKicked) Descriptor

func (*TLChannelParticipantsKicked) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsKicked) Encode

func (m *TLChannelParticipantsKicked) Encode() []byte

func (*TLChannelParticipantsKicked) GetData2

func (*TLChannelParticipantsKicked) GetQ

func (*TLChannelParticipantsKicked) ProtoMessage

func (*TLChannelParticipantsKicked) ProtoMessage()

func (*TLChannelParticipantsKicked) Reset

func (m *TLChannelParticipantsKicked) Reset()

func (*TLChannelParticipantsKicked) SetQ

func (*TLChannelParticipantsKicked) String

func (m *TLChannelParticipantsKicked) String() string

func (*TLChannelParticipantsKicked) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsKicked) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsKicked#a3b54985 q:string = ChannelParticipantsFilter;

type TLChannelParticipantsRecent

type TLChannelParticipantsRecent struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;

func NewTLChannelParticipantsRecent

func NewTLChannelParticipantsRecent() *TLChannelParticipantsRecent

func (*TLChannelParticipantsRecent) Decode

func (m *TLChannelParticipantsRecent) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsRecent) Descriptor

func (*TLChannelParticipantsRecent) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsRecent) Encode

func (m *TLChannelParticipantsRecent) Encode() []byte

func (*TLChannelParticipantsRecent) GetData2

func (*TLChannelParticipantsRecent) ProtoMessage

func (*TLChannelParticipantsRecent) ProtoMessage()

func (*TLChannelParticipantsRecent) Reset

func (m *TLChannelParticipantsRecent) Reset()

func (*TLChannelParticipantsRecent) String

func (m *TLChannelParticipantsRecent) String() string

func (*TLChannelParticipantsRecent) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsRecent) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsRecent#de3f3c79 = ChannelParticipantsFilter;

type TLChannelParticipantsSearch

type TLChannelParticipantsSearch struct {
	Data2 *ChannelParticipantsFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter;

func NewTLChannelParticipantsSearch

func NewTLChannelParticipantsSearch() *TLChannelParticipantsSearch

func (*TLChannelParticipantsSearch) Decode

func (m *TLChannelParticipantsSearch) Decode(dbuf *DecodeBuf) error

func (*TLChannelParticipantsSearch) Descriptor

func (*TLChannelParticipantsSearch) Descriptor() ([]byte, []int)

func (*TLChannelParticipantsSearch) Encode

func (m *TLChannelParticipantsSearch) Encode() []byte

func (*TLChannelParticipantsSearch) GetData2

func (*TLChannelParticipantsSearch) GetQ

func (*TLChannelParticipantsSearch) ProtoMessage

func (*TLChannelParticipantsSearch) ProtoMessage()

func (*TLChannelParticipantsSearch) Reset

func (m *TLChannelParticipantsSearch) Reset()

func (*TLChannelParticipantsSearch) SetQ

func (*TLChannelParticipantsSearch) String

func (m *TLChannelParticipantsSearch) String() string

func (*TLChannelParticipantsSearch) To_ChannelParticipantsFilter

func (m *TLChannelParticipantsSearch) To_ChannelParticipantsFilter() *ChannelParticipantsFilter

channelParticipantsSearch#656ac4b q:string = ChannelParticipantsFilter;

type TLChannelsAdminLogResults

type TLChannelsAdminLogResults struct {
	Data2 *Channels_AdminLogResults_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;

func NewTLChannelsAdminLogResults

func NewTLChannelsAdminLogResults() *TLChannelsAdminLogResults

func (*TLChannelsAdminLogResults) Decode

func (m *TLChannelsAdminLogResults) Decode(dbuf *DecodeBuf) error

func (*TLChannelsAdminLogResults) Descriptor

func (*TLChannelsAdminLogResults) Descriptor() ([]byte, []int)

func (*TLChannelsAdminLogResults) Encode

func (m *TLChannelsAdminLogResults) Encode() []byte

func (*TLChannelsAdminLogResults) GetChats

func (m *TLChannelsAdminLogResults) GetChats() []*Chat

func (*TLChannelsAdminLogResults) GetData2

func (*TLChannelsAdminLogResults) GetEvents

func (*TLChannelsAdminLogResults) GetUsers

func (m *TLChannelsAdminLogResults) GetUsers() []*User

func (*TLChannelsAdminLogResults) ProtoMessage

func (*TLChannelsAdminLogResults) ProtoMessage()

func (*TLChannelsAdminLogResults) Reset

func (m *TLChannelsAdminLogResults) Reset()

func (*TLChannelsAdminLogResults) SetChats

func (m *TLChannelsAdminLogResults) SetChats(v []*Chat)

func (*TLChannelsAdminLogResults) SetEvents

func (*TLChannelsAdminLogResults) SetUsers

func (m *TLChannelsAdminLogResults) SetUsers(v []*User)

func (*TLChannelsAdminLogResults) String

func (m *TLChannelsAdminLogResults) String() string

func (*TLChannelsAdminLogResults) To_Channels_AdminLogResults

func (m *TLChannelsAdminLogResults) To_Channels_AdminLogResults() *Channels_AdminLogResults

channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;

type TLChannelsChannelParticipant

type TLChannelsChannelParticipant struct {
	Data2 *Channels_ChannelParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant;

func NewTLChannelsChannelParticipant

func NewTLChannelsChannelParticipant() *TLChannelsChannelParticipant

func (*TLChannelsChannelParticipant) Decode

func (m *TLChannelsChannelParticipant) Decode(dbuf *DecodeBuf) error

func (*TLChannelsChannelParticipant) Descriptor

func (*TLChannelsChannelParticipant) Descriptor() ([]byte, []int)

func (*TLChannelsChannelParticipant) Encode

func (m *TLChannelsChannelParticipant) Encode() []byte

func (*TLChannelsChannelParticipant) GetData2

func (*TLChannelsChannelParticipant) GetParticipant

func (m *TLChannelsChannelParticipant) GetParticipant() *ChannelParticipant

func (*TLChannelsChannelParticipant) GetUsers

func (m *TLChannelsChannelParticipant) GetUsers() []*User

func (*TLChannelsChannelParticipant) ProtoMessage

func (*TLChannelsChannelParticipant) ProtoMessage()

func (*TLChannelsChannelParticipant) Reset

func (m *TLChannelsChannelParticipant) Reset()

func (*TLChannelsChannelParticipant) SetParticipant

func (m *TLChannelsChannelParticipant) SetParticipant(v *ChannelParticipant)

func (*TLChannelsChannelParticipant) SetUsers

func (m *TLChannelsChannelParticipant) SetUsers(v []*User)

func (*TLChannelsChannelParticipant) String

func (*TLChannelsChannelParticipant) To_Channels_ChannelParticipant

func (m *TLChannelsChannelParticipant) To_Channels_ChannelParticipant() *Channels_ChannelParticipant

channels.channelParticipant#d0d9b163 participant:ChannelParticipant users:Vector<User> = channels.ChannelParticipant;

type TLChannelsChannelParticipants

type TLChannelsChannelParticipants struct {
	Data2 *Channels_ChannelParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants;

func NewTLChannelsChannelParticipants

func NewTLChannelsChannelParticipants() *TLChannelsChannelParticipants

func (*TLChannelsChannelParticipants) Decode

func (*TLChannelsChannelParticipants) Descriptor

func (*TLChannelsChannelParticipants) Descriptor() ([]byte, []int)

func (*TLChannelsChannelParticipants) Encode

func (m *TLChannelsChannelParticipants) Encode() []byte

func (*TLChannelsChannelParticipants) GetCount

func (m *TLChannelsChannelParticipants) GetCount() int32

func (*TLChannelsChannelParticipants) GetData2

func (*TLChannelsChannelParticipants) GetParticipants

func (m *TLChannelsChannelParticipants) GetParticipants() []*ChannelParticipant

func (*TLChannelsChannelParticipants) GetUsers

func (m *TLChannelsChannelParticipants) GetUsers() []*User

func (*TLChannelsChannelParticipants) ProtoMessage

func (*TLChannelsChannelParticipants) ProtoMessage()

func (*TLChannelsChannelParticipants) Reset

func (m *TLChannelsChannelParticipants) Reset()

func (*TLChannelsChannelParticipants) SetCount

func (m *TLChannelsChannelParticipants) SetCount(v int32)

func (*TLChannelsChannelParticipants) SetParticipants

func (m *TLChannelsChannelParticipants) SetParticipants(v []*ChannelParticipant)

func (*TLChannelsChannelParticipants) SetUsers

func (m *TLChannelsChannelParticipants) SetUsers(v []*User)

func (*TLChannelsChannelParticipants) String

func (*TLChannelsChannelParticipants) To_Channels_ChannelParticipants

func (m *TLChannelsChannelParticipants) To_Channels_ChannelParticipants() *Channels_ChannelParticipants

channels.channelParticipants#f56ee2a8 count:int participants:Vector<ChannelParticipant> users:Vector<User> = channels.ChannelParticipants;

type TLChannelsChannelParticipantsNotModified

type TLChannelsChannelParticipantsNotModified struct {
	Data2 *Channels_ChannelParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants;

func NewTLChannelsChannelParticipantsNotModified

func NewTLChannelsChannelParticipantsNotModified() *TLChannelsChannelParticipantsNotModified

func (*TLChannelsChannelParticipantsNotModified) Decode

func (*TLChannelsChannelParticipantsNotModified) Descriptor

func (*TLChannelsChannelParticipantsNotModified) Descriptor() ([]byte, []int)

func (*TLChannelsChannelParticipantsNotModified) Encode

func (*TLChannelsChannelParticipantsNotModified) GetData2

func (*TLChannelsChannelParticipantsNotModified) ProtoMessage

func (*TLChannelsChannelParticipantsNotModified) Reset

func (*TLChannelsChannelParticipantsNotModified) String

func (*TLChannelsChannelParticipantsNotModified) To_Channels_ChannelParticipants

func (m *TLChannelsChannelParticipantsNotModified) To_Channels_ChannelParticipants() *Channels_ChannelParticipants

channels.channelParticipantsNotModified#f0173fe9 = channels.ChannelParticipants;

type TLChannelsCheckUsername

type TLChannelsCheckUsername struct {
	Channel  *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Username string        `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.checkUsername#10e6bd2c channel:InputChannel username:string = Bool;

func NewTLChannelsCheckUsername

func NewTLChannelsCheckUsername() *TLChannelsCheckUsername

func (*TLChannelsCheckUsername) Decode

func (m *TLChannelsCheckUsername) Decode(dbuf *DecodeBuf) error

func (*TLChannelsCheckUsername) Descriptor

func (*TLChannelsCheckUsername) Descriptor() ([]byte, []int)

func (*TLChannelsCheckUsername) Encode

func (m *TLChannelsCheckUsername) Encode() []byte

func (*TLChannelsCheckUsername) GetChannel

func (m *TLChannelsCheckUsername) GetChannel() *InputChannel

func (*TLChannelsCheckUsername) GetUsername

func (m *TLChannelsCheckUsername) GetUsername() string

func (*TLChannelsCheckUsername) ProtoMessage

func (*TLChannelsCheckUsername) ProtoMessage()

func (*TLChannelsCheckUsername) Reset

func (m *TLChannelsCheckUsername) Reset()

func (*TLChannelsCheckUsername) String

func (m *TLChannelsCheckUsername) String() string

type TLChannelsCreateChannel

type TLChannelsCreateChannel struct {
	Broadcast bool   `protobuf:"varint,2,opt,name=broadcast" json:"broadcast,omitempty"`
	Megagroup bool   `protobuf:"varint,3,opt,name=megagroup" json:"megagroup,omitempty"`
	Title     string `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	About     string `protobuf:"bytes,5,opt,name=about" json:"about,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.createChannel#f4893d7f flags:# broadcast:flags.0?true megagroup:flags.1?true title:string about:string = Updates;

func NewTLChannelsCreateChannel

func NewTLChannelsCreateChannel() *TLChannelsCreateChannel

func (*TLChannelsCreateChannel) Decode

func (m *TLChannelsCreateChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsCreateChannel) Descriptor

func (*TLChannelsCreateChannel) Descriptor() ([]byte, []int)

func (*TLChannelsCreateChannel) Encode

func (m *TLChannelsCreateChannel) Encode() []byte

func (*TLChannelsCreateChannel) GetAbout

func (m *TLChannelsCreateChannel) GetAbout() string

func (*TLChannelsCreateChannel) GetBroadcast

func (m *TLChannelsCreateChannel) GetBroadcast() bool

func (*TLChannelsCreateChannel) GetMegagroup

func (m *TLChannelsCreateChannel) GetMegagroup() bool

func (*TLChannelsCreateChannel) GetTitle

func (m *TLChannelsCreateChannel) GetTitle() string

func (*TLChannelsCreateChannel) ProtoMessage

func (*TLChannelsCreateChannel) ProtoMessage()

func (*TLChannelsCreateChannel) Reset

func (m *TLChannelsCreateChannel) Reset()

func (*TLChannelsCreateChannel) String

func (m *TLChannelsCreateChannel) String() string

type TLChannelsDeleteChannel

type TLChannelsDeleteChannel struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.deleteChannel#c0111fe3 channel:InputChannel = Updates;

func NewTLChannelsDeleteChannel

func NewTLChannelsDeleteChannel() *TLChannelsDeleteChannel

func (*TLChannelsDeleteChannel) Decode

func (m *TLChannelsDeleteChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsDeleteChannel) Descriptor

func (*TLChannelsDeleteChannel) Descriptor() ([]byte, []int)

func (*TLChannelsDeleteChannel) Encode

func (m *TLChannelsDeleteChannel) Encode() []byte

func (*TLChannelsDeleteChannel) GetChannel

func (m *TLChannelsDeleteChannel) GetChannel() *InputChannel

func (*TLChannelsDeleteChannel) ProtoMessage

func (*TLChannelsDeleteChannel) ProtoMessage()

func (*TLChannelsDeleteChannel) Reset

func (m *TLChannelsDeleteChannel) Reset()

func (*TLChannelsDeleteChannel) String

func (m *TLChannelsDeleteChannel) String() string

type TLChannelsDeleteHistory

type TLChannelsDeleteHistory struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	MaxId   int32         `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.deleteHistory#af369d42 channel:InputChannel max_id:int = Bool;

func NewTLChannelsDeleteHistory

func NewTLChannelsDeleteHistory() *TLChannelsDeleteHistory

func (*TLChannelsDeleteHistory) Decode

func (m *TLChannelsDeleteHistory) Decode(dbuf *DecodeBuf) error

func (*TLChannelsDeleteHistory) Descriptor

func (*TLChannelsDeleteHistory) Descriptor() ([]byte, []int)

func (*TLChannelsDeleteHistory) Encode

func (m *TLChannelsDeleteHistory) Encode() []byte

func (*TLChannelsDeleteHistory) GetChannel

func (m *TLChannelsDeleteHistory) GetChannel() *InputChannel

func (*TLChannelsDeleteHistory) GetMaxId

func (m *TLChannelsDeleteHistory) GetMaxId() int32

func (*TLChannelsDeleteHistory) ProtoMessage

func (*TLChannelsDeleteHistory) ProtoMessage()

func (*TLChannelsDeleteHistory) Reset

func (m *TLChannelsDeleteHistory) Reset()

func (*TLChannelsDeleteHistory) String

func (m *TLChannelsDeleteHistory) String() string

type TLChannelsDeleteMessages

type TLChannelsDeleteMessages struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Id      []int32       `protobuf:"varint,2,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.deleteMessages#84c1fd4e channel:InputChannel id:Vector<int> = messages.AffectedMessages;

func NewTLChannelsDeleteMessages

func NewTLChannelsDeleteMessages() *TLChannelsDeleteMessages

func (*TLChannelsDeleteMessages) Decode

func (m *TLChannelsDeleteMessages) Decode(dbuf *DecodeBuf) error

func (*TLChannelsDeleteMessages) Descriptor

func (*TLChannelsDeleteMessages) Descriptor() ([]byte, []int)

func (*TLChannelsDeleteMessages) Encode

func (m *TLChannelsDeleteMessages) Encode() []byte

func (*TLChannelsDeleteMessages) GetChannel

func (m *TLChannelsDeleteMessages) GetChannel() *InputChannel

func (*TLChannelsDeleteMessages) GetId

func (m *TLChannelsDeleteMessages) GetId() []int32

func (*TLChannelsDeleteMessages) ProtoMessage

func (*TLChannelsDeleteMessages) ProtoMessage()

func (*TLChannelsDeleteMessages) Reset

func (m *TLChannelsDeleteMessages) Reset()

func (*TLChannelsDeleteMessages) String

func (m *TLChannelsDeleteMessages) String() string

type TLChannelsDeleteUserHistory

type TLChannelsDeleteUserHistory struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	UserId  *InputUser    `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.deleteUserHistory#d10dd71b channel:InputChannel user_id:InputUser = messages.AffectedHistory;

func NewTLChannelsDeleteUserHistory

func NewTLChannelsDeleteUserHistory() *TLChannelsDeleteUserHistory

func (*TLChannelsDeleteUserHistory) Decode

func (m *TLChannelsDeleteUserHistory) Decode(dbuf *DecodeBuf) error

func (*TLChannelsDeleteUserHistory) Descriptor

func (*TLChannelsDeleteUserHistory) Descriptor() ([]byte, []int)

func (*TLChannelsDeleteUserHistory) Encode

func (m *TLChannelsDeleteUserHistory) Encode() []byte

func (*TLChannelsDeleteUserHistory) GetChannel

func (m *TLChannelsDeleteUserHistory) GetChannel() *InputChannel

func (*TLChannelsDeleteUserHistory) GetUserId

func (m *TLChannelsDeleteUserHistory) GetUserId() *InputUser

func (*TLChannelsDeleteUserHistory) ProtoMessage

func (*TLChannelsDeleteUserHistory) ProtoMessage()

func (*TLChannelsDeleteUserHistory) Reset

func (m *TLChannelsDeleteUserHistory) Reset()

func (*TLChannelsDeleteUserHistory) String

func (m *TLChannelsDeleteUserHistory) String() string

type TLChannelsEditAbout

type TLChannelsEditAbout struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	About   string        `protobuf:"bytes,2,opt,name=about" json:"about,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.editAbout#13e27f1e channel:InputChannel about:string = Bool;

func NewTLChannelsEditAbout

func NewTLChannelsEditAbout() *TLChannelsEditAbout

func (*TLChannelsEditAbout) Decode

func (m *TLChannelsEditAbout) Decode(dbuf *DecodeBuf) error

func (*TLChannelsEditAbout) Descriptor

func (*TLChannelsEditAbout) Descriptor() ([]byte, []int)

func (*TLChannelsEditAbout) Encode

func (m *TLChannelsEditAbout) Encode() []byte

func (*TLChannelsEditAbout) GetAbout

func (m *TLChannelsEditAbout) GetAbout() string

func (*TLChannelsEditAbout) GetChannel

func (m *TLChannelsEditAbout) GetChannel() *InputChannel

func (*TLChannelsEditAbout) ProtoMessage

func (*TLChannelsEditAbout) ProtoMessage()

func (*TLChannelsEditAbout) Reset

func (m *TLChannelsEditAbout) Reset()

func (*TLChannelsEditAbout) String

func (m *TLChannelsEditAbout) String() string

type TLChannelsEditAdmin

type TLChannelsEditAdmin struct {
	Channel     *InputChannel       `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	UserId      *InputUser          `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	AdminRights *ChannelAdminRights `protobuf:"bytes,3,opt,name=admin_rights,json=adminRights" json:"admin_rights,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.editAdmin#20b88214 channel:InputChannel user_id:InputUser admin_rights:ChannelAdminRights = Updates;

func NewTLChannelsEditAdmin

func NewTLChannelsEditAdmin() *TLChannelsEditAdmin

func (*TLChannelsEditAdmin) Decode

func (m *TLChannelsEditAdmin) Decode(dbuf *DecodeBuf) error

func (*TLChannelsEditAdmin) Descriptor

func (*TLChannelsEditAdmin) Descriptor() ([]byte, []int)

func (*TLChannelsEditAdmin) Encode

func (m *TLChannelsEditAdmin) Encode() []byte

func (*TLChannelsEditAdmin) GetAdminRights

func (m *TLChannelsEditAdmin) GetAdminRights() *ChannelAdminRights

func (*TLChannelsEditAdmin) GetChannel

func (m *TLChannelsEditAdmin) GetChannel() *InputChannel

func (*TLChannelsEditAdmin) GetUserId

func (m *TLChannelsEditAdmin) GetUserId() *InputUser

func (*TLChannelsEditAdmin) ProtoMessage

func (*TLChannelsEditAdmin) ProtoMessage()

func (*TLChannelsEditAdmin) Reset

func (m *TLChannelsEditAdmin) Reset()

func (*TLChannelsEditAdmin) String

func (m *TLChannelsEditAdmin) String() string

type TLChannelsEditBanned

type TLChannelsEditBanned struct {
	Channel      *InputChannel        `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	UserId       *InputUser           `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	BannedRights *ChannelBannedRights `protobuf:"bytes,3,opt,name=banned_rights,json=bannedRights" json:"banned_rights,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.editBanned#bfd915cd channel:InputChannel user_id:InputUser banned_rights:ChannelBannedRights = Updates;

func NewTLChannelsEditBanned

func NewTLChannelsEditBanned() *TLChannelsEditBanned

func (*TLChannelsEditBanned) Decode

func (m *TLChannelsEditBanned) Decode(dbuf *DecodeBuf) error

func (*TLChannelsEditBanned) Descriptor

func (*TLChannelsEditBanned) Descriptor() ([]byte, []int)

func (*TLChannelsEditBanned) Encode

func (m *TLChannelsEditBanned) Encode() []byte

func (*TLChannelsEditBanned) GetBannedRights

func (m *TLChannelsEditBanned) GetBannedRights() *ChannelBannedRights

func (*TLChannelsEditBanned) GetChannel

func (m *TLChannelsEditBanned) GetChannel() *InputChannel

func (*TLChannelsEditBanned) GetUserId

func (m *TLChannelsEditBanned) GetUserId() *InputUser

func (*TLChannelsEditBanned) ProtoMessage

func (*TLChannelsEditBanned) ProtoMessage()

func (*TLChannelsEditBanned) Reset

func (m *TLChannelsEditBanned) Reset()

func (*TLChannelsEditBanned) String

func (m *TLChannelsEditBanned) String() string

type TLChannelsEditPhoto

type TLChannelsEditPhoto struct {
	Channel *InputChannel   `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Photo   *InputChatPhoto `protobuf:"bytes,2,opt,name=photo" json:"photo,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.editPhoto#f12e57c9 channel:InputChannel photo:InputChatPhoto = Updates;

func NewTLChannelsEditPhoto

func NewTLChannelsEditPhoto() *TLChannelsEditPhoto

func (*TLChannelsEditPhoto) Decode

func (m *TLChannelsEditPhoto) Decode(dbuf *DecodeBuf) error

func (*TLChannelsEditPhoto) Descriptor

func (*TLChannelsEditPhoto) Descriptor() ([]byte, []int)

func (*TLChannelsEditPhoto) Encode

func (m *TLChannelsEditPhoto) Encode() []byte

func (*TLChannelsEditPhoto) GetChannel

func (m *TLChannelsEditPhoto) GetChannel() *InputChannel

func (*TLChannelsEditPhoto) GetPhoto

func (m *TLChannelsEditPhoto) GetPhoto() *InputChatPhoto

func (*TLChannelsEditPhoto) ProtoMessage

func (*TLChannelsEditPhoto) ProtoMessage()

func (*TLChannelsEditPhoto) Reset

func (m *TLChannelsEditPhoto) Reset()

func (*TLChannelsEditPhoto) String

func (m *TLChannelsEditPhoto) String() string

type TLChannelsEditTitle

type TLChannelsEditTitle struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Title   string        `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.editTitle#566decd0 channel:InputChannel title:string = Updates;

func NewTLChannelsEditTitle

func NewTLChannelsEditTitle() *TLChannelsEditTitle

func (*TLChannelsEditTitle) Decode

func (m *TLChannelsEditTitle) Decode(dbuf *DecodeBuf) error

func (*TLChannelsEditTitle) Descriptor

func (*TLChannelsEditTitle) Descriptor() ([]byte, []int)

func (*TLChannelsEditTitle) Encode

func (m *TLChannelsEditTitle) Encode() []byte

func (*TLChannelsEditTitle) GetChannel

func (m *TLChannelsEditTitle) GetChannel() *InputChannel

func (*TLChannelsEditTitle) GetTitle

func (m *TLChannelsEditTitle) GetTitle() string

func (*TLChannelsEditTitle) ProtoMessage

func (*TLChannelsEditTitle) ProtoMessage()

func (*TLChannelsEditTitle) Reset

func (m *TLChannelsEditTitle) Reset()

func (*TLChannelsEditTitle) String

func (m *TLChannelsEditTitle) String() string

type TLChannelsExportInvite

type TLChannelsExportInvite struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.exportInvite#c7560885 channel:InputChannel = ExportedChatInvite;

func NewTLChannelsExportInvite

func NewTLChannelsExportInvite() *TLChannelsExportInvite

func (*TLChannelsExportInvite) Decode

func (m *TLChannelsExportInvite) Decode(dbuf *DecodeBuf) error

func (*TLChannelsExportInvite) Descriptor

func (*TLChannelsExportInvite) Descriptor() ([]byte, []int)

func (*TLChannelsExportInvite) Encode

func (m *TLChannelsExportInvite) Encode() []byte

func (*TLChannelsExportInvite) GetChannel

func (m *TLChannelsExportInvite) GetChannel() *InputChannel

func (*TLChannelsExportInvite) ProtoMessage

func (*TLChannelsExportInvite) ProtoMessage()

func (*TLChannelsExportInvite) Reset

func (m *TLChannelsExportInvite) Reset()

func (*TLChannelsExportInvite) String

func (m *TLChannelsExportInvite) String() string
type TLChannelsExportMessageLink struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Id      int32         `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.exportMessageLink#c846d22d channel:InputChannel id:int = ExportedMessageLink;

func NewTLChannelsExportMessageLink() *TLChannelsExportMessageLink

func (*TLChannelsExportMessageLink) Decode

func (m *TLChannelsExportMessageLink) Decode(dbuf *DecodeBuf) error

func (*TLChannelsExportMessageLink) Descriptor

func (*TLChannelsExportMessageLink) Descriptor() ([]byte, []int)

func (*TLChannelsExportMessageLink) Encode

func (m *TLChannelsExportMessageLink) Encode() []byte

func (*TLChannelsExportMessageLink) GetChannel

func (m *TLChannelsExportMessageLink) GetChannel() *InputChannel

func (*TLChannelsExportMessageLink) GetId

func (*TLChannelsExportMessageLink) ProtoMessage

func (*TLChannelsExportMessageLink) ProtoMessage()

func (*TLChannelsExportMessageLink) Reset

func (m *TLChannelsExportMessageLink) Reset()

func (*TLChannelsExportMessageLink) String

func (m *TLChannelsExportMessageLink) String() string

type TLChannelsExportMessageLinkLayer74

type TLChannelsExportMessageLinkLayer74 struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Id      int32         `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	Grouped *Bool         `protobuf:"bytes,3,opt,name=grouped" json:"grouped,omitempty"`
}

Layer74 channels.exportMessageLink#ceb77163 channel:InputChannel id:int grouped:Bool = ExportedMessageLink;

func NewTLChannelsExportMessageLinkLayer74

func NewTLChannelsExportMessageLinkLayer74() *TLChannelsExportMessageLinkLayer74

func (*TLChannelsExportMessageLinkLayer74) Decode

func (*TLChannelsExportMessageLinkLayer74) Descriptor

func (*TLChannelsExportMessageLinkLayer74) Descriptor() ([]byte, []int)

func (*TLChannelsExportMessageLinkLayer74) Encode

func (*TLChannelsExportMessageLinkLayer74) GetChannel

func (*TLChannelsExportMessageLinkLayer74) GetGrouped

func (m *TLChannelsExportMessageLinkLayer74) GetGrouped() *Bool

func (*TLChannelsExportMessageLinkLayer74) GetId

func (*TLChannelsExportMessageLinkLayer74) ProtoMessage

func (*TLChannelsExportMessageLinkLayer74) ProtoMessage()

func (*TLChannelsExportMessageLinkLayer74) Reset

func (*TLChannelsExportMessageLinkLayer74) String

type TLChannelsGetAdminLog

type TLChannelsGetAdminLog struct {
	Channel      *InputChannel                `protobuf:"bytes,2,opt,name=channel" json:"channel,omitempty"`
	Q            string                       `protobuf:"bytes,3,opt,name=q" json:"q,omitempty"`
	EventsFilter *ChannelAdminLogEventsFilter `protobuf:"bytes,4,opt,name=events_filter,json=eventsFilter" json:"events_filter,omitempty"`
	Admins       []*InputUser                 `protobuf:"bytes,5,rep,name=admins" json:"admins,omitempty"`
	MaxId        int64                        `protobuf:"varint,6,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	MinId        int64                        `protobuf:"varint,7,opt,name=min_id,json=minId" json:"min_id,omitempty"`
	Limit        int32                        `protobuf:"varint,8,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;

func NewTLChannelsGetAdminLog

func NewTLChannelsGetAdminLog() *TLChannelsGetAdminLog

func (*TLChannelsGetAdminLog) Decode

func (m *TLChannelsGetAdminLog) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetAdminLog) Descriptor

func (*TLChannelsGetAdminLog) Descriptor() ([]byte, []int)

func (*TLChannelsGetAdminLog) Encode

func (m *TLChannelsGetAdminLog) Encode() []byte

func (*TLChannelsGetAdminLog) GetAdmins

func (m *TLChannelsGetAdminLog) GetAdmins() []*InputUser

func (*TLChannelsGetAdminLog) GetChannel

func (m *TLChannelsGetAdminLog) GetChannel() *InputChannel

func (*TLChannelsGetAdminLog) GetEventsFilter

func (m *TLChannelsGetAdminLog) GetEventsFilter() *ChannelAdminLogEventsFilter

func (*TLChannelsGetAdminLog) GetLimit

func (m *TLChannelsGetAdminLog) GetLimit() int32

func (*TLChannelsGetAdminLog) GetMaxId

func (m *TLChannelsGetAdminLog) GetMaxId() int64

func (*TLChannelsGetAdminLog) GetMinId

func (m *TLChannelsGetAdminLog) GetMinId() int64

func (*TLChannelsGetAdminLog) GetQ

func (m *TLChannelsGetAdminLog) GetQ() string

func (*TLChannelsGetAdminLog) ProtoMessage

func (*TLChannelsGetAdminLog) ProtoMessage()

func (*TLChannelsGetAdminLog) Reset

func (m *TLChannelsGetAdminLog) Reset()

func (*TLChannelsGetAdminLog) String

func (m *TLChannelsGetAdminLog) String() string

type TLChannelsGetAdminedPublicChannels

type TLChannelsGetAdminedPublicChannels struct {
}

///////////////////////////////////////////////////////////////////////////// channels.getAdminedPublicChannels#8d8d82d7 = messages.Chats;

func NewTLChannelsGetAdminedPublicChannels

func NewTLChannelsGetAdminedPublicChannels() *TLChannelsGetAdminedPublicChannels

func (*TLChannelsGetAdminedPublicChannels) Decode

func (*TLChannelsGetAdminedPublicChannels) Descriptor

func (*TLChannelsGetAdminedPublicChannels) Descriptor() ([]byte, []int)

func (*TLChannelsGetAdminedPublicChannels) Encode

func (*TLChannelsGetAdminedPublicChannels) ProtoMessage

func (*TLChannelsGetAdminedPublicChannels) ProtoMessage()

func (*TLChannelsGetAdminedPublicChannels) Reset

func (*TLChannelsGetAdminedPublicChannels) String

type TLChannelsGetChannels

type TLChannelsGetChannels struct {
	Id []*InputChannel `protobuf:"bytes,1,rep,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;

func NewTLChannelsGetChannels

func NewTLChannelsGetChannels() *TLChannelsGetChannels

func (*TLChannelsGetChannels) Decode

func (m *TLChannelsGetChannels) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetChannels) Descriptor

func (*TLChannelsGetChannels) Descriptor() ([]byte, []int)

func (*TLChannelsGetChannels) Encode

func (m *TLChannelsGetChannels) Encode() []byte

func (*TLChannelsGetChannels) GetId

func (m *TLChannelsGetChannels) GetId() []*InputChannel

func (*TLChannelsGetChannels) ProtoMessage

func (*TLChannelsGetChannels) ProtoMessage()

func (*TLChannelsGetChannels) Reset

func (m *TLChannelsGetChannels) Reset()

func (*TLChannelsGetChannels) String

func (m *TLChannelsGetChannels) String() string

type TLChannelsGetFullChannel

type TLChannelsGetFullChannel struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull;

func NewTLChannelsGetFullChannel

func NewTLChannelsGetFullChannel() *TLChannelsGetFullChannel

func (*TLChannelsGetFullChannel) Decode

func (m *TLChannelsGetFullChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetFullChannel) Descriptor

func (*TLChannelsGetFullChannel) Descriptor() ([]byte, []int)

func (*TLChannelsGetFullChannel) Encode

func (m *TLChannelsGetFullChannel) Encode() []byte

func (*TLChannelsGetFullChannel) GetChannel

func (m *TLChannelsGetFullChannel) GetChannel() *InputChannel

func (*TLChannelsGetFullChannel) ProtoMessage

func (*TLChannelsGetFullChannel) ProtoMessage()

func (*TLChannelsGetFullChannel) Reset

func (m *TLChannelsGetFullChannel) Reset()

func (*TLChannelsGetFullChannel) String

func (m *TLChannelsGetFullChannel) String() string

type TLChannelsGetMessages

type TLChannelsGetMessages struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Id      []int32       `protobuf:"varint,2,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getMessages#93d7b347 channel:InputChannel id:Vector<int> = messages.Messages;

func NewTLChannelsGetMessages

func NewTLChannelsGetMessages() *TLChannelsGetMessages

func (*TLChannelsGetMessages) Decode

func (m *TLChannelsGetMessages) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetMessages) Descriptor

func (*TLChannelsGetMessages) Descriptor() ([]byte, []int)

func (*TLChannelsGetMessages) Encode

func (m *TLChannelsGetMessages) Encode() []byte

func (*TLChannelsGetMessages) GetChannel

func (m *TLChannelsGetMessages) GetChannel() *InputChannel

func (*TLChannelsGetMessages) GetId

func (m *TLChannelsGetMessages) GetId() []int32

func (*TLChannelsGetMessages) ProtoMessage

func (*TLChannelsGetMessages) ProtoMessage()

func (*TLChannelsGetMessages) Reset

func (m *TLChannelsGetMessages) Reset()

func (*TLChannelsGetMessages) String

func (m *TLChannelsGetMessages) String() string

type TLChannelsGetParticipant

type TLChannelsGetParticipant struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	UserId  *InputUser    `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getParticipant#546dd7a6 channel:InputChannel user_id:InputUser = channels.ChannelParticipant;

func NewTLChannelsGetParticipant

func NewTLChannelsGetParticipant() *TLChannelsGetParticipant

func (*TLChannelsGetParticipant) Decode

func (m *TLChannelsGetParticipant) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetParticipant) Descriptor

func (*TLChannelsGetParticipant) Descriptor() ([]byte, []int)

func (*TLChannelsGetParticipant) Encode

func (m *TLChannelsGetParticipant) Encode() []byte

func (*TLChannelsGetParticipant) GetChannel

func (m *TLChannelsGetParticipant) GetChannel() *InputChannel

func (*TLChannelsGetParticipant) GetUserId

func (m *TLChannelsGetParticipant) GetUserId() *InputUser

func (*TLChannelsGetParticipant) ProtoMessage

func (*TLChannelsGetParticipant) ProtoMessage()

func (*TLChannelsGetParticipant) Reset

func (m *TLChannelsGetParticipant) Reset()

func (*TLChannelsGetParticipant) String

func (m *TLChannelsGetParticipant) String() string

type TLChannelsGetParticipants

type TLChannelsGetParticipants struct {
	Channel *InputChannel              `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Filter  *ChannelParticipantsFilter `protobuf:"bytes,2,opt,name=filter" json:"filter,omitempty"`
	Offset  int32                      `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
	Limit   int32                      `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
	Hash    int32                      `protobuf:"varint,5,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.getParticipants#123e05e9 channel:InputChannel filter:ChannelParticipantsFilter offset:int limit:int hash:int = channels.ChannelParticipants;

func NewTLChannelsGetParticipants

func NewTLChannelsGetParticipants() *TLChannelsGetParticipants

func (*TLChannelsGetParticipants) Decode

func (m *TLChannelsGetParticipants) Decode(dbuf *DecodeBuf) error

func (*TLChannelsGetParticipants) Descriptor

func (*TLChannelsGetParticipants) Descriptor() ([]byte, []int)

func (*TLChannelsGetParticipants) Encode

func (m *TLChannelsGetParticipants) Encode() []byte

func (*TLChannelsGetParticipants) GetChannel

func (m *TLChannelsGetParticipants) GetChannel() *InputChannel

func (*TLChannelsGetParticipants) GetFilter

func (*TLChannelsGetParticipants) GetHash

func (m *TLChannelsGetParticipants) GetHash() int32

func (*TLChannelsGetParticipants) GetLimit

func (m *TLChannelsGetParticipants) GetLimit() int32

func (*TLChannelsGetParticipants) GetOffset

func (m *TLChannelsGetParticipants) GetOffset() int32

func (*TLChannelsGetParticipants) ProtoMessage

func (*TLChannelsGetParticipants) ProtoMessage()

func (*TLChannelsGetParticipants) Reset

func (m *TLChannelsGetParticipants) Reset()

func (*TLChannelsGetParticipants) String

func (m *TLChannelsGetParticipants) String() string

type TLChannelsInviteToChannel

type TLChannelsInviteToChannel struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Users   []*InputUser  `protobuf:"bytes,2,rep,name=users" json:"users,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> = Updates;

func NewTLChannelsInviteToChannel

func NewTLChannelsInviteToChannel() *TLChannelsInviteToChannel

func (*TLChannelsInviteToChannel) Decode

func (m *TLChannelsInviteToChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsInviteToChannel) Descriptor

func (*TLChannelsInviteToChannel) Descriptor() ([]byte, []int)

func (*TLChannelsInviteToChannel) Encode

func (m *TLChannelsInviteToChannel) Encode() []byte

func (*TLChannelsInviteToChannel) GetChannel

func (m *TLChannelsInviteToChannel) GetChannel() *InputChannel

func (*TLChannelsInviteToChannel) GetUsers

func (m *TLChannelsInviteToChannel) GetUsers() []*InputUser

func (*TLChannelsInviteToChannel) ProtoMessage

func (*TLChannelsInviteToChannel) ProtoMessage()

func (*TLChannelsInviteToChannel) Reset

func (m *TLChannelsInviteToChannel) Reset()

func (*TLChannelsInviteToChannel) String

func (m *TLChannelsInviteToChannel) String() string

type TLChannelsJoinChannel

type TLChannelsJoinChannel struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.joinChannel#24b524c5 channel:InputChannel = Updates;

func NewTLChannelsJoinChannel

func NewTLChannelsJoinChannel() *TLChannelsJoinChannel

func (*TLChannelsJoinChannel) Decode

func (m *TLChannelsJoinChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsJoinChannel) Descriptor

func (*TLChannelsJoinChannel) Descriptor() ([]byte, []int)

func (*TLChannelsJoinChannel) Encode

func (m *TLChannelsJoinChannel) Encode() []byte

func (*TLChannelsJoinChannel) GetChannel

func (m *TLChannelsJoinChannel) GetChannel() *InputChannel

func (*TLChannelsJoinChannel) ProtoMessage

func (*TLChannelsJoinChannel) ProtoMessage()

func (*TLChannelsJoinChannel) Reset

func (m *TLChannelsJoinChannel) Reset()

func (*TLChannelsJoinChannel) String

func (m *TLChannelsJoinChannel) String() string

type TLChannelsLeaveChannel

type TLChannelsLeaveChannel struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.leaveChannel#f836aa95 channel:InputChannel = Updates;

func NewTLChannelsLeaveChannel

func NewTLChannelsLeaveChannel() *TLChannelsLeaveChannel

func (*TLChannelsLeaveChannel) Decode

func (m *TLChannelsLeaveChannel) Decode(dbuf *DecodeBuf) error

func (*TLChannelsLeaveChannel) Descriptor

func (*TLChannelsLeaveChannel) Descriptor() ([]byte, []int)

func (*TLChannelsLeaveChannel) Encode

func (m *TLChannelsLeaveChannel) Encode() []byte

func (*TLChannelsLeaveChannel) GetChannel

func (m *TLChannelsLeaveChannel) GetChannel() *InputChannel

func (*TLChannelsLeaveChannel) ProtoMessage

func (*TLChannelsLeaveChannel) ProtoMessage()

func (*TLChannelsLeaveChannel) Reset

func (m *TLChannelsLeaveChannel) Reset()

func (*TLChannelsLeaveChannel) String

func (m *TLChannelsLeaveChannel) String() string

type TLChannelsReadHistory

type TLChannelsReadHistory struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	MaxId   int32         `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.readHistory#cc104937 channel:InputChannel max_id:int = Bool;

func NewTLChannelsReadHistory

func NewTLChannelsReadHistory() *TLChannelsReadHistory

func (*TLChannelsReadHistory) Decode

func (m *TLChannelsReadHistory) Decode(dbuf *DecodeBuf) error

func (*TLChannelsReadHistory) Descriptor

func (*TLChannelsReadHistory) Descriptor() ([]byte, []int)

func (*TLChannelsReadHistory) Encode

func (m *TLChannelsReadHistory) Encode() []byte

func (*TLChannelsReadHistory) GetChannel

func (m *TLChannelsReadHistory) GetChannel() *InputChannel

func (*TLChannelsReadHistory) GetMaxId

func (m *TLChannelsReadHistory) GetMaxId() int32

func (*TLChannelsReadHistory) ProtoMessage

func (*TLChannelsReadHistory) ProtoMessage()

func (*TLChannelsReadHistory) Reset

func (m *TLChannelsReadHistory) Reset()

func (*TLChannelsReadHistory) String

func (m *TLChannelsReadHistory) String() string

type TLChannelsReadMessageContents

type TLChannelsReadMessageContents struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Id      []int32       `protobuf:"varint,2,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.readMessageContents#eab5dc38 channel:InputChannel id:Vector<int> = Bool;

func NewTLChannelsReadMessageContents

func NewTLChannelsReadMessageContents() *TLChannelsReadMessageContents

func (*TLChannelsReadMessageContents) Decode

func (*TLChannelsReadMessageContents) Descriptor

func (*TLChannelsReadMessageContents) Descriptor() ([]byte, []int)

func (*TLChannelsReadMessageContents) Encode

func (m *TLChannelsReadMessageContents) Encode() []byte

func (*TLChannelsReadMessageContents) GetChannel

func (*TLChannelsReadMessageContents) GetId

func (m *TLChannelsReadMessageContents) GetId() []int32

func (*TLChannelsReadMessageContents) ProtoMessage

func (*TLChannelsReadMessageContents) ProtoMessage()

func (*TLChannelsReadMessageContents) Reset

func (m *TLChannelsReadMessageContents) Reset()

func (*TLChannelsReadMessageContents) String

type TLChannelsReportSpam

type TLChannelsReportSpam struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	UserId  *InputUser    `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Id      []int32       `protobuf:"varint,3,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.reportSpam#fe087810 channel:InputChannel user_id:InputUser id:Vector<int> = Bool;

func NewTLChannelsReportSpam

func NewTLChannelsReportSpam() *TLChannelsReportSpam

func (*TLChannelsReportSpam) Decode

func (m *TLChannelsReportSpam) Decode(dbuf *DecodeBuf) error

func (*TLChannelsReportSpam) Descriptor

func (*TLChannelsReportSpam) Descriptor() ([]byte, []int)

func (*TLChannelsReportSpam) Encode

func (m *TLChannelsReportSpam) Encode() []byte

func (*TLChannelsReportSpam) GetChannel

func (m *TLChannelsReportSpam) GetChannel() *InputChannel

func (*TLChannelsReportSpam) GetId

func (m *TLChannelsReportSpam) GetId() []int32

func (*TLChannelsReportSpam) GetUserId

func (m *TLChannelsReportSpam) GetUserId() *InputUser

func (*TLChannelsReportSpam) ProtoMessage

func (*TLChannelsReportSpam) ProtoMessage()

func (*TLChannelsReportSpam) Reset

func (m *TLChannelsReportSpam) Reset()

func (*TLChannelsReportSpam) String

func (m *TLChannelsReportSpam) String() string

type TLChannelsSetStickers

type TLChannelsSetStickers struct {
	Channel    *InputChannel    `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Stickerset *InputStickerSet `protobuf:"bytes,2,opt,name=stickerset" json:"stickerset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool;

func NewTLChannelsSetStickers

func NewTLChannelsSetStickers() *TLChannelsSetStickers

func (*TLChannelsSetStickers) Decode

func (m *TLChannelsSetStickers) Decode(dbuf *DecodeBuf) error

func (*TLChannelsSetStickers) Descriptor

func (*TLChannelsSetStickers) Descriptor() ([]byte, []int)

func (*TLChannelsSetStickers) Encode

func (m *TLChannelsSetStickers) Encode() []byte

func (*TLChannelsSetStickers) GetChannel

func (m *TLChannelsSetStickers) GetChannel() *InputChannel

func (*TLChannelsSetStickers) GetStickerset

func (m *TLChannelsSetStickers) GetStickerset() *InputStickerSet

func (*TLChannelsSetStickers) ProtoMessage

func (*TLChannelsSetStickers) ProtoMessage()

func (*TLChannelsSetStickers) Reset

func (m *TLChannelsSetStickers) Reset()

func (*TLChannelsSetStickers) String

func (m *TLChannelsSetStickers) String() string

type TLChannelsToggleInvites

type TLChannelsToggleInvites struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Enabled *Bool         `protobuf:"bytes,2,opt,name=enabled" json:"enabled,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.toggleInvites#49609307 channel:InputChannel enabled:Bool = Updates;

func NewTLChannelsToggleInvites

func NewTLChannelsToggleInvites() *TLChannelsToggleInvites

func (*TLChannelsToggleInvites) Decode

func (m *TLChannelsToggleInvites) Decode(dbuf *DecodeBuf) error

func (*TLChannelsToggleInvites) Descriptor

func (*TLChannelsToggleInvites) Descriptor() ([]byte, []int)

func (*TLChannelsToggleInvites) Encode

func (m *TLChannelsToggleInvites) Encode() []byte

func (*TLChannelsToggleInvites) GetChannel

func (m *TLChannelsToggleInvites) GetChannel() *InputChannel

func (*TLChannelsToggleInvites) GetEnabled

func (m *TLChannelsToggleInvites) GetEnabled() *Bool

func (*TLChannelsToggleInvites) ProtoMessage

func (*TLChannelsToggleInvites) ProtoMessage()

func (*TLChannelsToggleInvites) Reset

func (m *TLChannelsToggleInvites) Reset()

func (*TLChannelsToggleInvites) String

func (m *TLChannelsToggleInvites) String() string

type TLChannelsTogglePreHistoryHidden

type TLChannelsTogglePreHistoryHidden struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Enabled *Bool         `protobuf:"bytes,2,opt,name=enabled" json:"enabled,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.togglePreHistoryHidden#eabbb94c channel:InputChannel enabled:Bool = Updates;

func NewTLChannelsTogglePreHistoryHidden

func NewTLChannelsTogglePreHistoryHidden() *TLChannelsTogglePreHistoryHidden

func (*TLChannelsTogglePreHistoryHidden) Decode

func (*TLChannelsTogglePreHistoryHidden) Descriptor

func (*TLChannelsTogglePreHistoryHidden) Descriptor() ([]byte, []int)

func (*TLChannelsTogglePreHistoryHidden) Encode

func (m *TLChannelsTogglePreHistoryHidden) Encode() []byte

func (*TLChannelsTogglePreHistoryHidden) GetChannel

func (*TLChannelsTogglePreHistoryHidden) GetEnabled

func (m *TLChannelsTogglePreHistoryHidden) GetEnabled() *Bool

func (*TLChannelsTogglePreHistoryHidden) ProtoMessage

func (*TLChannelsTogglePreHistoryHidden) ProtoMessage()

func (*TLChannelsTogglePreHistoryHidden) Reset

func (*TLChannelsTogglePreHistoryHidden) String

type TLChannelsToggleSignatures

type TLChannelsToggleSignatures struct {
	Channel *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Enabled *Bool         `protobuf:"bytes,2,opt,name=enabled" json:"enabled,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates;

func NewTLChannelsToggleSignatures

func NewTLChannelsToggleSignatures() *TLChannelsToggleSignatures

func (*TLChannelsToggleSignatures) Decode

func (m *TLChannelsToggleSignatures) Decode(dbuf *DecodeBuf) error

func (*TLChannelsToggleSignatures) Descriptor

func (*TLChannelsToggleSignatures) Descriptor() ([]byte, []int)

func (*TLChannelsToggleSignatures) Encode

func (m *TLChannelsToggleSignatures) Encode() []byte

func (*TLChannelsToggleSignatures) GetChannel

func (m *TLChannelsToggleSignatures) GetChannel() *InputChannel

func (*TLChannelsToggleSignatures) GetEnabled

func (m *TLChannelsToggleSignatures) GetEnabled() *Bool

func (*TLChannelsToggleSignatures) ProtoMessage

func (*TLChannelsToggleSignatures) ProtoMessage()

func (*TLChannelsToggleSignatures) Reset

func (m *TLChannelsToggleSignatures) Reset()

func (*TLChannelsToggleSignatures) String

func (m *TLChannelsToggleSignatures) String() string

type TLChannelsUpdatePinnedMessage

type TLChannelsUpdatePinnedMessage struct {
	Silent  bool          `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	Channel *InputChannel `protobuf:"bytes,3,opt,name=channel" json:"channel,omitempty"`
	Id      int32         `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;

func NewTLChannelsUpdatePinnedMessage

func NewTLChannelsUpdatePinnedMessage() *TLChannelsUpdatePinnedMessage

func (*TLChannelsUpdatePinnedMessage) Decode

func (*TLChannelsUpdatePinnedMessage) Descriptor

func (*TLChannelsUpdatePinnedMessage) Descriptor() ([]byte, []int)

func (*TLChannelsUpdatePinnedMessage) Encode

func (m *TLChannelsUpdatePinnedMessage) Encode() []byte

func (*TLChannelsUpdatePinnedMessage) GetChannel

func (*TLChannelsUpdatePinnedMessage) GetId

func (*TLChannelsUpdatePinnedMessage) GetSilent

func (m *TLChannelsUpdatePinnedMessage) GetSilent() bool

func (*TLChannelsUpdatePinnedMessage) ProtoMessage

func (*TLChannelsUpdatePinnedMessage) ProtoMessage()

func (*TLChannelsUpdatePinnedMessage) Reset

func (m *TLChannelsUpdatePinnedMessage) Reset()

func (*TLChannelsUpdatePinnedMessage) String

type TLChannelsUpdateUsername

type TLChannelsUpdateUsername struct {
	Channel  *InputChannel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Username string        `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// channels.updateUsername#3514b3de channel:InputChannel username:string = Bool;

func NewTLChannelsUpdateUsername

func NewTLChannelsUpdateUsername() *TLChannelsUpdateUsername

func (*TLChannelsUpdateUsername) Decode

func (m *TLChannelsUpdateUsername) Decode(dbuf *DecodeBuf) error

func (*TLChannelsUpdateUsername) Descriptor

func (*TLChannelsUpdateUsername) Descriptor() ([]byte, []int)

func (*TLChannelsUpdateUsername) Encode

func (m *TLChannelsUpdateUsername) Encode() []byte

func (*TLChannelsUpdateUsername) GetChannel

func (m *TLChannelsUpdateUsername) GetChannel() *InputChannel

func (*TLChannelsUpdateUsername) GetUsername

func (m *TLChannelsUpdateUsername) GetUsername() string

func (*TLChannelsUpdateUsername) ProtoMessage

func (*TLChannelsUpdateUsername) ProtoMessage()

func (*TLChannelsUpdateUsername) Reset

func (m *TLChannelsUpdateUsername) Reset()

func (*TLChannelsUpdateUsername) String

func (m *TLChannelsUpdateUsername) String() string

type TLChat

type TLChat struct {
	Data2 *Chat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLChat

func NewTLChat() *TLChat

func (*TLChat) Decode

func (m *TLChat) Decode(dbuf *DecodeBuf) error

func (*TLChat) Descriptor

func (*TLChat) Descriptor() ([]byte, []int)

func (*TLChat) Encode

func (m *TLChat) Encode() []byte

func (*TLChat) GetAdmin

func (m *TLChat) GetAdmin() bool

func (*TLChat) GetAdminsEnabled

func (m *TLChat) GetAdminsEnabled() bool

func (*TLChat) GetCreator

func (m *TLChat) GetCreator() bool

func (*TLChat) GetData2

func (m *TLChat) GetData2() *Chat_Data

func (*TLChat) GetDate

func (m *TLChat) GetDate() int32

func (*TLChat) GetDeactivated

func (m *TLChat) GetDeactivated() bool

func (*TLChat) GetId

func (m *TLChat) GetId() int32

func (*TLChat) GetKicked

func (m *TLChat) GetKicked() bool

func (*TLChat) GetLeft

func (m *TLChat) GetLeft() bool

func (*TLChat) GetMigratedTo

func (m *TLChat) GetMigratedTo() *InputChannel

func (*TLChat) GetParticipantsCount

func (m *TLChat) GetParticipantsCount() int32

func (*TLChat) GetPhoto

func (m *TLChat) GetPhoto() *ChatPhoto

func (*TLChat) GetTitle

func (m *TLChat) GetTitle() string

func (*TLChat) GetVersion

func (m *TLChat) GetVersion() int32

func (*TLChat) ProtoMessage

func (*TLChat) ProtoMessage()

func (*TLChat) Reset

func (m *TLChat) Reset()

func (*TLChat) SetAdmin

func (m *TLChat) SetAdmin(v bool)

func (*TLChat) SetAdminsEnabled

func (m *TLChat) SetAdminsEnabled(v bool)

func (*TLChat) SetCreator

func (m *TLChat) SetCreator(v bool)

func (*TLChat) SetDate

func (m *TLChat) SetDate(v int32)

func (*TLChat) SetDeactivated

func (m *TLChat) SetDeactivated(v bool)

func (*TLChat) SetId

func (m *TLChat) SetId(v int32)

func (*TLChat) SetKicked

func (m *TLChat) SetKicked(v bool)

func (*TLChat) SetLeft

func (m *TLChat) SetLeft(v bool)

func (*TLChat) SetMigratedTo

func (m *TLChat) SetMigratedTo(v *InputChannel)

func (*TLChat) SetParticipantsCount

func (m *TLChat) SetParticipantsCount(v int32)

func (*TLChat) SetPhoto

func (m *TLChat) SetPhoto(v *ChatPhoto)

func (*TLChat) SetTitle

func (m *TLChat) SetTitle(v string)

func (*TLChat) SetVersion

func (m *TLChat) SetVersion(v int32)

func (*TLChat) String

func (m *TLChat) String() string

func (*TLChat) To_Chat

func (m *TLChat) To_Chat() *Chat

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

type TLChatEmpty

type TLChatEmpty struct {
	Data2 *Chat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatEmpty#9ba2d800 id:int = Chat;

func NewTLChatEmpty

func NewTLChatEmpty() *TLChatEmpty

func (*TLChatEmpty) Decode

func (m *TLChatEmpty) Decode(dbuf *DecodeBuf) error

func (*TLChatEmpty) Descriptor

func (*TLChatEmpty) Descriptor() ([]byte, []int)

func (*TLChatEmpty) Encode

func (m *TLChatEmpty) Encode() []byte

func (*TLChatEmpty) GetData2

func (m *TLChatEmpty) GetData2() *Chat_Data

func (*TLChatEmpty) GetId

func (m *TLChatEmpty) GetId() int32

func (*TLChatEmpty) ProtoMessage

func (*TLChatEmpty) ProtoMessage()

func (*TLChatEmpty) Reset

func (m *TLChatEmpty) Reset()

func (*TLChatEmpty) SetId

func (m *TLChatEmpty) SetId(v int32)

func (*TLChatEmpty) String

func (m *TLChatEmpty) String() string

func (*TLChatEmpty) To_Chat

func (m *TLChatEmpty) To_Chat() *Chat

chatEmpty#9ba2d800 id:int = Chat;

type TLChatForbidden

type TLChatForbidden struct {
	Data2 *Chat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatForbidden#7328bdb id:int title:string = Chat;

func NewTLChatForbidden

func NewTLChatForbidden() *TLChatForbidden

func (*TLChatForbidden) Decode

func (m *TLChatForbidden) Decode(dbuf *DecodeBuf) error

func (*TLChatForbidden) Descriptor

func (*TLChatForbidden) Descriptor() ([]byte, []int)

func (*TLChatForbidden) Encode

func (m *TLChatForbidden) Encode() []byte

func (*TLChatForbidden) GetData2

func (m *TLChatForbidden) GetData2() *Chat_Data

func (*TLChatForbidden) GetId

func (m *TLChatForbidden) GetId() int32

func (*TLChatForbidden) GetTitle

func (m *TLChatForbidden) GetTitle() string

func (*TLChatForbidden) ProtoMessage

func (*TLChatForbidden) ProtoMessage()

func (*TLChatForbidden) Reset

func (m *TLChatForbidden) Reset()

func (*TLChatForbidden) SetId

func (m *TLChatForbidden) SetId(v int32)

func (*TLChatForbidden) SetTitle

func (m *TLChatForbidden) SetTitle(v string)

func (*TLChatForbidden) String

func (m *TLChatForbidden) String() string

func (*TLChatForbidden) To_Chat

func (m *TLChatForbidden) To_Chat() *Chat

chatForbidden#7328bdb id:int title:string = Chat;

type TLChatFull

type TLChatFull struct {
	Data2 *ChatFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> = ChatFull;

func NewTLChatFull

func NewTLChatFull() *TLChatFull

func (*TLChatFull) Decode

func (m *TLChatFull) Decode(dbuf *DecodeBuf) error

func (*TLChatFull) Descriptor

func (*TLChatFull) Descriptor() ([]byte, []int)

func (*TLChatFull) Encode

func (m *TLChatFull) Encode() []byte

func (*TLChatFull) GetBotInfo

func (m *TLChatFull) GetBotInfo() []*BotInfo

func (*TLChatFull) GetChatPhoto

func (m *TLChatFull) GetChatPhoto() *Photo

func (*TLChatFull) GetData2

func (m *TLChatFull) GetData2() *ChatFull_Data

func (*TLChatFull) GetExportedInvite

func (m *TLChatFull) GetExportedInvite() *ExportedChatInvite

func (*TLChatFull) GetId

func (m *TLChatFull) GetId() int32

func (*TLChatFull) GetNotifySettings

func (m *TLChatFull) GetNotifySettings() *PeerNotifySettings

func (*TLChatFull) GetParticipants

func (m *TLChatFull) GetParticipants() *ChatParticipants

func (*TLChatFull) ProtoMessage

func (*TLChatFull) ProtoMessage()

func (*TLChatFull) Reset

func (m *TLChatFull) Reset()

func (*TLChatFull) SetBotInfo

func (m *TLChatFull) SetBotInfo(v []*BotInfo)

func (*TLChatFull) SetChatPhoto

func (m *TLChatFull) SetChatPhoto(v *Photo)

func (*TLChatFull) SetExportedInvite

func (m *TLChatFull) SetExportedInvite(v *ExportedChatInvite)

func (*TLChatFull) SetId

func (m *TLChatFull) SetId(v int32)

func (*TLChatFull) SetNotifySettings

func (m *TLChatFull) SetNotifySettings(v *PeerNotifySettings)

func (*TLChatFull) SetParticipants

func (m *TLChatFull) SetParticipants(v *ChatParticipants)

func (*TLChatFull) String

func (m *TLChatFull) String() string

func (*TLChatFull) To_ChatFull

func (m *TLChatFull) To_ChatFull() *ChatFull

chatFull#2e02a614 id:int participants:ChatParticipants chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> = ChatFull;

type TLChatInvite

type TLChatInvite struct {
	Data2 *ChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLChatInvite

func NewTLChatInvite() *TLChatInvite

func (*TLChatInvite) Decode

func (m *TLChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLChatInvite) Descriptor

func (*TLChatInvite) Descriptor() ([]byte, []int)

func (*TLChatInvite) Encode

func (m *TLChatInvite) Encode() []byte

func (*TLChatInvite) GetBroadcast

func (m *TLChatInvite) GetBroadcast() bool

func (*TLChatInvite) GetChannel

func (m *TLChatInvite) GetChannel() bool

func (*TLChatInvite) GetData2

func (m *TLChatInvite) GetData2() *ChatInvite_Data

func (*TLChatInvite) GetMegagroup

func (m *TLChatInvite) GetMegagroup() bool

func (*TLChatInvite) GetParticipants

func (m *TLChatInvite) GetParticipants() []*User

func (*TLChatInvite) GetParticipantsCount

func (m *TLChatInvite) GetParticipantsCount() int32

func (*TLChatInvite) GetPhoto

func (m *TLChatInvite) GetPhoto() *ChatPhoto

func (*TLChatInvite) GetPublic

func (m *TLChatInvite) GetPublic() bool

func (*TLChatInvite) GetTitle

func (m *TLChatInvite) GetTitle() string

func (*TLChatInvite) ProtoMessage

func (*TLChatInvite) ProtoMessage()

func (*TLChatInvite) Reset

func (m *TLChatInvite) Reset()

func (*TLChatInvite) SetBroadcast

func (m *TLChatInvite) SetBroadcast(v bool)

func (*TLChatInvite) SetChannel

func (m *TLChatInvite) SetChannel(v bool)

func (*TLChatInvite) SetMegagroup

func (m *TLChatInvite) SetMegagroup(v bool)

func (*TLChatInvite) SetParticipants

func (m *TLChatInvite) SetParticipants(v []*User)

func (*TLChatInvite) SetParticipantsCount

func (m *TLChatInvite) SetParticipantsCount(v int32)

func (*TLChatInvite) SetPhoto

func (m *TLChatInvite) SetPhoto(v *ChatPhoto)

func (*TLChatInvite) SetPublic

func (m *TLChatInvite) SetPublic(v bool)

func (*TLChatInvite) SetTitle

func (m *TLChatInvite) SetTitle(v string)

func (*TLChatInvite) String

func (m *TLChatInvite) String() string

func (*TLChatInvite) To_ChatInvite

func (m *TLChatInvite) To_ChatInvite() *ChatInvite

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

type TLChatInviteAlready

type TLChatInviteAlready struct {
	Data2 *ChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatInviteAlready#5a686d7c chat:Chat = ChatInvite;

func NewTLChatInviteAlready

func NewTLChatInviteAlready() *TLChatInviteAlready

func (*TLChatInviteAlready) Decode

func (m *TLChatInviteAlready) Decode(dbuf *DecodeBuf) error

func (*TLChatInviteAlready) Descriptor

func (*TLChatInviteAlready) Descriptor() ([]byte, []int)

func (*TLChatInviteAlready) Encode

func (m *TLChatInviteAlready) Encode() []byte

func (*TLChatInviteAlready) GetChat

func (m *TLChatInviteAlready) GetChat() *Chat

func (*TLChatInviteAlready) GetData2

func (m *TLChatInviteAlready) GetData2() *ChatInvite_Data

func (*TLChatInviteAlready) ProtoMessage

func (*TLChatInviteAlready) ProtoMessage()

func (*TLChatInviteAlready) Reset

func (m *TLChatInviteAlready) Reset()

func (*TLChatInviteAlready) SetChat

func (m *TLChatInviteAlready) SetChat(v *Chat)

func (*TLChatInviteAlready) String

func (m *TLChatInviteAlready) String() string

func (*TLChatInviteAlready) To_ChatInvite

func (m *TLChatInviteAlready) To_ChatInvite() *ChatInvite

chatInviteAlready#5a686d7c chat:Chat = ChatInvite;

type TLChatInviteEmpty

type TLChatInviteEmpty struct {
	Data2 *ExportedChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatInviteEmpty#69df3769 = ExportedChatInvite;

func NewTLChatInviteEmpty

func NewTLChatInviteEmpty() *TLChatInviteEmpty

func (*TLChatInviteEmpty) Decode

func (m *TLChatInviteEmpty) Decode(dbuf *DecodeBuf) error

func (*TLChatInviteEmpty) Descriptor

func (*TLChatInviteEmpty) Descriptor() ([]byte, []int)

func (*TLChatInviteEmpty) Encode

func (m *TLChatInviteEmpty) Encode() []byte

func (*TLChatInviteEmpty) GetData2

func (*TLChatInviteEmpty) ProtoMessage

func (*TLChatInviteEmpty) ProtoMessage()

func (*TLChatInviteEmpty) Reset

func (m *TLChatInviteEmpty) Reset()

func (*TLChatInviteEmpty) String

func (m *TLChatInviteEmpty) String() string

func (*TLChatInviteEmpty) To_ExportedChatInvite

func (m *TLChatInviteEmpty) To_ExportedChatInvite() *ExportedChatInvite

chatInviteEmpty#69df3769 = ExportedChatInvite;

type TLChatInviteExported

type TLChatInviteExported struct {
	Data2 *ExportedChatInvite_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatInviteExported#fc2e05bc link:string = ExportedChatInvite;

func NewTLChatInviteExported

func NewTLChatInviteExported() *TLChatInviteExported

func (*TLChatInviteExported) Decode

func (m *TLChatInviteExported) Decode(dbuf *DecodeBuf) error

func (*TLChatInviteExported) Descriptor

func (*TLChatInviteExported) Descriptor() ([]byte, []int)

func (*TLChatInviteExported) Encode

func (m *TLChatInviteExported) Encode() []byte

func (*TLChatInviteExported) GetData2

func (m *TLChatInviteExported) GetLink() string

func (*TLChatInviteExported) ProtoMessage

func (*TLChatInviteExported) ProtoMessage()

func (*TLChatInviteExported) Reset

func (m *TLChatInviteExported) Reset()
func (m *TLChatInviteExported) SetLink(v string)

func (*TLChatInviteExported) String

func (m *TLChatInviteExported) String() string

func (*TLChatInviteExported) To_ExportedChatInvite

func (m *TLChatInviteExported) To_ExportedChatInvite() *ExportedChatInvite

chatInviteExported#fc2e05bc link:string = ExportedChatInvite;

type TLChatParticipant

type TLChatParticipant struct {
	Data2 *ChatParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;

func NewTLChatParticipant

func NewTLChatParticipant() *TLChatParticipant

func (*TLChatParticipant) Decode

func (m *TLChatParticipant) Decode(dbuf *DecodeBuf) error

func (*TLChatParticipant) Descriptor

func (*TLChatParticipant) Descriptor() ([]byte, []int)

func (*TLChatParticipant) Encode

func (m *TLChatParticipant) Encode() []byte

func (*TLChatParticipant) GetData2

func (m *TLChatParticipant) GetData2() *ChatParticipant_Data

func (*TLChatParticipant) GetDate

func (m *TLChatParticipant) GetDate() int32

func (*TLChatParticipant) GetInviterId

func (m *TLChatParticipant) GetInviterId() int32

func (*TLChatParticipant) GetUserId

func (m *TLChatParticipant) GetUserId() int32

func (*TLChatParticipant) ProtoMessage

func (*TLChatParticipant) ProtoMessage()

func (*TLChatParticipant) Reset

func (m *TLChatParticipant) Reset()

func (*TLChatParticipant) SetDate

func (m *TLChatParticipant) SetDate(v int32)

func (*TLChatParticipant) SetInviterId

func (m *TLChatParticipant) SetInviterId(v int32)

func (*TLChatParticipant) SetUserId

func (m *TLChatParticipant) SetUserId(v int32)

func (*TLChatParticipant) String

func (m *TLChatParticipant) String() string

func (*TLChatParticipant) To_ChatParticipant

func (m *TLChatParticipant) To_ChatParticipant() *ChatParticipant

chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant;

type TLChatParticipantAdmin

type TLChatParticipantAdmin struct {
	Data2 *ChatParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;

func NewTLChatParticipantAdmin

func NewTLChatParticipantAdmin() *TLChatParticipantAdmin

func (*TLChatParticipantAdmin) Decode

func (m *TLChatParticipantAdmin) Decode(dbuf *DecodeBuf) error

func (*TLChatParticipantAdmin) Descriptor

func (*TLChatParticipantAdmin) Descriptor() ([]byte, []int)

func (*TLChatParticipantAdmin) Encode

func (m *TLChatParticipantAdmin) Encode() []byte

func (*TLChatParticipantAdmin) GetData2

func (*TLChatParticipantAdmin) GetDate

func (m *TLChatParticipantAdmin) GetDate() int32

func (*TLChatParticipantAdmin) GetInviterId

func (m *TLChatParticipantAdmin) GetInviterId() int32

func (*TLChatParticipantAdmin) GetUserId

func (m *TLChatParticipantAdmin) GetUserId() int32

func (*TLChatParticipantAdmin) ProtoMessage

func (*TLChatParticipantAdmin) ProtoMessage()

func (*TLChatParticipantAdmin) Reset

func (m *TLChatParticipantAdmin) Reset()

func (*TLChatParticipantAdmin) SetDate

func (m *TLChatParticipantAdmin) SetDate(v int32)

func (*TLChatParticipantAdmin) SetInviterId

func (m *TLChatParticipantAdmin) SetInviterId(v int32)

func (*TLChatParticipantAdmin) SetUserId

func (m *TLChatParticipantAdmin) SetUserId(v int32)

func (*TLChatParticipantAdmin) String

func (m *TLChatParticipantAdmin) String() string

func (*TLChatParticipantAdmin) To_ChatParticipant

func (m *TLChatParticipantAdmin) To_ChatParticipant() *ChatParticipant

chatParticipantAdmin#e2d6e436 user_id:int inviter_id:int date:int = ChatParticipant;

type TLChatParticipantCreator

type TLChatParticipantCreator struct {
	Data2 *ChatParticipant_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatParticipantCreator#da13538a user_id:int = ChatParticipant;

func NewTLChatParticipantCreator

func NewTLChatParticipantCreator() *TLChatParticipantCreator

func (*TLChatParticipantCreator) Decode

func (m *TLChatParticipantCreator) Decode(dbuf *DecodeBuf) error

func (*TLChatParticipantCreator) Descriptor

func (*TLChatParticipantCreator) Descriptor() ([]byte, []int)

func (*TLChatParticipantCreator) Encode

func (m *TLChatParticipantCreator) Encode() []byte

func (*TLChatParticipantCreator) GetData2

func (*TLChatParticipantCreator) GetUserId

func (m *TLChatParticipantCreator) GetUserId() int32

func (*TLChatParticipantCreator) ProtoMessage

func (*TLChatParticipantCreator) ProtoMessage()

func (*TLChatParticipantCreator) Reset

func (m *TLChatParticipantCreator) Reset()

func (*TLChatParticipantCreator) SetUserId

func (m *TLChatParticipantCreator) SetUserId(v int32)

func (*TLChatParticipantCreator) String

func (m *TLChatParticipantCreator) String() string

func (*TLChatParticipantCreator) To_ChatParticipant

func (m *TLChatParticipantCreator) To_ChatParticipant() *ChatParticipant

chatParticipantCreator#da13538a user_id:int = ChatParticipant;

type TLChatParticipants

type TLChatParticipants struct {
	Data2 *ChatParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> version:int = ChatParticipants;

func NewTLChatParticipants

func NewTLChatParticipants() *TLChatParticipants

func (*TLChatParticipants) Decode

func (m *TLChatParticipants) Decode(dbuf *DecodeBuf) error

func (*TLChatParticipants) Descriptor

func (*TLChatParticipants) Descriptor() ([]byte, []int)

func (*TLChatParticipants) Encode

func (m *TLChatParticipants) Encode() []byte

func (*TLChatParticipants) GetChatId

func (m *TLChatParticipants) GetChatId() int32

func (*TLChatParticipants) GetData2

func (*TLChatParticipants) GetParticipants

func (m *TLChatParticipants) GetParticipants() []*ChatParticipant

func (*TLChatParticipants) GetVersion

func (m *TLChatParticipants) GetVersion() int32

func (*TLChatParticipants) ProtoMessage

func (*TLChatParticipants) ProtoMessage()

func (*TLChatParticipants) Reset

func (m *TLChatParticipants) Reset()

func (*TLChatParticipants) SetChatId

func (m *TLChatParticipants) SetChatId(v int32)

func (*TLChatParticipants) SetParticipants

func (m *TLChatParticipants) SetParticipants(v []*ChatParticipant)

func (*TLChatParticipants) SetVersion

func (m *TLChatParticipants) SetVersion(v int32)

func (*TLChatParticipants) String

func (m *TLChatParticipants) String() string

func (*TLChatParticipants) To_ChatParticipants

func (m *TLChatParticipants) To_ChatParticipants() *ChatParticipants

chatParticipants#3f460fed chat_id:int participants:Vector<ChatParticipant> version:int = ChatParticipants;

type TLChatParticipantsForbidden

type TLChatParticipantsForbidden struct {
	Data2 *ChatParticipants_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants;

func NewTLChatParticipantsForbidden

func NewTLChatParticipantsForbidden() *TLChatParticipantsForbidden

func (*TLChatParticipantsForbidden) Decode

func (m *TLChatParticipantsForbidden) Decode(dbuf *DecodeBuf) error

func (*TLChatParticipantsForbidden) Descriptor

func (*TLChatParticipantsForbidden) Descriptor() ([]byte, []int)

func (*TLChatParticipantsForbidden) Encode

func (m *TLChatParticipantsForbidden) Encode() []byte

func (*TLChatParticipantsForbidden) GetChatId

func (m *TLChatParticipantsForbidden) GetChatId() int32

func (*TLChatParticipantsForbidden) GetData2

func (*TLChatParticipantsForbidden) GetSelfParticipant

func (m *TLChatParticipantsForbidden) GetSelfParticipant() *ChatParticipant

func (*TLChatParticipantsForbidden) ProtoMessage

func (*TLChatParticipantsForbidden) ProtoMessage()

func (*TLChatParticipantsForbidden) Reset

func (m *TLChatParticipantsForbidden) Reset()

func (*TLChatParticipantsForbidden) SetChatId

func (m *TLChatParticipantsForbidden) SetChatId(v int32)

func (*TLChatParticipantsForbidden) SetSelfParticipant

func (m *TLChatParticipantsForbidden) SetSelfParticipant(v *ChatParticipant)

func (*TLChatParticipantsForbidden) String

func (m *TLChatParticipantsForbidden) String() string

func (*TLChatParticipantsForbidden) To_ChatParticipants

func (m *TLChatParticipantsForbidden) To_ChatParticipants() *ChatParticipants

chatParticipantsForbidden#fc900c2b flags:# chat_id:int self_participant:flags.0?ChatParticipant = ChatParticipants;

type TLChatPhoto

type TLChatPhoto struct {
	Data2 *ChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto;

func NewTLChatPhoto

func NewTLChatPhoto() *TLChatPhoto

func (*TLChatPhoto) Decode

func (m *TLChatPhoto) Decode(dbuf *DecodeBuf) error

func (*TLChatPhoto) Descriptor

func (*TLChatPhoto) Descriptor() ([]byte, []int)

func (*TLChatPhoto) Encode

func (m *TLChatPhoto) Encode() []byte

func (*TLChatPhoto) GetData2

func (m *TLChatPhoto) GetData2() *ChatPhoto_Data

func (*TLChatPhoto) GetPhotoBig

func (m *TLChatPhoto) GetPhotoBig() *FileLocation

func (*TLChatPhoto) GetPhotoSmall

func (m *TLChatPhoto) GetPhotoSmall() *FileLocation

func (*TLChatPhoto) ProtoMessage

func (*TLChatPhoto) ProtoMessage()

func (*TLChatPhoto) Reset

func (m *TLChatPhoto) Reset()

func (*TLChatPhoto) SetPhotoBig

func (m *TLChatPhoto) SetPhotoBig(v *FileLocation)

func (*TLChatPhoto) SetPhotoSmall

func (m *TLChatPhoto) SetPhotoSmall(v *FileLocation)

func (*TLChatPhoto) String

func (m *TLChatPhoto) String() string

func (*TLChatPhoto) To_ChatPhoto

func (m *TLChatPhoto) To_ChatPhoto() *ChatPhoto

chatPhoto#6153276a photo_small:FileLocation photo_big:FileLocation = ChatPhoto;

type TLChatPhotoEmpty

type TLChatPhotoEmpty struct {
	Data2 *ChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

chatPhotoEmpty#37c1011c = ChatPhoto;

func NewTLChatPhotoEmpty

func NewTLChatPhotoEmpty() *TLChatPhotoEmpty

func (*TLChatPhotoEmpty) Decode

func (m *TLChatPhotoEmpty) Decode(dbuf *DecodeBuf) error

func (*TLChatPhotoEmpty) Descriptor

func (*TLChatPhotoEmpty) Descriptor() ([]byte, []int)

func (*TLChatPhotoEmpty) Encode

func (m *TLChatPhotoEmpty) Encode() []byte

func (*TLChatPhotoEmpty) GetData2

func (m *TLChatPhotoEmpty) GetData2() *ChatPhoto_Data

func (*TLChatPhotoEmpty) ProtoMessage

func (*TLChatPhotoEmpty) ProtoMessage()

func (*TLChatPhotoEmpty) Reset

func (m *TLChatPhotoEmpty) Reset()

func (*TLChatPhotoEmpty) String

func (m *TLChatPhotoEmpty) String() string

func (*TLChatPhotoEmpty) To_ChatPhoto

func (m *TLChatPhotoEmpty) To_ChatPhoto() *ChatPhoto

chatPhotoEmpty#37c1011c = ChatPhoto;

type TLClient_DHInnerData

type TLClient_DHInnerData struct {
	Data2 *Client_DH_Inner_Data_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;

func NewTLClient_DHInnerData

func NewTLClient_DHInnerData() *TLClient_DHInnerData

func (*TLClient_DHInnerData) Decode

func (m *TLClient_DHInnerData) Decode(dbuf *DecodeBuf) error

func (*TLClient_DHInnerData) Descriptor

func (*TLClient_DHInnerData) Descriptor() ([]byte, []int)

func (*TLClient_DHInnerData) Encode

func (m *TLClient_DHInnerData) Encode() []byte

func (*TLClient_DHInnerData) GetData2

func (*TLClient_DHInnerData) GetGB

func (m *TLClient_DHInnerData) GetGB() string

func (*TLClient_DHInnerData) GetNonce

func (m *TLClient_DHInnerData) GetNonce() []byte

func (*TLClient_DHInnerData) GetRetryId

func (m *TLClient_DHInnerData) GetRetryId() int64

func (*TLClient_DHInnerData) GetServerNonce

func (m *TLClient_DHInnerData) GetServerNonce() []byte

func (*TLClient_DHInnerData) ProtoMessage

func (*TLClient_DHInnerData) ProtoMessage()

func (*TLClient_DHInnerData) Reset

func (m *TLClient_DHInnerData) Reset()

func (*TLClient_DHInnerData) SetGB

func (m *TLClient_DHInnerData) SetGB(v string)

func (*TLClient_DHInnerData) SetNonce

func (m *TLClient_DHInnerData) SetNonce(v []byte)

func (*TLClient_DHInnerData) SetRetryId

func (m *TLClient_DHInnerData) SetRetryId(v int64)

func (*TLClient_DHInnerData) SetServerNonce

func (m *TLClient_DHInnerData) SetServerNonce(v []byte)

func (*TLClient_DHInnerData) String

func (m *TLClient_DHInnerData) String() string

func (*TLClient_DHInnerData) To_Client_DH_Inner_Data

func (m *TLClient_DHInnerData) To_Client_DH_Inner_Data() *Client_DH_Inner_Data

client_DH_inner_data#6643b654 nonce:int128 server_nonce:int128 retry_id:long g_b:string = Client_DH_Inner_Data;

type TLConfig

type TLConfig struct {
	Data2 *Config_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

config#9c840964 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?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 stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?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 suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector<DisabledFeature> = Config;

func NewTLConfig

func NewTLConfig() *TLConfig

func (*TLConfig) Decode

func (m *TLConfig) Decode(dbuf *DecodeBuf) error

func (*TLConfig) Descriptor

func (*TLConfig) Descriptor() ([]byte, []int)

func (*TLConfig) Encode

func (m *TLConfig) Encode() []byte

func (*TLConfig) GetCallConnectTimeoutMs

func (m *TLConfig) GetCallConnectTimeoutMs() int32

func (*TLConfig) GetCallPacketTimeoutMs

func (m *TLConfig) GetCallPacketTimeoutMs() int32

func (*TLConfig) GetCallReceiveTimeoutMs

func (m *TLConfig) GetCallReceiveTimeoutMs() int32

func (*TLConfig) GetCallRingTimeoutMs

func (m *TLConfig) GetCallRingTimeoutMs() int32

func (*TLConfig) GetChannelsReadMediaPeriod

func (m *TLConfig) GetChannelsReadMediaPeriod() int32

func (*TLConfig) GetChatBigSize

func (m *TLConfig) GetChatBigSize() int32

func (*TLConfig) GetChatSizeMax

func (m *TLConfig) GetChatSizeMax() int32

func (*TLConfig) GetData2

func (m *TLConfig) GetData2() *Config_Data

func (*TLConfig) GetDate

func (m *TLConfig) GetDate() int32

func (*TLConfig) GetDcOptions

func (m *TLConfig) GetDcOptions() []*DcOption

func (*TLConfig) GetDefaultP2PContacts

func (m *TLConfig) GetDefaultP2PContacts() bool

func (*TLConfig) GetDisabledFeatures

func (m *TLConfig) GetDisabledFeatures() []*DisabledFeature

func (*TLConfig) GetEditTimeLimit

func (m *TLConfig) GetEditTimeLimit() int32

func (*TLConfig) GetExpires

func (m *TLConfig) GetExpires() int32

func (*TLConfig) GetForwardedCountMax

func (m *TLConfig) GetForwardedCountMax() int32

func (*TLConfig) GetLangPackVersion

func (m *TLConfig) GetLangPackVersion() int32

func (*TLConfig) GetMeUrlPrefix

func (m *TLConfig) GetMeUrlPrefix() string

func (*TLConfig) GetMegagroupSizeMax

func (m *TLConfig) GetMegagroupSizeMax() int32

func (*TLConfig) GetNotifyCloudDelayMs

func (m *TLConfig) GetNotifyCloudDelayMs() int32

func (*TLConfig) GetNotifyDefaultDelayMs

func (m *TLConfig) GetNotifyDefaultDelayMs() int32

func (*TLConfig) GetOfflineBlurTimeoutMs

func (m *TLConfig) GetOfflineBlurTimeoutMs() int32

func (*TLConfig) GetOfflineIdleTimeoutMs

func (m *TLConfig) GetOfflineIdleTimeoutMs() int32

func (*TLConfig) GetOnlineCloudTimeoutMs

func (m *TLConfig) GetOnlineCloudTimeoutMs() int32

func (*TLConfig) GetOnlineUpdatePeriodMs

func (m *TLConfig) GetOnlineUpdatePeriodMs() int32

func (*TLConfig) GetPhonecallsEnabled

func (m *TLConfig) GetPhonecallsEnabled() bool

func (*TLConfig) GetPinnedDialogsCountMax

func (m *TLConfig) GetPinnedDialogsCountMax() int32

func (*TLConfig) GetPushChatLimit

func (m *TLConfig) GetPushChatLimit() int32

func (*TLConfig) GetPushChatPeriodMs

func (m *TLConfig) GetPushChatPeriodMs() int32

func (*TLConfig) GetRatingEDecay

func (m *TLConfig) GetRatingEDecay() int32

func (*TLConfig) GetSavedGifsLimit

func (m *TLConfig) GetSavedGifsLimit() int32

func (*TLConfig) GetStickersFavedLimit

func (m *TLConfig) GetStickersFavedLimit() int32

func (*TLConfig) GetStickersRecentLimit

func (m *TLConfig) GetStickersRecentLimit() int32

func (*TLConfig) GetSuggestedLangCode

func (m *TLConfig) GetSuggestedLangCode() string

func (*TLConfig) GetTestMode

func (m *TLConfig) GetTestMode() *Bool

func (*TLConfig) GetThisDc

func (m *TLConfig) GetThisDc() int32

func (*TLConfig) GetTmpSessions

func (m *TLConfig) GetTmpSessions() int32

func (*TLConfig) ProtoMessage

func (*TLConfig) ProtoMessage()

func (*TLConfig) Reset

func (m *TLConfig) Reset()

func (*TLConfig) SetCallConnectTimeoutMs

func (m *TLConfig) SetCallConnectTimeoutMs(v int32)

func (*TLConfig) SetCallPacketTimeoutMs

func (m *TLConfig) SetCallPacketTimeoutMs(v int32)

func (*TLConfig) SetCallReceiveTimeoutMs

func (m *TLConfig) SetCallReceiveTimeoutMs(v int32)

func (*TLConfig) SetCallRingTimeoutMs

func (m *TLConfig) SetCallRingTimeoutMs(v int32)

func (*TLConfig) SetChannelsReadMediaPeriod

func (m *TLConfig) SetChannelsReadMediaPeriod(v int32)

func (*TLConfig) SetChatBigSize

func (m *TLConfig) SetChatBigSize(v int32)

func (*TLConfig) SetChatSizeMax

func (m *TLConfig) SetChatSizeMax(v int32)

func (*TLConfig) SetDate

func (m *TLConfig) SetDate(v int32)

func (*TLConfig) SetDcOptions

func (m *TLConfig) SetDcOptions(v []*DcOption)

func (*TLConfig) SetDefaultP2PContacts

func (m *TLConfig) SetDefaultP2PContacts(v bool)

func (*TLConfig) SetDisabledFeatures

func (m *TLConfig) SetDisabledFeatures(v []*DisabledFeature)

func (*TLConfig) SetEditTimeLimit

func (m *TLConfig) SetEditTimeLimit(v int32)

func (*TLConfig) SetExpires

func (m *TLConfig) SetExpires(v int32)

func (*TLConfig) SetForwardedCountMax

func (m *TLConfig) SetForwardedCountMax(v int32)

func (*TLConfig) SetLangPackVersion

func (m *TLConfig) SetLangPackVersion(v int32)

func (*TLConfig) SetMeUrlPrefix

func (m *TLConfig) SetMeUrlPrefix(v string)

func (*TLConfig) SetMegagroupSizeMax

func (m *TLConfig) SetMegagroupSizeMax(v int32)

func (*TLConfig) SetNotifyCloudDelayMs

func (m *TLConfig) SetNotifyCloudDelayMs(v int32)

func (*TLConfig) SetNotifyDefaultDelayMs

func (m *TLConfig) SetNotifyDefaultDelayMs(v int32)

func (*TLConfig) SetOfflineBlurTimeoutMs

func (m *TLConfig) SetOfflineBlurTimeoutMs(v int32)

func (*TLConfig) SetOfflineIdleTimeoutMs

func (m *TLConfig) SetOfflineIdleTimeoutMs(v int32)

func (*TLConfig) SetOnlineCloudTimeoutMs

func (m *TLConfig) SetOnlineCloudTimeoutMs(v int32)

func (*TLConfig) SetOnlineUpdatePeriodMs

func (m *TLConfig) SetOnlineUpdatePeriodMs(v int32)

func (*TLConfig) SetPhonecallsEnabled

func (m *TLConfig) SetPhonecallsEnabled(v bool)

func (*TLConfig) SetPinnedDialogsCountMax

func (m *TLConfig) SetPinnedDialogsCountMax(v int32)

func (*TLConfig) SetPushChatLimit

func (m *TLConfig) SetPushChatLimit(v int32)

func (*TLConfig) SetPushChatPeriodMs

func (m *TLConfig) SetPushChatPeriodMs(v int32)

func (*TLConfig) SetRatingEDecay

func (m *TLConfig) SetRatingEDecay(v int32)

func (*TLConfig) SetSavedGifsLimit

func (m *TLConfig) SetSavedGifsLimit(v int32)

func (*TLConfig) SetStickersFavedLimit

func (m *TLConfig) SetStickersFavedLimit(v int32)

func (*TLConfig) SetStickersRecentLimit

func (m *TLConfig) SetStickersRecentLimit(v int32)

func (*TLConfig) SetSuggestedLangCode

func (m *TLConfig) SetSuggestedLangCode(v string)

func (*TLConfig) SetTestMode

func (m *TLConfig) SetTestMode(v *Bool)

func (*TLConfig) SetThisDc

func (m *TLConfig) SetThisDc(v int32)

func (*TLConfig) SetTmpSessions

func (m *TLConfig) SetTmpSessions(v int32)

func (*TLConfig) String

func (m *TLConfig) String() string

func (*TLConfig) To_Config

func (m *TLConfig) To_Config() *Config

config#9c840964 flags:# phonecalls_enabled:flags.1?true default_p2p_contacts:flags.3?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 stickers_faved_limit:int channels_read_media_period:int tmp_sessions:flags.0?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 suggested_lang_code:flags.2?string lang_pack_version:flags.2?int disabled_features:Vector<DisabledFeature> = Config;

type TLConstructor

type TLConstructor int32
const (
	TLConstructor_CRC32_UNKNOWN                                  TLConstructor = 0
	TLConstructor_CRC32_vector                                   TLConstructor = 481674261
	TLConstructor_CRC32_message2                                 TLConstructor = 1538843921
	TLConstructor_CRC32_msg_container                            TLConstructor = 1945237724
	TLConstructor_CRC32_msg_copy                                 TLConstructor = 530561358
	TLConstructor_CRC32_gzip_packed                              TLConstructor = 812830625
	TLConstructor_CRC32_rpc_result                               TLConstructor = -212046591
	TLConstructor_CRC32_resPQ                                    TLConstructor = 85337187
	TLConstructor_CRC32_p_q_inner_data                           TLConstructor = -2083955988
	TLConstructor_CRC32_server_DH_params_fail                    TLConstructor = 2043348061
	TLConstructor_CRC32_server_DH_params_ok                      TLConstructor = -790100132
	TLConstructor_CRC32_server_DH_inner_data                     TLConstructor = -1249309254
	TLConstructor_CRC32_client_DH_inner_data                     TLConstructor = 1715713620
	TLConstructor_CRC32_dh_gen_ok                                TLConstructor = 1003222836
	TLConstructor_CRC32_dh_gen_retry                             TLConstructor = 1188831161
	TLConstructor_CRC32_dh_gen_fail                              TLConstructor = -1499615742
	TLConstructor_CRC32_destroy_auth_key_ok                      TLConstructor = -161422892
	TLConstructor_CRC32_destroy_auth_key_none                    TLConstructor = 178201177
	TLConstructor_CRC32_destroy_auth_key_fail                    TLConstructor = -368010477
	TLConstructor_CRC32_req_pq                                   TLConstructor = 1615239032
	TLConstructor_CRC32_req_DH_params                            TLConstructor = -686627650
	TLConstructor_CRC32_set_client_DH_params                     TLConstructor = -184262881
	TLConstructor_CRC32_destroy_auth_key                         TLConstructor = -784117408
	TLConstructor_CRC32_msgs_ack                                 TLConstructor = 1658238041
	TLConstructor_CRC32_bad_msg_notification                     TLConstructor = -1477445615
	TLConstructor_CRC32_bad_server_salt                          TLConstructor = -307542917
	TLConstructor_CRC32_msgs_state_req                           TLConstructor = -630588590
	TLConstructor_CRC32_msgs_state_info                          TLConstructor = 81704317
	TLConstructor_CRC32_msgs_all_info                            TLConstructor = -1933520591
	TLConstructor_CRC32_msg_detailed_info                        TLConstructor = 661470918
	TLConstructor_CRC32_msg_new_detailed_info                    TLConstructor = -2137147681
	TLConstructor_CRC32_msg_resend_req                           TLConstructor = 2105940488
	TLConstructor_CRC32_rpc_error                                TLConstructor = 558156313
	TLConstructor_CRC32_rpc_answer_unknown                       TLConstructor = 1579864942
	TLConstructor_CRC32_rpc_answer_dropped_running               TLConstructor = -847714938
	TLConstructor_CRC32_rpc_answer_dropped                       TLConstructor = -1539647305
	TLConstructor_CRC32_future_salt                              TLConstructor = 155834844
	TLConstructor_CRC32_future_salts                             TLConstructor = -1370486635
	TLConstructor_CRC32_pong                                     TLConstructor = 880243653
	TLConstructor_CRC32_destroy_session_ok                       TLConstructor = -501201412
	TLConstructor_CRC32_destroy_session_none                     TLConstructor = 1658015945
	TLConstructor_CRC32_new_session_created                      TLConstructor = -1631450872
	TLConstructor_CRC32_http_wait                                TLConstructor = -1835453025
	TLConstructor_CRC32_rpc_drop_answer                          TLConstructor = 1491380032
	TLConstructor_CRC32_get_future_salts                         TLConstructor = -1188971260
	TLConstructor_CRC32_ping                                     TLConstructor = 2059302892
	TLConstructor_CRC32_ping_delay_disconnect                    TLConstructor = -213746804
	TLConstructor_CRC32_destroy_session                          TLConstructor = -414113498
	TLConstructor_CRC32_contest_saveDeveloperInfo                TLConstructor = -1705021803
	TLConstructor_CRC32_boolFalse                                TLConstructor = -1132882121
	TLConstructor_CRC32_boolTrue                                 TLConstructor = -1720552011
	TLConstructor_CRC32_true                                     TLConstructor = 1072550713
	TLConstructor_CRC32_error                                    TLConstructor = -994444869
	TLConstructor_CRC32_null                                     TLConstructor = 1450380236
	TLConstructor_CRC32_inputPeerEmpty                           TLConstructor = 2134579434
	TLConstructor_CRC32_inputPeerSelf                            TLConstructor = 2107670217
	TLConstructor_CRC32_inputPeerChat                            TLConstructor = 396093539
	TLConstructor_CRC32_inputPeerUser                            TLConstructor = 2072935910
	TLConstructor_CRC32_inputPeerChannel                         TLConstructor = 548253432
	TLConstructor_CRC32_inputUserEmpty                           TLConstructor = -1182234929
	TLConstructor_CRC32_inputUserSelf                            TLConstructor = -138301121
	TLConstructor_CRC32_inputUser                                TLConstructor = -668391402
	TLConstructor_CRC32_inputPhoneContact                        TLConstructor = -208488460
	TLConstructor_CRC32_inputFile                                TLConstructor = -181407105
	TLConstructor_CRC32_inputFileBig                             TLConstructor = -95482955
	TLConstructor_CRC32_inputMediaEmpty                          TLConstructor = -1771768449
	TLConstructor_CRC32_inputMediaUploadedPhoto                  TLConstructor = 792191537
	TLConstructor_CRC32_inputMediaPhoto                          TLConstructor = -2114308294
	TLConstructor_CRC32_inputMediaGeoPoint                       TLConstructor = -104578748
	TLConstructor_CRC32_inputMediaContact                        TLConstructor = -1494984313
	TLConstructor_CRC32_inputMediaUploadedDocument               TLConstructor = -476700163
	TLConstructor_CRC32_inputMediaDocument                       TLConstructor = 1523279502
	TLConstructor_CRC32_inputMediaVenue                          TLConstructor = -1052959727
	TLConstructor_CRC32_inputMediaGifExternal                    TLConstructor = 1212395773
	TLConstructor_CRC32_inputMediaPhotoExternal                  TLConstructor = 153267905
	TLConstructor_CRC32_inputMediaDocumentExternal               TLConstructor = -1225309387
	TLConstructor_CRC32_inputMediaGame                           TLConstructor = -750828557
	TLConstructor_CRC32_inputMediaInvoice                        TLConstructor = -186607933
	TLConstructor_CRC32_inputMediaGeoLive                        TLConstructor = 2065305999
	TLConstructor_CRC32_inputChatPhotoEmpty                      TLConstructor = 480546647
	TLConstructor_CRC32_inputChatUploadedPhoto                   TLConstructor = -1837345356
	TLConstructor_CRC32_inputChatPhoto                           TLConstructor = -1991004873
	TLConstructor_CRC32_inputGeoPointEmpty                       TLConstructor = -457104426
	TLConstructor_CRC32_inputGeoPoint                            TLConstructor = -206066487
	TLConstructor_CRC32_inputPhotoEmpty                          TLConstructor = 483901197
	TLConstructor_CRC32_inputPhoto                               TLConstructor = -74070332
	TLConstructor_CRC32_inputFileLocation                        TLConstructor = 342061462
	TLConstructor_CRC32_inputEncryptedFileLocation               TLConstructor = -182231723
	TLConstructor_CRC32_inputDocumentFileLocation                TLConstructor = 1125058340
	TLConstructor_CRC32_inputDocumentFileLocationLayer11         TLConstructor = 1313188841
	TLConstructor_CRC32_inputAppEvent                            TLConstructor = 1996904104
	TLConstructor_CRC32_peerUser                                 TLConstructor = -1649296275
	TLConstructor_CRC32_peerChat                                 TLConstructor = -1160714821
	TLConstructor_CRC32_peerChannel                              TLConstructor = -1109531342
	TLConstructor_CRC32_storage_fileUnknown                      TLConstructor = -1432995067
	TLConstructor_CRC32_storage_filePartial                      TLConstructor = 1086091090
	TLConstructor_CRC32_storage_fileJpeg                         TLConstructor = 8322574
	TLConstructor_CRC32_storage_fileGif                          TLConstructor = -891180321
	TLConstructor_CRC32_storage_filePng                          TLConstructor = 172975040
	TLConstructor_CRC32_storage_filePdf                          TLConstructor = -1373745011
	TLConstructor_CRC32_storage_fileMp3                          TLConstructor = 1384777335
	TLConstructor_CRC32_storage_fileMov                          TLConstructor = 1258941372
	TLConstructor_CRC32_storage_fileMp4                          TLConstructor = -1278304028
	TLConstructor_CRC32_storage_fileWebp                         TLConstructor = 276907596
	TLConstructor_CRC32_fileLocationUnavailable                  TLConstructor = 2086234950
	TLConstructor_CRC32_fileLocation                             TLConstructor = 1406570614
	TLConstructor_CRC32_userEmpty                                TLConstructor = 537022650
	TLConstructor_CRC32_user                                     TLConstructor = 773059779
	TLConstructor_CRC32_userProfilePhotoEmpty                    TLConstructor = 1326562017
	TLConstructor_CRC32_userProfilePhoto                         TLConstructor = -715532088
	TLConstructor_CRC32_userStatusEmpty                          TLConstructor = 164646985
	TLConstructor_CRC32_userStatusOnline                         TLConstructor = -306628279
	TLConstructor_CRC32_userStatusOffline                        TLConstructor = 9203775
	TLConstructor_CRC32_userStatusRecently                       TLConstructor = -496024847
	TLConstructor_CRC32_userStatusLastWeek                       TLConstructor = 129960444
	TLConstructor_CRC32_userStatusLastMonth                      TLConstructor = 2011940674
	TLConstructor_CRC32_chatEmpty                                TLConstructor = -1683826688
	TLConstructor_CRC32_chat                                     TLConstructor = -652419756
	TLConstructor_CRC32_chatForbidden                            TLConstructor = 120753115
	TLConstructor_CRC32_channel                                  TLConstructor = 1158377749
	TLConstructor_CRC32_channelForbidden                         TLConstructor = 681420594
	TLConstructor_CRC32_chatFull                                 TLConstructor = 771925524
	TLConstructor_CRC32_channelFull                              TLConstructor = 1991201921
	TLConstructor_CRC32_chatParticipant                          TLConstructor = -925415106
	TLConstructor_CRC32_chatParticipantCreator                   TLConstructor = -636267638
	TLConstructor_CRC32_chatParticipantAdmin                     TLConstructor = -489233354
	TLConstructor_CRC32_chatParticipantsForbidden                TLConstructor = -57668565
	TLConstructor_CRC32_chatParticipants                         TLConstructor = 1061556205
	TLConstructor_CRC32_chatPhotoEmpty                           TLConstructor = 935395612
	TLConstructor_CRC32_chatPhoto                                TLConstructor = 1632839530
	TLConstructor_CRC32_messageEmpty                             TLConstructor = -2082087340
	TLConstructor_CRC32_message                                  TLConstructor = 1157215293
	TLConstructor_CRC32_messageService                           TLConstructor = -1642487306
	TLConstructor_CRC32_messageMediaEmpty                        TLConstructor = 1038967584
	TLConstructor_CRC32_messageMediaPhoto                        TLConstructor = -1256047857
	TLConstructor_CRC32_messageMediaGeo                          TLConstructor = 1457575028
	TLConstructor_CRC32_messageMediaContact                      TLConstructor = 1585262393
	TLConstructor_CRC32_messageMediaUnsupported                  TLConstructor = -1618676578
	TLConstructor_CRC32_messageMediaDocument                     TLConstructor = 2084836563
	TLConstructor_CRC32_messageMediaWebPage                      TLConstructor = -1557277184
	TLConstructor_CRC32_messageMediaVenue                        TLConstructor = 784356159
	TLConstructor_CRC32_messageMediaGame                         TLConstructor = -38694904
	TLConstructor_CRC32_messageMediaInvoice                      TLConstructor = -2074799289
	TLConstructor_CRC32_messageMediaGeoLive                      TLConstructor = 2084316681
	TLConstructor_CRC32_messageActionEmpty                       TLConstructor = -1230047312
	TLConstructor_CRC32_messageActionChatCreate                  TLConstructor = -1503425638
	TLConstructor_CRC32_messageActionChatEditTitle               TLConstructor = -1247687078
	TLConstructor_CRC32_messageActionChatEditPhoto               TLConstructor = 2144015272
	TLConstructor_CRC32_messageActionChatDeletePhoto             TLConstructor = -1780220945
	TLConstructor_CRC32_messageActionChatAddUser                 TLConstructor = 1217033015
	TLConstructor_CRC32_messageActionChatDeleteUser              TLConstructor = -1297179892
	TLConstructor_CRC32_messageActionChatJoinedByLink            TLConstructor = -123931160
	TLConstructor_CRC32_messageActionChannelCreate               TLConstructor = -1781355374
	TLConstructor_CRC32_messageActionChatMigrateTo               TLConstructor = 1371385889
	TLConstructor_CRC32_messageActionChannelMigrateFrom          TLConstructor = -1336546578
	TLConstructor_CRC32_messageActionPinMessage                  TLConstructor = -1799538451
	TLConstructor_CRC32_messageActionHistoryClear                TLConstructor = -1615153660
	TLConstructor_CRC32_messageActionGameScore                   TLConstructor = -1834538890
	TLConstructor_CRC32_messageActionPaymentSentMe               TLConstructor = -1892568281
	TLConstructor_CRC32_messageActionPaymentSent                 TLConstructor = 1080663248
	TLConstructor_CRC32_messageActionPhoneCall                   TLConstructor = -2132731265
	TLConstructor_CRC32_messageActionScreenshotTaken             TLConstructor = 1200788123
	TLConstructor_CRC32_messageActionCustomAction                TLConstructor = -85549226
	TLConstructor_CRC32_dialog                                   TLConstructor = -455150117
	TLConstructor_CRC32_photoEmpty                               TLConstructor = 590459437
	TLConstructor_CRC32_photo                                    TLConstructor = -1836524247
	TLConstructor_CRC32_photoSizeEmpty                           TLConstructor = 236446268
	TLConstructor_CRC32_photoSize                                TLConstructor = 2009052699
	TLConstructor_CRC32_photoCachedSize                          TLConstructor = -374917894
	TLConstructor_CRC32_geoPointEmpty                            TLConstructor = 286776671
	TLConstructor_CRC32_geoPoint                                 TLConstructor = 541710092
	TLConstructor_CRC32_auth_checkedPhone                        TLConstructor = -2128698738
	TLConstructor_CRC32_auth_sentCode                            TLConstructor = 1577067778
	TLConstructor_CRC32_auth_authorization                       TLConstructor = -855308010
	TLConstructor_CRC32_auth_exportedAuthorization               TLConstructor = -543777747
	TLConstructor_CRC32_inputNotifyPeer                          TLConstructor = -1195615476
	TLConstructor_CRC32_inputNotifyUsers                         TLConstructor = 423314455
	TLConstructor_CRC32_inputNotifyChats                         TLConstructor = 1251338318
	TLConstructor_CRC32_inputNotifyAll                           TLConstructor = -1540769658
	TLConstructor_CRC32_inputPeerNotifyEventsEmpty               TLConstructor = -265263912
	TLConstructor_CRC32_inputPeerNotifyEventsAll                 TLConstructor = -395694988
	TLConstructor_CRC32_inputPeerNotifySettings                  TLConstructor = 949182130
	TLConstructor_CRC32_peerNotifyEventsEmpty                    TLConstructor = -1378534221
	TLConstructor_CRC32_peerNotifyEventsAll                      TLConstructor = 1830677896
	TLConstructor_CRC32_peerNotifySettingsEmpty                  TLConstructor = 1889961234
	TLConstructor_CRC32_peerNotifySettings                       TLConstructor = -1697798976
	TLConstructor_CRC32_peerSettings                             TLConstructor = -2122045747
	TLConstructor_CRC32_wallPaper                                TLConstructor = -860866985
	TLConstructor_CRC32_wallPaperSolid                           TLConstructor = 1662091044
	TLConstructor_CRC32_inputReportReasonSpam                    TLConstructor = 1490799288
	TLConstructor_CRC32_inputReportReasonViolence                TLConstructor = 505595789
	TLConstructor_CRC32_inputReportReasonPornography             TLConstructor = 777640226
	TLConstructor_CRC32_inputReportReasonOther                   TLConstructor = -512463606
	TLConstructor_CRC32_userFull                                 TLConstructor = 253890367
	TLConstructor_CRC32_contact                                  TLConstructor = -116274796
	TLConstructor_CRC32_importedContact                          TLConstructor = -805141448
	TLConstructor_CRC32_contactBlocked                           TLConstructor = 1444661369
	TLConstructor_CRC32_contactStatus                            TLConstructor = -748155807
	TLConstructor_CRC32_contacts_link                            TLConstructor = 986597452
	TLConstructor_CRC32_contacts_contactsNotModified             TLConstructor = -1219778094
	TLConstructor_CRC32_contacts_contacts                        TLConstructor = -353862078
	TLConstructor_CRC32_contacts_importedContacts                TLConstructor = 2010127419
	TLConstructor_CRC32_contacts_blocked                         TLConstructor = 471043349
	TLConstructor_CRC32_contacts_blockedSlice                    TLConstructor = -1878523231
	TLConstructor_CRC32_messages_dialogs                         TLConstructor = 364538944
	TLConstructor_CRC32_messages_dialogsSlice                    TLConstructor = 1910543603
	TLConstructor_CRC32_messages_messages                        TLConstructor = -1938715001
	TLConstructor_CRC32_messages_messagesSlice                   TLConstructor = 189033187
	TLConstructor_CRC32_messages_channelMessages                 TLConstructor = -1725551049
	TLConstructor_CRC32_messages_messagesNotModified             TLConstructor = 1951620897
	TLConstructor_CRC32_messages_chats                           TLConstructor = 1694474197
	TLConstructor_CRC32_messages_chatsSlice                      TLConstructor = -1663561404
	TLConstructor_CRC32_messages_chatFull                        TLConstructor = -438840932
	TLConstructor_CRC32_messages_affectedHistory                 TLConstructor = -1269012015
	TLConstructor_CRC32_inputMessagesFilterEmpty                 TLConstructor = 1474492012
	TLConstructor_CRC32_inputMessagesFilterPhotos                TLConstructor = -1777752804
	TLConstructor_CRC32_inputMessagesFilterVideo                 TLConstructor = -1614803355
	TLConstructor_CRC32_inputMessagesFilterPhotoVideo            TLConstructor = 1458172132
	TLConstructor_CRC32_inputMessagesFilterDocument              TLConstructor = -1629621880
	TLConstructor_CRC32_inputMessagesFilterUrl                   TLConstructor = 2129714567
	TLConstructor_CRC32_inputMessagesFilterGif                   TLConstructor = -3644025
	TLConstructor_CRC32_inputMessagesFilterVoice                 TLConstructor = 1358283666
	TLConstructor_CRC32_inputMessagesFilterMusic                 TLConstructor = 928101534
	TLConstructor_CRC32_inputMessagesFilterChatPhotos            TLConstructor = 975236280
	TLConstructor_CRC32_inputMessagesFilterPhoneCalls            TLConstructor = -2134272152
	TLConstructor_CRC32_inputMessagesFilterRoundVoice            TLConstructor = 2054952868
	TLConstructor_CRC32_inputMessagesFilterRoundVideo            TLConstructor = -1253451181
	TLConstructor_CRC32_inputMessagesFilterMyMentions            TLConstructor = -1040652646
	TLConstructor_CRC32_inputMessagesFilterGeo                   TLConstructor = -419271411
	TLConstructor_CRC32_inputMessagesFilterContacts              TLConstructor = -530392189
	TLConstructor_CRC32_updateNewMessage                         TLConstructor = 522914557
	TLConstructor_CRC32_updateMessageID                          TLConstructor = 1318109142
	TLConstructor_CRC32_updateDeleteMessages                     TLConstructor = -1576161051
	TLConstructor_CRC32_updateUserTyping                         TLConstructor = 1548249383
	TLConstructor_CRC32_updateChatUserTyping                     TLConstructor = -1704596961
	TLConstructor_CRC32_updateChatParticipants                   TLConstructor = 125178264
	TLConstructor_CRC32_updateUserStatus                         TLConstructor = 469489699
	TLConstructor_CRC32_updateUserName                           TLConstructor = -1489818765
	TLConstructor_CRC32_updateUserPhoto                          TLConstructor = -1791935732
	TLConstructor_CRC32_updateContactRegistered                  TLConstructor = 628472761
	TLConstructor_CRC32_updateContactLink                        TLConstructor = -1657903163
	TLConstructor_CRC32_updateNewEncryptedMessage                TLConstructor = 314359194
	TLConstructor_CRC32_updateEncryptedChatTyping                TLConstructor = 386986326
	TLConstructor_CRC32_updateEncryption                         TLConstructor = -1264392051
	TLConstructor_CRC32_updateEncryptedMessagesRead              TLConstructor = 956179895
	TLConstructor_CRC32_updateChatParticipantAdd                 TLConstructor = -364179876
	TLConstructor_CRC32_updateChatParticipantDelete              TLConstructor = 1851755554
	TLConstructor_CRC32_updateDcOptions                          TLConstructor = -1906403213
	TLConstructor_CRC32_updateUserBlocked                        TLConstructor = -2131957734
	TLConstructor_CRC32_updateNotifySettings                     TLConstructor = -1094555409
	TLConstructor_CRC32_updateServiceNotification                TLConstructor = -337352679
	TLConstructor_CRC32_updatePrivacy                            TLConstructor = -298113238
	TLConstructor_CRC32_updateUserPhone                          TLConstructor = 314130811
	TLConstructor_CRC32_updateReadHistoryInbox                   TLConstructor = -1721631396
	TLConstructor_CRC32_updateReadHistoryOutbox                  TLConstructor = 791617983
	TLConstructor_CRC32_updateWebPage                            TLConstructor = 2139689491
	TLConstructor_CRC32_updateReadMessagesContents               TLConstructor = 1757493555
	TLConstructor_CRC32_updateChannelTooLong                     TLConstructor = -352032773
	TLConstructor_CRC32_updateChannel                            TLConstructor = -1227598250
	TLConstructor_CRC32_updateNewChannelMessage                  TLConstructor = 1656358105
	TLConstructor_CRC32_updateReadChannelInbox                   TLConstructor = 1108669311
	TLConstructor_CRC32_updateDeleteChannelMessages              TLConstructor = -1015733815
	TLConstructor_CRC32_updateChannelMessageViews                TLConstructor = -1734268085
	TLConstructor_CRC32_updateChatAdmins                         TLConstructor = 1855224129
	TLConstructor_CRC32_updateChatParticipantAdmin               TLConstructor = -1232070311
	TLConstructor_CRC32_updateNewStickerSet                      TLConstructor = 1753886890
	TLConstructor_CRC32_updateStickerSetsOrder                   TLConstructor = 196268545
	TLConstructor_CRC32_updateStickerSets                        TLConstructor = 1135492588
	TLConstructor_CRC32_updateSavedGifs                          TLConstructor = -1821035490
	TLConstructor_CRC32_updateBotInlineQuery                     TLConstructor = 1417832080
	TLConstructor_CRC32_updateBotInlineSend                      TLConstructor = 239663460
	TLConstructor_CRC32_updateEditChannelMessage                 TLConstructor = 457133559
	TLConstructor_CRC32_updateChannelPinnedMessage               TLConstructor = -1738988427
	TLConstructor_CRC32_updateBotCallbackQuery                   TLConstructor = -415938591
	TLConstructor_CRC32_updateEditMessage                        TLConstructor = -469536605
	TLConstructor_CRC32_updateInlineBotCallbackQuery             TLConstructor = -103646630
	TLConstructor_CRC32_updateReadChannelOutbox                  TLConstructor = 634833351
	TLConstructor_CRC32_updateDraftMessage                       TLConstructor = -299124375
	TLConstructor_CRC32_updateReadFeaturedStickers               TLConstructor = 1461528386
	TLConstructor_CRC32_updateRecentStickers                     TLConstructor = -1706939360
	TLConstructor_CRC32_updateConfig                             TLConstructor = -1574314746
	TLConstructor_CRC32_updatePtsChanged                         TLConstructor = 861169551
	TLConstructor_CRC32_updateChannelWebPage                     TLConstructor = 1081547008
	TLConstructor_CRC32_updateDialogPinned                       TLConstructor = -686710068
	TLConstructor_CRC32_updatePinnedDialogs                      TLConstructor = -657787251
	TLConstructor_CRC32_updateBotWebhookJSON                     TLConstructor = -2095595325
	TLConstructor_CRC32_updateBotWebhookJSONQuery                TLConstructor = -1684914010
	TLConstructor_CRC32_updateBotShippingQuery                   TLConstructor = -523384512
	TLConstructor_CRC32_updateBotPrecheckoutQuery                TLConstructor = 1563376297
	TLConstructor_CRC32_updatePhoneCall                          TLConstructor = -1425052898
	TLConstructor_CRC32_updateLangPackTooLong                    TLConstructor = 281165899
	TLConstructor_CRC32_updateLangPack                           TLConstructor = 1442983757
	TLConstructor_CRC32_updateFavedStickers                      TLConstructor = -451831443
	TLConstructor_CRC32_updateChannelReadMessagesContents        TLConstructor = -1987495099
	TLConstructor_CRC32_updateContactsReset                      TLConstructor = 1887741886
	TLConstructor_CRC32_updateChannelAvailableMessages           TLConstructor = 1893427255
	TLConstructor_CRC32_updates_state                            TLConstructor = -1519637954
	TLConstructor_CRC32_updates_differenceEmpty                  TLConstructor = 1567990072
	TLConstructor_CRC32_updates_difference                       TLConstructor = 16030880
	TLConstructor_CRC32_updates_differenceSlice                  TLConstructor = -1459938943
	TLConstructor_CRC32_updates_differenceTooLong                TLConstructor = 1258196845
	TLConstructor_CRC32_updatesTooLong                           TLConstructor = -484987010
	TLConstructor_CRC32_updateShortMessage                       TLConstructor = -1857044719
	TLConstructor_CRC32_updateShortChatMessage                   TLConstructor = 377562760
	TLConstructor_CRC32_updateShort                              TLConstructor = 2027216577
	TLConstructor_CRC32_updatesCombined                          TLConstructor = 1918567619
	TLConstructor_CRC32_updates                                  TLConstructor = 1957577280
	TLConstructor_CRC32_updateShortSentMessage                   TLConstructor = 301019932
	TLConstructor_CRC32_photos_photos                            TLConstructor = -1916114267
	TLConstructor_CRC32_photos_photosSlice                       TLConstructor = 352657236
	TLConstructor_CRC32_photos_photo                             TLConstructor = 539045032
	TLConstructor_CRC32_upload_file                              TLConstructor = 157948117
	TLConstructor_CRC32_upload_fileCdnRedirect                   TLConstructor = -363659686
	TLConstructor_CRC32_dcOption                                 TLConstructor = 98092748
	TLConstructor_CRC32_config                                   TLConstructor = -1669068444
	TLConstructor_CRC32_nearestDc                                TLConstructor = -1910892683
	TLConstructor_CRC32_help_appUpdate                           TLConstructor = -1987579119
	TLConstructor_CRC32_help_noAppUpdate                         TLConstructor = -1000708810
	TLConstructor_CRC32_help_inviteText                          TLConstructor = 415997816
	TLConstructor_CRC32_encryptedChatEmpty                       TLConstructor = -1417756512
	TLConstructor_CRC32_encryptedChatWaiting                     TLConstructor = 1006044124
	TLConstructor_CRC32_encryptedChatRequested                   TLConstructor = -931638658
	TLConstructor_CRC32_encryptedChat                            TLConstructor = -94974410
	TLConstructor_CRC32_encryptedChatDiscarded                   TLConstructor = 332848423
	TLConstructor_CRC32_inputEncryptedChat                       TLConstructor = -247351839
	TLConstructor_CRC32_encryptedFileEmpty                       TLConstructor = -1038136962
	TLConstructor_CRC32_encryptedFile                            TLConstructor = 1248893260
	TLConstructor_CRC32_inputEncryptedFileEmpty                  TLConstructor = 406307684
	TLConstructor_CRC32_inputEncryptedFileUploaded               TLConstructor = 1690108678
	TLConstructor_CRC32_inputEncryptedFile                       TLConstructor = 1511503333
	TLConstructor_CRC32_inputEncryptedFileBigUploaded            TLConstructor = 767652808
	TLConstructor_CRC32_encryptedMessage                         TLConstructor = -317144808
	TLConstructor_CRC32_encryptedMessageService                  TLConstructor = 594758406
	TLConstructor_CRC32_messages_dhConfigNotModified             TLConstructor = -1058912715
	TLConstructor_CRC32_messages_dhConfig                        TLConstructor = 740433629
	TLConstructor_CRC32_messages_sentEncryptedMessage            TLConstructor = 1443858741
	TLConstructor_CRC32_messages_sentEncryptedFile               TLConstructor = -1802240206
	TLConstructor_CRC32_inputDocumentEmpty                       TLConstructor = 1928391342
	TLConstructor_CRC32_inputDocument                            TLConstructor = 410618194
	TLConstructor_CRC32_documentEmpty                            TLConstructor = 922273905
	TLConstructor_CRC32_document                                 TLConstructor = -2027738169
	TLConstructor_CRC32_help_support                             TLConstructor = 398898678
	TLConstructor_CRC32_notifyPeer                               TLConstructor = -1613493288
	TLConstructor_CRC32_notifyUsers                              TLConstructor = -1261946036
	TLConstructor_CRC32_notifyChats                              TLConstructor = -1073230141
	TLConstructor_CRC32_notifyAll                                TLConstructor = 1959820384
	TLConstructor_CRC32_sendMessageTypingAction                  TLConstructor = 381645902
	TLConstructor_CRC32_sendMessageCancelAction                  TLConstructor = -44119819
	TLConstructor_CRC32_sendMessageRecordVideoAction             TLConstructor = -1584933265
	TLConstructor_CRC32_sendMessageUploadVideoAction             TLConstructor = -378127636
	TLConstructor_CRC32_sendMessageRecordAudioAction             TLConstructor = -718310409
	TLConstructor_CRC32_sendMessageUploadAudioAction             TLConstructor = -212740181
	TLConstructor_CRC32_sendMessageUploadPhotoAction             TLConstructor = -774682074
	TLConstructor_CRC32_sendMessageUploadDocumentAction          TLConstructor = -1441998364
	TLConstructor_CRC32_sendMessageGeoLocationAction             TLConstructor = 393186209
	TLConstructor_CRC32_sendMessageChooseContactAction           TLConstructor = 1653390447
	TLConstructor_CRC32_sendMessageGamePlayAction                TLConstructor = -580219064
	TLConstructor_CRC32_sendMessageRecordRoundAction             TLConstructor = -1997373508
	TLConstructor_CRC32_sendMessageUploadRoundAction             TLConstructor = 608050278
	TLConstructor_CRC32_contacts_found                           TLConstructor = 446822276
	TLConstructor_CRC32_contacts_foundLayer74                    TLConstructor = -1290580579
	TLConstructor_CRC32_inputPrivacyKeyStatusTimestamp           TLConstructor = 1335282456
	TLConstructor_CRC32_inputPrivacyKeyChatInvite                TLConstructor = -1107622874
	TLConstructor_CRC32_inputPrivacyKeyPhoneCall                 TLConstructor = -88417185
	TLConstructor_CRC32_privacyKeyStatusTimestamp                TLConstructor = -1137792208
	TLConstructor_CRC32_privacyKeyChatInvite                     TLConstructor = 1343122938
	TLConstructor_CRC32_privacyKeyPhoneCall                      TLConstructor = 1030105979
	TLConstructor_CRC32_inputPrivacyValueAllowContacts           TLConstructor = 218751099
	TLConstructor_CRC32_inputPrivacyValueAllowAll                TLConstructor = 407582158
	TLConstructor_CRC32_inputPrivacyValueAllowUsers              TLConstructor = 320652927
	TLConstructor_CRC32_inputPrivacyValueDisallowContacts        TLConstructor = 195371015
	TLConstructor_CRC32_inputPrivacyValueDisallowAll             TLConstructor = -697604407
	TLConstructor_CRC32_inputPrivacyValueDisallowUsers           TLConstructor = -1877932953
	TLConstructor_CRC32_privacyValueAllowContacts                TLConstructor = -123988
	TLConstructor_CRC32_privacyValueAllowAll                     TLConstructor = 1698855810
	TLConstructor_CRC32_privacyValueAllowUsers                   TLConstructor = 1297858060
	TLConstructor_CRC32_privacyValueDisallowContacts             TLConstructor = -125240806
	TLConstructor_CRC32_privacyValueDisallowAll                  TLConstructor = -1955338397
	TLConstructor_CRC32_privacyValueDisallowUsers                TLConstructor = 209668535
	TLConstructor_CRC32_account_privacyRules                     TLConstructor = 1430961007
	TLConstructor_CRC32_accountDaysTTL                           TLConstructor = -1194283041
	TLConstructor_CRC32_documentAttributeImageSize               TLConstructor = 1815593308
	TLConstructor_CRC32_documentAttributeAnimated                TLConstructor = 297109817
	TLConstructor_CRC32_documentAttributeSticker                 TLConstructor = 1662637586
	TLConstructor_CRC32_documentAttributeVideo                   TLConstructor = 250621158
	TLConstructor_CRC32_documentAttributeAudio                   TLConstructor = -1739392570
	TLConstructor_CRC32_documentAttributeFilename                TLConstructor = 358154344
	TLConstructor_CRC32_documentAttributeHasStickers             TLConstructor = -1744710921
	TLConstructor_CRC32_messages_stickersNotModified             TLConstructor = -244016606
	TLConstructor_CRC32_messages_stickers                        TLConstructor = -1970352846
	TLConstructor_CRC32_stickerPack                              TLConstructor = 313694676
	TLConstructor_CRC32_messages_allStickersNotModified          TLConstructor = -395967805
	TLConstructor_CRC32_messages_allStickers                     TLConstructor = -302170017
	TLConstructor_CRC32_disabledFeature                          TLConstructor = -1369215196
	TLConstructor_CRC32_messages_affectedMessages                TLConstructor = -2066640507
	TLConstructor_CRC32_contactLinkUnknown                       TLConstructor = 1599050311
	TLConstructor_CRC32_contactLinkNone                          TLConstructor = -17968211
	TLConstructor_CRC32_contactLinkHasPhone                      TLConstructor = 646922073
	TLConstructor_CRC32_contactLinkContact                       TLConstructor = -721239344
	TLConstructor_CRC32_webPageEmpty                             TLConstructor = -350980120
	TLConstructor_CRC32_webPagePending                           TLConstructor = -981018084
	TLConstructor_CRC32_webPage                                  TLConstructor = 1594340540
	TLConstructor_CRC32_webPageNotModified                       TLConstructor = -2054908813
	TLConstructor_CRC32_authorization                            TLConstructor = 2079516406
	TLConstructor_CRC32_account_authorizations                   TLConstructor = 307276766
	TLConstructor_CRC32_account_noPassword                       TLConstructor = -1764049896
	TLConstructor_CRC32_account_password                         TLConstructor = 2081952796
	TLConstructor_CRC32_account_passwordSettings                 TLConstructor = -1212732749
	TLConstructor_CRC32_account_passwordInputSettings            TLConstructor = -2037289493
	TLConstructor_CRC32_auth_passwordRecovery                    TLConstructor = 326715557
	TLConstructor_CRC32_receivedNotifyMessage                    TLConstructor = -1551583367
	TLConstructor_CRC32_chatInviteEmpty                          TLConstructor = 1776236393
	TLConstructor_CRC32_chatInviteExported                       TLConstructor = -64092740
	TLConstructor_CRC32_chatInviteAlready                        TLConstructor = 1516793212
	TLConstructor_CRC32_chatInvite                               TLConstructor = -613092008
	TLConstructor_CRC32_inputStickerSetEmpty                     TLConstructor = -4838507
	TLConstructor_CRC32_inputStickerSetID                        TLConstructor = -1645763991
	TLConstructor_CRC32_inputStickerSetShortName                 TLConstructor = -2044933984
	TLConstructor_CRC32_stickerSet                               TLConstructor = -852477119
	TLConstructor_CRC32_messages_stickerSet                      TLConstructor = -1240849242
	TLConstructor_CRC32_botCommand                               TLConstructor = -1032140601
	TLConstructor_CRC32_botInfo                                  TLConstructor = -1729618630
	TLConstructor_CRC32_keyboardButton                           TLConstructor = -1560655744
	TLConstructor_CRC32_keyboardButtonUrl                        TLConstructor = 629866245
	TLConstructor_CRC32_keyboardButtonCallback                   TLConstructor = 1748655686
	TLConstructor_CRC32_keyboardButtonRequestPhone               TLConstructor = -1318425559
	TLConstructor_CRC32_keyboardButtonRequestGeoLocation         TLConstructor = -59151553
	TLConstructor_CRC32_keyboardButtonSwitchInline               TLConstructor = 90744648
	TLConstructor_CRC32_keyboardButtonGame                       TLConstructor = 1358175439
	TLConstructor_CRC32_keyboardButtonBuy                        TLConstructor = -1344716869
	TLConstructor_CRC32_keyboardButtonRow                        TLConstructor = 2002815875
	TLConstructor_CRC32_replyKeyboardHide                        TLConstructor = -1606526075
	TLConstructor_CRC32_replyKeyboardForceReply                  TLConstructor = -200242528
	TLConstructor_CRC32_replyKeyboardMarkup                      TLConstructor = 889353612
	TLConstructor_CRC32_replyInlineMarkup                        TLConstructor = 1218642516
	TLConstructor_CRC32_messageEntityUnknown                     TLConstructor = -1148011883
	TLConstructor_CRC32_messageEntityMention                     TLConstructor = -100378723
	TLConstructor_CRC32_messageEntityHashtag                     TLConstructor = 1868782349
	TLConstructor_CRC32_messageEntityBotCommand                  TLConstructor = 1827637959
	TLConstructor_CRC32_messageEntityUrl                         TLConstructor = 1859134776
	TLConstructor_CRC32_messageEntityEmail                       TLConstructor = 1692693954
	TLConstructor_CRC32_messageEntityBold                        TLConstructor = -1117713463
	TLConstructor_CRC32_messageEntityItalic                      TLConstructor = -2106619040
	TLConstructor_CRC32_messageEntityCode                        TLConstructor = 681706865
	TLConstructor_CRC32_messageEntityPre                         TLConstructor = 1938967520
	TLConstructor_CRC32_messageEntityTextUrl                     TLConstructor = 1990644519
	TLConstructor_CRC32_messageEntityMentionName                 TLConstructor = 892193368
	TLConstructor_CRC32_inputMessageEntityMentionName            TLConstructor = 546203849
	TLConstructor_CRC32_inputChannelEmpty                        TLConstructor = -292807034
	TLConstructor_CRC32_inputChannel                             TLConstructor = -1343524562
	TLConstructor_CRC32_contacts_resolvedPeer                    TLConstructor = 2131196633
	TLConstructor_CRC32_messageRange                             TLConstructor = 182649427
	TLConstructor_CRC32_updates_channelDifferenceEmpty           TLConstructor = 1041346555
	TLConstructor_CRC32_updates_channelDifferenceTooLong         TLConstructor = 1788705589
	TLConstructor_CRC32_updates_channelDifference                TLConstructor = 543450958
	TLConstructor_CRC32_channelMessagesFilterEmpty               TLConstructor = -1798033689
	TLConstructor_CRC32_channelMessagesFilter                    TLConstructor = -847783593
	TLConstructor_CRC32_channelParticipant                       TLConstructor = 367766557
	TLConstructor_CRC32_channelParticipantSelf                   TLConstructor = -1557620115
	TLConstructor_CRC32_channelParticipantCreator                TLConstructor = -471670279
	TLConstructor_CRC32_channelParticipantAdmin                  TLConstructor = -1473271656
	TLConstructor_CRC32_channelParticipantBanned                 TLConstructor = 573315206
	TLConstructor_CRC32_channelParticipantsRecent                TLConstructor = -566281095
	TLConstructor_CRC32_channelParticipantsAdmins                TLConstructor = -1268741783
	TLConstructor_CRC32_channelParticipantsKicked                TLConstructor = -1548400251
	TLConstructor_CRC32_channelParticipantsBots                  TLConstructor = -1328445861
	TLConstructor_CRC32_channelParticipantsBanned                TLConstructor = 338142689
	TLConstructor_CRC32_channelParticipantsSearch                TLConstructor = 106343499
	TLConstructor_CRC32_channels_channelParticipants             TLConstructor = -177282392
	TLConstructor_CRC32_channels_channelParticipantsNotModified  TLConstructor = -266911767
	TLConstructor_CRC32_channels_channelParticipant              TLConstructor = -791039645
	TLConstructor_CRC32_help_termsOfService                      TLConstructor = -236044656
	TLConstructor_CRC32_foundGif                                 TLConstructor = 372165663
	TLConstructor_CRC32_foundGifCached                           TLConstructor = -1670052855
	TLConstructor_CRC32_messages_foundGifs                       TLConstructor = 1158290442
	TLConstructor_CRC32_messages_savedGifsNotModified            TLConstructor = -402498398
	TLConstructor_CRC32_messages_savedGifs                       TLConstructor = 772213157
	TLConstructor_CRC32_inputBotInlineMessageMediaAuto           TLConstructor = 691006739
	TLConstructor_CRC32_inputBotInlineMessageText                TLConstructor = 1036876423
	TLConstructor_CRC32_inputBotInlineMessageMediaGeo            TLConstructor = -1045340827
	TLConstructor_CRC32_inputBotInlineMessageMediaVenue          TLConstructor = -1431327288
	TLConstructor_CRC32_inputBotInlineMessageMediaContact        TLConstructor = 766443943
	TLConstructor_CRC32_inputBotInlineMessageGame                TLConstructor = 1262639204
	TLConstructor_CRC32_inputBotInlineResult                     TLConstructor = 750510426
	TLConstructor_CRC32_inputBotInlineResultPhoto                TLConstructor = -1462213465
	TLConstructor_CRC32_inputBotInlineResultDocument             TLConstructor = -459324
	TLConstructor_CRC32_inputBotInlineResultGame                 TLConstructor = 1336154098
	TLConstructor_CRC32_botInlineMessageMediaAuto                TLConstructor = 175419739
	TLConstructor_CRC32_botInlineMessageText                     TLConstructor = -1937807902
	TLConstructor_CRC32_botInlineMessageMediaGeo                 TLConstructor = -1222451611
	TLConstructor_CRC32_botInlineMessageMediaVenue               TLConstructor = 1130767150
	TLConstructor_CRC32_botInlineMessageMediaContact             TLConstructor = 904770772
	TLConstructor_CRC32_botInlineResult                          TLConstructor = -1679053127
	TLConstructor_CRC32_botInlineMediaResult                     TLConstructor = 400266251
	TLConstructor_CRC32_messages_botResults                      TLConstructor = -1803769784
	TLConstructor_CRC32_exportedMessageLink                      TLConstructor = 524838915
	TLConstructor_CRC32_exportedMessageLinkLayer74               TLConstructor = 1571494644
	TLConstructor_CRC32_messageFwdHeader                         TLConstructor = 1436466797
	TLConstructor_CRC32_auth_codeTypeSms                         TLConstructor = 1923290508
	TLConstructor_CRC32_auth_codeTypeCall                        TLConstructor = 1948046307
	TLConstructor_CRC32_auth_codeTypeFlashCall                   TLConstructor = 577556219
	TLConstructor_CRC32_auth_sentCodeTypeApp                     TLConstructor = 1035688326
	TLConstructor_CRC32_auth_sentCodeTypeSms                     TLConstructor = -1073693790
	TLConstructor_CRC32_auth_sentCodeTypeCall                    TLConstructor = 1398007207
	TLConstructor_CRC32_auth_sentCodeTypeFlashCall               TLConstructor = -1425815847
	TLConstructor_CRC32_messages_botCallbackAnswer               TLConstructor = 911761060
	TLConstructor_CRC32_messages_messageEditData                 TLConstructor = 649453030
	TLConstructor_CRC32_inputBotInlineMessageID                  TLConstructor = -1995686519
	TLConstructor_CRC32_inlineBotSwitchPM                        TLConstructor = 1008755359
	TLConstructor_CRC32_messages_peerDialogs                     TLConstructor = 863093588
	TLConstructor_CRC32_topPeer                                  TLConstructor = -305282981
	TLConstructor_CRC32_topPeerCategoryBotsPM                    TLConstructor = -1419371685
	TLConstructor_CRC32_topPeerCategoryBotsInline                TLConstructor = 344356834
	TLConstructor_CRC32_topPeerCategoryCorrespondents            TLConstructor = 104314861
	TLConstructor_CRC32_topPeerCategoryGroups                    TLConstructor = -1122524854
	TLConstructor_CRC32_topPeerCategoryChannels                  TLConstructor = 371037736
	TLConstructor_CRC32_topPeerCategoryPhoneCalls                TLConstructor = 511092620
	TLConstructor_CRC32_topPeerCategoryPeers                     TLConstructor = -75283823
	TLConstructor_CRC32_contacts_topPeersNotModified             TLConstructor = -567906571
	TLConstructor_CRC32_contacts_topPeers                        TLConstructor = 1891070632
	TLConstructor_CRC32_draftMessageEmpty                        TLConstructor = -1169445179
	TLConstructor_CRC32_draftMessage                             TLConstructor = -40996577
	TLConstructor_CRC32_messages_featuredStickersNotModified     TLConstructor = 82699215
	TLConstructor_CRC32_messages_featuredStickers                TLConstructor = -123893531
	TLConstructor_CRC32_messages_recentStickersNotModified       TLConstructor = 186120336
	TLConstructor_CRC32_messages_recentStickers                  TLConstructor = 1558317424
	TLConstructor_CRC32_messages_archivedStickers                TLConstructor = 1338747336
	TLConstructor_CRC32_messages_stickerSetInstallResultSuccess  TLConstructor = 946083368
	TLConstructor_CRC32_messages_stickerSetInstallResultArchive  TLConstructor = 904138920
	TLConstructor_CRC32_stickerSetCovered                        TLConstructor = 1678812626
	TLConstructor_CRC32_stickerSetMultiCovered                   TLConstructor = 872932635
	TLConstructor_CRC32_maskCoords                               TLConstructor = -1361650766
	TLConstructor_CRC32_inputStickeredMediaPhoto                 TLConstructor = 1251549527
	TLConstructor_CRC32_inputStickeredMediaDocument              TLConstructor = 70813275
	TLConstructor_CRC32_game                                     TLConstructor = -1107729093
	TLConstructor_CRC32_inputGameID                              TLConstructor = 53231223
	TLConstructor_CRC32_inputGameShortName                       TLConstructor = -1020139510
	TLConstructor_CRC32_highScore                                TLConstructor = 1493171408
	TLConstructor_CRC32_messages_highScores                      TLConstructor = -1707344487
	TLConstructor_CRC32_textEmpty                                TLConstructor = -599948721
	TLConstructor_CRC32_textPlain                                TLConstructor = 1950782688
	TLConstructor_CRC32_textBold                                 TLConstructor = 1730456516
	TLConstructor_CRC32_textItalic                               TLConstructor = -653089380
	TLConstructor_CRC32_textUnderline                            TLConstructor = -1054465340
	TLConstructor_CRC32_textStrike                               TLConstructor = -1678197867
	TLConstructor_CRC32_textFixed                                TLConstructor = 1816074681
	TLConstructor_CRC32_textUrl                                  TLConstructor = 1009288385
	TLConstructor_CRC32_textEmail                                TLConstructor = -564523562
	TLConstructor_CRC32_textConcat                               TLConstructor = 2120376535
	TLConstructor_CRC32_pageBlockUnsupported                     TLConstructor = 324435594
	TLConstructor_CRC32_pageBlockTitle                           TLConstructor = 1890305021
	TLConstructor_CRC32_pageBlockSubtitle                        TLConstructor = -1879401953
	TLConstructor_CRC32_pageBlockAuthorDate                      TLConstructor = -1162877472
	TLConstructor_CRC32_pageBlockHeader                          TLConstructor = -1076861716
	TLConstructor_CRC32_pageBlockSubheader                       TLConstructor = -248793375
	TLConstructor_CRC32_pageBlockParagraph                       TLConstructor = 1182402406
	TLConstructor_CRC32_pageBlockPreformatted                    TLConstructor = -1066346178
	TLConstructor_CRC32_pageBlockFooter                          TLConstructor = 1216809369
	TLConstructor_CRC32_pageBlockDivider                         TLConstructor = -618614392
	TLConstructor_CRC32_pageBlockAnchor                          TLConstructor = -837994576
	TLConstructor_CRC32_pageBlockList                            TLConstructor = 978896884
	TLConstructor_CRC32_pageBlockBlockquote                      TLConstructor = 641563686
	TLConstructor_CRC32_pageBlockPullquote                       TLConstructor = 1329878739
	TLConstructor_CRC32_pageBlockPhoto                           TLConstructor = -372860542
	TLConstructor_CRC32_pageBlockVideo                           TLConstructor = -640214938
	TLConstructor_CRC32_pageBlockCover                           TLConstructor = 972174080
	TLConstructor_CRC32_pageBlockEmbed                           TLConstructor = -840826671
	TLConstructor_CRC32_pageBlockEmbedPost                       TLConstructor = 690781161
	TLConstructor_CRC32_pageBlockCollage                         TLConstructor = 145955919
	TLConstructor_CRC32_pageBlockSlideshow                       TLConstructor = 319588707
	TLConstructor_CRC32_pageBlockChannel                         TLConstructor = -283684427
	TLConstructor_CRC32_pageBlockAudio                           TLConstructor = 834148991
	TLConstructor_CRC32_pagePart                                 TLConstructor = -1908433218
	TLConstructor_CRC32_pageFull                                 TLConstructor = 1433323434
	TLConstructor_CRC32_phoneCallDiscardReasonMissed             TLConstructor = -2048646399
	TLConstructor_CRC32_phoneCallDiscardReasonDisconnect         TLConstructor = -527056480
	TLConstructor_CRC32_phoneCallDiscardReasonHangup             TLConstructor = 1471006352
	TLConstructor_CRC32_phoneCallDiscardReasonBusy               TLConstructor = -84416311
	TLConstructor_CRC32_dataJSON                                 TLConstructor = 2104790276
	TLConstructor_CRC32_labeledPrice                             TLConstructor = -886477832
	TLConstructor_CRC32_invoice                                  TLConstructor = -1022713000
	TLConstructor_CRC32_paymentCharge                            TLConstructor = -368917890
	TLConstructor_CRC32_postAddress                              TLConstructor = 512535275
	TLConstructor_CRC32_paymentRequestedInfo                     TLConstructor = -1868808300
	TLConstructor_CRC32_paymentSavedCredentialsCard              TLConstructor = -842892769
	TLConstructor_CRC32_webDocument                              TLConstructor = -971322408
	TLConstructor_CRC32_inputWebDocument                         TLConstructor = -1678949555
	TLConstructor_CRC32_inputWebFileLocation                     TLConstructor = -1036396922
	TLConstructor_CRC32_upload_webFile                           TLConstructor = 568808380
	TLConstructor_CRC32_payments_paymentForm                     TLConstructor = 1062645411
	TLConstructor_CRC32_payments_validatedRequestedInfo          TLConstructor = -784000893
	TLConstructor_CRC32_payments_paymentResult                   TLConstructor = 1314881805
	TLConstructor_CRC32_payments_paymentVerficationNeeded        TLConstructor = 1800845601
	TLConstructor_CRC32_payments_paymentReceipt                  TLConstructor = 1342771681
	TLConstructor_CRC32_payments_savedInfo                       TLConstructor = -74456004
	TLConstructor_CRC32_inputPaymentCredentialsSaved             TLConstructor = -1056001329
	TLConstructor_CRC32_inputPaymentCredentials                  TLConstructor = 873977640
	TLConstructor_CRC32_inputPaymentCredentialsApplePay          TLConstructor = 178373535
	TLConstructor_CRC32_inputPaymentCredentialsAndroidPay        TLConstructor = 2035705766
	TLConstructor_CRC32_inputPaymentCredentialsAndroidPayLayer74 TLConstructor = -905587442
	TLConstructor_CRC32_account_tmpPassword                      TLConstructor = -614138572
	TLConstructor_CRC32_shippingOption                           TLConstructor = -1239335713
	TLConstructor_CRC32_inputStickerSetItem                      TLConstructor = -6249322
	TLConstructor_CRC32_inputPhoneCall                           TLConstructor = 506920429
	TLConstructor_CRC32_phoneCallEmpty                           TLConstructor = 1399245077
	TLConstructor_CRC32_phoneCallWaiting                         TLConstructor = 462375633
	TLConstructor_CRC32_phoneCallRequested                       TLConstructor = -2089411356
	TLConstructor_CRC32_phoneCallAccepted                        TLConstructor = 1828732223
	TLConstructor_CRC32_phoneCall                                TLConstructor = -1660057
	TLConstructor_CRC32_phoneCallDiscarded                       TLConstructor = 1355435489
	TLConstructor_CRC32_phoneConnection                          TLConstructor = -1655957568
	TLConstructor_CRC32_phoneCallProtocol                        TLConstructor = -1564789301
	TLConstructor_CRC32_phone_phoneCall                          TLConstructor = -326966976
	TLConstructor_CRC32_upload_cdnFileReuploadNeeded             TLConstructor = -290921362
	TLConstructor_CRC32_upload_cdnFile                           TLConstructor = -1449145777
	TLConstructor_CRC32_cdnPublicKey                             TLConstructor = -914167110
	TLConstructor_CRC32_cdnConfig                                TLConstructor = 1462101002
	TLConstructor_CRC32_langPackString                           TLConstructor = -892239370
	TLConstructor_CRC32_langPackStringPluralized                 TLConstructor = 1816636575
	TLConstructor_CRC32_langPackStringDeleted                    TLConstructor = 695856818
	TLConstructor_CRC32_langPackDifference                       TLConstructor = -209337866
	TLConstructor_CRC32_langPackLanguage                         TLConstructor = 292985073
	TLConstructor_CRC32_channelAdminRights                       TLConstructor = 1568467877
	// CRC32_channelAdminRightsLayer74 = 1568467877;
	TLConstructor_CRC32_channelBannedRights                              TLConstructor = 1489977929
	TLConstructor_CRC32_channelAdminLogEventActionChangeTitle            TLConstructor = -421545947
	TLConstructor_CRC32_channelAdminLogEventActionChangeAbout            TLConstructor = 1427671598
	TLConstructor_CRC32_channelAdminLogEventActionChangeUsername         TLConstructor = 1783299128
	TLConstructor_CRC32_channelAdminLogEventActionChangePhoto            TLConstructor = -1204857405
	TLConstructor_CRC32_channelAdminLogEventActionToggleInvites          TLConstructor = 460916654
	TLConstructor_CRC32_channelAdminLogEventActionToggleSignatures       TLConstructor = 648939889
	TLConstructor_CRC32_channelAdminLogEventActionUpdatePinned           TLConstructor = -370660328
	TLConstructor_CRC32_channelAdminLogEventActionEditMessage            TLConstructor = 1889215493
	TLConstructor_CRC32_channelAdminLogEventActionDeleteMessage          TLConstructor = 1121994683
	TLConstructor_CRC32_channelAdminLogEventActionParticipantJoin        TLConstructor = 405815507
	TLConstructor_CRC32_channelAdminLogEventActionParticipantLeave       TLConstructor = -124291086
	TLConstructor_CRC32_channelAdminLogEventActionParticipantInvite      TLConstructor = -484690728
	TLConstructor_CRC32_channelAdminLogEventActionParticipantToggleBan   TLConstructor = -422036098
	TLConstructor_CRC32_channelAdminLogEventActionParticipantToggleAdmin TLConstructor = -714643696
	TLConstructor_CRC32_channelAdminLogEventActionChangeStickerSet       TLConstructor = -1312568665
	TLConstructor_CRC32_channelAdminLogEventActionTogglePreHistoryHidden TLConstructor = 1599903217
	TLConstructor_CRC32_channelAdminLogEvent                             TLConstructor = 995769920
	TLConstructor_CRC32_channels_adminLogResults                         TLConstructor = -309659827
	TLConstructor_CRC32_channelAdminLogEventsFilter                      TLConstructor = -368018716
	TLConstructor_CRC32_popularContact                                   TLConstructor = 1558266229
	TLConstructor_CRC32_cdnFileHash                                      TLConstructor = 2012136335
	TLConstructor_CRC32_messages_favedStickersNotModified                TLConstructor = -1634752813
	TLConstructor_CRC32_messages_favedStickers                           TLConstructor = -209768682
	TLConstructor_CRC32_recentMeUrlUnknown                               TLConstructor = 1189204285
	TLConstructor_CRC32_recentMeUrlUser                                  TLConstructor = -1917045962
	TLConstructor_CRC32_recentMeUrlChat                                  TLConstructor = -1608834311
	TLConstructor_CRC32_recentMeUrlChatInvite                            TLConstructor = -347535331
	TLConstructor_CRC32_recentMeUrlStickerSet                            TLConstructor = -1140172836
	TLConstructor_CRC32_help_recentMeUrls                                TLConstructor = 235081943
	TLConstructor_CRC32_inputSingleMedia                                 TLConstructor = 1588230153
	TLConstructor_CRC32_invokeAfterMsg                                   TLConstructor = -878758099
	TLConstructor_CRC32_invokeAfterMsgs                                  TLConstructor = 1036301552
	TLConstructor_CRC32_initConnection                                   TLConstructor = -951575130
	TLConstructor_CRC32_invokeWithLayer                                  TLConstructor = -627372787
	TLConstructor_CRC32_invokeWithoutUpdates                             TLConstructor = -1080796745
	TLConstructor_CRC32_auth_checkPhone                                  TLConstructor = 1877286395
	TLConstructor_CRC32_auth_sendCode                                    TLConstructor = -2035355412
	TLConstructor_CRC32_auth_sendCodeLayer51                             TLConstructor = -855805745
	TLConstructor_CRC32_auth_signUp                                      TLConstructor = 453408308
	TLConstructor_CRC32_auth_signIn                                      TLConstructor = -1126886015
	TLConstructor_CRC32_auth_logOut                                      TLConstructor = 1461180992
	TLConstructor_CRC32_auth_resetAuthorizations                         TLConstructor = -1616179942
	TLConstructor_CRC32_auth_sendInvites                                 TLConstructor = 1998331287
	TLConstructor_CRC32_auth_exportAuthorization                         TLConstructor = -440401971
	TLConstructor_CRC32_auth_importAuthorization                         TLConstructor = -470837741
	TLConstructor_CRC32_auth_bindTempAuthKey                             TLConstructor = -841733627
	TLConstructor_CRC32_auth_importBotAuthorization                      TLConstructor = 1738800940
	TLConstructor_CRC32_auth_checkPassword                               TLConstructor = 174260510
	TLConstructor_CRC32_auth_requestPasswordRecovery                     TLConstructor = -661144474
	TLConstructor_CRC32_auth_recoverPassword                             TLConstructor = 1319464594
	TLConstructor_CRC32_auth_resendCode                                  TLConstructor = 1056025023
	TLConstructor_CRC32_auth_cancelCode                                  TLConstructor = 520357240
	TLConstructor_CRC32_auth_dropTempAuthKeys                            TLConstructor = -1907842680
	TLConstructor_CRC32_account_registerDevice                           TLConstructor = 1669245048
	TLConstructor_CRC32_account_registerDeviceLayer74                    TLConstructor = 1280460
	TLConstructor_CRC32_account_unregisterDevice                         TLConstructor = 1707432768
	TLConstructor_CRC32_account_unregisterDeviceLayer74                  TLConstructor = 813089983
	TLConstructor_CRC32_account_updateNotifySettings                     TLConstructor = -2067899501
	TLConstructor_CRC32_account_getNotifySettings                        TLConstructor = 313765169
	TLConstructor_CRC32_account_resetNotifySettings                      TLConstructor = -612493497
	TLConstructor_CRC32_account_updateProfile                            TLConstructor = 2018596725
	TLConstructor_CRC32_account_updateStatus                             TLConstructor = 1713919532
	TLConstructor_CRC32_account_getWallPapers                            TLConstructor = -1068696894
	TLConstructor_CRC32_account_reportPeer                               TLConstructor = -1374118561
	TLConstructor_CRC32_account_checkUsername                            TLConstructor = 655677548
	TLConstructor_CRC32_account_updateUsername                           TLConstructor = 1040964988
	TLConstructor_CRC32_account_getPrivacy                               TLConstructor = -623130288
	TLConstructor_CRC32_account_setPrivacy                               TLConstructor = -906486552
	TLConstructor_CRC32_account_deleteAccount                            TLConstructor = 1099779595
	TLConstructor_CRC32_account_getAccountTTL                            TLConstructor = 150761757
	TLConstructor_CRC32_account_setAccountTTL                            TLConstructor = 608323678
	TLConstructor_CRC32_account_sendChangePhoneCode                      TLConstructor = 149257707
	TLConstructor_CRC32_account_changePhone                              TLConstructor = 1891839707
	TLConstructor_CRC32_account_updateDeviceLocked                       TLConstructor = 954152242
	TLConstructor_CRC32_account_getAuthorizations                        TLConstructor = -484392616
	TLConstructor_CRC32_account_resetAuthorization                       TLConstructor = -545786948
	TLConstructor_CRC32_account_getPassword                              TLConstructor = 1418342645
	TLConstructor_CRC32_account_getPasswordSettings                      TLConstructor = -1131605573
	TLConstructor_CRC32_account_updatePasswordSettings                   TLConstructor = -92517498
	TLConstructor_CRC32_account_sendConfirmPhoneCode                     TLConstructor = 353818557
	TLConstructor_CRC32_account_confirmPhone                             TLConstructor = 1596029123
	TLConstructor_CRC32_account_getTmpPassword                           TLConstructor = 1250046590
	TLConstructor_CRC32_users_getUsers                                   TLConstructor = 227648840
	TLConstructor_CRC32_users_getFullUser                                TLConstructor = -902781519
	TLConstructor_CRC32_contacts_getStatuses                             TLConstructor = -995929106
	TLConstructor_CRC32_contacts_getContacts                             TLConstructor = -1071414113
	TLConstructor_CRC32_contacts_importContacts                          TLConstructor = 746589157
	TLConstructor_CRC32_contacts_deleteContact                           TLConstructor = -1902823612
	TLConstructor_CRC32_contacts_deleteContacts                          TLConstructor = 1504393374
	TLConstructor_CRC32_contacts_block                                   TLConstructor = 858475004
	TLConstructor_CRC32_contacts_unblock                                 TLConstructor = -448724803
	TLConstructor_CRC32_contacts_getBlocked                              TLConstructor = -176409329
	TLConstructor_CRC32_contacts_exportCard                              TLConstructor = -2065352905
	TLConstructor_CRC32_contacts_importCard                              TLConstructor = 1340184318
	TLConstructor_CRC32_contacts_search                                  TLConstructor = 301470424
	TLConstructor_CRC32_messages_searchLayer68                           TLConstructor = -225926539
	TLConstructor_CRC32_contacts_resolveUsername                         TLConstructor = -113456221
	TLConstructor_CRC32_contacts_getTopPeers                             TLConstructor = -728224331
	TLConstructor_CRC32_contacts_resetTopPeerRating                      TLConstructor = 451113900
	TLConstructor_CRC32_contacts_resetSaved                              TLConstructor = -2020263951
	TLConstructor_CRC32_messages_getMessages                             TLConstructor = 1109588596
	TLConstructor_CRC32_messages_getDialogs                              TLConstructor = 421243333
	TLConstructor_CRC32_messages_getHistory                              TLConstructor = -591691168
	TLConstructor_CRC32_messages_getHistoryLayer71                       TLConstructor = -1347868602
	TLConstructor_CRC32_messages_search                                  TLConstructor = 60726944
	TLConstructor_CRC32_messages_readHistory                             TLConstructor = 238054714
	TLConstructor_CRC32_messages_readHistoryLayer2                       TLConstructor = -1336990448
	TLConstructor_CRC32_messages_deleteHistory                           TLConstructor = 469850889
	TLConstructor_CRC32_messages_deleteMessages                          TLConstructor = -443640366
	TLConstructor_CRC32_messages_receivedMessages                        TLConstructor = 94983360
	TLConstructor_CRC32_messages_setTyping                               TLConstructor = -1551737264
	TLConstructor_CRC32_messages_sendMessage                             TLConstructor = -91733382
	TLConstructor_CRC32_messages_sendMedia                               TLConstructor = -923703407
	TLConstructor_CRC32_messages_forwardMessages                         TLConstructor = 1888354709
	TLConstructor_CRC32_messages_reportSpam                              TLConstructor = -820669733
	TLConstructor_CRC32_messages_hideReportSpam                          TLConstructor = -1460572005
	TLConstructor_CRC32_messages_getPeerSettings                         TLConstructor = 913498268
	TLConstructor_CRC32_messages_getChats                                TLConstructor = 1013621127
	TLConstructor_CRC32_messages_getFullChat                             TLConstructor = 998448230
	TLConstructor_CRC32_messages_editChatTitle                           TLConstructor = -599447467
	TLConstructor_CRC32_messages_editChatPhoto                           TLConstructor = -900957736
	TLConstructor_CRC32_messages_addChatUser                             TLConstructor = -106911223
	TLConstructor_CRC32_messages_deleteChatUser                          TLConstructor = -530505962
	TLConstructor_CRC32_messages_createChat                              TLConstructor = 164303470
	TLConstructor_CRC32_messages_forwardMessage                          TLConstructor = 865483769
	TLConstructor_CRC32_messages_getDhConfig                             TLConstructor = 651135312
	TLConstructor_CRC32_messages_requestEncryption                       TLConstructor = -162681021
	TLConstructor_CRC32_messages_acceptEncryption                        TLConstructor = 1035731989
	TLConstructor_CRC32_messages_discardEncryption                       TLConstructor = -304536635
	TLConstructor_CRC32_messages_setEncryptedTyping                      TLConstructor = 2031374829
	TLConstructor_CRC32_messages_readEncryptedHistory                    TLConstructor = 2135648522
	TLConstructor_CRC32_messages_sendEncrypted                           TLConstructor = -1451792525
	TLConstructor_CRC32_messages_sendEncryptedFile                       TLConstructor = -1701831834
	TLConstructor_CRC32_messages_sendEncryptedService                    TLConstructor = 852769188
	TLConstructor_CRC32_messages_receivedQueue                           TLConstructor = 1436924774
	TLConstructor_CRC32_messages_reportEncryptedSpam                     TLConstructor = 1259113487
	TLConstructor_CRC32_messages_readMessageContents                     TLConstructor = 916930423
	TLConstructor_CRC32_messages_getAllStickers                          TLConstructor = 479598769
	TLConstructor_CRC32_messages_getWebPagePreview                       TLConstructor = 623001124
	TLConstructor_CRC32_messages_exportChatInvite                        TLConstructor = 2106086025
	TLConstructor_CRC32_messages_checkChatInvite                         TLConstructor = 1051570619
	TLConstructor_CRC32_messages_importChatInvite                        TLConstructor = 1817183516
	TLConstructor_CRC32_messages_getStickerSet                           TLConstructor = 639215886
	TLConstructor_CRC32_messages_installStickerSet                       TLConstructor = -946871200
	TLConstructor_CRC32_messages_uninstallStickerSet                     TLConstructor = -110209570
	TLConstructor_CRC32_messages_startBot                                TLConstructor = -421563528
	TLConstructor_CRC32_messages_getMessagesViews                        TLConstructor = -993483427
	TLConstructor_CRC32_messages_toggleChatAdmins                        TLConstructor = -326379039
	TLConstructor_CRC32_messages_editChatAdmin                           TLConstructor = -1444503762
	TLConstructor_CRC32_messages_migrateChat                             TLConstructor = 363051235
	TLConstructor_CRC32_messages_searchGlobal                            TLConstructor = -1640190800
	TLConstructor_CRC32_messages_reorderStickerSets                      TLConstructor = 2016638777
	TLConstructor_CRC32_messages_getDocumentByHash                       TLConstructor = 864953444
	TLConstructor_CRC32_messages_searchGifs                              TLConstructor = -1080395925
	TLConstructor_CRC32_messages_getSavedGifs                            TLConstructor = -2084618926
	TLConstructor_CRC32_messages_saveGif                                 TLConstructor = 846868683
	TLConstructor_CRC32_messages_getInlineBotResults                     TLConstructor = 1364105629
	TLConstructor_CRC32_messages_setInlineBotResults                     TLConstructor = -346119674
	TLConstructor_CRC32_messages_sendInlineBotResult                     TLConstructor = -1318189314
	TLConstructor_CRC32_messages_getMessageEditData                      TLConstructor = -39416522
	TLConstructor_CRC32_messages_editMessage                             TLConstructor = 97630429
	TLConstructor_CRC32_messages_editInlineBotMessage                    TLConstructor = -1327463869
	TLConstructor_CRC32_messages_getBotCallbackAnswer                    TLConstructor = -2130010132
	TLConstructor_CRC32_messages_setBotCallbackAnswer                    TLConstructor = -712043766
	TLConstructor_CRC32_messages_getPeerDialogs                          TLConstructor = 764901049
	TLConstructor_CRC32_messages_saveDraft                               TLConstructor = -1137057461
	TLConstructor_CRC32_messages_getAllDrafts                            TLConstructor = 1782549861
	TLConstructor_CRC32_messages_getFeaturedStickers                     TLConstructor = 766298703
	TLConstructor_CRC32_messages_readFeaturedStickers                    TLConstructor = 1527873830
	TLConstructor_CRC32_messages_getRecentStickers                       TLConstructor = 1587647177
	TLConstructor_CRC32_messages_saveRecentSticker                       TLConstructor = 958863608
	TLConstructor_CRC32_messages_clearRecentStickers                     TLConstructor = -1986437075
	TLConstructor_CRC32_messages_getArchivedStickers                     TLConstructor = 1475442322
	TLConstructor_CRC32_messages_getMaskStickers                         TLConstructor = 1706608543
	TLConstructor_CRC32_messages_getAttachedStickers                     TLConstructor = -866424884
	TLConstructor_CRC32_messages_setGameScore                            TLConstructor = -1896289088
	TLConstructor_CRC32_messages_setInlineGameScore                      TLConstructor = 363700068
	TLConstructor_CRC32_messages_getGameHighScores                       TLConstructor = -400399203
	TLConstructor_CRC32_messages_getInlineGameHighScores                 TLConstructor = 258170395
	TLConstructor_CRC32_messages_getCommonChats                          TLConstructor = 218777796
	TLConstructor_CRC32_messages_getAllChats                             TLConstructor = -341307408
	TLConstructor_CRC32_messages_getWebPage                              TLConstructor = 852135825
	TLConstructor_CRC32_messages_toggleDialogPin                         TLConstructor = 847887978
	TLConstructor_CRC32_messages_reorderPinnedDialogs                    TLConstructor = -1784678844
	TLConstructor_CRC32_messages_getPinnedDialogs                        TLConstructor = -497756594
	TLConstructor_CRC32_messages_setBotShippingResults                   TLConstructor = -436833542
	TLConstructor_CRC32_messages_setBotPrecheckoutResults                TLConstructor = 163765653
	TLConstructor_CRC32_messages_uploadMedia                             TLConstructor = 1369162417
	TLConstructor_CRC32_messages_sendScreenshotNotification              TLConstructor = -914493408
	TLConstructor_CRC32_messages_getFavedStickers                        TLConstructor = 567151374
	TLConstructor_CRC32_messages_faveSticker                             TLConstructor = -1174420133
	TLConstructor_CRC32_messages_getUnreadMentions                       TLConstructor = 1180140658
	TLConstructor_CRC32_messages_readMentions                            TLConstructor = 251759059
	TLConstructor_CRC32_messages_getRecentLocations                      TLConstructor = 613691874
	TLConstructor_CRC32_messages_sendMultiMedia                          TLConstructor = 546656559
	TLConstructor_CRC32_messages_uploadEncryptedFile                     TLConstructor = 1347929239
	TLConstructor_CRC32_updates_getState                                 TLConstructor = -304838614
	TLConstructor_CRC32_updates_getDifference                            TLConstructor = 630429265
	TLConstructor_CRC32_updates_getChannelDifference                     TLConstructor = 51854712
	TLConstructor_CRC32_photos_updateProfilePhoto                        TLConstructor = -256159406
	TLConstructor_CRC32_photos_uploadProfilePhoto                        TLConstructor = 1328726168
	TLConstructor_CRC32_photos_deletePhotos                              TLConstructor = -2016444625
	TLConstructor_CRC32_photos_getUserPhotos                             TLConstructor = -1848823128
	TLConstructor_CRC32_upload_saveFilePart                              TLConstructor = -1291540959
	TLConstructor_CRC32_upload_getFile                                   TLConstructor = -475607115
	TLConstructor_CRC32_upload_saveBigFilePart                           TLConstructor = -562337987
	TLConstructor_CRC32_upload_getWebFile                                TLConstructor = 619086221
	TLConstructor_CRC32_upload_getCdnFile                                TLConstructor = 536919235
	TLConstructor_CRC32_upload_reuploadCdnFile                           TLConstructor = 452533257
	TLConstructor_CRC32_upload_getCdnFileHashes                          TLConstructor = -149567365
	TLConstructor_CRC32_help_getConfig                                   TLConstructor = -990308245
	TLConstructor_CRC32_help_getNearestDc                                TLConstructor = 531836966
	TLConstructor_CRC32_help_getAppUpdate                                TLConstructor = -1372724842
	TLConstructor_CRC32_help_getAppUpdateLayer46                         TLConstructor = -938300290
	TLConstructor_CRC32_help_saveAppLog                                  TLConstructor = 1862465352
	TLConstructor_CRC32_help_getInviteText                               TLConstructor = 1295590211
	TLConstructor_CRC32_help_getInviteTextLayer46                        TLConstructor = -1532407418
	TLConstructor_CRC32_help_getSupport                                  TLConstructor = -1663104819
	TLConstructor_CRC32_help_getAppChangelog                             TLConstructor = -1877938321
	TLConstructor_CRC32_help_getTermsOfService                           TLConstructor = 889286899
	TLConstructor_CRC32_help_setBotUpdatesStatus                         TLConstructor = -333262899
	TLConstructor_CRC32_help_getCdnConfig                                TLConstructor = 1375900482
	TLConstructor_CRC32_help_getRecentMeUrls                             TLConstructor = 1036054804
	TLConstructor_CRC32_channels_readHistory                             TLConstructor = -871347913
	TLConstructor_CRC32_channels_deleteMessages                          TLConstructor = -2067661490
	TLConstructor_CRC32_channels_deleteUserHistory                       TLConstructor = -787622117
	TLConstructor_CRC32_channels_reportSpam                              TLConstructor = -32999408
	TLConstructor_CRC32_channels_getMessages                             TLConstructor = -1814580409
	TLConstructor_CRC32_channels_getParticipants                         TLConstructor = 306054633
	TLConstructor_CRC32_channels_getParticipant                          TLConstructor = 1416484774
	TLConstructor_CRC32_channels_getChannels                             TLConstructor = 176122811
	TLConstructor_CRC32_channels_getFullChannel                          TLConstructor = 141781513
	TLConstructor_CRC32_channels_createChannel                           TLConstructor = -192332417
	TLConstructor_CRC32_channels_editAbout                               TLConstructor = 333610782
	TLConstructor_CRC32_channels_editAdmin                               TLConstructor = 548962836
	TLConstructor_CRC32_channels_editTitle                               TLConstructor = 1450044624
	TLConstructor_CRC32_channels_editPhoto                               TLConstructor = -248621111
	TLConstructor_CRC32_channels_checkUsername                           TLConstructor = 283557164
	TLConstructor_CRC32_channels_updateUsername                          TLConstructor = 890549214
	TLConstructor_CRC32_channels_joinChannel                             TLConstructor = 615851205
	TLConstructor_CRC32_channels_leaveChannel                            TLConstructor = -130635115
	TLConstructor_CRC32_channels_inviteToChannel                         TLConstructor = 429865580
	TLConstructor_CRC32_channels_exportInvite                            TLConstructor = -950663035
	TLConstructor_CRC32_channels_deleteChannel                           TLConstructor = -1072619549
	TLConstructor_CRC32_channels_toggleInvites                           TLConstructor = 1231065863
	TLConstructor_CRC32_channels_exportMessageLink                       TLConstructor = -934882771
	TLConstructor_CRC32_channels_exportMessageLinkLayer74                TLConstructor = -826838685
	TLConstructor_CRC32_channels_toggleSignatures                        TLConstructor = 527021574
	TLConstructor_CRC32_channels_updatePinnedMessage                     TLConstructor = -1490162350
	TLConstructor_CRC32_channels_getAdminedPublicChannels                TLConstructor = -1920105769
	TLConstructor_CRC32_channels_editBanned                              TLConstructor = -1076292147
	TLConstructor_CRC32_channels_getAdminLog                             TLConstructor = 870184064
	TLConstructor_CRC32_channels_setStickers                             TLConstructor = -359881479
	TLConstructor_CRC32_channels_readMessageContents                     TLConstructor = -357180360
	TLConstructor_CRC32_channels_deleteHistory                           TLConstructor = -1355375294
	TLConstructor_CRC32_channels_togglePreHistoryHidden                  TLConstructor = -356796084
	TLConstructor_CRC32_bots_sendCustomRequest                           TLConstructor = -1440257555
	TLConstructor_CRC32_bots_answerWebhookJSONQuery                      TLConstructor = -434028723
	TLConstructor_CRC32_payments_getPaymentForm                          TLConstructor = -1712285883
	TLConstructor_CRC32_payments_getPaymentReceipt                       TLConstructor = -1601001088
	TLConstructor_CRC32_payments_validateRequestedInfo                   TLConstructor = 1997180532
	TLConstructor_CRC32_payments_sendPaymentForm                         TLConstructor = 730364339
	TLConstructor_CRC32_payments_getSavedInfo                            TLConstructor = 578650699
	TLConstructor_CRC32_payments_clearSavedInfo                          TLConstructor = -667062079
	TLConstructor_CRC32_stickers_createStickerSet                        TLConstructor = -1680314774
	TLConstructor_CRC32_stickers_removeStickerFromSet                    TLConstructor = -143257775
	TLConstructor_CRC32_stickers_changeStickerPosition                   TLConstructor = -4795190
	TLConstructor_CRC32_stickers_addStickerToSet                         TLConstructor = -2041315650
	TLConstructor_CRC32_phone_getCallConfig                              TLConstructor = 1430593449
	TLConstructor_CRC32_phone_requestCall                                TLConstructor = 1536537556
	TLConstructor_CRC32_phone_acceptCall                                 TLConstructor = 1003664544
	TLConstructor_CRC32_phone_confirmCall                                TLConstructor = 788404002
	TLConstructor_CRC32_phone_receivedCall                               TLConstructor = 399855457
	TLConstructor_CRC32_phone_discardCall                                TLConstructor = 2027164582
	TLConstructor_CRC32_phone_setCallRating                              TLConstructor = 475228724
	TLConstructor_CRC32_phone_saveCallDebug                              TLConstructor = 662363518
	TLConstructor_CRC32_langpack_getLangPack                             TLConstructor = -1699363442
	TLConstructor_CRC32_langpack_getStrings                              TLConstructor = 773776152
	TLConstructor_CRC32_langpack_getDifference                           TLConstructor = 187583869
	TLConstructor_CRC32_langpack_getLanguages                            TLConstructor = -2146445955
	TLConstructor_CRC32_schemeNotModified                                TLConstructor = 641506392
	TLConstructor_CRC32_scheme                                           TLConstructor = 1315894878
	TLConstructor_CRC32_schemeParam                                      TLConstructor = 565550063
	TLConstructor_CRC32_schemeMethod                                     TLConstructor = 1200838592
	TLConstructor_CRC32_schemeType                                       TLConstructor = -1461589623
	TLConstructor_CRC32_help_getScheme                                   TLConstructor = -608789858
)

func (TLConstructor) EnumDescriptor

func (TLConstructor) EnumDescriptor() ([]byte, []int)

func (TLConstructor) String

func (x TLConstructor) String() string

type TLContact

type TLContact struct {
	Data2 *Contact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contact#f911c994 user_id:int mutual:Bool = Contact;

func NewTLContact

func NewTLContact() *TLContact

func (*TLContact) Decode

func (m *TLContact) Decode(dbuf *DecodeBuf) error

func (*TLContact) Descriptor

func (*TLContact) Descriptor() ([]byte, []int)

func (*TLContact) Encode

func (m *TLContact) Encode() []byte

func (*TLContact) GetData2

func (m *TLContact) GetData2() *Contact_Data

func (*TLContact) GetMutual

func (m *TLContact) GetMutual() *Bool

func (*TLContact) GetUserId

func (m *TLContact) GetUserId() int32

func (*TLContact) ProtoMessage

func (*TLContact) ProtoMessage()

func (*TLContact) Reset

func (m *TLContact) Reset()

func (*TLContact) SetMutual

func (m *TLContact) SetMutual(v *Bool)

func (*TLContact) SetUserId

func (m *TLContact) SetUserId(v int32)

func (*TLContact) String

func (m *TLContact) String() string

func (*TLContact) To_Contact

func (m *TLContact) To_Contact() *Contact

contact#f911c994 user_id:int mutual:Bool = Contact;

type TLContactBlocked

type TLContactBlocked struct {
	Data2 *ContactBlocked_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactBlocked#561bc879 user_id:int date:int = ContactBlocked;

func NewTLContactBlocked

func NewTLContactBlocked() *TLContactBlocked

func (*TLContactBlocked) Decode

func (m *TLContactBlocked) Decode(dbuf *DecodeBuf) error

func (*TLContactBlocked) Descriptor

func (*TLContactBlocked) Descriptor() ([]byte, []int)

func (*TLContactBlocked) Encode

func (m *TLContactBlocked) Encode() []byte

func (*TLContactBlocked) GetData2

func (m *TLContactBlocked) GetData2() *ContactBlocked_Data

func (*TLContactBlocked) GetDate

func (m *TLContactBlocked) GetDate() int32

func (*TLContactBlocked) GetUserId

func (m *TLContactBlocked) GetUserId() int32

func (*TLContactBlocked) ProtoMessage

func (*TLContactBlocked) ProtoMessage()

func (*TLContactBlocked) Reset

func (m *TLContactBlocked) Reset()

func (*TLContactBlocked) SetDate

func (m *TLContactBlocked) SetDate(v int32)

func (*TLContactBlocked) SetUserId

func (m *TLContactBlocked) SetUserId(v int32)

func (*TLContactBlocked) String

func (m *TLContactBlocked) String() string

func (*TLContactBlocked) To_ContactBlocked

func (m *TLContactBlocked) To_ContactBlocked() *ContactBlocked

contactBlocked#561bc879 user_id:int date:int = ContactBlocked;

type TLContactLinkContact

type TLContactLinkContact struct {
	Data2 *ContactLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactLinkContact#d502c2d0 = ContactLink;

func NewTLContactLinkContact

func NewTLContactLinkContact() *TLContactLinkContact

func (*TLContactLinkContact) Decode

func (m *TLContactLinkContact) Decode(dbuf *DecodeBuf) error

func (*TLContactLinkContact) Descriptor

func (*TLContactLinkContact) Descriptor() ([]byte, []int)

func (*TLContactLinkContact) Encode

func (m *TLContactLinkContact) Encode() []byte

func (*TLContactLinkContact) GetData2

func (m *TLContactLinkContact) GetData2() *ContactLink_Data

func (*TLContactLinkContact) ProtoMessage

func (*TLContactLinkContact) ProtoMessage()

func (*TLContactLinkContact) Reset

func (m *TLContactLinkContact) Reset()

func (*TLContactLinkContact) String

func (m *TLContactLinkContact) String() string
func (m *TLContactLinkContact) To_ContactLink() *ContactLink

contactLinkContact#d502c2d0 = ContactLink;

type TLContactLinkHasPhone

type TLContactLinkHasPhone struct {
	Data2 *ContactLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactLinkHasPhone#268f3f59 = ContactLink;

func NewTLContactLinkHasPhone

func NewTLContactLinkHasPhone() *TLContactLinkHasPhone

func (*TLContactLinkHasPhone) Decode

func (m *TLContactLinkHasPhone) Decode(dbuf *DecodeBuf) error

func (*TLContactLinkHasPhone) Descriptor

func (*TLContactLinkHasPhone) Descriptor() ([]byte, []int)

func (*TLContactLinkHasPhone) Encode

func (m *TLContactLinkHasPhone) Encode() []byte

func (*TLContactLinkHasPhone) GetData2

func (m *TLContactLinkHasPhone) GetData2() *ContactLink_Data

func (*TLContactLinkHasPhone) ProtoMessage

func (*TLContactLinkHasPhone) ProtoMessage()

func (*TLContactLinkHasPhone) Reset

func (m *TLContactLinkHasPhone) Reset()

func (*TLContactLinkHasPhone) String

func (m *TLContactLinkHasPhone) String() string
func (m *TLContactLinkHasPhone) To_ContactLink() *ContactLink

contactLinkHasPhone#268f3f59 = ContactLink;

type TLContactLinkNone

type TLContactLinkNone struct {
	Data2 *ContactLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactLinkNone#feedd3ad = ContactLink;

func NewTLContactLinkNone

func NewTLContactLinkNone() *TLContactLinkNone

func (*TLContactLinkNone) Decode

func (m *TLContactLinkNone) Decode(dbuf *DecodeBuf) error

func (*TLContactLinkNone) Descriptor

func (*TLContactLinkNone) Descriptor() ([]byte, []int)

func (*TLContactLinkNone) Encode

func (m *TLContactLinkNone) Encode() []byte

func (*TLContactLinkNone) GetData2

func (m *TLContactLinkNone) GetData2() *ContactLink_Data

func (*TLContactLinkNone) ProtoMessage

func (*TLContactLinkNone) ProtoMessage()

func (*TLContactLinkNone) Reset

func (m *TLContactLinkNone) Reset()

func (*TLContactLinkNone) String

func (m *TLContactLinkNone) String() string
func (m *TLContactLinkNone) To_ContactLink() *ContactLink

contactLinkNone#feedd3ad = ContactLink;

type TLContactLinkUnknown

type TLContactLinkUnknown struct {
	Data2 *ContactLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactLinkUnknown#5f4f9247 = ContactLink;

func NewTLContactLinkUnknown

func NewTLContactLinkUnknown() *TLContactLinkUnknown

func (*TLContactLinkUnknown) Decode

func (m *TLContactLinkUnknown) Decode(dbuf *DecodeBuf) error

func (*TLContactLinkUnknown) Descriptor

func (*TLContactLinkUnknown) Descriptor() ([]byte, []int)

func (*TLContactLinkUnknown) Encode

func (m *TLContactLinkUnknown) Encode() []byte

func (*TLContactLinkUnknown) GetData2

func (m *TLContactLinkUnknown) GetData2() *ContactLink_Data

func (*TLContactLinkUnknown) ProtoMessage

func (*TLContactLinkUnknown) ProtoMessage()

func (*TLContactLinkUnknown) Reset

func (m *TLContactLinkUnknown) Reset()

func (*TLContactLinkUnknown) String

func (m *TLContactLinkUnknown) String() string
func (m *TLContactLinkUnknown) To_ContactLink() *ContactLink

contactLinkUnknown#5f4f9247 = ContactLink;

type TLContactStatus

type TLContactStatus struct {
	Data2 *ContactStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;

func NewTLContactStatus

func NewTLContactStatus() *TLContactStatus

func (*TLContactStatus) Decode

func (m *TLContactStatus) Decode(dbuf *DecodeBuf) error

func (*TLContactStatus) Descriptor

func (*TLContactStatus) Descriptor() ([]byte, []int)

func (*TLContactStatus) Encode

func (m *TLContactStatus) Encode() []byte

func (*TLContactStatus) GetData2

func (m *TLContactStatus) GetData2() *ContactStatus_Data

func (*TLContactStatus) GetStatus

func (m *TLContactStatus) GetStatus() *UserStatus

func (*TLContactStatus) GetUserId

func (m *TLContactStatus) GetUserId() int32

func (*TLContactStatus) ProtoMessage

func (*TLContactStatus) ProtoMessage()

func (*TLContactStatus) Reset

func (m *TLContactStatus) Reset()

func (*TLContactStatus) SetStatus

func (m *TLContactStatus) SetStatus(v *UserStatus)

func (*TLContactStatus) SetUserId

func (m *TLContactStatus) SetUserId(v int32)

func (*TLContactStatus) String

func (m *TLContactStatus) String() string

func (*TLContactStatus) To_ContactStatus

func (m *TLContactStatus) To_ContactStatus() *ContactStatus

contactStatus#d3680c61 user_id:int status:UserStatus = ContactStatus;

type TLContactsBlock

type TLContactsBlock struct {
	Id *InputUser `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.block#332b49fc id:InputUser = Bool;

func NewTLContactsBlock

func NewTLContactsBlock() *TLContactsBlock

func (*TLContactsBlock) Decode

func (m *TLContactsBlock) Decode(dbuf *DecodeBuf) error

func (*TLContactsBlock) Descriptor

func (*TLContactsBlock) Descriptor() ([]byte, []int)

func (*TLContactsBlock) Encode

func (m *TLContactsBlock) Encode() []byte

func (*TLContactsBlock) GetId

func (m *TLContactsBlock) GetId() *InputUser

func (*TLContactsBlock) ProtoMessage

func (*TLContactsBlock) ProtoMessage()

func (*TLContactsBlock) Reset

func (m *TLContactsBlock) Reset()

func (*TLContactsBlock) String

func (m *TLContactsBlock) String() string

type TLContactsBlocked

type TLContactsBlocked struct {
	Data2 *Contacts_Blocked_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

func NewTLContactsBlocked

func NewTLContactsBlocked() *TLContactsBlocked

func (*TLContactsBlocked) Decode

func (m *TLContactsBlocked) Decode(dbuf *DecodeBuf) error

func (*TLContactsBlocked) Descriptor

func (*TLContactsBlocked) Descriptor() ([]byte, []int)

func (*TLContactsBlocked) Encode

func (m *TLContactsBlocked) Encode() []byte

func (*TLContactsBlocked) GetBlocked

func (m *TLContactsBlocked) GetBlocked() []*ContactBlocked

func (*TLContactsBlocked) GetData2

func (*TLContactsBlocked) GetUsers

func (m *TLContactsBlocked) GetUsers() []*User

func (*TLContactsBlocked) ProtoMessage

func (*TLContactsBlocked) ProtoMessage()

func (*TLContactsBlocked) Reset

func (m *TLContactsBlocked) Reset()

func (*TLContactsBlocked) SetBlocked

func (m *TLContactsBlocked) SetBlocked(v []*ContactBlocked)

func (*TLContactsBlocked) SetUsers

func (m *TLContactsBlocked) SetUsers(v []*User)

func (*TLContactsBlocked) String

func (m *TLContactsBlocked) String() string

func (*TLContactsBlocked) To_Contacts_Blocked

func (m *TLContactsBlocked) To_Contacts_Blocked() *Contacts_Blocked

contacts.blocked#1c138d15 blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

type TLContactsBlockedSlice

type TLContactsBlockedSlice struct {
	Data2 *Contacts_Blocked_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

func NewTLContactsBlockedSlice

func NewTLContactsBlockedSlice() *TLContactsBlockedSlice

func (*TLContactsBlockedSlice) Decode

func (m *TLContactsBlockedSlice) Decode(dbuf *DecodeBuf) error

func (*TLContactsBlockedSlice) Descriptor

func (*TLContactsBlockedSlice) Descriptor() ([]byte, []int)

func (*TLContactsBlockedSlice) Encode

func (m *TLContactsBlockedSlice) Encode() []byte

func (*TLContactsBlockedSlice) GetBlocked

func (m *TLContactsBlockedSlice) GetBlocked() []*ContactBlocked

func (*TLContactsBlockedSlice) GetCount

func (m *TLContactsBlockedSlice) GetCount() int32

func (*TLContactsBlockedSlice) GetData2

func (*TLContactsBlockedSlice) GetUsers

func (m *TLContactsBlockedSlice) GetUsers() []*User

func (*TLContactsBlockedSlice) ProtoMessage

func (*TLContactsBlockedSlice) ProtoMessage()

func (*TLContactsBlockedSlice) Reset

func (m *TLContactsBlockedSlice) Reset()

func (*TLContactsBlockedSlice) SetBlocked

func (m *TLContactsBlockedSlice) SetBlocked(v []*ContactBlocked)

func (*TLContactsBlockedSlice) SetCount

func (m *TLContactsBlockedSlice) SetCount(v int32)

func (*TLContactsBlockedSlice) SetUsers

func (m *TLContactsBlockedSlice) SetUsers(v []*User)

func (*TLContactsBlockedSlice) String

func (m *TLContactsBlockedSlice) String() string

func (*TLContactsBlockedSlice) To_Contacts_Blocked

func (m *TLContactsBlockedSlice) To_Contacts_Blocked() *Contacts_Blocked

contacts.blockedSlice#900802a1 count:int blocked:Vector<ContactBlocked> users:Vector<User> = contacts.Blocked;

type TLContactsContacts

type TLContactsContacts struct {
	Data2 *Contacts_Contacts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.contacts#eae87e42 contacts:Vector<Contact> saved_count:int users:Vector<User> = contacts.Contacts;

func NewTLContactsContacts

func NewTLContactsContacts() *TLContactsContacts

func (*TLContactsContacts) Decode

func (m *TLContactsContacts) Decode(dbuf *DecodeBuf) error

func (*TLContactsContacts) Descriptor

func (*TLContactsContacts) Descriptor() ([]byte, []int)

func (*TLContactsContacts) Encode

func (m *TLContactsContacts) Encode() []byte

func (*TLContactsContacts) GetContacts

func (m *TLContactsContacts) GetContacts() []*Contact

func (*TLContactsContacts) GetData2

func (*TLContactsContacts) GetSavedCount

func (m *TLContactsContacts) GetSavedCount() int32

func (*TLContactsContacts) GetUsers

func (m *TLContactsContacts) GetUsers() []*User

func (*TLContactsContacts) ProtoMessage

func (*TLContactsContacts) ProtoMessage()

func (*TLContactsContacts) Reset

func (m *TLContactsContacts) Reset()

func (*TLContactsContacts) SetContacts

func (m *TLContactsContacts) SetContacts(v []*Contact)

func (*TLContactsContacts) SetSavedCount

func (m *TLContactsContacts) SetSavedCount(v int32)

func (*TLContactsContacts) SetUsers

func (m *TLContactsContacts) SetUsers(v []*User)

func (*TLContactsContacts) String

func (m *TLContactsContacts) String() string

func (*TLContactsContacts) To_Contacts_Contacts

func (m *TLContactsContacts) To_Contacts_Contacts() *Contacts_Contacts

contacts.contacts#eae87e42 contacts:Vector<Contact> saved_count:int users:Vector<User> = contacts.Contacts;

type TLContactsContactsNotModified

type TLContactsContactsNotModified struct {
	Data2 *Contacts_Contacts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.contactsNotModified#b74ba9d2 = contacts.Contacts;

func NewTLContactsContactsNotModified

func NewTLContactsContactsNotModified() *TLContactsContactsNotModified

func (*TLContactsContactsNotModified) Decode

func (*TLContactsContactsNotModified) Descriptor

func (*TLContactsContactsNotModified) Descriptor() ([]byte, []int)

func (*TLContactsContactsNotModified) Encode

func (m *TLContactsContactsNotModified) Encode() []byte

func (*TLContactsContactsNotModified) GetData2

func (*TLContactsContactsNotModified) ProtoMessage

func (*TLContactsContactsNotModified) ProtoMessage()

func (*TLContactsContactsNotModified) Reset

func (m *TLContactsContactsNotModified) Reset()

func (*TLContactsContactsNotModified) String

func (*TLContactsContactsNotModified) To_Contacts_Contacts

func (m *TLContactsContactsNotModified) To_Contacts_Contacts() *Contacts_Contacts

contacts.contactsNotModified#b74ba9d2 = contacts.Contacts;

type TLContactsDeleteContact

type TLContactsDeleteContact struct {
	Id *InputUser `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.deleteContact#8e953744 id:InputUser = contacts.Link;

func NewTLContactsDeleteContact

func NewTLContactsDeleteContact() *TLContactsDeleteContact

func (*TLContactsDeleteContact) Decode

func (m *TLContactsDeleteContact) Decode(dbuf *DecodeBuf) error

func (*TLContactsDeleteContact) Descriptor

func (*TLContactsDeleteContact) Descriptor() ([]byte, []int)

func (*TLContactsDeleteContact) Encode

func (m *TLContactsDeleteContact) Encode() []byte

func (*TLContactsDeleteContact) GetId

func (m *TLContactsDeleteContact) GetId() *InputUser

func (*TLContactsDeleteContact) ProtoMessage

func (*TLContactsDeleteContact) ProtoMessage()

func (*TLContactsDeleteContact) Reset

func (m *TLContactsDeleteContact) Reset()

func (*TLContactsDeleteContact) String

func (m *TLContactsDeleteContact) String() string

type TLContactsDeleteContacts

type TLContactsDeleteContacts struct {
	Id []*InputUser `protobuf:"bytes,1,rep,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.deleteContacts#59ab389e id:Vector<InputUser> = Bool;

func NewTLContactsDeleteContacts

func NewTLContactsDeleteContacts() *TLContactsDeleteContacts

func (*TLContactsDeleteContacts) Decode

func (m *TLContactsDeleteContacts) Decode(dbuf *DecodeBuf) error

func (*TLContactsDeleteContacts) Descriptor

func (*TLContactsDeleteContacts) Descriptor() ([]byte, []int)

func (*TLContactsDeleteContacts) Encode

func (m *TLContactsDeleteContacts) Encode() []byte

func (*TLContactsDeleteContacts) GetId

func (m *TLContactsDeleteContacts) GetId() []*InputUser

func (*TLContactsDeleteContacts) ProtoMessage

func (*TLContactsDeleteContacts) ProtoMessage()

func (*TLContactsDeleteContacts) Reset

func (m *TLContactsDeleteContacts) Reset()

func (*TLContactsDeleteContacts) String

func (m *TLContactsDeleteContacts) String() string

type TLContactsExportCard

type TLContactsExportCard struct {
}

///////////////////////////////////////////////////////////////////////////// contacts.exportCard#84e53737 = Vector<int>;

func NewTLContactsExportCard

func NewTLContactsExportCard() *TLContactsExportCard

func (*TLContactsExportCard) Decode

func (m *TLContactsExportCard) Decode(dbuf *DecodeBuf) error

func (*TLContactsExportCard) Descriptor

func (*TLContactsExportCard) Descriptor() ([]byte, []int)

func (*TLContactsExportCard) Encode

func (m *TLContactsExportCard) Encode() []byte

func (*TLContactsExportCard) ProtoMessage

func (*TLContactsExportCard) ProtoMessage()

func (*TLContactsExportCard) Reset

func (m *TLContactsExportCard) Reset()

func (*TLContactsExportCard) String

func (m *TLContactsExportCard) String() string

type TLContactsFound

type TLContactsFound struct {
	Data2 *Contacts_Found_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

func NewTLContactsFound

func NewTLContactsFound() *TLContactsFound

func (*TLContactsFound) Decode

func (m *TLContactsFound) Decode(dbuf *DecodeBuf) error

func (*TLContactsFound) Descriptor

func (*TLContactsFound) Descriptor() ([]byte, []int)

func (*TLContactsFound) Encode

func (m *TLContactsFound) Encode() []byte

func (*TLContactsFound) GetChats

func (m *TLContactsFound) GetChats() []*Chat

func (*TLContactsFound) GetData2

func (m *TLContactsFound) GetData2() *Contacts_Found_Data

func (*TLContactsFound) GetResults

func (m *TLContactsFound) GetResults() []*Peer

func (*TLContactsFound) GetUsers

func (m *TLContactsFound) GetUsers() []*User

func (*TLContactsFound) ProtoMessage

func (*TLContactsFound) ProtoMessage()

func (*TLContactsFound) Reset

func (m *TLContactsFound) Reset()

func (*TLContactsFound) SetChats

func (m *TLContactsFound) SetChats(v []*Chat)

func (*TLContactsFound) SetResults

func (m *TLContactsFound) SetResults(v []*Peer)

func (*TLContactsFound) SetUsers

func (m *TLContactsFound) SetUsers(v []*User)

func (*TLContactsFound) String

func (m *TLContactsFound) String() string

func (*TLContactsFound) To_Contacts_Found

func (m *TLContactsFound) To_Contacts_Found() *Contacts_Found

contacts.found#1aa1f784 results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

type TLContactsFoundLayer74

type TLContactsFoundLayer74 struct {
	Data2 *Contacts_Found_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

Layer 74 contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

func NewTLContactsFoundLayer74

func NewTLContactsFoundLayer74() *TLContactsFoundLayer74

func (*TLContactsFoundLayer74) Decode

func (m *TLContactsFoundLayer74) Decode(dbuf *DecodeBuf) error

func (*TLContactsFoundLayer74) Descriptor

func (*TLContactsFoundLayer74) Descriptor() ([]byte, []int)

func (*TLContactsFoundLayer74) Encode

func (m *TLContactsFoundLayer74) Encode() []byte

func (*TLContactsFoundLayer74) GetChats

func (m *TLContactsFoundLayer74) GetChats() []*Chat

func (*TLContactsFoundLayer74) GetData2

func (*TLContactsFoundLayer74) GetMyResults

func (m *TLContactsFoundLayer74) GetMyResults() []*Peer

func (*TLContactsFoundLayer74) GetResults

func (m *TLContactsFoundLayer74) GetResults() []*Peer

func (*TLContactsFoundLayer74) GetUsers

func (m *TLContactsFoundLayer74) GetUsers() []*User

func (*TLContactsFoundLayer74) ProtoMessage

func (*TLContactsFoundLayer74) ProtoMessage()

func (*TLContactsFoundLayer74) Reset

func (m *TLContactsFoundLayer74) Reset()

func (*TLContactsFoundLayer74) SetChats

func (m *TLContactsFoundLayer74) SetChats(v []*Chat)

func (*TLContactsFoundLayer74) SetMyResults

func (m *TLContactsFoundLayer74) SetMyResults(v []*Peer)

func (*TLContactsFoundLayer74) SetResults

func (m *TLContactsFoundLayer74) SetResults(v []*Peer)

func (*TLContactsFoundLayer74) SetUsers

func (m *TLContactsFoundLayer74) SetUsers(v []*User)

func (*TLContactsFoundLayer74) String

func (m *TLContactsFoundLayer74) String() string

func (*TLContactsFoundLayer74) To_Contacts_Found

func (m *TLContactsFoundLayer74) To_Contacts_Found() *Contacts_Found

contacts.found#b3134d9d my_results:Vector<Peer> results:Vector<Peer> chats:Vector<Chat> users:Vector<User> = contacts.Found;

type TLContactsGetBlocked

type TLContactsGetBlocked struct {
	Offset int32 `protobuf:"varint,1,opt,name=offset" json:"offset,omitempty"`
	Limit  int32 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.getBlocked#f57c350f offset:int limit:int = contacts.Blocked;

func NewTLContactsGetBlocked

func NewTLContactsGetBlocked() *TLContactsGetBlocked

func (*TLContactsGetBlocked) Decode

func (m *TLContactsGetBlocked) Decode(dbuf *DecodeBuf) error

func (*TLContactsGetBlocked) Descriptor

func (*TLContactsGetBlocked) Descriptor() ([]byte, []int)

func (*TLContactsGetBlocked) Encode

func (m *TLContactsGetBlocked) Encode() []byte

func (*TLContactsGetBlocked) GetLimit

func (m *TLContactsGetBlocked) GetLimit() int32

func (*TLContactsGetBlocked) GetOffset

func (m *TLContactsGetBlocked) GetOffset() int32

func (*TLContactsGetBlocked) ProtoMessage

func (*TLContactsGetBlocked) ProtoMessage()

func (*TLContactsGetBlocked) Reset

func (m *TLContactsGetBlocked) Reset()

func (*TLContactsGetBlocked) String

func (m *TLContactsGetBlocked) String() string

type TLContactsGetContacts

type TLContactsGetContacts struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.getContacts#c023849f hash:int = contacts.Contacts;

func NewTLContactsGetContacts

func NewTLContactsGetContacts() *TLContactsGetContacts

func (*TLContactsGetContacts) Decode

func (m *TLContactsGetContacts) Decode(dbuf *DecodeBuf) error

func (*TLContactsGetContacts) Descriptor

func (*TLContactsGetContacts) Descriptor() ([]byte, []int)

func (*TLContactsGetContacts) Encode

func (m *TLContactsGetContacts) Encode() []byte

func (*TLContactsGetContacts) GetHash

func (m *TLContactsGetContacts) GetHash() int32

func (*TLContactsGetContacts) ProtoMessage

func (*TLContactsGetContacts) ProtoMessage()

func (*TLContactsGetContacts) Reset

func (m *TLContactsGetContacts) Reset()

func (*TLContactsGetContacts) String

func (m *TLContactsGetContacts) String() string

type TLContactsGetStatuses

type TLContactsGetStatuses struct {
}

///////////////////////////////////////////////////////////////////////////// contacts.getStatuses#c4a353ee = Vector<ContactStatus>;

func NewTLContactsGetStatuses

func NewTLContactsGetStatuses() *TLContactsGetStatuses

func (*TLContactsGetStatuses) Decode

func (m *TLContactsGetStatuses) Decode(dbuf *DecodeBuf) error

func (*TLContactsGetStatuses) Descriptor

func (*TLContactsGetStatuses) Descriptor() ([]byte, []int)

func (*TLContactsGetStatuses) Encode

func (m *TLContactsGetStatuses) Encode() []byte

func (*TLContactsGetStatuses) ProtoMessage

func (*TLContactsGetStatuses) ProtoMessage()

func (*TLContactsGetStatuses) Reset

func (m *TLContactsGetStatuses) Reset()

func (*TLContactsGetStatuses) String

func (m *TLContactsGetStatuses) String() string

type TLContactsGetTopPeers

type TLContactsGetTopPeers struct {
	Correspondents bool  `protobuf:"varint,2,opt,name=correspondents" json:"correspondents,omitempty"`
	BotsPm         bool  `protobuf:"varint,3,opt,name=bots_pm,json=botsPm" json:"bots_pm,omitempty"`
	BotsInline     bool  `protobuf:"varint,4,opt,name=bots_inline,json=botsInline" json:"bots_inline,omitempty"`
	PhoneCalls     bool  `protobuf:"varint,5,opt,name=phone_calls,json=phoneCalls" json:"phone_calls,omitempty"`
	Groups         bool  `protobuf:"varint,6,opt,name=groups" json:"groups,omitempty"`
	Channels       bool  `protobuf:"varint,7,opt,name=channels" json:"channels,omitempty"`
	Offset         int32 `protobuf:"varint,8,opt,name=offset" json:"offset,omitempty"`
	Limit          int32 `protobuf:"varint,9,opt,name=limit" json:"limit,omitempty"`
	Hash           int32 `protobuf:"varint,10,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.getTopPeers#d4982db5 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true groups:flags.10?true channels:flags.15?true offset:int limit:int hash:int = contacts.TopPeers;

func NewTLContactsGetTopPeers

func NewTLContactsGetTopPeers() *TLContactsGetTopPeers

func (*TLContactsGetTopPeers) Decode

func (m *TLContactsGetTopPeers) Decode(dbuf *DecodeBuf) error

func (*TLContactsGetTopPeers) Descriptor

func (*TLContactsGetTopPeers) Descriptor() ([]byte, []int)

func (*TLContactsGetTopPeers) Encode

func (m *TLContactsGetTopPeers) Encode() []byte

func (*TLContactsGetTopPeers) GetBotsInline

func (m *TLContactsGetTopPeers) GetBotsInline() bool

func (*TLContactsGetTopPeers) GetBotsPm

func (m *TLContactsGetTopPeers) GetBotsPm() bool

func (*TLContactsGetTopPeers) GetChannels

func (m *TLContactsGetTopPeers) GetChannels() bool

func (*TLContactsGetTopPeers) GetCorrespondents

func (m *TLContactsGetTopPeers) GetCorrespondents() bool

func (*TLContactsGetTopPeers) GetGroups

func (m *TLContactsGetTopPeers) GetGroups() bool

func (*TLContactsGetTopPeers) GetHash

func (m *TLContactsGetTopPeers) GetHash() int32

func (*TLContactsGetTopPeers) GetLimit

func (m *TLContactsGetTopPeers) GetLimit() int32

func (*TLContactsGetTopPeers) GetOffset

func (m *TLContactsGetTopPeers) GetOffset() int32

func (*TLContactsGetTopPeers) GetPhoneCalls

func (m *TLContactsGetTopPeers) GetPhoneCalls() bool

func (*TLContactsGetTopPeers) ProtoMessage

func (*TLContactsGetTopPeers) ProtoMessage()

func (*TLContactsGetTopPeers) Reset

func (m *TLContactsGetTopPeers) Reset()

func (*TLContactsGetTopPeers) String

func (m *TLContactsGetTopPeers) String() string

type TLContactsImportCard

type TLContactsImportCard struct {
	ExportCard []int32 `protobuf:"varint,1,rep,packed,name=export_card,json=exportCard" json:"export_card,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.importCard#4fe196fe export_card:Vector<int> = User;

func NewTLContactsImportCard

func NewTLContactsImportCard() *TLContactsImportCard

func (*TLContactsImportCard) Decode

func (m *TLContactsImportCard) Decode(dbuf *DecodeBuf) error

func (*TLContactsImportCard) Descriptor

func (*TLContactsImportCard) Descriptor() ([]byte, []int)

func (*TLContactsImportCard) Encode

func (m *TLContactsImportCard) Encode() []byte

func (*TLContactsImportCard) GetExportCard

func (m *TLContactsImportCard) GetExportCard() []int32

func (*TLContactsImportCard) ProtoMessage

func (*TLContactsImportCard) ProtoMessage()

func (*TLContactsImportCard) Reset

func (m *TLContactsImportCard) Reset()

func (*TLContactsImportCard) String

func (m *TLContactsImportCard) String() string

type TLContactsImportContacts

type TLContactsImportContacts struct {
	Contacts []*InputContact `protobuf:"bytes,1,rep,name=contacts" json:"contacts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.importContacts#2c800be5 contacts:Vector<InputContact> = contacts.ImportedContacts;

func NewTLContactsImportContacts

func NewTLContactsImportContacts() *TLContactsImportContacts

func (*TLContactsImportContacts) Decode

func (m *TLContactsImportContacts) Decode(dbuf *DecodeBuf) error

func (*TLContactsImportContacts) Descriptor

func (*TLContactsImportContacts) Descriptor() ([]byte, []int)

func (*TLContactsImportContacts) Encode

func (m *TLContactsImportContacts) Encode() []byte

func (*TLContactsImportContacts) GetContacts

func (m *TLContactsImportContacts) GetContacts() []*InputContact

func (*TLContactsImportContacts) ProtoMessage

func (*TLContactsImportContacts) ProtoMessage()

func (*TLContactsImportContacts) Reset

func (m *TLContactsImportContacts) Reset()

func (*TLContactsImportContacts) String

func (m *TLContactsImportContacts) String() string

type TLContactsImportedContacts

type TLContactsImportedContacts struct {
	Data2 *Contacts_ImportedContacts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.importedContacts#77d01c3b imported:Vector<ImportedContact> popular_invites:Vector<PopularContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;

func NewTLContactsImportedContacts

func NewTLContactsImportedContacts() *TLContactsImportedContacts

func (*TLContactsImportedContacts) Decode

func (m *TLContactsImportedContacts) Decode(dbuf *DecodeBuf) error

func (*TLContactsImportedContacts) Descriptor

func (*TLContactsImportedContacts) Descriptor() ([]byte, []int)

func (*TLContactsImportedContacts) Encode

func (m *TLContactsImportedContacts) Encode() []byte

func (*TLContactsImportedContacts) GetData2

func (*TLContactsImportedContacts) GetImported

func (m *TLContactsImportedContacts) GetImported() []*ImportedContact

func (*TLContactsImportedContacts) GetPopularInvites

func (m *TLContactsImportedContacts) GetPopularInvites() []*PopularContact

func (*TLContactsImportedContacts) GetRetryContacts

func (m *TLContactsImportedContacts) GetRetryContacts() []int64

func (*TLContactsImportedContacts) GetUsers

func (m *TLContactsImportedContacts) GetUsers() []*User

func (*TLContactsImportedContacts) ProtoMessage

func (*TLContactsImportedContacts) ProtoMessage()

func (*TLContactsImportedContacts) Reset

func (m *TLContactsImportedContacts) Reset()

func (*TLContactsImportedContacts) SetImported

func (m *TLContactsImportedContacts) SetImported(v []*ImportedContact)

func (*TLContactsImportedContacts) SetPopularInvites

func (m *TLContactsImportedContacts) SetPopularInvites(v []*PopularContact)

func (*TLContactsImportedContacts) SetRetryContacts

func (m *TLContactsImportedContacts) SetRetryContacts(v []int64)

func (*TLContactsImportedContacts) SetUsers

func (m *TLContactsImportedContacts) SetUsers(v []*User)

func (*TLContactsImportedContacts) String

func (m *TLContactsImportedContacts) String() string

func (*TLContactsImportedContacts) To_Contacts_ImportedContacts

func (m *TLContactsImportedContacts) To_Contacts_ImportedContacts() *Contacts_ImportedContacts

contacts.importedContacts#77d01c3b imported:Vector<ImportedContact> popular_invites:Vector<PopularContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;

type TLContactsLink struct {
	Data2 *Contacts_Link_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;

func NewTLContactsLink() *TLContactsLink

func (*TLContactsLink) Decode

func (m *TLContactsLink) Decode(dbuf *DecodeBuf) error

func (*TLContactsLink) Descriptor

func (*TLContactsLink) Descriptor() ([]byte, []int)

func (*TLContactsLink) Encode

func (m *TLContactsLink) Encode() []byte

func (*TLContactsLink) GetData2

func (m *TLContactsLink) GetData2() *Contacts_Link_Data
func (m *TLContactsLink) GetForeignLink() *ContactLink
func (m *TLContactsLink) GetMyLink() *ContactLink

func (*TLContactsLink) GetUser

func (m *TLContactsLink) GetUser() *User

func (*TLContactsLink) ProtoMessage

func (*TLContactsLink) ProtoMessage()

func (*TLContactsLink) Reset

func (m *TLContactsLink) Reset()
func (m *TLContactsLink) SetForeignLink(v *ContactLink)
func (m *TLContactsLink) SetMyLink(v *ContactLink)

func (*TLContactsLink) SetUser

func (m *TLContactsLink) SetUser(v *User)

func (*TLContactsLink) String

func (m *TLContactsLink) String() string
func (m *TLContactsLink) To_Contacts_Link() *Contacts_Link

contacts.link#3ace484c my_link:ContactLink foreign_link:ContactLink user:User = contacts.Link;

type TLContactsResetSaved

type TLContactsResetSaved struct {
}

///////////////////////////////////////////////////////////////////////////// contacts.resetSaved#879537f1 = Bool;

func NewTLContactsResetSaved

func NewTLContactsResetSaved() *TLContactsResetSaved

func (*TLContactsResetSaved) Decode

func (m *TLContactsResetSaved) Decode(dbuf *DecodeBuf) error

func (*TLContactsResetSaved) Descriptor

func (*TLContactsResetSaved) Descriptor() ([]byte, []int)

func (*TLContactsResetSaved) Encode

func (m *TLContactsResetSaved) Encode() []byte

func (*TLContactsResetSaved) ProtoMessage

func (*TLContactsResetSaved) ProtoMessage()

func (*TLContactsResetSaved) Reset

func (m *TLContactsResetSaved) Reset()

func (*TLContactsResetSaved) String

func (m *TLContactsResetSaved) String() string

type TLContactsResetTopPeerRating

type TLContactsResetTopPeerRating struct {
	Category *TopPeerCategory `protobuf:"bytes,1,opt,name=category" json:"category,omitempty"`
	Peer     *InputPeer       `protobuf:"bytes,2,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.resetTopPeerRating#1ae373ac category:TopPeerCategory peer:InputPeer = Bool;

func NewTLContactsResetTopPeerRating

func NewTLContactsResetTopPeerRating() *TLContactsResetTopPeerRating

func (*TLContactsResetTopPeerRating) Decode

func (m *TLContactsResetTopPeerRating) Decode(dbuf *DecodeBuf) error

func (*TLContactsResetTopPeerRating) Descriptor

func (*TLContactsResetTopPeerRating) Descriptor() ([]byte, []int)

func (*TLContactsResetTopPeerRating) Encode

func (m *TLContactsResetTopPeerRating) Encode() []byte

func (*TLContactsResetTopPeerRating) GetCategory

func (*TLContactsResetTopPeerRating) GetPeer

func (*TLContactsResetTopPeerRating) ProtoMessage

func (*TLContactsResetTopPeerRating) ProtoMessage()

func (*TLContactsResetTopPeerRating) Reset

func (m *TLContactsResetTopPeerRating) Reset()

func (*TLContactsResetTopPeerRating) String

type TLContactsResolveUsername

type TLContactsResolveUsername struct {
	Username string `protobuf:"bytes,1,opt,name=username" json:"username,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.resolveUsername#f93ccba3 username:string = contacts.ResolvedPeer;

func NewTLContactsResolveUsername

func NewTLContactsResolveUsername() *TLContactsResolveUsername

func (*TLContactsResolveUsername) Decode

func (m *TLContactsResolveUsername) Decode(dbuf *DecodeBuf) error

func (*TLContactsResolveUsername) Descriptor

func (*TLContactsResolveUsername) Descriptor() ([]byte, []int)

func (*TLContactsResolveUsername) Encode

func (m *TLContactsResolveUsername) Encode() []byte

func (*TLContactsResolveUsername) GetUsername

func (m *TLContactsResolveUsername) GetUsername() string

func (*TLContactsResolveUsername) ProtoMessage

func (*TLContactsResolveUsername) ProtoMessage()

func (*TLContactsResolveUsername) Reset

func (m *TLContactsResolveUsername) Reset()

func (*TLContactsResolveUsername) String

func (m *TLContactsResolveUsername) String() string

type TLContactsResolvedPeer

type TLContactsResolvedPeer struct {
	Data2 *Contacts_ResolvedPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;

func NewTLContactsResolvedPeer

func NewTLContactsResolvedPeer() *TLContactsResolvedPeer

func (*TLContactsResolvedPeer) Decode

func (m *TLContactsResolvedPeer) Decode(dbuf *DecodeBuf) error

func (*TLContactsResolvedPeer) Descriptor

func (*TLContactsResolvedPeer) Descriptor() ([]byte, []int)

func (*TLContactsResolvedPeer) Encode

func (m *TLContactsResolvedPeer) Encode() []byte

func (*TLContactsResolvedPeer) GetChats

func (m *TLContactsResolvedPeer) GetChats() []*Chat

func (*TLContactsResolvedPeer) GetData2

func (*TLContactsResolvedPeer) GetPeer

func (m *TLContactsResolvedPeer) GetPeer() *Peer

func (*TLContactsResolvedPeer) GetUsers

func (m *TLContactsResolvedPeer) GetUsers() []*User

func (*TLContactsResolvedPeer) ProtoMessage

func (*TLContactsResolvedPeer) ProtoMessage()

func (*TLContactsResolvedPeer) Reset

func (m *TLContactsResolvedPeer) Reset()

func (*TLContactsResolvedPeer) SetChats

func (m *TLContactsResolvedPeer) SetChats(v []*Chat)

func (*TLContactsResolvedPeer) SetPeer

func (m *TLContactsResolvedPeer) SetPeer(v *Peer)

func (*TLContactsResolvedPeer) SetUsers

func (m *TLContactsResolvedPeer) SetUsers(v []*User)

func (*TLContactsResolvedPeer) String

func (m *TLContactsResolvedPeer) String() string

func (*TLContactsResolvedPeer) To_Contacts_ResolvedPeer

func (m *TLContactsResolvedPeer) To_Contacts_ResolvedPeer() *Contacts_ResolvedPeer

contacts.resolvedPeer#7f077ad9 peer:Peer chats:Vector<Chat> users:Vector<User> = contacts.ResolvedPeer;

type TLContactsSearch

type TLContactsSearch struct {
	Q     string `protobuf:"bytes,1,opt,name=q" json:"q,omitempty"`
	Limit int32  `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.search#11f812d8 q:string limit:int = contacts.Found;

func NewTLContactsSearch

func NewTLContactsSearch() *TLContactsSearch

func (*TLContactsSearch) Decode

func (m *TLContactsSearch) Decode(dbuf *DecodeBuf) error

func (*TLContactsSearch) Descriptor

func (*TLContactsSearch) Descriptor() ([]byte, []int)

func (*TLContactsSearch) Encode

func (m *TLContactsSearch) Encode() []byte

func (*TLContactsSearch) GetLimit

func (m *TLContactsSearch) GetLimit() int32

func (*TLContactsSearch) GetQ

func (m *TLContactsSearch) GetQ() string

func (*TLContactsSearch) ProtoMessage

func (*TLContactsSearch) ProtoMessage()

func (*TLContactsSearch) Reset

func (m *TLContactsSearch) Reset()

func (*TLContactsSearch) String

func (m *TLContactsSearch) String() string

type TLContactsTopPeers

type TLContactsTopPeers struct {
	Data2 *Contacts_TopPeers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers;

func NewTLContactsTopPeers

func NewTLContactsTopPeers() *TLContactsTopPeers

func (*TLContactsTopPeers) Decode

func (m *TLContactsTopPeers) Decode(dbuf *DecodeBuf) error

func (*TLContactsTopPeers) Descriptor

func (*TLContactsTopPeers) Descriptor() ([]byte, []int)

func (*TLContactsTopPeers) Encode

func (m *TLContactsTopPeers) Encode() []byte

func (*TLContactsTopPeers) GetCategories

func (m *TLContactsTopPeers) GetCategories() []*TopPeerCategoryPeers

func (*TLContactsTopPeers) GetChats

func (m *TLContactsTopPeers) GetChats() []*Chat

func (*TLContactsTopPeers) GetData2

func (*TLContactsTopPeers) GetUsers

func (m *TLContactsTopPeers) GetUsers() []*User

func (*TLContactsTopPeers) ProtoMessage

func (*TLContactsTopPeers) ProtoMessage()

func (*TLContactsTopPeers) Reset

func (m *TLContactsTopPeers) Reset()

func (*TLContactsTopPeers) SetCategories

func (m *TLContactsTopPeers) SetCategories(v []*TopPeerCategoryPeers)

func (*TLContactsTopPeers) SetChats

func (m *TLContactsTopPeers) SetChats(v []*Chat)

func (*TLContactsTopPeers) SetUsers

func (m *TLContactsTopPeers) SetUsers(v []*User)

func (*TLContactsTopPeers) String

func (m *TLContactsTopPeers) String() string

func (*TLContactsTopPeers) To_Contacts_TopPeers

func (m *TLContactsTopPeers) To_Contacts_TopPeers() *Contacts_TopPeers

contacts.topPeers#70b772a8 categories:Vector<TopPeerCategoryPeers> chats:Vector<Chat> users:Vector<User> = contacts.TopPeers;

type TLContactsTopPeersNotModified

type TLContactsTopPeersNotModified struct {
	Data2 *Contacts_TopPeers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

contacts.topPeersNotModified#de266ef5 = contacts.TopPeers;

func NewTLContactsTopPeersNotModified

func NewTLContactsTopPeersNotModified() *TLContactsTopPeersNotModified

func (*TLContactsTopPeersNotModified) Decode

func (*TLContactsTopPeersNotModified) Descriptor

func (*TLContactsTopPeersNotModified) Descriptor() ([]byte, []int)

func (*TLContactsTopPeersNotModified) Encode

func (m *TLContactsTopPeersNotModified) Encode() []byte

func (*TLContactsTopPeersNotModified) GetData2

func (*TLContactsTopPeersNotModified) ProtoMessage

func (*TLContactsTopPeersNotModified) ProtoMessage()

func (*TLContactsTopPeersNotModified) Reset

func (m *TLContactsTopPeersNotModified) Reset()

func (*TLContactsTopPeersNotModified) String

func (*TLContactsTopPeersNotModified) To_Contacts_TopPeers

func (m *TLContactsTopPeersNotModified) To_Contacts_TopPeers() *Contacts_TopPeers

contacts.topPeersNotModified#de266ef5 = contacts.TopPeers;

type TLContactsUnblock

type TLContactsUnblock struct {
	Id *InputUser `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contacts.unblock#e54100bd id:InputUser = Bool;

func NewTLContactsUnblock

func NewTLContactsUnblock() *TLContactsUnblock

func (*TLContactsUnblock) Decode

func (m *TLContactsUnblock) Decode(dbuf *DecodeBuf) error

func (*TLContactsUnblock) Descriptor

func (*TLContactsUnblock) Descriptor() ([]byte, []int)

func (*TLContactsUnblock) Encode

func (m *TLContactsUnblock) Encode() []byte

func (*TLContactsUnblock) GetId

func (m *TLContactsUnblock) GetId() *InputUser

func (*TLContactsUnblock) ProtoMessage

func (*TLContactsUnblock) ProtoMessage()

func (*TLContactsUnblock) Reset

func (m *TLContactsUnblock) Reset()

func (*TLContactsUnblock) String

func (m *TLContactsUnblock) String() string

type TLContestSaveDeveloperInfo

type TLContestSaveDeveloperInfo struct {
	VkId        int32  `protobuf:"varint,1,opt,name=vk_id,json=vkId" json:"vk_id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber" json:"phone_number,omitempty"`
	Age         int32  `protobuf:"varint,4,opt,name=age" json:"age,omitempty"`
	City        string `protobuf:"bytes,5,opt,name=city" json:"city,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// contest.saveDeveloperInfo#9a5f6e95 vk_id:int name:string phone_number:string age:int city:string = Bool;

func NewTLContestSaveDeveloperInfo

func NewTLContestSaveDeveloperInfo() *TLContestSaveDeveloperInfo

func (*TLContestSaveDeveloperInfo) Decode

func (m *TLContestSaveDeveloperInfo) Decode(dbuf *DecodeBuf) error

func (*TLContestSaveDeveloperInfo) Descriptor

func (*TLContestSaveDeveloperInfo) Descriptor() ([]byte, []int)

func (*TLContestSaveDeveloperInfo) Encode

func (m *TLContestSaveDeveloperInfo) Encode() []byte

func (*TLContestSaveDeveloperInfo) GetAge

func (m *TLContestSaveDeveloperInfo) GetAge() int32

func (*TLContestSaveDeveloperInfo) GetCity

func (m *TLContestSaveDeveloperInfo) GetCity() string

func (*TLContestSaveDeveloperInfo) GetName

func (m *TLContestSaveDeveloperInfo) GetName() string

func (*TLContestSaveDeveloperInfo) GetPhoneNumber

func (m *TLContestSaveDeveloperInfo) GetPhoneNumber() string

func (*TLContestSaveDeveloperInfo) GetVkId

func (m *TLContestSaveDeveloperInfo) GetVkId() int32

func (*TLContestSaveDeveloperInfo) ProtoMessage

func (*TLContestSaveDeveloperInfo) ProtoMessage()

func (*TLContestSaveDeveloperInfo) Reset

func (m *TLContestSaveDeveloperInfo) Reset()

func (*TLContestSaveDeveloperInfo) String

func (m *TLContestSaveDeveloperInfo) String() string

type TLDataJSON

type TLDataJSON struct {
	Data2 *DataJSON_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dataJSON#7d748d04 data:string = DataJSON;

func NewTLDataJSON

func NewTLDataJSON() *TLDataJSON

func (*TLDataJSON) Decode

func (m *TLDataJSON) Decode(dbuf *DecodeBuf) error

func (*TLDataJSON) Descriptor

func (*TLDataJSON) Descriptor() ([]byte, []int)

func (*TLDataJSON) Encode

func (m *TLDataJSON) Encode() []byte

func (*TLDataJSON) GetData

func (m *TLDataJSON) GetData() string

func (*TLDataJSON) GetData2

func (m *TLDataJSON) GetData2() *DataJSON_Data

func (*TLDataJSON) ProtoMessage

func (*TLDataJSON) ProtoMessage()

func (*TLDataJSON) Reset

func (m *TLDataJSON) Reset()

func (*TLDataJSON) SetData

func (m *TLDataJSON) SetData(v string)

func (*TLDataJSON) String

func (m *TLDataJSON) String() string

func (*TLDataJSON) To_DataJSON

func (m *TLDataJSON) To_DataJSON() *DataJSON

dataJSON#7d748d04 data:string = DataJSON;

type TLDcOption

type TLDcOption struct {
	Data2 *DcOption_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption;

func NewTLDcOption

func NewTLDcOption() *TLDcOption

func (*TLDcOption) Decode

func (m *TLDcOption) Decode(dbuf *DecodeBuf) error

func (*TLDcOption) Descriptor

func (*TLDcOption) Descriptor() ([]byte, []int)

func (*TLDcOption) Encode

func (m *TLDcOption) Encode() []byte

func (*TLDcOption) GetCdn

func (m *TLDcOption) GetCdn() bool

func (*TLDcOption) GetData2

func (m *TLDcOption) GetData2() *DcOption_Data

func (*TLDcOption) GetId

func (m *TLDcOption) GetId() int32

func (*TLDcOption) GetIpAddress

func (m *TLDcOption) GetIpAddress() string

func (*TLDcOption) GetIpv6

func (m *TLDcOption) GetIpv6() bool

func (*TLDcOption) GetMediaOnly

func (m *TLDcOption) GetMediaOnly() bool

func (*TLDcOption) GetPort

func (m *TLDcOption) GetPort() int32

func (*TLDcOption) GetStatic

func (m *TLDcOption) GetStatic() bool

func (*TLDcOption) GetTcpoOnly

func (m *TLDcOption) GetTcpoOnly() bool

func (*TLDcOption) ProtoMessage

func (*TLDcOption) ProtoMessage()

func (*TLDcOption) Reset

func (m *TLDcOption) Reset()

func (*TLDcOption) SetCdn

func (m *TLDcOption) SetCdn(v bool)

func (*TLDcOption) SetId

func (m *TLDcOption) SetId(v int32)

func (*TLDcOption) SetIpAddress

func (m *TLDcOption) SetIpAddress(v string)

func (*TLDcOption) SetIpv6

func (m *TLDcOption) SetIpv6(v bool)

func (*TLDcOption) SetMediaOnly

func (m *TLDcOption) SetMediaOnly(v bool)

func (*TLDcOption) SetPort

func (m *TLDcOption) SetPort(v int32)

func (*TLDcOption) SetStatic

func (m *TLDcOption) SetStatic(v bool)

func (*TLDcOption) SetTcpoOnly

func (m *TLDcOption) SetTcpoOnly(v bool)

func (*TLDcOption) String

func (m *TLDcOption) String() string

func (*TLDcOption) To_DcOption

func (m *TLDcOption) To_DcOption() *DcOption

dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption;

type TLDestroyAuthKey

type TLDestroyAuthKey struct {
}

///////////////////////////////////////////////////////////////////////////// destroy_auth_key#d1435160 = DestroyAuthKeyRes;

func NewTLDestroyAuthKey

func NewTLDestroyAuthKey() *TLDestroyAuthKey

func (*TLDestroyAuthKey) Decode

func (m *TLDestroyAuthKey) Decode(dbuf *DecodeBuf) error

func (*TLDestroyAuthKey) Descriptor

func (*TLDestroyAuthKey) Descriptor() ([]byte, []int)

func (*TLDestroyAuthKey) Encode

func (m *TLDestroyAuthKey) Encode() []byte

func (*TLDestroyAuthKey) ProtoMessage

func (*TLDestroyAuthKey) ProtoMessage()

func (*TLDestroyAuthKey) Reset

func (m *TLDestroyAuthKey) Reset()

func (*TLDestroyAuthKey) String

func (m *TLDestroyAuthKey) String() string

type TLDestroyAuthKeyFail

type TLDestroyAuthKeyFail struct {
	Data2 *DestroyAuthKeyRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes;

func NewTLDestroyAuthKeyFail

func NewTLDestroyAuthKeyFail() *TLDestroyAuthKeyFail

func (*TLDestroyAuthKeyFail) Decode

func (m *TLDestroyAuthKeyFail) Decode(dbuf *DecodeBuf) error

func (*TLDestroyAuthKeyFail) Descriptor

func (*TLDestroyAuthKeyFail) Descriptor() ([]byte, []int)

func (*TLDestroyAuthKeyFail) Encode

func (m *TLDestroyAuthKeyFail) Encode() []byte

func (*TLDestroyAuthKeyFail) GetData2

func (*TLDestroyAuthKeyFail) ProtoMessage

func (*TLDestroyAuthKeyFail) ProtoMessage()

func (*TLDestroyAuthKeyFail) Reset

func (m *TLDestroyAuthKeyFail) Reset()

func (*TLDestroyAuthKeyFail) String

func (m *TLDestroyAuthKeyFail) String() string

func (*TLDestroyAuthKeyFail) To_DestroyAuthKeyRes

func (m *TLDestroyAuthKeyFail) To_DestroyAuthKeyRes() *DestroyAuthKeyRes

destroy_auth_key_fail#ea109b13 = DestroyAuthKeyRes;

type TLDestroyAuthKeyNone

type TLDestroyAuthKeyNone struct {
	Data2 *DestroyAuthKeyRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes;

func NewTLDestroyAuthKeyNone

func NewTLDestroyAuthKeyNone() *TLDestroyAuthKeyNone

func (*TLDestroyAuthKeyNone) Decode

func (m *TLDestroyAuthKeyNone) Decode(dbuf *DecodeBuf) error

func (*TLDestroyAuthKeyNone) Descriptor

func (*TLDestroyAuthKeyNone) Descriptor() ([]byte, []int)

func (*TLDestroyAuthKeyNone) Encode

func (m *TLDestroyAuthKeyNone) Encode() []byte

func (*TLDestroyAuthKeyNone) GetData2

func (*TLDestroyAuthKeyNone) ProtoMessage

func (*TLDestroyAuthKeyNone) ProtoMessage()

func (*TLDestroyAuthKeyNone) Reset

func (m *TLDestroyAuthKeyNone) Reset()

func (*TLDestroyAuthKeyNone) String

func (m *TLDestroyAuthKeyNone) String() string

func (*TLDestroyAuthKeyNone) To_DestroyAuthKeyRes

func (m *TLDestroyAuthKeyNone) To_DestroyAuthKeyRes() *DestroyAuthKeyRes

destroy_auth_key_none#0a9f2259 = DestroyAuthKeyRes;

type TLDestroyAuthKeyOk

type TLDestroyAuthKeyOk struct {
	Data2 *DestroyAuthKeyRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes;

func NewTLDestroyAuthKeyOk

func NewTLDestroyAuthKeyOk() *TLDestroyAuthKeyOk

func (*TLDestroyAuthKeyOk) Decode

func (m *TLDestroyAuthKeyOk) Decode(dbuf *DecodeBuf) error

func (*TLDestroyAuthKeyOk) Descriptor

func (*TLDestroyAuthKeyOk) Descriptor() ([]byte, []int)

func (*TLDestroyAuthKeyOk) Encode

func (m *TLDestroyAuthKeyOk) Encode() []byte

func (*TLDestroyAuthKeyOk) GetData2

func (*TLDestroyAuthKeyOk) ProtoMessage

func (*TLDestroyAuthKeyOk) ProtoMessage()

func (*TLDestroyAuthKeyOk) Reset

func (m *TLDestroyAuthKeyOk) Reset()

func (*TLDestroyAuthKeyOk) String

func (m *TLDestroyAuthKeyOk) String() string

func (*TLDestroyAuthKeyOk) To_DestroyAuthKeyRes

func (m *TLDestroyAuthKeyOk) To_DestroyAuthKeyRes() *DestroyAuthKeyRes

destroy_auth_key_ok#f660e1d4 = DestroyAuthKeyRes;

type TLDestroySession

type TLDestroySession struct {
	SessionId int64 `protobuf:"varint,1,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// destroy_session#e7512126 session_id:long = DestroySessionRes;

func NewTLDestroySession

func NewTLDestroySession() *TLDestroySession

func (*TLDestroySession) Decode

func (m *TLDestroySession) Decode(dbuf *DecodeBuf) error

func (*TLDestroySession) Descriptor

func (*TLDestroySession) Descriptor() ([]byte, []int)

func (*TLDestroySession) Encode

func (m *TLDestroySession) Encode() []byte

func (*TLDestroySession) GetSessionId

func (m *TLDestroySession) GetSessionId() int64

func (*TLDestroySession) ProtoMessage

func (*TLDestroySession) ProtoMessage()

func (*TLDestroySession) Reset

func (m *TLDestroySession) Reset()

func (*TLDestroySession) String

func (m *TLDestroySession) String() string

type TLDestroySessionNone

type TLDestroySessionNone struct {
	Data2 *DestroySessionRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

destroy_session_none#62d350c9 session_id:long = DestroySessionRes;

func NewTLDestroySessionNone

func NewTLDestroySessionNone() *TLDestroySessionNone

func (*TLDestroySessionNone) Decode

func (m *TLDestroySessionNone) Decode(dbuf *DecodeBuf) error

func (*TLDestroySessionNone) Descriptor

func (*TLDestroySessionNone) Descriptor() ([]byte, []int)

func (*TLDestroySessionNone) Encode

func (m *TLDestroySessionNone) Encode() []byte

func (*TLDestroySessionNone) GetData2

func (*TLDestroySessionNone) GetSessionId

func (m *TLDestroySessionNone) GetSessionId() int64

func (*TLDestroySessionNone) ProtoMessage

func (*TLDestroySessionNone) ProtoMessage()

func (*TLDestroySessionNone) Reset

func (m *TLDestroySessionNone) Reset()

func (*TLDestroySessionNone) SetSessionId

func (m *TLDestroySessionNone) SetSessionId(v int64)

func (*TLDestroySessionNone) String

func (m *TLDestroySessionNone) String() string

func (*TLDestroySessionNone) To_DestroySessionRes

func (m *TLDestroySessionNone) To_DestroySessionRes() *DestroySessionRes

destroy_session_none#62d350c9 session_id:long = DestroySessionRes;

type TLDestroySessionOk

type TLDestroySessionOk struct {
	Data2 *DestroySessionRes_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

destroy_session_ok#e22045fc session_id:long = DestroySessionRes;

func NewTLDestroySessionOk

func NewTLDestroySessionOk() *TLDestroySessionOk

func (*TLDestroySessionOk) Decode

func (m *TLDestroySessionOk) Decode(dbuf *DecodeBuf) error

func (*TLDestroySessionOk) Descriptor

func (*TLDestroySessionOk) Descriptor() ([]byte, []int)

func (*TLDestroySessionOk) Encode

func (m *TLDestroySessionOk) Encode() []byte

func (*TLDestroySessionOk) GetData2

func (*TLDestroySessionOk) GetSessionId

func (m *TLDestroySessionOk) GetSessionId() int64

func (*TLDestroySessionOk) ProtoMessage

func (*TLDestroySessionOk) ProtoMessage()

func (*TLDestroySessionOk) Reset

func (m *TLDestroySessionOk) Reset()

func (*TLDestroySessionOk) SetSessionId

func (m *TLDestroySessionOk) SetSessionId(v int64)

func (*TLDestroySessionOk) String

func (m *TLDestroySessionOk) String() string

func (*TLDestroySessionOk) To_DestroySessionRes

func (m *TLDestroySessionOk) To_DestroySessionRes() *DestroySessionRes

destroy_session_ok#e22045fc session_id:long = DestroySessionRes;

type TLDhGenFail

type TLDhGenFail struct {
	Data2 *SetClient_DHParamsAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer;

func NewTLDhGenFail

func NewTLDhGenFail() *TLDhGenFail

func (*TLDhGenFail) Decode

func (m *TLDhGenFail) Decode(dbuf *DecodeBuf) error

func (*TLDhGenFail) Descriptor

func (*TLDhGenFail) Descriptor() ([]byte, []int)

func (*TLDhGenFail) Encode

func (m *TLDhGenFail) Encode() []byte

func (*TLDhGenFail) GetData2

func (*TLDhGenFail) GetNewNonceHash3

func (m *TLDhGenFail) GetNewNonceHash3() []byte

func (*TLDhGenFail) GetNonce

func (m *TLDhGenFail) GetNonce() []byte

func (*TLDhGenFail) GetServerNonce

func (m *TLDhGenFail) GetServerNonce() []byte

func (*TLDhGenFail) ProtoMessage

func (*TLDhGenFail) ProtoMessage()

func (*TLDhGenFail) Reset

func (m *TLDhGenFail) Reset()

func (*TLDhGenFail) SetNewNonceHash3

func (m *TLDhGenFail) SetNewNonceHash3(v []byte)

func (*TLDhGenFail) SetNonce

func (m *TLDhGenFail) SetNonce(v []byte)

func (*TLDhGenFail) SetServerNonce

func (m *TLDhGenFail) SetServerNonce(v []byte)

func (*TLDhGenFail) String

func (m *TLDhGenFail) String() string

func (*TLDhGenFail) To_SetClient_DHParamsAnswer

func (m *TLDhGenFail) To_SetClient_DHParamsAnswer() *SetClient_DHParamsAnswer

dh_gen_fail#a69dae02 nonce:int128 server_nonce:int128 new_nonce_hash3:int128 = Set_client_DH_params_answer;

type TLDhGenOk

type TLDhGenOk struct {
	Data2 *SetClient_DHParamsAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;

func NewTLDhGenOk

func NewTLDhGenOk() *TLDhGenOk

func (*TLDhGenOk) Decode

func (m *TLDhGenOk) Decode(dbuf *DecodeBuf) error

func (*TLDhGenOk) Descriptor

func (*TLDhGenOk) Descriptor() ([]byte, []int)

func (*TLDhGenOk) Encode

func (m *TLDhGenOk) Encode() []byte

func (*TLDhGenOk) GetData2

func (*TLDhGenOk) GetNewNonceHash1

func (m *TLDhGenOk) GetNewNonceHash1() []byte

func (*TLDhGenOk) GetNonce

func (m *TLDhGenOk) GetNonce() []byte

func (*TLDhGenOk) GetServerNonce

func (m *TLDhGenOk) GetServerNonce() []byte

func (*TLDhGenOk) ProtoMessage

func (*TLDhGenOk) ProtoMessage()

func (*TLDhGenOk) Reset

func (m *TLDhGenOk) Reset()

func (*TLDhGenOk) SetNewNonceHash1

func (m *TLDhGenOk) SetNewNonceHash1(v []byte)

func (*TLDhGenOk) SetNonce

func (m *TLDhGenOk) SetNonce(v []byte)

func (*TLDhGenOk) SetServerNonce

func (m *TLDhGenOk) SetServerNonce(v []byte)

func (*TLDhGenOk) String

func (m *TLDhGenOk) String() string

func (*TLDhGenOk) To_SetClient_DHParamsAnswer

func (m *TLDhGenOk) To_SetClient_DHParamsAnswer() *SetClient_DHParamsAnswer

dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answer;

type TLDhGenRetry

type TLDhGenRetry struct {
	Data2 *SetClient_DHParamsAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer;

func NewTLDhGenRetry

func NewTLDhGenRetry() *TLDhGenRetry

func (*TLDhGenRetry) Decode

func (m *TLDhGenRetry) Decode(dbuf *DecodeBuf) error

func (*TLDhGenRetry) Descriptor

func (*TLDhGenRetry) Descriptor() ([]byte, []int)

func (*TLDhGenRetry) Encode

func (m *TLDhGenRetry) Encode() []byte

func (*TLDhGenRetry) GetData2

func (*TLDhGenRetry) GetNewNonceHash2

func (m *TLDhGenRetry) GetNewNonceHash2() []byte

func (*TLDhGenRetry) GetNonce

func (m *TLDhGenRetry) GetNonce() []byte

func (*TLDhGenRetry) GetServerNonce

func (m *TLDhGenRetry) GetServerNonce() []byte

func (*TLDhGenRetry) ProtoMessage

func (*TLDhGenRetry) ProtoMessage()

func (*TLDhGenRetry) Reset

func (m *TLDhGenRetry) Reset()

func (*TLDhGenRetry) SetNewNonceHash2

func (m *TLDhGenRetry) SetNewNonceHash2(v []byte)

func (*TLDhGenRetry) SetNonce

func (m *TLDhGenRetry) SetNonce(v []byte)

func (*TLDhGenRetry) SetServerNonce

func (m *TLDhGenRetry) SetServerNonce(v []byte)

func (*TLDhGenRetry) String

func (m *TLDhGenRetry) String() string

func (*TLDhGenRetry) To_SetClient_DHParamsAnswer

func (m *TLDhGenRetry) To_SetClient_DHParamsAnswer() *SetClient_DHParamsAnswer

dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answer;

type TLDialog

type TLDialog struct {
	Data2 *Dialog_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;

func NewTLDialog

func NewTLDialog() *TLDialog

func (*TLDialog) Decode

func (m *TLDialog) Decode(dbuf *DecodeBuf) error

func (*TLDialog) Descriptor

func (*TLDialog) Descriptor() ([]byte, []int)

func (*TLDialog) Encode

func (m *TLDialog) Encode() []byte

func (*TLDialog) GetData2

func (m *TLDialog) GetData2() *Dialog_Data

func (*TLDialog) GetDraft

func (m *TLDialog) GetDraft() *DraftMessage

func (*TLDialog) GetNotifySettings

func (m *TLDialog) GetNotifySettings() *PeerNotifySettings

func (*TLDialog) GetPeer

func (m *TLDialog) GetPeer() *Peer

func (*TLDialog) GetPinned

func (m *TLDialog) GetPinned() bool

func (*TLDialog) GetPts

func (m *TLDialog) GetPts() int32

func (*TLDialog) GetReadInboxMaxId

func (m *TLDialog) GetReadInboxMaxId() int32

func (*TLDialog) GetReadOutboxMaxId

func (m *TLDialog) GetReadOutboxMaxId() int32

func (*TLDialog) GetTopMessage

func (m *TLDialog) GetTopMessage() int32

func (*TLDialog) GetUnreadCount

func (m *TLDialog) GetUnreadCount() int32

func (*TLDialog) GetUnreadMentionsCount

func (m *TLDialog) GetUnreadMentionsCount() int32

func (*TLDialog) ProtoMessage

func (*TLDialog) ProtoMessage()

func (*TLDialog) Reset

func (m *TLDialog) Reset()

func (*TLDialog) SetDraft

func (m *TLDialog) SetDraft(v *DraftMessage)

func (*TLDialog) SetNotifySettings

func (m *TLDialog) SetNotifySettings(v *PeerNotifySettings)

func (*TLDialog) SetPeer

func (m *TLDialog) SetPeer(v *Peer)

func (*TLDialog) SetPinned

func (m *TLDialog) SetPinned(v bool)

func (*TLDialog) SetPts

func (m *TLDialog) SetPts(v int32)

func (*TLDialog) SetReadInboxMaxId

func (m *TLDialog) SetReadInboxMaxId(v int32)

func (*TLDialog) SetReadOutboxMaxId

func (m *TLDialog) SetReadOutboxMaxId(v int32)

func (*TLDialog) SetTopMessage

func (m *TLDialog) SetTopMessage(v int32)

func (*TLDialog) SetUnreadCount

func (m *TLDialog) SetUnreadCount(v int32)

func (*TLDialog) SetUnreadMentionsCount

func (m *TLDialog) SetUnreadMentionsCount(v int32)

func (*TLDialog) String

func (m *TLDialog) String() string

func (*TLDialog) To_Dialog

func (m *TLDialog) To_Dialog() *Dialog

dialog#e4def5db flags:# pinned:flags.2?true peer:Peer top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int notify_settings:PeerNotifySettings pts:flags.0?int draft:flags.1?DraftMessage = Dialog;

type TLDisabledFeature

type TLDisabledFeature struct {
	Data2 *DisabledFeature_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

disabledFeature#ae636f24 feature:string description:string = DisabledFeature;

func NewTLDisabledFeature

func NewTLDisabledFeature() *TLDisabledFeature

func (*TLDisabledFeature) Decode

func (m *TLDisabledFeature) Decode(dbuf *DecodeBuf) error

func (*TLDisabledFeature) Descriptor

func (*TLDisabledFeature) Descriptor() ([]byte, []int)

func (*TLDisabledFeature) Encode

func (m *TLDisabledFeature) Encode() []byte

func (*TLDisabledFeature) GetData2

func (m *TLDisabledFeature) GetData2() *DisabledFeature_Data

func (*TLDisabledFeature) GetDescription

func (m *TLDisabledFeature) GetDescription() string

func (*TLDisabledFeature) GetFeature

func (m *TLDisabledFeature) GetFeature() string

func (*TLDisabledFeature) ProtoMessage

func (*TLDisabledFeature) ProtoMessage()

func (*TLDisabledFeature) Reset

func (m *TLDisabledFeature) Reset()

func (*TLDisabledFeature) SetDescription

func (m *TLDisabledFeature) SetDescription(v string)

func (*TLDisabledFeature) SetFeature

func (m *TLDisabledFeature) SetFeature(v string)

func (*TLDisabledFeature) String

func (m *TLDisabledFeature) String() string

func (*TLDisabledFeature) To_DisabledFeature

func (m *TLDisabledFeature) To_DisabledFeature() *DisabledFeature

disabledFeature#ae636f24 feature:string description:string = DisabledFeature;

type TLDocument

type TLDocument struct {
	Data2 *Document_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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;

func NewTLDocument

func NewTLDocument() *TLDocument

func (*TLDocument) Decode

func (m *TLDocument) Decode(dbuf *DecodeBuf) error

func (*TLDocument) Descriptor

func (*TLDocument) Descriptor() ([]byte, []int)

func (*TLDocument) Encode

func (m *TLDocument) Encode() []byte

func (*TLDocument) GetAccessHash

func (m *TLDocument) GetAccessHash() int64

func (*TLDocument) GetAttributes

func (m *TLDocument) GetAttributes() []*DocumentAttribute

func (*TLDocument) GetData2

func (m *TLDocument) GetData2() *Document_Data

func (*TLDocument) GetDate

func (m *TLDocument) GetDate() int32

func (*TLDocument) GetDcId

func (m *TLDocument) GetDcId() int32

func (*TLDocument) GetId

func (m *TLDocument) GetId() int64

func (*TLDocument) GetMimeType

func (m *TLDocument) GetMimeType() string

func (*TLDocument) GetSize

func (m *TLDocument) GetSize() int32

func (*TLDocument) GetThumb

func (m *TLDocument) GetThumb() *PhotoSize

func (*TLDocument) GetVersion

func (m *TLDocument) GetVersion() int32

func (*TLDocument) ProtoMessage

func (*TLDocument) ProtoMessage()

func (*TLDocument) Reset

func (m *TLDocument) Reset()

func (*TLDocument) SetAccessHash

func (m *TLDocument) SetAccessHash(v int64)

func (*TLDocument) SetAttributes

func (m *TLDocument) SetAttributes(v []*DocumentAttribute)

func (*TLDocument) SetDate

func (m *TLDocument) SetDate(v int32)

func (*TLDocument) SetDcId

func (m *TLDocument) SetDcId(v int32)

func (*TLDocument) SetId

func (m *TLDocument) SetId(v int64)

func (*TLDocument) SetMimeType

func (m *TLDocument) SetMimeType(v string)

func (*TLDocument) SetSize

func (m *TLDocument) SetSize(v int32)

func (*TLDocument) SetThumb

func (m *TLDocument) SetThumb(v *PhotoSize)

func (*TLDocument) SetVersion

func (m *TLDocument) SetVersion(v int32)

func (*TLDocument) String

func (m *TLDocument) String() string

func (*TLDocument) To_Document

func (m *TLDocument) To_Document() *Document

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;

type TLDocumentAttributeAnimated

type TLDocumentAttributeAnimated struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeAnimated#11b58939 = DocumentAttribute;

func NewTLDocumentAttributeAnimated

func NewTLDocumentAttributeAnimated() *TLDocumentAttributeAnimated

func (*TLDocumentAttributeAnimated) Decode

func (m *TLDocumentAttributeAnimated) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeAnimated) Descriptor

func (*TLDocumentAttributeAnimated) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeAnimated) Encode

func (m *TLDocumentAttributeAnimated) Encode() []byte

func (*TLDocumentAttributeAnimated) GetData2

func (*TLDocumentAttributeAnimated) ProtoMessage

func (*TLDocumentAttributeAnimated) ProtoMessage()

func (*TLDocumentAttributeAnimated) Reset

func (m *TLDocumentAttributeAnimated) Reset()

func (*TLDocumentAttributeAnimated) String

func (m *TLDocumentAttributeAnimated) String() string

func (*TLDocumentAttributeAnimated) To_DocumentAttribute

func (m *TLDocumentAttributeAnimated) To_DocumentAttribute() *DocumentAttribute

documentAttributeAnimated#11b58939 = DocumentAttribute;

type TLDocumentAttributeAudio

type TLDocumentAttributeAudio struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

func NewTLDocumentAttributeAudio

func NewTLDocumentAttributeAudio() *TLDocumentAttributeAudio

func (*TLDocumentAttributeAudio) Decode

func (m *TLDocumentAttributeAudio) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeAudio) Descriptor

func (*TLDocumentAttributeAudio) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeAudio) Encode

func (m *TLDocumentAttributeAudio) Encode() []byte

func (*TLDocumentAttributeAudio) GetData2

func (*TLDocumentAttributeAudio) GetDuration

func (m *TLDocumentAttributeAudio) GetDuration() int32

func (*TLDocumentAttributeAudio) GetPerformer

func (m *TLDocumentAttributeAudio) GetPerformer() string

func (*TLDocumentAttributeAudio) GetTitle

func (m *TLDocumentAttributeAudio) GetTitle() string

func (*TLDocumentAttributeAudio) GetVoice

func (m *TLDocumentAttributeAudio) GetVoice() bool

func (*TLDocumentAttributeAudio) GetWaveform

func (m *TLDocumentAttributeAudio) GetWaveform() []byte

func (*TLDocumentAttributeAudio) ProtoMessage

func (*TLDocumentAttributeAudio) ProtoMessage()

func (*TLDocumentAttributeAudio) Reset

func (m *TLDocumentAttributeAudio) Reset()

func (*TLDocumentAttributeAudio) SetDuration

func (m *TLDocumentAttributeAudio) SetDuration(v int32)

func (*TLDocumentAttributeAudio) SetPerformer

func (m *TLDocumentAttributeAudio) SetPerformer(v string)

func (*TLDocumentAttributeAudio) SetTitle

func (m *TLDocumentAttributeAudio) SetTitle(v string)

func (*TLDocumentAttributeAudio) SetVoice

func (m *TLDocumentAttributeAudio) SetVoice(v bool)

func (*TLDocumentAttributeAudio) SetWaveform

func (m *TLDocumentAttributeAudio) SetWaveform(v []byte)

func (*TLDocumentAttributeAudio) String

func (m *TLDocumentAttributeAudio) String() string

func (*TLDocumentAttributeAudio) To_DocumentAttribute

func (m *TLDocumentAttributeAudio) To_DocumentAttribute() *DocumentAttribute

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

type TLDocumentAttributeFilename

type TLDocumentAttributeFilename struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeFilename#15590068 file_name:string = DocumentAttribute;

func NewTLDocumentAttributeFilename

func NewTLDocumentAttributeFilename() *TLDocumentAttributeFilename

func (*TLDocumentAttributeFilename) Decode

func (m *TLDocumentAttributeFilename) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeFilename) Descriptor

func (*TLDocumentAttributeFilename) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeFilename) Encode

func (m *TLDocumentAttributeFilename) Encode() []byte

func (*TLDocumentAttributeFilename) GetData2

func (*TLDocumentAttributeFilename) GetFileName

func (m *TLDocumentAttributeFilename) GetFileName() string

func (*TLDocumentAttributeFilename) ProtoMessage

func (*TLDocumentAttributeFilename) ProtoMessage()

func (*TLDocumentAttributeFilename) Reset

func (m *TLDocumentAttributeFilename) Reset()

func (*TLDocumentAttributeFilename) SetFileName

func (m *TLDocumentAttributeFilename) SetFileName(v string)

func (*TLDocumentAttributeFilename) String

func (m *TLDocumentAttributeFilename) String() string

func (*TLDocumentAttributeFilename) To_DocumentAttribute

func (m *TLDocumentAttributeFilename) To_DocumentAttribute() *DocumentAttribute

documentAttributeFilename#15590068 file_name:string = DocumentAttribute;

type TLDocumentAttributeHasStickers

type TLDocumentAttributeHasStickers struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeHasStickers#9801d2f7 = DocumentAttribute;

func NewTLDocumentAttributeHasStickers

func NewTLDocumentAttributeHasStickers() *TLDocumentAttributeHasStickers

func (*TLDocumentAttributeHasStickers) Decode

func (*TLDocumentAttributeHasStickers) Descriptor

func (*TLDocumentAttributeHasStickers) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeHasStickers) Encode

func (m *TLDocumentAttributeHasStickers) Encode() []byte

func (*TLDocumentAttributeHasStickers) GetData2

func (*TLDocumentAttributeHasStickers) ProtoMessage

func (*TLDocumentAttributeHasStickers) ProtoMessage()

func (*TLDocumentAttributeHasStickers) Reset

func (m *TLDocumentAttributeHasStickers) Reset()

func (*TLDocumentAttributeHasStickers) String

func (*TLDocumentAttributeHasStickers) To_DocumentAttribute

func (m *TLDocumentAttributeHasStickers) To_DocumentAttribute() *DocumentAttribute

documentAttributeHasStickers#9801d2f7 = DocumentAttribute;

type TLDocumentAttributeImageSize

type TLDocumentAttributeImageSize struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;

func NewTLDocumentAttributeImageSize

func NewTLDocumentAttributeImageSize() *TLDocumentAttributeImageSize

func (*TLDocumentAttributeImageSize) Decode

func (m *TLDocumentAttributeImageSize) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeImageSize) Descriptor

func (*TLDocumentAttributeImageSize) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeImageSize) Encode

func (m *TLDocumentAttributeImageSize) Encode() []byte

func (*TLDocumentAttributeImageSize) GetData2

func (*TLDocumentAttributeImageSize) GetH

func (*TLDocumentAttributeImageSize) GetW

func (*TLDocumentAttributeImageSize) ProtoMessage

func (*TLDocumentAttributeImageSize) ProtoMessage()

func (*TLDocumentAttributeImageSize) Reset

func (m *TLDocumentAttributeImageSize) Reset()

func (*TLDocumentAttributeImageSize) SetH

func (*TLDocumentAttributeImageSize) SetW

func (*TLDocumentAttributeImageSize) String

func (*TLDocumentAttributeImageSize) To_DocumentAttribute

func (m *TLDocumentAttributeImageSize) To_DocumentAttribute() *DocumentAttribute

documentAttributeImageSize#6c37c15c w:int h:int = DocumentAttribute;

type TLDocumentAttributeSticker

type TLDocumentAttributeSticker struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

func NewTLDocumentAttributeSticker

func NewTLDocumentAttributeSticker() *TLDocumentAttributeSticker

func (*TLDocumentAttributeSticker) Decode

func (m *TLDocumentAttributeSticker) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeSticker) Descriptor

func (*TLDocumentAttributeSticker) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeSticker) Encode

func (m *TLDocumentAttributeSticker) Encode() []byte

func (*TLDocumentAttributeSticker) GetAlt

func (m *TLDocumentAttributeSticker) GetAlt() string

func (*TLDocumentAttributeSticker) GetData2

func (*TLDocumentAttributeSticker) GetMask

func (m *TLDocumentAttributeSticker) GetMask() bool

func (*TLDocumentAttributeSticker) GetMaskCoords

func (m *TLDocumentAttributeSticker) GetMaskCoords() *MaskCoords

func (*TLDocumentAttributeSticker) GetStickerset

func (m *TLDocumentAttributeSticker) GetStickerset() *InputStickerSet

func (*TLDocumentAttributeSticker) ProtoMessage

func (*TLDocumentAttributeSticker) ProtoMessage()

func (*TLDocumentAttributeSticker) Reset

func (m *TLDocumentAttributeSticker) Reset()

func (*TLDocumentAttributeSticker) SetAlt

func (m *TLDocumentAttributeSticker) SetAlt(v string)

func (*TLDocumentAttributeSticker) SetMask

func (m *TLDocumentAttributeSticker) SetMask(v bool)

func (*TLDocumentAttributeSticker) SetMaskCoords

func (m *TLDocumentAttributeSticker) SetMaskCoords(v *MaskCoords)

func (*TLDocumentAttributeSticker) SetStickerset

func (m *TLDocumentAttributeSticker) SetStickerset(v *InputStickerSet)

func (*TLDocumentAttributeSticker) String

func (m *TLDocumentAttributeSticker) String() string

func (*TLDocumentAttributeSticker) To_DocumentAttribute

func (m *TLDocumentAttributeSticker) To_DocumentAttribute() *DocumentAttribute

documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

type TLDocumentAttributeVideo

type TLDocumentAttributeVideo struct {
	Data2 *DocumentAttribute_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute;

func NewTLDocumentAttributeVideo

func NewTLDocumentAttributeVideo() *TLDocumentAttributeVideo

func (*TLDocumentAttributeVideo) Decode

func (m *TLDocumentAttributeVideo) Decode(dbuf *DecodeBuf) error

func (*TLDocumentAttributeVideo) Descriptor

func (*TLDocumentAttributeVideo) Descriptor() ([]byte, []int)

func (*TLDocumentAttributeVideo) Encode

func (m *TLDocumentAttributeVideo) Encode() []byte

func (*TLDocumentAttributeVideo) GetData2

func (*TLDocumentAttributeVideo) GetDuration

func (m *TLDocumentAttributeVideo) GetDuration() int32

func (*TLDocumentAttributeVideo) GetH

func (m *TLDocumentAttributeVideo) GetH() int32

func (*TLDocumentAttributeVideo) GetRoundMessage

func (m *TLDocumentAttributeVideo) GetRoundMessage() bool

func (*TLDocumentAttributeVideo) GetW

func (m *TLDocumentAttributeVideo) GetW() int32

func (*TLDocumentAttributeVideo) ProtoMessage

func (*TLDocumentAttributeVideo) ProtoMessage()

func (*TLDocumentAttributeVideo) Reset

func (m *TLDocumentAttributeVideo) Reset()

func (*TLDocumentAttributeVideo) SetDuration

func (m *TLDocumentAttributeVideo) SetDuration(v int32)

func (*TLDocumentAttributeVideo) SetH

func (m *TLDocumentAttributeVideo) SetH(v int32)

func (*TLDocumentAttributeVideo) SetRoundMessage

func (m *TLDocumentAttributeVideo) SetRoundMessage(v bool)

func (*TLDocumentAttributeVideo) SetW

func (m *TLDocumentAttributeVideo) SetW(v int32)

func (*TLDocumentAttributeVideo) String

func (m *TLDocumentAttributeVideo) String() string

func (*TLDocumentAttributeVideo) To_DocumentAttribute

func (m *TLDocumentAttributeVideo) To_DocumentAttribute() *DocumentAttribute

documentAttributeVideo#ef02ce6 flags:# round_message:flags.0?true duration:int w:int h:int = DocumentAttribute;

type TLDocumentEmpty

type TLDocumentEmpty struct {
	Data2 *Document_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

documentEmpty#36f8c871 id:long = Document;

func NewTLDocumentEmpty

func NewTLDocumentEmpty() *TLDocumentEmpty

func (*TLDocumentEmpty) Decode

func (m *TLDocumentEmpty) Decode(dbuf *DecodeBuf) error

func (*TLDocumentEmpty) Descriptor

func (*TLDocumentEmpty) Descriptor() ([]byte, []int)

func (*TLDocumentEmpty) Encode

func (m *TLDocumentEmpty) Encode() []byte

func (*TLDocumentEmpty) GetData2

func (m *TLDocumentEmpty) GetData2() *Document_Data

func (*TLDocumentEmpty) GetId

func (m *TLDocumentEmpty) GetId() int64

func (*TLDocumentEmpty) ProtoMessage

func (*TLDocumentEmpty) ProtoMessage()

func (*TLDocumentEmpty) Reset

func (m *TLDocumentEmpty) Reset()

func (*TLDocumentEmpty) SetId

func (m *TLDocumentEmpty) SetId(v int64)

func (*TLDocumentEmpty) String

func (m *TLDocumentEmpty) String() string

func (*TLDocumentEmpty) To_Document

func (m *TLDocumentEmpty) To_Document() *Document

documentEmpty#36f8c871 id:long = Document;

type TLDraftMessage

type TLDraftMessage struct {
	Data2 *DraftMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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

func NewTLDraftMessage

func NewTLDraftMessage() *TLDraftMessage

func (*TLDraftMessage) Decode

func (m *TLDraftMessage) Decode(dbuf *DecodeBuf) error

func (*TLDraftMessage) Descriptor

func (*TLDraftMessage) Descriptor() ([]byte, []int)

func (*TLDraftMessage) Encode

func (m *TLDraftMessage) Encode() []byte

func (*TLDraftMessage) GetData2

func (m *TLDraftMessage) GetData2() *DraftMessage_Data

func (*TLDraftMessage) GetDate

func (m *TLDraftMessage) GetDate() int32

func (*TLDraftMessage) GetEntities

func (m *TLDraftMessage) GetEntities() []*MessageEntity

func (*TLDraftMessage) GetMessage

func (m *TLDraftMessage) GetMessage() string

func (*TLDraftMessage) GetNoWebpage

func (m *TLDraftMessage) GetNoWebpage() bool

func (*TLDraftMessage) GetReplyToMsgId

func (m *TLDraftMessage) GetReplyToMsgId() int32

func (*TLDraftMessage) ProtoMessage

func (*TLDraftMessage) ProtoMessage()

func (*TLDraftMessage) Reset

func (m *TLDraftMessage) Reset()

func (*TLDraftMessage) SetDate

func (m *TLDraftMessage) SetDate(v int32)

func (*TLDraftMessage) SetEntities

func (m *TLDraftMessage) SetEntities(v []*MessageEntity)

func (*TLDraftMessage) SetMessage

func (m *TLDraftMessage) SetMessage(v string)

func (*TLDraftMessage) SetNoWebpage

func (m *TLDraftMessage) SetNoWebpage(v bool)

func (*TLDraftMessage) SetReplyToMsgId

func (m *TLDraftMessage) SetReplyToMsgId(v int32)

func (*TLDraftMessage) String

func (m *TLDraftMessage) String() string

func (*TLDraftMessage) To_DraftMessage

func (m *TLDraftMessage) To_DraftMessage() *DraftMessage

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

type TLDraftMessageEmpty

type TLDraftMessageEmpty struct {
	Data2 *DraftMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

draftMessageEmpty#ba4baec5 = DraftMessage;

func NewTLDraftMessageEmpty

func NewTLDraftMessageEmpty() *TLDraftMessageEmpty

func (*TLDraftMessageEmpty) Decode

func (m *TLDraftMessageEmpty) Decode(dbuf *DecodeBuf) error

func (*TLDraftMessageEmpty) Descriptor

func (*TLDraftMessageEmpty) Descriptor() ([]byte, []int)

func (*TLDraftMessageEmpty) Encode

func (m *TLDraftMessageEmpty) Encode() []byte

func (*TLDraftMessageEmpty) GetData2

func (m *TLDraftMessageEmpty) GetData2() *DraftMessage_Data

func (*TLDraftMessageEmpty) ProtoMessage

func (*TLDraftMessageEmpty) ProtoMessage()

func (*TLDraftMessageEmpty) Reset

func (m *TLDraftMessageEmpty) Reset()

func (*TLDraftMessageEmpty) String

func (m *TLDraftMessageEmpty) String() string

func (*TLDraftMessageEmpty) To_DraftMessage

func (m *TLDraftMessageEmpty) To_DraftMessage() *DraftMessage

draftMessageEmpty#ba4baec5 = DraftMessage;

type TLEncryptedChat

type TLEncryptedChat struct {
	Data2 *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat;

func NewTLEncryptedChat

func NewTLEncryptedChat() *TLEncryptedChat

func (*TLEncryptedChat) Decode

func (m *TLEncryptedChat) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedChat) Descriptor

func (*TLEncryptedChat) Descriptor() ([]byte, []int)

func (*TLEncryptedChat) Encode

func (m *TLEncryptedChat) Encode() []byte

func (*TLEncryptedChat) GetAccessHash

func (m *TLEncryptedChat) GetAccessHash() int64

func (*TLEncryptedChat) GetAdminId

func (m *TLEncryptedChat) GetAdminId() int32

func (*TLEncryptedChat) GetData2

func (m *TLEncryptedChat) GetData2() *EncryptedChat_Data

func (*TLEncryptedChat) GetDate

func (m *TLEncryptedChat) GetDate() int32

func (*TLEncryptedChat) GetGAOrB

func (m *TLEncryptedChat) GetGAOrB() []byte

func (*TLEncryptedChat) GetId

func (m *TLEncryptedChat) GetId() int32

func (*TLEncryptedChat) GetKeyFingerprint

func (m *TLEncryptedChat) GetKeyFingerprint() int64

func (*TLEncryptedChat) GetParticipantId

func (m *TLEncryptedChat) GetParticipantId() int32

func (*TLEncryptedChat) ProtoMessage

func (*TLEncryptedChat) ProtoMessage()

func (*TLEncryptedChat) Reset

func (m *TLEncryptedChat) Reset()

func (*TLEncryptedChat) SetAccessHash

func (m *TLEncryptedChat) SetAccessHash(v int64)

func (*TLEncryptedChat) SetAdminId

func (m *TLEncryptedChat) SetAdminId(v int32)

func (*TLEncryptedChat) SetDate

func (m *TLEncryptedChat) SetDate(v int32)

func (*TLEncryptedChat) SetGAOrB

func (m *TLEncryptedChat) SetGAOrB(v []byte)

func (*TLEncryptedChat) SetId

func (m *TLEncryptedChat) SetId(v int32)

func (*TLEncryptedChat) SetKeyFingerprint

func (m *TLEncryptedChat) SetKeyFingerprint(v int64)

func (*TLEncryptedChat) SetParticipantId

func (m *TLEncryptedChat) SetParticipantId(v int32)

func (*TLEncryptedChat) String

func (m *TLEncryptedChat) String() string

func (*TLEncryptedChat) To_EncryptedChat

func (m *TLEncryptedChat) To_EncryptedChat() *EncryptedChat

encryptedChat#fa56ce36 id:int access_hash:long date:int admin_id:int participant_id:int g_a_or_b:bytes key_fingerprint:long = EncryptedChat;

type TLEncryptedChatDiscarded

type TLEncryptedChatDiscarded struct {
	Data2 *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat;

func NewTLEncryptedChatDiscarded

func NewTLEncryptedChatDiscarded() *TLEncryptedChatDiscarded

func (*TLEncryptedChatDiscarded) Decode

func (m *TLEncryptedChatDiscarded) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedChatDiscarded) Descriptor

func (*TLEncryptedChatDiscarded) Descriptor() ([]byte, []int)

func (*TLEncryptedChatDiscarded) Encode

func (m *TLEncryptedChatDiscarded) Encode() []byte

func (*TLEncryptedChatDiscarded) GetData2

func (*TLEncryptedChatDiscarded) GetId

func (m *TLEncryptedChatDiscarded) GetId() int32

func (*TLEncryptedChatDiscarded) ProtoMessage

func (*TLEncryptedChatDiscarded) ProtoMessage()

func (*TLEncryptedChatDiscarded) Reset

func (m *TLEncryptedChatDiscarded) Reset()

func (*TLEncryptedChatDiscarded) SetId

func (m *TLEncryptedChatDiscarded) SetId(v int32)

func (*TLEncryptedChatDiscarded) String

func (m *TLEncryptedChatDiscarded) String() string

func (*TLEncryptedChatDiscarded) To_EncryptedChat

func (m *TLEncryptedChatDiscarded) To_EncryptedChat() *EncryptedChat

encryptedChatDiscarded#13d6dd27 id:int = EncryptedChat;

type TLEncryptedChatEmpty

type TLEncryptedChatEmpty struct {
	Data2 *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;

func NewTLEncryptedChatEmpty

func NewTLEncryptedChatEmpty() *TLEncryptedChatEmpty

func (*TLEncryptedChatEmpty) Decode

func (m *TLEncryptedChatEmpty) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedChatEmpty) Descriptor

func (*TLEncryptedChatEmpty) Descriptor() ([]byte, []int)

func (*TLEncryptedChatEmpty) Encode

func (m *TLEncryptedChatEmpty) Encode() []byte

func (*TLEncryptedChatEmpty) GetData2

func (*TLEncryptedChatEmpty) GetId

func (m *TLEncryptedChatEmpty) GetId() int32

func (*TLEncryptedChatEmpty) ProtoMessage

func (*TLEncryptedChatEmpty) ProtoMessage()

func (*TLEncryptedChatEmpty) Reset

func (m *TLEncryptedChatEmpty) Reset()

func (*TLEncryptedChatEmpty) SetId

func (m *TLEncryptedChatEmpty) SetId(v int32)

func (*TLEncryptedChatEmpty) String

func (m *TLEncryptedChatEmpty) String() string

func (*TLEncryptedChatEmpty) To_EncryptedChat

func (m *TLEncryptedChatEmpty) To_EncryptedChat() *EncryptedChat

encryptedChatEmpty#ab7ec0a0 id:int = EncryptedChat;

type TLEncryptedChatRequested

type TLEncryptedChatRequested struct {
	Data2 *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat;

func NewTLEncryptedChatRequested

func NewTLEncryptedChatRequested() *TLEncryptedChatRequested

func (*TLEncryptedChatRequested) Decode

func (m *TLEncryptedChatRequested) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedChatRequested) Descriptor

func (*TLEncryptedChatRequested) Descriptor() ([]byte, []int)

func (*TLEncryptedChatRequested) Encode

func (m *TLEncryptedChatRequested) Encode() []byte

func (*TLEncryptedChatRequested) GetAccessHash

func (m *TLEncryptedChatRequested) GetAccessHash() int64

func (*TLEncryptedChatRequested) GetAdminId

func (m *TLEncryptedChatRequested) GetAdminId() int32

func (*TLEncryptedChatRequested) GetData2

func (*TLEncryptedChatRequested) GetDate

func (m *TLEncryptedChatRequested) GetDate() int32

func (*TLEncryptedChatRequested) GetGA

func (m *TLEncryptedChatRequested) GetGA() []byte

func (*TLEncryptedChatRequested) GetId

func (m *TLEncryptedChatRequested) GetId() int32

func (*TLEncryptedChatRequested) GetParticipantId

func (m *TLEncryptedChatRequested) GetParticipantId() int32

func (*TLEncryptedChatRequested) ProtoMessage

func (*TLEncryptedChatRequested) ProtoMessage()

func (*TLEncryptedChatRequested) Reset

func (m *TLEncryptedChatRequested) Reset()

func (*TLEncryptedChatRequested) SetAccessHash

func (m *TLEncryptedChatRequested) SetAccessHash(v int64)

func (*TLEncryptedChatRequested) SetAdminId

func (m *TLEncryptedChatRequested) SetAdminId(v int32)

func (*TLEncryptedChatRequested) SetDate

func (m *TLEncryptedChatRequested) SetDate(v int32)

func (*TLEncryptedChatRequested) SetGA

func (m *TLEncryptedChatRequested) SetGA(v []byte)

func (*TLEncryptedChatRequested) SetId

func (m *TLEncryptedChatRequested) SetId(v int32)

func (*TLEncryptedChatRequested) SetParticipantId

func (m *TLEncryptedChatRequested) SetParticipantId(v int32)

func (*TLEncryptedChatRequested) String

func (m *TLEncryptedChatRequested) String() string

func (*TLEncryptedChatRequested) To_EncryptedChat

func (m *TLEncryptedChatRequested) To_EncryptedChat() *EncryptedChat

encryptedChatRequested#c878527e id:int access_hash:long date:int admin_id:int participant_id:int g_a:bytes = EncryptedChat;

type TLEncryptedChatWaiting

type TLEncryptedChatWaiting struct {
	Data2 *EncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat;

func NewTLEncryptedChatWaiting

func NewTLEncryptedChatWaiting() *TLEncryptedChatWaiting

func (*TLEncryptedChatWaiting) Decode

func (m *TLEncryptedChatWaiting) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedChatWaiting) Descriptor

func (*TLEncryptedChatWaiting) Descriptor() ([]byte, []int)

func (*TLEncryptedChatWaiting) Encode

func (m *TLEncryptedChatWaiting) Encode() []byte

func (*TLEncryptedChatWaiting) GetAccessHash

func (m *TLEncryptedChatWaiting) GetAccessHash() int64

func (*TLEncryptedChatWaiting) GetAdminId

func (m *TLEncryptedChatWaiting) GetAdminId() int32

func (*TLEncryptedChatWaiting) GetData2

func (*TLEncryptedChatWaiting) GetDate

func (m *TLEncryptedChatWaiting) GetDate() int32

func (*TLEncryptedChatWaiting) GetId

func (m *TLEncryptedChatWaiting) GetId() int32

func (*TLEncryptedChatWaiting) GetParticipantId

func (m *TLEncryptedChatWaiting) GetParticipantId() int32

func (*TLEncryptedChatWaiting) ProtoMessage

func (*TLEncryptedChatWaiting) ProtoMessage()

func (*TLEncryptedChatWaiting) Reset

func (m *TLEncryptedChatWaiting) Reset()

func (*TLEncryptedChatWaiting) SetAccessHash

func (m *TLEncryptedChatWaiting) SetAccessHash(v int64)

func (*TLEncryptedChatWaiting) SetAdminId

func (m *TLEncryptedChatWaiting) SetAdminId(v int32)

func (*TLEncryptedChatWaiting) SetDate

func (m *TLEncryptedChatWaiting) SetDate(v int32)

func (*TLEncryptedChatWaiting) SetId

func (m *TLEncryptedChatWaiting) SetId(v int32)

func (*TLEncryptedChatWaiting) SetParticipantId

func (m *TLEncryptedChatWaiting) SetParticipantId(v int32)

func (*TLEncryptedChatWaiting) String

func (m *TLEncryptedChatWaiting) String() string

func (*TLEncryptedChatWaiting) To_EncryptedChat

func (m *TLEncryptedChatWaiting) To_EncryptedChat() *EncryptedChat

encryptedChatWaiting#3bf703dc id:int access_hash:long date:int admin_id:int participant_id:int = EncryptedChat;

type TLEncryptedFile

type TLEncryptedFile struct {
	Data2 *EncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile;

func NewTLEncryptedFile

func NewTLEncryptedFile() *TLEncryptedFile

func (*TLEncryptedFile) Decode

func (m *TLEncryptedFile) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedFile) Descriptor

func (*TLEncryptedFile) Descriptor() ([]byte, []int)

func (*TLEncryptedFile) Encode

func (m *TLEncryptedFile) Encode() []byte

func (*TLEncryptedFile) GetAccessHash

func (m *TLEncryptedFile) GetAccessHash() int64

func (*TLEncryptedFile) GetData2

func (m *TLEncryptedFile) GetData2() *EncryptedFile_Data

func (*TLEncryptedFile) GetDcId

func (m *TLEncryptedFile) GetDcId() int32

func (*TLEncryptedFile) GetId

func (m *TLEncryptedFile) GetId() int64

func (*TLEncryptedFile) GetKeyFingerprint

func (m *TLEncryptedFile) GetKeyFingerprint() int32

func (*TLEncryptedFile) GetSize

func (m *TLEncryptedFile) GetSize() int32

func (*TLEncryptedFile) ProtoMessage

func (*TLEncryptedFile) ProtoMessage()

func (*TLEncryptedFile) Reset

func (m *TLEncryptedFile) Reset()

func (*TLEncryptedFile) SetAccessHash

func (m *TLEncryptedFile) SetAccessHash(v int64)

func (*TLEncryptedFile) SetDcId

func (m *TLEncryptedFile) SetDcId(v int32)

func (*TLEncryptedFile) SetId

func (m *TLEncryptedFile) SetId(v int64)

func (*TLEncryptedFile) SetKeyFingerprint

func (m *TLEncryptedFile) SetKeyFingerprint(v int32)

func (*TLEncryptedFile) SetSize

func (m *TLEncryptedFile) SetSize(v int32)

func (*TLEncryptedFile) String

func (m *TLEncryptedFile) String() string

func (*TLEncryptedFile) To_EncryptedFile

func (m *TLEncryptedFile) To_EncryptedFile() *EncryptedFile

encryptedFile#4a70994c id:long access_hash:long size:int dc_id:int key_fingerprint:int = EncryptedFile;

type TLEncryptedFileEmpty

type TLEncryptedFileEmpty struct {
	Data2 *EncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedFileEmpty#c21f497e = EncryptedFile;

func NewTLEncryptedFileEmpty

func NewTLEncryptedFileEmpty() *TLEncryptedFileEmpty

func (*TLEncryptedFileEmpty) Decode

func (m *TLEncryptedFileEmpty) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedFileEmpty) Descriptor

func (*TLEncryptedFileEmpty) Descriptor() ([]byte, []int)

func (*TLEncryptedFileEmpty) Encode

func (m *TLEncryptedFileEmpty) Encode() []byte

func (*TLEncryptedFileEmpty) GetData2

func (*TLEncryptedFileEmpty) ProtoMessage

func (*TLEncryptedFileEmpty) ProtoMessage()

func (*TLEncryptedFileEmpty) Reset

func (m *TLEncryptedFileEmpty) Reset()

func (*TLEncryptedFileEmpty) String

func (m *TLEncryptedFileEmpty) String() string

func (*TLEncryptedFileEmpty) To_EncryptedFile

func (m *TLEncryptedFileEmpty) To_EncryptedFile() *EncryptedFile

encryptedFileEmpty#c21f497e = EncryptedFile;

type TLEncryptedMessage

type TLEncryptedMessage struct {
	Data2 *EncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;

func NewTLEncryptedMessage

func NewTLEncryptedMessage() *TLEncryptedMessage

func (*TLEncryptedMessage) Decode

func (m *TLEncryptedMessage) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedMessage) Descriptor

func (*TLEncryptedMessage) Descriptor() ([]byte, []int)

func (*TLEncryptedMessage) Encode

func (m *TLEncryptedMessage) Encode() []byte

func (*TLEncryptedMessage) GetBytes

func (m *TLEncryptedMessage) GetBytes() []byte

func (*TLEncryptedMessage) GetChatId

func (m *TLEncryptedMessage) GetChatId() int32

func (*TLEncryptedMessage) GetData2

func (*TLEncryptedMessage) GetDate

func (m *TLEncryptedMessage) GetDate() int32

func (*TLEncryptedMessage) GetFile

func (m *TLEncryptedMessage) GetFile() *EncryptedFile

func (*TLEncryptedMessage) GetRandomId

func (m *TLEncryptedMessage) GetRandomId() int64

func (*TLEncryptedMessage) ProtoMessage

func (*TLEncryptedMessage) ProtoMessage()

func (*TLEncryptedMessage) Reset

func (m *TLEncryptedMessage) Reset()

func (*TLEncryptedMessage) SetBytes

func (m *TLEncryptedMessage) SetBytes(v []byte)

func (*TLEncryptedMessage) SetChatId

func (m *TLEncryptedMessage) SetChatId(v int32)

func (*TLEncryptedMessage) SetDate

func (m *TLEncryptedMessage) SetDate(v int32)

func (*TLEncryptedMessage) SetFile

func (m *TLEncryptedMessage) SetFile(v *EncryptedFile)

func (*TLEncryptedMessage) SetRandomId

func (m *TLEncryptedMessage) SetRandomId(v int64)

func (*TLEncryptedMessage) String

func (m *TLEncryptedMessage) String() string

func (*TLEncryptedMessage) To_EncryptedMessage

func (m *TLEncryptedMessage) To_EncryptedMessage() *EncryptedMessage

encryptedMessage#ed18c118 random_id:long chat_id:int date:int bytes:bytes file:EncryptedFile = EncryptedMessage;

type TLEncryptedMessageService

type TLEncryptedMessageService struct {
	Data2 *EncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;

func NewTLEncryptedMessageService

func NewTLEncryptedMessageService() *TLEncryptedMessageService

func (*TLEncryptedMessageService) Decode

func (m *TLEncryptedMessageService) Decode(dbuf *DecodeBuf) error

func (*TLEncryptedMessageService) Descriptor

func (*TLEncryptedMessageService) Descriptor() ([]byte, []int)

func (*TLEncryptedMessageService) Encode

func (m *TLEncryptedMessageService) Encode() []byte

func (*TLEncryptedMessageService) GetBytes

func (m *TLEncryptedMessageService) GetBytes() []byte

func (*TLEncryptedMessageService) GetChatId

func (m *TLEncryptedMessageService) GetChatId() int32

func (*TLEncryptedMessageService) GetData2

func (*TLEncryptedMessageService) GetDate

func (m *TLEncryptedMessageService) GetDate() int32

func (*TLEncryptedMessageService) GetRandomId

func (m *TLEncryptedMessageService) GetRandomId() int64

func (*TLEncryptedMessageService) ProtoMessage

func (*TLEncryptedMessageService) ProtoMessage()

func (*TLEncryptedMessageService) Reset

func (m *TLEncryptedMessageService) Reset()

func (*TLEncryptedMessageService) SetBytes

func (m *TLEncryptedMessageService) SetBytes(v []byte)

func (*TLEncryptedMessageService) SetChatId

func (m *TLEncryptedMessageService) SetChatId(v int32)

func (*TLEncryptedMessageService) SetDate

func (m *TLEncryptedMessageService) SetDate(v int32)

func (*TLEncryptedMessageService) SetRandomId

func (m *TLEncryptedMessageService) SetRandomId(v int64)

func (*TLEncryptedMessageService) String

func (m *TLEncryptedMessageService) String() string

func (*TLEncryptedMessageService) To_EncryptedMessage

func (m *TLEncryptedMessageService) To_EncryptedMessage() *EncryptedMessage

encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessage;

type TLError

type TLError struct {
	Data2 *Error_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

error#c4b9f9bb code:int text:string = Error;

func NewTLError

func NewTLError() *TLError

func (*TLError) Decode

func (m *TLError) Decode(dbuf *DecodeBuf) error

func (*TLError) Descriptor

func (*TLError) Descriptor() ([]byte, []int)

func (*TLError) Encode

func (m *TLError) Encode() []byte

func (*TLError) GetCode

func (m *TLError) GetCode() int32

func (*TLError) GetData2

func (m *TLError) GetData2() *Error_Data

func (*TLError) GetText

func (m *TLError) GetText() string

func (*TLError) ProtoMessage

func (*TLError) ProtoMessage()

func (*TLError) Reset

func (m *TLError) Reset()

func (*TLError) SetCode

func (m *TLError) SetCode(v int32)

func (*TLError) SetText

func (m *TLError) SetText(v string)

func (*TLError) String

func (m *TLError) String() string

func (*TLError) To_Error

func (m *TLError) To_Error() *Error

error#c4b9f9bb code:int text:string = Error;

type TLExportedMessageLink struct {
	Data2 *ExportedMessageLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

exportedMessageLink#1f486803 link:string = ExportedMessageLink;

func NewTLExportedMessageLink() *TLExportedMessageLink

func (*TLExportedMessageLink) Decode

func (m *TLExportedMessageLink) Decode(dbuf *DecodeBuf) error

func (*TLExportedMessageLink) Descriptor

func (*TLExportedMessageLink) Descriptor() ([]byte, []int)

func (*TLExportedMessageLink) Encode

func (m *TLExportedMessageLink) Encode() []byte

func (*TLExportedMessageLink) GetData2

func (m *TLExportedMessageLink) GetLink() string

func (*TLExportedMessageLink) ProtoMessage

func (*TLExportedMessageLink) ProtoMessage()

func (*TLExportedMessageLink) Reset

func (m *TLExportedMessageLink) Reset()
func (m *TLExportedMessageLink) SetLink(v string)

func (*TLExportedMessageLink) String

func (m *TLExportedMessageLink) String() string
func (m *TLExportedMessageLink) To_ExportedMessageLink() *ExportedMessageLink

exportedMessageLink#1f486803 link:string = ExportedMessageLink;

type TLExportedMessageLinkLayer74

type TLExportedMessageLinkLayer74 struct {
	Data2 *ExportedMessageLink_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

Layer 74 exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink;

func NewTLExportedMessageLinkLayer74

func NewTLExportedMessageLinkLayer74() *TLExportedMessageLinkLayer74

func (*TLExportedMessageLinkLayer74) Decode

func (m *TLExportedMessageLinkLayer74) Decode(dbuf *DecodeBuf) error

func (*TLExportedMessageLinkLayer74) Descriptor

func (*TLExportedMessageLinkLayer74) Descriptor() ([]byte, []int)

func (*TLExportedMessageLinkLayer74) Encode

func (m *TLExportedMessageLinkLayer74) Encode() []byte

func (*TLExportedMessageLinkLayer74) GetData2

func (*TLExportedMessageLinkLayer74) GetHtml

func (m *TLExportedMessageLinkLayer74) GetHtml() string
func (m *TLExportedMessageLinkLayer74) GetLink() string

func (*TLExportedMessageLinkLayer74) ProtoMessage

func (*TLExportedMessageLinkLayer74) ProtoMessage()

func (*TLExportedMessageLinkLayer74) Reset

func (m *TLExportedMessageLinkLayer74) Reset()

func (*TLExportedMessageLinkLayer74) SetHtml

func (m *TLExportedMessageLinkLayer74) SetHtml(v string)
func (m *TLExportedMessageLinkLayer74) SetLink(v string)

func (*TLExportedMessageLinkLayer74) String

func (m *TLExportedMessageLinkLayer74) To_ExportedMessageLink() *ExportedMessageLink

exportedMessageLink#5dab1af4 link:string html:string = ExportedMessageLink;

type TLFileLocation

type TLFileLocation struct {
	Data2 *FileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation;

func NewTLFileLocation

func NewTLFileLocation() *TLFileLocation

func (*TLFileLocation) Decode

func (m *TLFileLocation) Decode(dbuf *DecodeBuf) error

func (*TLFileLocation) Descriptor

func (*TLFileLocation) Descriptor() ([]byte, []int)

func (*TLFileLocation) Encode

func (m *TLFileLocation) Encode() []byte

func (*TLFileLocation) GetData2

func (m *TLFileLocation) GetData2() *FileLocation_Data

func (*TLFileLocation) GetDcId

func (m *TLFileLocation) GetDcId() int32

func (*TLFileLocation) GetLocalId

func (m *TLFileLocation) GetLocalId() int32

func (*TLFileLocation) GetSecret

func (m *TLFileLocation) GetSecret() int64

func (*TLFileLocation) GetVolumeId

func (m *TLFileLocation) GetVolumeId() int64

func (*TLFileLocation) ProtoMessage

func (*TLFileLocation) ProtoMessage()

func (*TLFileLocation) Reset

func (m *TLFileLocation) Reset()

func (*TLFileLocation) SetDcId

func (m *TLFileLocation) SetDcId(v int32)

func (*TLFileLocation) SetLocalId

func (m *TLFileLocation) SetLocalId(v int32)

func (*TLFileLocation) SetSecret

func (m *TLFileLocation) SetSecret(v int64)

func (*TLFileLocation) SetVolumeId

func (m *TLFileLocation) SetVolumeId(v int64)

func (*TLFileLocation) String

func (m *TLFileLocation) String() string

func (*TLFileLocation) To_FileLocation

func (m *TLFileLocation) To_FileLocation() *FileLocation

fileLocation#53d69076 dc_id:int volume_id:long local_id:int secret:long = FileLocation;

type TLFileLocationUnavailable

type TLFileLocationUnavailable struct {
	Data2 *FileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation;

func NewTLFileLocationUnavailable

func NewTLFileLocationUnavailable() *TLFileLocationUnavailable

func (*TLFileLocationUnavailable) Decode

func (m *TLFileLocationUnavailable) Decode(dbuf *DecodeBuf) error

func (*TLFileLocationUnavailable) Descriptor

func (*TLFileLocationUnavailable) Descriptor() ([]byte, []int)

func (*TLFileLocationUnavailable) Encode

func (m *TLFileLocationUnavailable) Encode() []byte

func (*TLFileLocationUnavailable) GetData2

func (*TLFileLocationUnavailable) GetLocalId

func (m *TLFileLocationUnavailable) GetLocalId() int32

func (*TLFileLocationUnavailable) GetSecret

func (m *TLFileLocationUnavailable) GetSecret() int64

func (*TLFileLocationUnavailable) GetVolumeId

func (m *TLFileLocationUnavailable) GetVolumeId() int64

func (*TLFileLocationUnavailable) ProtoMessage

func (*TLFileLocationUnavailable) ProtoMessage()

func (*TLFileLocationUnavailable) Reset

func (m *TLFileLocationUnavailable) Reset()

func (*TLFileLocationUnavailable) SetLocalId

func (m *TLFileLocationUnavailable) SetLocalId(v int32)

func (*TLFileLocationUnavailable) SetSecret

func (m *TLFileLocationUnavailable) SetSecret(v int64)

func (*TLFileLocationUnavailable) SetVolumeId

func (m *TLFileLocationUnavailable) SetVolumeId(v int64)

func (*TLFileLocationUnavailable) String

func (m *TLFileLocationUnavailable) String() string

func (*TLFileLocationUnavailable) To_FileLocation

func (m *TLFileLocationUnavailable) To_FileLocation() *FileLocation

fileLocationUnavailable#7c596b46 volume_id:long local_id:int secret:long = FileLocation;

type TLFoundGif

type TLFoundGif struct {
	Data2 *FoundGif_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif;

func NewTLFoundGif

func NewTLFoundGif() *TLFoundGif

func (*TLFoundGif) Decode

func (m *TLFoundGif) Decode(dbuf *DecodeBuf) error

func (*TLFoundGif) Descriptor

func (*TLFoundGif) Descriptor() ([]byte, []int)

func (*TLFoundGif) Encode

func (m *TLFoundGif) Encode() []byte

func (*TLFoundGif) GetContentType

func (m *TLFoundGif) GetContentType() string

func (*TLFoundGif) GetContentUrl

func (m *TLFoundGif) GetContentUrl() string

func (*TLFoundGif) GetData2

func (m *TLFoundGif) GetData2() *FoundGif_Data

func (*TLFoundGif) GetH

func (m *TLFoundGif) GetH() int32

func (*TLFoundGif) GetThumbUrl

func (m *TLFoundGif) GetThumbUrl() string

func (*TLFoundGif) GetUrl

func (m *TLFoundGif) GetUrl() string

func (*TLFoundGif) GetW

func (m *TLFoundGif) GetW() int32

func (*TLFoundGif) ProtoMessage

func (*TLFoundGif) ProtoMessage()

func (*TLFoundGif) Reset

func (m *TLFoundGif) Reset()

func (*TLFoundGif) SetContentType

func (m *TLFoundGif) SetContentType(v string)

func (*TLFoundGif) SetContentUrl

func (m *TLFoundGif) SetContentUrl(v string)

func (*TLFoundGif) SetH

func (m *TLFoundGif) SetH(v int32)

func (*TLFoundGif) SetThumbUrl

func (m *TLFoundGif) SetThumbUrl(v string)

func (*TLFoundGif) SetUrl

func (m *TLFoundGif) SetUrl(v string)

func (*TLFoundGif) SetW

func (m *TLFoundGif) SetW(v int32)

func (*TLFoundGif) String

func (m *TLFoundGif) String() string

func (*TLFoundGif) To_FoundGif

func (m *TLFoundGif) To_FoundGif() *FoundGif

foundGif#162ecc1f url:string thumb_url:string content_url:string content_type:string w:int h:int = FoundGif;

type TLFoundGifCached

type TLFoundGifCached struct {
	Data2 *FoundGif_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif;

func NewTLFoundGifCached

func NewTLFoundGifCached() *TLFoundGifCached

func (*TLFoundGifCached) Decode

func (m *TLFoundGifCached) Decode(dbuf *DecodeBuf) error

func (*TLFoundGifCached) Descriptor

func (*TLFoundGifCached) Descriptor() ([]byte, []int)

func (*TLFoundGifCached) Encode

func (m *TLFoundGifCached) Encode() []byte

func (*TLFoundGifCached) GetData2

func (m *TLFoundGifCached) GetData2() *FoundGif_Data

func (*TLFoundGifCached) GetDocument

func (m *TLFoundGifCached) GetDocument() *Document

func (*TLFoundGifCached) GetPhoto

func (m *TLFoundGifCached) GetPhoto() *Photo

func (*TLFoundGifCached) GetUrl

func (m *TLFoundGifCached) GetUrl() string

func (*TLFoundGifCached) ProtoMessage

func (*TLFoundGifCached) ProtoMessage()

func (*TLFoundGifCached) Reset

func (m *TLFoundGifCached) Reset()

func (*TLFoundGifCached) SetDocument

func (m *TLFoundGifCached) SetDocument(v *Document)

func (*TLFoundGifCached) SetPhoto

func (m *TLFoundGifCached) SetPhoto(v *Photo)

func (*TLFoundGifCached) SetUrl

func (m *TLFoundGifCached) SetUrl(v string)

func (*TLFoundGifCached) String

func (m *TLFoundGifCached) String() string

func (*TLFoundGifCached) To_FoundGif

func (m *TLFoundGifCached) To_FoundGif() *FoundGif

foundGifCached#9c750409 url:string photo:Photo document:Document = FoundGif;

type TLFutureSalt

type TLFutureSalt struct {
	Data2 *FutureSalt_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt;

func NewTLFutureSalt

func NewTLFutureSalt() *TLFutureSalt

func (*TLFutureSalt) Decode

func (m *TLFutureSalt) Decode(dbuf *DecodeBuf) error

func (*TLFutureSalt) Descriptor

func (*TLFutureSalt) Descriptor() ([]byte, []int)

func (*TLFutureSalt) Encode

func (m *TLFutureSalt) Encode() []byte

func (*TLFutureSalt) GetData2

func (m *TLFutureSalt) GetData2() *FutureSalt_Data

func (*TLFutureSalt) GetSalt

func (m *TLFutureSalt) GetSalt() int64

func (*TLFutureSalt) GetValidSince

func (m *TLFutureSalt) GetValidSince() int32

func (*TLFutureSalt) GetValidUntil

func (m *TLFutureSalt) GetValidUntil() int32

func (*TLFutureSalt) ProtoMessage

func (*TLFutureSalt) ProtoMessage()

func (*TLFutureSalt) Reset

func (m *TLFutureSalt) Reset()

func (*TLFutureSalt) SetSalt

func (m *TLFutureSalt) SetSalt(v int64)

func (*TLFutureSalt) SetValidSince

func (m *TLFutureSalt) SetValidSince(v int32)

func (*TLFutureSalt) SetValidUntil

func (m *TLFutureSalt) SetValidUntil(v int32)

func (*TLFutureSalt) String

func (m *TLFutureSalt) String() string

func (*TLFutureSalt) To_FutureSalt

func (m *TLFutureSalt) To_FutureSalt() *FutureSalt

future_salt#0949d9dc valid_since:int valid_until:int salt:long = FutureSalt;

type TLFutureSalts

type TLFutureSalts struct {
	Data2 *FutureSalts_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

future_salts#ae500895 req_msg_id:long now:int salts:vector<future_salt> = FutureSalts;

func NewTLFutureSalts

func NewTLFutureSalts() *TLFutureSalts

func (*TLFutureSalts) Decode

func (m *TLFutureSalts) Decode(dbuf *DecodeBuf) error

func (*TLFutureSalts) Descriptor

func (*TLFutureSalts) Descriptor() ([]byte, []int)

func (*TLFutureSalts) Encode

func (m *TLFutureSalts) Encode() []byte

func (*TLFutureSalts) GetData2

func (m *TLFutureSalts) GetData2() *FutureSalts_Data

func (*TLFutureSalts) GetNow

func (m *TLFutureSalts) GetNow() int32

func (*TLFutureSalts) GetReqMsgId

func (m *TLFutureSalts) GetReqMsgId() int64

func (*TLFutureSalts) GetSalts

func (m *TLFutureSalts) GetSalts() []*TLFutureSalt

func (*TLFutureSalts) ProtoMessage

func (*TLFutureSalts) ProtoMessage()

func (*TLFutureSalts) Reset

func (m *TLFutureSalts) Reset()

func (*TLFutureSalts) SetNow

func (m *TLFutureSalts) SetNow(v int32)

func (*TLFutureSalts) SetReqMsgId

func (m *TLFutureSalts) SetReqMsgId(v int64)

func (*TLFutureSalts) SetSalts

func (m *TLFutureSalts) SetSalts(v []*TLFutureSalt)

func (*TLFutureSalts) String

func (m *TLFutureSalts) String() string

func (*TLFutureSalts) To_FutureSalts

func (m *TLFutureSalts) To_FutureSalts() *FutureSalts

future_salts#ae500895 req_msg_id:long now:int salts:vector<future_salt> = FutureSalts;

type TLGame

type TLGame struct {
	Data2 *Game_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game;

func NewTLGame

func NewTLGame() *TLGame

func (*TLGame) Decode

func (m *TLGame) Decode(dbuf *DecodeBuf) error

func (*TLGame) Descriptor

func (*TLGame) Descriptor() ([]byte, []int)

func (*TLGame) Encode

func (m *TLGame) Encode() []byte

func (*TLGame) GetAccessHash

func (m *TLGame) GetAccessHash() int64

func (*TLGame) GetData2

func (m *TLGame) GetData2() *Game_Data

func (*TLGame) GetDescription

func (m *TLGame) GetDescription() string

func (*TLGame) GetDocument

func (m *TLGame) GetDocument() *Document

func (*TLGame) GetId

func (m *TLGame) GetId() int64

func (*TLGame) GetPhoto

func (m *TLGame) GetPhoto() *Photo

func (*TLGame) GetShortName

func (m *TLGame) GetShortName() string

func (*TLGame) GetTitle

func (m *TLGame) GetTitle() string

func (*TLGame) ProtoMessage

func (*TLGame) ProtoMessage()

func (*TLGame) Reset

func (m *TLGame) Reset()

func (*TLGame) SetAccessHash

func (m *TLGame) SetAccessHash(v int64)

func (*TLGame) SetDescription

func (m *TLGame) SetDescription(v string)

func (*TLGame) SetDocument

func (m *TLGame) SetDocument(v *Document)

func (*TLGame) SetId

func (m *TLGame) SetId(v int64)

func (*TLGame) SetPhoto

func (m *TLGame) SetPhoto(v *Photo)

func (*TLGame) SetShortName

func (m *TLGame) SetShortName(v string)

func (*TLGame) SetTitle

func (m *TLGame) SetTitle(v string)

func (*TLGame) String

func (m *TLGame) String() string

func (*TLGame) To_Game

func (m *TLGame) To_Game() *Game

game#bdf9653b flags:# id:long access_hash:long short_name:string title:string description:string photo:Photo document:flags.0?Document = Game;

type TLGeoPoint

type TLGeoPoint struct {
	Data2 *GeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

geoPoint#2049d70c long:double lat:double = GeoPoint;

func NewTLGeoPoint

func NewTLGeoPoint() *TLGeoPoint

func (*TLGeoPoint) Decode

func (m *TLGeoPoint) Decode(dbuf *DecodeBuf) error

func (*TLGeoPoint) Descriptor

func (*TLGeoPoint) Descriptor() ([]byte, []int)

func (*TLGeoPoint) Encode

func (m *TLGeoPoint) Encode() []byte

func (*TLGeoPoint) GetData2

func (m *TLGeoPoint) GetData2() *GeoPoint_Data

func (*TLGeoPoint) GetLat

func (m *TLGeoPoint) GetLat() float64

func (*TLGeoPoint) GetLong

func (m *TLGeoPoint) GetLong() float64

func (*TLGeoPoint) ProtoMessage

func (*TLGeoPoint) ProtoMessage()

func (*TLGeoPoint) Reset

func (m *TLGeoPoint) Reset()

func (*TLGeoPoint) SetLat

func (m *TLGeoPoint) SetLat(v float64)

func (*TLGeoPoint) SetLong

func (m *TLGeoPoint) SetLong(v float64)

func (*TLGeoPoint) String

func (m *TLGeoPoint) String() string

func (*TLGeoPoint) To_GeoPoint

func (m *TLGeoPoint) To_GeoPoint() *GeoPoint

geoPoint#2049d70c long:double lat:double = GeoPoint;

type TLGeoPointEmpty

type TLGeoPointEmpty struct {
	Data2 *GeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

geoPointEmpty#1117dd5f = GeoPoint;

func NewTLGeoPointEmpty

func NewTLGeoPointEmpty() *TLGeoPointEmpty

func (*TLGeoPointEmpty) Decode

func (m *TLGeoPointEmpty) Decode(dbuf *DecodeBuf) error

func (*TLGeoPointEmpty) Descriptor

func (*TLGeoPointEmpty) Descriptor() ([]byte, []int)

func (*TLGeoPointEmpty) Encode

func (m *TLGeoPointEmpty) Encode() []byte

func (*TLGeoPointEmpty) GetData2

func (m *TLGeoPointEmpty) GetData2() *GeoPoint_Data

func (*TLGeoPointEmpty) ProtoMessage

func (*TLGeoPointEmpty) ProtoMessage()

func (*TLGeoPointEmpty) Reset

func (m *TLGeoPointEmpty) Reset()

func (*TLGeoPointEmpty) String

func (m *TLGeoPointEmpty) String() string

func (*TLGeoPointEmpty) To_GeoPoint

func (m *TLGeoPointEmpty) To_GeoPoint() *GeoPoint

geoPointEmpty#1117dd5f = GeoPoint;

type TLGetFutureSalts

type TLGetFutureSalts struct {
	Num int32 `protobuf:"varint,1,opt,name=num" json:"num,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// get_future_salts#b921bd04 num:int = FutureSalts;

func NewTLGetFutureSalts

func NewTLGetFutureSalts() *TLGetFutureSalts

func (*TLGetFutureSalts) Decode

func (m *TLGetFutureSalts) Decode(dbuf *DecodeBuf) error

func (*TLGetFutureSalts) Descriptor

func (*TLGetFutureSalts) Descriptor() ([]byte, []int)

func (*TLGetFutureSalts) Encode

func (m *TLGetFutureSalts) Encode() []byte

func (*TLGetFutureSalts) GetNum

func (m *TLGetFutureSalts) GetNum() int32

func (*TLGetFutureSalts) ProtoMessage

func (*TLGetFutureSalts) ProtoMessage()

func (*TLGetFutureSalts) Reset

func (m *TLGetFutureSalts) Reset()

func (*TLGetFutureSalts) String

func (m *TLGetFutureSalts) String() string

type TLGzipPacked

type TLGzipPacked struct {
	PackedData []byte
}

///////////////////////////////////////////////////////////////////////////// gzip_packed#3072cfa1 packed_data:string = Object; // parsed manually

func (*TLGzipPacked) Decode

func (m *TLGzipPacked) Decode(dbuf *DecodeBuf) error

func (*TLGzipPacked) Encode

func (m *TLGzipPacked) Encode() []byte

func (*TLGzipPacked) String

func (m *TLGzipPacked) String() string

type TLHelpAppUpdate

type TLHelpAppUpdate struct {
	Data2 *Help_AppUpdate_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;

func NewTLHelpAppUpdate

func NewTLHelpAppUpdate() *TLHelpAppUpdate

func (*TLHelpAppUpdate) Decode

func (m *TLHelpAppUpdate) Decode(dbuf *DecodeBuf) error

func (*TLHelpAppUpdate) Descriptor

func (*TLHelpAppUpdate) Descriptor() ([]byte, []int)

func (*TLHelpAppUpdate) Encode

func (m *TLHelpAppUpdate) Encode() []byte

func (*TLHelpAppUpdate) GetCritical

func (m *TLHelpAppUpdate) GetCritical() *Bool

func (*TLHelpAppUpdate) GetData2

func (m *TLHelpAppUpdate) GetData2() *Help_AppUpdate_Data

func (*TLHelpAppUpdate) GetId

func (m *TLHelpAppUpdate) GetId() int32

func (*TLHelpAppUpdate) GetText

func (m *TLHelpAppUpdate) GetText() string

func (*TLHelpAppUpdate) GetUrl

func (m *TLHelpAppUpdate) GetUrl() string

func (*TLHelpAppUpdate) ProtoMessage

func (*TLHelpAppUpdate) ProtoMessage()

func (*TLHelpAppUpdate) Reset

func (m *TLHelpAppUpdate) Reset()

func (*TLHelpAppUpdate) SetCritical

func (m *TLHelpAppUpdate) SetCritical(v *Bool)

func (*TLHelpAppUpdate) SetId

func (m *TLHelpAppUpdate) SetId(v int32)

func (*TLHelpAppUpdate) SetText

func (m *TLHelpAppUpdate) SetText(v string)

func (*TLHelpAppUpdate) SetUrl

func (m *TLHelpAppUpdate) SetUrl(v string)

func (*TLHelpAppUpdate) String

func (m *TLHelpAppUpdate) String() string

func (*TLHelpAppUpdate) To_Help_AppUpdate

func (m *TLHelpAppUpdate) To_Help_AppUpdate() *Help_AppUpdate

help.appUpdate#8987f311 id:int critical:Bool url:string text:string = help.AppUpdate;

type TLHelpGetAppChangelog

type TLHelpGetAppChangelog struct {
	PrevAppVersion string `protobuf:"bytes,1,opt,name=prev_app_version,json=prevAppVersion" json:"prev_app_version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help.getAppChangelog#9010ef6f prev_app_version:string = Updates;

func NewTLHelpGetAppChangelog

func NewTLHelpGetAppChangelog() *TLHelpGetAppChangelog

func (*TLHelpGetAppChangelog) Decode

func (m *TLHelpGetAppChangelog) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetAppChangelog) Descriptor

func (*TLHelpGetAppChangelog) Descriptor() ([]byte, []int)

func (*TLHelpGetAppChangelog) Encode

func (m *TLHelpGetAppChangelog) Encode() []byte

func (*TLHelpGetAppChangelog) GetPrevAppVersion

func (m *TLHelpGetAppChangelog) GetPrevAppVersion() string

func (*TLHelpGetAppChangelog) ProtoMessage

func (*TLHelpGetAppChangelog) ProtoMessage()

func (*TLHelpGetAppChangelog) Reset

func (m *TLHelpGetAppChangelog) Reset()

func (*TLHelpGetAppChangelog) String

func (m *TLHelpGetAppChangelog) String() string

type TLHelpGetAppUpdate

type TLHelpGetAppUpdate struct {
}

///////////////////////////////////////////////////////////////////////////// help.getAppUpdate#ae2de196 = help.AppUpdate;

func NewTLHelpGetAppUpdate

func NewTLHelpGetAppUpdate() *TLHelpGetAppUpdate

func (*TLHelpGetAppUpdate) Decode

func (m *TLHelpGetAppUpdate) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetAppUpdate) Descriptor

func (*TLHelpGetAppUpdate) Descriptor() ([]byte, []int)

func (*TLHelpGetAppUpdate) Encode

func (m *TLHelpGetAppUpdate) Encode() []byte

func (*TLHelpGetAppUpdate) ProtoMessage

func (*TLHelpGetAppUpdate) ProtoMessage()

func (*TLHelpGetAppUpdate) Reset

func (m *TLHelpGetAppUpdate) Reset()

func (*TLHelpGetAppUpdate) String

func (m *TLHelpGetAppUpdate) String() string

type TLHelpGetAppUpdateLayer46

type TLHelpGetAppUpdateLayer46 struct {
	DeviceModel   string `protobuf:"bytes,1,opt,name=device_model,json=deviceModel" json:"device_model,omitempty"`
	SystemVersion string `protobuf:"bytes,2,opt,name=system_version,json=systemVersion" json:"system_version,omitempty"`
	AppVersion    string `protobuf:"bytes,3,opt,name=app_version,json=appVersion" json:"app_version,omitempty"`
	LangCode      string `protobuf:"bytes,4,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Layer46 help.getAppUpdate#c812ac7e device_model:string system_version:string app_version:string lang_code:string = help.AppUpdate;

func NewTLHelpGetAppUpdateLayer46

func NewTLHelpGetAppUpdateLayer46() *TLHelpGetAppUpdateLayer46

func (*TLHelpGetAppUpdateLayer46) Decode

func (m *TLHelpGetAppUpdateLayer46) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetAppUpdateLayer46) Descriptor

func (*TLHelpGetAppUpdateLayer46) Descriptor() ([]byte, []int)

func (*TLHelpGetAppUpdateLayer46) Encode

func (m *TLHelpGetAppUpdateLayer46) Encode() []byte

func (*TLHelpGetAppUpdateLayer46) GetAppVersion

func (m *TLHelpGetAppUpdateLayer46) GetAppVersion() string

func (*TLHelpGetAppUpdateLayer46) GetDeviceModel

func (m *TLHelpGetAppUpdateLayer46) GetDeviceModel() string

func (*TLHelpGetAppUpdateLayer46) GetLangCode

func (m *TLHelpGetAppUpdateLayer46) GetLangCode() string

func (*TLHelpGetAppUpdateLayer46) GetSystemVersion

func (m *TLHelpGetAppUpdateLayer46) GetSystemVersion() string

func (*TLHelpGetAppUpdateLayer46) ProtoMessage

func (*TLHelpGetAppUpdateLayer46) ProtoMessage()

func (*TLHelpGetAppUpdateLayer46) Reset

func (m *TLHelpGetAppUpdateLayer46) Reset()

func (*TLHelpGetAppUpdateLayer46) String

func (m *TLHelpGetAppUpdateLayer46) String() string

type TLHelpGetCdnConfig

type TLHelpGetCdnConfig struct {
}

///////////////////////////////////////////////////////////////////////////// help.getCdnConfig#52029342 = CdnConfig;

func NewTLHelpGetCdnConfig

func NewTLHelpGetCdnConfig() *TLHelpGetCdnConfig

func (*TLHelpGetCdnConfig) Decode

func (m *TLHelpGetCdnConfig) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetCdnConfig) Descriptor

func (*TLHelpGetCdnConfig) Descriptor() ([]byte, []int)

func (*TLHelpGetCdnConfig) Encode

func (m *TLHelpGetCdnConfig) Encode() []byte

func (*TLHelpGetCdnConfig) ProtoMessage

func (*TLHelpGetCdnConfig) ProtoMessage()

func (*TLHelpGetCdnConfig) Reset

func (m *TLHelpGetCdnConfig) Reset()

func (*TLHelpGetCdnConfig) String

func (m *TLHelpGetCdnConfig) String() string

type TLHelpGetConfig

type TLHelpGetConfig struct {
}

///////////////////////////////////////////////////////////////////////////// help.getConfig#c4f9186b = Config;

func NewTLHelpGetConfig

func NewTLHelpGetConfig() *TLHelpGetConfig

func (*TLHelpGetConfig) Decode

func (m *TLHelpGetConfig) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetConfig) Descriptor

func (*TLHelpGetConfig) Descriptor() ([]byte, []int)

func (*TLHelpGetConfig) Encode

func (m *TLHelpGetConfig) Encode() []byte

func (*TLHelpGetConfig) ProtoMessage

func (*TLHelpGetConfig) ProtoMessage()

func (*TLHelpGetConfig) Reset

func (m *TLHelpGetConfig) Reset()

func (*TLHelpGetConfig) String

func (m *TLHelpGetConfig) String() string

type TLHelpGetInviteText

type TLHelpGetInviteText struct {
}

///////////////////////////////////////////////////////////////////////////// help.getInviteText#4d392343 = help.InviteText;

func NewTLHelpGetInviteText

func NewTLHelpGetInviteText() *TLHelpGetInviteText

func (*TLHelpGetInviteText) Decode

func (m *TLHelpGetInviteText) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetInviteText) Descriptor

func (*TLHelpGetInviteText) Descriptor() ([]byte, []int)

func (*TLHelpGetInviteText) Encode

func (m *TLHelpGetInviteText) Encode() []byte

func (*TLHelpGetInviteText) ProtoMessage

func (*TLHelpGetInviteText) ProtoMessage()

func (*TLHelpGetInviteText) Reset

func (m *TLHelpGetInviteText) Reset()

func (*TLHelpGetInviteText) String

func (m *TLHelpGetInviteText) String() string

type TLHelpGetInviteTextLayer46

type TLHelpGetInviteTextLayer46 struct {
	LangCode string `protobuf:"bytes,1,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Layer46 help.getInviteText#a4a95186 lang_code:string = help.InviteText;

func NewTLHelpGetInviteTextLayer46

func NewTLHelpGetInviteTextLayer46() *TLHelpGetInviteTextLayer46

func (*TLHelpGetInviteTextLayer46) Decode

func (m *TLHelpGetInviteTextLayer46) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetInviteTextLayer46) Descriptor

func (*TLHelpGetInviteTextLayer46) Descriptor() ([]byte, []int)

func (*TLHelpGetInviteTextLayer46) Encode

func (m *TLHelpGetInviteTextLayer46) Encode() []byte

func (*TLHelpGetInviteTextLayer46) GetLangCode

func (m *TLHelpGetInviteTextLayer46) GetLangCode() string

func (*TLHelpGetInviteTextLayer46) ProtoMessage

func (*TLHelpGetInviteTextLayer46) ProtoMessage()

func (*TLHelpGetInviteTextLayer46) Reset

func (m *TLHelpGetInviteTextLayer46) Reset()

func (*TLHelpGetInviteTextLayer46) String

func (m *TLHelpGetInviteTextLayer46) String() string

type TLHelpGetNearestDc

type TLHelpGetNearestDc struct {
}

///////////////////////////////////////////////////////////////////////////// help.getNearestDc#1fb33026 = NearestDc;

func NewTLHelpGetNearestDc

func NewTLHelpGetNearestDc() *TLHelpGetNearestDc

func (*TLHelpGetNearestDc) Decode

func (m *TLHelpGetNearestDc) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetNearestDc) Descriptor

func (*TLHelpGetNearestDc) Descriptor() ([]byte, []int)

func (*TLHelpGetNearestDc) Encode

func (m *TLHelpGetNearestDc) Encode() []byte

func (*TLHelpGetNearestDc) ProtoMessage

func (*TLHelpGetNearestDc) ProtoMessage()

func (*TLHelpGetNearestDc) Reset

func (m *TLHelpGetNearestDc) Reset()

func (*TLHelpGetNearestDc) String

func (m *TLHelpGetNearestDc) String() string

type TLHelpGetRecentMeUrls

type TLHelpGetRecentMeUrls struct {
	Referer string `protobuf:"bytes,1,opt,name=referer" json:"referer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help.getRecentMeUrls#3dc0f114 referer:string = help.RecentMeUrls;

func NewTLHelpGetRecentMeUrls

func NewTLHelpGetRecentMeUrls() *TLHelpGetRecentMeUrls

func (*TLHelpGetRecentMeUrls) Decode

func (m *TLHelpGetRecentMeUrls) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetRecentMeUrls) Descriptor

func (*TLHelpGetRecentMeUrls) Descriptor() ([]byte, []int)

func (*TLHelpGetRecentMeUrls) Encode

func (m *TLHelpGetRecentMeUrls) Encode() []byte

func (*TLHelpGetRecentMeUrls) GetReferer

func (m *TLHelpGetRecentMeUrls) GetReferer() string

func (*TLHelpGetRecentMeUrls) ProtoMessage

func (*TLHelpGetRecentMeUrls) ProtoMessage()

func (*TLHelpGetRecentMeUrls) Reset

func (m *TLHelpGetRecentMeUrls) Reset()

func (*TLHelpGetRecentMeUrls) String

func (m *TLHelpGetRecentMeUrls) String() string

type TLHelpGetScheme

type TLHelpGetScheme struct {
	Version int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help.getScheme#dbb69a9e version:int = Scheme;

func NewTLHelpGetScheme

func NewTLHelpGetScheme() *TLHelpGetScheme

func (*TLHelpGetScheme) Decode

func (m *TLHelpGetScheme) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetScheme) Descriptor

func (*TLHelpGetScheme) Descriptor() ([]byte, []int)

func (*TLHelpGetScheme) Encode

func (m *TLHelpGetScheme) Encode() []byte

func (*TLHelpGetScheme) GetVersion

func (m *TLHelpGetScheme) GetVersion() int32

func (*TLHelpGetScheme) ProtoMessage

func (*TLHelpGetScheme) ProtoMessage()

func (*TLHelpGetScheme) Reset

func (m *TLHelpGetScheme) Reset()

func (*TLHelpGetScheme) String

func (m *TLHelpGetScheme) String() string

type TLHelpGetSupport

type TLHelpGetSupport struct {
}

///////////////////////////////////////////////////////////////////////////// help.getSupport#9cdf08cd = help.Support;

func NewTLHelpGetSupport

func NewTLHelpGetSupport() *TLHelpGetSupport

func (*TLHelpGetSupport) Decode

func (m *TLHelpGetSupport) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetSupport) Descriptor

func (*TLHelpGetSupport) Descriptor() ([]byte, []int)

func (*TLHelpGetSupport) Encode

func (m *TLHelpGetSupport) Encode() []byte

func (*TLHelpGetSupport) ProtoMessage

func (*TLHelpGetSupport) ProtoMessage()

func (*TLHelpGetSupport) Reset

func (m *TLHelpGetSupport) Reset()

func (*TLHelpGetSupport) String

func (m *TLHelpGetSupport) String() string

type TLHelpGetTermsOfService

type TLHelpGetTermsOfService struct {
}

///////////////////////////////////////////////////////////////////////////// help.getTermsOfService#350170f3 = help.TermsOfService;

func NewTLHelpGetTermsOfService

func NewTLHelpGetTermsOfService() *TLHelpGetTermsOfService

func (*TLHelpGetTermsOfService) Decode

func (m *TLHelpGetTermsOfService) Decode(dbuf *DecodeBuf) error

func (*TLHelpGetTermsOfService) Descriptor

func (*TLHelpGetTermsOfService) Descriptor() ([]byte, []int)

func (*TLHelpGetTermsOfService) Encode

func (m *TLHelpGetTermsOfService) Encode() []byte

func (*TLHelpGetTermsOfService) ProtoMessage

func (*TLHelpGetTermsOfService) ProtoMessage()

func (*TLHelpGetTermsOfService) Reset

func (m *TLHelpGetTermsOfService) Reset()

func (*TLHelpGetTermsOfService) String

func (m *TLHelpGetTermsOfService) String() string

type TLHelpInviteText

type TLHelpInviteText struct {
	Data2 *Help_InviteText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.inviteText#18cb9f78 message:string = help.InviteText;

func NewTLHelpInviteText

func NewTLHelpInviteText() *TLHelpInviteText

func (*TLHelpInviteText) Decode

func (m *TLHelpInviteText) Decode(dbuf *DecodeBuf) error

func (*TLHelpInviteText) Descriptor

func (*TLHelpInviteText) Descriptor() ([]byte, []int)

func (*TLHelpInviteText) Encode

func (m *TLHelpInviteText) Encode() []byte

func (*TLHelpInviteText) GetData2

func (m *TLHelpInviteText) GetData2() *Help_InviteText_Data

func (*TLHelpInviteText) GetMessage

func (m *TLHelpInviteText) GetMessage() string

func (*TLHelpInviteText) ProtoMessage

func (*TLHelpInviteText) ProtoMessage()

func (*TLHelpInviteText) Reset

func (m *TLHelpInviteText) Reset()

func (*TLHelpInviteText) SetMessage

func (m *TLHelpInviteText) SetMessage(v string)

func (*TLHelpInviteText) String

func (m *TLHelpInviteText) String() string

func (*TLHelpInviteText) To_Help_InviteText

func (m *TLHelpInviteText) To_Help_InviteText() *Help_InviteText

help.inviteText#18cb9f78 message:string = help.InviteText;

type TLHelpNoAppUpdate

type TLHelpNoAppUpdate struct {
	Data2 *Help_AppUpdate_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.noAppUpdate#c45a6536 = help.AppUpdate;

func NewTLHelpNoAppUpdate

func NewTLHelpNoAppUpdate() *TLHelpNoAppUpdate

func (*TLHelpNoAppUpdate) Decode

func (m *TLHelpNoAppUpdate) Decode(dbuf *DecodeBuf) error

func (*TLHelpNoAppUpdate) Descriptor

func (*TLHelpNoAppUpdate) Descriptor() ([]byte, []int)

func (*TLHelpNoAppUpdate) Encode

func (m *TLHelpNoAppUpdate) Encode() []byte

func (*TLHelpNoAppUpdate) GetData2

func (m *TLHelpNoAppUpdate) GetData2() *Help_AppUpdate_Data

func (*TLHelpNoAppUpdate) ProtoMessage

func (*TLHelpNoAppUpdate) ProtoMessage()

func (*TLHelpNoAppUpdate) Reset

func (m *TLHelpNoAppUpdate) Reset()

func (*TLHelpNoAppUpdate) String

func (m *TLHelpNoAppUpdate) String() string

func (*TLHelpNoAppUpdate) To_Help_AppUpdate

func (m *TLHelpNoAppUpdate) To_Help_AppUpdate() *Help_AppUpdate

help.noAppUpdate#c45a6536 = help.AppUpdate;

type TLHelpRecentMeUrls

type TLHelpRecentMeUrls struct {
	Data2 *Help_RecentMeUrls_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.recentMeUrls#e0310d7 urls:Vector<RecentMeUrl> chats:Vector<Chat> users:Vector<User> = help.RecentMeUrls;

func NewTLHelpRecentMeUrls

func NewTLHelpRecentMeUrls() *TLHelpRecentMeUrls

func (*TLHelpRecentMeUrls) Decode

func (m *TLHelpRecentMeUrls) Decode(dbuf *DecodeBuf) error

func (*TLHelpRecentMeUrls) Descriptor

func (*TLHelpRecentMeUrls) Descriptor() ([]byte, []int)

func (*TLHelpRecentMeUrls) Encode

func (m *TLHelpRecentMeUrls) Encode() []byte

func (*TLHelpRecentMeUrls) GetChats

func (m *TLHelpRecentMeUrls) GetChats() []*Chat

func (*TLHelpRecentMeUrls) GetData2

func (*TLHelpRecentMeUrls) GetUrls

func (m *TLHelpRecentMeUrls) GetUrls() []*RecentMeUrl

func (*TLHelpRecentMeUrls) GetUsers

func (m *TLHelpRecentMeUrls) GetUsers() []*User

func (*TLHelpRecentMeUrls) ProtoMessage

func (*TLHelpRecentMeUrls) ProtoMessage()

func (*TLHelpRecentMeUrls) Reset

func (m *TLHelpRecentMeUrls) Reset()

func (*TLHelpRecentMeUrls) SetChats

func (m *TLHelpRecentMeUrls) SetChats(v []*Chat)

func (*TLHelpRecentMeUrls) SetUrls

func (m *TLHelpRecentMeUrls) SetUrls(v []*RecentMeUrl)

func (*TLHelpRecentMeUrls) SetUsers

func (m *TLHelpRecentMeUrls) SetUsers(v []*User)

func (*TLHelpRecentMeUrls) String

func (m *TLHelpRecentMeUrls) String() string

func (*TLHelpRecentMeUrls) To_Help_RecentMeUrls

func (m *TLHelpRecentMeUrls) To_Help_RecentMeUrls() *Help_RecentMeUrls

help.recentMeUrls#e0310d7 urls:Vector<RecentMeUrl> chats:Vector<Chat> users:Vector<User> = help.RecentMeUrls;

type TLHelpSaveAppLog

type TLHelpSaveAppLog struct {
	Events []*InputAppEvent `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help.saveAppLog#6f02f748 events:Vector<InputAppEvent> = Bool;

func NewTLHelpSaveAppLog

func NewTLHelpSaveAppLog() *TLHelpSaveAppLog

func (*TLHelpSaveAppLog) Decode

func (m *TLHelpSaveAppLog) Decode(dbuf *DecodeBuf) error

func (*TLHelpSaveAppLog) Descriptor

func (*TLHelpSaveAppLog) Descriptor() ([]byte, []int)

func (*TLHelpSaveAppLog) Encode

func (m *TLHelpSaveAppLog) Encode() []byte

func (*TLHelpSaveAppLog) GetEvents

func (m *TLHelpSaveAppLog) GetEvents() []*InputAppEvent

func (*TLHelpSaveAppLog) ProtoMessage

func (*TLHelpSaveAppLog) ProtoMessage()

func (*TLHelpSaveAppLog) Reset

func (m *TLHelpSaveAppLog) Reset()

func (*TLHelpSaveAppLog) String

func (m *TLHelpSaveAppLog) String() string

type TLHelpSetBotUpdatesStatus

type TLHelpSetBotUpdatesStatus struct {
	PendingUpdatesCount int32  `protobuf:"varint,1,opt,name=pending_updates_count,json=pendingUpdatesCount" json:"pending_updates_count,omitempty"`
	Message             string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// help.setBotUpdatesStatus#ec22cfcd pending_updates_count:int message:string = Bool;

func NewTLHelpSetBotUpdatesStatus

func NewTLHelpSetBotUpdatesStatus() *TLHelpSetBotUpdatesStatus

func (*TLHelpSetBotUpdatesStatus) Decode

func (m *TLHelpSetBotUpdatesStatus) Decode(dbuf *DecodeBuf) error

func (*TLHelpSetBotUpdatesStatus) Descriptor

func (*TLHelpSetBotUpdatesStatus) Descriptor() ([]byte, []int)

func (*TLHelpSetBotUpdatesStatus) Encode

func (m *TLHelpSetBotUpdatesStatus) Encode() []byte

func (*TLHelpSetBotUpdatesStatus) GetMessage

func (m *TLHelpSetBotUpdatesStatus) GetMessage() string

func (*TLHelpSetBotUpdatesStatus) GetPendingUpdatesCount

func (m *TLHelpSetBotUpdatesStatus) GetPendingUpdatesCount() int32

func (*TLHelpSetBotUpdatesStatus) ProtoMessage

func (*TLHelpSetBotUpdatesStatus) ProtoMessage()

func (*TLHelpSetBotUpdatesStatus) Reset

func (m *TLHelpSetBotUpdatesStatus) Reset()

func (*TLHelpSetBotUpdatesStatus) String

func (m *TLHelpSetBotUpdatesStatus) String() string

type TLHelpSupport

type TLHelpSupport struct {
	Data2 *Help_Support_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.support#17c6b5f6 phone_number:string user:User = help.Support;

func NewTLHelpSupport

func NewTLHelpSupport() *TLHelpSupport

func (*TLHelpSupport) Decode

func (m *TLHelpSupport) Decode(dbuf *DecodeBuf) error

func (*TLHelpSupport) Descriptor

func (*TLHelpSupport) Descriptor() ([]byte, []int)

func (*TLHelpSupport) Encode

func (m *TLHelpSupport) Encode() []byte

func (*TLHelpSupport) GetData2

func (m *TLHelpSupport) GetData2() *Help_Support_Data

func (*TLHelpSupport) GetPhoneNumber

func (m *TLHelpSupport) GetPhoneNumber() string

func (*TLHelpSupport) GetUser

func (m *TLHelpSupport) GetUser() *User

func (*TLHelpSupport) ProtoMessage

func (*TLHelpSupport) ProtoMessage()

func (*TLHelpSupport) Reset

func (m *TLHelpSupport) Reset()

func (*TLHelpSupport) SetPhoneNumber

func (m *TLHelpSupport) SetPhoneNumber(v string)

func (*TLHelpSupport) SetUser

func (m *TLHelpSupport) SetUser(v *User)

func (*TLHelpSupport) String

func (m *TLHelpSupport) String() string

func (*TLHelpSupport) To_Help_Support

func (m *TLHelpSupport) To_Help_Support() *Help_Support

help.support#17c6b5f6 phone_number:string user:User = help.Support;

type TLHelpTermsOfService

type TLHelpTermsOfService struct {
	Data2 *Help_TermsOfService_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

help.termsOfService#f1ee3e90 text:string = help.TermsOfService;

func NewTLHelpTermsOfService

func NewTLHelpTermsOfService() *TLHelpTermsOfService

func (*TLHelpTermsOfService) Decode

func (m *TLHelpTermsOfService) Decode(dbuf *DecodeBuf) error

func (*TLHelpTermsOfService) Descriptor

func (*TLHelpTermsOfService) Descriptor() ([]byte, []int)

func (*TLHelpTermsOfService) Encode

func (m *TLHelpTermsOfService) Encode() []byte

func (*TLHelpTermsOfService) GetData2

func (*TLHelpTermsOfService) GetText

func (m *TLHelpTermsOfService) GetText() string

func (*TLHelpTermsOfService) ProtoMessage

func (*TLHelpTermsOfService) ProtoMessage()

func (*TLHelpTermsOfService) Reset

func (m *TLHelpTermsOfService) Reset()

func (*TLHelpTermsOfService) SetText

func (m *TLHelpTermsOfService) SetText(v string)

func (*TLHelpTermsOfService) String

func (m *TLHelpTermsOfService) String() string

func (*TLHelpTermsOfService) To_Help_TermsOfService

func (m *TLHelpTermsOfService) To_Help_TermsOfService() *Help_TermsOfService

help.termsOfService#f1ee3e90 text:string = help.TermsOfService;

type TLHighScore

type TLHighScore struct {
	Data2 *HighScore_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

highScore#58fffcd0 pos:int user_id:int score:int = HighScore;

func NewTLHighScore

func NewTLHighScore() *TLHighScore

func (*TLHighScore) Decode

func (m *TLHighScore) Decode(dbuf *DecodeBuf) error

func (*TLHighScore) Descriptor

func (*TLHighScore) Descriptor() ([]byte, []int)

func (*TLHighScore) Encode

func (m *TLHighScore) Encode() []byte

func (*TLHighScore) GetData2

func (m *TLHighScore) GetData2() *HighScore_Data

func (*TLHighScore) GetPos

func (m *TLHighScore) GetPos() int32

func (*TLHighScore) GetScore

func (m *TLHighScore) GetScore() int32

func (*TLHighScore) GetUserId

func (m *TLHighScore) GetUserId() int32

func (*TLHighScore) ProtoMessage

func (*TLHighScore) ProtoMessage()

func (*TLHighScore) Reset

func (m *TLHighScore) Reset()

func (*TLHighScore) SetPos

func (m *TLHighScore) SetPos(v int32)

func (*TLHighScore) SetScore

func (m *TLHighScore) SetScore(v int32)

func (*TLHighScore) SetUserId

func (m *TLHighScore) SetUserId(v int32)

func (*TLHighScore) String

func (m *TLHighScore) String() string

func (*TLHighScore) To_HighScore

func (m *TLHighScore) To_HighScore() *HighScore

highScore#58fffcd0 pos:int user_id:int score:int = HighScore;

type TLHttpWait

type TLHttpWait struct {
	Data2 *HttpWait_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait;

func NewTLHttpWait

func NewTLHttpWait() *TLHttpWait

func (*TLHttpWait) Decode

func (m *TLHttpWait) Decode(dbuf *DecodeBuf) error

func (*TLHttpWait) Descriptor

func (*TLHttpWait) Descriptor() ([]byte, []int)

func (*TLHttpWait) Encode

func (m *TLHttpWait) Encode() []byte

func (*TLHttpWait) GetData2

func (m *TLHttpWait) GetData2() *HttpWait_Data

func (*TLHttpWait) GetMaxDelay

func (m *TLHttpWait) GetMaxDelay() int32

func (*TLHttpWait) GetMaxWait

func (m *TLHttpWait) GetMaxWait() int32

func (*TLHttpWait) GetWaitAfter

func (m *TLHttpWait) GetWaitAfter() int32

func (*TLHttpWait) ProtoMessage

func (*TLHttpWait) ProtoMessage()

func (*TLHttpWait) Reset

func (m *TLHttpWait) Reset()

func (*TLHttpWait) SetMaxDelay

func (m *TLHttpWait) SetMaxDelay(v int32)

func (*TLHttpWait) SetMaxWait

func (m *TLHttpWait) SetMaxWait(v int32)

func (*TLHttpWait) SetWaitAfter

func (m *TLHttpWait) SetWaitAfter(v int32)

func (*TLHttpWait) String

func (m *TLHttpWait) String() string

func (*TLHttpWait) To_HttpWait

func (m *TLHttpWait) To_HttpWait() *HttpWait

http_wait#9299359f max_delay:int wait_after:int max_wait:int = HttpWait;

type TLImportedContact

type TLImportedContact struct {
	Data2 *ImportedContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

importedContact#d0028438 user_id:int client_id:long = ImportedContact;

func NewTLImportedContact

func NewTLImportedContact() *TLImportedContact

func (*TLImportedContact) Decode

func (m *TLImportedContact) Decode(dbuf *DecodeBuf) error

func (*TLImportedContact) Descriptor

func (*TLImportedContact) Descriptor() ([]byte, []int)

func (*TLImportedContact) Encode

func (m *TLImportedContact) Encode() []byte

func (*TLImportedContact) GetClientId

func (m *TLImportedContact) GetClientId() int64

func (*TLImportedContact) GetData2

func (m *TLImportedContact) GetData2() *ImportedContact_Data

func (*TLImportedContact) GetUserId

func (m *TLImportedContact) GetUserId() int32

func (*TLImportedContact) ProtoMessage

func (*TLImportedContact) ProtoMessage()

func (*TLImportedContact) Reset

func (m *TLImportedContact) Reset()

func (*TLImportedContact) SetClientId

func (m *TLImportedContact) SetClientId(v int64)

func (*TLImportedContact) SetUserId

func (m *TLImportedContact) SetUserId(v int32)

func (*TLImportedContact) String

func (m *TLImportedContact) String() string

func (*TLImportedContact) To_ImportedContact

func (m *TLImportedContact) To_ImportedContact() *ImportedContact

importedContact#d0028438 user_id:int client_id:long = ImportedContact;

type TLInitConnection

type TLInitConnection struct {
	ApiId          int32  `protobuf:"varint,1,opt,name=api_id,json=apiId" json:"api_id,omitempty"`
	DeviceModel    string `protobuf:"bytes,2,opt,name=device_model,json=deviceModel" json:"device_model,omitempty"`
	SystemVersion  string `protobuf:"bytes,3,opt,name=system_version,json=systemVersion" json:"system_version,omitempty"`
	AppVersion     string `protobuf:"bytes,4,opt,name=app_version,json=appVersion" json:"app_version,omitempty"`
	SystemLangCode string `protobuf:"bytes,5,opt,name=system_lang_code,json=systemLangCode" json:"system_lang_code,omitempty"`
	LangPack       string `protobuf:"bytes,6,opt,name=lang_pack,json=langPack" json:"lang_pack,omitempty"`
	LangCode       string `protobuf:"bytes,7,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
	Query          []byte `protobuf:"bytes,8,opt,name=query,proto3" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X;

func NewTLInitConnection

func NewTLInitConnection() *TLInitConnection

func (*TLInitConnection) Decode

func (m *TLInitConnection) Decode(dbuf *DecodeBuf) error

func (*TLInitConnection) Descriptor

func (*TLInitConnection) Descriptor() ([]byte, []int)

func (*TLInitConnection) Encode

func (m *TLInitConnection) Encode() []byte

func (*TLInitConnection) GetApiId

func (m *TLInitConnection) GetApiId() int32

func (*TLInitConnection) GetAppVersion

func (m *TLInitConnection) GetAppVersion() string

func (*TLInitConnection) GetDeviceModel

func (m *TLInitConnection) GetDeviceModel() string

func (*TLInitConnection) GetLangCode

func (m *TLInitConnection) GetLangCode() string

func (*TLInitConnection) GetLangPack

func (m *TLInitConnection) GetLangPack() string

func (*TLInitConnection) GetQuery

func (m *TLInitConnection) GetQuery() []byte

func (*TLInitConnection) GetSystemLangCode

func (m *TLInitConnection) GetSystemLangCode() string

func (*TLInitConnection) GetSystemVersion

func (m *TLInitConnection) GetSystemVersion() string

func (*TLInitConnection) ProtoMessage

func (*TLInitConnection) ProtoMessage()

func (*TLInitConnection) Reset

func (m *TLInitConnection) Reset()

func (*TLInitConnection) String

func (m *TLInitConnection) String() string

type TLInlineBotSwitchPM

type TLInlineBotSwitchPM struct {
	Data2 *InlineBotSwitchPM_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;

func NewTLInlineBotSwitchPM

func NewTLInlineBotSwitchPM() *TLInlineBotSwitchPM

func (*TLInlineBotSwitchPM) Decode

func (m *TLInlineBotSwitchPM) Decode(dbuf *DecodeBuf) error

func (*TLInlineBotSwitchPM) Descriptor

func (*TLInlineBotSwitchPM) Descriptor() ([]byte, []int)

func (*TLInlineBotSwitchPM) Encode

func (m *TLInlineBotSwitchPM) Encode() []byte

func (*TLInlineBotSwitchPM) GetData2

func (*TLInlineBotSwitchPM) GetStartParam

func (m *TLInlineBotSwitchPM) GetStartParam() string

func (*TLInlineBotSwitchPM) GetText

func (m *TLInlineBotSwitchPM) GetText() string

func (*TLInlineBotSwitchPM) ProtoMessage

func (*TLInlineBotSwitchPM) ProtoMessage()

func (*TLInlineBotSwitchPM) Reset

func (m *TLInlineBotSwitchPM) Reset()

func (*TLInlineBotSwitchPM) SetStartParam

func (m *TLInlineBotSwitchPM) SetStartParam(v string)

func (*TLInlineBotSwitchPM) SetText

func (m *TLInlineBotSwitchPM) SetText(v string)

func (*TLInlineBotSwitchPM) String

func (m *TLInlineBotSwitchPM) String() string

func (*TLInlineBotSwitchPM) To_InlineBotSwitchPM

func (m *TLInlineBotSwitchPM) To_InlineBotSwitchPM() *InlineBotSwitchPM

inlineBotSwitchPM#3c20629f text:string start_param:string = InlineBotSwitchPM;

type TLInputAppEvent

type TLInputAppEvent struct {
	Data2 *InputAppEvent_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent;

func NewTLInputAppEvent

func NewTLInputAppEvent() *TLInputAppEvent

func (*TLInputAppEvent) Decode

func (m *TLInputAppEvent) Decode(dbuf *DecodeBuf) error

func (*TLInputAppEvent) Descriptor

func (*TLInputAppEvent) Descriptor() ([]byte, []int)

func (*TLInputAppEvent) Encode

func (m *TLInputAppEvent) Encode() []byte

func (*TLInputAppEvent) GetData

func (m *TLInputAppEvent) GetData() string

func (*TLInputAppEvent) GetData2

func (m *TLInputAppEvent) GetData2() *InputAppEvent_Data

func (*TLInputAppEvent) GetPeer

func (m *TLInputAppEvent) GetPeer() int64

func (*TLInputAppEvent) GetTime

func (m *TLInputAppEvent) GetTime() float64

func (*TLInputAppEvent) GetType

func (m *TLInputAppEvent) GetType() string

func (*TLInputAppEvent) ProtoMessage

func (*TLInputAppEvent) ProtoMessage()

func (*TLInputAppEvent) Reset

func (m *TLInputAppEvent) Reset()

func (*TLInputAppEvent) SetData

func (m *TLInputAppEvent) SetData(v string)

func (*TLInputAppEvent) SetPeer

func (m *TLInputAppEvent) SetPeer(v int64)

func (*TLInputAppEvent) SetTime

func (m *TLInputAppEvent) SetTime(v float64)

func (*TLInputAppEvent) SetType

func (m *TLInputAppEvent) SetType(v string)

func (*TLInputAppEvent) String

func (m *TLInputAppEvent) String() string

func (*TLInputAppEvent) To_InputAppEvent

func (m *TLInputAppEvent) To_InputAppEvent() *InputAppEvent

inputAppEvent#770656a8 time:double type:string peer:long data:string = InputAppEvent;

type TLInputBotInlineMessageGame

type TLInputBotInlineMessageGame struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageGame

func NewTLInputBotInlineMessageGame() *TLInputBotInlineMessageGame

func (*TLInputBotInlineMessageGame) Decode

func (m *TLInputBotInlineMessageGame) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineMessageGame) Descriptor

func (*TLInputBotInlineMessageGame) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageGame) Encode

func (m *TLInputBotInlineMessageGame) Encode() []byte

func (*TLInputBotInlineMessageGame) GetData2

func (*TLInputBotInlineMessageGame) GetReplyMarkup

func (m *TLInputBotInlineMessageGame) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageGame) ProtoMessage

func (*TLInputBotInlineMessageGame) ProtoMessage()

func (*TLInputBotInlineMessageGame) Reset

func (m *TLInputBotInlineMessageGame) Reset()

func (*TLInputBotInlineMessageGame) SetReplyMarkup

func (m *TLInputBotInlineMessageGame) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageGame) String

func (m *TLInputBotInlineMessageGame) String() string

func (*TLInputBotInlineMessageGame) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageGame) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageGame#4b425864 flags:# reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineMessageID

type TLInputBotInlineMessageID struct {
	Data2 *InputBotInlineMessageID_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID;

func NewTLInputBotInlineMessageID

func NewTLInputBotInlineMessageID() *TLInputBotInlineMessageID

func (*TLInputBotInlineMessageID) Decode

func (m *TLInputBotInlineMessageID) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineMessageID) Descriptor

func (*TLInputBotInlineMessageID) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageID) Encode

func (m *TLInputBotInlineMessageID) Encode() []byte

func (*TLInputBotInlineMessageID) GetAccessHash

func (m *TLInputBotInlineMessageID) GetAccessHash() int64

func (*TLInputBotInlineMessageID) GetData2

func (*TLInputBotInlineMessageID) GetDcId

func (m *TLInputBotInlineMessageID) GetDcId() int32

func (*TLInputBotInlineMessageID) GetId

func (m *TLInputBotInlineMessageID) GetId() int64

func (*TLInputBotInlineMessageID) ProtoMessage

func (*TLInputBotInlineMessageID) ProtoMessage()

func (*TLInputBotInlineMessageID) Reset

func (m *TLInputBotInlineMessageID) Reset()

func (*TLInputBotInlineMessageID) SetAccessHash

func (m *TLInputBotInlineMessageID) SetAccessHash(v int64)

func (*TLInputBotInlineMessageID) SetDcId

func (m *TLInputBotInlineMessageID) SetDcId(v int32)

func (*TLInputBotInlineMessageID) SetId

func (m *TLInputBotInlineMessageID) SetId(v int64)

func (*TLInputBotInlineMessageID) String

func (m *TLInputBotInlineMessageID) String() string

func (*TLInputBotInlineMessageID) To_InputBotInlineMessageID

func (m *TLInputBotInlineMessageID) To_InputBotInlineMessageID() *InputBotInlineMessageID

inputBotInlineMessageID#890c3d89 dc_id:int id:long access_hash:long = InputBotInlineMessageID;

type TLInputBotInlineMessageMediaAuto

type TLInputBotInlineMessageMediaAuto struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageMediaAuto

func NewTLInputBotInlineMessageMediaAuto() *TLInputBotInlineMessageMediaAuto

func (*TLInputBotInlineMessageMediaAuto) Decode

func (*TLInputBotInlineMessageMediaAuto) Descriptor

func (*TLInputBotInlineMessageMediaAuto) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageMediaAuto) Encode

func (m *TLInputBotInlineMessageMediaAuto) Encode() []byte

func (*TLInputBotInlineMessageMediaAuto) GetCaption

func (m *TLInputBotInlineMessageMediaAuto) GetCaption() string

func (*TLInputBotInlineMessageMediaAuto) GetData2

func (*TLInputBotInlineMessageMediaAuto) GetReplyMarkup

func (m *TLInputBotInlineMessageMediaAuto) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageMediaAuto) ProtoMessage

func (*TLInputBotInlineMessageMediaAuto) ProtoMessage()

func (*TLInputBotInlineMessageMediaAuto) Reset

func (*TLInputBotInlineMessageMediaAuto) SetCaption

func (m *TLInputBotInlineMessageMediaAuto) SetCaption(v string)

func (*TLInputBotInlineMessageMediaAuto) SetReplyMarkup

func (m *TLInputBotInlineMessageMediaAuto) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageMediaAuto) String

func (*TLInputBotInlineMessageMediaAuto) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageMediaAuto) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageMediaAuto#292fed13 flags:# caption:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineMessageMediaContact

type TLInputBotInlineMessageMediaContact struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageMediaContact

func NewTLInputBotInlineMessageMediaContact() *TLInputBotInlineMessageMediaContact

func (*TLInputBotInlineMessageMediaContact) Decode

func (*TLInputBotInlineMessageMediaContact) Descriptor

func (*TLInputBotInlineMessageMediaContact) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageMediaContact) Encode

func (*TLInputBotInlineMessageMediaContact) GetData2

func (*TLInputBotInlineMessageMediaContact) GetFirstName

func (m *TLInputBotInlineMessageMediaContact) GetFirstName() string

func (*TLInputBotInlineMessageMediaContact) GetLastName

func (*TLInputBotInlineMessageMediaContact) GetPhoneNumber

func (m *TLInputBotInlineMessageMediaContact) GetPhoneNumber() string

func (*TLInputBotInlineMessageMediaContact) GetReplyMarkup

func (m *TLInputBotInlineMessageMediaContact) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageMediaContact) ProtoMessage

func (*TLInputBotInlineMessageMediaContact) ProtoMessage()

func (*TLInputBotInlineMessageMediaContact) Reset

func (*TLInputBotInlineMessageMediaContact) SetFirstName

func (m *TLInputBotInlineMessageMediaContact) SetFirstName(v string)

func (*TLInputBotInlineMessageMediaContact) SetLastName

func (m *TLInputBotInlineMessageMediaContact) SetLastName(v string)

func (*TLInputBotInlineMessageMediaContact) SetPhoneNumber

func (m *TLInputBotInlineMessageMediaContact) SetPhoneNumber(v string)

func (*TLInputBotInlineMessageMediaContact) SetReplyMarkup

func (m *TLInputBotInlineMessageMediaContact) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageMediaContact) String

func (*TLInputBotInlineMessageMediaContact) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageMediaContact) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageMediaContact#2daf01a7 flags:# phone_number:string first_name:string last_name:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineMessageMediaGeo

type TLInputBotInlineMessageMediaGeo struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageMediaGeo

func NewTLInputBotInlineMessageMediaGeo() *TLInputBotInlineMessageMediaGeo

func (*TLInputBotInlineMessageMediaGeo) Decode

func (*TLInputBotInlineMessageMediaGeo) Descriptor

func (*TLInputBotInlineMessageMediaGeo) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageMediaGeo) Encode

func (m *TLInputBotInlineMessageMediaGeo) Encode() []byte

func (*TLInputBotInlineMessageMediaGeo) GetData2

func (*TLInputBotInlineMessageMediaGeo) GetGeoPoint

func (*TLInputBotInlineMessageMediaGeo) GetPeriod

func (m *TLInputBotInlineMessageMediaGeo) GetPeriod() int32

func (*TLInputBotInlineMessageMediaGeo) GetReplyMarkup

func (m *TLInputBotInlineMessageMediaGeo) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageMediaGeo) ProtoMessage

func (*TLInputBotInlineMessageMediaGeo) ProtoMessage()

func (*TLInputBotInlineMessageMediaGeo) Reset

func (*TLInputBotInlineMessageMediaGeo) SetGeoPoint

func (*TLInputBotInlineMessageMediaGeo) SetPeriod

func (m *TLInputBotInlineMessageMediaGeo) SetPeriod(v int32)

func (*TLInputBotInlineMessageMediaGeo) SetReplyMarkup

func (m *TLInputBotInlineMessageMediaGeo) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageMediaGeo) String

func (*TLInputBotInlineMessageMediaGeo) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageMediaGeo) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageMediaGeo#c1b15d65 flags:# geo_point:InputGeoPoint period:int reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineMessageMediaVenue

type TLInputBotInlineMessageMediaVenue struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageMediaVenue

func NewTLInputBotInlineMessageMediaVenue() *TLInputBotInlineMessageMediaVenue

func (*TLInputBotInlineMessageMediaVenue) Decode

func (*TLInputBotInlineMessageMediaVenue) Descriptor

func (*TLInputBotInlineMessageMediaVenue) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageMediaVenue) Encode

func (*TLInputBotInlineMessageMediaVenue) GetAddress

func (m *TLInputBotInlineMessageMediaVenue) GetAddress() string

func (*TLInputBotInlineMessageMediaVenue) GetData2

func (*TLInputBotInlineMessageMediaVenue) GetGeoPoint

func (*TLInputBotInlineMessageMediaVenue) GetProvider

func (m *TLInputBotInlineMessageMediaVenue) GetProvider() string

func (*TLInputBotInlineMessageMediaVenue) GetReplyMarkup

func (m *TLInputBotInlineMessageMediaVenue) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageMediaVenue) GetTitle

func (*TLInputBotInlineMessageMediaVenue) GetVenueId

func (m *TLInputBotInlineMessageMediaVenue) GetVenueId() string

func (*TLInputBotInlineMessageMediaVenue) ProtoMessage

func (*TLInputBotInlineMessageMediaVenue) ProtoMessage()

func (*TLInputBotInlineMessageMediaVenue) Reset

func (*TLInputBotInlineMessageMediaVenue) SetAddress

func (m *TLInputBotInlineMessageMediaVenue) SetAddress(v string)

func (*TLInputBotInlineMessageMediaVenue) SetGeoPoint

func (*TLInputBotInlineMessageMediaVenue) SetProvider

func (m *TLInputBotInlineMessageMediaVenue) SetProvider(v string)

func (*TLInputBotInlineMessageMediaVenue) SetReplyMarkup

func (m *TLInputBotInlineMessageMediaVenue) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageMediaVenue) SetTitle

func (*TLInputBotInlineMessageMediaVenue) SetVenueId

func (m *TLInputBotInlineMessageMediaVenue) SetVenueId(v string)

func (*TLInputBotInlineMessageMediaVenue) String

func (*TLInputBotInlineMessageMediaVenue) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageMediaVenue) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageMediaVenue#aaafadc8 flags:# geo_point:InputGeoPoint title:string address:string provider:string venue_id:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineMessageText

type TLInputBotInlineMessageText struct {
	Data2 *InputBotInlineMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

func NewTLInputBotInlineMessageText

func NewTLInputBotInlineMessageText() *TLInputBotInlineMessageText

func (*TLInputBotInlineMessageText) Decode

func (m *TLInputBotInlineMessageText) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineMessageText) Descriptor

func (*TLInputBotInlineMessageText) Descriptor() ([]byte, []int)

func (*TLInputBotInlineMessageText) Encode

func (m *TLInputBotInlineMessageText) Encode() []byte

func (*TLInputBotInlineMessageText) GetData2

func (*TLInputBotInlineMessageText) GetEntities

func (m *TLInputBotInlineMessageText) GetEntities() []*MessageEntity

func (*TLInputBotInlineMessageText) GetMessage

func (m *TLInputBotInlineMessageText) GetMessage() string

func (*TLInputBotInlineMessageText) GetNoWebpage

func (m *TLInputBotInlineMessageText) GetNoWebpage() bool

func (*TLInputBotInlineMessageText) GetReplyMarkup

func (m *TLInputBotInlineMessageText) GetReplyMarkup() *ReplyMarkup

func (*TLInputBotInlineMessageText) ProtoMessage

func (*TLInputBotInlineMessageText) ProtoMessage()

func (*TLInputBotInlineMessageText) Reset

func (m *TLInputBotInlineMessageText) Reset()

func (*TLInputBotInlineMessageText) SetEntities

func (m *TLInputBotInlineMessageText) SetEntities(v []*MessageEntity)

func (*TLInputBotInlineMessageText) SetMessage

func (m *TLInputBotInlineMessageText) SetMessage(v string)

func (*TLInputBotInlineMessageText) SetNoWebpage

func (m *TLInputBotInlineMessageText) SetNoWebpage(v bool)

func (*TLInputBotInlineMessageText) SetReplyMarkup

func (m *TLInputBotInlineMessageText) SetReplyMarkup(v *ReplyMarkup)

func (*TLInputBotInlineMessageText) String

func (m *TLInputBotInlineMessageText) String() string

func (*TLInputBotInlineMessageText) To_InputBotInlineMessage

func (m *TLInputBotInlineMessageText) To_InputBotInlineMessage() *InputBotInlineMessage

inputBotInlineMessageText#3dcd7a87 flags:# no_webpage:flags.0?true message:string entities:flags.1?Vector<MessageEntity> reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;

type TLInputBotInlineResult

type TLInputBotInlineResult struct {
	Data2 *InputBotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult;

func NewTLInputBotInlineResult

func NewTLInputBotInlineResult() *TLInputBotInlineResult

func (*TLInputBotInlineResult) Decode

func (m *TLInputBotInlineResult) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineResult) Descriptor

func (*TLInputBotInlineResult) Descriptor() ([]byte, []int)

func (*TLInputBotInlineResult) Encode

func (m *TLInputBotInlineResult) Encode() []byte

func (*TLInputBotInlineResult) GetContentType

func (m *TLInputBotInlineResult) GetContentType() string

func (*TLInputBotInlineResult) GetContentUrl

func (m *TLInputBotInlineResult) GetContentUrl() string

func (*TLInputBotInlineResult) GetData2

func (*TLInputBotInlineResult) GetDescription

func (m *TLInputBotInlineResult) GetDescription() string

func (*TLInputBotInlineResult) GetDuration

func (m *TLInputBotInlineResult) GetDuration() int32

func (*TLInputBotInlineResult) GetH

func (m *TLInputBotInlineResult) GetH() int32

func (*TLInputBotInlineResult) GetId

func (m *TLInputBotInlineResult) GetId() string

func (*TLInputBotInlineResult) GetSendMessage

func (m *TLInputBotInlineResult) GetSendMessage() *InputBotInlineMessage

func (*TLInputBotInlineResult) GetThumbUrl

func (m *TLInputBotInlineResult) GetThumbUrl() string

func (*TLInputBotInlineResult) GetTitle

func (m *TLInputBotInlineResult) GetTitle() string

func (*TLInputBotInlineResult) GetType

func (m *TLInputBotInlineResult) GetType() string

func (*TLInputBotInlineResult) GetUrl

func (m *TLInputBotInlineResult) GetUrl() string

func (*TLInputBotInlineResult) GetW

func (m *TLInputBotInlineResult) GetW() int32

func (*TLInputBotInlineResult) ProtoMessage

func (*TLInputBotInlineResult) ProtoMessage()

func (*TLInputBotInlineResult) Reset

func (m *TLInputBotInlineResult) Reset()

func (*TLInputBotInlineResult) SetContentType

func (m *TLInputBotInlineResult) SetContentType(v string)

func (*TLInputBotInlineResult) SetContentUrl

func (m *TLInputBotInlineResult) SetContentUrl(v string)

func (*TLInputBotInlineResult) SetDescription

func (m *TLInputBotInlineResult) SetDescription(v string)

func (*TLInputBotInlineResult) SetDuration

func (m *TLInputBotInlineResult) SetDuration(v int32)

func (*TLInputBotInlineResult) SetH

func (m *TLInputBotInlineResult) SetH(v int32)

func (*TLInputBotInlineResult) SetId

func (m *TLInputBotInlineResult) SetId(v string)

func (*TLInputBotInlineResult) SetSendMessage

func (m *TLInputBotInlineResult) SetSendMessage(v *InputBotInlineMessage)

func (*TLInputBotInlineResult) SetThumbUrl

func (m *TLInputBotInlineResult) SetThumbUrl(v string)

func (*TLInputBotInlineResult) SetTitle

func (m *TLInputBotInlineResult) SetTitle(v string)

func (*TLInputBotInlineResult) SetType

func (m *TLInputBotInlineResult) SetType(v string)

func (*TLInputBotInlineResult) SetUrl

func (m *TLInputBotInlineResult) SetUrl(v string)

func (*TLInputBotInlineResult) SetW

func (m *TLInputBotInlineResult) SetW(v int32)

func (*TLInputBotInlineResult) String

func (m *TLInputBotInlineResult) String() string

func (*TLInputBotInlineResult) To_InputBotInlineResult

func (m *TLInputBotInlineResult) To_InputBotInlineResult() *InputBotInlineResult

inputBotInlineResult#2cbbe15a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb_url:flags.4?string content_url:flags.5?string content_type:flags.5?string w:flags.6?int h:flags.6?int duration:flags.7?int send_message:InputBotInlineMessage = InputBotInlineResult;

type TLInputBotInlineResultDocument

type TLInputBotInlineResultDocument struct {
	Data2 *InputBotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;

func NewTLInputBotInlineResultDocument

func NewTLInputBotInlineResultDocument() *TLInputBotInlineResultDocument

func (*TLInputBotInlineResultDocument) Decode

func (*TLInputBotInlineResultDocument) Descriptor

func (*TLInputBotInlineResultDocument) Descriptor() ([]byte, []int)

func (*TLInputBotInlineResultDocument) Encode

func (m *TLInputBotInlineResultDocument) Encode() []byte

func (*TLInputBotInlineResultDocument) GetData2

func (*TLInputBotInlineResultDocument) GetDescription

func (m *TLInputBotInlineResultDocument) GetDescription() string

func (*TLInputBotInlineResultDocument) GetDocument

func (*TLInputBotInlineResultDocument) GetId

func (*TLInputBotInlineResultDocument) GetSendMessage

func (*TLInputBotInlineResultDocument) GetTitle

func (m *TLInputBotInlineResultDocument) GetTitle() string

func (*TLInputBotInlineResultDocument) GetType

func (*TLInputBotInlineResultDocument) ProtoMessage

func (*TLInputBotInlineResultDocument) ProtoMessage()

func (*TLInputBotInlineResultDocument) Reset

func (m *TLInputBotInlineResultDocument) Reset()

func (*TLInputBotInlineResultDocument) SetDescription

func (m *TLInputBotInlineResultDocument) SetDescription(v string)

func (*TLInputBotInlineResultDocument) SetDocument

func (m *TLInputBotInlineResultDocument) SetDocument(v *InputDocument)

func (*TLInputBotInlineResultDocument) SetId

func (*TLInputBotInlineResultDocument) SetSendMessage

func (*TLInputBotInlineResultDocument) SetTitle

func (m *TLInputBotInlineResultDocument) SetTitle(v string)

func (*TLInputBotInlineResultDocument) SetType

func (m *TLInputBotInlineResultDocument) SetType(v string)

func (*TLInputBotInlineResultDocument) String

func (*TLInputBotInlineResultDocument) To_InputBotInlineResult

func (m *TLInputBotInlineResultDocument) To_InputBotInlineResult() *InputBotInlineResult

inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;

type TLInputBotInlineResultGame

type TLInputBotInlineResultGame struct {
	Data2 *InputBotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;

func NewTLInputBotInlineResultGame

func NewTLInputBotInlineResultGame() *TLInputBotInlineResultGame

func (*TLInputBotInlineResultGame) Decode

func (m *TLInputBotInlineResultGame) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineResultGame) Descriptor

func (*TLInputBotInlineResultGame) Descriptor() ([]byte, []int)

func (*TLInputBotInlineResultGame) Encode

func (m *TLInputBotInlineResultGame) Encode() []byte

func (*TLInputBotInlineResultGame) GetData2

func (*TLInputBotInlineResultGame) GetId

func (*TLInputBotInlineResultGame) GetSendMessage

func (*TLInputBotInlineResultGame) GetShortName

func (m *TLInputBotInlineResultGame) GetShortName() string

func (*TLInputBotInlineResultGame) ProtoMessage

func (*TLInputBotInlineResultGame) ProtoMessage()

func (*TLInputBotInlineResultGame) Reset

func (m *TLInputBotInlineResultGame) Reset()

func (*TLInputBotInlineResultGame) SetId

func (m *TLInputBotInlineResultGame) SetId(v string)

func (*TLInputBotInlineResultGame) SetSendMessage

func (m *TLInputBotInlineResultGame) SetSendMessage(v *InputBotInlineMessage)

func (*TLInputBotInlineResultGame) SetShortName

func (m *TLInputBotInlineResultGame) SetShortName(v string)

func (*TLInputBotInlineResultGame) String

func (m *TLInputBotInlineResultGame) String() string

func (*TLInputBotInlineResultGame) To_InputBotInlineResult

func (m *TLInputBotInlineResultGame) To_InputBotInlineResult() *InputBotInlineResult

inputBotInlineResultGame#4fa417f2 id:string short_name:string send_message:InputBotInlineMessage = InputBotInlineResult;

type TLInputBotInlineResultPhoto

type TLInputBotInlineResultPhoto struct {
	Data2 *InputBotInlineResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;

func NewTLInputBotInlineResultPhoto

func NewTLInputBotInlineResultPhoto() *TLInputBotInlineResultPhoto

func (*TLInputBotInlineResultPhoto) Decode

func (m *TLInputBotInlineResultPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputBotInlineResultPhoto) Descriptor

func (*TLInputBotInlineResultPhoto) Descriptor() ([]byte, []int)

func (*TLInputBotInlineResultPhoto) Encode

func (m *TLInputBotInlineResultPhoto) Encode() []byte

func (*TLInputBotInlineResultPhoto) GetData2

func (*TLInputBotInlineResultPhoto) GetId

func (*TLInputBotInlineResultPhoto) GetPhoto

func (m *TLInputBotInlineResultPhoto) GetPhoto() *InputPhoto

func (*TLInputBotInlineResultPhoto) GetSendMessage

func (*TLInputBotInlineResultPhoto) GetType

func (m *TLInputBotInlineResultPhoto) GetType() string

func (*TLInputBotInlineResultPhoto) ProtoMessage

func (*TLInputBotInlineResultPhoto) ProtoMessage()

func (*TLInputBotInlineResultPhoto) Reset

func (m *TLInputBotInlineResultPhoto) Reset()

func (*TLInputBotInlineResultPhoto) SetId

func (m *TLInputBotInlineResultPhoto) SetId(v string)

func (*TLInputBotInlineResultPhoto) SetPhoto

func (m *TLInputBotInlineResultPhoto) SetPhoto(v *InputPhoto)

func (*TLInputBotInlineResultPhoto) SetSendMessage

func (m *TLInputBotInlineResultPhoto) SetSendMessage(v *InputBotInlineMessage)

func (*TLInputBotInlineResultPhoto) SetType

func (m *TLInputBotInlineResultPhoto) SetType(v string)

func (*TLInputBotInlineResultPhoto) String

func (m *TLInputBotInlineResultPhoto) String() string

func (*TLInputBotInlineResultPhoto) To_InputBotInlineResult

func (m *TLInputBotInlineResultPhoto) To_InputBotInlineResult() *InputBotInlineResult

inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;

type TLInputChannel

type TLInputChannel struct {
	Data2 *InputChannel_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;

func NewTLInputChannel

func NewTLInputChannel() *TLInputChannel

func (*TLInputChannel) Decode

func (m *TLInputChannel) Decode(dbuf *DecodeBuf) error

func (*TLInputChannel) Descriptor

func (*TLInputChannel) Descriptor() ([]byte, []int)

func (*TLInputChannel) Encode

func (m *TLInputChannel) Encode() []byte

func (*TLInputChannel) GetAccessHash

func (m *TLInputChannel) GetAccessHash() int64

func (*TLInputChannel) GetChannelId

func (m *TLInputChannel) GetChannelId() int32

func (*TLInputChannel) GetData2

func (m *TLInputChannel) GetData2() *InputChannel_Data

func (*TLInputChannel) ProtoMessage

func (*TLInputChannel) ProtoMessage()

func (*TLInputChannel) Reset

func (m *TLInputChannel) Reset()

func (*TLInputChannel) SetAccessHash

func (m *TLInputChannel) SetAccessHash(v int64)

func (*TLInputChannel) SetChannelId

func (m *TLInputChannel) SetChannelId(v int32)

func (*TLInputChannel) String

func (m *TLInputChannel) String() string

func (*TLInputChannel) To_InputChannel

func (m *TLInputChannel) To_InputChannel() *InputChannel

inputChannel#afeb712e channel_id:int access_hash:long = InputChannel;

type TLInputChannelEmpty

type TLInputChannelEmpty struct {
	Data2 *InputChannel_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputChannelEmpty#ee8c1e86 = InputChannel;

func NewTLInputChannelEmpty

func NewTLInputChannelEmpty() *TLInputChannelEmpty

func (*TLInputChannelEmpty) Decode

func (m *TLInputChannelEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputChannelEmpty) Descriptor

func (*TLInputChannelEmpty) Descriptor() ([]byte, []int)

func (*TLInputChannelEmpty) Encode

func (m *TLInputChannelEmpty) Encode() []byte

func (*TLInputChannelEmpty) GetData2

func (m *TLInputChannelEmpty) GetData2() *InputChannel_Data

func (*TLInputChannelEmpty) ProtoMessage

func (*TLInputChannelEmpty) ProtoMessage()

func (*TLInputChannelEmpty) Reset

func (m *TLInputChannelEmpty) Reset()

func (*TLInputChannelEmpty) String

func (m *TLInputChannelEmpty) String() string

func (*TLInputChannelEmpty) To_InputChannel

func (m *TLInputChannelEmpty) To_InputChannel() *InputChannel

inputChannelEmpty#ee8c1e86 = InputChannel;

type TLInputChatPhoto

type TLInputChatPhoto struct {
	Data2 *InputChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;

func NewTLInputChatPhoto

func NewTLInputChatPhoto() *TLInputChatPhoto

func (*TLInputChatPhoto) Decode

func (m *TLInputChatPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputChatPhoto) Descriptor

func (*TLInputChatPhoto) Descriptor() ([]byte, []int)

func (*TLInputChatPhoto) Encode

func (m *TLInputChatPhoto) Encode() []byte

func (*TLInputChatPhoto) GetData2

func (m *TLInputChatPhoto) GetData2() *InputChatPhoto_Data

func (*TLInputChatPhoto) GetId

func (m *TLInputChatPhoto) GetId() *InputPhoto

func (*TLInputChatPhoto) ProtoMessage

func (*TLInputChatPhoto) ProtoMessage()

func (*TLInputChatPhoto) Reset

func (m *TLInputChatPhoto) Reset()

func (*TLInputChatPhoto) SetId

func (m *TLInputChatPhoto) SetId(v *InputPhoto)

func (*TLInputChatPhoto) String

func (m *TLInputChatPhoto) String() string

func (*TLInputChatPhoto) To_InputChatPhoto

func (m *TLInputChatPhoto) To_InputChatPhoto() *InputChatPhoto

inputChatPhoto#8953ad37 id:InputPhoto = InputChatPhoto;

type TLInputChatPhotoEmpty

type TLInputChatPhotoEmpty struct {
	Data2 *InputChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;

func NewTLInputChatPhotoEmpty

func NewTLInputChatPhotoEmpty() *TLInputChatPhotoEmpty

func (*TLInputChatPhotoEmpty) Decode

func (m *TLInputChatPhotoEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputChatPhotoEmpty) Descriptor

func (*TLInputChatPhotoEmpty) Descriptor() ([]byte, []int)

func (*TLInputChatPhotoEmpty) Encode

func (m *TLInputChatPhotoEmpty) Encode() []byte

func (*TLInputChatPhotoEmpty) GetData2

func (*TLInputChatPhotoEmpty) ProtoMessage

func (*TLInputChatPhotoEmpty) ProtoMessage()

func (*TLInputChatPhotoEmpty) Reset

func (m *TLInputChatPhotoEmpty) Reset()

func (*TLInputChatPhotoEmpty) String

func (m *TLInputChatPhotoEmpty) String() string

func (*TLInputChatPhotoEmpty) To_InputChatPhoto

func (m *TLInputChatPhotoEmpty) To_InputChatPhoto() *InputChatPhoto

inputChatPhotoEmpty#1ca48f57 = InputChatPhoto;

type TLInputChatUploadedPhoto

type TLInputChatUploadedPhoto struct {
	Data2 *InputChatPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto;

func NewTLInputChatUploadedPhoto

func NewTLInputChatUploadedPhoto() *TLInputChatUploadedPhoto

func (*TLInputChatUploadedPhoto) Decode

func (m *TLInputChatUploadedPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputChatUploadedPhoto) Descriptor

func (*TLInputChatUploadedPhoto) Descriptor() ([]byte, []int)

func (*TLInputChatUploadedPhoto) Encode

func (m *TLInputChatUploadedPhoto) Encode() []byte

func (*TLInputChatUploadedPhoto) GetData2

func (*TLInputChatUploadedPhoto) GetFile

func (m *TLInputChatUploadedPhoto) GetFile() *InputFile

func (*TLInputChatUploadedPhoto) ProtoMessage

func (*TLInputChatUploadedPhoto) ProtoMessage()

func (*TLInputChatUploadedPhoto) Reset

func (m *TLInputChatUploadedPhoto) Reset()

func (*TLInputChatUploadedPhoto) SetFile

func (m *TLInputChatUploadedPhoto) SetFile(v *InputFile)

func (*TLInputChatUploadedPhoto) String

func (m *TLInputChatUploadedPhoto) String() string

func (*TLInputChatUploadedPhoto) To_InputChatPhoto

func (m *TLInputChatUploadedPhoto) To_InputChatPhoto() *InputChatPhoto

inputChatUploadedPhoto#927c55b4 file:InputFile = InputChatPhoto;

type TLInputDocument

type TLInputDocument struct {
	Data2 *InputDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputDocument#18798952 id:long access_hash:long = InputDocument;

func NewTLInputDocument

func NewTLInputDocument() *TLInputDocument

func (*TLInputDocument) Decode

func (m *TLInputDocument) Decode(dbuf *DecodeBuf) error

func (*TLInputDocument) Descriptor

func (*TLInputDocument) Descriptor() ([]byte, []int)

func (*TLInputDocument) Encode

func (m *TLInputDocument) Encode() []byte

func (*TLInputDocument) GetAccessHash

func (m *TLInputDocument) GetAccessHash() int64

func (*TLInputDocument) GetData2

func (m *TLInputDocument) GetData2() *InputDocument_Data

func (*TLInputDocument) GetId

func (m *TLInputDocument) GetId() int64

func (*TLInputDocument) ProtoMessage

func (*TLInputDocument) ProtoMessage()

func (*TLInputDocument) Reset

func (m *TLInputDocument) Reset()

func (*TLInputDocument) SetAccessHash

func (m *TLInputDocument) SetAccessHash(v int64)

func (*TLInputDocument) SetId

func (m *TLInputDocument) SetId(v int64)

func (*TLInputDocument) String

func (m *TLInputDocument) String() string

func (*TLInputDocument) To_InputDocument

func (m *TLInputDocument) To_InputDocument() *InputDocument

inputDocument#18798952 id:long access_hash:long = InputDocument;

type TLInputDocumentEmpty

type TLInputDocumentEmpty struct {
	Data2 *InputDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputDocumentEmpty#72f0eaae = InputDocument;

func NewTLInputDocumentEmpty

func NewTLInputDocumentEmpty() *TLInputDocumentEmpty

func (*TLInputDocumentEmpty) Decode

func (m *TLInputDocumentEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputDocumentEmpty) Descriptor

func (*TLInputDocumentEmpty) Descriptor() ([]byte, []int)

func (*TLInputDocumentEmpty) Encode

func (m *TLInputDocumentEmpty) Encode() []byte

func (*TLInputDocumentEmpty) GetData2

func (*TLInputDocumentEmpty) ProtoMessage

func (*TLInputDocumentEmpty) ProtoMessage()

func (*TLInputDocumentEmpty) Reset

func (m *TLInputDocumentEmpty) Reset()

func (*TLInputDocumentEmpty) String

func (m *TLInputDocumentEmpty) String() string

func (*TLInputDocumentEmpty) To_InputDocument

func (m *TLInputDocumentEmpty) To_InputDocument() *InputDocument

inputDocumentEmpty#72f0eaae = InputDocument;

type TLInputDocumentFileLocation

type TLInputDocumentFileLocation struct {
	Data2 *InputFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation;

func NewTLInputDocumentFileLocation

func NewTLInputDocumentFileLocation() *TLInputDocumentFileLocation

func (*TLInputDocumentFileLocation) Decode

func (m *TLInputDocumentFileLocation) Decode(dbuf *DecodeBuf) error

func (*TLInputDocumentFileLocation) Descriptor

func (*TLInputDocumentFileLocation) Descriptor() ([]byte, []int)

func (*TLInputDocumentFileLocation) Encode

func (m *TLInputDocumentFileLocation) Encode() []byte

func (*TLInputDocumentFileLocation) GetAccessHash

func (m *TLInputDocumentFileLocation) GetAccessHash() int64

func (*TLInputDocumentFileLocation) GetData2

func (*TLInputDocumentFileLocation) GetId

func (*TLInputDocumentFileLocation) GetVersion

func (m *TLInputDocumentFileLocation) GetVersion() int32

func (*TLInputDocumentFileLocation) ProtoMessage

func (*TLInputDocumentFileLocation) ProtoMessage()

func (*TLInputDocumentFileLocation) Reset

func (m *TLInputDocumentFileLocation) Reset()

func (*TLInputDocumentFileLocation) SetAccessHash

func (m *TLInputDocumentFileLocation) SetAccessHash(v int64)

func (*TLInputDocumentFileLocation) SetId

func (m *TLInputDocumentFileLocation) SetId(v int64)

func (*TLInputDocumentFileLocation) SetVersion

func (m *TLInputDocumentFileLocation) SetVersion(v int32)

func (*TLInputDocumentFileLocation) String

func (m *TLInputDocumentFileLocation) String() string

func (*TLInputDocumentFileLocation) To_InputFileLocation

func (m *TLInputDocumentFileLocation) To_InputFileLocation() *InputFileLocation

inputDocumentFileLocation#430f0724 id:long access_hash:long version:int = InputFileLocation;

type TLInputDocumentFileLocationLayer11

type TLInputDocumentFileLocationLayer11 struct {
	Data2 *InputFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

Layer11 inputDocumentFileLocation#4e45abe9 id:long access_hash:long = InputFileLocation;

func NewTLInputDocumentFileLocationLayer11

func NewTLInputDocumentFileLocationLayer11() *TLInputDocumentFileLocationLayer11

func (*TLInputDocumentFileLocationLayer11) Decode

func (*TLInputDocumentFileLocationLayer11) Descriptor

func (*TLInputDocumentFileLocationLayer11) Descriptor() ([]byte, []int)

func (*TLInputDocumentFileLocationLayer11) Encode

func (*TLInputDocumentFileLocationLayer11) GetAccessHash

func (m *TLInputDocumentFileLocationLayer11) GetAccessHash() int64

func (*TLInputDocumentFileLocationLayer11) GetData2

func (*TLInputDocumentFileLocationLayer11) GetId

func (*TLInputDocumentFileLocationLayer11) ProtoMessage

func (*TLInputDocumentFileLocationLayer11) ProtoMessage()

func (*TLInputDocumentFileLocationLayer11) Reset

func (*TLInputDocumentFileLocationLayer11) SetAccessHash

func (m *TLInputDocumentFileLocationLayer11) SetAccessHash(v int64)

func (*TLInputDocumentFileLocationLayer11) SetId

func (*TLInputDocumentFileLocationLayer11) String

func (*TLInputDocumentFileLocationLayer11) To_InputFileLocation

func (m *TLInputDocumentFileLocationLayer11) To_InputFileLocation() *InputFileLocation

inputDocumentFileLocation#4e45abe9 id:long access_hash:long = InputFileLocation;

type TLInputEncryptedChat

type TLInputEncryptedChat struct {
	Data2 *InputEncryptedChat_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat;

func NewTLInputEncryptedChat

func NewTLInputEncryptedChat() *TLInputEncryptedChat

func (*TLInputEncryptedChat) Decode

func (m *TLInputEncryptedChat) Decode(dbuf *DecodeBuf) error

func (*TLInputEncryptedChat) Descriptor

func (*TLInputEncryptedChat) Descriptor() ([]byte, []int)

func (*TLInputEncryptedChat) Encode

func (m *TLInputEncryptedChat) Encode() []byte

func (*TLInputEncryptedChat) GetAccessHash

func (m *TLInputEncryptedChat) GetAccessHash() int64

func (*TLInputEncryptedChat) GetChatId

func (m *TLInputEncryptedChat) GetChatId() int32

func (*TLInputEncryptedChat) GetData2

func (*TLInputEncryptedChat) ProtoMessage

func (*TLInputEncryptedChat) ProtoMessage()

func (*TLInputEncryptedChat) Reset

func (m *TLInputEncryptedChat) Reset()

func (*TLInputEncryptedChat) SetAccessHash

func (m *TLInputEncryptedChat) SetAccessHash(v int64)

func (*TLInputEncryptedChat) SetChatId

func (m *TLInputEncryptedChat) SetChatId(v int32)

func (*TLInputEncryptedChat) String

func (m *TLInputEncryptedChat) String() string

func (*TLInputEncryptedChat) To_InputEncryptedChat

func (m *TLInputEncryptedChat) To_InputEncryptedChat() *InputEncryptedChat

inputEncryptedChat#f141b5e1 chat_id:int access_hash:long = InputEncryptedChat;

type TLInputEncryptedFile

type TLInputEncryptedFile struct {
	Data2 *InputEncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile;

func NewTLInputEncryptedFile

func NewTLInputEncryptedFile() *TLInputEncryptedFile

func (*TLInputEncryptedFile) Decode

func (m *TLInputEncryptedFile) Decode(dbuf *DecodeBuf) error

func (*TLInputEncryptedFile) Descriptor

func (*TLInputEncryptedFile) Descriptor() ([]byte, []int)

func (*TLInputEncryptedFile) Encode

func (m *TLInputEncryptedFile) Encode() []byte

func (*TLInputEncryptedFile) GetAccessHash

func (m *TLInputEncryptedFile) GetAccessHash() int64

func (*TLInputEncryptedFile) GetData2

func (*TLInputEncryptedFile) GetId

func (m *TLInputEncryptedFile) GetId() int64

func (*TLInputEncryptedFile) ProtoMessage

func (*TLInputEncryptedFile) ProtoMessage()

func (*TLInputEncryptedFile) Reset

func (m *TLInputEncryptedFile) Reset()

func (*TLInputEncryptedFile) SetAccessHash

func (m *TLInputEncryptedFile) SetAccessHash(v int64)

func (*TLInputEncryptedFile) SetId

func (m *TLInputEncryptedFile) SetId(v int64)

func (*TLInputEncryptedFile) String

func (m *TLInputEncryptedFile) String() string

func (*TLInputEncryptedFile) To_InputEncryptedFile

func (m *TLInputEncryptedFile) To_InputEncryptedFile() *InputEncryptedFile

inputEncryptedFile#5a17b5e5 id:long access_hash:long = InputEncryptedFile;

type TLInputEncryptedFileBigUploaded

type TLInputEncryptedFileBigUploaded struct {
	Data2 *InputEncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;

func NewTLInputEncryptedFileBigUploaded

func NewTLInputEncryptedFileBigUploaded() *TLInputEncryptedFileBigUploaded

func (*TLInputEncryptedFileBigUploaded) Decode

func (*TLInputEncryptedFileBigUploaded) Descriptor

func (*TLInputEncryptedFileBigUploaded) Descriptor() ([]byte, []int)

func (*TLInputEncryptedFileBigUploaded) Encode

func (m *TLInputEncryptedFileBigUploaded) Encode() []byte

func (*TLInputEncryptedFileBigUploaded) GetData2

func (*TLInputEncryptedFileBigUploaded) GetId

func (*TLInputEncryptedFileBigUploaded) GetKeyFingerprint

func (m *TLInputEncryptedFileBigUploaded) GetKeyFingerprint() int32

func (*TLInputEncryptedFileBigUploaded) GetParts

func (m *TLInputEncryptedFileBigUploaded) GetParts() int32

func (*TLInputEncryptedFileBigUploaded) ProtoMessage

func (*TLInputEncryptedFileBigUploaded) ProtoMessage()

func (*TLInputEncryptedFileBigUploaded) Reset

func (*TLInputEncryptedFileBigUploaded) SetId

func (*TLInputEncryptedFileBigUploaded) SetKeyFingerprint

func (m *TLInputEncryptedFileBigUploaded) SetKeyFingerprint(v int32)

func (*TLInputEncryptedFileBigUploaded) SetParts

func (m *TLInputEncryptedFileBigUploaded) SetParts(v int32)

func (*TLInputEncryptedFileBigUploaded) String

func (*TLInputEncryptedFileBigUploaded) To_InputEncryptedFile

func (m *TLInputEncryptedFileBigUploaded) To_InputEncryptedFile() *InputEncryptedFile

inputEncryptedFileBigUploaded#2dc173c8 id:long parts:int key_fingerprint:int = InputEncryptedFile;

type TLInputEncryptedFileEmpty

type TLInputEncryptedFileEmpty struct {
	Data2 *InputEncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedFileEmpty#1837c364 = InputEncryptedFile;

func NewTLInputEncryptedFileEmpty

func NewTLInputEncryptedFileEmpty() *TLInputEncryptedFileEmpty

func (*TLInputEncryptedFileEmpty) Decode

func (m *TLInputEncryptedFileEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputEncryptedFileEmpty) Descriptor

func (*TLInputEncryptedFileEmpty) Descriptor() ([]byte, []int)

func (*TLInputEncryptedFileEmpty) Encode

func (m *TLInputEncryptedFileEmpty) Encode() []byte

func (*TLInputEncryptedFileEmpty) GetData2

func (*TLInputEncryptedFileEmpty) ProtoMessage

func (*TLInputEncryptedFileEmpty) ProtoMessage()

func (*TLInputEncryptedFileEmpty) Reset

func (m *TLInputEncryptedFileEmpty) Reset()

func (*TLInputEncryptedFileEmpty) String

func (m *TLInputEncryptedFileEmpty) String() string

func (*TLInputEncryptedFileEmpty) To_InputEncryptedFile

func (m *TLInputEncryptedFileEmpty) To_InputEncryptedFile() *InputEncryptedFile

inputEncryptedFileEmpty#1837c364 = InputEncryptedFile;

type TLInputEncryptedFileLocation

type TLInputEncryptedFileLocation struct {
	Data2 *InputFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;

func NewTLInputEncryptedFileLocation

func NewTLInputEncryptedFileLocation() *TLInputEncryptedFileLocation

func (*TLInputEncryptedFileLocation) Decode

func (m *TLInputEncryptedFileLocation) Decode(dbuf *DecodeBuf) error

func (*TLInputEncryptedFileLocation) Descriptor

func (*TLInputEncryptedFileLocation) Descriptor() ([]byte, []int)

func (*TLInputEncryptedFileLocation) Encode

func (m *TLInputEncryptedFileLocation) Encode() []byte

func (*TLInputEncryptedFileLocation) GetAccessHash

func (m *TLInputEncryptedFileLocation) GetAccessHash() int64

func (*TLInputEncryptedFileLocation) GetData2

func (*TLInputEncryptedFileLocation) GetId

func (*TLInputEncryptedFileLocation) ProtoMessage

func (*TLInputEncryptedFileLocation) ProtoMessage()

func (*TLInputEncryptedFileLocation) Reset

func (m *TLInputEncryptedFileLocation) Reset()

func (*TLInputEncryptedFileLocation) SetAccessHash

func (m *TLInputEncryptedFileLocation) SetAccessHash(v int64)

func (*TLInputEncryptedFileLocation) SetId

func (m *TLInputEncryptedFileLocation) SetId(v int64)

func (*TLInputEncryptedFileLocation) String

func (*TLInputEncryptedFileLocation) To_InputFileLocation

func (m *TLInputEncryptedFileLocation) To_InputFileLocation() *InputFileLocation

inputEncryptedFileLocation#f5235d55 id:long access_hash:long = InputFileLocation;

type TLInputEncryptedFileUploaded

type TLInputEncryptedFileUploaded struct {
	Data2 *InputEncryptedFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;

func NewTLInputEncryptedFileUploaded

func NewTLInputEncryptedFileUploaded() *TLInputEncryptedFileUploaded

func (*TLInputEncryptedFileUploaded) Decode

func (m *TLInputEncryptedFileUploaded) Decode(dbuf *DecodeBuf) error

func (*TLInputEncryptedFileUploaded) Descriptor

func (*TLInputEncryptedFileUploaded) Descriptor() ([]byte, []int)

func (*TLInputEncryptedFileUploaded) Encode

func (m *TLInputEncryptedFileUploaded) Encode() []byte

func (*TLInputEncryptedFileUploaded) GetData2

func (*TLInputEncryptedFileUploaded) GetId

func (*TLInputEncryptedFileUploaded) GetKeyFingerprint

func (m *TLInputEncryptedFileUploaded) GetKeyFingerprint() int32

func (*TLInputEncryptedFileUploaded) GetMd5Checksum

func (m *TLInputEncryptedFileUploaded) GetMd5Checksum() string

func (*TLInputEncryptedFileUploaded) GetParts

func (m *TLInputEncryptedFileUploaded) GetParts() int32

func (*TLInputEncryptedFileUploaded) ProtoMessage

func (*TLInputEncryptedFileUploaded) ProtoMessage()

func (*TLInputEncryptedFileUploaded) Reset

func (m *TLInputEncryptedFileUploaded) Reset()

func (*TLInputEncryptedFileUploaded) SetId

func (m *TLInputEncryptedFileUploaded) SetId(v int64)

func (*TLInputEncryptedFileUploaded) SetKeyFingerprint

func (m *TLInputEncryptedFileUploaded) SetKeyFingerprint(v int32)

func (*TLInputEncryptedFileUploaded) SetMd5Checksum

func (m *TLInputEncryptedFileUploaded) SetMd5Checksum(v string)

func (*TLInputEncryptedFileUploaded) SetParts

func (m *TLInputEncryptedFileUploaded) SetParts(v int32)

func (*TLInputEncryptedFileUploaded) String

func (*TLInputEncryptedFileUploaded) To_InputEncryptedFile

func (m *TLInputEncryptedFileUploaded) To_InputEncryptedFile() *InputEncryptedFile

inputEncryptedFileUploaded#64bd0306 id:long parts:int md5_checksum:string key_fingerprint:int = InputEncryptedFile;

type TLInputFile

type TLInputFile struct {
	Data2 *InputFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;

func NewTLInputFile

func NewTLInputFile() *TLInputFile

func (*TLInputFile) Decode

func (m *TLInputFile) Decode(dbuf *DecodeBuf) error

func (*TLInputFile) Descriptor

func (*TLInputFile) Descriptor() ([]byte, []int)

func (*TLInputFile) Encode

func (m *TLInputFile) Encode() []byte

func (*TLInputFile) GetData2

func (m *TLInputFile) GetData2() *InputFile_Data

func (*TLInputFile) GetId

func (m *TLInputFile) GetId() int64

func (*TLInputFile) GetMd5Checksum

func (m *TLInputFile) GetMd5Checksum() string

func (*TLInputFile) GetName

func (m *TLInputFile) GetName() string

func (*TLInputFile) GetParts

func (m *TLInputFile) GetParts() int32

func (*TLInputFile) ProtoMessage

func (*TLInputFile) ProtoMessage()

func (*TLInputFile) Reset

func (m *TLInputFile) Reset()

func (*TLInputFile) SetId

func (m *TLInputFile) SetId(v int64)

func (*TLInputFile) SetMd5Checksum

func (m *TLInputFile) SetMd5Checksum(v string)

func (*TLInputFile) SetName

func (m *TLInputFile) SetName(v string)

func (*TLInputFile) SetParts

func (m *TLInputFile) SetParts(v int32)

func (*TLInputFile) String

func (m *TLInputFile) String() string

func (*TLInputFile) To_InputFile

func (m *TLInputFile) To_InputFile() *InputFile

inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;

type TLInputFileBig

type TLInputFileBig struct {
	Data2 *InputFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;

func NewTLInputFileBig

func NewTLInputFileBig() *TLInputFileBig

func (*TLInputFileBig) Decode

func (m *TLInputFileBig) Decode(dbuf *DecodeBuf) error

func (*TLInputFileBig) Descriptor

func (*TLInputFileBig) Descriptor() ([]byte, []int)

func (*TLInputFileBig) Encode

func (m *TLInputFileBig) Encode() []byte

func (*TLInputFileBig) GetData2

func (m *TLInputFileBig) GetData2() *InputFile_Data

func (*TLInputFileBig) GetId

func (m *TLInputFileBig) GetId() int64

func (*TLInputFileBig) GetName

func (m *TLInputFileBig) GetName() string

func (*TLInputFileBig) GetParts

func (m *TLInputFileBig) GetParts() int32

func (*TLInputFileBig) ProtoMessage

func (*TLInputFileBig) ProtoMessage()

func (*TLInputFileBig) Reset

func (m *TLInputFileBig) Reset()

func (*TLInputFileBig) SetId

func (m *TLInputFileBig) SetId(v int64)

func (*TLInputFileBig) SetName

func (m *TLInputFileBig) SetName(v string)

func (*TLInputFileBig) SetParts

func (m *TLInputFileBig) SetParts(v int32)

func (*TLInputFileBig) String

func (m *TLInputFileBig) String() string

func (*TLInputFileBig) To_InputFile

func (m *TLInputFileBig) To_InputFile() *InputFile

inputFileBig#fa4f0bb5 id:long parts:int name:string = InputFile;

type TLInputFileLocation

type TLInputFileLocation struct {
	Data2 *InputFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation;

func NewTLInputFileLocation

func NewTLInputFileLocation() *TLInputFileLocation

func (*TLInputFileLocation) Decode

func (m *TLInputFileLocation) Decode(dbuf *DecodeBuf) error

func (*TLInputFileLocation) Descriptor

func (*TLInputFileLocation) Descriptor() ([]byte, []int)

func (*TLInputFileLocation) Encode

func (m *TLInputFileLocation) Encode() []byte

func (*TLInputFileLocation) GetData2

func (*TLInputFileLocation) GetLocalId

func (m *TLInputFileLocation) GetLocalId() int32

func (*TLInputFileLocation) GetSecret

func (m *TLInputFileLocation) GetSecret() int64

func (*TLInputFileLocation) GetVolumeId

func (m *TLInputFileLocation) GetVolumeId() int64

func (*TLInputFileLocation) ProtoMessage

func (*TLInputFileLocation) ProtoMessage()

func (*TLInputFileLocation) Reset

func (m *TLInputFileLocation) Reset()

func (*TLInputFileLocation) SetLocalId

func (m *TLInputFileLocation) SetLocalId(v int32)

func (*TLInputFileLocation) SetSecret

func (m *TLInputFileLocation) SetSecret(v int64)

func (*TLInputFileLocation) SetVolumeId

func (m *TLInputFileLocation) SetVolumeId(v int64)

func (*TLInputFileLocation) String

func (m *TLInputFileLocation) String() string

func (*TLInputFileLocation) To_InputFileLocation

func (m *TLInputFileLocation) To_InputFileLocation() *InputFileLocation

inputFileLocation#14637196 volume_id:long local_id:int secret:long = InputFileLocation;

type TLInputGameID

type TLInputGameID struct {
	Data2 *InputGame_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputGameID#32c3e77 id:long access_hash:long = InputGame;

func NewTLInputGameID

func NewTLInputGameID() *TLInputGameID

func (*TLInputGameID) Decode

func (m *TLInputGameID) Decode(dbuf *DecodeBuf) error

func (*TLInputGameID) Descriptor

func (*TLInputGameID) Descriptor() ([]byte, []int)

func (*TLInputGameID) Encode

func (m *TLInputGameID) Encode() []byte

func (*TLInputGameID) GetAccessHash

func (m *TLInputGameID) GetAccessHash() int64

func (*TLInputGameID) GetData2

func (m *TLInputGameID) GetData2() *InputGame_Data

func (*TLInputGameID) GetId

func (m *TLInputGameID) GetId() int64

func (*TLInputGameID) ProtoMessage

func (*TLInputGameID) ProtoMessage()

func (*TLInputGameID) Reset

func (m *TLInputGameID) Reset()

func (*TLInputGameID) SetAccessHash

func (m *TLInputGameID) SetAccessHash(v int64)

func (*TLInputGameID) SetId

func (m *TLInputGameID) SetId(v int64)

func (*TLInputGameID) String

func (m *TLInputGameID) String() string

func (*TLInputGameID) To_InputGame

func (m *TLInputGameID) To_InputGame() *InputGame

inputGameID#32c3e77 id:long access_hash:long = InputGame;

type TLInputGameShortName

type TLInputGameShortName struct {
	Data2 *InputGame_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;

func NewTLInputGameShortName

func NewTLInputGameShortName() *TLInputGameShortName

func (*TLInputGameShortName) Decode

func (m *TLInputGameShortName) Decode(dbuf *DecodeBuf) error

func (*TLInputGameShortName) Descriptor

func (*TLInputGameShortName) Descriptor() ([]byte, []int)

func (*TLInputGameShortName) Encode

func (m *TLInputGameShortName) Encode() []byte

func (*TLInputGameShortName) GetBotId

func (m *TLInputGameShortName) GetBotId() *InputUser

func (*TLInputGameShortName) GetData2

func (m *TLInputGameShortName) GetData2() *InputGame_Data

func (*TLInputGameShortName) GetShortName

func (m *TLInputGameShortName) GetShortName() string

func (*TLInputGameShortName) ProtoMessage

func (*TLInputGameShortName) ProtoMessage()

func (*TLInputGameShortName) Reset

func (m *TLInputGameShortName) Reset()

func (*TLInputGameShortName) SetBotId

func (m *TLInputGameShortName) SetBotId(v *InputUser)

func (*TLInputGameShortName) SetShortName

func (m *TLInputGameShortName) SetShortName(v string)

func (*TLInputGameShortName) String

func (m *TLInputGameShortName) String() string

func (*TLInputGameShortName) To_InputGame

func (m *TLInputGameShortName) To_InputGame() *InputGame

inputGameShortName#c331e80a bot_id:InputUser short_name:string = InputGame;

type TLInputGeoPoint

type TLInputGeoPoint struct {
	Data2 *InputGeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint;

func NewTLInputGeoPoint

func NewTLInputGeoPoint() *TLInputGeoPoint

func (*TLInputGeoPoint) Decode

func (m *TLInputGeoPoint) Decode(dbuf *DecodeBuf) error

func (*TLInputGeoPoint) Descriptor

func (*TLInputGeoPoint) Descriptor() ([]byte, []int)

func (*TLInputGeoPoint) Encode

func (m *TLInputGeoPoint) Encode() []byte

func (*TLInputGeoPoint) GetData2

func (m *TLInputGeoPoint) GetData2() *InputGeoPoint_Data

func (*TLInputGeoPoint) GetLat

func (m *TLInputGeoPoint) GetLat() float64

func (*TLInputGeoPoint) GetLong

func (m *TLInputGeoPoint) GetLong() float64

func (*TLInputGeoPoint) ProtoMessage

func (*TLInputGeoPoint) ProtoMessage()

func (*TLInputGeoPoint) Reset

func (m *TLInputGeoPoint) Reset()

func (*TLInputGeoPoint) SetLat

func (m *TLInputGeoPoint) SetLat(v float64)

func (*TLInputGeoPoint) SetLong

func (m *TLInputGeoPoint) SetLong(v float64)

func (*TLInputGeoPoint) String

func (m *TLInputGeoPoint) String() string

func (*TLInputGeoPoint) To_InputGeoPoint

func (m *TLInputGeoPoint) To_InputGeoPoint() *InputGeoPoint

inputGeoPoint#f3b7acc9 lat:double long:double = InputGeoPoint;

type TLInputGeoPointEmpty

type TLInputGeoPointEmpty struct {
	Data2 *InputGeoPoint_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputGeoPointEmpty#e4c123d6 = InputGeoPoint;

func NewTLInputGeoPointEmpty

func NewTLInputGeoPointEmpty() *TLInputGeoPointEmpty

func (*TLInputGeoPointEmpty) Decode

func (m *TLInputGeoPointEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputGeoPointEmpty) Descriptor

func (*TLInputGeoPointEmpty) Descriptor() ([]byte, []int)

func (*TLInputGeoPointEmpty) Encode

func (m *TLInputGeoPointEmpty) Encode() []byte

func (*TLInputGeoPointEmpty) GetData2

func (*TLInputGeoPointEmpty) ProtoMessage

func (*TLInputGeoPointEmpty) ProtoMessage()

func (*TLInputGeoPointEmpty) Reset

func (m *TLInputGeoPointEmpty) Reset()

func (*TLInputGeoPointEmpty) String

func (m *TLInputGeoPointEmpty) String() string

func (*TLInputGeoPointEmpty) To_InputGeoPoint

func (m *TLInputGeoPointEmpty) To_InputGeoPoint() *InputGeoPoint

inputGeoPointEmpty#e4c123d6 = InputGeoPoint;

type TLInputMediaContact

type TLInputMediaContact struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;

func NewTLInputMediaContact

func NewTLInputMediaContact() *TLInputMediaContact

func (*TLInputMediaContact) Decode

func (m *TLInputMediaContact) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaContact) Descriptor

func (*TLInputMediaContact) Descriptor() ([]byte, []int)

func (*TLInputMediaContact) Encode

func (m *TLInputMediaContact) Encode() []byte

func (*TLInputMediaContact) GetData2

func (m *TLInputMediaContact) GetData2() *InputMedia_Data

func (*TLInputMediaContact) GetFirstName

func (m *TLInputMediaContact) GetFirstName() string

func (*TLInputMediaContact) GetLastName

func (m *TLInputMediaContact) GetLastName() string

func (*TLInputMediaContact) GetPhoneNumber

func (m *TLInputMediaContact) GetPhoneNumber() string

func (*TLInputMediaContact) ProtoMessage

func (*TLInputMediaContact) ProtoMessage()

func (*TLInputMediaContact) Reset

func (m *TLInputMediaContact) Reset()

func (*TLInputMediaContact) SetFirstName

func (m *TLInputMediaContact) SetFirstName(v string)

func (*TLInputMediaContact) SetLastName

func (m *TLInputMediaContact) SetLastName(v string)

func (*TLInputMediaContact) SetPhoneNumber

func (m *TLInputMediaContact) SetPhoneNumber(v string)

func (*TLInputMediaContact) String

func (m *TLInputMediaContact) String() string

func (*TLInputMediaContact) To_InputMedia

func (m *TLInputMediaContact) To_InputMedia() *InputMedia

inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;

type TLInputMediaDocument

type TLInputMediaDocument struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia;

func NewTLInputMediaDocument

func NewTLInputMediaDocument() *TLInputMediaDocument

func (*TLInputMediaDocument) Decode

func (m *TLInputMediaDocument) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaDocument) Descriptor

func (*TLInputMediaDocument) Descriptor() ([]byte, []int)

func (*TLInputMediaDocument) Encode

func (m *TLInputMediaDocument) Encode() []byte

func (*TLInputMediaDocument) GetCaption

func (m *TLInputMediaDocument) GetCaption() string

func (*TLInputMediaDocument) GetData2

func (m *TLInputMediaDocument) GetData2() *InputMedia_Data

func (*TLInputMediaDocument) GetId

func (m *TLInputMediaDocument) GetId() *InputDocument

func (*TLInputMediaDocument) GetTtlSeconds

func (m *TLInputMediaDocument) GetTtlSeconds() int32

func (*TLInputMediaDocument) ProtoMessage

func (*TLInputMediaDocument) ProtoMessage()

func (*TLInputMediaDocument) Reset

func (m *TLInputMediaDocument) Reset()

func (*TLInputMediaDocument) SetCaption

func (m *TLInputMediaDocument) SetCaption(v string)

func (*TLInputMediaDocument) SetId

func (m *TLInputMediaDocument) SetId(v *InputDocument)

func (*TLInputMediaDocument) SetTtlSeconds

func (m *TLInputMediaDocument) SetTtlSeconds(v int32)

func (*TLInputMediaDocument) String

func (m *TLInputMediaDocument) String() string

func (*TLInputMediaDocument) To_InputMedia

func (m *TLInputMediaDocument) To_InputMedia() *InputMedia

inputMediaDocument#5acb668e flags:# id:InputDocument caption:string ttl_seconds:flags.0?int = InputMedia;

type TLInputMediaDocumentExternal

type TLInputMediaDocumentExternal struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

func NewTLInputMediaDocumentExternal

func NewTLInputMediaDocumentExternal() *TLInputMediaDocumentExternal

func (*TLInputMediaDocumentExternal) Decode

func (m *TLInputMediaDocumentExternal) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaDocumentExternal) Descriptor

func (*TLInputMediaDocumentExternal) Descriptor() ([]byte, []int)

func (*TLInputMediaDocumentExternal) Encode

func (m *TLInputMediaDocumentExternal) Encode() []byte

func (*TLInputMediaDocumentExternal) GetCaption

func (m *TLInputMediaDocumentExternal) GetCaption() string

func (*TLInputMediaDocumentExternal) GetData2

func (*TLInputMediaDocumentExternal) GetTtlSeconds

func (m *TLInputMediaDocumentExternal) GetTtlSeconds() int32

func (*TLInputMediaDocumentExternal) GetUrl

func (*TLInputMediaDocumentExternal) ProtoMessage

func (*TLInputMediaDocumentExternal) ProtoMessage()

func (*TLInputMediaDocumentExternal) Reset

func (m *TLInputMediaDocumentExternal) Reset()

func (*TLInputMediaDocumentExternal) SetCaption

func (m *TLInputMediaDocumentExternal) SetCaption(v string)

func (*TLInputMediaDocumentExternal) SetTtlSeconds

func (m *TLInputMediaDocumentExternal) SetTtlSeconds(v int32)

func (*TLInputMediaDocumentExternal) SetUrl

func (m *TLInputMediaDocumentExternal) SetUrl(v string)

func (*TLInputMediaDocumentExternal) String

func (*TLInputMediaDocumentExternal) To_InputMedia

func (m *TLInputMediaDocumentExternal) To_InputMedia() *InputMedia

inputMediaDocumentExternal#b6f74335 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

type TLInputMediaEmpty

type TLInputMediaEmpty struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaEmpty#9664f57f = InputMedia;

func NewTLInputMediaEmpty

func NewTLInputMediaEmpty() *TLInputMediaEmpty

func (*TLInputMediaEmpty) Decode

func (m *TLInputMediaEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaEmpty) Descriptor

func (*TLInputMediaEmpty) Descriptor() ([]byte, []int)

func (*TLInputMediaEmpty) Encode

func (m *TLInputMediaEmpty) Encode() []byte

func (*TLInputMediaEmpty) GetData2

func (m *TLInputMediaEmpty) GetData2() *InputMedia_Data

func (*TLInputMediaEmpty) ProtoMessage

func (*TLInputMediaEmpty) ProtoMessage()

func (*TLInputMediaEmpty) Reset

func (m *TLInputMediaEmpty) Reset()

func (*TLInputMediaEmpty) String

func (m *TLInputMediaEmpty) String() string

func (*TLInputMediaEmpty) To_InputMedia

func (m *TLInputMediaEmpty) To_InputMedia() *InputMedia

inputMediaEmpty#9664f57f = InputMedia;

type TLInputMediaGame

type TLInputMediaGame struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaGame#d33f43f3 id:InputGame = InputMedia;

func NewTLInputMediaGame

func NewTLInputMediaGame() *TLInputMediaGame

func (*TLInputMediaGame) Decode

func (m *TLInputMediaGame) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaGame) Descriptor

func (*TLInputMediaGame) Descriptor() ([]byte, []int)

func (*TLInputMediaGame) Encode

func (m *TLInputMediaGame) Encode() []byte

func (*TLInputMediaGame) GetData2

func (m *TLInputMediaGame) GetData2() *InputMedia_Data

func (*TLInputMediaGame) GetId

func (m *TLInputMediaGame) GetId() *InputGame

func (*TLInputMediaGame) ProtoMessage

func (*TLInputMediaGame) ProtoMessage()

func (*TLInputMediaGame) Reset

func (m *TLInputMediaGame) Reset()

func (*TLInputMediaGame) SetId

func (m *TLInputMediaGame) SetId(v *InputGame)

func (*TLInputMediaGame) String

func (m *TLInputMediaGame) String() string

func (*TLInputMediaGame) To_InputMedia

func (m *TLInputMediaGame) To_InputMedia() *InputMedia

inputMediaGame#d33f43f3 id:InputGame = InputMedia;

type TLInputMediaGeoLive

type TLInputMediaGeoLive struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia;

func NewTLInputMediaGeoLive

func NewTLInputMediaGeoLive() *TLInputMediaGeoLive

func (*TLInputMediaGeoLive) Decode

func (m *TLInputMediaGeoLive) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaGeoLive) Descriptor

func (*TLInputMediaGeoLive) Descriptor() ([]byte, []int)

func (*TLInputMediaGeoLive) Encode

func (m *TLInputMediaGeoLive) Encode() []byte

func (*TLInputMediaGeoLive) GetData2

func (m *TLInputMediaGeoLive) GetData2() *InputMedia_Data

func (*TLInputMediaGeoLive) GetGeoPoint

func (m *TLInputMediaGeoLive) GetGeoPoint() *InputGeoPoint

func (*TLInputMediaGeoLive) GetPeriod

func (m *TLInputMediaGeoLive) GetPeriod() int32

func (*TLInputMediaGeoLive) ProtoMessage

func (*TLInputMediaGeoLive) ProtoMessage()

func (*TLInputMediaGeoLive) Reset

func (m *TLInputMediaGeoLive) Reset()

func (*TLInputMediaGeoLive) SetGeoPoint

func (m *TLInputMediaGeoLive) SetGeoPoint(v *InputGeoPoint)

func (*TLInputMediaGeoLive) SetPeriod

func (m *TLInputMediaGeoLive) SetPeriod(v int32)

func (*TLInputMediaGeoLive) String

func (m *TLInputMediaGeoLive) String() string

func (*TLInputMediaGeoLive) To_InputMedia

func (m *TLInputMediaGeoLive) To_InputMedia() *InputMedia

inputMediaGeoLive#7b1a118f geo_point:InputGeoPoint period:int = InputMedia;

type TLInputMediaGeoPoint

type TLInputMediaGeoPoint struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;

func NewTLInputMediaGeoPoint

func NewTLInputMediaGeoPoint() *TLInputMediaGeoPoint

func (*TLInputMediaGeoPoint) Decode

func (m *TLInputMediaGeoPoint) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaGeoPoint) Descriptor

func (*TLInputMediaGeoPoint) Descriptor() ([]byte, []int)

func (*TLInputMediaGeoPoint) Encode

func (m *TLInputMediaGeoPoint) Encode() []byte

func (*TLInputMediaGeoPoint) GetData2

func (m *TLInputMediaGeoPoint) GetData2() *InputMedia_Data

func (*TLInputMediaGeoPoint) GetGeoPoint

func (m *TLInputMediaGeoPoint) GetGeoPoint() *InputGeoPoint

func (*TLInputMediaGeoPoint) ProtoMessage

func (*TLInputMediaGeoPoint) ProtoMessage()

func (*TLInputMediaGeoPoint) Reset

func (m *TLInputMediaGeoPoint) Reset()

func (*TLInputMediaGeoPoint) SetGeoPoint

func (m *TLInputMediaGeoPoint) SetGeoPoint(v *InputGeoPoint)

func (*TLInputMediaGeoPoint) String

func (m *TLInputMediaGeoPoint) String() string

func (*TLInputMediaGeoPoint) To_InputMedia

func (m *TLInputMediaGeoPoint) To_InputMedia() *InputMedia

inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;

type TLInputMediaGifExternal

type TLInputMediaGifExternal struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaGifExternal#4843b0fd url:string q:string = InputMedia;

func NewTLInputMediaGifExternal

func NewTLInputMediaGifExternal() *TLInputMediaGifExternal

func (*TLInputMediaGifExternal) Decode

func (m *TLInputMediaGifExternal) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaGifExternal) Descriptor

func (*TLInputMediaGifExternal) Descriptor() ([]byte, []int)

func (*TLInputMediaGifExternal) Encode

func (m *TLInputMediaGifExternal) Encode() []byte

func (*TLInputMediaGifExternal) GetData2

func (*TLInputMediaGifExternal) GetQ

func (m *TLInputMediaGifExternal) GetQ() string

func (*TLInputMediaGifExternal) GetUrl

func (m *TLInputMediaGifExternal) GetUrl() string

func (*TLInputMediaGifExternal) ProtoMessage

func (*TLInputMediaGifExternal) ProtoMessage()

func (*TLInputMediaGifExternal) Reset

func (m *TLInputMediaGifExternal) Reset()

func (*TLInputMediaGifExternal) SetQ

func (m *TLInputMediaGifExternal) SetQ(v string)

func (*TLInputMediaGifExternal) SetUrl

func (m *TLInputMediaGifExternal) SetUrl(v string)

func (*TLInputMediaGifExternal) String

func (m *TLInputMediaGifExternal) String() string

func (*TLInputMediaGifExternal) To_InputMedia

func (m *TLInputMediaGifExternal) To_InputMedia() *InputMedia

inputMediaGifExternal#4843b0fd url:string q:string = InputMedia;

type TLInputMediaInvoice

type TLInputMediaInvoice struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia;

func NewTLInputMediaInvoice

func NewTLInputMediaInvoice() *TLInputMediaInvoice

func (*TLInputMediaInvoice) Decode

func (m *TLInputMediaInvoice) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaInvoice) Descriptor

func (*TLInputMediaInvoice) Descriptor() ([]byte, []int)

func (*TLInputMediaInvoice) Encode

func (m *TLInputMediaInvoice) Encode() []byte

func (*TLInputMediaInvoice) GetData2

func (m *TLInputMediaInvoice) GetData2() *InputMedia_Data

func (*TLInputMediaInvoice) GetDescription

func (m *TLInputMediaInvoice) GetDescription() string

func (*TLInputMediaInvoice) GetInvoice

func (m *TLInputMediaInvoice) GetInvoice() *Invoice

func (*TLInputMediaInvoice) GetPayload

func (m *TLInputMediaInvoice) GetPayload() []byte

func (*TLInputMediaInvoice) GetPhoto

func (m *TLInputMediaInvoice) GetPhoto() *InputWebDocument

func (*TLInputMediaInvoice) GetProvider

func (m *TLInputMediaInvoice) GetProvider() string

func (*TLInputMediaInvoice) GetProviderData

func (m *TLInputMediaInvoice) GetProviderData() *DataJSON

func (*TLInputMediaInvoice) GetStartParam

func (m *TLInputMediaInvoice) GetStartParam() string

func (*TLInputMediaInvoice) GetTitle

func (m *TLInputMediaInvoice) GetTitle() string

func (*TLInputMediaInvoice) ProtoMessage

func (*TLInputMediaInvoice) ProtoMessage()

func (*TLInputMediaInvoice) Reset

func (m *TLInputMediaInvoice) Reset()

func (*TLInputMediaInvoice) SetDescription

func (m *TLInputMediaInvoice) SetDescription(v string)

func (*TLInputMediaInvoice) SetInvoice

func (m *TLInputMediaInvoice) SetInvoice(v *Invoice)

func (*TLInputMediaInvoice) SetPayload

func (m *TLInputMediaInvoice) SetPayload(v []byte)

func (*TLInputMediaInvoice) SetPhoto

func (m *TLInputMediaInvoice) SetPhoto(v *InputWebDocument)

func (*TLInputMediaInvoice) SetProvider

func (m *TLInputMediaInvoice) SetProvider(v string)

func (*TLInputMediaInvoice) SetProviderData

func (m *TLInputMediaInvoice) SetProviderData(v *DataJSON)

func (*TLInputMediaInvoice) SetStartParam

func (m *TLInputMediaInvoice) SetStartParam(v string)

func (*TLInputMediaInvoice) SetTitle

func (m *TLInputMediaInvoice) SetTitle(v string)

func (*TLInputMediaInvoice) String

func (m *TLInputMediaInvoice) String() string

func (*TLInputMediaInvoice) To_InputMedia

func (m *TLInputMediaInvoice) To_InputMedia() *InputMedia

inputMediaInvoice#f4e096c3 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:string = InputMedia;

type TLInputMediaPhoto

type TLInputMediaPhoto struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;

func NewTLInputMediaPhoto

func NewTLInputMediaPhoto() *TLInputMediaPhoto

func (*TLInputMediaPhoto) Decode

func (m *TLInputMediaPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaPhoto) Descriptor

func (*TLInputMediaPhoto) Descriptor() ([]byte, []int)

func (*TLInputMediaPhoto) Encode

func (m *TLInputMediaPhoto) Encode() []byte

func (*TLInputMediaPhoto) GetCaption

func (m *TLInputMediaPhoto) GetCaption() string

func (*TLInputMediaPhoto) GetData2

func (m *TLInputMediaPhoto) GetData2() *InputMedia_Data

func (*TLInputMediaPhoto) GetId

func (m *TLInputMediaPhoto) GetId() *InputPhoto

func (*TLInputMediaPhoto) GetTtlSeconds

func (m *TLInputMediaPhoto) GetTtlSeconds() int32

func (*TLInputMediaPhoto) ProtoMessage

func (*TLInputMediaPhoto) ProtoMessage()

func (*TLInputMediaPhoto) Reset

func (m *TLInputMediaPhoto) Reset()

func (*TLInputMediaPhoto) SetCaption

func (m *TLInputMediaPhoto) SetCaption(v string)

func (*TLInputMediaPhoto) SetId

func (m *TLInputMediaPhoto) SetId(v *InputPhoto)

func (*TLInputMediaPhoto) SetTtlSeconds

func (m *TLInputMediaPhoto) SetTtlSeconds(v int32)

func (*TLInputMediaPhoto) String

func (m *TLInputMediaPhoto) String() string

func (*TLInputMediaPhoto) To_InputMedia

func (m *TLInputMediaPhoto) To_InputMedia() *InputMedia

inputMediaPhoto#81fa373a flags:# id:InputPhoto caption:string ttl_seconds:flags.0?int = InputMedia;

type TLInputMediaPhotoExternal

type TLInputMediaPhotoExternal struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

func NewTLInputMediaPhotoExternal

func NewTLInputMediaPhotoExternal() *TLInputMediaPhotoExternal

func (*TLInputMediaPhotoExternal) Decode

func (m *TLInputMediaPhotoExternal) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaPhotoExternal) Descriptor

func (*TLInputMediaPhotoExternal) Descriptor() ([]byte, []int)

func (*TLInputMediaPhotoExternal) Encode

func (m *TLInputMediaPhotoExternal) Encode() []byte

func (*TLInputMediaPhotoExternal) GetCaption

func (m *TLInputMediaPhotoExternal) GetCaption() string

func (*TLInputMediaPhotoExternal) GetData2

func (*TLInputMediaPhotoExternal) GetTtlSeconds

func (m *TLInputMediaPhotoExternal) GetTtlSeconds() int32

func (*TLInputMediaPhotoExternal) GetUrl

func (m *TLInputMediaPhotoExternal) GetUrl() string

func (*TLInputMediaPhotoExternal) ProtoMessage

func (*TLInputMediaPhotoExternal) ProtoMessage()

func (*TLInputMediaPhotoExternal) Reset

func (m *TLInputMediaPhotoExternal) Reset()

func (*TLInputMediaPhotoExternal) SetCaption

func (m *TLInputMediaPhotoExternal) SetCaption(v string)

func (*TLInputMediaPhotoExternal) SetTtlSeconds

func (m *TLInputMediaPhotoExternal) SetTtlSeconds(v int32)

func (*TLInputMediaPhotoExternal) SetUrl

func (m *TLInputMediaPhotoExternal) SetUrl(v string)

func (*TLInputMediaPhotoExternal) String

func (m *TLInputMediaPhotoExternal) String() string

func (*TLInputMediaPhotoExternal) To_InputMedia

func (m *TLInputMediaPhotoExternal) To_InputMedia() *InputMedia

inputMediaPhotoExternal#922aec1 flags:# url:string caption:string ttl_seconds:flags.0?int = InputMedia;

type TLInputMediaUploadedDocument

type TLInputMediaUploadedDocument struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaUploadedDocument#e39621fd flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

func NewTLInputMediaUploadedDocument

func NewTLInputMediaUploadedDocument() *TLInputMediaUploadedDocument

func (*TLInputMediaUploadedDocument) Decode

func (m *TLInputMediaUploadedDocument) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaUploadedDocument) Descriptor

func (*TLInputMediaUploadedDocument) Descriptor() ([]byte, []int)

func (*TLInputMediaUploadedDocument) Encode

func (m *TLInputMediaUploadedDocument) Encode() []byte

func (*TLInputMediaUploadedDocument) GetAttributes

func (m *TLInputMediaUploadedDocument) GetAttributes() []*DocumentAttribute

func (*TLInputMediaUploadedDocument) GetCaption

func (m *TLInputMediaUploadedDocument) GetCaption() string

func (*TLInputMediaUploadedDocument) GetData2

func (*TLInputMediaUploadedDocument) GetFile

func (*TLInputMediaUploadedDocument) GetMimeType

func (m *TLInputMediaUploadedDocument) GetMimeType() string

func (*TLInputMediaUploadedDocument) GetNosoundVideo

func (m *TLInputMediaUploadedDocument) GetNosoundVideo() bool

func (*TLInputMediaUploadedDocument) GetStickers

func (m *TLInputMediaUploadedDocument) GetStickers() []*InputDocument

func (*TLInputMediaUploadedDocument) GetThumb

func (m *TLInputMediaUploadedDocument) GetThumb() *InputFile

func (*TLInputMediaUploadedDocument) GetTtlSeconds

func (m *TLInputMediaUploadedDocument) GetTtlSeconds() int32

func (*TLInputMediaUploadedDocument) ProtoMessage

func (*TLInputMediaUploadedDocument) ProtoMessage()

func (*TLInputMediaUploadedDocument) Reset

func (m *TLInputMediaUploadedDocument) Reset()

func (*TLInputMediaUploadedDocument) SetAttributes

func (m *TLInputMediaUploadedDocument) SetAttributes(v []*DocumentAttribute)

func (*TLInputMediaUploadedDocument) SetCaption

func (m *TLInputMediaUploadedDocument) SetCaption(v string)

func (*TLInputMediaUploadedDocument) SetFile

func (m *TLInputMediaUploadedDocument) SetFile(v *InputFile)

func (*TLInputMediaUploadedDocument) SetMimeType

func (m *TLInputMediaUploadedDocument) SetMimeType(v string)

func (*TLInputMediaUploadedDocument) SetNosoundVideo

func (m *TLInputMediaUploadedDocument) SetNosoundVideo(v bool)

func (*TLInputMediaUploadedDocument) SetStickers

func (m *TLInputMediaUploadedDocument) SetStickers(v []*InputDocument)

func (*TLInputMediaUploadedDocument) SetThumb

func (m *TLInputMediaUploadedDocument) SetThumb(v *InputFile)

func (*TLInputMediaUploadedDocument) SetTtlSeconds

func (m *TLInputMediaUploadedDocument) SetTtlSeconds(v int32)

func (*TLInputMediaUploadedDocument) String

func (*TLInputMediaUploadedDocument) To_InputMedia

func (m *TLInputMediaUploadedDocument) To_InputMedia() *InputMedia

inputMediaUploadedDocument#e39621fd flags:# nosound_video:flags.3?true file:InputFile thumb:flags.2?InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

type TLInputMediaUploadedPhoto

type TLInputMediaUploadedPhoto struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

func NewTLInputMediaUploadedPhoto

func NewTLInputMediaUploadedPhoto() *TLInputMediaUploadedPhoto

func (*TLInputMediaUploadedPhoto) Decode

func (m *TLInputMediaUploadedPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaUploadedPhoto) Descriptor

func (*TLInputMediaUploadedPhoto) Descriptor() ([]byte, []int)

func (*TLInputMediaUploadedPhoto) Encode

func (m *TLInputMediaUploadedPhoto) Encode() []byte

func (*TLInputMediaUploadedPhoto) GetCaption

func (m *TLInputMediaUploadedPhoto) GetCaption() string

func (*TLInputMediaUploadedPhoto) GetData2

func (*TLInputMediaUploadedPhoto) GetFile

func (m *TLInputMediaUploadedPhoto) GetFile() *InputFile

func (*TLInputMediaUploadedPhoto) GetStickers

func (m *TLInputMediaUploadedPhoto) GetStickers() []*InputDocument

func (*TLInputMediaUploadedPhoto) GetTtlSeconds

func (m *TLInputMediaUploadedPhoto) GetTtlSeconds() int32

func (*TLInputMediaUploadedPhoto) ProtoMessage

func (*TLInputMediaUploadedPhoto) ProtoMessage()

func (*TLInputMediaUploadedPhoto) Reset

func (m *TLInputMediaUploadedPhoto) Reset()

func (*TLInputMediaUploadedPhoto) SetCaption

func (m *TLInputMediaUploadedPhoto) SetCaption(v string)

func (*TLInputMediaUploadedPhoto) SetFile

func (m *TLInputMediaUploadedPhoto) SetFile(v *InputFile)

func (*TLInputMediaUploadedPhoto) SetStickers

func (m *TLInputMediaUploadedPhoto) SetStickers(v []*InputDocument)

func (*TLInputMediaUploadedPhoto) SetTtlSeconds

func (m *TLInputMediaUploadedPhoto) SetTtlSeconds(v int32)

func (*TLInputMediaUploadedPhoto) String

func (m *TLInputMediaUploadedPhoto) String() string

func (*TLInputMediaUploadedPhoto) To_InputMedia

func (m *TLInputMediaUploadedPhoto) To_InputMedia() *InputMedia

inputMediaUploadedPhoto#2f37e231 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;

type TLInputMediaVenue

type TLInputMediaVenue struct {
	Data2 *InputMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia;

func NewTLInputMediaVenue

func NewTLInputMediaVenue() *TLInputMediaVenue

func (*TLInputMediaVenue) Decode

func (m *TLInputMediaVenue) Decode(dbuf *DecodeBuf) error

func (*TLInputMediaVenue) Descriptor

func (*TLInputMediaVenue) Descriptor() ([]byte, []int)

func (*TLInputMediaVenue) Encode

func (m *TLInputMediaVenue) Encode() []byte

func (*TLInputMediaVenue) GetAddress

func (m *TLInputMediaVenue) GetAddress() string

func (*TLInputMediaVenue) GetData2

func (m *TLInputMediaVenue) GetData2() *InputMedia_Data

func (*TLInputMediaVenue) GetGeoPoint

func (m *TLInputMediaVenue) GetGeoPoint() *InputGeoPoint

func (*TLInputMediaVenue) GetProvider

func (m *TLInputMediaVenue) GetProvider() string

func (*TLInputMediaVenue) GetTitle

func (m *TLInputMediaVenue) GetTitle() string

func (*TLInputMediaVenue) GetVenueId

func (m *TLInputMediaVenue) GetVenueId() string

func (*TLInputMediaVenue) GetVenueType

func (m *TLInputMediaVenue) GetVenueType() string

func (*TLInputMediaVenue) ProtoMessage

func (*TLInputMediaVenue) ProtoMessage()

func (*TLInputMediaVenue) Reset

func (m *TLInputMediaVenue) Reset()

func (*TLInputMediaVenue) SetAddress

func (m *TLInputMediaVenue) SetAddress(v string)

func (*TLInputMediaVenue) SetGeoPoint

func (m *TLInputMediaVenue) SetGeoPoint(v *InputGeoPoint)

func (*TLInputMediaVenue) SetProvider

func (m *TLInputMediaVenue) SetProvider(v string)

func (*TLInputMediaVenue) SetTitle

func (m *TLInputMediaVenue) SetTitle(v string)

func (*TLInputMediaVenue) SetVenueId

func (m *TLInputMediaVenue) SetVenueId(v string)

func (*TLInputMediaVenue) SetVenueType

func (m *TLInputMediaVenue) SetVenueType(v string)

func (*TLInputMediaVenue) String

func (m *TLInputMediaVenue) String() string

func (*TLInputMediaVenue) To_InputMedia

func (m *TLInputMediaVenue) To_InputMedia() *InputMedia

inputMediaVenue#c13d1c11 geo_point:InputGeoPoint title:string address:string provider:string venue_id:string venue_type:string = InputMedia;

type TLInputMessageEntityMentionName

type TLInputMessageEntityMentionName struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;

func NewTLInputMessageEntityMentionName

func NewTLInputMessageEntityMentionName() *TLInputMessageEntityMentionName

func (*TLInputMessageEntityMentionName) Decode

func (*TLInputMessageEntityMentionName) Descriptor

func (*TLInputMessageEntityMentionName) Descriptor() ([]byte, []int)

func (*TLInputMessageEntityMentionName) Encode

func (m *TLInputMessageEntityMentionName) Encode() []byte

func (*TLInputMessageEntityMentionName) GetData2

func (*TLInputMessageEntityMentionName) GetLength

func (m *TLInputMessageEntityMentionName) GetLength() int32

func (*TLInputMessageEntityMentionName) GetOffset

func (m *TLInputMessageEntityMentionName) GetOffset() int32

func (*TLInputMessageEntityMentionName) GetUserId

func (*TLInputMessageEntityMentionName) ProtoMessage

func (*TLInputMessageEntityMentionName) ProtoMessage()

func (*TLInputMessageEntityMentionName) Reset

func (*TLInputMessageEntityMentionName) SetLength

func (m *TLInputMessageEntityMentionName) SetLength(v int32)

func (*TLInputMessageEntityMentionName) SetOffset

func (m *TLInputMessageEntityMentionName) SetOffset(v int32)

func (*TLInputMessageEntityMentionName) SetUserId

func (m *TLInputMessageEntityMentionName) SetUserId(v *InputUser)

func (*TLInputMessageEntityMentionName) String

func (*TLInputMessageEntityMentionName) To_MessageEntity

func (m *TLInputMessageEntityMentionName) To_MessageEntity() *MessageEntity

inputMessageEntityMentionName#208e68c9 offset:int length:int user_id:InputUser = MessageEntity;

type TLInputMessagesFilterChatPhotos

type TLInputMessagesFilterChatPhotos struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;

func NewTLInputMessagesFilterChatPhotos

func NewTLInputMessagesFilterChatPhotos() *TLInputMessagesFilterChatPhotos

func (*TLInputMessagesFilterChatPhotos) Decode

func (*TLInputMessagesFilterChatPhotos) Descriptor

func (*TLInputMessagesFilterChatPhotos) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterChatPhotos) Encode

func (m *TLInputMessagesFilterChatPhotos) Encode() []byte

func (*TLInputMessagesFilterChatPhotos) GetData2

func (*TLInputMessagesFilterChatPhotos) ProtoMessage

func (*TLInputMessagesFilterChatPhotos) ProtoMessage()

func (*TLInputMessagesFilterChatPhotos) Reset

func (*TLInputMessagesFilterChatPhotos) String

func (*TLInputMessagesFilterChatPhotos) To_MessagesFilter

func (m *TLInputMessagesFilterChatPhotos) To_MessagesFilter() *MessagesFilter

inputMessagesFilterChatPhotos#3a20ecb8 = MessagesFilter;

type TLInputMessagesFilterContacts

type TLInputMessagesFilterContacts struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterContacts#e062db83 = MessagesFilter;

func NewTLInputMessagesFilterContacts

func NewTLInputMessagesFilterContacts() *TLInputMessagesFilterContacts

func (*TLInputMessagesFilterContacts) Decode

func (*TLInputMessagesFilterContacts) Descriptor

func (*TLInputMessagesFilterContacts) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterContacts) Encode

func (m *TLInputMessagesFilterContacts) Encode() []byte

func (*TLInputMessagesFilterContacts) GetData2

func (*TLInputMessagesFilterContacts) ProtoMessage

func (*TLInputMessagesFilterContacts) ProtoMessage()

func (*TLInputMessagesFilterContacts) Reset

func (m *TLInputMessagesFilterContacts) Reset()

func (*TLInputMessagesFilterContacts) String

func (*TLInputMessagesFilterContacts) To_MessagesFilter

func (m *TLInputMessagesFilterContacts) To_MessagesFilter() *MessagesFilter

inputMessagesFilterContacts#e062db83 = MessagesFilter;

type TLInputMessagesFilterDocument

type TLInputMessagesFilterDocument struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterDocument#9eddf188 = MessagesFilter;

func NewTLInputMessagesFilterDocument

func NewTLInputMessagesFilterDocument() *TLInputMessagesFilterDocument

func (*TLInputMessagesFilterDocument) Decode

func (*TLInputMessagesFilterDocument) Descriptor

func (*TLInputMessagesFilterDocument) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterDocument) Encode

func (m *TLInputMessagesFilterDocument) Encode() []byte

func (*TLInputMessagesFilterDocument) GetData2

func (*TLInputMessagesFilterDocument) ProtoMessage

func (*TLInputMessagesFilterDocument) ProtoMessage()

func (*TLInputMessagesFilterDocument) Reset

func (m *TLInputMessagesFilterDocument) Reset()

func (*TLInputMessagesFilterDocument) String

func (*TLInputMessagesFilterDocument) To_MessagesFilter

func (m *TLInputMessagesFilterDocument) To_MessagesFilter() *MessagesFilter

inputMessagesFilterDocument#9eddf188 = MessagesFilter;

type TLInputMessagesFilterEmpty

type TLInputMessagesFilterEmpty struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterEmpty#57e2f66c = MessagesFilter;

func NewTLInputMessagesFilterEmpty

func NewTLInputMessagesFilterEmpty() *TLInputMessagesFilterEmpty

func (*TLInputMessagesFilterEmpty) Decode

func (m *TLInputMessagesFilterEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterEmpty) Descriptor

func (*TLInputMessagesFilterEmpty) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterEmpty) Encode

func (m *TLInputMessagesFilterEmpty) Encode() []byte

func (*TLInputMessagesFilterEmpty) GetData2

func (*TLInputMessagesFilterEmpty) ProtoMessage

func (*TLInputMessagesFilterEmpty) ProtoMessage()

func (*TLInputMessagesFilterEmpty) Reset

func (m *TLInputMessagesFilterEmpty) Reset()

func (*TLInputMessagesFilterEmpty) String

func (m *TLInputMessagesFilterEmpty) String() string

func (*TLInputMessagesFilterEmpty) To_MessagesFilter

func (m *TLInputMessagesFilterEmpty) To_MessagesFilter() *MessagesFilter

inputMessagesFilterEmpty#57e2f66c = MessagesFilter;

type TLInputMessagesFilterGeo

type TLInputMessagesFilterGeo struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterGeo#e7026d0d = MessagesFilter;

func NewTLInputMessagesFilterGeo

func NewTLInputMessagesFilterGeo() *TLInputMessagesFilterGeo

func (*TLInputMessagesFilterGeo) Decode

func (m *TLInputMessagesFilterGeo) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterGeo) Descriptor

func (*TLInputMessagesFilterGeo) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterGeo) Encode

func (m *TLInputMessagesFilterGeo) Encode() []byte

func (*TLInputMessagesFilterGeo) GetData2

func (*TLInputMessagesFilterGeo) ProtoMessage

func (*TLInputMessagesFilterGeo) ProtoMessage()

func (*TLInputMessagesFilterGeo) Reset

func (m *TLInputMessagesFilterGeo) Reset()

func (*TLInputMessagesFilterGeo) String

func (m *TLInputMessagesFilterGeo) String() string

func (*TLInputMessagesFilterGeo) To_MessagesFilter

func (m *TLInputMessagesFilterGeo) To_MessagesFilter() *MessagesFilter

inputMessagesFilterGeo#e7026d0d = MessagesFilter;

type TLInputMessagesFilterGif

type TLInputMessagesFilterGif struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterGif#ffc86587 = MessagesFilter;

func NewTLInputMessagesFilterGif

func NewTLInputMessagesFilterGif() *TLInputMessagesFilterGif

func (*TLInputMessagesFilterGif) Decode

func (m *TLInputMessagesFilterGif) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterGif) Descriptor

func (*TLInputMessagesFilterGif) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterGif) Encode

func (m *TLInputMessagesFilterGif) Encode() []byte

func (*TLInputMessagesFilterGif) GetData2

func (*TLInputMessagesFilterGif) ProtoMessage

func (*TLInputMessagesFilterGif) ProtoMessage()

func (*TLInputMessagesFilterGif) Reset

func (m *TLInputMessagesFilterGif) Reset()

func (*TLInputMessagesFilterGif) String

func (m *TLInputMessagesFilterGif) String() string

func (*TLInputMessagesFilterGif) To_MessagesFilter

func (m *TLInputMessagesFilterGif) To_MessagesFilter() *MessagesFilter

inputMessagesFilterGif#ffc86587 = MessagesFilter;

type TLInputMessagesFilterMusic

type TLInputMessagesFilterMusic struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterMusic#3751b49e = MessagesFilter;

func NewTLInputMessagesFilterMusic

func NewTLInputMessagesFilterMusic() *TLInputMessagesFilterMusic

func (*TLInputMessagesFilterMusic) Decode

func (m *TLInputMessagesFilterMusic) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterMusic) Descriptor

func (*TLInputMessagesFilterMusic) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterMusic) Encode

func (m *TLInputMessagesFilterMusic) Encode() []byte

func (*TLInputMessagesFilterMusic) GetData2

func (*TLInputMessagesFilterMusic) ProtoMessage

func (*TLInputMessagesFilterMusic) ProtoMessage()

func (*TLInputMessagesFilterMusic) Reset

func (m *TLInputMessagesFilterMusic) Reset()

func (*TLInputMessagesFilterMusic) String

func (m *TLInputMessagesFilterMusic) String() string

func (*TLInputMessagesFilterMusic) To_MessagesFilter

func (m *TLInputMessagesFilterMusic) To_MessagesFilter() *MessagesFilter

inputMessagesFilterMusic#3751b49e = MessagesFilter;

type TLInputMessagesFilterMyMentions

type TLInputMessagesFilterMyMentions struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter;

func NewTLInputMessagesFilterMyMentions

func NewTLInputMessagesFilterMyMentions() *TLInputMessagesFilterMyMentions

func (*TLInputMessagesFilterMyMentions) Decode

func (*TLInputMessagesFilterMyMentions) Descriptor

func (*TLInputMessagesFilterMyMentions) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterMyMentions) Encode

func (m *TLInputMessagesFilterMyMentions) Encode() []byte

func (*TLInputMessagesFilterMyMentions) GetData2

func (*TLInputMessagesFilterMyMentions) ProtoMessage

func (*TLInputMessagesFilterMyMentions) ProtoMessage()

func (*TLInputMessagesFilterMyMentions) Reset

func (*TLInputMessagesFilterMyMentions) String

func (*TLInputMessagesFilterMyMentions) To_MessagesFilter

func (m *TLInputMessagesFilterMyMentions) To_MessagesFilter() *MessagesFilter

inputMessagesFilterMyMentions#c1f8e69a = MessagesFilter;

type TLInputMessagesFilterPhoneCalls

type TLInputMessagesFilterPhoneCalls struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter;

func NewTLInputMessagesFilterPhoneCalls

func NewTLInputMessagesFilterPhoneCalls() *TLInputMessagesFilterPhoneCalls

func (*TLInputMessagesFilterPhoneCalls) Decode

func (*TLInputMessagesFilterPhoneCalls) Descriptor

func (*TLInputMessagesFilterPhoneCalls) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterPhoneCalls) Encode

func (m *TLInputMessagesFilterPhoneCalls) Encode() []byte

func (*TLInputMessagesFilterPhoneCalls) GetData2

func (*TLInputMessagesFilterPhoneCalls) GetMissed

func (m *TLInputMessagesFilterPhoneCalls) GetMissed() bool

func (*TLInputMessagesFilterPhoneCalls) ProtoMessage

func (*TLInputMessagesFilterPhoneCalls) ProtoMessage()

func (*TLInputMessagesFilterPhoneCalls) Reset

func (*TLInputMessagesFilterPhoneCalls) SetMissed

func (m *TLInputMessagesFilterPhoneCalls) SetMissed(v bool)

func (*TLInputMessagesFilterPhoneCalls) String

func (*TLInputMessagesFilterPhoneCalls) To_MessagesFilter

func (m *TLInputMessagesFilterPhoneCalls) To_MessagesFilter() *MessagesFilter

inputMessagesFilterPhoneCalls#80c99768 flags:# missed:flags.0?true = MessagesFilter;

type TLInputMessagesFilterPhotoVideo

type TLInputMessagesFilterPhotoVideo struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter;

func NewTLInputMessagesFilterPhotoVideo

func NewTLInputMessagesFilterPhotoVideo() *TLInputMessagesFilterPhotoVideo

func (*TLInputMessagesFilterPhotoVideo) Decode

func (*TLInputMessagesFilterPhotoVideo) Descriptor

func (*TLInputMessagesFilterPhotoVideo) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterPhotoVideo) Encode

func (m *TLInputMessagesFilterPhotoVideo) Encode() []byte

func (*TLInputMessagesFilterPhotoVideo) GetData2

func (*TLInputMessagesFilterPhotoVideo) ProtoMessage

func (*TLInputMessagesFilterPhotoVideo) ProtoMessage()

func (*TLInputMessagesFilterPhotoVideo) Reset

func (*TLInputMessagesFilterPhotoVideo) String

func (*TLInputMessagesFilterPhotoVideo) To_MessagesFilter

func (m *TLInputMessagesFilterPhotoVideo) To_MessagesFilter() *MessagesFilter

inputMessagesFilterPhotoVideo#56e9f0e4 = MessagesFilter;

type TLInputMessagesFilterPhotos

type TLInputMessagesFilterPhotos struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterPhotos#9609a51c = MessagesFilter;

func NewTLInputMessagesFilterPhotos

func NewTLInputMessagesFilterPhotos() *TLInputMessagesFilterPhotos

func (*TLInputMessagesFilterPhotos) Decode

func (m *TLInputMessagesFilterPhotos) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterPhotos) Descriptor

func (*TLInputMessagesFilterPhotos) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterPhotos) Encode

func (m *TLInputMessagesFilterPhotos) Encode() []byte

func (*TLInputMessagesFilterPhotos) GetData2

func (*TLInputMessagesFilterPhotos) ProtoMessage

func (*TLInputMessagesFilterPhotos) ProtoMessage()

func (*TLInputMessagesFilterPhotos) Reset

func (m *TLInputMessagesFilterPhotos) Reset()

func (*TLInputMessagesFilterPhotos) String

func (m *TLInputMessagesFilterPhotos) String() string

func (*TLInputMessagesFilterPhotos) To_MessagesFilter

func (m *TLInputMessagesFilterPhotos) To_MessagesFilter() *MessagesFilter

inputMessagesFilterPhotos#9609a51c = MessagesFilter;

type TLInputMessagesFilterRoundVideo

type TLInputMessagesFilterRoundVideo struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterRoundVideo#b549da53 = MessagesFilter;

func NewTLInputMessagesFilterRoundVideo

func NewTLInputMessagesFilterRoundVideo() *TLInputMessagesFilterRoundVideo

func (*TLInputMessagesFilterRoundVideo) Decode

func (*TLInputMessagesFilterRoundVideo) Descriptor

func (*TLInputMessagesFilterRoundVideo) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterRoundVideo) Encode

func (m *TLInputMessagesFilterRoundVideo) Encode() []byte

func (*TLInputMessagesFilterRoundVideo) GetData2

func (*TLInputMessagesFilterRoundVideo) ProtoMessage

func (*TLInputMessagesFilterRoundVideo) ProtoMessage()

func (*TLInputMessagesFilterRoundVideo) Reset

func (*TLInputMessagesFilterRoundVideo) String

func (*TLInputMessagesFilterRoundVideo) To_MessagesFilter

func (m *TLInputMessagesFilterRoundVideo) To_MessagesFilter() *MessagesFilter

inputMessagesFilterRoundVideo#b549da53 = MessagesFilter;

type TLInputMessagesFilterRoundVoice

type TLInputMessagesFilterRoundVoice struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;

func NewTLInputMessagesFilterRoundVoice

func NewTLInputMessagesFilterRoundVoice() *TLInputMessagesFilterRoundVoice

func (*TLInputMessagesFilterRoundVoice) Decode

func (*TLInputMessagesFilterRoundVoice) Descriptor

func (*TLInputMessagesFilterRoundVoice) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterRoundVoice) Encode

func (m *TLInputMessagesFilterRoundVoice) Encode() []byte

func (*TLInputMessagesFilterRoundVoice) GetData2

func (*TLInputMessagesFilterRoundVoice) ProtoMessage

func (*TLInputMessagesFilterRoundVoice) ProtoMessage()

func (*TLInputMessagesFilterRoundVoice) Reset

func (*TLInputMessagesFilterRoundVoice) String

func (*TLInputMessagesFilterRoundVoice) To_MessagesFilter

func (m *TLInputMessagesFilterRoundVoice) To_MessagesFilter() *MessagesFilter

inputMessagesFilterRoundVoice#7a7c17a4 = MessagesFilter;

type TLInputMessagesFilterUrl

type TLInputMessagesFilterUrl struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;

func NewTLInputMessagesFilterUrl

func NewTLInputMessagesFilterUrl() *TLInputMessagesFilterUrl

func (*TLInputMessagesFilterUrl) Decode

func (m *TLInputMessagesFilterUrl) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterUrl) Descriptor

func (*TLInputMessagesFilterUrl) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterUrl) Encode

func (m *TLInputMessagesFilterUrl) Encode() []byte

func (*TLInputMessagesFilterUrl) GetData2

func (*TLInputMessagesFilterUrl) ProtoMessage

func (*TLInputMessagesFilterUrl) ProtoMessage()

func (*TLInputMessagesFilterUrl) Reset

func (m *TLInputMessagesFilterUrl) Reset()

func (*TLInputMessagesFilterUrl) String

func (m *TLInputMessagesFilterUrl) String() string

func (*TLInputMessagesFilterUrl) To_MessagesFilter

func (m *TLInputMessagesFilterUrl) To_MessagesFilter() *MessagesFilter

inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;

type TLInputMessagesFilterVideo

type TLInputMessagesFilterVideo struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterVideo#9fc00e65 = MessagesFilter;

func NewTLInputMessagesFilterVideo

func NewTLInputMessagesFilterVideo() *TLInputMessagesFilterVideo

func (*TLInputMessagesFilterVideo) Decode

func (m *TLInputMessagesFilterVideo) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterVideo) Descriptor

func (*TLInputMessagesFilterVideo) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterVideo) Encode

func (m *TLInputMessagesFilterVideo) Encode() []byte

func (*TLInputMessagesFilterVideo) GetData2

func (*TLInputMessagesFilterVideo) ProtoMessage

func (*TLInputMessagesFilterVideo) ProtoMessage()

func (*TLInputMessagesFilterVideo) Reset

func (m *TLInputMessagesFilterVideo) Reset()

func (*TLInputMessagesFilterVideo) String

func (m *TLInputMessagesFilterVideo) String() string

func (*TLInputMessagesFilterVideo) To_MessagesFilter

func (m *TLInputMessagesFilterVideo) To_MessagesFilter() *MessagesFilter

inputMessagesFilterVideo#9fc00e65 = MessagesFilter;

type TLInputMessagesFilterVoice

type TLInputMessagesFilterVoice struct {
	Data2 *MessagesFilter_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputMessagesFilterVoice#50f5c392 = MessagesFilter;

func NewTLInputMessagesFilterVoice

func NewTLInputMessagesFilterVoice() *TLInputMessagesFilterVoice

func (*TLInputMessagesFilterVoice) Decode

func (m *TLInputMessagesFilterVoice) Decode(dbuf *DecodeBuf) error

func (*TLInputMessagesFilterVoice) Descriptor

func (*TLInputMessagesFilterVoice) Descriptor() ([]byte, []int)

func (*TLInputMessagesFilterVoice) Encode

func (m *TLInputMessagesFilterVoice) Encode() []byte

func (*TLInputMessagesFilterVoice) GetData2

func (*TLInputMessagesFilterVoice) ProtoMessage

func (*TLInputMessagesFilterVoice) ProtoMessage()

func (*TLInputMessagesFilterVoice) Reset

func (m *TLInputMessagesFilterVoice) Reset()

func (*TLInputMessagesFilterVoice) String

func (m *TLInputMessagesFilterVoice) String() string

func (*TLInputMessagesFilterVoice) To_MessagesFilter

func (m *TLInputMessagesFilterVoice) To_MessagesFilter() *MessagesFilter

inputMessagesFilterVoice#50f5c392 = MessagesFilter;

type TLInputNotifyAll

type TLInputNotifyAll struct {
	Data2 *InputNotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputNotifyAll#a429b886 = InputNotifyPeer;

func NewTLInputNotifyAll

func NewTLInputNotifyAll() *TLInputNotifyAll

func (*TLInputNotifyAll) Decode

func (m *TLInputNotifyAll) Decode(dbuf *DecodeBuf) error

func (*TLInputNotifyAll) Descriptor

func (*TLInputNotifyAll) Descriptor() ([]byte, []int)

func (*TLInputNotifyAll) Encode

func (m *TLInputNotifyAll) Encode() []byte

func (*TLInputNotifyAll) GetData2

func (m *TLInputNotifyAll) GetData2() *InputNotifyPeer_Data

func (*TLInputNotifyAll) ProtoMessage

func (*TLInputNotifyAll) ProtoMessage()

func (*TLInputNotifyAll) Reset

func (m *TLInputNotifyAll) Reset()

func (*TLInputNotifyAll) String

func (m *TLInputNotifyAll) String() string

func (*TLInputNotifyAll) To_InputNotifyPeer

func (m *TLInputNotifyAll) To_InputNotifyPeer() *InputNotifyPeer

inputNotifyAll#a429b886 = InputNotifyPeer;

type TLInputNotifyChats

type TLInputNotifyChats struct {
	Data2 *InputNotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputNotifyChats#4a95e84e = InputNotifyPeer;

func NewTLInputNotifyChats

func NewTLInputNotifyChats() *TLInputNotifyChats

func (*TLInputNotifyChats) Decode

func (m *TLInputNotifyChats) Decode(dbuf *DecodeBuf) error

func (*TLInputNotifyChats) Descriptor

func (*TLInputNotifyChats) Descriptor() ([]byte, []int)

func (*TLInputNotifyChats) Encode

func (m *TLInputNotifyChats) Encode() []byte

func (*TLInputNotifyChats) GetData2

func (*TLInputNotifyChats) ProtoMessage

func (*TLInputNotifyChats) ProtoMessage()

func (*TLInputNotifyChats) Reset

func (m *TLInputNotifyChats) Reset()

func (*TLInputNotifyChats) String

func (m *TLInputNotifyChats) String() string

func (*TLInputNotifyChats) To_InputNotifyPeer

func (m *TLInputNotifyChats) To_InputNotifyPeer() *InputNotifyPeer

inputNotifyChats#4a95e84e = InputNotifyPeer;

type TLInputNotifyPeer

type TLInputNotifyPeer struct {
	Data2 *InputNotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;

func NewTLInputNotifyPeer

func NewTLInputNotifyPeer() *TLInputNotifyPeer

func (*TLInputNotifyPeer) Decode

func (m *TLInputNotifyPeer) Decode(dbuf *DecodeBuf) error

func (*TLInputNotifyPeer) Descriptor

func (*TLInputNotifyPeer) Descriptor() ([]byte, []int)

func (*TLInputNotifyPeer) Encode

func (m *TLInputNotifyPeer) Encode() []byte

func (*TLInputNotifyPeer) GetData2

func (m *TLInputNotifyPeer) GetData2() *InputNotifyPeer_Data

func (*TLInputNotifyPeer) GetPeer

func (m *TLInputNotifyPeer) GetPeer() *InputPeer

func (*TLInputNotifyPeer) ProtoMessage

func (*TLInputNotifyPeer) ProtoMessage()

func (*TLInputNotifyPeer) Reset

func (m *TLInputNotifyPeer) Reset()

func (*TLInputNotifyPeer) SetPeer

func (m *TLInputNotifyPeer) SetPeer(v *InputPeer)

func (*TLInputNotifyPeer) String

func (m *TLInputNotifyPeer) String() string

func (*TLInputNotifyPeer) To_InputNotifyPeer

func (m *TLInputNotifyPeer) To_InputNotifyPeer() *InputNotifyPeer

inputNotifyPeer#b8bc5b0c peer:InputPeer = InputNotifyPeer;

type TLInputNotifyUsers

type TLInputNotifyUsers struct {
	Data2 *InputNotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputNotifyUsers#193b4417 = InputNotifyPeer;

func NewTLInputNotifyUsers

func NewTLInputNotifyUsers() *TLInputNotifyUsers

func (*TLInputNotifyUsers) Decode

func (m *TLInputNotifyUsers) Decode(dbuf *DecodeBuf) error

func (*TLInputNotifyUsers) Descriptor

func (*TLInputNotifyUsers) Descriptor() ([]byte, []int)

func (*TLInputNotifyUsers) Encode

func (m *TLInputNotifyUsers) Encode() []byte

func (*TLInputNotifyUsers) GetData2

func (*TLInputNotifyUsers) ProtoMessage

func (*TLInputNotifyUsers) ProtoMessage()

func (*TLInputNotifyUsers) Reset

func (m *TLInputNotifyUsers) Reset()

func (*TLInputNotifyUsers) String

func (m *TLInputNotifyUsers) String() string

func (*TLInputNotifyUsers) To_InputNotifyPeer

func (m *TLInputNotifyUsers) To_InputNotifyPeer() *InputNotifyPeer

inputNotifyUsers#193b4417 = InputNotifyPeer;

type TLInputPaymentCredentials

type TLInputPaymentCredentials struct {
	Data2 *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials;

func NewTLInputPaymentCredentials

func NewTLInputPaymentCredentials() *TLInputPaymentCredentials

func (*TLInputPaymentCredentials) Decode

func (m *TLInputPaymentCredentials) Decode(dbuf *DecodeBuf) error

func (*TLInputPaymentCredentials) Descriptor

func (*TLInputPaymentCredentials) Descriptor() ([]byte, []int)

func (*TLInputPaymentCredentials) Encode

func (m *TLInputPaymentCredentials) Encode() []byte

func (*TLInputPaymentCredentials) GetData

func (m *TLInputPaymentCredentials) GetData() *DataJSON

func (*TLInputPaymentCredentials) GetData2

func (*TLInputPaymentCredentials) GetSave

func (m *TLInputPaymentCredentials) GetSave() bool

func (*TLInputPaymentCredentials) ProtoMessage

func (*TLInputPaymentCredentials) ProtoMessage()

func (*TLInputPaymentCredentials) Reset

func (m *TLInputPaymentCredentials) Reset()

func (*TLInputPaymentCredentials) SetData

func (m *TLInputPaymentCredentials) SetData(v *DataJSON)

func (*TLInputPaymentCredentials) SetSave

func (m *TLInputPaymentCredentials) SetSave(v bool)

func (*TLInputPaymentCredentials) String

func (m *TLInputPaymentCredentials) String() string

func (*TLInputPaymentCredentials) To_InputPaymentCredentials

func (m *TLInputPaymentCredentials) To_InputPaymentCredentials() *InputPaymentCredentials

inputPaymentCredentials#3417d728 flags:# save:flags.0?true data:DataJSON = InputPaymentCredentials;

type TLInputPaymentCredentialsAndroidPay

type TLInputPaymentCredentialsAndroidPay struct {
	Data2 *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPaymentCredentialsAndroidPay#795667a6 payment_token:DataJSON = InputPaymentCredentials;

func NewTLInputPaymentCredentialsAndroidPay

func NewTLInputPaymentCredentialsAndroidPay() *TLInputPaymentCredentialsAndroidPay

func (*TLInputPaymentCredentialsAndroidPay) Decode

func (*TLInputPaymentCredentialsAndroidPay) Descriptor

func (*TLInputPaymentCredentialsAndroidPay) Descriptor() ([]byte, []int)

func (*TLInputPaymentCredentialsAndroidPay) Encode

func (*TLInputPaymentCredentialsAndroidPay) GetData2

func (*TLInputPaymentCredentialsAndroidPay) GetPaymentToken

func (m *TLInputPaymentCredentialsAndroidPay) GetPaymentToken() *DataJSON

func (*TLInputPaymentCredentialsAndroidPay) ProtoMessage

func (*TLInputPaymentCredentialsAndroidPay) ProtoMessage()

func (*TLInputPaymentCredentialsAndroidPay) Reset

func (*TLInputPaymentCredentialsAndroidPay) SetPaymentToken

func (m *TLInputPaymentCredentialsAndroidPay) SetPaymentToken(v *DataJSON)

func (*TLInputPaymentCredentialsAndroidPay) String

func (*TLInputPaymentCredentialsAndroidPay) To_InputPaymentCredentials

func (m *TLInputPaymentCredentialsAndroidPay) To_InputPaymentCredentials() *InputPaymentCredentials

inputPaymentCredentialsAndroidPay#795667a6 payment_token:DataJSON = InputPaymentCredentials;

type TLInputPaymentCredentialsAndroidPayLayer74

type TLInputPaymentCredentialsAndroidPayLayer74 struct {
	Data2 *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

Layer74 inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials;

func NewTLInputPaymentCredentialsAndroidPayLayer74

func NewTLInputPaymentCredentialsAndroidPayLayer74() *TLInputPaymentCredentialsAndroidPayLayer74

func (*TLInputPaymentCredentialsAndroidPayLayer74) Decode

func (*TLInputPaymentCredentialsAndroidPayLayer74) Descriptor

func (*TLInputPaymentCredentialsAndroidPayLayer74) Encode

func (*TLInputPaymentCredentialsAndroidPayLayer74) GetData2

func (*TLInputPaymentCredentialsAndroidPayLayer74) GetGoogleTransactionId

func (m *TLInputPaymentCredentialsAndroidPayLayer74) GetGoogleTransactionId() string

func (*TLInputPaymentCredentialsAndroidPayLayer74) GetPaymentToken

func (*TLInputPaymentCredentialsAndroidPayLayer74) ProtoMessage

func (*TLInputPaymentCredentialsAndroidPayLayer74) Reset

func (*TLInputPaymentCredentialsAndroidPayLayer74) SetGoogleTransactionId

func (m *TLInputPaymentCredentialsAndroidPayLayer74) SetGoogleTransactionId(v string)

func (*TLInputPaymentCredentialsAndroidPayLayer74) SetPaymentToken

func (*TLInputPaymentCredentialsAndroidPayLayer74) String

func (*TLInputPaymentCredentialsAndroidPayLayer74) To_InputPaymentCredentials

inputPaymentCredentialsAndroidPay#ca05d50e payment_token:DataJSON google_transaction_id:string = InputPaymentCredentials;

type TLInputPaymentCredentialsApplePay

type TLInputPaymentCredentialsApplePay struct {
	Data2 *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials;

func NewTLInputPaymentCredentialsApplePay

func NewTLInputPaymentCredentialsApplePay() *TLInputPaymentCredentialsApplePay

func (*TLInputPaymentCredentialsApplePay) Decode

func (*TLInputPaymentCredentialsApplePay) Descriptor

func (*TLInputPaymentCredentialsApplePay) Descriptor() ([]byte, []int)

func (*TLInputPaymentCredentialsApplePay) Encode

func (*TLInputPaymentCredentialsApplePay) GetData2

func (*TLInputPaymentCredentialsApplePay) GetPaymentData

func (m *TLInputPaymentCredentialsApplePay) GetPaymentData() *DataJSON

func (*TLInputPaymentCredentialsApplePay) ProtoMessage

func (*TLInputPaymentCredentialsApplePay) ProtoMessage()

func (*TLInputPaymentCredentialsApplePay) Reset

func (*TLInputPaymentCredentialsApplePay) SetPaymentData

func (m *TLInputPaymentCredentialsApplePay) SetPaymentData(v *DataJSON)

func (*TLInputPaymentCredentialsApplePay) String

func (*TLInputPaymentCredentialsApplePay) To_InputPaymentCredentials

func (m *TLInputPaymentCredentialsApplePay) To_InputPaymentCredentials() *InputPaymentCredentials

inputPaymentCredentialsApplePay#aa1c39f payment_data:DataJSON = InputPaymentCredentials;

type TLInputPaymentCredentialsSaved

type TLInputPaymentCredentialsSaved struct {
	Data2 *InputPaymentCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials;

func NewTLInputPaymentCredentialsSaved

func NewTLInputPaymentCredentialsSaved() *TLInputPaymentCredentialsSaved

func (*TLInputPaymentCredentialsSaved) Decode

func (*TLInputPaymentCredentialsSaved) Descriptor

func (*TLInputPaymentCredentialsSaved) Descriptor() ([]byte, []int)

func (*TLInputPaymentCredentialsSaved) Encode

func (m *TLInputPaymentCredentialsSaved) Encode() []byte

func (*TLInputPaymentCredentialsSaved) GetData2

func (*TLInputPaymentCredentialsSaved) GetId

func (*TLInputPaymentCredentialsSaved) GetTmpPassword

func (m *TLInputPaymentCredentialsSaved) GetTmpPassword() []byte

func (*TLInputPaymentCredentialsSaved) ProtoMessage

func (*TLInputPaymentCredentialsSaved) ProtoMessage()

func (*TLInputPaymentCredentialsSaved) Reset

func (m *TLInputPaymentCredentialsSaved) Reset()

func (*TLInputPaymentCredentialsSaved) SetId

func (*TLInputPaymentCredentialsSaved) SetTmpPassword

func (m *TLInputPaymentCredentialsSaved) SetTmpPassword(v []byte)

func (*TLInputPaymentCredentialsSaved) String

func (*TLInputPaymentCredentialsSaved) To_InputPaymentCredentials

func (m *TLInputPaymentCredentialsSaved) To_InputPaymentCredentials() *InputPaymentCredentials

inputPaymentCredentialsSaved#c10eb2cf id:string tmp_password:bytes = InputPaymentCredentials;

type TLInputPeerChannel

type TLInputPeerChannel struct {
	Data2 *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;

func NewTLInputPeerChannel

func NewTLInputPeerChannel() *TLInputPeerChannel

func (*TLInputPeerChannel) Decode

func (m *TLInputPeerChannel) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerChannel) Descriptor

func (*TLInputPeerChannel) Descriptor() ([]byte, []int)

func (*TLInputPeerChannel) Encode

func (m *TLInputPeerChannel) Encode() []byte

func (*TLInputPeerChannel) GetAccessHash

func (m *TLInputPeerChannel) GetAccessHash() int64

func (*TLInputPeerChannel) GetChannelId

func (m *TLInputPeerChannel) GetChannelId() int32

func (*TLInputPeerChannel) GetData2

func (m *TLInputPeerChannel) GetData2() *InputPeer_Data

func (*TLInputPeerChannel) ProtoMessage

func (*TLInputPeerChannel) ProtoMessage()

func (*TLInputPeerChannel) Reset

func (m *TLInputPeerChannel) Reset()

func (*TLInputPeerChannel) SetAccessHash

func (m *TLInputPeerChannel) SetAccessHash(v int64)

func (*TLInputPeerChannel) SetChannelId

func (m *TLInputPeerChannel) SetChannelId(v int32)

func (*TLInputPeerChannel) String

func (m *TLInputPeerChannel) String() string

func (*TLInputPeerChannel) To_InputPeer

func (m *TLInputPeerChannel) To_InputPeer() *InputPeer

inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;

type TLInputPeerChat

type TLInputPeerChat struct {
	Data2 *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerChat#179be863 chat_id:int = InputPeer;

func NewTLInputPeerChat

func NewTLInputPeerChat() *TLInputPeerChat

func (*TLInputPeerChat) Decode

func (m *TLInputPeerChat) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerChat) Descriptor

func (*TLInputPeerChat) Descriptor() ([]byte, []int)

func (*TLInputPeerChat) Encode

func (m *TLInputPeerChat) Encode() []byte

func (*TLInputPeerChat) GetChatId

func (m *TLInputPeerChat) GetChatId() int32

func (*TLInputPeerChat) GetData2

func (m *TLInputPeerChat) GetData2() *InputPeer_Data

func (*TLInputPeerChat) ProtoMessage

func (*TLInputPeerChat) ProtoMessage()

func (*TLInputPeerChat) Reset

func (m *TLInputPeerChat) Reset()

func (*TLInputPeerChat) SetChatId

func (m *TLInputPeerChat) SetChatId(v int32)

func (*TLInputPeerChat) String

func (m *TLInputPeerChat) String() string

func (*TLInputPeerChat) To_InputPeer

func (m *TLInputPeerChat) To_InputPeer() *InputPeer

inputPeerChat#179be863 chat_id:int = InputPeer;

type TLInputPeerEmpty

type TLInputPeerEmpty struct {
	Data2 *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerEmpty#7f3b18ea = InputPeer;

func NewTLInputPeerEmpty

func NewTLInputPeerEmpty() *TLInputPeerEmpty

func (*TLInputPeerEmpty) Decode

func (m *TLInputPeerEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerEmpty) Descriptor

func (*TLInputPeerEmpty) Descriptor() ([]byte, []int)

func (*TLInputPeerEmpty) Encode

func (m *TLInputPeerEmpty) Encode() []byte

func (*TLInputPeerEmpty) GetData2

func (m *TLInputPeerEmpty) GetData2() *InputPeer_Data

func (*TLInputPeerEmpty) ProtoMessage

func (*TLInputPeerEmpty) ProtoMessage()

func (*TLInputPeerEmpty) Reset

func (m *TLInputPeerEmpty) Reset()

func (*TLInputPeerEmpty) String

func (m *TLInputPeerEmpty) String() string

func (*TLInputPeerEmpty) To_InputPeer

func (m *TLInputPeerEmpty) To_InputPeer() *InputPeer

inputPeerEmpty#7f3b18ea = InputPeer;

type TLInputPeerNotifyEventsAll

type TLInputPeerNotifyEventsAll struct {
	Data2 *InputPeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents;

func NewTLInputPeerNotifyEventsAll

func NewTLInputPeerNotifyEventsAll() *TLInputPeerNotifyEventsAll

func (*TLInputPeerNotifyEventsAll) Decode

func (m *TLInputPeerNotifyEventsAll) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerNotifyEventsAll) Descriptor

func (*TLInputPeerNotifyEventsAll) Descriptor() ([]byte, []int)

func (*TLInputPeerNotifyEventsAll) Encode

func (m *TLInputPeerNotifyEventsAll) Encode() []byte

func (*TLInputPeerNotifyEventsAll) GetData2

func (*TLInputPeerNotifyEventsAll) ProtoMessage

func (*TLInputPeerNotifyEventsAll) ProtoMessage()

func (*TLInputPeerNotifyEventsAll) Reset

func (m *TLInputPeerNotifyEventsAll) Reset()

func (*TLInputPeerNotifyEventsAll) String

func (m *TLInputPeerNotifyEventsAll) String() string

func (*TLInputPeerNotifyEventsAll) To_InputPeerNotifyEvents

func (m *TLInputPeerNotifyEventsAll) To_InputPeerNotifyEvents() *InputPeerNotifyEvents

inputPeerNotifyEventsAll#e86a2c74 = InputPeerNotifyEvents;

type TLInputPeerNotifyEventsEmpty

type TLInputPeerNotifyEventsEmpty struct {
	Data2 *InputPeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents;

func NewTLInputPeerNotifyEventsEmpty

func NewTLInputPeerNotifyEventsEmpty() *TLInputPeerNotifyEventsEmpty

func (*TLInputPeerNotifyEventsEmpty) Decode

func (m *TLInputPeerNotifyEventsEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerNotifyEventsEmpty) Descriptor

func (*TLInputPeerNotifyEventsEmpty) Descriptor() ([]byte, []int)

func (*TLInputPeerNotifyEventsEmpty) Encode

func (m *TLInputPeerNotifyEventsEmpty) Encode() []byte

func (*TLInputPeerNotifyEventsEmpty) GetData2

func (*TLInputPeerNotifyEventsEmpty) ProtoMessage

func (*TLInputPeerNotifyEventsEmpty) ProtoMessage()

func (*TLInputPeerNotifyEventsEmpty) Reset

func (m *TLInputPeerNotifyEventsEmpty) Reset()

func (*TLInputPeerNotifyEventsEmpty) String

func (*TLInputPeerNotifyEventsEmpty) To_InputPeerNotifyEvents

func (m *TLInputPeerNotifyEventsEmpty) To_InputPeerNotifyEvents() *InputPeerNotifyEvents

inputPeerNotifyEventsEmpty#f03064d8 = InputPeerNotifyEvents;

type TLInputPeerNotifySettings

type TLInputPeerNotifySettings struct {
	Data2 *InputPeerNotifySettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings;

func NewTLInputPeerNotifySettings

func NewTLInputPeerNotifySettings() *TLInputPeerNotifySettings

func (*TLInputPeerNotifySettings) Decode

func (m *TLInputPeerNotifySettings) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerNotifySettings) Descriptor

func (*TLInputPeerNotifySettings) Descriptor() ([]byte, []int)

func (*TLInputPeerNotifySettings) Encode

func (m *TLInputPeerNotifySettings) Encode() []byte

func (*TLInputPeerNotifySettings) GetData2

func (*TLInputPeerNotifySettings) GetMuteUntil

func (m *TLInputPeerNotifySettings) GetMuteUntil() int32

func (*TLInputPeerNotifySettings) GetShowPreviews

func (m *TLInputPeerNotifySettings) GetShowPreviews() bool

func (*TLInputPeerNotifySettings) GetSilent

func (m *TLInputPeerNotifySettings) GetSilent() bool

func (*TLInputPeerNotifySettings) GetSound

func (m *TLInputPeerNotifySettings) GetSound() string

func (*TLInputPeerNotifySettings) ProtoMessage

func (*TLInputPeerNotifySettings) ProtoMessage()

func (*TLInputPeerNotifySettings) Reset

func (m *TLInputPeerNotifySettings) Reset()

func (*TLInputPeerNotifySettings) SetMuteUntil

func (m *TLInputPeerNotifySettings) SetMuteUntil(v int32)

func (*TLInputPeerNotifySettings) SetShowPreviews

func (m *TLInputPeerNotifySettings) SetShowPreviews(v bool)

func (*TLInputPeerNotifySettings) SetSilent

func (m *TLInputPeerNotifySettings) SetSilent(v bool)

func (*TLInputPeerNotifySettings) SetSound

func (m *TLInputPeerNotifySettings) SetSound(v string)

func (*TLInputPeerNotifySettings) String

func (m *TLInputPeerNotifySettings) String() string

func (*TLInputPeerNotifySettings) To_InputPeerNotifySettings

func (m *TLInputPeerNotifySettings) To_InputPeerNotifySettings() *InputPeerNotifySettings

inputPeerNotifySettings#38935eb2 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = InputPeerNotifySettings;

type TLInputPeerSelf

type TLInputPeerSelf struct {
	Data2 *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerSelf#7da07ec9 = InputPeer;

func NewTLInputPeerSelf

func NewTLInputPeerSelf() *TLInputPeerSelf

func (*TLInputPeerSelf) Decode

func (m *TLInputPeerSelf) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerSelf) Descriptor

func (*TLInputPeerSelf) Descriptor() ([]byte, []int)

func (*TLInputPeerSelf) Encode

func (m *TLInputPeerSelf) Encode() []byte

func (*TLInputPeerSelf) GetData2

func (m *TLInputPeerSelf) GetData2() *InputPeer_Data

func (*TLInputPeerSelf) ProtoMessage

func (*TLInputPeerSelf) ProtoMessage()

func (*TLInputPeerSelf) Reset

func (m *TLInputPeerSelf) Reset()

func (*TLInputPeerSelf) String

func (m *TLInputPeerSelf) String() string

func (*TLInputPeerSelf) To_InputPeer

func (m *TLInputPeerSelf) To_InputPeer() *InputPeer

inputPeerSelf#7da07ec9 = InputPeer;

type TLInputPeerUser

type TLInputPeerUser struct {
	Data2 *InputPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;

func NewTLInputPeerUser

func NewTLInputPeerUser() *TLInputPeerUser

func (*TLInputPeerUser) Decode

func (m *TLInputPeerUser) Decode(dbuf *DecodeBuf) error

func (*TLInputPeerUser) Descriptor

func (*TLInputPeerUser) Descriptor() ([]byte, []int)

func (*TLInputPeerUser) Encode

func (m *TLInputPeerUser) Encode() []byte

func (*TLInputPeerUser) GetAccessHash

func (m *TLInputPeerUser) GetAccessHash() int64

func (*TLInputPeerUser) GetData2

func (m *TLInputPeerUser) GetData2() *InputPeer_Data

func (*TLInputPeerUser) GetUserId

func (m *TLInputPeerUser) GetUserId() int32

func (*TLInputPeerUser) ProtoMessage

func (*TLInputPeerUser) ProtoMessage()

func (*TLInputPeerUser) Reset

func (m *TLInputPeerUser) Reset()

func (*TLInputPeerUser) SetAccessHash

func (m *TLInputPeerUser) SetAccessHash(v int64)

func (*TLInputPeerUser) SetUserId

func (m *TLInputPeerUser) SetUserId(v int32)

func (*TLInputPeerUser) String

func (m *TLInputPeerUser) String() string

func (*TLInputPeerUser) To_InputPeer

func (m *TLInputPeerUser) To_InputPeer() *InputPeer

inputPeerUser#7b8e7de6 user_id:int access_hash:long = InputPeer;

type TLInputPhoneCall

type TLInputPhoneCall struct {
	Data2 *InputPhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;

func NewTLInputPhoneCall

func NewTLInputPhoneCall() *TLInputPhoneCall

func (*TLInputPhoneCall) Decode

func (m *TLInputPhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLInputPhoneCall) Descriptor

func (*TLInputPhoneCall) Descriptor() ([]byte, []int)

func (*TLInputPhoneCall) Encode

func (m *TLInputPhoneCall) Encode() []byte

func (*TLInputPhoneCall) GetAccessHash

func (m *TLInputPhoneCall) GetAccessHash() int64

func (*TLInputPhoneCall) GetData2

func (m *TLInputPhoneCall) GetData2() *InputPhoneCall_Data

func (*TLInputPhoneCall) GetId

func (m *TLInputPhoneCall) GetId() int64

func (*TLInputPhoneCall) ProtoMessage

func (*TLInputPhoneCall) ProtoMessage()

func (*TLInputPhoneCall) Reset

func (m *TLInputPhoneCall) Reset()

func (*TLInputPhoneCall) SetAccessHash

func (m *TLInputPhoneCall) SetAccessHash(v int64)

func (*TLInputPhoneCall) SetId

func (m *TLInputPhoneCall) SetId(v int64)

func (*TLInputPhoneCall) String

func (m *TLInputPhoneCall) String() string

func (*TLInputPhoneCall) To_InputPhoneCall

func (m *TLInputPhoneCall) To_InputPhoneCall() *InputPhoneCall

inputPhoneCall#1e36fded id:long access_hash:long = InputPhoneCall;

type TLInputPhoneContact

type TLInputPhoneContact struct {
	Data2 *InputContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;

func NewTLInputPhoneContact

func NewTLInputPhoneContact() *TLInputPhoneContact

func (*TLInputPhoneContact) Decode

func (m *TLInputPhoneContact) Decode(dbuf *DecodeBuf) error

func (*TLInputPhoneContact) Descriptor

func (*TLInputPhoneContact) Descriptor() ([]byte, []int)

func (*TLInputPhoneContact) Encode

func (m *TLInputPhoneContact) Encode() []byte

func (*TLInputPhoneContact) GetClientId

func (m *TLInputPhoneContact) GetClientId() int64

func (*TLInputPhoneContact) GetData2

func (m *TLInputPhoneContact) GetData2() *InputContact_Data

func (*TLInputPhoneContact) GetFirstName

func (m *TLInputPhoneContact) GetFirstName() string

func (*TLInputPhoneContact) GetLastName

func (m *TLInputPhoneContact) GetLastName() string

func (*TLInputPhoneContact) GetPhone

func (m *TLInputPhoneContact) GetPhone() string

func (*TLInputPhoneContact) ProtoMessage

func (*TLInputPhoneContact) ProtoMessage()

func (*TLInputPhoneContact) Reset

func (m *TLInputPhoneContact) Reset()

func (*TLInputPhoneContact) SetClientId

func (m *TLInputPhoneContact) SetClientId(v int64)

func (*TLInputPhoneContact) SetFirstName

func (m *TLInputPhoneContact) SetFirstName(v string)

func (*TLInputPhoneContact) SetLastName

func (m *TLInputPhoneContact) SetLastName(v string)

func (*TLInputPhoneContact) SetPhone

func (m *TLInputPhoneContact) SetPhone(v string)

func (*TLInputPhoneContact) String

func (m *TLInputPhoneContact) String() string

func (*TLInputPhoneContact) To_InputContact

func (m *TLInputPhoneContact) To_InputContact() *InputContact

inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;

type TLInputPhoto

type TLInputPhoto struct {
	Data2 *InputPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto;

func NewTLInputPhoto

func NewTLInputPhoto() *TLInputPhoto

func (*TLInputPhoto) Decode

func (m *TLInputPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputPhoto) Descriptor

func (*TLInputPhoto) Descriptor() ([]byte, []int)

func (*TLInputPhoto) Encode

func (m *TLInputPhoto) Encode() []byte

func (*TLInputPhoto) GetAccessHash

func (m *TLInputPhoto) GetAccessHash() int64

func (*TLInputPhoto) GetData2

func (m *TLInputPhoto) GetData2() *InputPhoto_Data

func (*TLInputPhoto) GetId

func (m *TLInputPhoto) GetId() int64

func (*TLInputPhoto) ProtoMessage

func (*TLInputPhoto) ProtoMessage()

func (*TLInputPhoto) Reset

func (m *TLInputPhoto) Reset()

func (*TLInputPhoto) SetAccessHash

func (m *TLInputPhoto) SetAccessHash(v int64)

func (*TLInputPhoto) SetId

func (m *TLInputPhoto) SetId(v int64)

func (*TLInputPhoto) String

func (m *TLInputPhoto) String() string

func (*TLInputPhoto) To_InputPhoto

func (m *TLInputPhoto) To_InputPhoto() *InputPhoto

inputPhoto#fb95c6c4 id:long access_hash:long = InputPhoto;

type TLInputPhotoEmpty

type TLInputPhotoEmpty struct {
	Data2 *InputPhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPhotoEmpty#1cd7bf0d = InputPhoto;

func NewTLInputPhotoEmpty

func NewTLInputPhotoEmpty() *TLInputPhotoEmpty

func (*TLInputPhotoEmpty) Decode

func (m *TLInputPhotoEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputPhotoEmpty) Descriptor

func (*TLInputPhotoEmpty) Descriptor() ([]byte, []int)

func (*TLInputPhotoEmpty) Encode

func (m *TLInputPhotoEmpty) Encode() []byte

func (*TLInputPhotoEmpty) GetData2

func (m *TLInputPhotoEmpty) GetData2() *InputPhoto_Data

func (*TLInputPhotoEmpty) ProtoMessage

func (*TLInputPhotoEmpty) ProtoMessage()

func (*TLInputPhotoEmpty) Reset

func (m *TLInputPhotoEmpty) Reset()

func (*TLInputPhotoEmpty) String

func (m *TLInputPhotoEmpty) String() string

func (*TLInputPhotoEmpty) To_InputPhoto

func (m *TLInputPhotoEmpty) To_InputPhoto() *InputPhoto

inputPhotoEmpty#1cd7bf0d = InputPhoto;

type TLInputPrivacyKeyChatInvite

type TLInputPrivacyKeyChatInvite struct {
	Data2 *InputPrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey;

func NewTLInputPrivacyKeyChatInvite

func NewTLInputPrivacyKeyChatInvite() *TLInputPrivacyKeyChatInvite

func (*TLInputPrivacyKeyChatInvite) Decode

func (m *TLInputPrivacyKeyChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLInputPrivacyKeyChatInvite) Descriptor

func (*TLInputPrivacyKeyChatInvite) Descriptor() ([]byte, []int)

func (*TLInputPrivacyKeyChatInvite) Encode

func (m *TLInputPrivacyKeyChatInvite) Encode() []byte

func (*TLInputPrivacyKeyChatInvite) GetData2

func (*TLInputPrivacyKeyChatInvite) ProtoMessage

func (*TLInputPrivacyKeyChatInvite) ProtoMessage()

func (*TLInputPrivacyKeyChatInvite) Reset

func (m *TLInputPrivacyKeyChatInvite) Reset()

func (*TLInputPrivacyKeyChatInvite) String

func (m *TLInputPrivacyKeyChatInvite) String() string

func (*TLInputPrivacyKeyChatInvite) To_InputPrivacyKey

func (m *TLInputPrivacyKeyChatInvite) To_InputPrivacyKey() *InputPrivacyKey

inputPrivacyKeyChatInvite#bdfb0426 = InputPrivacyKey;

type TLInputPrivacyKeyPhoneCall

type TLInputPrivacyKeyPhoneCall struct {
	Data2 *InputPrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;

func NewTLInputPrivacyKeyPhoneCall

func NewTLInputPrivacyKeyPhoneCall() *TLInputPrivacyKeyPhoneCall

func (*TLInputPrivacyKeyPhoneCall) Decode

func (m *TLInputPrivacyKeyPhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLInputPrivacyKeyPhoneCall) Descriptor

func (*TLInputPrivacyKeyPhoneCall) Descriptor() ([]byte, []int)

func (*TLInputPrivacyKeyPhoneCall) Encode

func (m *TLInputPrivacyKeyPhoneCall) Encode() []byte

func (*TLInputPrivacyKeyPhoneCall) GetData2

func (*TLInputPrivacyKeyPhoneCall) ProtoMessage

func (*TLInputPrivacyKeyPhoneCall) ProtoMessage()

func (*TLInputPrivacyKeyPhoneCall) Reset

func (m *TLInputPrivacyKeyPhoneCall) Reset()

func (*TLInputPrivacyKeyPhoneCall) String

func (m *TLInputPrivacyKeyPhoneCall) String() string

func (*TLInputPrivacyKeyPhoneCall) To_InputPrivacyKey

func (m *TLInputPrivacyKeyPhoneCall) To_InputPrivacyKey() *InputPrivacyKey

inputPrivacyKeyPhoneCall#fabadc5f = InputPrivacyKey;

type TLInputPrivacyKeyStatusTimestamp

type TLInputPrivacyKeyStatusTimestamp struct {
	Data2 *InputPrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;

func NewTLInputPrivacyKeyStatusTimestamp

func NewTLInputPrivacyKeyStatusTimestamp() *TLInputPrivacyKeyStatusTimestamp

func (*TLInputPrivacyKeyStatusTimestamp) Decode

func (*TLInputPrivacyKeyStatusTimestamp) Descriptor

func (*TLInputPrivacyKeyStatusTimestamp) Descriptor() ([]byte, []int)

func (*TLInputPrivacyKeyStatusTimestamp) Encode

func (m *TLInputPrivacyKeyStatusTimestamp) Encode() []byte

func (*TLInputPrivacyKeyStatusTimestamp) GetData2

func (*TLInputPrivacyKeyStatusTimestamp) ProtoMessage

func (*TLInputPrivacyKeyStatusTimestamp) ProtoMessage()

func (*TLInputPrivacyKeyStatusTimestamp) Reset

func (*TLInputPrivacyKeyStatusTimestamp) String

func (*TLInputPrivacyKeyStatusTimestamp) To_InputPrivacyKey

func (m *TLInputPrivacyKeyStatusTimestamp) To_InputPrivacyKey() *InputPrivacyKey

inputPrivacyKeyStatusTimestamp#4f96cb18 = InputPrivacyKey;

type TLInputPrivacyValueAllowAll

type TLInputPrivacyValueAllowAll struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;

func NewTLInputPrivacyValueAllowAll

func NewTLInputPrivacyValueAllowAll() *TLInputPrivacyValueAllowAll

func (*TLInputPrivacyValueAllowAll) Decode

func (m *TLInputPrivacyValueAllowAll) Decode(dbuf *DecodeBuf) error

func (*TLInputPrivacyValueAllowAll) Descriptor

func (*TLInputPrivacyValueAllowAll) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueAllowAll) Encode

func (m *TLInputPrivacyValueAllowAll) Encode() []byte

func (*TLInputPrivacyValueAllowAll) GetData2

func (*TLInputPrivacyValueAllowAll) ProtoMessage

func (*TLInputPrivacyValueAllowAll) ProtoMessage()

func (*TLInputPrivacyValueAllowAll) Reset

func (m *TLInputPrivacyValueAllowAll) Reset()

func (*TLInputPrivacyValueAllowAll) String

func (m *TLInputPrivacyValueAllowAll) String() string

func (*TLInputPrivacyValueAllowAll) To_InputPrivacyRule

func (m *TLInputPrivacyValueAllowAll) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueAllowAll#184b35ce = InputPrivacyRule;

type TLInputPrivacyValueAllowContacts

type TLInputPrivacyValueAllowContacts struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;

func NewTLInputPrivacyValueAllowContacts

func NewTLInputPrivacyValueAllowContacts() *TLInputPrivacyValueAllowContacts

func (*TLInputPrivacyValueAllowContacts) Decode

func (*TLInputPrivacyValueAllowContacts) Descriptor

func (*TLInputPrivacyValueAllowContacts) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueAllowContacts) Encode

func (m *TLInputPrivacyValueAllowContacts) Encode() []byte

func (*TLInputPrivacyValueAllowContacts) GetData2

func (*TLInputPrivacyValueAllowContacts) ProtoMessage

func (*TLInputPrivacyValueAllowContacts) ProtoMessage()

func (*TLInputPrivacyValueAllowContacts) Reset

func (*TLInputPrivacyValueAllowContacts) String

func (*TLInputPrivacyValueAllowContacts) To_InputPrivacyRule

func (m *TLInputPrivacyValueAllowContacts) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueAllowContacts#d09e07b = InputPrivacyRule;

type TLInputPrivacyValueAllowUsers

type TLInputPrivacyValueAllowUsers struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;

func NewTLInputPrivacyValueAllowUsers

func NewTLInputPrivacyValueAllowUsers() *TLInputPrivacyValueAllowUsers

func (*TLInputPrivacyValueAllowUsers) Decode

func (*TLInputPrivacyValueAllowUsers) Descriptor

func (*TLInputPrivacyValueAllowUsers) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueAllowUsers) Encode

func (m *TLInputPrivacyValueAllowUsers) Encode() []byte

func (*TLInputPrivacyValueAllowUsers) GetData2

func (*TLInputPrivacyValueAllowUsers) GetUsers

func (m *TLInputPrivacyValueAllowUsers) GetUsers() []*InputUser

func (*TLInputPrivacyValueAllowUsers) ProtoMessage

func (*TLInputPrivacyValueAllowUsers) ProtoMessage()

func (*TLInputPrivacyValueAllowUsers) Reset

func (m *TLInputPrivacyValueAllowUsers) Reset()

func (*TLInputPrivacyValueAllowUsers) SetUsers

func (m *TLInputPrivacyValueAllowUsers) SetUsers(v []*InputUser)

func (*TLInputPrivacyValueAllowUsers) String

func (*TLInputPrivacyValueAllowUsers) To_InputPrivacyRule

func (m *TLInputPrivacyValueAllowUsers) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueAllowUsers#131cc67f users:Vector<InputUser> = InputPrivacyRule;

type TLInputPrivacyValueDisallowAll

type TLInputPrivacyValueDisallowAll struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;

func NewTLInputPrivacyValueDisallowAll

func NewTLInputPrivacyValueDisallowAll() *TLInputPrivacyValueDisallowAll

func (*TLInputPrivacyValueDisallowAll) Decode

func (*TLInputPrivacyValueDisallowAll) Descriptor

func (*TLInputPrivacyValueDisallowAll) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueDisallowAll) Encode

func (m *TLInputPrivacyValueDisallowAll) Encode() []byte

func (*TLInputPrivacyValueDisallowAll) GetData2

func (*TLInputPrivacyValueDisallowAll) ProtoMessage

func (*TLInputPrivacyValueDisallowAll) ProtoMessage()

func (*TLInputPrivacyValueDisallowAll) Reset

func (m *TLInputPrivacyValueDisallowAll) Reset()

func (*TLInputPrivacyValueDisallowAll) String

func (*TLInputPrivacyValueDisallowAll) To_InputPrivacyRule

func (m *TLInputPrivacyValueDisallowAll) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueDisallowAll#d66b66c9 = InputPrivacyRule;

type TLInputPrivacyValueDisallowContacts

type TLInputPrivacyValueDisallowContacts struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;

func NewTLInputPrivacyValueDisallowContacts

func NewTLInputPrivacyValueDisallowContacts() *TLInputPrivacyValueDisallowContacts

func (*TLInputPrivacyValueDisallowContacts) Decode

func (*TLInputPrivacyValueDisallowContacts) Descriptor

func (*TLInputPrivacyValueDisallowContacts) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueDisallowContacts) Encode

func (*TLInputPrivacyValueDisallowContacts) GetData2

func (*TLInputPrivacyValueDisallowContacts) ProtoMessage

func (*TLInputPrivacyValueDisallowContacts) ProtoMessage()

func (*TLInputPrivacyValueDisallowContacts) Reset

func (*TLInputPrivacyValueDisallowContacts) String

func (*TLInputPrivacyValueDisallowContacts) To_InputPrivacyRule

func (m *TLInputPrivacyValueDisallowContacts) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueDisallowContacts#ba52007 = InputPrivacyRule;

type TLInputPrivacyValueDisallowUsers

type TLInputPrivacyValueDisallowUsers struct {
	Data2 *InputPrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;

func NewTLInputPrivacyValueDisallowUsers

func NewTLInputPrivacyValueDisallowUsers() *TLInputPrivacyValueDisallowUsers

func (*TLInputPrivacyValueDisallowUsers) Decode

func (*TLInputPrivacyValueDisallowUsers) Descriptor

func (*TLInputPrivacyValueDisallowUsers) Descriptor() ([]byte, []int)

func (*TLInputPrivacyValueDisallowUsers) Encode

func (m *TLInputPrivacyValueDisallowUsers) Encode() []byte

func (*TLInputPrivacyValueDisallowUsers) GetData2

func (*TLInputPrivacyValueDisallowUsers) GetUsers

func (*TLInputPrivacyValueDisallowUsers) ProtoMessage

func (*TLInputPrivacyValueDisallowUsers) ProtoMessage()

func (*TLInputPrivacyValueDisallowUsers) Reset

func (*TLInputPrivacyValueDisallowUsers) SetUsers

func (m *TLInputPrivacyValueDisallowUsers) SetUsers(v []*InputUser)

func (*TLInputPrivacyValueDisallowUsers) String

func (*TLInputPrivacyValueDisallowUsers) To_InputPrivacyRule

func (m *TLInputPrivacyValueDisallowUsers) To_InputPrivacyRule() *InputPrivacyRule

inputPrivacyValueDisallowUsers#90110467 users:Vector<InputUser> = InputPrivacyRule;

type TLInputReportReasonOther

type TLInputReportReasonOther struct {
	Data2 *ReportReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputReportReasonOther#e1746d0a text:string = ReportReason;

func NewTLInputReportReasonOther

func NewTLInputReportReasonOther() *TLInputReportReasonOther

func (*TLInputReportReasonOther) Decode

func (m *TLInputReportReasonOther) Decode(dbuf *DecodeBuf) error

func (*TLInputReportReasonOther) Descriptor

func (*TLInputReportReasonOther) Descriptor() ([]byte, []int)

func (*TLInputReportReasonOther) Encode

func (m *TLInputReportReasonOther) Encode() []byte

func (*TLInputReportReasonOther) GetData2

func (*TLInputReportReasonOther) GetText

func (m *TLInputReportReasonOther) GetText() string

func (*TLInputReportReasonOther) ProtoMessage

func (*TLInputReportReasonOther) ProtoMessage()

func (*TLInputReportReasonOther) Reset

func (m *TLInputReportReasonOther) Reset()

func (*TLInputReportReasonOther) SetText

func (m *TLInputReportReasonOther) SetText(v string)

func (*TLInputReportReasonOther) String

func (m *TLInputReportReasonOther) String() string

func (*TLInputReportReasonOther) To_ReportReason

func (m *TLInputReportReasonOther) To_ReportReason() *ReportReason

inputReportReasonOther#e1746d0a text:string = ReportReason;

type TLInputReportReasonPornography

type TLInputReportReasonPornography struct {
	Data2 *ReportReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputReportReasonPornography#2e59d922 = ReportReason;

func NewTLInputReportReasonPornography

func NewTLInputReportReasonPornography() *TLInputReportReasonPornography

func (*TLInputReportReasonPornography) Decode

func (*TLInputReportReasonPornography) Descriptor

func (*TLInputReportReasonPornography) Descriptor() ([]byte, []int)

func (*TLInputReportReasonPornography) Encode

func (m *TLInputReportReasonPornography) Encode() []byte

func (*TLInputReportReasonPornography) GetData2

func (*TLInputReportReasonPornography) ProtoMessage

func (*TLInputReportReasonPornography) ProtoMessage()

func (*TLInputReportReasonPornography) Reset

func (m *TLInputReportReasonPornography) Reset()

func (*TLInputReportReasonPornography) String

func (*TLInputReportReasonPornography) To_ReportReason

func (m *TLInputReportReasonPornography) To_ReportReason() *ReportReason

inputReportReasonPornography#2e59d922 = ReportReason;

type TLInputReportReasonSpam

type TLInputReportReasonSpam struct {
	Data2 *ReportReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputReportReasonSpam#58dbcab8 = ReportReason;

func NewTLInputReportReasonSpam

func NewTLInputReportReasonSpam() *TLInputReportReasonSpam

func (*TLInputReportReasonSpam) Decode

func (m *TLInputReportReasonSpam) Decode(dbuf *DecodeBuf) error

func (*TLInputReportReasonSpam) Descriptor

func (*TLInputReportReasonSpam) Descriptor() ([]byte, []int)

func (*TLInputReportReasonSpam) Encode

func (m *TLInputReportReasonSpam) Encode() []byte

func (*TLInputReportReasonSpam) GetData2

func (*TLInputReportReasonSpam) ProtoMessage

func (*TLInputReportReasonSpam) ProtoMessage()

func (*TLInputReportReasonSpam) Reset

func (m *TLInputReportReasonSpam) Reset()

func (*TLInputReportReasonSpam) String

func (m *TLInputReportReasonSpam) String() string

func (*TLInputReportReasonSpam) To_ReportReason

func (m *TLInputReportReasonSpam) To_ReportReason() *ReportReason

inputReportReasonSpam#58dbcab8 = ReportReason;

type TLInputReportReasonViolence

type TLInputReportReasonViolence struct {
	Data2 *ReportReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputReportReasonViolence#1e22c78d = ReportReason;

func NewTLInputReportReasonViolence

func NewTLInputReportReasonViolence() *TLInputReportReasonViolence

func (*TLInputReportReasonViolence) Decode

func (m *TLInputReportReasonViolence) Decode(dbuf *DecodeBuf) error

func (*TLInputReportReasonViolence) Descriptor

func (*TLInputReportReasonViolence) Descriptor() ([]byte, []int)

func (*TLInputReportReasonViolence) Encode

func (m *TLInputReportReasonViolence) Encode() []byte

func (*TLInputReportReasonViolence) GetData2

func (*TLInputReportReasonViolence) ProtoMessage

func (*TLInputReportReasonViolence) ProtoMessage()

func (*TLInputReportReasonViolence) Reset

func (m *TLInputReportReasonViolence) Reset()

func (*TLInputReportReasonViolence) String

func (m *TLInputReportReasonViolence) String() string

func (*TLInputReportReasonViolence) To_ReportReason

func (m *TLInputReportReasonViolence) To_ReportReason() *ReportReason

inputReportReasonViolence#1e22c78d = ReportReason;

type TLInputSingleMedia

type TLInputSingleMedia struct {
	Data2 *InputSingleMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputSingleMedia#5eaa7809 media:InputMedia random_id:long = InputSingleMedia;

func NewTLInputSingleMedia

func NewTLInputSingleMedia() *TLInputSingleMedia

func (*TLInputSingleMedia) Decode

func (m *TLInputSingleMedia) Decode(dbuf *DecodeBuf) error

func (*TLInputSingleMedia) Descriptor

func (*TLInputSingleMedia) Descriptor() ([]byte, []int)

func (*TLInputSingleMedia) Encode

func (m *TLInputSingleMedia) Encode() []byte

func (*TLInputSingleMedia) GetData2

func (*TLInputSingleMedia) GetMedia

func (m *TLInputSingleMedia) GetMedia() *InputMedia

func (*TLInputSingleMedia) GetRandomId

func (m *TLInputSingleMedia) GetRandomId() int64

func (*TLInputSingleMedia) ProtoMessage

func (*TLInputSingleMedia) ProtoMessage()

func (*TLInputSingleMedia) Reset

func (m *TLInputSingleMedia) Reset()

func (*TLInputSingleMedia) SetMedia

func (m *TLInputSingleMedia) SetMedia(v *InputMedia)

func (*TLInputSingleMedia) SetRandomId

func (m *TLInputSingleMedia) SetRandomId(v int64)

func (*TLInputSingleMedia) String

func (m *TLInputSingleMedia) String() string

func (*TLInputSingleMedia) To_InputSingleMedia

func (m *TLInputSingleMedia) To_InputSingleMedia() *InputSingleMedia

inputSingleMedia#5eaa7809 media:InputMedia random_id:long = InputSingleMedia;

type TLInputStickerSetEmpty

type TLInputStickerSetEmpty struct {
	Data2 *InputStickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickerSetEmpty#ffb62b95 = InputStickerSet;

func NewTLInputStickerSetEmpty

func NewTLInputStickerSetEmpty() *TLInputStickerSetEmpty

func (*TLInputStickerSetEmpty) Decode

func (m *TLInputStickerSetEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputStickerSetEmpty) Descriptor

func (*TLInputStickerSetEmpty) Descriptor() ([]byte, []int)

func (*TLInputStickerSetEmpty) Encode

func (m *TLInputStickerSetEmpty) Encode() []byte

func (*TLInputStickerSetEmpty) GetData2

func (*TLInputStickerSetEmpty) ProtoMessage

func (*TLInputStickerSetEmpty) ProtoMessage()

func (*TLInputStickerSetEmpty) Reset

func (m *TLInputStickerSetEmpty) Reset()

func (*TLInputStickerSetEmpty) String

func (m *TLInputStickerSetEmpty) String() string

func (*TLInputStickerSetEmpty) To_InputStickerSet

func (m *TLInputStickerSetEmpty) To_InputStickerSet() *InputStickerSet

inputStickerSetEmpty#ffb62b95 = InputStickerSet;

type TLInputStickerSetID

type TLInputStickerSetID struct {
	Data2 *InputStickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;

func NewTLInputStickerSetID

func NewTLInputStickerSetID() *TLInputStickerSetID

func (*TLInputStickerSetID) Decode

func (m *TLInputStickerSetID) Decode(dbuf *DecodeBuf) error

func (*TLInputStickerSetID) Descriptor

func (*TLInputStickerSetID) Descriptor() ([]byte, []int)

func (*TLInputStickerSetID) Encode

func (m *TLInputStickerSetID) Encode() []byte

func (*TLInputStickerSetID) GetAccessHash

func (m *TLInputStickerSetID) GetAccessHash() int64

func (*TLInputStickerSetID) GetData2

func (*TLInputStickerSetID) GetId

func (m *TLInputStickerSetID) GetId() int64

func (*TLInputStickerSetID) ProtoMessage

func (*TLInputStickerSetID) ProtoMessage()

func (*TLInputStickerSetID) Reset

func (m *TLInputStickerSetID) Reset()

func (*TLInputStickerSetID) SetAccessHash

func (m *TLInputStickerSetID) SetAccessHash(v int64)

func (*TLInputStickerSetID) SetId

func (m *TLInputStickerSetID) SetId(v int64)

func (*TLInputStickerSetID) String

func (m *TLInputStickerSetID) String() string

func (*TLInputStickerSetID) To_InputStickerSet

func (m *TLInputStickerSetID) To_InputStickerSet() *InputStickerSet

inputStickerSetID#9de7a269 id:long access_hash:long = InputStickerSet;

type TLInputStickerSetItem

type TLInputStickerSetItem struct {
	Data2 *InputStickerSetItem_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;

func NewTLInputStickerSetItem

func NewTLInputStickerSetItem() *TLInputStickerSetItem

func (*TLInputStickerSetItem) Decode

func (m *TLInputStickerSetItem) Decode(dbuf *DecodeBuf) error

func (*TLInputStickerSetItem) Descriptor

func (*TLInputStickerSetItem) Descriptor() ([]byte, []int)

func (*TLInputStickerSetItem) Encode

func (m *TLInputStickerSetItem) Encode() []byte

func (*TLInputStickerSetItem) GetData2

func (*TLInputStickerSetItem) GetDocument

func (m *TLInputStickerSetItem) GetDocument() *InputDocument

func (*TLInputStickerSetItem) GetEmoji

func (m *TLInputStickerSetItem) GetEmoji() string

func (*TLInputStickerSetItem) GetMaskCoords

func (m *TLInputStickerSetItem) GetMaskCoords() *MaskCoords

func (*TLInputStickerSetItem) ProtoMessage

func (*TLInputStickerSetItem) ProtoMessage()

func (*TLInputStickerSetItem) Reset

func (m *TLInputStickerSetItem) Reset()

func (*TLInputStickerSetItem) SetDocument

func (m *TLInputStickerSetItem) SetDocument(v *InputDocument)

func (*TLInputStickerSetItem) SetEmoji

func (m *TLInputStickerSetItem) SetEmoji(v string)

func (*TLInputStickerSetItem) SetMaskCoords

func (m *TLInputStickerSetItem) SetMaskCoords(v *MaskCoords)

func (*TLInputStickerSetItem) String

func (m *TLInputStickerSetItem) String() string

func (*TLInputStickerSetItem) To_InputStickerSetItem

func (m *TLInputStickerSetItem) To_InputStickerSetItem() *InputStickerSetItem

inputStickerSetItem#ffa0a496 flags:# document:InputDocument emoji:string mask_coords:flags.0?MaskCoords = InputStickerSetItem;

type TLInputStickerSetShortName

type TLInputStickerSetShortName struct {
	Data2 *InputStickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;

func NewTLInputStickerSetShortName

func NewTLInputStickerSetShortName() *TLInputStickerSetShortName

func (*TLInputStickerSetShortName) Decode

func (m *TLInputStickerSetShortName) Decode(dbuf *DecodeBuf) error

func (*TLInputStickerSetShortName) Descriptor

func (*TLInputStickerSetShortName) Descriptor() ([]byte, []int)

func (*TLInputStickerSetShortName) Encode

func (m *TLInputStickerSetShortName) Encode() []byte

func (*TLInputStickerSetShortName) GetData2

func (*TLInputStickerSetShortName) GetShortName

func (m *TLInputStickerSetShortName) GetShortName() string

func (*TLInputStickerSetShortName) ProtoMessage

func (*TLInputStickerSetShortName) ProtoMessage()

func (*TLInputStickerSetShortName) Reset

func (m *TLInputStickerSetShortName) Reset()

func (*TLInputStickerSetShortName) SetShortName

func (m *TLInputStickerSetShortName) SetShortName(v string)

func (*TLInputStickerSetShortName) String

func (m *TLInputStickerSetShortName) String() string

func (*TLInputStickerSetShortName) To_InputStickerSet

func (m *TLInputStickerSetShortName) To_InputStickerSet() *InputStickerSet

inputStickerSetShortName#861cc8a0 short_name:string = InputStickerSet;

type TLInputStickeredMediaDocument

type TLInputStickeredMediaDocument struct {
	Data2 *InputStickeredMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia;

func NewTLInputStickeredMediaDocument

func NewTLInputStickeredMediaDocument() *TLInputStickeredMediaDocument

func (*TLInputStickeredMediaDocument) Decode

func (*TLInputStickeredMediaDocument) Descriptor

func (*TLInputStickeredMediaDocument) Descriptor() ([]byte, []int)

func (*TLInputStickeredMediaDocument) Encode

func (m *TLInputStickeredMediaDocument) Encode() []byte

func (*TLInputStickeredMediaDocument) GetData2

func (*TLInputStickeredMediaDocument) GetId

func (*TLInputStickeredMediaDocument) ProtoMessage

func (*TLInputStickeredMediaDocument) ProtoMessage()

func (*TLInputStickeredMediaDocument) Reset

func (m *TLInputStickeredMediaDocument) Reset()

func (*TLInputStickeredMediaDocument) SetId

func (*TLInputStickeredMediaDocument) String

func (*TLInputStickeredMediaDocument) To_InputStickeredMedia

func (m *TLInputStickeredMediaDocument) To_InputStickeredMedia() *InputStickeredMedia

inputStickeredMediaDocument#438865b id:InputDocument = InputStickeredMedia;

type TLInputStickeredMediaPhoto

type TLInputStickeredMediaPhoto struct {
	Data2 *InputStickeredMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia;

func NewTLInputStickeredMediaPhoto

func NewTLInputStickeredMediaPhoto() *TLInputStickeredMediaPhoto

func (*TLInputStickeredMediaPhoto) Decode

func (m *TLInputStickeredMediaPhoto) Decode(dbuf *DecodeBuf) error

func (*TLInputStickeredMediaPhoto) Descriptor

func (*TLInputStickeredMediaPhoto) Descriptor() ([]byte, []int)

func (*TLInputStickeredMediaPhoto) Encode

func (m *TLInputStickeredMediaPhoto) Encode() []byte

func (*TLInputStickeredMediaPhoto) GetData2

func (*TLInputStickeredMediaPhoto) GetId

func (*TLInputStickeredMediaPhoto) ProtoMessage

func (*TLInputStickeredMediaPhoto) ProtoMessage()

func (*TLInputStickeredMediaPhoto) Reset

func (m *TLInputStickeredMediaPhoto) Reset()

func (*TLInputStickeredMediaPhoto) SetId

func (*TLInputStickeredMediaPhoto) String

func (m *TLInputStickeredMediaPhoto) String() string

func (*TLInputStickeredMediaPhoto) To_InputStickeredMedia

func (m *TLInputStickeredMediaPhoto) To_InputStickeredMedia() *InputStickeredMedia

inputStickeredMediaPhoto#4a992157 id:InputPhoto = InputStickeredMedia;

type TLInputUser

type TLInputUser struct {
	Data2 *InputUser_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputUser#d8292816 user_id:int access_hash:long = InputUser;

func NewTLInputUser

func NewTLInputUser() *TLInputUser

func (*TLInputUser) Decode

func (m *TLInputUser) Decode(dbuf *DecodeBuf) error

func (*TLInputUser) Descriptor

func (*TLInputUser) Descriptor() ([]byte, []int)

func (*TLInputUser) Encode

func (m *TLInputUser) Encode() []byte

func (*TLInputUser) GetAccessHash

func (m *TLInputUser) GetAccessHash() int64

func (*TLInputUser) GetData2

func (m *TLInputUser) GetData2() *InputUser_Data

func (*TLInputUser) GetUserId

func (m *TLInputUser) GetUserId() int32

func (*TLInputUser) ProtoMessage

func (*TLInputUser) ProtoMessage()

func (*TLInputUser) Reset

func (m *TLInputUser) Reset()

func (*TLInputUser) SetAccessHash

func (m *TLInputUser) SetAccessHash(v int64)

func (*TLInputUser) SetUserId

func (m *TLInputUser) SetUserId(v int32)

func (*TLInputUser) String

func (m *TLInputUser) String() string

func (*TLInputUser) To_InputUser

func (m *TLInputUser) To_InputUser() *InputUser

inputUser#d8292816 user_id:int access_hash:long = InputUser;

type TLInputUserEmpty

type TLInputUserEmpty struct {
	Data2 *InputUser_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputUserEmpty#b98886cf = InputUser;

func NewTLInputUserEmpty

func NewTLInputUserEmpty() *TLInputUserEmpty

func (*TLInputUserEmpty) Decode

func (m *TLInputUserEmpty) Decode(dbuf *DecodeBuf) error

func (*TLInputUserEmpty) Descriptor

func (*TLInputUserEmpty) Descriptor() ([]byte, []int)

func (*TLInputUserEmpty) Encode

func (m *TLInputUserEmpty) Encode() []byte

func (*TLInputUserEmpty) GetData2

func (m *TLInputUserEmpty) GetData2() *InputUser_Data

func (*TLInputUserEmpty) ProtoMessage

func (*TLInputUserEmpty) ProtoMessage()

func (*TLInputUserEmpty) Reset

func (m *TLInputUserEmpty) Reset()

func (*TLInputUserEmpty) String

func (m *TLInputUserEmpty) String() string

func (*TLInputUserEmpty) To_InputUser

func (m *TLInputUserEmpty) To_InputUser() *InputUser

inputUserEmpty#b98886cf = InputUser;

type TLInputUserSelf

type TLInputUserSelf struct {
	Data2 *InputUser_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputUserSelf#f7c1b13f = InputUser;

func NewTLInputUserSelf

func NewTLInputUserSelf() *TLInputUserSelf

func (*TLInputUserSelf) Decode

func (m *TLInputUserSelf) Decode(dbuf *DecodeBuf) error

func (*TLInputUserSelf) Descriptor

func (*TLInputUserSelf) Descriptor() ([]byte, []int)

func (*TLInputUserSelf) Encode

func (m *TLInputUserSelf) Encode() []byte

func (*TLInputUserSelf) GetData2

func (m *TLInputUserSelf) GetData2() *InputUser_Data

func (*TLInputUserSelf) ProtoMessage

func (*TLInputUserSelf) ProtoMessage()

func (*TLInputUserSelf) Reset

func (m *TLInputUserSelf) Reset()

func (*TLInputUserSelf) String

func (m *TLInputUserSelf) String() string

func (*TLInputUserSelf) To_InputUser

func (m *TLInputUserSelf) To_InputUser() *InputUser

inputUserSelf#f7c1b13f = InputUser;

type TLInputWebDocument

type TLInputWebDocument struct {
	Data2 *InputWebDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument;

func NewTLInputWebDocument

func NewTLInputWebDocument() *TLInputWebDocument

func (*TLInputWebDocument) Decode

func (m *TLInputWebDocument) Decode(dbuf *DecodeBuf) error

func (*TLInputWebDocument) Descriptor

func (*TLInputWebDocument) Descriptor() ([]byte, []int)

func (*TLInputWebDocument) Encode

func (m *TLInputWebDocument) Encode() []byte

func (*TLInputWebDocument) GetAttributes

func (m *TLInputWebDocument) GetAttributes() []*DocumentAttribute

func (*TLInputWebDocument) GetData2

func (*TLInputWebDocument) GetMimeType

func (m *TLInputWebDocument) GetMimeType() string

func (*TLInputWebDocument) GetSize

func (m *TLInputWebDocument) GetSize() int32

func (*TLInputWebDocument) GetUrl

func (m *TLInputWebDocument) GetUrl() string

func (*TLInputWebDocument) ProtoMessage

func (*TLInputWebDocument) ProtoMessage()

func (*TLInputWebDocument) Reset

func (m *TLInputWebDocument) Reset()

func (*TLInputWebDocument) SetAttributes

func (m *TLInputWebDocument) SetAttributes(v []*DocumentAttribute)

func (*TLInputWebDocument) SetMimeType

func (m *TLInputWebDocument) SetMimeType(v string)

func (*TLInputWebDocument) SetSize

func (m *TLInputWebDocument) SetSize(v int32)

func (*TLInputWebDocument) SetUrl

func (m *TLInputWebDocument) SetUrl(v string)

func (*TLInputWebDocument) String

func (m *TLInputWebDocument) String() string

func (*TLInputWebDocument) To_InputWebDocument

func (m *TLInputWebDocument) To_InputWebDocument() *InputWebDocument

inputWebDocument#9bed434d url:string size:int mime_type:string attributes:Vector<DocumentAttribute> = InputWebDocument;

type TLInputWebFileLocation

type TLInputWebFileLocation struct {
	Data2 *InputWebFileLocation_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;

func NewTLInputWebFileLocation

func NewTLInputWebFileLocation() *TLInputWebFileLocation

func (*TLInputWebFileLocation) Decode

func (m *TLInputWebFileLocation) Decode(dbuf *DecodeBuf) error

func (*TLInputWebFileLocation) Descriptor

func (*TLInputWebFileLocation) Descriptor() ([]byte, []int)

func (*TLInputWebFileLocation) Encode

func (m *TLInputWebFileLocation) Encode() []byte

func (*TLInputWebFileLocation) GetAccessHash

func (m *TLInputWebFileLocation) GetAccessHash() int64

func (*TLInputWebFileLocation) GetData2

func (*TLInputWebFileLocation) GetUrl

func (m *TLInputWebFileLocation) GetUrl() string

func (*TLInputWebFileLocation) ProtoMessage

func (*TLInputWebFileLocation) ProtoMessage()

func (*TLInputWebFileLocation) Reset

func (m *TLInputWebFileLocation) Reset()

func (*TLInputWebFileLocation) SetAccessHash

func (m *TLInputWebFileLocation) SetAccessHash(v int64)

func (*TLInputWebFileLocation) SetUrl

func (m *TLInputWebFileLocation) SetUrl(v string)

func (*TLInputWebFileLocation) String

func (m *TLInputWebFileLocation) String() string

func (*TLInputWebFileLocation) To_InputWebFileLocation

func (m *TLInputWebFileLocation) To_InputWebFileLocation() *InputWebFileLocation

inputWebFileLocation#c239d686 url:string access_hash:long = InputWebFileLocation;

type TLInvoice

type TLInvoice struct {
	Data2 *Invoice_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector<LabeledPrice> = Invoice;

func NewTLInvoice

func NewTLInvoice() *TLInvoice

func (*TLInvoice) Decode

func (m *TLInvoice) Decode(dbuf *DecodeBuf) error

func (*TLInvoice) Descriptor

func (*TLInvoice) Descriptor() ([]byte, []int)

func (*TLInvoice) Encode

func (m *TLInvoice) Encode() []byte

func (*TLInvoice) GetCurrency

func (m *TLInvoice) GetCurrency() string

func (*TLInvoice) GetData2

func (m *TLInvoice) GetData2() *Invoice_Data

func (*TLInvoice) GetEmailRequested

func (m *TLInvoice) GetEmailRequested() bool

func (*TLInvoice) GetEmailToProvider

func (m *TLInvoice) GetEmailToProvider() bool

func (*TLInvoice) GetFlexible

func (m *TLInvoice) GetFlexible() bool

func (*TLInvoice) GetNameRequested

func (m *TLInvoice) GetNameRequested() bool

func (*TLInvoice) GetPhoneRequested

func (m *TLInvoice) GetPhoneRequested() bool

func (*TLInvoice) GetPhoneToProvider

func (m *TLInvoice) GetPhoneToProvider() bool

func (*TLInvoice) GetPrices

func (m *TLInvoice) GetPrices() []*LabeledPrice

func (*TLInvoice) GetShippingAddressRequested

func (m *TLInvoice) GetShippingAddressRequested() bool

func (*TLInvoice) GetTest

func (m *TLInvoice) GetTest() bool

func (*TLInvoice) ProtoMessage

func (*TLInvoice) ProtoMessage()

func (*TLInvoice) Reset

func (m *TLInvoice) Reset()

func (*TLInvoice) SetCurrency

func (m *TLInvoice) SetCurrency(v string)

func (*TLInvoice) SetEmailRequested

func (m *TLInvoice) SetEmailRequested(v bool)

func (*TLInvoice) SetEmailToProvider

func (m *TLInvoice) SetEmailToProvider(v bool)

func (*TLInvoice) SetFlexible

func (m *TLInvoice) SetFlexible(v bool)

func (*TLInvoice) SetNameRequested

func (m *TLInvoice) SetNameRequested(v bool)

func (*TLInvoice) SetPhoneRequested

func (m *TLInvoice) SetPhoneRequested(v bool)

func (*TLInvoice) SetPhoneToProvider

func (m *TLInvoice) SetPhoneToProvider(v bool)

func (*TLInvoice) SetPrices

func (m *TLInvoice) SetPrices(v []*LabeledPrice)

func (*TLInvoice) SetShippingAddressRequested

func (m *TLInvoice) SetShippingAddressRequested(v bool)

func (*TLInvoice) SetTest

func (m *TLInvoice) SetTest(v bool)

func (*TLInvoice) String

func (m *TLInvoice) String() string

func (*TLInvoice) To_Invoice

func (m *TLInvoice) To_Invoice() *Invoice

invoice#c30aa358 flags:# test:flags.0?true name_requested:flags.1?true phone_requested:flags.2?true email_requested:flags.3?true shipping_address_requested:flags.4?true flexible:flags.5?true phone_to_provider:flags.6?true email_to_provider:flags.7?true currency:string prices:Vector<LabeledPrice> = Invoice;

type TLInvokeAfterMsg

type TLInvokeAfterMsg struct {
	MsgId int64  `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	Query []byte `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// invokeAfterMsg#cb9f372d {X:Type} msg_id:long query:!X = X;

func NewTLInvokeAfterMsg

func NewTLInvokeAfterMsg() *TLInvokeAfterMsg

func (*TLInvokeAfterMsg) Decode

func (m *TLInvokeAfterMsg) Decode(dbuf *DecodeBuf) error

func (*TLInvokeAfterMsg) Descriptor

func (*TLInvokeAfterMsg) Descriptor() ([]byte, []int)

func (*TLInvokeAfterMsg) Encode

func (m *TLInvokeAfterMsg) Encode() []byte

func (*TLInvokeAfterMsg) GetMsgId

func (m *TLInvokeAfterMsg) GetMsgId() int64

func (*TLInvokeAfterMsg) GetQuery

func (m *TLInvokeAfterMsg) GetQuery() []byte

func (*TLInvokeAfterMsg) ProtoMessage

func (*TLInvokeAfterMsg) ProtoMessage()

func (*TLInvokeAfterMsg) Reset

func (m *TLInvokeAfterMsg) Reset()

func (*TLInvokeAfterMsg) String

func (m *TLInvokeAfterMsg) String() string

type TLInvokeAfterMsgs

type TLInvokeAfterMsgs struct {
	MsgIds []int64 `protobuf:"varint,1,rep,packed,name=msg_ids,json=msgIds" json:"msg_ids,omitempty"`
	Query  []byte  `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long> query:!X = X;

func NewTLInvokeAfterMsgs

func NewTLInvokeAfterMsgs() *TLInvokeAfterMsgs

func (*TLInvokeAfterMsgs) Decode

func (m *TLInvokeAfterMsgs) Decode(dbuf *DecodeBuf) error

func (*TLInvokeAfterMsgs) Descriptor

func (*TLInvokeAfterMsgs) Descriptor() ([]byte, []int)

func (*TLInvokeAfterMsgs) Encode

func (m *TLInvokeAfterMsgs) Encode() []byte

func (*TLInvokeAfterMsgs) GetMsgIds

func (m *TLInvokeAfterMsgs) GetMsgIds() []int64

func (*TLInvokeAfterMsgs) GetQuery

func (m *TLInvokeAfterMsgs) GetQuery() []byte

func (*TLInvokeAfterMsgs) ProtoMessage

func (*TLInvokeAfterMsgs) ProtoMessage()

func (*TLInvokeAfterMsgs) Reset

func (m *TLInvokeAfterMsgs) Reset()

func (*TLInvokeAfterMsgs) String

func (m *TLInvokeAfterMsgs) String() string

type TLInvokeWithLayer

type TLInvokeWithLayer struct {
	Layer int32  `protobuf:"varint,1,opt,name=layer" json:"layer,omitempty"`
	Query []byte `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// invokeWithLayer#da9b0d0d {X:Type} layer:int query:!X = X;

func NewTLInvokeWithLayer

func NewTLInvokeWithLayer() *TLInvokeWithLayer

func (*TLInvokeWithLayer) Decode

func (m *TLInvokeWithLayer) Decode(dbuf *DecodeBuf) error

func (*TLInvokeWithLayer) Descriptor

func (*TLInvokeWithLayer) Descriptor() ([]byte, []int)

func (*TLInvokeWithLayer) Encode

func (m *TLInvokeWithLayer) Encode() []byte

func (*TLInvokeWithLayer) GetLayer

func (m *TLInvokeWithLayer) GetLayer() int32

func (*TLInvokeWithLayer) GetQuery

func (m *TLInvokeWithLayer) GetQuery() []byte

func (*TLInvokeWithLayer) ProtoMessage

func (*TLInvokeWithLayer) ProtoMessage()

func (*TLInvokeWithLayer) Reset

func (m *TLInvokeWithLayer) Reset()

func (*TLInvokeWithLayer) String

func (m *TLInvokeWithLayer) String() string

type TLInvokeWithoutUpdates

type TLInvokeWithoutUpdates struct {
	Query []byte `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// invokeWithoutUpdates#bf9459b7 {X:Type} query:!X = X;

func NewTLInvokeWithoutUpdates

func NewTLInvokeWithoutUpdates() *TLInvokeWithoutUpdates

func (*TLInvokeWithoutUpdates) Decode

func (m *TLInvokeWithoutUpdates) Decode(dbuf *DecodeBuf) error

func (*TLInvokeWithoutUpdates) Descriptor

func (*TLInvokeWithoutUpdates) Descriptor() ([]byte, []int)

func (*TLInvokeWithoutUpdates) Encode

func (m *TLInvokeWithoutUpdates) Encode() []byte

func (*TLInvokeWithoutUpdates) GetQuery

func (m *TLInvokeWithoutUpdates) GetQuery() []byte

func (*TLInvokeWithoutUpdates) ProtoMessage

func (*TLInvokeWithoutUpdates) ProtoMessage()

func (*TLInvokeWithoutUpdates) Reset

func (m *TLInvokeWithoutUpdates) Reset()

func (*TLInvokeWithoutUpdates) String

func (m *TLInvokeWithoutUpdates) String() string

type TLKeyboardButton

type TLKeyboardButton struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButton#a2fa4880 text:string = KeyboardButton;

func NewTLKeyboardButton

func NewTLKeyboardButton() *TLKeyboardButton

func (*TLKeyboardButton) Decode

func (m *TLKeyboardButton) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButton) Descriptor

func (*TLKeyboardButton) Descriptor() ([]byte, []int)

func (*TLKeyboardButton) Encode

func (m *TLKeyboardButton) Encode() []byte

func (*TLKeyboardButton) GetData2

func (m *TLKeyboardButton) GetData2() *KeyboardButton_Data

func (*TLKeyboardButton) GetText

func (m *TLKeyboardButton) GetText() string

func (*TLKeyboardButton) ProtoMessage

func (*TLKeyboardButton) ProtoMessage()

func (*TLKeyboardButton) Reset

func (m *TLKeyboardButton) Reset()

func (*TLKeyboardButton) SetText

func (m *TLKeyboardButton) SetText(v string)

func (*TLKeyboardButton) String

func (m *TLKeyboardButton) String() string

func (*TLKeyboardButton) To_KeyboardButton

func (m *TLKeyboardButton) To_KeyboardButton() *KeyboardButton

keyboardButton#a2fa4880 text:string = KeyboardButton;

type TLKeyboardButtonBuy

type TLKeyboardButtonBuy struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonBuy#afd93fbb text:string = KeyboardButton;

func NewTLKeyboardButtonBuy

func NewTLKeyboardButtonBuy() *TLKeyboardButtonBuy

func (*TLKeyboardButtonBuy) Decode

func (m *TLKeyboardButtonBuy) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonBuy) Descriptor

func (*TLKeyboardButtonBuy) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonBuy) Encode

func (m *TLKeyboardButtonBuy) Encode() []byte

func (*TLKeyboardButtonBuy) GetData2

func (*TLKeyboardButtonBuy) GetText

func (m *TLKeyboardButtonBuy) GetText() string

func (*TLKeyboardButtonBuy) ProtoMessage

func (*TLKeyboardButtonBuy) ProtoMessage()

func (*TLKeyboardButtonBuy) Reset

func (m *TLKeyboardButtonBuy) Reset()

func (*TLKeyboardButtonBuy) SetText

func (m *TLKeyboardButtonBuy) SetText(v string)

func (*TLKeyboardButtonBuy) String

func (m *TLKeyboardButtonBuy) String() string

func (*TLKeyboardButtonBuy) To_KeyboardButton

func (m *TLKeyboardButtonBuy) To_KeyboardButton() *KeyboardButton

keyboardButtonBuy#afd93fbb text:string = KeyboardButton;

type TLKeyboardButtonCallback

type TLKeyboardButtonCallback struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton;

func NewTLKeyboardButtonCallback

func NewTLKeyboardButtonCallback() *TLKeyboardButtonCallback

func (*TLKeyboardButtonCallback) Decode

func (m *TLKeyboardButtonCallback) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonCallback) Descriptor

func (*TLKeyboardButtonCallback) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonCallback) Encode

func (m *TLKeyboardButtonCallback) Encode() []byte

func (*TLKeyboardButtonCallback) GetData

func (m *TLKeyboardButtonCallback) GetData() []byte

func (*TLKeyboardButtonCallback) GetData2

func (*TLKeyboardButtonCallback) GetText

func (m *TLKeyboardButtonCallback) GetText() string

func (*TLKeyboardButtonCallback) ProtoMessage

func (*TLKeyboardButtonCallback) ProtoMessage()

func (*TLKeyboardButtonCallback) Reset

func (m *TLKeyboardButtonCallback) Reset()

func (*TLKeyboardButtonCallback) SetData

func (m *TLKeyboardButtonCallback) SetData(v []byte)

func (*TLKeyboardButtonCallback) SetText

func (m *TLKeyboardButtonCallback) SetText(v string)

func (*TLKeyboardButtonCallback) String

func (m *TLKeyboardButtonCallback) String() string

func (*TLKeyboardButtonCallback) To_KeyboardButton

func (m *TLKeyboardButtonCallback) To_KeyboardButton() *KeyboardButton

keyboardButtonCallback#683a5e46 text:string data:bytes = KeyboardButton;

type TLKeyboardButtonGame

type TLKeyboardButtonGame struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonGame#50f41ccf text:string = KeyboardButton;

func NewTLKeyboardButtonGame

func NewTLKeyboardButtonGame() *TLKeyboardButtonGame

func (*TLKeyboardButtonGame) Decode

func (m *TLKeyboardButtonGame) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonGame) Descriptor

func (*TLKeyboardButtonGame) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonGame) Encode

func (m *TLKeyboardButtonGame) Encode() []byte

func (*TLKeyboardButtonGame) GetData2

func (*TLKeyboardButtonGame) GetText

func (m *TLKeyboardButtonGame) GetText() string

func (*TLKeyboardButtonGame) ProtoMessage

func (*TLKeyboardButtonGame) ProtoMessage()

func (*TLKeyboardButtonGame) Reset

func (m *TLKeyboardButtonGame) Reset()

func (*TLKeyboardButtonGame) SetText

func (m *TLKeyboardButtonGame) SetText(v string)

func (*TLKeyboardButtonGame) String

func (m *TLKeyboardButtonGame) String() string

func (*TLKeyboardButtonGame) To_KeyboardButton

func (m *TLKeyboardButtonGame) To_KeyboardButton() *KeyboardButton

keyboardButtonGame#50f41ccf text:string = KeyboardButton;

type TLKeyboardButtonRequestGeoLocation

type TLKeyboardButtonRequestGeoLocation struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;

func NewTLKeyboardButtonRequestGeoLocation

func NewTLKeyboardButtonRequestGeoLocation() *TLKeyboardButtonRequestGeoLocation

func (*TLKeyboardButtonRequestGeoLocation) Decode

func (*TLKeyboardButtonRequestGeoLocation) Descriptor

func (*TLKeyboardButtonRequestGeoLocation) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonRequestGeoLocation) Encode

func (*TLKeyboardButtonRequestGeoLocation) GetData2

func (*TLKeyboardButtonRequestGeoLocation) GetText

func (*TLKeyboardButtonRequestGeoLocation) ProtoMessage

func (*TLKeyboardButtonRequestGeoLocation) ProtoMessage()

func (*TLKeyboardButtonRequestGeoLocation) Reset

func (*TLKeyboardButtonRequestGeoLocation) SetText

func (*TLKeyboardButtonRequestGeoLocation) String

func (*TLKeyboardButtonRequestGeoLocation) To_KeyboardButton

func (m *TLKeyboardButtonRequestGeoLocation) To_KeyboardButton() *KeyboardButton

keyboardButtonRequestGeoLocation#fc796b3f text:string = KeyboardButton;

type TLKeyboardButtonRequestPhone

type TLKeyboardButtonRequestPhone struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;

func NewTLKeyboardButtonRequestPhone

func NewTLKeyboardButtonRequestPhone() *TLKeyboardButtonRequestPhone

func (*TLKeyboardButtonRequestPhone) Decode

func (m *TLKeyboardButtonRequestPhone) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonRequestPhone) Descriptor

func (*TLKeyboardButtonRequestPhone) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonRequestPhone) Encode

func (m *TLKeyboardButtonRequestPhone) Encode() []byte

func (*TLKeyboardButtonRequestPhone) GetData2

func (*TLKeyboardButtonRequestPhone) GetText

func (m *TLKeyboardButtonRequestPhone) GetText() string

func (*TLKeyboardButtonRequestPhone) ProtoMessage

func (*TLKeyboardButtonRequestPhone) ProtoMessage()

func (*TLKeyboardButtonRequestPhone) Reset

func (m *TLKeyboardButtonRequestPhone) Reset()

func (*TLKeyboardButtonRequestPhone) SetText

func (m *TLKeyboardButtonRequestPhone) SetText(v string)

func (*TLKeyboardButtonRequestPhone) String

func (*TLKeyboardButtonRequestPhone) To_KeyboardButton

func (m *TLKeyboardButtonRequestPhone) To_KeyboardButton() *KeyboardButton

keyboardButtonRequestPhone#b16a6c29 text:string = KeyboardButton;

type TLKeyboardButtonRow

type TLKeyboardButtonRow struct {
	Data2 *KeyboardButtonRow_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;

func NewTLKeyboardButtonRow

func NewTLKeyboardButtonRow() *TLKeyboardButtonRow

func (*TLKeyboardButtonRow) Decode

func (m *TLKeyboardButtonRow) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonRow) Descriptor

func (*TLKeyboardButtonRow) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonRow) Encode

func (m *TLKeyboardButtonRow) Encode() []byte

func (*TLKeyboardButtonRow) GetButtons

func (m *TLKeyboardButtonRow) GetButtons() []*KeyboardButton

func (*TLKeyboardButtonRow) GetData2

func (*TLKeyboardButtonRow) ProtoMessage

func (*TLKeyboardButtonRow) ProtoMessage()

func (*TLKeyboardButtonRow) Reset

func (m *TLKeyboardButtonRow) Reset()

func (*TLKeyboardButtonRow) SetButtons

func (m *TLKeyboardButtonRow) SetButtons(v []*KeyboardButton)

func (*TLKeyboardButtonRow) String

func (m *TLKeyboardButtonRow) String() string

func (*TLKeyboardButtonRow) To_KeyboardButtonRow

func (m *TLKeyboardButtonRow) To_KeyboardButtonRow() *KeyboardButtonRow

keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;

type TLKeyboardButtonSwitchInline

type TLKeyboardButtonSwitchInline struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;

func NewTLKeyboardButtonSwitchInline

func NewTLKeyboardButtonSwitchInline() *TLKeyboardButtonSwitchInline

func (*TLKeyboardButtonSwitchInline) Decode

func (m *TLKeyboardButtonSwitchInline) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonSwitchInline) Descriptor

func (*TLKeyboardButtonSwitchInline) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonSwitchInline) Encode

func (m *TLKeyboardButtonSwitchInline) Encode() []byte

func (*TLKeyboardButtonSwitchInline) GetData2

func (*TLKeyboardButtonSwitchInline) GetQuery

func (m *TLKeyboardButtonSwitchInline) GetQuery() string

func (*TLKeyboardButtonSwitchInline) GetSamePeer

func (m *TLKeyboardButtonSwitchInline) GetSamePeer() bool

func (*TLKeyboardButtonSwitchInline) GetText

func (m *TLKeyboardButtonSwitchInline) GetText() string

func (*TLKeyboardButtonSwitchInline) ProtoMessage

func (*TLKeyboardButtonSwitchInline) ProtoMessage()

func (*TLKeyboardButtonSwitchInline) Reset

func (m *TLKeyboardButtonSwitchInline) Reset()

func (*TLKeyboardButtonSwitchInline) SetQuery

func (m *TLKeyboardButtonSwitchInline) SetQuery(v string)

func (*TLKeyboardButtonSwitchInline) SetSamePeer

func (m *TLKeyboardButtonSwitchInline) SetSamePeer(v bool)

func (*TLKeyboardButtonSwitchInline) SetText

func (m *TLKeyboardButtonSwitchInline) SetText(v string)

func (*TLKeyboardButtonSwitchInline) String

func (*TLKeyboardButtonSwitchInline) To_KeyboardButton

func (m *TLKeyboardButtonSwitchInline) To_KeyboardButton() *KeyboardButton

keyboardButtonSwitchInline#568a748 flags:# same_peer:flags.0?true text:string query:string = KeyboardButton;

type TLKeyboardButtonUrl

type TLKeyboardButtonUrl struct {
	Data2 *KeyboardButton_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;

func NewTLKeyboardButtonUrl

func NewTLKeyboardButtonUrl() *TLKeyboardButtonUrl

func (*TLKeyboardButtonUrl) Decode

func (m *TLKeyboardButtonUrl) Decode(dbuf *DecodeBuf) error

func (*TLKeyboardButtonUrl) Descriptor

func (*TLKeyboardButtonUrl) Descriptor() ([]byte, []int)

func (*TLKeyboardButtonUrl) Encode

func (m *TLKeyboardButtonUrl) Encode() []byte

func (*TLKeyboardButtonUrl) GetData2

func (*TLKeyboardButtonUrl) GetText

func (m *TLKeyboardButtonUrl) GetText() string

func (*TLKeyboardButtonUrl) GetUrl

func (m *TLKeyboardButtonUrl) GetUrl() string

func (*TLKeyboardButtonUrl) ProtoMessage

func (*TLKeyboardButtonUrl) ProtoMessage()

func (*TLKeyboardButtonUrl) Reset

func (m *TLKeyboardButtonUrl) Reset()

func (*TLKeyboardButtonUrl) SetText

func (m *TLKeyboardButtonUrl) SetText(v string)

func (*TLKeyboardButtonUrl) SetUrl

func (m *TLKeyboardButtonUrl) SetUrl(v string)

func (*TLKeyboardButtonUrl) String

func (m *TLKeyboardButtonUrl) String() string

func (*TLKeyboardButtonUrl) To_KeyboardButton

func (m *TLKeyboardButtonUrl) To_KeyboardButton() *KeyboardButton

keyboardButtonUrl#258aff05 text:string url:string = KeyboardButton;

type TLLabeledPrice

type TLLabeledPrice struct {
	Data2 *LabeledPrice_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;

func NewTLLabeledPrice

func NewTLLabeledPrice() *TLLabeledPrice

func (*TLLabeledPrice) Decode

func (m *TLLabeledPrice) Decode(dbuf *DecodeBuf) error

func (*TLLabeledPrice) Descriptor

func (*TLLabeledPrice) Descriptor() ([]byte, []int)

func (*TLLabeledPrice) Encode

func (m *TLLabeledPrice) Encode() []byte

func (*TLLabeledPrice) GetAmount

func (m *TLLabeledPrice) GetAmount() int64

func (*TLLabeledPrice) GetData2

func (m *TLLabeledPrice) GetData2() *LabeledPrice_Data

func (*TLLabeledPrice) GetLabel

func (m *TLLabeledPrice) GetLabel() string

func (*TLLabeledPrice) ProtoMessage

func (*TLLabeledPrice) ProtoMessage()

func (*TLLabeledPrice) Reset

func (m *TLLabeledPrice) Reset()

func (*TLLabeledPrice) SetAmount

func (m *TLLabeledPrice) SetAmount(v int64)

func (*TLLabeledPrice) SetLabel

func (m *TLLabeledPrice) SetLabel(v string)

func (*TLLabeledPrice) String

func (m *TLLabeledPrice) String() string

func (*TLLabeledPrice) To_LabeledPrice

func (m *TLLabeledPrice) To_LabeledPrice() *LabeledPrice

labeledPrice#cb296bf8 label:string amount:long = LabeledPrice;

type TLLangPackDifference

type TLLangPackDifference struct {
	Data2 *LangPackDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;

func NewTLLangPackDifference

func NewTLLangPackDifference() *TLLangPackDifference

func (*TLLangPackDifference) Decode

func (m *TLLangPackDifference) Decode(dbuf *DecodeBuf) error

func (*TLLangPackDifference) Descriptor

func (*TLLangPackDifference) Descriptor() ([]byte, []int)

func (*TLLangPackDifference) Encode

func (m *TLLangPackDifference) Encode() []byte

func (*TLLangPackDifference) GetData2

func (*TLLangPackDifference) GetFromVersion

func (m *TLLangPackDifference) GetFromVersion() int32

func (*TLLangPackDifference) GetLangCode

func (m *TLLangPackDifference) GetLangCode() string

func (*TLLangPackDifference) GetStrings

func (m *TLLangPackDifference) GetStrings() []*LangPackString

func (*TLLangPackDifference) GetVersion

func (m *TLLangPackDifference) GetVersion() int32

func (*TLLangPackDifference) ProtoMessage

func (*TLLangPackDifference) ProtoMessage()

func (*TLLangPackDifference) Reset

func (m *TLLangPackDifference) Reset()

func (*TLLangPackDifference) SetFromVersion

func (m *TLLangPackDifference) SetFromVersion(v int32)

func (*TLLangPackDifference) SetLangCode

func (m *TLLangPackDifference) SetLangCode(v string)

func (*TLLangPackDifference) SetStrings

func (m *TLLangPackDifference) SetStrings(v []*LangPackString)

func (*TLLangPackDifference) SetVersion

func (m *TLLangPackDifference) SetVersion(v int32)

func (*TLLangPackDifference) String

func (m *TLLangPackDifference) String() string

func (*TLLangPackDifference) To_LangPackDifference

func (m *TLLangPackDifference) To_LangPackDifference() *LangPackDifference

langPackDifference#f385c1f6 lang_code:string from_version:int version:int strings:Vector<LangPackString> = LangPackDifference;

type TLLangPackLanguage

type TLLangPackLanguage struct {
	Data2 *LangPackLanguage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage;

func NewTLLangPackLanguage

func NewTLLangPackLanguage() *TLLangPackLanguage

func (*TLLangPackLanguage) Decode

func (m *TLLangPackLanguage) Decode(dbuf *DecodeBuf) error

func (*TLLangPackLanguage) Descriptor

func (*TLLangPackLanguage) Descriptor() ([]byte, []int)

func (*TLLangPackLanguage) Encode

func (m *TLLangPackLanguage) Encode() []byte

func (*TLLangPackLanguage) GetData2

func (*TLLangPackLanguage) GetLangCode

func (m *TLLangPackLanguage) GetLangCode() string

func (*TLLangPackLanguage) GetName

func (m *TLLangPackLanguage) GetName() string

func (*TLLangPackLanguage) GetNativeName

func (m *TLLangPackLanguage) GetNativeName() string

func (*TLLangPackLanguage) ProtoMessage

func (*TLLangPackLanguage) ProtoMessage()

func (*TLLangPackLanguage) Reset

func (m *TLLangPackLanguage) Reset()

func (*TLLangPackLanguage) SetLangCode

func (m *TLLangPackLanguage) SetLangCode(v string)

func (*TLLangPackLanguage) SetName

func (m *TLLangPackLanguage) SetName(v string)

func (*TLLangPackLanguage) SetNativeName

func (m *TLLangPackLanguage) SetNativeName(v string)

func (*TLLangPackLanguage) String

func (m *TLLangPackLanguage) String() string

func (*TLLangPackLanguage) To_LangPackLanguage

func (m *TLLangPackLanguage) To_LangPackLanguage() *LangPackLanguage

langPackLanguage#117698f1 name:string native_name:string lang_code:string = LangPackLanguage;

type TLLangPackString

type TLLangPackString struct {
	Data2 *LangPackString_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

langPackString#cad181f6 key:string value:string = LangPackString;

func NewTLLangPackString

func NewTLLangPackString() *TLLangPackString

func (*TLLangPackString) Decode

func (m *TLLangPackString) Decode(dbuf *DecodeBuf) error

func (*TLLangPackString) Descriptor

func (*TLLangPackString) Descriptor() ([]byte, []int)

func (*TLLangPackString) Encode

func (m *TLLangPackString) Encode() []byte

func (*TLLangPackString) GetData2

func (m *TLLangPackString) GetData2() *LangPackString_Data

func (*TLLangPackString) GetKey

func (m *TLLangPackString) GetKey() string

func (*TLLangPackString) GetValue

func (m *TLLangPackString) GetValue() string

func (*TLLangPackString) ProtoMessage

func (*TLLangPackString) ProtoMessage()

func (*TLLangPackString) Reset

func (m *TLLangPackString) Reset()

func (*TLLangPackString) SetKey

func (m *TLLangPackString) SetKey(v string)

func (*TLLangPackString) SetValue

func (m *TLLangPackString) SetValue(v string)

func (*TLLangPackString) String

func (m *TLLangPackString) String() string

func (*TLLangPackString) To_LangPackString

func (m *TLLangPackString) To_LangPackString() *LangPackString

langPackString#cad181f6 key:string value:string = LangPackString;

type TLLangPackStringDeleted

type TLLangPackStringDeleted struct {
	Data2 *LangPackString_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

langPackStringDeleted#2979eeb2 key:string = LangPackString;

func NewTLLangPackStringDeleted

func NewTLLangPackStringDeleted() *TLLangPackStringDeleted

func (*TLLangPackStringDeleted) Decode

func (m *TLLangPackStringDeleted) Decode(dbuf *DecodeBuf) error

func (*TLLangPackStringDeleted) Descriptor

func (*TLLangPackStringDeleted) Descriptor() ([]byte, []int)

func (*TLLangPackStringDeleted) Encode

func (m *TLLangPackStringDeleted) Encode() []byte

func (*TLLangPackStringDeleted) GetData2

func (*TLLangPackStringDeleted) GetKey

func (m *TLLangPackStringDeleted) GetKey() string

func (*TLLangPackStringDeleted) ProtoMessage

func (*TLLangPackStringDeleted) ProtoMessage()

func (*TLLangPackStringDeleted) Reset

func (m *TLLangPackStringDeleted) Reset()

func (*TLLangPackStringDeleted) SetKey

func (m *TLLangPackStringDeleted) SetKey(v string)

func (*TLLangPackStringDeleted) String

func (m *TLLangPackStringDeleted) String() string

func (*TLLangPackStringDeleted) To_LangPackString

func (m *TLLangPackStringDeleted) To_LangPackString() *LangPackString

langPackStringDeleted#2979eeb2 key:string = LangPackString;

type TLLangPackStringPluralized

type TLLangPackStringPluralized struct {
	Data2 *LangPackString_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;

func NewTLLangPackStringPluralized

func NewTLLangPackStringPluralized() *TLLangPackStringPluralized

func (*TLLangPackStringPluralized) Decode

func (m *TLLangPackStringPluralized) Decode(dbuf *DecodeBuf) error

func (*TLLangPackStringPluralized) Descriptor

func (*TLLangPackStringPluralized) Descriptor() ([]byte, []int)

func (*TLLangPackStringPluralized) Encode

func (m *TLLangPackStringPluralized) Encode() []byte

func (*TLLangPackStringPluralized) GetData2

func (*TLLangPackStringPluralized) GetFewValue

func (m *TLLangPackStringPluralized) GetFewValue() string

func (*TLLangPackStringPluralized) GetKey

func (m *TLLangPackStringPluralized) GetKey() string

func (*TLLangPackStringPluralized) GetManyValue

func (m *TLLangPackStringPluralized) GetManyValue() string

func (*TLLangPackStringPluralized) GetOneValue

func (m *TLLangPackStringPluralized) GetOneValue() string

func (*TLLangPackStringPluralized) GetOtherValue

func (m *TLLangPackStringPluralized) GetOtherValue() string

func (*TLLangPackStringPluralized) GetTwoValue

func (m *TLLangPackStringPluralized) GetTwoValue() string

func (*TLLangPackStringPluralized) GetZeroValue

func (m *TLLangPackStringPluralized) GetZeroValue() string

func (*TLLangPackStringPluralized) ProtoMessage

func (*TLLangPackStringPluralized) ProtoMessage()

func (*TLLangPackStringPluralized) Reset

func (m *TLLangPackStringPluralized) Reset()

func (*TLLangPackStringPluralized) SetFewValue

func (m *TLLangPackStringPluralized) SetFewValue(v string)

func (*TLLangPackStringPluralized) SetKey

func (m *TLLangPackStringPluralized) SetKey(v string)

func (*TLLangPackStringPluralized) SetManyValue

func (m *TLLangPackStringPluralized) SetManyValue(v string)

func (*TLLangPackStringPluralized) SetOneValue

func (m *TLLangPackStringPluralized) SetOneValue(v string)

func (*TLLangPackStringPluralized) SetOtherValue

func (m *TLLangPackStringPluralized) SetOtherValue(v string)

func (*TLLangPackStringPluralized) SetTwoValue

func (m *TLLangPackStringPluralized) SetTwoValue(v string)

func (*TLLangPackStringPluralized) SetZeroValue

func (m *TLLangPackStringPluralized) SetZeroValue(v string)

func (*TLLangPackStringPluralized) String

func (m *TLLangPackStringPluralized) String() string

func (*TLLangPackStringPluralized) To_LangPackString

func (m *TLLangPackStringPluralized) To_LangPackString() *LangPackString

langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackString;

type TLLangpackGetDifference

type TLLangpackGetDifference struct {
	FromVersion int32 `protobuf:"varint,1,opt,name=from_version,json=fromVersion" json:"from_version,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// langpack.getDifference#b2e4d7d from_version:int = LangPackDifference;

func NewTLLangpackGetDifference

func NewTLLangpackGetDifference() *TLLangpackGetDifference

func (*TLLangpackGetDifference) Decode

func (m *TLLangpackGetDifference) Decode(dbuf *DecodeBuf) error

func (*TLLangpackGetDifference) Descriptor

func (*TLLangpackGetDifference) Descriptor() ([]byte, []int)

func (*TLLangpackGetDifference) Encode

func (m *TLLangpackGetDifference) Encode() []byte

func (*TLLangpackGetDifference) GetFromVersion

func (m *TLLangpackGetDifference) GetFromVersion() int32

func (*TLLangpackGetDifference) ProtoMessage

func (*TLLangpackGetDifference) ProtoMessage()

func (*TLLangpackGetDifference) Reset

func (m *TLLangpackGetDifference) Reset()

func (*TLLangpackGetDifference) String

func (m *TLLangpackGetDifference) String() string

type TLLangpackGetLangPack

type TLLangpackGetLangPack struct {
	LangCode string `protobuf:"bytes,1,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// langpack.getLangPack#9ab5c58e lang_code:string = LangPackDifference;

func NewTLLangpackGetLangPack

func NewTLLangpackGetLangPack() *TLLangpackGetLangPack

func (*TLLangpackGetLangPack) Decode

func (m *TLLangpackGetLangPack) Decode(dbuf *DecodeBuf) error

func (*TLLangpackGetLangPack) Descriptor

func (*TLLangpackGetLangPack) Descriptor() ([]byte, []int)

func (*TLLangpackGetLangPack) Encode

func (m *TLLangpackGetLangPack) Encode() []byte

func (*TLLangpackGetLangPack) GetLangCode

func (m *TLLangpackGetLangPack) GetLangCode() string

func (*TLLangpackGetLangPack) ProtoMessage

func (*TLLangpackGetLangPack) ProtoMessage()

func (*TLLangpackGetLangPack) Reset

func (m *TLLangpackGetLangPack) Reset()

func (*TLLangpackGetLangPack) String

func (m *TLLangpackGetLangPack) String() string

type TLLangpackGetLanguages

type TLLangpackGetLanguages struct {
}

///////////////////////////////////////////////////////////////////////////// langpack.getLanguages#800fd57d = Vector<LangPackLanguage>;

func NewTLLangpackGetLanguages

func NewTLLangpackGetLanguages() *TLLangpackGetLanguages

func (*TLLangpackGetLanguages) Decode

func (m *TLLangpackGetLanguages) Decode(dbuf *DecodeBuf) error

func (*TLLangpackGetLanguages) Descriptor

func (*TLLangpackGetLanguages) Descriptor() ([]byte, []int)

func (*TLLangpackGetLanguages) Encode

func (m *TLLangpackGetLanguages) Encode() []byte

func (*TLLangpackGetLanguages) ProtoMessage

func (*TLLangpackGetLanguages) ProtoMessage()

func (*TLLangpackGetLanguages) Reset

func (m *TLLangpackGetLanguages) Reset()

func (*TLLangpackGetLanguages) String

func (m *TLLangpackGetLanguages) String() string

type TLLangpackGetStrings

type TLLangpackGetStrings struct {
	LangCode string   `protobuf:"bytes,1,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
	Keys     []string `protobuf:"bytes,2,rep,name=keys" json:"keys,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// langpack.getStrings#2e1ee318 lang_code:string keys:Vector<string> = Vector<LangPackString>;

func NewTLLangpackGetStrings

func NewTLLangpackGetStrings() *TLLangpackGetStrings

func (*TLLangpackGetStrings) Decode

func (m *TLLangpackGetStrings) Decode(dbuf *DecodeBuf) error

func (*TLLangpackGetStrings) Descriptor

func (*TLLangpackGetStrings) Descriptor() ([]byte, []int)

func (*TLLangpackGetStrings) Encode

func (m *TLLangpackGetStrings) Encode() []byte

func (*TLLangpackGetStrings) GetKeys

func (m *TLLangpackGetStrings) GetKeys() []string

func (*TLLangpackGetStrings) GetLangCode

func (m *TLLangpackGetStrings) GetLangCode() string

func (*TLLangpackGetStrings) ProtoMessage

func (*TLLangpackGetStrings) ProtoMessage()

func (*TLLangpackGetStrings) Reset

func (m *TLLangpackGetStrings) Reset()

func (*TLLangpackGetStrings) String

func (m *TLLangpackGetStrings) String() string

type TLMaskCoords

type TLMaskCoords struct {
	Data2 *MaskCoords_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords;

func NewTLMaskCoords

func NewTLMaskCoords() *TLMaskCoords

func (*TLMaskCoords) Decode

func (m *TLMaskCoords) Decode(dbuf *DecodeBuf) error

func (*TLMaskCoords) Descriptor

func (*TLMaskCoords) Descriptor() ([]byte, []int)

func (*TLMaskCoords) Encode

func (m *TLMaskCoords) Encode() []byte

func (*TLMaskCoords) GetData2

func (m *TLMaskCoords) GetData2() *MaskCoords_Data

func (*TLMaskCoords) GetN

func (m *TLMaskCoords) GetN() int32

func (*TLMaskCoords) GetX

func (m *TLMaskCoords) GetX() float64

func (*TLMaskCoords) GetY

func (m *TLMaskCoords) GetY() float64

func (*TLMaskCoords) GetZoom

func (m *TLMaskCoords) GetZoom() float64

func (*TLMaskCoords) ProtoMessage

func (*TLMaskCoords) ProtoMessage()

func (*TLMaskCoords) Reset

func (m *TLMaskCoords) Reset()

func (*TLMaskCoords) SetN

func (m *TLMaskCoords) SetN(v int32)

func (*TLMaskCoords) SetX

func (m *TLMaskCoords) SetX(v float64)

func (*TLMaskCoords) SetY

func (m *TLMaskCoords) SetY(v float64)

func (*TLMaskCoords) SetZoom

func (m *TLMaskCoords) SetZoom(v float64)

func (*TLMaskCoords) String

func (m *TLMaskCoords) String() string

func (*TLMaskCoords) To_MaskCoords

func (m *TLMaskCoords) To_MaskCoords() *MaskCoords

maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords;

type TLMessage

type TLMessage struct {
	Data2 *Message_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message;

func NewTLMessage

func NewTLMessage() *TLMessage

func (*TLMessage) Decode

func (m *TLMessage) Decode(dbuf *DecodeBuf) error

func (*TLMessage) Descriptor

func (*TLMessage) Descriptor() ([]byte, []int)

func (*TLMessage) Encode

func (m *TLMessage) Encode() []byte

func (*TLMessage) GetData2

func (m *TLMessage) GetData2() *Message_Data

func (*TLMessage) GetDate

func (m *TLMessage) GetDate() int32

func (*TLMessage) GetEditDate

func (m *TLMessage) GetEditDate() int32

func (*TLMessage) GetEntities

func (m *TLMessage) GetEntities() []*MessageEntity

func (*TLMessage) GetFromId

func (m *TLMessage) GetFromId() int32

func (*TLMessage) GetFwdFrom

func (m *TLMessage) GetFwdFrom() *MessageFwdHeader

func (*TLMessage) GetGroupedId

func (m *TLMessage) GetGroupedId() int64

func (*TLMessage) GetId

func (m *TLMessage) GetId() int32

func (*TLMessage) GetMedia

func (m *TLMessage) GetMedia() *MessageMedia

func (*TLMessage) GetMediaUnread

func (m *TLMessage) GetMediaUnread() bool

func (*TLMessage) GetMentioned

func (m *TLMessage) GetMentioned() bool

func (*TLMessage) GetMessage

func (m *TLMessage) GetMessage() string

func (*TLMessage) GetOut

func (m *TLMessage) GetOut() bool

func (*TLMessage) GetPost

func (m *TLMessage) GetPost() bool

func (*TLMessage) GetPostAuthor

func (m *TLMessage) GetPostAuthor() string

func (*TLMessage) GetReplyMarkup

func (m *TLMessage) GetReplyMarkup() *ReplyMarkup

func (*TLMessage) GetReplyToMsgId

func (m *TLMessage) GetReplyToMsgId() int32

func (*TLMessage) GetSilent

func (m *TLMessage) GetSilent() bool

func (*TLMessage) GetToId

func (m *TLMessage) GetToId() *Peer

func (*TLMessage) GetViaBotId

func (m *TLMessage) GetViaBotId() int32

func (*TLMessage) GetViews

func (m *TLMessage) GetViews() int32

func (*TLMessage) ProtoMessage

func (*TLMessage) ProtoMessage()

func (*TLMessage) Reset

func (m *TLMessage) Reset()

func (*TLMessage) SetDate

func (m *TLMessage) SetDate(v int32)

func (*TLMessage) SetEditDate

func (m *TLMessage) SetEditDate(v int32)

func (*TLMessage) SetEntities

func (m *TLMessage) SetEntities(v []*MessageEntity)

func (*TLMessage) SetFromId

func (m *TLMessage) SetFromId(v int32)

func (*TLMessage) SetFwdFrom

func (m *TLMessage) SetFwdFrom(v *MessageFwdHeader)

func (*TLMessage) SetGroupedId

func (m *TLMessage) SetGroupedId(v int64)

func (*TLMessage) SetId

func (m *TLMessage) SetId(v int32)

func (*TLMessage) SetMedia

func (m *TLMessage) SetMedia(v *MessageMedia)

func (*TLMessage) SetMediaUnread

func (m *TLMessage) SetMediaUnread(v bool)

func (*TLMessage) SetMentioned

func (m *TLMessage) SetMentioned(v bool)

func (*TLMessage) SetMessage

func (m *TLMessage) SetMessage(v string)

func (*TLMessage) SetOut

func (m *TLMessage) SetOut(v bool)

func (*TLMessage) SetPost

func (m *TLMessage) SetPost(v bool)

func (*TLMessage) SetPostAuthor

func (m *TLMessage) SetPostAuthor(v string)

func (*TLMessage) SetReplyMarkup

func (m *TLMessage) SetReplyMarkup(v *ReplyMarkup)

func (*TLMessage) SetReplyToMsgId

func (m *TLMessage) SetReplyToMsgId(v int32)

func (*TLMessage) SetSilent

func (m *TLMessage) SetSilent(v bool)

func (*TLMessage) SetToId

func (m *TLMessage) SetToId(v *Peer)

func (*TLMessage) SetViaBotId

func (m *TLMessage) SetViaBotId(v int32)

func (*TLMessage) SetViews

func (m *TLMessage) SetViews(v int32)

func (*TLMessage) String

func (m *TLMessage) String() string

func (*TLMessage) To_Message

func (m *TLMessage) To_Message() *Message

message#44f9b43d flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int date:int message:string media:flags.9?MessageMedia reply_markup:flags.6?ReplyMarkup entities:flags.7?Vector<MessageEntity> views:flags.10?int edit_date:flags.15?int post_author:flags.16?string grouped_id:flags.17?long = Message;

type TLMessage2

type TLMessage2 struct {
	MsgId  int64
	Seqno  int32
	Bytes  int32
	Object TLObject
}

///////////////////////////////////////////////////////////////////////////// message2 msg_id:long seqno:int bytes:int body:Object = Message2; // parsed manually

func (*TLMessage2) Decode

func (m *TLMessage2) Decode(dbuf *DecodeBuf) error

func (*TLMessage2) Encode

func (m *TLMessage2) Encode() []byte

func (*TLMessage2) String

func (m *TLMessage2) String() string

type TLMessageActionChannelCreate

type TLMessageActionChannelCreate struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChannelCreate#95d2ac92 title:string = MessageAction;

func NewTLMessageActionChannelCreate

func NewTLMessageActionChannelCreate() *TLMessageActionChannelCreate

func (*TLMessageActionChannelCreate) Decode

func (m *TLMessageActionChannelCreate) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChannelCreate) Descriptor

func (*TLMessageActionChannelCreate) Descriptor() ([]byte, []int)

func (*TLMessageActionChannelCreate) Encode

func (m *TLMessageActionChannelCreate) Encode() []byte

func (*TLMessageActionChannelCreate) GetData2

func (*TLMessageActionChannelCreate) GetTitle

func (m *TLMessageActionChannelCreate) GetTitle() string

func (*TLMessageActionChannelCreate) ProtoMessage

func (*TLMessageActionChannelCreate) ProtoMessage()

func (*TLMessageActionChannelCreate) Reset

func (m *TLMessageActionChannelCreate) Reset()

func (*TLMessageActionChannelCreate) SetTitle

func (m *TLMessageActionChannelCreate) SetTitle(v string)

func (*TLMessageActionChannelCreate) String

func (*TLMessageActionChannelCreate) To_MessageAction

func (m *TLMessageActionChannelCreate) To_MessageAction() *MessageAction

messageActionChannelCreate#95d2ac92 title:string = MessageAction;

type TLMessageActionChannelMigrateFrom

type TLMessageActionChannelMigrateFrom struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;

func NewTLMessageActionChannelMigrateFrom

func NewTLMessageActionChannelMigrateFrom() *TLMessageActionChannelMigrateFrom

func (*TLMessageActionChannelMigrateFrom) Decode

func (*TLMessageActionChannelMigrateFrom) Descriptor

func (*TLMessageActionChannelMigrateFrom) Descriptor() ([]byte, []int)

func (*TLMessageActionChannelMigrateFrom) Encode

func (*TLMessageActionChannelMigrateFrom) GetChatId

func (*TLMessageActionChannelMigrateFrom) GetData2

func (*TLMessageActionChannelMigrateFrom) GetTitle

func (*TLMessageActionChannelMigrateFrom) ProtoMessage

func (*TLMessageActionChannelMigrateFrom) ProtoMessage()

func (*TLMessageActionChannelMigrateFrom) Reset

func (*TLMessageActionChannelMigrateFrom) SetChatId

func (m *TLMessageActionChannelMigrateFrom) SetChatId(v int32)

func (*TLMessageActionChannelMigrateFrom) SetTitle

func (*TLMessageActionChannelMigrateFrom) String

func (*TLMessageActionChannelMigrateFrom) To_MessageAction

func (m *TLMessageActionChannelMigrateFrom) To_MessageAction() *MessageAction

messageActionChannelMigrateFrom#b055eaee title:string chat_id:int = MessageAction;

type TLMessageActionChatAddUser

type TLMessageActionChatAddUser struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;

func NewTLMessageActionChatAddUser

func NewTLMessageActionChatAddUser() *TLMessageActionChatAddUser

func (*TLMessageActionChatAddUser) Decode

func (m *TLMessageActionChatAddUser) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChatAddUser) Descriptor

func (*TLMessageActionChatAddUser) Descriptor() ([]byte, []int)

func (*TLMessageActionChatAddUser) Encode

func (m *TLMessageActionChatAddUser) Encode() []byte

func (*TLMessageActionChatAddUser) GetData2

func (*TLMessageActionChatAddUser) GetUsers

func (m *TLMessageActionChatAddUser) GetUsers() []int32

func (*TLMessageActionChatAddUser) ProtoMessage

func (*TLMessageActionChatAddUser) ProtoMessage()

func (*TLMessageActionChatAddUser) Reset

func (m *TLMessageActionChatAddUser) Reset()

func (*TLMessageActionChatAddUser) SetUsers

func (m *TLMessageActionChatAddUser) SetUsers(v []int32)

func (*TLMessageActionChatAddUser) String

func (m *TLMessageActionChatAddUser) String() string

func (*TLMessageActionChatAddUser) To_MessageAction

func (m *TLMessageActionChatAddUser) To_MessageAction() *MessageAction

messageActionChatAddUser#488a7337 users:Vector<int> = MessageAction;

type TLMessageActionChatCreate

type TLMessageActionChatCreate struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction;

func NewTLMessageActionChatCreate

func NewTLMessageActionChatCreate() *TLMessageActionChatCreate

func (*TLMessageActionChatCreate) Decode

func (m *TLMessageActionChatCreate) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChatCreate) Descriptor

func (*TLMessageActionChatCreate) Descriptor() ([]byte, []int)

func (*TLMessageActionChatCreate) Encode

func (m *TLMessageActionChatCreate) Encode() []byte

func (*TLMessageActionChatCreate) GetData2

func (*TLMessageActionChatCreate) GetTitle

func (m *TLMessageActionChatCreate) GetTitle() string

func (*TLMessageActionChatCreate) GetUsers

func (m *TLMessageActionChatCreate) GetUsers() []int32

func (*TLMessageActionChatCreate) ProtoMessage

func (*TLMessageActionChatCreate) ProtoMessage()

func (*TLMessageActionChatCreate) Reset

func (m *TLMessageActionChatCreate) Reset()

func (*TLMessageActionChatCreate) SetTitle

func (m *TLMessageActionChatCreate) SetTitle(v string)

func (*TLMessageActionChatCreate) SetUsers

func (m *TLMessageActionChatCreate) SetUsers(v []int32)

func (*TLMessageActionChatCreate) String

func (m *TLMessageActionChatCreate) String() string

func (*TLMessageActionChatCreate) To_MessageAction

func (m *TLMessageActionChatCreate) To_MessageAction() *MessageAction

messageActionChatCreate#a6638b9a title:string users:Vector<int> = MessageAction;

type TLMessageActionChatDeletePhoto

type TLMessageActionChatDeletePhoto struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatDeletePhoto#95e3fbef = MessageAction;

func NewTLMessageActionChatDeletePhoto

func NewTLMessageActionChatDeletePhoto() *TLMessageActionChatDeletePhoto

func (*TLMessageActionChatDeletePhoto) Decode

func (*TLMessageActionChatDeletePhoto) Descriptor

func (*TLMessageActionChatDeletePhoto) Descriptor() ([]byte, []int)

func (*TLMessageActionChatDeletePhoto) Encode

func (m *TLMessageActionChatDeletePhoto) Encode() []byte

func (*TLMessageActionChatDeletePhoto) GetData2

func (*TLMessageActionChatDeletePhoto) ProtoMessage

func (*TLMessageActionChatDeletePhoto) ProtoMessage()

func (*TLMessageActionChatDeletePhoto) Reset

func (m *TLMessageActionChatDeletePhoto) Reset()

func (*TLMessageActionChatDeletePhoto) String

func (*TLMessageActionChatDeletePhoto) To_MessageAction

func (m *TLMessageActionChatDeletePhoto) To_MessageAction() *MessageAction

messageActionChatDeletePhoto#95e3fbef = MessageAction;

type TLMessageActionChatDeleteUser

type TLMessageActionChatDeleteUser struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;

func NewTLMessageActionChatDeleteUser

func NewTLMessageActionChatDeleteUser() *TLMessageActionChatDeleteUser

func (*TLMessageActionChatDeleteUser) Decode

func (*TLMessageActionChatDeleteUser) Descriptor

func (*TLMessageActionChatDeleteUser) Descriptor() ([]byte, []int)

func (*TLMessageActionChatDeleteUser) Encode

func (m *TLMessageActionChatDeleteUser) Encode() []byte

func (*TLMessageActionChatDeleteUser) GetData2

func (*TLMessageActionChatDeleteUser) GetUserId

func (m *TLMessageActionChatDeleteUser) GetUserId() int32

func (*TLMessageActionChatDeleteUser) ProtoMessage

func (*TLMessageActionChatDeleteUser) ProtoMessage()

func (*TLMessageActionChatDeleteUser) Reset

func (m *TLMessageActionChatDeleteUser) Reset()

func (*TLMessageActionChatDeleteUser) SetUserId

func (m *TLMessageActionChatDeleteUser) SetUserId(v int32)

func (*TLMessageActionChatDeleteUser) String

func (*TLMessageActionChatDeleteUser) To_MessageAction

func (m *TLMessageActionChatDeleteUser) To_MessageAction() *MessageAction

messageActionChatDeleteUser#b2ae9b0c user_id:int = MessageAction;

type TLMessageActionChatEditPhoto

type TLMessageActionChatEditPhoto struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;

func NewTLMessageActionChatEditPhoto

func NewTLMessageActionChatEditPhoto() *TLMessageActionChatEditPhoto

func (*TLMessageActionChatEditPhoto) Decode

func (m *TLMessageActionChatEditPhoto) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChatEditPhoto) Descriptor

func (*TLMessageActionChatEditPhoto) Descriptor() ([]byte, []int)

func (*TLMessageActionChatEditPhoto) Encode

func (m *TLMessageActionChatEditPhoto) Encode() []byte

func (*TLMessageActionChatEditPhoto) GetData2

func (*TLMessageActionChatEditPhoto) GetPhoto

func (m *TLMessageActionChatEditPhoto) GetPhoto() *Photo

func (*TLMessageActionChatEditPhoto) ProtoMessage

func (*TLMessageActionChatEditPhoto) ProtoMessage()

func (*TLMessageActionChatEditPhoto) Reset

func (m *TLMessageActionChatEditPhoto) Reset()

func (*TLMessageActionChatEditPhoto) SetPhoto

func (m *TLMessageActionChatEditPhoto) SetPhoto(v *Photo)

func (*TLMessageActionChatEditPhoto) String

func (*TLMessageActionChatEditPhoto) To_MessageAction

func (m *TLMessageActionChatEditPhoto) To_MessageAction() *MessageAction

messageActionChatEditPhoto#7fcb13a8 photo:Photo = MessageAction;

type TLMessageActionChatEditTitle

type TLMessageActionChatEditTitle struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatEditTitle#b5a1ce5a title:string = MessageAction;

func NewTLMessageActionChatEditTitle

func NewTLMessageActionChatEditTitle() *TLMessageActionChatEditTitle

func (*TLMessageActionChatEditTitle) Decode

func (m *TLMessageActionChatEditTitle) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChatEditTitle) Descriptor

func (*TLMessageActionChatEditTitle) Descriptor() ([]byte, []int)

func (*TLMessageActionChatEditTitle) Encode

func (m *TLMessageActionChatEditTitle) Encode() []byte

func (*TLMessageActionChatEditTitle) GetData2

func (*TLMessageActionChatEditTitle) GetTitle

func (m *TLMessageActionChatEditTitle) GetTitle() string

func (*TLMessageActionChatEditTitle) ProtoMessage

func (*TLMessageActionChatEditTitle) ProtoMessage()

func (*TLMessageActionChatEditTitle) Reset

func (m *TLMessageActionChatEditTitle) Reset()

func (*TLMessageActionChatEditTitle) SetTitle

func (m *TLMessageActionChatEditTitle) SetTitle(v string)

func (*TLMessageActionChatEditTitle) String

func (*TLMessageActionChatEditTitle) To_MessageAction

func (m *TLMessageActionChatEditTitle) To_MessageAction() *MessageAction

messageActionChatEditTitle#b5a1ce5a title:string = MessageAction;

type TLMessageActionChatJoinedByLink struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction;

func NewTLMessageActionChatJoinedByLink() *TLMessageActionChatJoinedByLink

func (*TLMessageActionChatJoinedByLink) Decode

func (*TLMessageActionChatJoinedByLink) Descriptor

func (*TLMessageActionChatJoinedByLink) Descriptor() ([]byte, []int)

func (*TLMessageActionChatJoinedByLink) Encode

func (m *TLMessageActionChatJoinedByLink) Encode() []byte

func (*TLMessageActionChatJoinedByLink) GetData2

func (*TLMessageActionChatJoinedByLink) GetInviterId

func (m *TLMessageActionChatJoinedByLink) GetInviterId() int32

func (*TLMessageActionChatJoinedByLink) ProtoMessage

func (*TLMessageActionChatJoinedByLink) ProtoMessage()

func (*TLMessageActionChatJoinedByLink) Reset

func (*TLMessageActionChatJoinedByLink) SetInviterId

func (m *TLMessageActionChatJoinedByLink) SetInviterId(v int32)

func (*TLMessageActionChatJoinedByLink) String

func (*TLMessageActionChatJoinedByLink) To_MessageAction

func (m *TLMessageActionChatJoinedByLink) To_MessageAction() *MessageAction

messageActionChatJoinedByLink#f89cf5e8 inviter_id:int = MessageAction;

type TLMessageActionChatMigrateTo

type TLMessageActionChatMigrateTo struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;

func NewTLMessageActionChatMigrateTo

func NewTLMessageActionChatMigrateTo() *TLMessageActionChatMigrateTo

func (*TLMessageActionChatMigrateTo) Decode

func (m *TLMessageActionChatMigrateTo) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionChatMigrateTo) Descriptor

func (*TLMessageActionChatMigrateTo) Descriptor() ([]byte, []int)

func (*TLMessageActionChatMigrateTo) Encode

func (m *TLMessageActionChatMigrateTo) Encode() []byte

func (*TLMessageActionChatMigrateTo) GetChannelId

func (m *TLMessageActionChatMigrateTo) GetChannelId() int32

func (*TLMessageActionChatMigrateTo) GetData2

func (*TLMessageActionChatMigrateTo) ProtoMessage

func (*TLMessageActionChatMigrateTo) ProtoMessage()

func (*TLMessageActionChatMigrateTo) Reset

func (m *TLMessageActionChatMigrateTo) Reset()

func (*TLMessageActionChatMigrateTo) SetChannelId

func (m *TLMessageActionChatMigrateTo) SetChannelId(v int32)

func (*TLMessageActionChatMigrateTo) String

func (*TLMessageActionChatMigrateTo) To_MessageAction

func (m *TLMessageActionChatMigrateTo) To_MessageAction() *MessageAction

messageActionChatMigrateTo#51bdb021 channel_id:int = MessageAction;

type TLMessageActionCustomAction

type TLMessageActionCustomAction struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionCustomAction#fae69f56 message:string = MessageAction;

func NewTLMessageActionCustomAction

func NewTLMessageActionCustomAction() *TLMessageActionCustomAction

func (*TLMessageActionCustomAction) Decode

func (m *TLMessageActionCustomAction) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionCustomAction) Descriptor

func (*TLMessageActionCustomAction) Descriptor() ([]byte, []int)

func (*TLMessageActionCustomAction) Encode

func (m *TLMessageActionCustomAction) Encode() []byte

func (*TLMessageActionCustomAction) GetData2

func (*TLMessageActionCustomAction) GetMessage

func (m *TLMessageActionCustomAction) GetMessage() string

func (*TLMessageActionCustomAction) ProtoMessage

func (*TLMessageActionCustomAction) ProtoMessage()

func (*TLMessageActionCustomAction) Reset

func (m *TLMessageActionCustomAction) Reset()

func (*TLMessageActionCustomAction) SetMessage

func (m *TLMessageActionCustomAction) SetMessage(v string)

func (*TLMessageActionCustomAction) String

func (m *TLMessageActionCustomAction) String() string

func (*TLMessageActionCustomAction) To_MessageAction

func (m *TLMessageActionCustomAction) To_MessageAction() *MessageAction

messageActionCustomAction#fae69f56 message:string = MessageAction;

type TLMessageActionEmpty

type TLMessageActionEmpty struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionEmpty#b6aef7b0 = MessageAction;

func NewTLMessageActionEmpty

func NewTLMessageActionEmpty() *TLMessageActionEmpty

func (*TLMessageActionEmpty) Decode

func (m *TLMessageActionEmpty) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionEmpty) Descriptor

func (*TLMessageActionEmpty) Descriptor() ([]byte, []int)

func (*TLMessageActionEmpty) Encode

func (m *TLMessageActionEmpty) Encode() []byte

func (*TLMessageActionEmpty) GetData2

func (*TLMessageActionEmpty) ProtoMessage

func (*TLMessageActionEmpty) ProtoMessage()

func (*TLMessageActionEmpty) Reset

func (m *TLMessageActionEmpty) Reset()

func (*TLMessageActionEmpty) String

func (m *TLMessageActionEmpty) String() string

func (*TLMessageActionEmpty) To_MessageAction

func (m *TLMessageActionEmpty) To_MessageAction() *MessageAction

messageActionEmpty#b6aef7b0 = MessageAction;

type TLMessageActionGameScore

type TLMessageActionGameScore struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionGameScore#92a72876 game_id:long score:int = MessageAction;

func NewTLMessageActionGameScore

func NewTLMessageActionGameScore() *TLMessageActionGameScore

func (*TLMessageActionGameScore) Decode

func (m *TLMessageActionGameScore) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionGameScore) Descriptor

func (*TLMessageActionGameScore) Descriptor() ([]byte, []int)

func (*TLMessageActionGameScore) Encode

func (m *TLMessageActionGameScore) Encode() []byte

func (*TLMessageActionGameScore) GetData2

func (*TLMessageActionGameScore) GetGameId

func (m *TLMessageActionGameScore) GetGameId() int64

func (*TLMessageActionGameScore) GetScore

func (m *TLMessageActionGameScore) GetScore() int32

func (*TLMessageActionGameScore) ProtoMessage

func (*TLMessageActionGameScore) ProtoMessage()

func (*TLMessageActionGameScore) Reset

func (m *TLMessageActionGameScore) Reset()

func (*TLMessageActionGameScore) SetGameId

func (m *TLMessageActionGameScore) SetGameId(v int64)

func (*TLMessageActionGameScore) SetScore

func (m *TLMessageActionGameScore) SetScore(v int32)

func (*TLMessageActionGameScore) String

func (m *TLMessageActionGameScore) String() string

func (*TLMessageActionGameScore) To_MessageAction

func (m *TLMessageActionGameScore) To_MessageAction() *MessageAction

messageActionGameScore#92a72876 game_id:long score:int = MessageAction;

type TLMessageActionHistoryClear

type TLMessageActionHistoryClear struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionHistoryClear#9fbab604 = MessageAction;

func NewTLMessageActionHistoryClear

func NewTLMessageActionHistoryClear() *TLMessageActionHistoryClear

func (*TLMessageActionHistoryClear) Decode

func (m *TLMessageActionHistoryClear) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionHistoryClear) Descriptor

func (*TLMessageActionHistoryClear) Descriptor() ([]byte, []int)

func (*TLMessageActionHistoryClear) Encode

func (m *TLMessageActionHistoryClear) Encode() []byte

func (*TLMessageActionHistoryClear) GetData2

func (*TLMessageActionHistoryClear) ProtoMessage

func (*TLMessageActionHistoryClear) ProtoMessage()

func (*TLMessageActionHistoryClear) Reset

func (m *TLMessageActionHistoryClear) Reset()

func (*TLMessageActionHistoryClear) String

func (m *TLMessageActionHistoryClear) String() string

func (*TLMessageActionHistoryClear) To_MessageAction

func (m *TLMessageActionHistoryClear) To_MessageAction() *MessageAction

messageActionHistoryClear#9fbab604 = MessageAction;

type TLMessageActionPaymentSent

type TLMessageActionPaymentSent struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction;

func NewTLMessageActionPaymentSent

func NewTLMessageActionPaymentSent() *TLMessageActionPaymentSent

func (*TLMessageActionPaymentSent) Decode

func (m *TLMessageActionPaymentSent) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionPaymentSent) Descriptor

func (*TLMessageActionPaymentSent) Descriptor() ([]byte, []int)

func (*TLMessageActionPaymentSent) Encode

func (m *TLMessageActionPaymentSent) Encode() []byte

func (*TLMessageActionPaymentSent) GetCurrency

func (m *TLMessageActionPaymentSent) GetCurrency() string

func (*TLMessageActionPaymentSent) GetData2

func (*TLMessageActionPaymentSent) GetTotalAmount

func (m *TLMessageActionPaymentSent) GetTotalAmount() int64

func (*TLMessageActionPaymentSent) ProtoMessage

func (*TLMessageActionPaymentSent) ProtoMessage()

func (*TLMessageActionPaymentSent) Reset

func (m *TLMessageActionPaymentSent) Reset()

func (*TLMessageActionPaymentSent) SetCurrency

func (m *TLMessageActionPaymentSent) SetCurrency(v string)

func (*TLMessageActionPaymentSent) SetTotalAmount

func (m *TLMessageActionPaymentSent) SetTotalAmount(v int64)

func (*TLMessageActionPaymentSent) String

func (m *TLMessageActionPaymentSent) String() string

func (*TLMessageActionPaymentSent) To_MessageAction

func (m *TLMessageActionPaymentSent) To_MessageAction() *MessageAction

messageActionPaymentSent#40699cd0 currency:string total_amount:long = MessageAction;

type TLMessageActionPaymentSentMe

type TLMessageActionPaymentSentMe struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction;

func NewTLMessageActionPaymentSentMe

func NewTLMessageActionPaymentSentMe() *TLMessageActionPaymentSentMe

func (*TLMessageActionPaymentSentMe) Decode

func (m *TLMessageActionPaymentSentMe) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionPaymentSentMe) Descriptor

func (*TLMessageActionPaymentSentMe) Descriptor() ([]byte, []int)

func (*TLMessageActionPaymentSentMe) Encode

func (m *TLMessageActionPaymentSentMe) Encode() []byte

func (*TLMessageActionPaymentSentMe) GetCharge

func (*TLMessageActionPaymentSentMe) GetCurrency

func (m *TLMessageActionPaymentSentMe) GetCurrency() string

func (*TLMessageActionPaymentSentMe) GetData2

func (*TLMessageActionPaymentSentMe) GetInfo

func (*TLMessageActionPaymentSentMe) GetPayload

func (m *TLMessageActionPaymentSentMe) GetPayload() []byte

func (*TLMessageActionPaymentSentMe) GetShippingOptionId

func (m *TLMessageActionPaymentSentMe) GetShippingOptionId() string

func (*TLMessageActionPaymentSentMe) GetTotalAmount

func (m *TLMessageActionPaymentSentMe) GetTotalAmount() int64

func (*TLMessageActionPaymentSentMe) ProtoMessage

func (*TLMessageActionPaymentSentMe) ProtoMessage()

func (*TLMessageActionPaymentSentMe) Reset

func (m *TLMessageActionPaymentSentMe) Reset()

func (*TLMessageActionPaymentSentMe) SetCharge

func (*TLMessageActionPaymentSentMe) SetCurrency

func (m *TLMessageActionPaymentSentMe) SetCurrency(v string)

func (*TLMessageActionPaymentSentMe) SetInfo

func (*TLMessageActionPaymentSentMe) SetPayload

func (m *TLMessageActionPaymentSentMe) SetPayload(v []byte)

func (*TLMessageActionPaymentSentMe) SetShippingOptionId

func (m *TLMessageActionPaymentSentMe) SetShippingOptionId(v string)

func (*TLMessageActionPaymentSentMe) SetTotalAmount

func (m *TLMessageActionPaymentSentMe) SetTotalAmount(v int64)

func (*TLMessageActionPaymentSentMe) String

func (*TLMessageActionPaymentSentMe) To_MessageAction

func (m *TLMessageActionPaymentSentMe) To_MessageAction() *MessageAction

messageActionPaymentSentMe#8f31b327 flags:# currency:string total_amount:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string charge:PaymentCharge = MessageAction;

type TLMessageActionPhoneCall

type TLMessageActionPhoneCall struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;

func NewTLMessageActionPhoneCall

func NewTLMessageActionPhoneCall() *TLMessageActionPhoneCall

func (*TLMessageActionPhoneCall) Decode

func (m *TLMessageActionPhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionPhoneCall) Descriptor

func (*TLMessageActionPhoneCall) Descriptor() ([]byte, []int)

func (*TLMessageActionPhoneCall) Encode

func (m *TLMessageActionPhoneCall) Encode() []byte

func (*TLMessageActionPhoneCall) GetCallId

func (m *TLMessageActionPhoneCall) GetCallId() int64

func (*TLMessageActionPhoneCall) GetData2

func (*TLMessageActionPhoneCall) GetDuration

func (m *TLMessageActionPhoneCall) GetDuration() int32

func (*TLMessageActionPhoneCall) GetReason

func (*TLMessageActionPhoneCall) ProtoMessage

func (*TLMessageActionPhoneCall) ProtoMessage()

func (*TLMessageActionPhoneCall) Reset

func (m *TLMessageActionPhoneCall) Reset()

func (*TLMessageActionPhoneCall) SetCallId

func (m *TLMessageActionPhoneCall) SetCallId(v int64)

func (*TLMessageActionPhoneCall) SetDuration

func (m *TLMessageActionPhoneCall) SetDuration(v int32)

func (*TLMessageActionPhoneCall) SetReason

func (*TLMessageActionPhoneCall) String

func (m *TLMessageActionPhoneCall) String() string

func (*TLMessageActionPhoneCall) To_MessageAction

func (m *TLMessageActionPhoneCall) To_MessageAction() *MessageAction

messageActionPhoneCall#80e11a7f flags:# call_id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = MessageAction;

type TLMessageActionPinMessage

type TLMessageActionPinMessage struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionPinMessage#94bd38ed = MessageAction;

func NewTLMessageActionPinMessage

func NewTLMessageActionPinMessage() *TLMessageActionPinMessage

func (*TLMessageActionPinMessage) Decode

func (m *TLMessageActionPinMessage) Decode(dbuf *DecodeBuf) error

func (*TLMessageActionPinMessage) Descriptor

func (*TLMessageActionPinMessage) Descriptor() ([]byte, []int)

func (*TLMessageActionPinMessage) Encode

func (m *TLMessageActionPinMessage) Encode() []byte

func (*TLMessageActionPinMessage) GetData2

func (*TLMessageActionPinMessage) ProtoMessage

func (*TLMessageActionPinMessage) ProtoMessage()

func (*TLMessageActionPinMessage) Reset

func (m *TLMessageActionPinMessage) Reset()

func (*TLMessageActionPinMessage) String

func (m *TLMessageActionPinMessage) String() string

func (*TLMessageActionPinMessage) To_MessageAction

func (m *TLMessageActionPinMessage) To_MessageAction() *MessageAction

messageActionPinMessage#94bd38ed = MessageAction;

type TLMessageActionScreenshotTaken

type TLMessageActionScreenshotTaken struct {
	Data2 *MessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageActionScreenshotTaken#4792929b = MessageAction;

func NewTLMessageActionScreenshotTaken

func NewTLMessageActionScreenshotTaken() *TLMessageActionScreenshotTaken

func (*TLMessageActionScreenshotTaken) Decode

func (*TLMessageActionScreenshotTaken) Descriptor

func (*TLMessageActionScreenshotTaken) Descriptor() ([]byte, []int)

func (*TLMessageActionScreenshotTaken) Encode

func (m *TLMessageActionScreenshotTaken) Encode() []byte

func (*TLMessageActionScreenshotTaken) GetData2

func (*TLMessageActionScreenshotTaken) ProtoMessage

func (*TLMessageActionScreenshotTaken) ProtoMessage()

func (*TLMessageActionScreenshotTaken) Reset

func (m *TLMessageActionScreenshotTaken) Reset()

func (*TLMessageActionScreenshotTaken) String

func (*TLMessageActionScreenshotTaken) To_MessageAction

func (m *TLMessageActionScreenshotTaken) To_MessageAction() *MessageAction

messageActionScreenshotTaken#4792929b = MessageAction;

type TLMessageEmpty

type TLMessageEmpty struct {
	Data2 *Message_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEmpty#83e5de54 id:int = Message;

func NewTLMessageEmpty

func NewTLMessageEmpty() *TLMessageEmpty

func (*TLMessageEmpty) Decode

func (m *TLMessageEmpty) Decode(dbuf *DecodeBuf) error

func (*TLMessageEmpty) Descriptor

func (*TLMessageEmpty) Descriptor() ([]byte, []int)

func (*TLMessageEmpty) Encode

func (m *TLMessageEmpty) Encode() []byte

func (*TLMessageEmpty) GetData2

func (m *TLMessageEmpty) GetData2() *Message_Data

func (*TLMessageEmpty) GetId

func (m *TLMessageEmpty) GetId() int32

func (*TLMessageEmpty) ProtoMessage

func (*TLMessageEmpty) ProtoMessage()

func (*TLMessageEmpty) Reset

func (m *TLMessageEmpty) Reset()

func (*TLMessageEmpty) SetId

func (m *TLMessageEmpty) SetId(v int32)

func (*TLMessageEmpty) String

func (m *TLMessageEmpty) String() string

func (*TLMessageEmpty) To_Message

func (m *TLMessageEmpty) To_Message() *Message

messageEmpty#83e5de54 id:int = Message;

type TLMessageEntityBold

type TLMessageEntityBold struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityBold#bd610bc9 offset:int length:int = MessageEntity;

func NewTLMessageEntityBold

func NewTLMessageEntityBold() *TLMessageEntityBold

func (*TLMessageEntityBold) Decode

func (m *TLMessageEntityBold) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityBold) Descriptor

func (*TLMessageEntityBold) Descriptor() ([]byte, []int)

func (*TLMessageEntityBold) Encode

func (m *TLMessageEntityBold) Encode() []byte

func (*TLMessageEntityBold) GetData2

func (m *TLMessageEntityBold) GetData2() *MessageEntity_Data

func (*TLMessageEntityBold) GetLength

func (m *TLMessageEntityBold) GetLength() int32

func (*TLMessageEntityBold) GetOffset

func (m *TLMessageEntityBold) GetOffset() int32

func (*TLMessageEntityBold) ProtoMessage

func (*TLMessageEntityBold) ProtoMessage()

func (*TLMessageEntityBold) Reset

func (m *TLMessageEntityBold) Reset()

func (*TLMessageEntityBold) SetLength

func (m *TLMessageEntityBold) SetLength(v int32)

func (*TLMessageEntityBold) SetOffset

func (m *TLMessageEntityBold) SetOffset(v int32)

func (*TLMessageEntityBold) String

func (m *TLMessageEntityBold) String() string

func (*TLMessageEntityBold) To_MessageEntity

func (m *TLMessageEntityBold) To_MessageEntity() *MessageEntity

messageEntityBold#bd610bc9 offset:int length:int = MessageEntity;

type TLMessageEntityBotCommand

type TLMessageEntityBotCommand struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;

func NewTLMessageEntityBotCommand

func NewTLMessageEntityBotCommand() *TLMessageEntityBotCommand

func (*TLMessageEntityBotCommand) Decode

func (m *TLMessageEntityBotCommand) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityBotCommand) Descriptor

func (*TLMessageEntityBotCommand) Descriptor() ([]byte, []int)

func (*TLMessageEntityBotCommand) Encode

func (m *TLMessageEntityBotCommand) Encode() []byte

func (*TLMessageEntityBotCommand) GetData2

func (*TLMessageEntityBotCommand) GetLength

func (m *TLMessageEntityBotCommand) GetLength() int32

func (*TLMessageEntityBotCommand) GetOffset

func (m *TLMessageEntityBotCommand) GetOffset() int32

func (*TLMessageEntityBotCommand) ProtoMessage

func (*TLMessageEntityBotCommand) ProtoMessage()

func (*TLMessageEntityBotCommand) Reset

func (m *TLMessageEntityBotCommand) Reset()

func (*TLMessageEntityBotCommand) SetLength

func (m *TLMessageEntityBotCommand) SetLength(v int32)

func (*TLMessageEntityBotCommand) SetOffset

func (m *TLMessageEntityBotCommand) SetOffset(v int32)

func (*TLMessageEntityBotCommand) String

func (m *TLMessageEntityBotCommand) String() string

func (*TLMessageEntityBotCommand) To_MessageEntity

func (m *TLMessageEntityBotCommand) To_MessageEntity() *MessageEntity

messageEntityBotCommand#6cef8ac7 offset:int length:int = MessageEntity;

type TLMessageEntityCode

type TLMessageEntityCode struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityCode#28a20571 offset:int length:int = MessageEntity;

func NewTLMessageEntityCode

func NewTLMessageEntityCode() *TLMessageEntityCode

func (*TLMessageEntityCode) Decode

func (m *TLMessageEntityCode) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityCode) Descriptor

func (*TLMessageEntityCode) Descriptor() ([]byte, []int)

func (*TLMessageEntityCode) Encode

func (m *TLMessageEntityCode) Encode() []byte

func (*TLMessageEntityCode) GetData2

func (m *TLMessageEntityCode) GetData2() *MessageEntity_Data

func (*TLMessageEntityCode) GetLength

func (m *TLMessageEntityCode) GetLength() int32

func (*TLMessageEntityCode) GetOffset

func (m *TLMessageEntityCode) GetOffset() int32

func (*TLMessageEntityCode) ProtoMessage

func (*TLMessageEntityCode) ProtoMessage()

func (*TLMessageEntityCode) Reset

func (m *TLMessageEntityCode) Reset()

func (*TLMessageEntityCode) SetLength

func (m *TLMessageEntityCode) SetLength(v int32)

func (*TLMessageEntityCode) SetOffset

func (m *TLMessageEntityCode) SetOffset(v int32)

func (*TLMessageEntityCode) String

func (m *TLMessageEntityCode) String() string

func (*TLMessageEntityCode) To_MessageEntity

func (m *TLMessageEntityCode) To_MessageEntity() *MessageEntity

messageEntityCode#28a20571 offset:int length:int = MessageEntity;

type TLMessageEntityEmail

type TLMessageEntityEmail struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityEmail#64e475c2 offset:int length:int = MessageEntity;

func NewTLMessageEntityEmail

func NewTLMessageEntityEmail() *TLMessageEntityEmail

func (*TLMessageEntityEmail) Decode

func (m *TLMessageEntityEmail) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityEmail) Descriptor

func (*TLMessageEntityEmail) Descriptor() ([]byte, []int)

func (*TLMessageEntityEmail) Encode

func (m *TLMessageEntityEmail) Encode() []byte

func (*TLMessageEntityEmail) GetData2

func (*TLMessageEntityEmail) GetLength

func (m *TLMessageEntityEmail) GetLength() int32

func (*TLMessageEntityEmail) GetOffset

func (m *TLMessageEntityEmail) GetOffset() int32

func (*TLMessageEntityEmail) ProtoMessage

func (*TLMessageEntityEmail) ProtoMessage()

func (*TLMessageEntityEmail) Reset

func (m *TLMessageEntityEmail) Reset()

func (*TLMessageEntityEmail) SetLength

func (m *TLMessageEntityEmail) SetLength(v int32)

func (*TLMessageEntityEmail) SetOffset

func (m *TLMessageEntityEmail) SetOffset(v int32)

func (*TLMessageEntityEmail) String

func (m *TLMessageEntityEmail) String() string

func (*TLMessageEntityEmail) To_MessageEntity

func (m *TLMessageEntityEmail) To_MessageEntity() *MessageEntity

messageEntityEmail#64e475c2 offset:int length:int = MessageEntity;

type TLMessageEntityHashtag

type TLMessageEntityHashtag struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;

func NewTLMessageEntityHashtag

func NewTLMessageEntityHashtag() *TLMessageEntityHashtag

func (*TLMessageEntityHashtag) Decode

func (m *TLMessageEntityHashtag) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityHashtag) Descriptor

func (*TLMessageEntityHashtag) Descriptor() ([]byte, []int)

func (*TLMessageEntityHashtag) Encode

func (m *TLMessageEntityHashtag) Encode() []byte

func (*TLMessageEntityHashtag) GetData2

func (*TLMessageEntityHashtag) GetLength

func (m *TLMessageEntityHashtag) GetLength() int32

func (*TLMessageEntityHashtag) GetOffset

func (m *TLMessageEntityHashtag) GetOffset() int32

func (*TLMessageEntityHashtag) ProtoMessage

func (*TLMessageEntityHashtag) ProtoMessage()

func (*TLMessageEntityHashtag) Reset

func (m *TLMessageEntityHashtag) Reset()

func (*TLMessageEntityHashtag) SetLength

func (m *TLMessageEntityHashtag) SetLength(v int32)

func (*TLMessageEntityHashtag) SetOffset

func (m *TLMessageEntityHashtag) SetOffset(v int32)

func (*TLMessageEntityHashtag) String

func (m *TLMessageEntityHashtag) String() string

func (*TLMessageEntityHashtag) To_MessageEntity

func (m *TLMessageEntityHashtag) To_MessageEntity() *MessageEntity

messageEntityHashtag#6f635b0d offset:int length:int = MessageEntity;

type TLMessageEntityItalic

type TLMessageEntityItalic struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityItalic#826f8b60 offset:int length:int = MessageEntity;

func NewTLMessageEntityItalic

func NewTLMessageEntityItalic() *TLMessageEntityItalic

func (*TLMessageEntityItalic) Decode

func (m *TLMessageEntityItalic) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityItalic) Descriptor

func (*TLMessageEntityItalic) Descriptor() ([]byte, []int)

func (*TLMessageEntityItalic) Encode

func (m *TLMessageEntityItalic) Encode() []byte

func (*TLMessageEntityItalic) GetData2

func (*TLMessageEntityItalic) GetLength

func (m *TLMessageEntityItalic) GetLength() int32

func (*TLMessageEntityItalic) GetOffset

func (m *TLMessageEntityItalic) GetOffset() int32

func (*TLMessageEntityItalic) ProtoMessage

func (*TLMessageEntityItalic) ProtoMessage()

func (*TLMessageEntityItalic) Reset

func (m *TLMessageEntityItalic) Reset()

func (*TLMessageEntityItalic) SetLength

func (m *TLMessageEntityItalic) SetLength(v int32)

func (*TLMessageEntityItalic) SetOffset

func (m *TLMessageEntityItalic) SetOffset(v int32)

func (*TLMessageEntityItalic) String

func (m *TLMessageEntityItalic) String() string

func (*TLMessageEntityItalic) To_MessageEntity

func (m *TLMessageEntityItalic) To_MessageEntity() *MessageEntity

messageEntityItalic#826f8b60 offset:int length:int = MessageEntity;

type TLMessageEntityMention

type TLMessageEntityMention struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityMention#fa04579d offset:int length:int = MessageEntity;

func NewTLMessageEntityMention

func NewTLMessageEntityMention() *TLMessageEntityMention

func (*TLMessageEntityMention) Decode

func (m *TLMessageEntityMention) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityMention) Descriptor

func (*TLMessageEntityMention) Descriptor() ([]byte, []int)

func (*TLMessageEntityMention) Encode

func (m *TLMessageEntityMention) Encode() []byte

func (*TLMessageEntityMention) GetData2

func (*TLMessageEntityMention) GetLength

func (m *TLMessageEntityMention) GetLength() int32

func (*TLMessageEntityMention) GetOffset

func (m *TLMessageEntityMention) GetOffset() int32

func (*TLMessageEntityMention) ProtoMessage

func (*TLMessageEntityMention) ProtoMessage()

func (*TLMessageEntityMention) Reset

func (m *TLMessageEntityMention) Reset()

func (*TLMessageEntityMention) SetLength

func (m *TLMessageEntityMention) SetLength(v int32)

func (*TLMessageEntityMention) SetOffset

func (m *TLMessageEntityMention) SetOffset(v int32)

func (*TLMessageEntityMention) String

func (m *TLMessageEntityMention) String() string

func (*TLMessageEntityMention) To_MessageEntity

func (m *TLMessageEntityMention) To_MessageEntity() *MessageEntity

messageEntityMention#fa04579d offset:int length:int = MessageEntity;

type TLMessageEntityMentionName

type TLMessageEntityMentionName struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity;

func NewTLMessageEntityMentionName

func NewTLMessageEntityMentionName() *TLMessageEntityMentionName

func (*TLMessageEntityMentionName) Decode

func (m *TLMessageEntityMentionName) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityMentionName) Descriptor

func (*TLMessageEntityMentionName) Descriptor() ([]byte, []int)

func (*TLMessageEntityMentionName) Encode

func (m *TLMessageEntityMentionName) Encode() []byte

func (*TLMessageEntityMentionName) GetData2

func (*TLMessageEntityMentionName) GetLength

func (m *TLMessageEntityMentionName) GetLength() int32

func (*TLMessageEntityMentionName) GetOffset

func (m *TLMessageEntityMentionName) GetOffset() int32

func (*TLMessageEntityMentionName) GetUserId

func (m *TLMessageEntityMentionName) GetUserId() int32

func (*TLMessageEntityMentionName) ProtoMessage

func (*TLMessageEntityMentionName) ProtoMessage()

func (*TLMessageEntityMentionName) Reset

func (m *TLMessageEntityMentionName) Reset()

func (*TLMessageEntityMentionName) SetLength

func (m *TLMessageEntityMentionName) SetLength(v int32)

func (*TLMessageEntityMentionName) SetOffset

func (m *TLMessageEntityMentionName) SetOffset(v int32)

func (*TLMessageEntityMentionName) SetUserId

func (m *TLMessageEntityMentionName) SetUserId(v int32)

func (*TLMessageEntityMentionName) String

func (m *TLMessageEntityMentionName) String() string

func (*TLMessageEntityMentionName) To_MessageEntity

func (m *TLMessageEntityMentionName) To_MessageEntity() *MessageEntity

messageEntityMentionName#352dca58 offset:int length:int user_id:int = MessageEntity;

type TLMessageEntityPre

type TLMessageEntityPre struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;

func NewTLMessageEntityPre

func NewTLMessageEntityPre() *TLMessageEntityPre

func (*TLMessageEntityPre) Decode

func (m *TLMessageEntityPre) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityPre) Descriptor

func (*TLMessageEntityPre) Descriptor() ([]byte, []int)

func (*TLMessageEntityPre) Encode

func (m *TLMessageEntityPre) Encode() []byte

func (*TLMessageEntityPre) GetData2

func (m *TLMessageEntityPre) GetData2() *MessageEntity_Data

func (*TLMessageEntityPre) GetLanguage

func (m *TLMessageEntityPre) GetLanguage() string

func (*TLMessageEntityPre) GetLength

func (m *TLMessageEntityPre) GetLength() int32

func (*TLMessageEntityPre) GetOffset

func (m *TLMessageEntityPre) GetOffset() int32

func (*TLMessageEntityPre) ProtoMessage

func (*TLMessageEntityPre) ProtoMessage()

func (*TLMessageEntityPre) Reset

func (m *TLMessageEntityPre) Reset()

func (*TLMessageEntityPre) SetLanguage

func (m *TLMessageEntityPre) SetLanguage(v string)

func (*TLMessageEntityPre) SetLength

func (m *TLMessageEntityPre) SetLength(v int32)

func (*TLMessageEntityPre) SetOffset

func (m *TLMessageEntityPre) SetOffset(v int32)

func (*TLMessageEntityPre) String

func (m *TLMessageEntityPre) String() string

func (*TLMessageEntityPre) To_MessageEntity

func (m *TLMessageEntityPre) To_MessageEntity() *MessageEntity

messageEntityPre#73924be0 offset:int length:int language:string = MessageEntity;

type TLMessageEntityTextUrl

type TLMessageEntityTextUrl struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;

func NewTLMessageEntityTextUrl

func NewTLMessageEntityTextUrl() *TLMessageEntityTextUrl

func (*TLMessageEntityTextUrl) Decode

func (m *TLMessageEntityTextUrl) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityTextUrl) Descriptor

func (*TLMessageEntityTextUrl) Descriptor() ([]byte, []int)

func (*TLMessageEntityTextUrl) Encode

func (m *TLMessageEntityTextUrl) Encode() []byte

func (*TLMessageEntityTextUrl) GetData2

func (*TLMessageEntityTextUrl) GetLength

func (m *TLMessageEntityTextUrl) GetLength() int32

func (*TLMessageEntityTextUrl) GetOffset

func (m *TLMessageEntityTextUrl) GetOffset() int32

func (*TLMessageEntityTextUrl) GetUrl

func (m *TLMessageEntityTextUrl) GetUrl() string

func (*TLMessageEntityTextUrl) ProtoMessage

func (*TLMessageEntityTextUrl) ProtoMessage()

func (*TLMessageEntityTextUrl) Reset

func (m *TLMessageEntityTextUrl) Reset()

func (*TLMessageEntityTextUrl) SetLength

func (m *TLMessageEntityTextUrl) SetLength(v int32)

func (*TLMessageEntityTextUrl) SetOffset

func (m *TLMessageEntityTextUrl) SetOffset(v int32)

func (*TLMessageEntityTextUrl) SetUrl

func (m *TLMessageEntityTextUrl) SetUrl(v string)

func (*TLMessageEntityTextUrl) String

func (m *TLMessageEntityTextUrl) String() string

func (*TLMessageEntityTextUrl) To_MessageEntity

func (m *TLMessageEntityTextUrl) To_MessageEntity() *MessageEntity

messageEntityTextUrl#76a6d327 offset:int length:int url:string = MessageEntity;

type TLMessageEntityUnknown

type TLMessageEntityUnknown struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;

func NewTLMessageEntityUnknown

func NewTLMessageEntityUnknown() *TLMessageEntityUnknown

func (*TLMessageEntityUnknown) Decode

func (m *TLMessageEntityUnknown) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityUnknown) Descriptor

func (*TLMessageEntityUnknown) Descriptor() ([]byte, []int)

func (*TLMessageEntityUnknown) Encode

func (m *TLMessageEntityUnknown) Encode() []byte

func (*TLMessageEntityUnknown) GetData2

func (*TLMessageEntityUnknown) GetLength

func (m *TLMessageEntityUnknown) GetLength() int32

func (*TLMessageEntityUnknown) GetOffset

func (m *TLMessageEntityUnknown) GetOffset() int32

func (*TLMessageEntityUnknown) ProtoMessage

func (*TLMessageEntityUnknown) ProtoMessage()

func (*TLMessageEntityUnknown) Reset

func (m *TLMessageEntityUnknown) Reset()

func (*TLMessageEntityUnknown) SetLength

func (m *TLMessageEntityUnknown) SetLength(v int32)

func (*TLMessageEntityUnknown) SetOffset

func (m *TLMessageEntityUnknown) SetOffset(v int32)

func (*TLMessageEntityUnknown) String

func (m *TLMessageEntityUnknown) String() string

func (*TLMessageEntityUnknown) To_MessageEntity

func (m *TLMessageEntityUnknown) To_MessageEntity() *MessageEntity

messageEntityUnknown#bb92ba95 offset:int length:int = MessageEntity;

type TLMessageEntityUrl

type TLMessageEntityUrl struct {
	Data2 *MessageEntity_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;

func NewTLMessageEntityUrl

func NewTLMessageEntityUrl() *TLMessageEntityUrl

func (*TLMessageEntityUrl) Decode

func (m *TLMessageEntityUrl) Decode(dbuf *DecodeBuf) error

func (*TLMessageEntityUrl) Descriptor

func (*TLMessageEntityUrl) Descriptor() ([]byte, []int)

func (*TLMessageEntityUrl) Encode

func (m *TLMessageEntityUrl) Encode() []byte

func (*TLMessageEntityUrl) GetData2

func (m *TLMessageEntityUrl) GetData2() *MessageEntity_Data

func (*TLMessageEntityUrl) GetLength

func (m *TLMessageEntityUrl) GetLength() int32

func (*TLMessageEntityUrl) GetOffset

func (m *TLMessageEntityUrl) GetOffset() int32

func (*TLMessageEntityUrl) ProtoMessage

func (*TLMessageEntityUrl) ProtoMessage()

func (*TLMessageEntityUrl) Reset

func (m *TLMessageEntityUrl) Reset()

func (*TLMessageEntityUrl) SetLength

func (m *TLMessageEntityUrl) SetLength(v int32)

func (*TLMessageEntityUrl) SetOffset

func (m *TLMessageEntityUrl) SetOffset(v int32)

func (*TLMessageEntityUrl) String

func (m *TLMessageEntityUrl) String() string

func (*TLMessageEntityUrl) To_MessageEntity

func (m *TLMessageEntityUrl) To_MessageEntity() *MessageEntity

messageEntityUrl#6ed02538 offset:int length:int = MessageEntity;

type TLMessageFwdHeader

type TLMessageFwdHeader struct {
	Data2 *MessageFwdHeader_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader;

func NewTLMessageFwdHeader

func NewTLMessageFwdHeader() *TLMessageFwdHeader

func (*TLMessageFwdHeader) Decode

func (m *TLMessageFwdHeader) Decode(dbuf *DecodeBuf) error

func (*TLMessageFwdHeader) Descriptor

func (*TLMessageFwdHeader) Descriptor() ([]byte, []int)

func (*TLMessageFwdHeader) Encode

func (m *TLMessageFwdHeader) Encode() []byte

func (*TLMessageFwdHeader) GetChannelId

func (m *TLMessageFwdHeader) GetChannelId() int32

func (*TLMessageFwdHeader) GetChannelPost

func (m *TLMessageFwdHeader) GetChannelPost() int32

func (*TLMessageFwdHeader) GetData2

func (*TLMessageFwdHeader) GetDate

func (m *TLMessageFwdHeader) GetDate() int32

func (*TLMessageFwdHeader) GetFromId

func (m *TLMessageFwdHeader) GetFromId() int32

func (*TLMessageFwdHeader) GetPostAuthor

func (m *TLMessageFwdHeader) GetPostAuthor() string

func (*TLMessageFwdHeader) GetSavedFromMsgId

func (m *TLMessageFwdHeader) GetSavedFromMsgId() int32

func (*TLMessageFwdHeader) GetSavedFromPeer

func (m *TLMessageFwdHeader) GetSavedFromPeer() *Peer

func (*TLMessageFwdHeader) ProtoMessage

func (*TLMessageFwdHeader) ProtoMessage()

func (*TLMessageFwdHeader) Reset

func (m *TLMessageFwdHeader) Reset()

func (*TLMessageFwdHeader) SetChannelId

func (m *TLMessageFwdHeader) SetChannelId(v int32)

func (*TLMessageFwdHeader) SetChannelPost

func (m *TLMessageFwdHeader) SetChannelPost(v int32)

func (*TLMessageFwdHeader) SetDate

func (m *TLMessageFwdHeader) SetDate(v int32)

func (*TLMessageFwdHeader) SetFromId

func (m *TLMessageFwdHeader) SetFromId(v int32)

func (*TLMessageFwdHeader) SetPostAuthor

func (m *TLMessageFwdHeader) SetPostAuthor(v string)

func (*TLMessageFwdHeader) SetSavedFromMsgId

func (m *TLMessageFwdHeader) SetSavedFromMsgId(v int32)

func (*TLMessageFwdHeader) SetSavedFromPeer

func (m *TLMessageFwdHeader) SetSavedFromPeer(v *Peer)

func (*TLMessageFwdHeader) String

func (m *TLMessageFwdHeader) String() string

func (*TLMessageFwdHeader) To_MessageFwdHeader

func (m *TLMessageFwdHeader) To_MessageFwdHeader() *MessageFwdHeader

messageFwdHeader#559ebe6d flags:# from_id:flags.0?int date:int channel_id:flags.1?int channel_post:flags.2?int post_author:flags.3?string saved_from_peer:flags.4?Peer saved_from_msg_id:flags.4?int = MessageFwdHeader;

type TLMessageMediaContact

type TLMessageMediaContact struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia;

func NewTLMessageMediaContact

func NewTLMessageMediaContact() *TLMessageMediaContact

func (*TLMessageMediaContact) Decode

func (m *TLMessageMediaContact) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaContact) Descriptor

func (*TLMessageMediaContact) Descriptor() ([]byte, []int)

func (*TLMessageMediaContact) Encode

func (m *TLMessageMediaContact) Encode() []byte

func (*TLMessageMediaContact) GetData2

func (*TLMessageMediaContact) GetFirstName

func (m *TLMessageMediaContact) GetFirstName() string

func (*TLMessageMediaContact) GetLastName

func (m *TLMessageMediaContact) GetLastName() string

func (*TLMessageMediaContact) GetPhoneNumber

func (m *TLMessageMediaContact) GetPhoneNumber() string

func (*TLMessageMediaContact) GetUserId

func (m *TLMessageMediaContact) GetUserId() int32

func (*TLMessageMediaContact) ProtoMessage

func (*TLMessageMediaContact) ProtoMessage()

func (*TLMessageMediaContact) Reset

func (m *TLMessageMediaContact) Reset()

func (*TLMessageMediaContact) SetFirstName

func (m *TLMessageMediaContact) SetFirstName(v string)

func (*TLMessageMediaContact) SetLastName

func (m *TLMessageMediaContact) SetLastName(v string)

func (*TLMessageMediaContact) SetPhoneNumber

func (m *TLMessageMediaContact) SetPhoneNumber(v string)

func (*TLMessageMediaContact) SetUserId

func (m *TLMessageMediaContact) SetUserId(v int32)

func (*TLMessageMediaContact) String

func (m *TLMessageMediaContact) String() string

func (*TLMessageMediaContact) To_MessageMedia

func (m *TLMessageMediaContact) To_MessageMedia() *MessageMedia

messageMediaContact#5e7d2f39 phone_number:string first_name:string last_name:string user_id:int = MessageMedia;

type TLMessageMediaDocument

type TLMessageMediaDocument struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

func NewTLMessageMediaDocument

func NewTLMessageMediaDocument() *TLMessageMediaDocument

func (*TLMessageMediaDocument) Decode

func (m *TLMessageMediaDocument) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaDocument) Descriptor

func (*TLMessageMediaDocument) Descriptor() ([]byte, []int)

func (*TLMessageMediaDocument) Encode

func (m *TLMessageMediaDocument) Encode() []byte

func (*TLMessageMediaDocument) GetCaption

func (m *TLMessageMediaDocument) GetCaption() string

func (*TLMessageMediaDocument) GetData2

func (*TLMessageMediaDocument) GetDocument

func (m *TLMessageMediaDocument) GetDocument() *Document

func (*TLMessageMediaDocument) GetTtlSeconds

func (m *TLMessageMediaDocument) GetTtlSeconds() int32

func (*TLMessageMediaDocument) ProtoMessage

func (*TLMessageMediaDocument) ProtoMessage()

func (*TLMessageMediaDocument) Reset

func (m *TLMessageMediaDocument) Reset()

func (*TLMessageMediaDocument) SetCaption

func (m *TLMessageMediaDocument) SetCaption(v string)

func (*TLMessageMediaDocument) SetDocument

func (m *TLMessageMediaDocument) SetDocument(v *Document)

func (*TLMessageMediaDocument) SetTtlSeconds

func (m *TLMessageMediaDocument) SetTtlSeconds(v int32)

func (*TLMessageMediaDocument) String

func (m *TLMessageMediaDocument) String() string

func (*TLMessageMediaDocument) To_MessageMedia

func (m *TLMessageMediaDocument) To_MessageMedia() *MessageMedia

messageMediaDocument#7c4414d3 flags:# document:flags.0?Document caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

type TLMessageMediaEmpty

type TLMessageMediaEmpty struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaEmpty#3ded6320 = MessageMedia;

func NewTLMessageMediaEmpty

func NewTLMessageMediaEmpty() *TLMessageMediaEmpty

func (*TLMessageMediaEmpty) Decode

func (m *TLMessageMediaEmpty) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaEmpty) Descriptor

func (*TLMessageMediaEmpty) Descriptor() ([]byte, []int)

func (*TLMessageMediaEmpty) Encode

func (m *TLMessageMediaEmpty) Encode() []byte

func (*TLMessageMediaEmpty) GetData2

func (m *TLMessageMediaEmpty) GetData2() *MessageMedia_Data

func (*TLMessageMediaEmpty) ProtoMessage

func (*TLMessageMediaEmpty) ProtoMessage()

func (*TLMessageMediaEmpty) Reset

func (m *TLMessageMediaEmpty) Reset()

func (*TLMessageMediaEmpty) String

func (m *TLMessageMediaEmpty) String() string

func (*TLMessageMediaEmpty) To_MessageMedia

func (m *TLMessageMediaEmpty) To_MessageMedia() *MessageMedia

messageMediaEmpty#3ded6320 = MessageMedia;

type TLMessageMediaGame

type TLMessageMediaGame struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaGame#fdb19008 game:Game = MessageMedia;

func NewTLMessageMediaGame

func NewTLMessageMediaGame() *TLMessageMediaGame

func (*TLMessageMediaGame) Decode

func (m *TLMessageMediaGame) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaGame) Descriptor

func (*TLMessageMediaGame) Descriptor() ([]byte, []int)

func (*TLMessageMediaGame) Encode

func (m *TLMessageMediaGame) Encode() []byte

func (*TLMessageMediaGame) GetData2

func (m *TLMessageMediaGame) GetData2() *MessageMedia_Data

func (*TLMessageMediaGame) GetGame

func (m *TLMessageMediaGame) GetGame() *Game

func (*TLMessageMediaGame) ProtoMessage

func (*TLMessageMediaGame) ProtoMessage()

func (*TLMessageMediaGame) Reset

func (m *TLMessageMediaGame) Reset()

func (*TLMessageMediaGame) SetGame

func (m *TLMessageMediaGame) SetGame(v *Game)

func (*TLMessageMediaGame) String

func (m *TLMessageMediaGame) String() string

func (*TLMessageMediaGame) To_MessageMedia

func (m *TLMessageMediaGame) To_MessageMedia() *MessageMedia

messageMediaGame#fdb19008 game:Game = MessageMedia;

type TLMessageMediaGeo

type TLMessageMediaGeo struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;

func NewTLMessageMediaGeo

func NewTLMessageMediaGeo() *TLMessageMediaGeo

func (*TLMessageMediaGeo) Decode

func (m *TLMessageMediaGeo) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaGeo) Descriptor

func (*TLMessageMediaGeo) Descriptor() ([]byte, []int)

func (*TLMessageMediaGeo) Encode

func (m *TLMessageMediaGeo) Encode() []byte

func (*TLMessageMediaGeo) GetData2

func (m *TLMessageMediaGeo) GetData2() *MessageMedia_Data

func (*TLMessageMediaGeo) GetGeo

func (m *TLMessageMediaGeo) GetGeo() *GeoPoint

func (*TLMessageMediaGeo) ProtoMessage

func (*TLMessageMediaGeo) ProtoMessage()

func (*TLMessageMediaGeo) Reset

func (m *TLMessageMediaGeo) Reset()

func (*TLMessageMediaGeo) SetGeo

func (m *TLMessageMediaGeo) SetGeo(v *GeoPoint)

func (*TLMessageMediaGeo) String

func (m *TLMessageMediaGeo) String() string

func (*TLMessageMediaGeo) To_MessageMedia

func (m *TLMessageMediaGeo) To_MessageMedia() *MessageMedia

messageMediaGeo#56e0d474 geo:GeoPoint = MessageMedia;

type TLMessageMediaGeoLive

type TLMessageMediaGeoLive struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia;

func NewTLMessageMediaGeoLive

func NewTLMessageMediaGeoLive() *TLMessageMediaGeoLive

func (*TLMessageMediaGeoLive) Decode

func (m *TLMessageMediaGeoLive) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaGeoLive) Descriptor

func (*TLMessageMediaGeoLive) Descriptor() ([]byte, []int)

func (*TLMessageMediaGeoLive) Encode

func (m *TLMessageMediaGeoLive) Encode() []byte

func (*TLMessageMediaGeoLive) GetData2

func (*TLMessageMediaGeoLive) GetGeo

func (m *TLMessageMediaGeoLive) GetGeo() *GeoPoint

func (*TLMessageMediaGeoLive) GetPeriod

func (m *TLMessageMediaGeoLive) GetPeriod() int32

func (*TLMessageMediaGeoLive) ProtoMessage

func (*TLMessageMediaGeoLive) ProtoMessage()

func (*TLMessageMediaGeoLive) Reset

func (m *TLMessageMediaGeoLive) Reset()

func (*TLMessageMediaGeoLive) SetGeo

func (m *TLMessageMediaGeoLive) SetGeo(v *GeoPoint)

func (*TLMessageMediaGeoLive) SetPeriod

func (m *TLMessageMediaGeoLive) SetPeriod(v int32)

func (*TLMessageMediaGeoLive) String

func (m *TLMessageMediaGeoLive) String() string

func (*TLMessageMediaGeoLive) To_MessageMedia

func (m *TLMessageMediaGeoLive) To_MessageMedia() *MessageMedia

messageMediaGeoLive#7c3c2609 geo:GeoPoint period:int = MessageMedia;

type TLMessageMediaInvoice

type TLMessageMediaInvoice struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;

func NewTLMessageMediaInvoice

func NewTLMessageMediaInvoice() *TLMessageMediaInvoice

func (*TLMessageMediaInvoice) Decode

func (m *TLMessageMediaInvoice) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaInvoice) Descriptor

func (*TLMessageMediaInvoice) Descriptor() ([]byte, []int)

func (*TLMessageMediaInvoice) Encode

func (m *TLMessageMediaInvoice) Encode() []byte

func (*TLMessageMediaInvoice) GetCurrency

func (m *TLMessageMediaInvoice) GetCurrency() string

func (*TLMessageMediaInvoice) GetData2

func (*TLMessageMediaInvoice) GetDescription

func (m *TLMessageMediaInvoice) GetDescription() string

func (*TLMessageMediaInvoice) GetPhoto

func (m *TLMessageMediaInvoice) GetPhoto() *WebDocument

func (*TLMessageMediaInvoice) GetReceiptMsgId

func (m *TLMessageMediaInvoice) GetReceiptMsgId() int32

func (*TLMessageMediaInvoice) GetShippingAddressRequested

func (m *TLMessageMediaInvoice) GetShippingAddressRequested() bool

func (*TLMessageMediaInvoice) GetStartParam

func (m *TLMessageMediaInvoice) GetStartParam() string

func (*TLMessageMediaInvoice) GetTest

func (m *TLMessageMediaInvoice) GetTest() bool

func (*TLMessageMediaInvoice) GetTitle

func (m *TLMessageMediaInvoice) GetTitle() string

func (*TLMessageMediaInvoice) GetTotalAmount

func (m *TLMessageMediaInvoice) GetTotalAmount() int64

func (*TLMessageMediaInvoice) ProtoMessage

func (*TLMessageMediaInvoice) ProtoMessage()

func (*TLMessageMediaInvoice) Reset

func (m *TLMessageMediaInvoice) Reset()

func (*TLMessageMediaInvoice) SetCurrency

func (m *TLMessageMediaInvoice) SetCurrency(v string)

func (*TLMessageMediaInvoice) SetDescription

func (m *TLMessageMediaInvoice) SetDescription(v string)

func (*TLMessageMediaInvoice) SetPhoto

func (m *TLMessageMediaInvoice) SetPhoto(v *WebDocument)

func (*TLMessageMediaInvoice) SetReceiptMsgId

func (m *TLMessageMediaInvoice) SetReceiptMsgId(v int32)

func (*TLMessageMediaInvoice) SetShippingAddressRequested

func (m *TLMessageMediaInvoice) SetShippingAddressRequested(v bool)

func (*TLMessageMediaInvoice) SetStartParam

func (m *TLMessageMediaInvoice) SetStartParam(v string)

func (*TLMessageMediaInvoice) SetTest

func (m *TLMessageMediaInvoice) SetTest(v bool)

func (*TLMessageMediaInvoice) SetTitle

func (m *TLMessageMediaInvoice) SetTitle(v string)

func (*TLMessageMediaInvoice) SetTotalAmount

func (m *TLMessageMediaInvoice) SetTotalAmount(v int64)

func (*TLMessageMediaInvoice) String

func (m *TLMessageMediaInvoice) String() string

func (*TLMessageMediaInvoice) To_MessageMedia

func (m *TLMessageMediaInvoice) To_MessageMedia() *MessageMedia

messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;

type TLMessageMediaPhoto

type TLMessageMediaPhoto struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

func NewTLMessageMediaPhoto

func NewTLMessageMediaPhoto() *TLMessageMediaPhoto

func (*TLMessageMediaPhoto) Decode

func (m *TLMessageMediaPhoto) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaPhoto) Descriptor

func (*TLMessageMediaPhoto) Descriptor() ([]byte, []int)

func (*TLMessageMediaPhoto) Encode

func (m *TLMessageMediaPhoto) Encode() []byte

func (*TLMessageMediaPhoto) GetCaption

func (m *TLMessageMediaPhoto) GetCaption() string

func (*TLMessageMediaPhoto) GetData2

func (m *TLMessageMediaPhoto) GetData2() *MessageMedia_Data

func (*TLMessageMediaPhoto) GetPhoto

func (m *TLMessageMediaPhoto) GetPhoto() *Photo

func (*TLMessageMediaPhoto) GetTtlSeconds

func (m *TLMessageMediaPhoto) GetTtlSeconds() int32

func (*TLMessageMediaPhoto) ProtoMessage

func (*TLMessageMediaPhoto) ProtoMessage()

func (*TLMessageMediaPhoto) Reset

func (m *TLMessageMediaPhoto) Reset()

func (*TLMessageMediaPhoto) SetCaption

func (m *TLMessageMediaPhoto) SetCaption(v string)

func (*TLMessageMediaPhoto) SetPhoto

func (m *TLMessageMediaPhoto) SetPhoto(v *Photo)

func (*TLMessageMediaPhoto) SetTtlSeconds

func (m *TLMessageMediaPhoto) SetTtlSeconds(v int32)

func (*TLMessageMediaPhoto) String

func (m *TLMessageMediaPhoto) String() string

func (*TLMessageMediaPhoto) To_MessageMedia

func (m *TLMessageMediaPhoto) To_MessageMedia() *MessageMedia

messageMediaPhoto#b5223b0f flags:# photo:flags.0?Photo caption:flags.1?string ttl_seconds:flags.2?int = MessageMedia;

type TLMessageMediaUnsupported

type TLMessageMediaUnsupported struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaUnsupported#9f84f49e = MessageMedia;

func NewTLMessageMediaUnsupported

func NewTLMessageMediaUnsupported() *TLMessageMediaUnsupported

func (*TLMessageMediaUnsupported) Decode

func (m *TLMessageMediaUnsupported) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaUnsupported) Descriptor

func (*TLMessageMediaUnsupported) Descriptor() ([]byte, []int)

func (*TLMessageMediaUnsupported) Encode

func (m *TLMessageMediaUnsupported) Encode() []byte

func (*TLMessageMediaUnsupported) GetData2

func (*TLMessageMediaUnsupported) ProtoMessage

func (*TLMessageMediaUnsupported) ProtoMessage()

func (*TLMessageMediaUnsupported) Reset

func (m *TLMessageMediaUnsupported) Reset()

func (*TLMessageMediaUnsupported) String

func (m *TLMessageMediaUnsupported) String() string

func (*TLMessageMediaUnsupported) To_MessageMedia

func (m *TLMessageMediaUnsupported) To_MessageMedia() *MessageMedia

messageMediaUnsupported#9f84f49e = MessageMedia;

type TLMessageMediaVenue

type TLMessageMediaVenue struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;

func NewTLMessageMediaVenue

func NewTLMessageMediaVenue() *TLMessageMediaVenue

func (*TLMessageMediaVenue) Decode

func (m *TLMessageMediaVenue) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaVenue) Descriptor

func (*TLMessageMediaVenue) Descriptor() ([]byte, []int)

func (*TLMessageMediaVenue) Encode

func (m *TLMessageMediaVenue) Encode() []byte

func (*TLMessageMediaVenue) GetAddress

func (m *TLMessageMediaVenue) GetAddress() string

func (*TLMessageMediaVenue) GetData2

func (m *TLMessageMediaVenue) GetData2() *MessageMedia_Data

func (*TLMessageMediaVenue) GetGeo

func (m *TLMessageMediaVenue) GetGeo() *GeoPoint

func (*TLMessageMediaVenue) GetProvider

func (m *TLMessageMediaVenue) GetProvider() string

func (*TLMessageMediaVenue) GetTitle

func (m *TLMessageMediaVenue) GetTitle() string

func (*TLMessageMediaVenue) GetVenueId

func (m *TLMessageMediaVenue) GetVenueId() string

func (*TLMessageMediaVenue) GetVenueType

func (m *TLMessageMediaVenue) GetVenueType() string

func (*TLMessageMediaVenue) ProtoMessage

func (*TLMessageMediaVenue) ProtoMessage()

func (*TLMessageMediaVenue) Reset

func (m *TLMessageMediaVenue) Reset()

func (*TLMessageMediaVenue) SetAddress

func (m *TLMessageMediaVenue) SetAddress(v string)

func (*TLMessageMediaVenue) SetGeo

func (m *TLMessageMediaVenue) SetGeo(v *GeoPoint)

func (*TLMessageMediaVenue) SetProvider

func (m *TLMessageMediaVenue) SetProvider(v string)

func (*TLMessageMediaVenue) SetTitle

func (m *TLMessageMediaVenue) SetTitle(v string)

func (*TLMessageMediaVenue) SetVenueId

func (m *TLMessageMediaVenue) SetVenueId(v string)

func (*TLMessageMediaVenue) SetVenueType

func (m *TLMessageMediaVenue) SetVenueType(v string)

func (*TLMessageMediaVenue) String

func (m *TLMessageMediaVenue) String() string

func (*TLMessageMediaVenue) To_MessageMedia

func (m *TLMessageMediaVenue) To_MessageMedia() *MessageMedia

messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:string venue_id:string venue_type:string = MessageMedia;

type TLMessageMediaWebPage

type TLMessageMediaWebPage struct {
	Data2 *MessageMedia_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;

func NewTLMessageMediaWebPage

func NewTLMessageMediaWebPage() *TLMessageMediaWebPage

func (*TLMessageMediaWebPage) Decode

func (m *TLMessageMediaWebPage) Decode(dbuf *DecodeBuf) error

func (*TLMessageMediaWebPage) Descriptor

func (*TLMessageMediaWebPage) Descriptor() ([]byte, []int)

func (*TLMessageMediaWebPage) Encode

func (m *TLMessageMediaWebPage) Encode() []byte

func (*TLMessageMediaWebPage) GetData2

func (*TLMessageMediaWebPage) GetWebpage

func (m *TLMessageMediaWebPage) GetWebpage() *WebPage

func (*TLMessageMediaWebPage) ProtoMessage

func (*TLMessageMediaWebPage) ProtoMessage()

func (*TLMessageMediaWebPage) Reset

func (m *TLMessageMediaWebPage) Reset()

func (*TLMessageMediaWebPage) SetWebpage

func (m *TLMessageMediaWebPage) SetWebpage(v *WebPage)

func (*TLMessageMediaWebPage) String

func (m *TLMessageMediaWebPage) String() string

func (*TLMessageMediaWebPage) To_MessageMedia

func (m *TLMessageMediaWebPage) To_MessageMedia() *MessageMedia

messageMediaWebPage#a32dd600 webpage:WebPage = MessageMedia;

type TLMessageRange

type TLMessageRange struct {
	Data2 *MessageRange_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageRange#ae30253 min_id:int max_id:int = MessageRange;

func NewTLMessageRange

func NewTLMessageRange() *TLMessageRange

func (*TLMessageRange) Decode

func (m *TLMessageRange) Decode(dbuf *DecodeBuf) error

func (*TLMessageRange) Descriptor

func (*TLMessageRange) Descriptor() ([]byte, []int)

func (*TLMessageRange) Encode

func (m *TLMessageRange) Encode() []byte

func (*TLMessageRange) GetData2

func (m *TLMessageRange) GetData2() *MessageRange_Data

func (*TLMessageRange) GetMaxId

func (m *TLMessageRange) GetMaxId() int32

func (*TLMessageRange) GetMinId

func (m *TLMessageRange) GetMinId() int32

func (*TLMessageRange) ProtoMessage

func (*TLMessageRange) ProtoMessage()

func (*TLMessageRange) Reset

func (m *TLMessageRange) Reset()

func (*TLMessageRange) SetMaxId

func (m *TLMessageRange) SetMaxId(v int32)

func (*TLMessageRange) SetMinId

func (m *TLMessageRange) SetMinId(v int32)

func (*TLMessageRange) String

func (m *TLMessageRange) String() string

func (*TLMessageRange) To_MessageRange

func (m *TLMessageRange) To_MessageRange() *MessageRange

messageRange#ae30253 min_id:int max_id:int = MessageRange;

type TLMessageService

type TLMessageService struct {
	Data2 *Message_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message;

func NewTLMessageService

func NewTLMessageService() *TLMessageService

func (*TLMessageService) Decode

func (m *TLMessageService) Decode(dbuf *DecodeBuf) error

func (*TLMessageService) Descriptor

func (*TLMessageService) Descriptor() ([]byte, []int)

func (*TLMessageService) Encode

func (m *TLMessageService) Encode() []byte

func (*TLMessageService) GetAction

func (m *TLMessageService) GetAction() *MessageAction

func (*TLMessageService) GetData2

func (m *TLMessageService) GetData2() *Message_Data

func (*TLMessageService) GetDate

func (m *TLMessageService) GetDate() int32

func (*TLMessageService) GetFromId

func (m *TLMessageService) GetFromId() int32

func (*TLMessageService) GetId

func (m *TLMessageService) GetId() int32

func (*TLMessageService) GetMediaUnread

func (m *TLMessageService) GetMediaUnread() bool

func (*TLMessageService) GetMentioned

func (m *TLMessageService) GetMentioned() bool

func (*TLMessageService) GetOut

func (m *TLMessageService) GetOut() bool

func (*TLMessageService) GetPost

func (m *TLMessageService) GetPost() bool

func (*TLMessageService) GetReplyToMsgId

func (m *TLMessageService) GetReplyToMsgId() int32

func (*TLMessageService) GetSilent

func (m *TLMessageService) GetSilent() bool

func (*TLMessageService) GetToId

func (m *TLMessageService) GetToId() *Peer

func (*TLMessageService) ProtoMessage

func (*TLMessageService) ProtoMessage()

func (*TLMessageService) Reset

func (m *TLMessageService) Reset()

func (*TLMessageService) SetAction

func (m *TLMessageService) SetAction(v *MessageAction)

func (*TLMessageService) SetDate

func (m *TLMessageService) SetDate(v int32)

func (*TLMessageService) SetFromId

func (m *TLMessageService) SetFromId(v int32)

func (*TLMessageService) SetId

func (m *TLMessageService) SetId(v int32)

func (*TLMessageService) SetMediaUnread

func (m *TLMessageService) SetMediaUnread(v bool)

func (*TLMessageService) SetMentioned

func (m *TLMessageService) SetMentioned(v bool)

func (*TLMessageService) SetOut

func (m *TLMessageService) SetOut(v bool)

func (*TLMessageService) SetPost

func (m *TLMessageService) SetPost(v bool)

func (*TLMessageService) SetReplyToMsgId

func (m *TLMessageService) SetReplyToMsgId(v int32)

func (*TLMessageService) SetSilent

func (m *TLMessageService) SetSilent(v bool)

func (*TLMessageService) SetToId

func (m *TLMessageService) SetToId(v *Peer)

func (*TLMessageService) String

func (m *TLMessageService) String() string

func (*TLMessageService) To_Message

func (m *TLMessageService) To_Message() *Message

messageService#9e19a1f6 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true post:flags.14?true id:int from_id:flags.8?int to_id:Peer reply_to_msg_id:flags.3?int date:int action:MessageAction = Message;

type TLMessagesAcceptEncryption

type TLMessagesAcceptEncryption struct {
	Peer           *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	GB             []byte              `protobuf:"bytes,2,opt,name=g_b,json=gB,proto3" json:"g_b,omitempty"`
	KeyFingerprint int64               `protobuf:"varint,3,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.acceptEncryption#3dbc0415 peer:InputEncryptedChat g_b:bytes key_fingerprint:long = EncryptedChat;

func NewTLMessagesAcceptEncryption

func NewTLMessagesAcceptEncryption() *TLMessagesAcceptEncryption

func (*TLMessagesAcceptEncryption) Decode

func (m *TLMessagesAcceptEncryption) Decode(dbuf *DecodeBuf) error

func (*TLMessagesAcceptEncryption) Descriptor

func (*TLMessagesAcceptEncryption) Descriptor() ([]byte, []int)

func (*TLMessagesAcceptEncryption) Encode

func (m *TLMessagesAcceptEncryption) Encode() []byte

func (*TLMessagesAcceptEncryption) GetGB

func (m *TLMessagesAcceptEncryption) GetGB() []byte

func (*TLMessagesAcceptEncryption) GetKeyFingerprint

func (m *TLMessagesAcceptEncryption) GetKeyFingerprint() int64

func (*TLMessagesAcceptEncryption) GetPeer

func (*TLMessagesAcceptEncryption) ProtoMessage

func (*TLMessagesAcceptEncryption) ProtoMessage()

func (*TLMessagesAcceptEncryption) Reset

func (m *TLMessagesAcceptEncryption) Reset()

func (*TLMessagesAcceptEncryption) String

func (m *TLMessagesAcceptEncryption) String() string

type TLMessagesAddChatUser

type TLMessagesAddChatUser struct {
	ChatId   int32      `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	UserId   *InputUser `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	FwdLimit int32      `protobuf:"varint,3,opt,name=fwd_limit,json=fwdLimit" json:"fwd_limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.addChatUser#f9a0aa09 chat_id:int user_id:InputUser fwd_limit:int = Updates;

func NewTLMessagesAddChatUser

func NewTLMessagesAddChatUser() *TLMessagesAddChatUser

func (*TLMessagesAddChatUser) Decode

func (m *TLMessagesAddChatUser) Decode(dbuf *DecodeBuf) error

func (*TLMessagesAddChatUser) Descriptor

func (*TLMessagesAddChatUser) Descriptor() ([]byte, []int)

func (*TLMessagesAddChatUser) Encode

func (m *TLMessagesAddChatUser) Encode() []byte

func (*TLMessagesAddChatUser) GetChatId

func (m *TLMessagesAddChatUser) GetChatId() int32

func (*TLMessagesAddChatUser) GetFwdLimit

func (m *TLMessagesAddChatUser) GetFwdLimit() int32

func (*TLMessagesAddChatUser) GetUserId

func (m *TLMessagesAddChatUser) GetUserId() *InputUser

func (*TLMessagesAddChatUser) ProtoMessage

func (*TLMessagesAddChatUser) ProtoMessage()

func (*TLMessagesAddChatUser) Reset

func (m *TLMessagesAddChatUser) Reset()

func (*TLMessagesAddChatUser) String

func (m *TLMessagesAddChatUser) String() string

type TLMessagesAffectedHistory

type TLMessagesAffectedHistory struct {
	Data2 *Messages_AffectedHistory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;

func NewTLMessagesAffectedHistory

func NewTLMessagesAffectedHistory() *TLMessagesAffectedHistory

func (*TLMessagesAffectedHistory) Decode

func (m *TLMessagesAffectedHistory) Decode(dbuf *DecodeBuf) error

func (*TLMessagesAffectedHistory) Descriptor

func (*TLMessagesAffectedHistory) Descriptor() ([]byte, []int)

func (*TLMessagesAffectedHistory) Encode

func (m *TLMessagesAffectedHistory) Encode() []byte

func (*TLMessagesAffectedHistory) GetData2

func (*TLMessagesAffectedHistory) GetOffset

func (m *TLMessagesAffectedHistory) GetOffset() int32

func (*TLMessagesAffectedHistory) GetPts

func (m *TLMessagesAffectedHistory) GetPts() int32

func (*TLMessagesAffectedHistory) GetPtsCount

func (m *TLMessagesAffectedHistory) GetPtsCount() int32

func (*TLMessagesAffectedHistory) ProtoMessage

func (*TLMessagesAffectedHistory) ProtoMessage()

func (*TLMessagesAffectedHistory) Reset

func (m *TLMessagesAffectedHistory) Reset()

func (*TLMessagesAffectedHistory) SetOffset

func (m *TLMessagesAffectedHistory) SetOffset(v int32)

func (*TLMessagesAffectedHistory) SetPts

func (m *TLMessagesAffectedHistory) SetPts(v int32)

func (*TLMessagesAffectedHistory) SetPtsCount

func (m *TLMessagesAffectedHistory) SetPtsCount(v int32)

func (*TLMessagesAffectedHistory) String

func (m *TLMessagesAffectedHistory) String() string

func (*TLMessagesAffectedHistory) To_Messages_AffectedHistory

func (m *TLMessagesAffectedHistory) To_Messages_AffectedHistory() *Messages_AffectedHistory

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;

type TLMessagesAffectedMessages

type TLMessagesAffectedMessages struct {
	Data2 *Messages_AffectedMessages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;

func NewTLMessagesAffectedMessages

func NewTLMessagesAffectedMessages() *TLMessagesAffectedMessages

func (*TLMessagesAffectedMessages) Decode

func (m *TLMessagesAffectedMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesAffectedMessages) Descriptor

func (*TLMessagesAffectedMessages) Descriptor() ([]byte, []int)

func (*TLMessagesAffectedMessages) Encode

func (m *TLMessagesAffectedMessages) Encode() []byte

func (*TLMessagesAffectedMessages) GetData2

func (*TLMessagesAffectedMessages) GetPts

func (m *TLMessagesAffectedMessages) GetPts() int32

func (*TLMessagesAffectedMessages) GetPtsCount

func (m *TLMessagesAffectedMessages) GetPtsCount() int32

func (*TLMessagesAffectedMessages) ProtoMessage

func (*TLMessagesAffectedMessages) ProtoMessage()

func (*TLMessagesAffectedMessages) Reset

func (m *TLMessagesAffectedMessages) Reset()

func (*TLMessagesAffectedMessages) SetPts

func (m *TLMessagesAffectedMessages) SetPts(v int32)

func (*TLMessagesAffectedMessages) SetPtsCount

func (m *TLMessagesAffectedMessages) SetPtsCount(v int32)

func (*TLMessagesAffectedMessages) String

func (m *TLMessagesAffectedMessages) String() string

func (*TLMessagesAffectedMessages) To_Messages_AffectedMessages

func (m *TLMessagesAffectedMessages) To_Messages_AffectedMessages() *Messages_AffectedMessages

messages.affectedMessages#84d19185 pts:int pts_count:int = messages.AffectedMessages;

type TLMessagesAllStickers

type TLMessagesAllStickers struct {
	Data2 *Messages_AllStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;

func NewTLMessagesAllStickers

func NewTLMessagesAllStickers() *TLMessagesAllStickers

func (*TLMessagesAllStickers) Decode

func (m *TLMessagesAllStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesAllStickers) Descriptor

func (*TLMessagesAllStickers) Descriptor() ([]byte, []int)

func (*TLMessagesAllStickers) Encode

func (m *TLMessagesAllStickers) Encode() []byte

func (*TLMessagesAllStickers) GetData2

func (*TLMessagesAllStickers) GetHash

func (m *TLMessagesAllStickers) GetHash() int32

func (*TLMessagesAllStickers) GetSets

func (m *TLMessagesAllStickers) GetSets() []*StickerSet

func (*TLMessagesAllStickers) ProtoMessage

func (*TLMessagesAllStickers) ProtoMessage()

func (*TLMessagesAllStickers) Reset

func (m *TLMessagesAllStickers) Reset()

func (*TLMessagesAllStickers) SetHash

func (m *TLMessagesAllStickers) SetHash(v int32)

func (*TLMessagesAllStickers) SetSets

func (m *TLMessagesAllStickers) SetSets(v []*StickerSet)

func (*TLMessagesAllStickers) String

func (m *TLMessagesAllStickers) String() string

func (*TLMessagesAllStickers) To_Messages_AllStickers

func (m *TLMessagesAllStickers) To_Messages_AllStickers() *Messages_AllStickers

messages.allStickers#edfd405f hash:int sets:Vector<StickerSet> = messages.AllStickers;

type TLMessagesAllStickersNotModified

type TLMessagesAllStickersNotModified struct {
	Data2 *Messages_AllStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.allStickersNotModified#e86602c3 = messages.AllStickers;

func NewTLMessagesAllStickersNotModified

func NewTLMessagesAllStickersNotModified() *TLMessagesAllStickersNotModified

func (*TLMessagesAllStickersNotModified) Decode

func (*TLMessagesAllStickersNotModified) Descriptor

func (*TLMessagesAllStickersNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesAllStickersNotModified) Encode

func (m *TLMessagesAllStickersNotModified) Encode() []byte

func (*TLMessagesAllStickersNotModified) GetData2

func (*TLMessagesAllStickersNotModified) ProtoMessage

func (*TLMessagesAllStickersNotModified) ProtoMessage()

func (*TLMessagesAllStickersNotModified) Reset

func (*TLMessagesAllStickersNotModified) String

func (*TLMessagesAllStickersNotModified) To_Messages_AllStickers

func (m *TLMessagesAllStickersNotModified) To_Messages_AllStickers() *Messages_AllStickers

messages.allStickersNotModified#e86602c3 = messages.AllStickers;

type TLMessagesArchivedStickers

type TLMessagesArchivedStickers struct {
	Data2 *Messages_ArchivedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = messages.ArchivedStickers;

func NewTLMessagesArchivedStickers

func NewTLMessagesArchivedStickers() *TLMessagesArchivedStickers

func (*TLMessagesArchivedStickers) Decode

func (m *TLMessagesArchivedStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesArchivedStickers) Descriptor

func (*TLMessagesArchivedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesArchivedStickers) Encode

func (m *TLMessagesArchivedStickers) Encode() []byte

func (*TLMessagesArchivedStickers) GetCount

func (m *TLMessagesArchivedStickers) GetCount() int32

func (*TLMessagesArchivedStickers) GetData2

func (*TLMessagesArchivedStickers) GetSets

func (*TLMessagesArchivedStickers) ProtoMessage

func (*TLMessagesArchivedStickers) ProtoMessage()

func (*TLMessagesArchivedStickers) Reset

func (m *TLMessagesArchivedStickers) Reset()

func (*TLMessagesArchivedStickers) SetCount

func (m *TLMessagesArchivedStickers) SetCount(v int32)

func (*TLMessagesArchivedStickers) SetSets

func (*TLMessagesArchivedStickers) String

func (m *TLMessagesArchivedStickers) String() string

func (*TLMessagesArchivedStickers) To_Messages_ArchivedStickers

func (m *TLMessagesArchivedStickers) To_Messages_ArchivedStickers() *Messages_ArchivedStickers

messages.archivedStickers#4fcba9c8 count:int sets:Vector<StickerSetCovered> = messages.ArchivedStickers;

type TLMessagesBotCallbackAnswer

type TLMessagesBotCallbackAnswer struct {
	Data2 *Messages_BotCallbackAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer;

func NewTLMessagesBotCallbackAnswer

func NewTLMessagesBotCallbackAnswer() *TLMessagesBotCallbackAnswer

func (*TLMessagesBotCallbackAnswer) Decode

func (m *TLMessagesBotCallbackAnswer) Decode(dbuf *DecodeBuf) error

func (*TLMessagesBotCallbackAnswer) Descriptor

func (*TLMessagesBotCallbackAnswer) Descriptor() ([]byte, []int)

func (*TLMessagesBotCallbackAnswer) Encode

func (m *TLMessagesBotCallbackAnswer) Encode() []byte

func (*TLMessagesBotCallbackAnswer) GetAlert

func (m *TLMessagesBotCallbackAnswer) GetAlert() bool

func (*TLMessagesBotCallbackAnswer) GetCacheTime

func (m *TLMessagesBotCallbackAnswer) GetCacheTime() int32

func (*TLMessagesBotCallbackAnswer) GetData2

func (*TLMessagesBotCallbackAnswer) GetHasUrl

func (m *TLMessagesBotCallbackAnswer) GetHasUrl() bool

func (*TLMessagesBotCallbackAnswer) GetMessage

func (m *TLMessagesBotCallbackAnswer) GetMessage() string

func (*TLMessagesBotCallbackAnswer) GetNativeUi

func (m *TLMessagesBotCallbackAnswer) GetNativeUi() bool

func (*TLMessagesBotCallbackAnswer) GetUrl

func (m *TLMessagesBotCallbackAnswer) GetUrl() string

func (*TLMessagesBotCallbackAnswer) ProtoMessage

func (*TLMessagesBotCallbackAnswer) ProtoMessage()

func (*TLMessagesBotCallbackAnswer) Reset

func (m *TLMessagesBotCallbackAnswer) Reset()

func (*TLMessagesBotCallbackAnswer) SetAlert

func (m *TLMessagesBotCallbackAnswer) SetAlert(v bool)

func (*TLMessagesBotCallbackAnswer) SetCacheTime

func (m *TLMessagesBotCallbackAnswer) SetCacheTime(v int32)

func (*TLMessagesBotCallbackAnswer) SetHasUrl

func (m *TLMessagesBotCallbackAnswer) SetHasUrl(v bool)

func (*TLMessagesBotCallbackAnswer) SetMessage

func (m *TLMessagesBotCallbackAnswer) SetMessage(v string)

func (*TLMessagesBotCallbackAnswer) SetNativeUi

func (m *TLMessagesBotCallbackAnswer) SetNativeUi(v bool)

func (*TLMessagesBotCallbackAnswer) SetUrl

func (m *TLMessagesBotCallbackAnswer) SetUrl(v string)

func (*TLMessagesBotCallbackAnswer) String

func (m *TLMessagesBotCallbackAnswer) String() string

func (*TLMessagesBotCallbackAnswer) To_Messages_BotCallbackAnswer

func (m *TLMessagesBotCallbackAnswer) To_Messages_BotCallbackAnswer() *Messages_BotCallbackAnswer

messages.botCallbackAnswer#36585ea4 flags:# alert:flags.1?true has_url:flags.3?true native_ui:flags.4?true message:flags.0?string url:flags.2?string cache_time:int = messages.BotCallbackAnswer;

type TLMessagesBotResults

type TLMessagesBotResults struct {
	Data2 *Messages_BotResults_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;

func NewTLMessagesBotResults

func NewTLMessagesBotResults() *TLMessagesBotResults

func (*TLMessagesBotResults) Decode

func (m *TLMessagesBotResults) Decode(dbuf *DecodeBuf) error

func (*TLMessagesBotResults) Descriptor

func (*TLMessagesBotResults) Descriptor() ([]byte, []int)

func (*TLMessagesBotResults) Encode

func (m *TLMessagesBotResults) Encode() []byte

func (*TLMessagesBotResults) GetCacheTime

func (m *TLMessagesBotResults) GetCacheTime() int32

func (*TLMessagesBotResults) GetData2

func (*TLMessagesBotResults) GetGallery

func (m *TLMessagesBotResults) GetGallery() bool

func (*TLMessagesBotResults) GetNextOffset

func (m *TLMessagesBotResults) GetNextOffset() string

func (*TLMessagesBotResults) GetQueryId

func (m *TLMessagesBotResults) GetQueryId() int64

func (*TLMessagesBotResults) GetResults

func (m *TLMessagesBotResults) GetResults() []*BotInlineResult

func (*TLMessagesBotResults) GetSwitchPm

func (m *TLMessagesBotResults) GetSwitchPm() *InlineBotSwitchPM

func (*TLMessagesBotResults) GetUsers

func (m *TLMessagesBotResults) GetUsers() []*User

func (*TLMessagesBotResults) ProtoMessage

func (*TLMessagesBotResults) ProtoMessage()

func (*TLMessagesBotResults) Reset

func (m *TLMessagesBotResults) Reset()

func (*TLMessagesBotResults) SetCacheTime

func (m *TLMessagesBotResults) SetCacheTime(v int32)

func (*TLMessagesBotResults) SetGallery

func (m *TLMessagesBotResults) SetGallery(v bool)

func (*TLMessagesBotResults) SetNextOffset

func (m *TLMessagesBotResults) SetNextOffset(v string)

func (*TLMessagesBotResults) SetQueryId

func (m *TLMessagesBotResults) SetQueryId(v int64)

func (*TLMessagesBotResults) SetResults

func (m *TLMessagesBotResults) SetResults(v []*BotInlineResult)

func (*TLMessagesBotResults) SetSwitchPm

func (m *TLMessagesBotResults) SetSwitchPm(v *InlineBotSwitchPM)

func (*TLMessagesBotResults) SetUsers

func (m *TLMessagesBotResults) SetUsers(v []*User)

func (*TLMessagesBotResults) String

func (m *TLMessagesBotResults) String() string

func (*TLMessagesBotResults) To_Messages_BotResults

func (m *TLMessagesBotResults) To_Messages_BotResults() *Messages_BotResults

messages.botResults#947ca848 flags:# gallery:flags.0?true query_id:long next_offset:flags.1?string switch_pm:flags.2?InlineBotSwitchPM results:Vector<BotInlineResult> cache_time:int users:Vector<User> = messages.BotResults;

type TLMessagesChannelMessages

type TLMessagesChannelMessages struct {
	Data2 *Messages_Messages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

func NewTLMessagesChannelMessages

func NewTLMessagesChannelMessages() *TLMessagesChannelMessages

func (*TLMessagesChannelMessages) Decode

func (m *TLMessagesChannelMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesChannelMessages) Descriptor

func (*TLMessagesChannelMessages) Descriptor() ([]byte, []int)

func (*TLMessagesChannelMessages) Encode

func (m *TLMessagesChannelMessages) Encode() []byte

func (*TLMessagesChannelMessages) GetChats

func (m *TLMessagesChannelMessages) GetChats() []*Chat

func (*TLMessagesChannelMessages) GetCount

func (m *TLMessagesChannelMessages) GetCount() int32

func (*TLMessagesChannelMessages) GetData2

func (*TLMessagesChannelMessages) GetMessages

func (m *TLMessagesChannelMessages) GetMessages() []*Message

func (*TLMessagesChannelMessages) GetPts

func (m *TLMessagesChannelMessages) GetPts() int32

func (*TLMessagesChannelMessages) GetUsers

func (m *TLMessagesChannelMessages) GetUsers() []*User

func (*TLMessagesChannelMessages) ProtoMessage

func (*TLMessagesChannelMessages) ProtoMessage()

func (*TLMessagesChannelMessages) Reset

func (m *TLMessagesChannelMessages) Reset()

func (*TLMessagesChannelMessages) SetChats

func (m *TLMessagesChannelMessages) SetChats(v []*Chat)

func (*TLMessagesChannelMessages) SetCount

func (m *TLMessagesChannelMessages) SetCount(v int32)

func (*TLMessagesChannelMessages) SetMessages

func (m *TLMessagesChannelMessages) SetMessages(v []*Message)

func (*TLMessagesChannelMessages) SetPts

func (m *TLMessagesChannelMessages) SetPts(v int32)

func (*TLMessagesChannelMessages) SetUsers

func (m *TLMessagesChannelMessages) SetUsers(v []*User)

func (*TLMessagesChannelMessages) String

func (m *TLMessagesChannelMessages) String() string

func (*TLMessagesChannelMessages) To_Messages_Messages

func (m *TLMessagesChannelMessages) To_Messages_Messages() *Messages_Messages

messages.channelMessages#99262e37 flags:# pts:int count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

type TLMessagesChatFull

type TLMessagesChatFull struct {
	Data2 *Messages_ChatFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;

func NewTLMessagesChatFull

func NewTLMessagesChatFull() *TLMessagesChatFull

func (*TLMessagesChatFull) Decode

func (m *TLMessagesChatFull) Decode(dbuf *DecodeBuf) error

func (*TLMessagesChatFull) Descriptor

func (*TLMessagesChatFull) Descriptor() ([]byte, []int)

func (*TLMessagesChatFull) Encode

func (m *TLMessagesChatFull) Encode() []byte

func (*TLMessagesChatFull) GetChats

func (m *TLMessagesChatFull) GetChats() []*Chat

func (*TLMessagesChatFull) GetData2

func (*TLMessagesChatFull) GetFullChat

func (m *TLMessagesChatFull) GetFullChat() *ChatFull

func (*TLMessagesChatFull) GetUsers

func (m *TLMessagesChatFull) GetUsers() []*User

func (*TLMessagesChatFull) ProtoMessage

func (*TLMessagesChatFull) ProtoMessage()

func (*TLMessagesChatFull) Reset

func (m *TLMessagesChatFull) Reset()

func (*TLMessagesChatFull) SetChats

func (m *TLMessagesChatFull) SetChats(v []*Chat)

func (*TLMessagesChatFull) SetFullChat

func (m *TLMessagesChatFull) SetFullChat(v *ChatFull)

func (*TLMessagesChatFull) SetUsers

func (m *TLMessagesChatFull) SetUsers(v []*User)

func (*TLMessagesChatFull) String

func (m *TLMessagesChatFull) String() string

func (*TLMessagesChatFull) To_Messages_ChatFull

func (m *TLMessagesChatFull) To_Messages_ChatFull() *Messages_ChatFull

messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull;

type TLMessagesChats

type TLMessagesChats struct {
	Data2 *Messages_Chats_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;

func NewTLMessagesChats

func NewTLMessagesChats() *TLMessagesChats

func (*TLMessagesChats) Decode

func (m *TLMessagesChats) Decode(dbuf *DecodeBuf) error

func (*TLMessagesChats) Descriptor

func (*TLMessagesChats) Descriptor() ([]byte, []int)

func (*TLMessagesChats) Encode

func (m *TLMessagesChats) Encode() []byte

func (*TLMessagesChats) GetChats

func (m *TLMessagesChats) GetChats() []*Chat

func (*TLMessagesChats) GetData2

func (m *TLMessagesChats) GetData2() *Messages_Chats_Data

func (*TLMessagesChats) ProtoMessage

func (*TLMessagesChats) ProtoMessage()

func (*TLMessagesChats) Reset

func (m *TLMessagesChats) Reset()

func (*TLMessagesChats) SetChats

func (m *TLMessagesChats) SetChats(v []*Chat)

func (*TLMessagesChats) String

func (m *TLMessagesChats) String() string

func (*TLMessagesChats) To_Messages_Chats

func (m *TLMessagesChats) To_Messages_Chats() *Messages_Chats

messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;

type TLMessagesChatsSlice

type TLMessagesChatsSlice struct {
	Data2 *Messages_Chats_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;

func NewTLMessagesChatsSlice

func NewTLMessagesChatsSlice() *TLMessagesChatsSlice

func (*TLMessagesChatsSlice) Decode

func (m *TLMessagesChatsSlice) Decode(dbuf *DecodeBuf) error

func (*TLMessagesChatsSlice) Descriptor

func (*TLMessagesChatsSlice) Descriptor() ([]byte, []int)

func (*TLMessagesChatsSlice) Encode

func (m *TLMessagesChatsSlice) Encode() []byte

func (*TLMessagesChatsSlice) GetChats

func (m *TLMessagesChatsSlice) GetChats() []*Chat

func (*TLMessagesChatsSlice) GetCount

func (m *TLMessagesChatsSlice) GetCount() int32

func (*TLMessagesChatsSlice) GetData2

func (*TLMessagesChatsSlice) ProtoMessage

func (*TLMessagesChatsSlice) ProtoMessage()

func (*TLMessagesChatsSlice) Reset

func (m *TLMessagesChatsSlice) Reset()

func (*TLMessagesChatsSlice) SetChats

func (m *TLMessagesChatsSlice) SetChats(v []*Chat)

func (*TLMessagesChatsSlice) SetCount

func (m *TLMessagesChatsSlice) SetCount(v int32)

func (*TLMessagesChatsSlice) String

func (m *TLMessagesChatsSlice) String() string

func (*TLMessagesChatsSlice) To_Messages_Chats

func (m *TLMessagesChatsSlice) To_Messages_Chats() *Messages_Chats

messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;

type TLMessagesCheckChatInvite

type TLMessagesCheckChatInvite struct {
	Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.checkChatInvite#3eadb1bb hash:string = ChatInvite;

func NewTLMessagesCheckChatInvite

func NewTLMessagesCheckChatInvite() *TLMessagesCheckChatInvite

func (*TLMessagesCheckChatInvite) Decode

func (m *TLMessagesCheckChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLMessagesCheckChatInvite) Descriptor

func (*TLMessagesCheckChatInvite) Descriptor() ([]byte, []int)

func (*TLMessagesCheckChatInvite) Encode

func (m *TLMessagesCheckChatInvite) Encode() []byte

func (*TLMessagesCheckChatInvite) GetHash

func (m *TLMessagesCheckChatInvite) GetHash() string

func (*TLMessagesCheckChatInvite) ProtoMessage

func (*TLMessagesCheckChatInvite) ProtoMessage()

func (*TLMessagesCheckChatInvite) Reset

func (m *TLMessagesCheckChatInvite) Reset()

func (*TLMessagesCheckChatInvite) String

func (m *TLMessagesCheckChatInvite) String() string

type TLMessagesClearRecentStickers

type TLMessagesClearRecentStickers struct {
	Attached bool `protobuf:"varint,2,opt,name=attached" json:"attached,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.clearRecentStickers#8999602d flags:# attached:flags.0?true = Bool;

func NewTLMessagesClearRecentStickers

func NewTLMessagesClearRecentStickers() *TLMessagesClearRecentStickers

func (*TLMessagesClearRecentStickers) Decode

func (*TLMessagesClearRecentStickers) Descriptor

func (*TLMessagesClearRecentStickers) Descriptor() ([]byte, []int)

func (*TLMessagesClearRecentStickers) Encode

func (m *TLMessagesClearRecentStickers) Encode() []byte

func (*TLMessagesClearRecentStickers) GetAttached

func (m *TLMessagesClearRecentStickers) GetAttached() bool

func (*TLMessagesClearRecentStickers) ProtoMessage

func (*TLMessagesClearRecentStickers) ProtoMessage()

func (*TLMessagesClearRecentStickers) Reset

func (m *TLMessagesClearRecentStickers) Reset()

func (*TLMessagesClearRecentStickers) String

type TLMessagesCreateChat

type TLMessagesCreateChat struct {
	Users []*InputUser `protobuf:"bytes,1,rep,name=users" json:"users,omitempty"`
	Title string       `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.createChat#9cb126e users:Vector<InputUser> title:string = Updates;

func NewTLMessagesCreateChat

func NewTLMessagesCreateChat() *TLMessagesCreateChat

func (*TLMessagesCreateChat) Decode

func (m *TLMessagesCreateChat) Decode(dbuf *DecodeBuf) error

func (*TLMessagesCreateChat) Descriptor

func (*TLMessagesCreateChat) Descriptor() ([]byte, []int)

func (*TLMessagesCreateChat) Encode

func (m *TLMessagesCreateChat) Encode() []byte

func (*TLMessagesCreateChat) GetTitle

func (m *TLMessagesCreateChat) GetTitle() string

func (*TLMessagesCreateChat) GetUsers

func (m *TLMessagesCreateChat) GetUsers() []*InputUser

func (*TLMessagesCreateChat) ProtoMessage

func (*TLMessagesCreateChat) ProtoMessage()

func (*TLMessagesCreateChat) Reset

func (m *TLMessagesCreateChat) Reset()

func (*TLMessagesCreateChat) String

func (m *TLMessagesCreateChat) String() string

type TLMessagesDeleteChatUser

type TLMessagesDeleteChatUser struct {
	ChatId int32      `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	UserId *InputUser `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.deleteChatUser#e0611f16 chat_id:int user_id:InputUser = Updates;

func NewTLMessagesDeleteChatUser

func NewTLMessagesDeleteChatUser() *TLMessagesDeleteChatUser

func (*TLMessagesDeleteChatUser) Decode

func (m *TLMessagesDeleteChatUser) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDeleteChatUser) Descriptor

func (*TLMessagesDeleteChatUser) Descriptor() ([]byte, []int)

func (*TLMessagesDeleteChatUser) Encode

func (m *TLMessagesDeleteChatUser) Encode() []byte

func (*TLMessagesDeleteChatUser) GetChatId

func (m *TLMessagesDeleteChatUser) GetChatId() int32

func (*TLMessagesDeleteChatUser) GetUserId

func (m *TLMessagesDeleteChatUser) GetUserId() *InputUser

func (*TLMessagesDeleteChatUser) ProtoMessage

func (*TLMessagesDeleteChatUser) ProtoMessage()

func (*TLMessagesDeleteChatUser) Reset

func (m *TLMessagesDeleteChatUser) Reset()

func (*TLMessagesDeleteChatUser) String

func (m *TLMessagesDeleteChatUser) String() string

type TLMessagesDeleteHistory

type TLMessagesDeleteHistory struct {
	JustClear bool       `protobuf:"varint,2,opt,name=just_clear,json=justClear" json:"just_clear,omitempty"`
	Peer      *InputPeer `protobuf:"bytes,3,opt,name=peer" json:"peer,omitempty"`
	MaxId     int32      `protobuf:"varint,4,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.deleteHistory#1c015b09 flags:# just_clear:flags.0?true peer:InputPeer max_id:int = messages.AffectedHistory;

func NewTLMessagesDeleteHistory

func NewTLMessagesDeleteHistory() *TLMessagesDeleteHistory

func (*TLMessagesDeleteHistory) Decode

func (m *TLMessagesDeleteHistory) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDeleteHistory) Descriptor

func (*TLMessagesDeleteHistory) Descriptor() ([]byte, []int)

func (*TLMessagesDeleteHistory) Encode

func (m *TLMessagesDeleteHistory) Encode() []byte

func (*TLMessagesDeleteHistory) GetJustClear

func (m *TLMessagesDeleteHistory) GetJustClear() bool

func (*TLMessagesDeleteHistory) GetMaxId

func (m *TLMessagesDeleteHistory) GetMaxId() int32

func (*TLMessagesDeleteHistory) GetPeer

func (m *TLMessagesDeleteHistory) GetPeer() *InputPeer

func (*TLMessagesDeleteHistory) ProtoMessage

func (*TLMessagesDeleteHistory) ProtoMessage()

func (*TLMessagesDeleteHistory) Reset

func (m *TLMessagesDeleteHistory) Reset()

func (*TLMessagesDeleteHistory) String

func (m *TLMessagesDeleteHistory) String() string

type TLMessagesDeleteMessages

type TLMessagesDeleteMessages struct {
	Revoke bool    `protobuf:"varint,2,opt,name=revoke" json:"revoke,omitempty"`
	Id     []int32 `protobuf:"varint,3,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.deleteMessages#e58e95d2 flags:# revoke:flags.0?true id:Vector<int> = messages.AffectedMessages;

func NewTLMessagesDeleteMessages

func NewTLMessagesDeleteMessages() *TLMessagesDeleteMessages

func (*TLMessagesDeleteMessages) Decode

func (m *TLMessagesDeleteMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDeleteMessages) Descriptor

func (*TLMessagesDeleteMessages) Descriptor() ([]byte, []int)

func (*TLMessagesDeleteMessages) Encode

func (m *TLMessagesDeleteMessages) Encode() []byte

func (*TLMessagesDeleteMessages) GetId

func (m *TLMessagesDeleteMessages) GetId() []int32

func (*TLMessagesDeleteMessages) GetRevoke

func (m *TLMessagesDeleteMessages) GetRevoke() bool

func (*TLMessagesDeleteMessages) ProtoMessage

func (*TLMessagesDeleteMessages) ProtoMessage()

func (*TLMessagesDeleteMessages) Reset

func (m *TLMessagesDeleteMessages) Reset()

func (*TLMessagesDeleteMessages) String

func (m *TLMessagesDeleteMessages) String() string

type TLMessagesDhConfig

type TLMessagesDhConfig struct {
	Data2 *Messages_DhConfig_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;

func NewTLMessagesDhConfig

func NewTLMessagesDhConfig() *TLMessagesDhConfig

func (*TLMessagesDhConfig) Decode

func (m *TLMessagesDhConfig) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDhConfig) Descriptor

func (*TLMessagesDhConfig) Descriptor() ([]byte, []int)

func (*TLMessagesDhConfig) Encode

func (m *TLMessagesDhConfig) Encode() []byte

func (*TLMessagesDhConfig) GetData2

func (*TLMessagesDhConfig) GetG

func (m *TLMessagesDhConfig) GetG() int32

func (*TLMessagesDhConfig) GetP

func (m *TLMessagesDhConfig) GetP() []byte

func (*TLMessagesDhConfig) GetRandom

func (m *TLMessagesDhConfig) GetRandom() []byte

func (*TLMessagesDhConfig) GetVersion

func (m *TLMessagesDhConfig) GetVersion() int32

func (*TLMessagesDhConfig) ProtoMessage

func (*TLMessagesDhConfig) ProtoMessage()

func (*TLMessagesDhConfig) Reset

func (m *TLMessagesDhConfig) Reset()

func (*TLMessagesDhConfig) SetG

func (m *TLMessagesDhConfig) SetG(v int32)

func (*TLMessagesDhConfig) SetP

func (m *TLMessagesDhConfig) SetP(v []byte)

func (*TLMessagesDhConfig) SetRandom

func (m *TLMessagesDhConfig) SetRandom(v []byte)

func (*TLMessagesDhConfig) SetVersion

func (m *TLMessagesDhConfig) SetVersion(v int32)

func (*TLMessagesDhConfig) String

func (m *TLMessagesDhConfig) String() string

func (*TLMessagesDhConfig) To_Messages_DhConfig

func (m *TLMessagesDhConfig) To_Messages_DhConfig() *Messages_DhConfig

messages.dhConfig#2c221edd g:int p:bytes version:int random:bytes = messages.DhConfig;

type TLMessagesDhConfigNotModified

type TLMessagesDhConfigNotModified struct {
	Data2 *Messages_DhConfig_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;

func NewTLMessagesDhConfigNotModified

func NewTLMessagesDhConfigNotModified() *TLMessagesDhConfigNotModified

func (*TLMessagesDhConfigNotModified) Decode

func (*TLMessagesDhConfigNotModified) Descriptor

func (*TLMessagesDhConfigNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesDhConfigNotModified) Encode

func (m *TLMessagesDhConfigNotModified) Encode() []byte

func (*TLMessagesDhConfigNotModified) GetData2

func (*TLMessagesDhConfigNotModified) GetRandom

func (m *TLMessagesDhConfigNotModified) GetRandom() []byte

func (*TLMessagesDhConfigNotModified) ProtoMessage

func (*TLMessagesDhConfigNotModified) ProtoMessage()

func (*TLMessagesDhConfigNotModified) Reset

func (m *TLMessagesDhConfigNotModified) Reset()

func (*TLMessagesDhConfigNotModified) SetRandom

func (m *TLMessagesDhConfigNotModified) SetRandom(v []byte)

func (*TLMessagesDhConfigNotModified) String

func (*TLMessagesDhConfigNotModified) To_Messages_DhConfig

func (m *TLMessagesDhConfigNotModified) To_Messages_DhConfig() *Messages_DhConfig

messages.dhConfigNotModified#c0e24635 random:bytes = messages.DhConfig;

type TLMessagesDialogs

type TLMessagesDialogs struct {
	Data2 *Messages_Dialogs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

func NewTLMessagesDialogs

func NewTLMessagesDialogs() *TLMessagesDialogs

func (*TLMessagesDialogs) Decode

func (m *TLMessagesDialogs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDialogs) Descriptor

func (*TLMessagesDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesDialogs) Encode

func (m *TLMessagesDialogs) Encode() []byte

func (*TLMessagesDialogs) GetChats

func (m *TLMessagesDialogs) GetChats() []*Chat

func (*TLMessagesDialogs) GetData2

func (*TLMessagesDialogs) GetDialogs

func (m *TLMessagesDialogs) GetDialogs() []*Dialog

func (*TLMessagesDialogs) GetMessages

func (m *TLMessagesDialogs) GetMessages() []*Message

func (*TLMessagesDialogs) GetUsers

func (m *TLMessagesDialogs) GetUsers() []*User

func (*TLMessagesDialogs) ProtoMessage

func (*TLMessagesDialogs) ProtoMessage()

func (*TLMessagesDialogs) Reset

func (m *TLMessagesDialogs) Reset()

func (*TLMessagesDialogs) SetChats

func (m *TLMessagesDialogs) SetChats(v []*Chat)

func (*TLMessagesDialogs) SetDialogs

func (m *TLMessagesDialogs) SetDialogs(v []*Dialog)

func (*TLMessagesDialogs) SetMessages

func (m *TLMessagesDialogs) SetMessages(v []*Message)

func (*TLMessagesDialogs) SetUsers

func (m *TLMessagesDialogs) SetUsers(v []*User)

func (*TLMessagesDialogs) String

func (m *TLMessagesDialogs) String() string

func (*TLMessagesDialogs) To_Messages_Dialogs

func (m *TLMessagesDialogs) To_Messages_Dialogs() *Messages_Dialogs

messages.dialogs#15ba6c40 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

type TLMessagesDialogsSlice

type TLMessagesDialogsSlice struct {
	Data2 *Messages_Dialogs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

func NewTLMessagesDialogsSlice

func NewTLMessagesDialogsSlice() *TLMessagesDialogsSlice

func (*TLMessagesDialogsSlice) Decode

func (m *TLMessagesDialogsSlice) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDialogsSlice) Descriptor

func (*TLMessagesDialogsSlice) Descriptor() ([]byte, []int)

func (*TLMessagesDialogsSlice) Encode

func (m *TLMessagesDialogsSlice) Encode() []byte

func (*TLMessagesDialogsSlice) GetChats

func (m *TLMessagesDialogsSlice) GetChats() []*Chat

func (*TLMessagesDialogsSlice) GetCount

func (m *TLMessagesDialogsSlice) GetCount() int32

func (*TLMessagesDialogsSlice) GetData2

func (*TLMessagesDialogsSlice) GetDialogs

func (m *TLMessagesDialogsSlice) GetDialogs() []*Dialog

func (*TLMessagesDialogsSlice) GetMessages

func (m *TLMessagesDialogsSlice) GetMessages() []*Message

func (*TLMessagesDialogsSlice) GetUsers

func (m *TLMessagesDialogsSlice) GetUsers() []*User

func (*TLMessagesDialogsSlice) ProtoMessage

func (*TLMessagesDialogsSlice) ProtoMessage()

func (*TLMessagesDialogsSlice) Reset

func (m *TLMessagesDialogsSlice) Reset()

func (*TLMessagesDialogsSlice) SetChats

func (m *TLMessagesDialogsSlice) SetChats(v []*Chat)

func (*TLMessagesDialogsSlice) SetCount

func (m *TLMessagesDialogsSlice) SetCount(v int32)

func (*TLMessagesDialogsSlice) SetDialogs

func (m *TLMessagesDialogsSlice) SetDialogs(v []*Dialog)

func (*TLMessagesDialogsSlice) SetMessages

func (m *TLMessagesDialogsSlice) SetMessages(v []*Message)

func (*TLMessagesDialogsSlice) SetUsers

func (m *TLMessagesDialogsSlice) SetUsers(v []*User)

func (*TLMessagesDialogsSlice) String

func (m *TLMessagesDialogsSlice) String() string

func (*TLMessagesDialogsSlice) To_Messages_Dialogs

func (m *TLMessagesDialogsSlice) To_Messages_Dialogs() *Messages_Dialogs

messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Dialogs;

type TLMessagesDiscardEncryption

type TLMessagesDiscardEncryption struct {
	ChatId int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.discardEncryption#edd923c5 chat_id:int = Bool;

func NewTLMessagesDiscardEncryption

func NewTLMessagesDiscardEncryption() *TLMessagesDiscardEncryption

func (*TLMessagesDiscardEncryption) Decode

func (m *TLMessagesDiscardEncryption) Decode(dbuf *DecodeBuf) error

func (*TLMessagesDiscardEncryption) Descriptor

func (*TLMessagesDiscardEncryption) Descriptor() ([]byte, []int)

func (*TLMessagesDiscardEncryption) Encode

func (m *TLMessagesDiscardEncryption) Encode() []byte

func (*TLMessagesDiscardEncryption) GetChatId

func (m *TLMessagesDiscardEncryption) GetChatId() int32

func (*TLMessagesDiscardEncryption) ProtoMessage

func (*TLMessagesDiscardEncryption) ProtoMessage()

func (*TLMessagesDiscardEncryption) Reset

func (m *TLMessagesDiscardEncryption) Reset()

func (*TLMessagesDiscardEncryption) String

func (m *TLMessagesDiscardEncryption) String() string

type TLMessagesEditChatAdmin

type TLMessagesEditChatAdmin struct {
	ChatId  int32      `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	UserId  *InputUser `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	IsAdmin *Bool      `protobuf:"bytes,3,opt,name=is_admin,json=isAdmin" json:"is_admin,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.editChatAdmin#a9e69f2e chat_id:int user_id:InputUser is_admin:Bool = Bool;

func NewTLMessagesEditChatAdmin

func NewTLMessagesEditChatAdmin() *TLMessagesEditChatAdmin

func (*TLMessagesEditChatAdmin) Decode

func (m *TLMessagesEditChatAdmin) Decode(dbuf *DecodeBuf) error

func (*TLMessagesEditChatAdmin) Descriptor

func (*TLMessagesEditChatAdmin) Descriptor() ([]byte, []int)

func (*TLMessagesEditChatAdmin) Encode

func (m *TLMessagesEditChatAdmin) Encode() []byte

func (*TLMessagesEditChatAdmin) GetChatId

func (m *TLMessagesEditChatAdmin) GetChatId() int32

func (*TLMessagesEditChatAdmin) GetIsAdmin

func (m *TLMessagesEditChatAdmin) GetIsAdmin() *Bool

func (*TLMessagesEditChatAdmin) GetUserId

func (m *TLMessagesEditChatAdmin) GetUserId() *InputUser

func (*TLMessagesEditChatAdmin) ProtoMessage

func (*TLMessagesEditChatAdmin) ProtoMessage()

func (*TLMessagesEditChatAdmin) Reset

func (m *TLMessagesEditChatAdmin) Reset()

func (*TLMessagesEditChatAdmin) String

func (m *TLMessagesEditChatAdmin) String() string

type TLMessagesEditChatPhoto

type TLMessagesEditChatPhoto struct {
	ChatId int32           `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Photo  *InputChatPhoto `protobuf:"bytes,2,opt,name=photo" json:"photo,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.editChatPhoto#ca4c79d8 chat_id:int photo:InputChatPhoto = Updates;

func NewTLMessagesEditChatPhoto

func NewTLMessagesEditChatPhoto() *TLMessagesEditChatPhoto

func (*TLMessagesEditChatPhoto) Decode

func (m *TLMessagesEditChatPhoto) Decode(dbuf *DecodeBuf) error

func (*TLMessagesEditChatPhoto) Descriptor

func (*TLMessagesEditChatPhoto) Descriptor() ([]byte, []int)

func (*TLMessagesEditChatPhoto) Encode

func (m *TLMessagesEditChatPhoto) Encode() []byte

func (*TLMessagesEditChatPhoto) GetChatId

func (m *TLMessagesEditChatPhoto) GetChatId() int32

func (*TLMessagesEditChatPhoto) GetPhoto

func (m *TLMessagesEditChatPhoto) GetPhoto() *InputChatPhoto

func (*TLMessagesEditChatPhoto) ProtoMessage

func (*TLMessagesEditChatPhoto) ProtoMessage()

func (*TLMessagesEditChatPhoto) Reset

func (m *TLMessagesEditChatPhoto) Reset()

func (*TLMessagesEditChatPhoto) String

func (m *TLMessagesEditChatPhoto) String() string

type TLMessagesEditChatTitle

type TLMessagesEditChatTitle struct {
	ChatId int32  `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Title  string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.editChatTitle#dc452855 chat_id:int title:string = Updates;

func NewTLMessagesEditChatTitle

func NewTLMessagesEditChatTitle() *TLMessagesEditChatTitle

func (*TLMessagesEditChatTitle) Decode

func (m *TLMessagesEditChatTitle) Decode(dbuf *DecodeBuf) error

func (*TLMessagesEditChatTitle) Descriptor

func (*TLMessagesEditChatTitle) Descriptor() ([]byte, []int)

func (*TLMessagesEditChatTitle) Encode

func (m *TLMessagesEditChatTitle) Encode() []byte

func (*TLMessagesEditChatTitle) GetChatId

func (m *TLMessagesEditChatTitle) GetChatId() int32

func (*TLMessagesEditChatTitle) GetTitle

func (m *TLMessagesEditChatTitle) GetTitle() string

func (*TLMessagesEditChatTitle) ProtoMessage

func (*TLMessagesEditChatTitle) ProtoMessage()

func (*TLMessagesEditChatTitle) Reset

func (m *TLMessagesEditChatTitle) Reset()

func (*TLMessagesEditChatTitle) String

func (m *TLMessagesEditChatTitle) String() string

type TLMessagesEditInlineBotMessage

type TLMessagesEditInlineBotMessage struct {
	NoWebpage   bool                     `protobuf:"varint,2,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	StopGeoLive bool                     `protobuf:"varint,3,opt,name=stop_geo_live,json=stopGeoLive" json:"stop_geo_live,omitempty"`
	Id          *InputBotInlineMessageID `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"`
	Message     string                   `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	ReplyMarkup *ReplyMarkup             `protobuf:"bytes,6,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	Entities    []*MessageEntity         `protobuf:"bytes,7,rep,name=entities" json:"entities,omitempty"`
	GeoPoint    *InputGeoPoint           `protobuf:"bytes,8,opt,name=geo_point,json=geoPoint" json:"geo_point,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.editInlineBotMessage#b0e08243 flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true id:InputBotInlineMessageID message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Bool;

func NewTLMessagesEditInlineBotMessage

func NewTLMessagesEditInlineBotMessage() *TLMessagesEditInlineBotMessage

func (*TLMessagesEditInlineBotMessage) Decode

func (*TLMessagesEditInlineBotMessage) Descriptor

func (*TLMessagesEditInlineBotMessage) Descriptor() ([]byte, []int)

func (*TLMessagesEditInlineBotMessage) Encode

func (m *TLMessagesEditInlineBotMessage) Encode() []byte

func (*TLMessagesEditInlineBotMessage) GetEntities

func (m *TLMessagesEditInlineBotMessage) GetEntities() []*MessageEntity

func (*TLMessagesEditInlineBotMessage) GetGeoPoint

func (*TLMessagesEditInlineBotMessage) GetId

func (*TLMessagesEditInlineBotMessage) GetMessage

func (m *TLMessagesEditInlineBotMessage) GetMessage() string

func (*TLMessagesEditInlineBotMessage) GetNoWebpage

func (m *TLMessagesEditInlineBotMessage) GetNoWebpage() bool

func (*TLMessagesEditInlineBotMessage) GetReplyMarkup

func (m *TLMessagesEditInlineBotMessage) GetReplyMarkup() *ReplyMarkup

func (*TLMessagesEditInlineBotMessage) GetStopGeoLive

func (m *TLMessagesEditInlineBotMessage) GetStopGeoLive() bool

func (*TLMessagesEditInlineBotMessage) ProtoMessage

func (*TLMessagesEditInlineBotMessage) ProtoMessage()

func (*TLMessagesEditInlineBotMessage) Reset

func (m *TLMessagesEditInlineBotMessage) Reset()

func (*TLMessagesEditInlineBotMessage) String

type TLMessagesEditMessage

type TLMessagesEditMessage struct {
	NoWebpage   bool             `protobuf:"varint,2,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	StopGeoLive bool             `protobuf:"varint,3,opt,name=stop_geo_live,json=stopGeoLive" json:"stop_geo_live,omitempty"`
	Peer        *InputPeer       `protobuf:"bytes,4,opt,name=peer" json:"peer,omitempty"`
	Id          int32            `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
	Message     string           `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	ReplyMarkup *ReplyMarkup     `protobuf:"bytes,7,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	Entities    []*MessageEntity `protobuf:"bytes,8,rep,name=entities" json:"entities,omitempty"`
	GeoPoint    *InputGeoPoint   `protobuf:"bytes,9,opt,name=geo_point,json=geoPoint" json:"geo_point,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.editMessage#5d1b8dd flags:# no_webpage:flags.1?true stop_geo_live:flags.12?true peer:InputPeer id:int message:flags.11?string reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> geo_point:flags.13?InputGeoPoint = Updates;

func NewTLMessagesEditMessage

func NewTLMessagesEditMessage() *TLMessagesEditMessage

func (*TLMessagesEditMessage) Decode

func (m *TLMessagesEditMessage) Decode(dbuf *DecodeBuf) error

func (*TLMessagesEditMessage) Descriptor

func (*TLMessagesEditMessage) Descriptor() ([]byte, []int)

func (*TLMessagesEditMessage) Encode

func (m *TLMessagesEditMessage) Encode() []byte

func (*TLMessagesEditMessage) GetEntities

func (m *TLMessagesEditMessage) GetEntities() []*MessageEntity

func (*TLMessagesEditMessage) GetGeoPoint

func (m *TLMessagesEditMessage) GetGeoPoint() *InputGeoPoint

func (*TLMessagesEditMessage) GetId

func (m *TLMessagesEditMessage) GetId() int32

func (*TLMessagesEditMessage) GetMessage

func (m *TLMessagesEditMessage) GetMessage() string

func (*TLMessagesEditMessage) GetNoWebpage

func (m *TLMessagesEditMessage) GetNoWebpage() bool

func (*TLMessagesEditMessage) GetPeer

func (m *TLMessagesEditMessage) GetPeer() *InputPeer

func (*TLMessagesEditMessage) GetReplyMarkup

func (m *TLMessagesEditMessage) GetReplyMarkup() *ReplyMarkup

func (*TLMessagesEditMessage) GetStopGeoLive

func (m *TLMessagesEditMessage) GetStopGeoLive() bool

func (*TLMessagesEditMessage) ProtoMessage

func (*TLMessagesEditMessage) ProtoMessage()

func (*TLMessagesEditMessage) Reset

func (m *TLMessagesEditMessage) Reset()

func (*TLMessagesEditMessage) String

func (m *TLMessagesEditMessage) String() string

type TLMessagesExportChatInvite

type TLMessagesExportChatInvite struct {
	ChatId int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.exportChatInvite#7d885289 chat_id:int = ExportedChatInvite;

func NewTLMessagesExportChatInvite

func NewTLMessagesExportChatInvite() *TLMessagesExportChatInvite

func (*TLMessagesExportChatInvite) Decode

func (m *TLMessagesExportChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLMessagesExportChatInvite) Descriptor

func (*TLMessagesExportChatInvite) Descriptor() ([]byte, []int)

func (*TLMessagesExportChatInvite) Encode

func (m *TLMessagesExportChatInvite) Encode() []byte

func (*TLMessagesExportChatInvite) GetChatId

func (m *TLMessagesExportChatInvite) GetChatId() int32

func (*TLMessagesExportChatInvite) ProtoMessage

func (*TLMessagesExportChatInvite) ProtoMessage()

func (*TLMessagesExportChatInvite) Reset

func (m *TLMessagesExportChatInvite) Reset()

func (*TLMessagesExportChatInvite) String

func (m *TLMessagesExportChatInvite) String() string

type TLMessagesFaveSticker

type TLMessagesFaveSticker struct {
	Id     *InputDocument `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Unfave *Bool          `protobuf:"bytes,2,opt,name=unfave" json:"unfave,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;

func NewTLMessagesFaveSticker

func NewTLMessagesFaveSticker() *TLMessagesFaveSticker

func (*TLMessagesFaveSticker) Decode

func (m *TLMessagesFaveSticker) Decode(dbuf *DecodeBuf) error

func (*TLMessagesFaveSticker) Descriptor

func (*TLMessagesFaveSticker) Descriptor() ([]byte, []int)

func (*TLMessagesFaveSticker) Encode

func (m *TLMessagesFaveSticker) Encode() []byte

func (*TLMessagesFaveSticker) GetId

func (*TLMessagesFaveSticker) GetUnfave

func (m *TLMessagesFaveSticker) GetUnfave() *Bool

func (*TLMessagesFaveSticker) ProtoMessage

func (*TLMessagesFaveSticker) ProtoMessage()

func (*TLMessagesFaveSticker) Reset

func (m *TLMessagesFaveSticker) Reset()

func (*TLMessagesFaveSticker) String

func (m *TLMessagesFaveSticker) String() string

type TLMessagesFavedStickers

type TLMessagesFavedStickers struct {
	Data2 *Messages_FavedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.favedStickers#f37f2f16 hash:int packs:Vector<StickerPack> stickers:Vector<Document> = messages.FavedStickers;

func NewTLMessagesFavedStickers

func NewTLMessagesFavedStickers() *TLMessagesFavedStickers

func (*TLMessagesFavedStickers) Decode

func (m *TLMessagesFavedStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesFavedStickers) Descriptor

func (*TLMessagesFavedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesFavedStickers) Encode

func (m *TLMessagesFavedStickers) Encode() []byte

func (*TLMessagesFavedStickers) GetData2

func (*TLMessagesFavedStickers) GetHash

func (m *TLMessagesFavedStickers) GetHash() int32

func (*TLMessagesFavedStickers) GetPacks

func (m *TLMessagesFavedStickers) GetPacks() []*StickerPack

func (*TLMessagesFavedStickers) GetStickers

func (m *TLMessagesFavedStickers) GetStickers() []*Document

func (*TLMessagesFavedStickers) ProtoMessage

func (*TLMessagesFavedStickers) ProtoMessage()

func (*TLMessagesFavedStickers) Reset

func (m *TLMessagesFavedStickers) Reset()

func (*TLMessagesFavedStickers) SetHash

func (m *TLMessagesFavedStickers) SetHash(v int32)

func (*TLMessagesFavedStickers) SetPacks

func (m *TLMessagesFavedStickers) SetPacks(v []*StickerPack)

func (*TLMessagesFavedStickers) SetStickers

func (m *TLMessagesFavedStickers) SetStickers(v []*Document)

func (*TLMessagesFavedStickers) String

func (m *TLMessagesFavedStickers) String() string

func (*TLMessagesFavedStickers) To_Messages_FavedStickers

func (m *TLMessagesFavedStickers) To_Messages_FavedStickers() *Messages_FavedStickers

messages.favedStickers#f37f2f16 hash:int packs:Vector<StickerPack> stickers:Vector<Document> = messages.FavedStickers;

type TLMessagesFavedStickersNotModified

type TLMessagesFavedStickersNotModified struct {
	Data2 *Messages_FavedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers;

func NewTLMessagesFavedStickersNotModified

func NewTLMessagesFavedStickersNotModified() *TLMessagesFavedStickersNotModified

func (*TLMessagesFavedStickersNotModified) Decode

func (*TLMessagesFavedStickersNotModified) Descriptor

func (*TLMessagesFavedStickersNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesFavedStickersNotModified) Encode

func (*TLMessagesFavedStickersNotModified) GetData2

func (*TLMessagesFavedStickersNotModified) ProtoMessage

func (*TLMessagesFavedStickersNotModified) ProtoMessage()

func (*TLMessagesFavedStickersNotModified) Reset

func (*TLMessagesFavedStickersNotModified) String

func (*TLMessagesFavedStickersNotModified) To_Messages_FavedStickers

func (m *TLMessagesFavedStickersNotModified) To_Messages_FavedStickers() *Messages_FavedStickers

messages.favedStickersNotModified#9e8fa6d3 = messages.FavedStickers;

type TLMessagesFeaturedStickers

type TLMessagesFeaturedStickers struct {
	Data2 *Messages_FeaturedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.featuredStickers#f89d88e5 hash:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;

func NewTLMessagesFeaturedStickers

func NewTLMessagesFeaturedStickers() *TLMessagesFeaturedStickers

func (*TLMessagesFeaturedStickers) Decode

func (m *TLMessagesFeaturedStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesFeaturedStickers) Descriptor

func (*TLMessagesFeaturedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesFeaturedStickers) Encode

func (m *TLMessagesFeaturedStickers) Encode() []byte

func (*TLMessagesFeaturedStickers) GetData2

func (*TLMessagesFeaturedStickers) GetHash

func (m *TLMessagesFeaturedStickers) GetHash() int32

func (*TLMessagesFeaturedStickers) GetSets

func (*TLMessagesFeaturedStickers) GetUnread

func (m *TLMessagesFeaturedStickers) GetUnread() []int64

func (*TLMessagesFeaturedStickers) ProtoMessage

func (*TLMessagesFeaturedStickers) ProtoMessage()

func (*TLMessagesFeaturedStickers) Reset

func (m *TLMessagesFeaturedStickers) Reset()

func (*TLMessagesFeaturedStickers) SetHash

func (m *TLMessagesFeaturedStickers) SetHash(v int32)

func (*TLMessagesFeaturedStickers) SetSets

func (*TLMessagesFeaturedStickers) SetUnread

func (m *TLMessagesFeaturedStickers) SetUnread(v []int64)

func (*TLMessagesFeaturedStickers) String

func (m *TLMessagesFeaturedStickers) String() string

func (*TLMessagesFeaturedStickers) To_Messages_FeaturedStickers

func (m *TLMessagesFeaturedStickers) To_Messages_FeaturedStickers() *Messages_FeaturedStickers

messages.featuredStickers#f89d88e5 hash:int sets:Vector<StickerSetCovered> unread:Vector<long> = messages.FeaturedStickers;

type TLMessagesFeaturedStickersNotModified

type TLMessagesFeaturedStickersNotModified struct {
	Data2 *Messages_FeaturedStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers;

func NewTLMessagesFeaturedStickersNotModified

func NewTLMessagesFeaturedStickersNotModified() *TLMessagesFeaturedStickersNotModified

func (*TLMessagesFeaturedStickersNotModified) Decode

func (*TLMessagesFeaturedStickersNotModified) Descriptor

func (*TLMessagesFeaturedStickersNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesFeaturedStickersNotModified) Encode

func (*TLMessagesFeaturedStickersNotModified) GetData2

func (*TLMessagesFeaturedStickersNotModified) ProtoMessage

func (*TLMessagesFeaturedStickersNotModified) ProtoMessage()

func (*TLMessagesFeaturedStickersNotModified) Reset

func (*TLMessagesFeaturedStickersNotModified) String

func (*TLMessagesFeaturedStickersNotModified) To_Messages_FeaturedStickers

func (m *TLMessagesFeaturedStickersNotModified) To_Messages_FeaturedStickers() *Messages_FeaturedStickers

messages.featuredStickersNotModified#4ede3cf = messages.FeaturedStickers;

type TLMessagesForwardMessage

type TLMessagesForwardMessage struct {
	Peer     *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Id       int32      `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	RandomId int64      `protobuf:"varint,3,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.forwardMessage#33963bf9 peer:InputPeer id:int random_id:long = Updates;

func NewTLMessagesForwardMessage

func NewTLMessagesForwardMessage() *TLMessagesForwardMessage

func (*TLMessagesForwardMessage) Decode

func (m *TLMessagesForwardMessage) Decode(dbuf *DecodeBuf) error

func (*TLMessagesForwardMessage) Descriptor

func (*TLMessagesForwardMessage) Descriptor() ([]byte, []int)

func (*TLMessagesForwardMessage) Encode

func (m *TLMessagesForwardMessage) Encode() []byte

func (*TLMessagesForwardMessage) GetId

func (m *TLMessagesForwardMessage) GetId() int32

func (*TLMessagesForwardMessage) GetPeer

func (m *TLMessagesForwardMessage) GetPeer() *InputPeer

func (*TLMessagesForwardMessage) GetRandomId

func (m *TLMessagesForwardMessage) GetRandomId() int64

func (*TLMessagesForwardMessage) ProtoMessage

func (*TLMessagesForwardMessage) ProtoMessage()

func (*TLMessagesForwardMessage) Reset

func (m *TLMessagesForwardMessage) Reset()

func (*TLMessagesForwardMessage) String

func (m *TLMessagesForwardMessage) String() string

type TLMessagesForwardMessages

type TLMessagesForwardMessages struct {
	Silent      bool       `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	Background  bool       `protobuf:"varint,3,opt,name=background" json:"background,omitempty"`
	WithMyScore bool       `protobuf:"varint,4,opt,name=with_my_score,json=withMyScore" json:"with_my_score,omitempty"`
	Grouped     bool       `protobuf:"varint,5,opt,name=grouped" json:"grouped,omitempty"`
	FromPeer    *InputPeer `protobuf:"bytes,6,opt,name=from_peer,json=fromPeer" json:"from_peer,omitempty"`
	Id          []int32    `protobuf:"varint,7,rep,packed,name=id" json:"id,omitempty"`
	RandomId    []int64    `protobuf:"varint,8,rep,packed,name=random_id,json=randomId" json:"random_id,omitempty"`
	ToPeer      *InputPeer `protobuf:"bytes,9,opt,name=to_peer,json=toPeer" json:"to_peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.forwardMessages#708e0195 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true grouped:flags.9?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer = Updates;

func NewTLMessagesForwardMessages

func NewTLMessagesForwardMessages() *TLMessagesForwardMessages

func (*TLMessagesForwardMessages) Decode

func (m *TLMessagesForwardMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesForwardMessages) Descriptor

func (*TLMessagesForwardMessages) Descriptor() ([]byte, []int)

func (*TLMessagesForwardMessages) Encode

func (m *TLMessagesForwardMessages) Encode() []byte

func (*TLMessagesForwardMessages) GetBackground

func (m *TLMessagesForwardMessages) GetBackground() bool

func (*TLMessagesForwardMessages) GetFromPeer

func (m *TLMessagesForwardMessages) GetFromPeer() *InputPeer

func (*TLMessagesForwardMessages) GetGrouped

func (m *TLMessagesForwardMessages) GetGrouped() bool

func (*TLMessagesForwardMessages) GetId

func (m *TLMessagesForwardMessages) GetId() []int32

func (*TLMessagesForwardMessages) GetRandomId

func (m *TLMessagesForwardMessages) GetRandomId() []int64

func (*TLMessagesForwardMessages) GetSilent

func (m *TLMessagesForwardMessages) GetSilent() bool

func (*TLMessagesForwardMessages) GetToPeer

func (m *TLMessagesForwardMessages) GetToPeer() *InputPeer

func (*TLMessagesForwardMessages) GetWithMyScore

func (m *TLMessagesForwardMessages) GetWithMyScore() bool

func (*TLMessagesForwardMessages) ProtoMessage

func (*TLMessagesForwardMessages) ProtoMessage()

func (*TLMessagesForwardMessages) Reset

func (m *TLMessagesForwardMessages) Reset()

func (*TLMessagesForwardMessages) String

func (m *TLMessagesForwardMessages) String() string

type TLMessagesFoundGifs

type TLMessagesFoundGifs struct {
	Data2 *Messages_FoundGifs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif> = messages.FoundGifs;

func NewTLMessagesFoundGifs

func NewTLMessagesFoundGifs() *TLMessagesFoundGifs

func (*TLMessagesFoundGifs) Decode

func (m *TLMessagesFoundGifs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesFoundGifs) Descriptor

func (*TLMessagesFoundGifs) Descriptor() ([]byte, []int)

func (*TLMessagesFoundGifs) Encode

func (m *TLMessagesFoundGifs) Encode() []byte

func (*TLMessagesFoundGifs) GetData2

func (*TLMessagesFoundGifs) GetNextOffset

func (m *TLMessagesFoundGifs) GetNextOffset() int32

func (*TLMessagesFoundGifs) GetResults

func (m *TLMessagesFoundGifs) GetResults() []*FoundGif

func (*TLMessagesFoundGifs) ProtoMessage

func (*TLMessagesFoundGifs) ProtoMessage()

func (*TLMessagesFoundGifs) Reset

func (m *TLMessagesFoundGifs) Reset()

func (*TLMessagesFoundGifs) SetNextOffset

func (m *TLMessagesFoundGifs) SetNextOffset(v int32)

func (*TLMessagesFoundGifs) SetResults

func (m *TLMessagesFoundGifs) SetResults(v []*FoundGif)

func (*TLMessagesFoundGifs) String

func (m *TLMessagesFoundGifs) String() string

func (*TLMessagesFoundGifs) To_Messages_FoundGifs

func (m *TLMessagesFoundGifs) To_Messages_FoundGifs() *Messages_FoundGifs

messages.foundGifs#450a1c0a next_offset:int results:Vector<FoundGif> = messages.FoundGifs;

type TLMessagesGetAllChats

type TLMessagesGetAllChats struct {
	ExceptIds []int32 `protobuf:"varint,1,rep,packed,name=except_ids,json=exceptIds" json:"except_ids,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getAllChats#eba80ff0 except_ids:Vector<int> = messages.Chats;

func NewTLMessagesGetAllChats

func NewTLMessagesGetAllChats() *TLMessagesGetAllChats

func (*TLMessagesGetAllChats) Decode

func (m *TLMessagesGetAllChats) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetAllChats) Descriptor

func (*TLMessagesGetAllChats) Descriptor() ([]byte, []int)

func (*TLMessagesGetAllChats) Encode

func (m *TLMessagesGetAllChats) Encode() []byte

func (*TLMessagesGetAllChats) GetExceptIds

func (m *TLMessagesGetAllChats) GetExceptIds() []int32

func (*TLMessagesGetAllChats) ProtoMessage

func (*TLMessagesGetAllChats) ProtoMessage()

func (*TLMessagesGetAllChats) Reset

func (m *TLMessagesGetAllChats) Reset()

func (*TLMessagesGetAllChats) String

func (m *TLMessagesGetAllChats) String() string

type TLMessagesGetAllDrafts

type TLMessagesGetAllDrafts struct {
}

///////////////////////////////////////////////////////////////////////////// messages.getAllDrafts#6a3f8d65 = Updates;

func NewTLMessagesGetAllDrafts

func NewTLMessagesGetAllDrafts() *TLMessagesGetAllDrafts

func (*TLMessagesGetAllDrafts) Decode

func (m *TLMessagesGetAllDrafts) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetAllDrafts) Descriptor

func (*TLMessagesGetAllDrafts) Descriptor() ([]byte, []int)

func (*TLMessagesGetAllDrafts) Encode

func (m *TLMessagesGetAllDrafts) Encode() []byte

func (*TLMessagesGetAllDrafts) ProtoMessage

func (*TLMessagesGetAllDrafts) ProtoMessage()

func (*TLMessagesGetAllDrafts) Reset

func (m *TLMessagesGetAllDrafts) Reset()

func (*TLMessagesGetAllDrafts) String

func (m *TLMessagesGetAllDrafts) String() string

type TLMessagesGetAllStickers

type TLMessagesGetAllStickers struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getAllStickers#1c9618b1 hash:int = messages.AllStickers;

func NewTLMessagesGetAllStickers

func NewTLMessagesGetAllStickers() *TLMessagesGetAllStickers

func (*TLMessagesGetAllStickers) Decode

func (m *TLMessagesGetAllStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetAllStickers) Descriptor

func (*TLMessagesGetAllStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetAllStickers) Encode

func (m *TLMessagesGetAllStickers) Encode() []byte

func (*TLMessagesGetAllStickers) GetHash

func (m *TLMessagesGetAllStickers) GetHash() int32

func (*TLMessagesGetAllStickers) ProtoMessage

func (*TLMessagesGetAllStickers) ProtoMessage()

func (*TLMessagesGetAllStickers) Reset

func (m *TLMessagesGetAllStickers) Reset()

func (*TLMessagesGetAllStickers) String

func (m *TLMessagesGetAllStickers) String() string

type TLMessagesGetArchivedStickers

type TLMessagesGetArchivedStickers struct {
	Masks    bool  `protobuf:"varint,2,opt,name=masks" json:"masks,omitempty"`
	OffsetId int64 `protobuf:"varint,3,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	Limit    int32 `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getArchivedStickers#57f17692 flags:# masks:flags.0?true offset_id:long limit:int = messages.ArchivedStickers;

func NewTLMessagesGetArchivedStickers

func NewTLMessagesGetArchivedStickers() *TLMessagesGetArchivedStickers

func (*TLMessagesGetArchivedStickers) Decode

func (*TLMessagesGetArchivedStickers) Descriptor

func (*TLMessagesGetArchivedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetArchivedStickers) Encode

func (m *TLMessagesGetArchivedStickers) Encode() []byte

func (*TLMessagesGetArchivedStickers) GetLimit

func (m *TLMessagesGetArchivedStickers) GetLimit() int32

func (*TLMessagesGetArchivedStickers) GetMasks

func (m *TLMessagesGetArchivedStickers) GetMasks() bool

func (*TLMessagesGetArchivedStickers) GetOffsetId

func (m *TLMessagesGetArchivedStickers) GetOffsetId() int64

func (*TLMessagesGetArchivedStickers) ProtoMessage

func (*TLMessagesGetArchivedStickers) ProtoMessage()

func (*TLMessagesGetArchivedStickers) Reset

func (m *TLMessagesGetArchivedStickers) Reset()

func (*TLMessagesGetArchivedStickers) String

type TLMessagesGetAttachedStickers

type TLMessagesGetAttachedStickers struct {
	Media *InputStickeredMedia `protobuf:"bytes,1,opt,name=media" json:"media,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getAttachedStickers#cc5b67cc media:InputStickeredMedia = Vector<StickerSetCovered>;

func NewTLMessagesGetAttachedStickers

func NewTLMessagesGetAttachedStickers() *TLMessagesGetAttachedStickers

func (*TLMessagesGetAttachedStickers) Decode

func (*TLMessagesGetAttachedStickers) Descriptor

func (*TLMessagesGetAttachedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetAttachedStickers) Encode

func (m *TLMessagesGetAttachedStickers) Encode() []byte

func (*TLMessagesGetAttachedStickers) GetMedia

func (*TLMessagesGetAttachedStickers) ProtoMessage

func (*TLMessagesGetAttachedStickers) ProtoMessage()

func (*TLMessagesGetAttachedStickers) Reset

func (m *TLMessagesGetAttachedStickers) Reset()

func (*TLMessagesGetAttachedStickers) String

type TLMessagesGetBotCallbackAnswer

type TLMessagesGetBotCallbackAnswer struct {
	Game  bool       `protobuf:"varint,2,opt,name=game" json:"game,omitempty"`
	Peer  *InputPeer `protobuf:"bytes,3,opt,name=peer" json:"peer,omitempty"`
	MsgId int32      `protobuf:"varint,4,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	Data  []byte     `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getBotCallbackAnswer#810a9fec flags:# game:flags.1?true peer:InputPeer msg_id:int data:flags.0?bytes = messages.BotCallbackAnswer;

func NewTLMessagesGetBotCallbackAnswer

func NewTLMessagesGetBotCallbackAnswer() *TLMessagesGetBotCallbackAnswer

func (*TLMessagesGetBotCallbackAnswer) Decode

func (*TLMessagesGetBotCallbackAnswer) Descriptor

func (*TLMessagesGetBotCallbackAnswer) Descriptor() ([]byte, []int)

func (*TLMessagesGetBotCallbackAnswer) Encode

func (m *TLMessagesGetBotCallbackAnswer) Encode() []byte

func (*TLMessagesGetBotCallbackAnswer) GetData

func (m *TLMessagesGetBotCallbackAnswer) GetData() []byte

func (*TLMessagesGetBotCallbackAnswer) GetGame

func (m *TLMessagesGetBotCallbackAnswer) GetGame() bool

func (*TLMessagesGetBotCallbackAnswer) GetMsgId

func (m *TLMessagesGetBotCallbackAnswer) GetMsgId() int32

func (*TLMessagesGetBotCallbackAnswer) GetPeer

func (*TLMessagesGetBotCallbackAnswer) ProtoMessage

func (*TLMessagesGetBotCallbackAnswer) ProtoMessage()

func (*TLMessagesGetBotCallbackAnswer) Reset

func (m *TLMessagesGetBotCallbackAnswer) Reset()

func (*TLMessagesGetBotCallbackAnswer) String

type TLMessagesGetChats

type TLMessagesGetChats struct {
	Id []int32 `protobuf:"varint,1,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getChats#3c6aa187 id:Vector<int> = messages.Chats;

func NewTLMessagesGetChats

func NewTLMessagesGetChats() *TLMessagesGetChats

func (*TLMessagesGetChats) Decode

func (m *TLMessagesGetChats) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetChats) Descriptor

func (*TLMessagesGetChats) Descriptor() ([]byte, []int)

func (*TLMessagesGetChats) Encode

func (m *TLMessagesGetChats) Encode() []byte

func (*TLMessagesGetChats) GetId

func (m *TLMessagesGetChats) GetId() []int32

func (*TLMessagesGetChats) ProtoMessage

func (*TLMessagesGetChats) ProtoMessage()

func (*TLMessagesGetChats) Reset

func (m *TLMessagesGetChats) Reset()

func (*TLMessagesGetChats) String

func (m *TLMessagesGetChats) String() string

type TLMessagesGetCommonChats

type TLMessagesGetCommonChats struct {
	UserId *InputUser `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	MaxId  int32      `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	Limit  int32      `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getCommonChats#d0a48c4 user_id:InputUser max_id:int limit:int = messages.Chats;

func NewTLMessagesGetCommonChats

func NewTLMessagesGetCommonChats() *TLMessagesGetCommonChats

func (*TLMessagesGetCommonChats) Decode

func (m *TLMessagesGetCommonChats) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetCommonChats) Descriptor

func (*TLMessagesGetCommonChats) Descriptor() ([]byte, []int)

func (*TLMessagesGetCommonChats) Encode

func (m *TLMessagesGetCommonChats) Encode() []byte

func (*TLMessagesGetCommonChats) GetLimit

func (m *TLMessagesGetCommonChats) GetLimit() int32

func (*TLMessagesGetCommonChats) GetMaxId

func (m *TLMessagesGetCommonChats) GetMaxId() int32

func (*TLMessagesGetCommonChats) GetUserId

func (m *TLMessagesGetCommonChats) GetUserId() *InputUser

func (*TLMessagesGetCommonChats) ProtoMessage

func (*TLMessagesGetCommonChats) ProtoMessage()

func (*TLMessagesGetCommonChats) Reset

func (m *TLMessagesGetCommonChats) Reset()

func (*TLMessagesGetCommonChats) String

func (m *TLMessagesGetCommonChats) String() string

type TLMessagesGetDhConfig

type TLMessagesGetDhConfig struct {
	Version      int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	RandomLength int32 `protobuf:"varint,2,opt,name=random_length,json=randomLength" json:"random_length,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getDhConfig#26cf8950 version:int random_length:int = messages.DhConfig;

func NewTLMessagesGetDhConfig

func NewTLMessagesGetDhConfig() *TLMessagesGetDhConfig

func (*TLMessagesGetDhConfig) Decode

func (m *TLMessagesGetDhConfig) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetDhConfig) Descriptor

func (*TLMessagesGetDhConfig) Descriptor() ([]byte, []int)

func (*TLMessagesGetDhConfig) Encode

func (m *TLMessagesGetDhConfig) Encode() []byte

func (*TLMessagesGetDhConfig) GetRandomLength

func (m *TLMessagesGetDhConfig) GetRandomLength() int32

func (*TLMessagesGetDhConfig) GetVersion

func (m *TLMessagesGetDhConfig) GetVersion() int32

func (*TLMessagesGetDhConfig) ProtoMessage

func (*TLMessagesGetDhConfig) ProtoMessage()

func (*TLMessagesGetDhConfig) Reset

func (m *TLMessagesGetDhConfig) Reset()

func (*TLMessagesGetDhConfig) String

func (m *TLMessagesGetDhConfig) String() string

type TLMessagesGetDialogs

type TLMessagesGetDialogs struct {
	ExcludePinned bool       `protobuf:"varint,2,opt,name=exclude_pinned,json=excludePinned" json:"exclude_pinned,omitempty"`
	OffsetDate    int32      `protobuf:"varint,3,opt,name=offset_date,json=offsetDate" json:"offset_date,omitempty"`
	OffsetId      int32      `protobuf:"varint,4,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	OffsetPeer    *InputPeer `protobuf:"bytes,5,opt,name=offset_peer,json=offsetPeer" json:"offset_peer,omitempty"`
	Limit         int32      `protobuf:"varint,6,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getDialogs#191ba9c5 flags:# exclude_pinned:flags.0?true offset_date:int offset_id:int offset_peer:InputPeer limit:int = messages.Dialogs;

func NewTLMessagesGetDialogs

func NewTLMessagesGetDialogs() *TLMessagesGetDialogs

func (*TLMessagesGetDialogs) Decode

func (m *TLMessagesGetDialogs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetDialogs) Descriptor

func (*TLMessagesGetDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesGetDialogs) Encode

func (m *TLMessagesGetDialogs) Encode() []byte

func (*TLMessagesGetDialogs) GetExcludePinned

func (m *TLMessagesGetDialogs) GetExcludePinned() bool

func (*TLMessagesGetDialogs) GetLimit

func (m *TLMessagesGetDialogs) GetLimit() int32

func (*TLMessagesGetDialogs) GetOffsetDate

func (m *TLMessagesGetDialogs) GetOffsetDate() int32

func (*TLMessagesGetDialogs) GetOffsetId

func (m *TLMessagesGetDialogs) GetOffsetId() int32

func (*TLMessagesGetDialogs) GetOffsetPeer

func (m *TLMessagesGetDialogs) GetOffsetPeer() *InputPeer

func (*TLMessagesGetDialogs) ProtoMessage

func (*TLMessagesGetDialogs) ProtoMessage()

func (*TLMessagesGetDialogs) Reset

func (m *TLMessagesGetDialogs) Reset()

func (*TLMessagesGetDialogs) String

func (m *TLMessagesGetDialogs) String() string

type TLMessagesGetDocumentByHash

type TLMessagesGetDocumentByHash struct {
	Sha256   []byte `protobuf:"bytes,1,opt,name=sha256,proto3" json:"sha256,omitempty"`
	Size     int32  `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getDocumentByHash#338e2464 sha256:bytes size:int mime_type:string = Document;

func NewTLMessagesGetDocumentByHash

func NewTLMessagesGetDocumentByHash() *TLMessagesGetDocumentByHash

func (*TLMessagesGetDocumentByHash) Decode

func (m *TLMessagesGetDocumentByHash) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetDocumentByHash) Descriptor

func (*TLMessagesGetDocumentByHash) Descriptor() ([]byte, []int)

func (*TLMessagesGetDocumentByHash) Encode

func (m *TLMessagesGetDocumentByHash) Encode() []byte

func (*TLMessagesGetDocumentByHash) GetMimeType

func (m *TLMessagesGetDocumentByHash) GetMimeType() string

func (*TLMessagesGetDocumentByHash) GetSha256

func (m *TLMessagesGetDocumentByHash) GetSha256() []byte

func (*TLMessagesGetDocumentByHash) GetSize

func (m *TLMessagesGetDocumentByHash) GetSize() int32

func (*TLMessagesGetDocumentByHash) ProtoMessage

func (*TLMessagesGetDocumentByHash) ProtoMessage()

func (*TLMessagesGetDocumentByHash) Reset

func (m *TLMessagesGetDocumentByHash) Reset()

func (*TLMessagesGetDocumentByHash) String

func (m *TLMessagesGetDocumentByHash) String() string

type TLMessagesGetFavedStickers

type TLMessagesGetFavedStickers struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getFavedStickers#21ce0b0e hash:int = messages.FavedStickers;

func NewTLMessagesGetFavedStickers

func NewTLMessagesGetFavedStickers() *TLMessagesGetFavedStickers

func (*TLMessagesGetFavedStickers) Decode

func (m *TLMessagesGetFavedStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetFavedStickers) Descriptor

func (*TLMessagesGetFavedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetFavedStickers) Encode

func (m *TLMessagesGetFavedStickers) Encode() []byte

func (*TLMessagesGetFavedStickers) GetHash

func (m *TLMessagesGetFavedStickers) GetHash() int32

func (*TLMessagesGetFavedStickers) ProtoMessage

func (*TLMessagesGetFavedStickers) ProtoMessage()

func (*TLMessagesGetFavedStickers) Reset

func (m *TLMessagesGetFavedStickers) Reset()

func (*TLMessagesGetFavedStickers) String

func (m *TLMessagesGetFavedStickers) String() string

type TLMessagesGetFeaturedStickers

type TLMessagesGetFeaturedStickers struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getFeaturedStickers#2dacca4f hash:int = messages.FeaturedStickers;

func NewTLMessagesGetFeaturedStickers

func NewTLMessagesGetFeaturedStickers() *TLMessagesGetFeaturedStickers

func (*TLMessagesGetFeaturedStickers) Decode

func (*TLMessagesGetFeaturedStickers) Descriptor

func (*TLMessagesGetFeaturedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetFeaturedStickers) Encode

func (m *TLMessagesGetFeaturedStickers) Encode() []byte

func (*TLMessagesGetFeaturedStickers) GetHash

func (m *TLMessagesGetFeaturedStickers) GetHash() int32

func (*TLMessagesGetFeaturedStickers) ProtoMessage

func (*TLMessagesGetFeaturedStickers) ProtoMessage()

func (*TLMessagesGetFeaturedStickers) Reset

func (m *TLMessagesGetFeaturedStickers) Reset()

func (*TLMessagesGetFeaturedStickers) String

type TLMessagesGetFullChat

type TLMessagesGetFullChat struct {
	ChatId int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getFullChat#3b831c66 chat_id:int = messages.ChatFull;

func NewTLMessagesGetFullChat

func NewTLMessagesGetFullChat() *TLMessagesGetFullChat

func (*TLMessagesGetFullChat) Decode

func (m *TLMessagesGetFullChat) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetFullChat) Descriptor

func (*TLMessagesGetFullChat) Descriptor() ([]byte, []int)

func (*TLMessagesGetFullChat) Encode

func (m *TLMessagesGetFullChat) Encode() []byte

func (*TLMessagesGetFullChat) GetChatId

func (m *TLMessagesGetFullChat) GetChatId() int32

func (*TLMessagesGetFullChat) ProtoMessage

func (*TLMessagesGetFullChat) ProtoMessage()

func (*TLMessagesGetFullChat) Reset

func (m *TLMessagesGetFullChat) Reset()

func (*TLMessagesGetFullChat) String

func (m *TLMessagesGetFullChat) String() string

type TLMessagesGetGameHighScores

type TLMessagesGetGameHighScores struct {
	Peer   *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Id     int32      `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	UserId *InputUser `protobuf:"bytes,3,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getGameHighScores#e822649d peer:InputPeer id:int user_id:InputUser = messages.HighScores;

func NewTLMessagesGetGameHighScores

func NewTLMessagesGetGameHighScores() *TLMessagesGetGameHighScores

func (*TLMessagesGetGameHighScores) Decode

func (m *TLMessagesGetGameHighScores) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetGameHighScores) Descriptor

func (*TLMessagesGetGameHighScores) Descriptor() ([]byte, []int)

func (*TLMessagesGetGameHighScores) Encode

func (m *TLMessagesGetGameHighScores) Encode() []byte

func (*TLMessagesGetGameHighScores) GetId

func (*TLMessagesGetGameHighScores) GetPeer

func (m *TLMessagesGetGameHighScores) GetPeer() *InputPeer

func (*TLMessagesGetGameHighScores) GetUserId

func (m *TLMessagesGetGameHighScores) GetUserId() *InputUser

func (*TLMessagesGetGameHighScores) ProtoMessage

func (*TLMessagesGetGameHighScores) ProtoMessage()

func (*TLMessagesGetGameHighScores) Reset

func (m *TLMessagesGetGameHighScores) Reset()

func (*TLMessagesGetGameHighScores) String

func (m *TLMessagesGetGameHighScores) String() string

type TLMessagesGetHistory

type TLMessagesGetHistory struct {
	Peer       *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	OffsetId   int32      `protobuf:"varint,2,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	OffsetDate int32      `protobuf:"varint,3,opt,name=offset_date,json=offsetDate" json:"offset_date,omitempty"`
	AddOffset  int32      `protobuf:"varint,4,opt,name=add_offset,json=addOffset" json:"add_offset,omitempty"`
	Limit      int32      `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
	MaxId      int32      `protobuf:"varint,6,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	MinId      int32      `protobuf:"varint,7,opt,name=min_id,json=minId" json:"min_id,omitempty"`
	Hash       int32      `protobuf:"varint,8,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getHistory#dcbb8260 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:int = messages.Messages;

func NewTLMessagesGetHistory

func NewTLMessagesGetHistory() *TLMessagesGetHistory

func (*TLMessagesGetHistory) Decode

func (m *TLMessagesGetHistory) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetHistory) Descriptor

func (*TLMessagesGetHistory) Descriptor() ([]byte, []int)

func (*TLMessagesGetHistory) Encode

func (m *TLMessagesGetHistory) Encode() []byte

func (*TLMessagesGetHistory) GetAddOffset

func (m *TLMessagesGetHistory) GetAddOffset() int32

func (*TLMessagesGetHistory) GetHash

func (m *TLMessagesGetHistory) GetHash() int32

func (*TLMessagesGetHistory) GetLimit

func (m *TLMessagesGetHistory) GetLimit() int32

func (*TLMessagesGetHistory) GetMaxId

func (m *TLMessagesGetHistory) GetMaxId() int32

func (*TLMessagesGetHistory) GetMinId

func (m *TLMessagesGetHistory) GetMinId() int32

func (*TLMessagesGetHistory) GetOffsetDate

func (m *TLMessagesGetHistory) GetOffsetDate() int32

func (*TLMessagesGetHistory) GetOffsetId

func (m *TLMessagesGetHistory) GetOffsetId() int32

func (*TLMessagesGetHistory) GetPeer

func (m *TLMessagesGetHistory) GetPeer() *InputPeer

func (*TLMessagesGetHistory) ProtoMessage

func (*TLMessagesGetHistory) ProtoMessage()

func (*TLMessagesGetHistory) Reset

func (m *TLMessagesGetHistory) Reset()

func (*TLMessagesGetHistory) String

func (m *TLMessagesGetHistory) String() string

type TLMessagesGetHistoryLayer71

type TLMessagesGetHistoryLayer71 struct {
	Peer       *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	OffsetId   int32      `protobuf:"varint,2,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	OffsetDate int32      `protobuf:"varint,3,opt,name=offset_date,json=offsetDate" json:"offset_date,omitempty"`
	AddOffset  int32      `protobuf:"varint,4,opt,name=add_offset,json=addOffset" json:"add_offset,omitempty"`
	Limit      int32      `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
	MaxId      int32      `protobuf:"varint,6,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	MinId      int32      `protobuf:"varint,7,opt,name=min_id,json=minId" json:"min_id,omitempty"`
}

Layer71, android client ///////////////////////////////////////////////////////////////////////////// messages.getHistory#afa92846 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;

func NewTLMessagesGetHistoryLayer71

func NewTLMessagesGetHistoryLayer71() *TLMessagesGetHistoryLayer71

func (*TLMessagesGetHistoryLayer71) Decode

func (m *TLMessagesGetHistoryLayer71) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetHistoryLayer71) Descriptor

func (*TLMessagesGetHistoryLayer71) Descriptor() ([]byte, []int)

func (*TLMessagesGetHistoryLayer71) Encode

func (m *TLMessagesGetHistoryLayer71) Encode() []byte

func (*TLMessagesGetHistoryLayer71) GetAddOffset

func (m *TLMessagesGetHistoryLayer71) GetAddOffset() int32

func (*TLMessagesGetHistoryLayer71) GetLimit

func (m *TLMessagesGetHistoryLayer71) GetLimit() int32

func (*TLMessagesGetHistoryLayer71) GetMaxId

func (m *TLMessagesGetHistoryLayer71) GetMaxId() int32

func (*TLMessagesGetHistoryLayer71) GetMinId

func (m *TLMessagesGetHistoryLayer71) GetMinId() int32

func (*TLMessagesGetHistoryLayer71) GetOffsetDate

func (m *TLMessagesGetHistoryLayer71) GetOffsetDate() int32

func (*TLMessagesGetHistoryLayer71) GetOffsetId

func (m *TLMessagesGetHistoryLayer71) GetOffsetId() int32

func (*TLMessagesGetHistoryLayer71) GetPeer

func (m *TLMessagesGetHistoryLayer71) GetPeer() *InputPeer

func (*TLMessagesGetHistoryLayer71) ProtoMessage

func (*TLMessagesGetHistoryLayer71) ProtoMessage()

func (*TLMessagesGetHistoryLayer71) Reset

func (m *TLMessagesGetHistoryLayer71) Reset()

func (*TLMessagesGetHistoryLayer71) String

func (m *TLMessagesGetHistoryLayer71) String() string

type TLMessagesGetInlineBotResults

type TLMessagesGetInlineBotResults struct {
	Bot      *InputUser     `protobuf:"bytes,2,opt,name=bot" json:"bot,omitempty"`
	Peer     *InputPeer     `protobuf:"bytes,3,opt,name=peer" json:"peer,omitempty"`
	GeoPoint *InputGeoPoint `protobuf:"bytes,4,opt,name=geo_point,json=geoPoint" json:"geo_point,omitempty"`
	Query    string         `protobuf:"bytes,5,opt,name=query" json:"query,omitempty"`
	Offset   string         `protobuf:"bytes,6,opt,name=offset" json:"offset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getInlineBotResults#514e999d flags:# bot:InputUser peer:InputPeer geo_point:flags.0?InputGeoPoint query:string offset:string = messages.BotResults;

func NewTLMessagesGetInlineBotResults

func NewTLMessagesGetInlineBotResults() *TLMessagesGetInlineBotResults

func (*TLMessagesGetInlineBotResults) Decode

func (*TLMessagesGetInlineBotResults) Descriptor

func (*TLMessagesGetInlineBotResults) Descriptor() ([]byte, []int)

func (*TLMessagesGetInlineBotResults) Encode

func (m *TLMessagesGetInlineBotResults) Encode() []byte

func (*TLMessagesGetInlineBotResults) GetBot

func (*TLMessagesGetInlineBotResults) GetGeoPoint

func (m *TLMessagesGetInlineBotResults) GetGeoPoint() *InputGeoPoint

func (*TLMessagesGetInlineBotResults) GetOffset

func (m *TLMessagesGetInlineBotResults) GetOffset() string

func (*TLMessagesGetInlineBotResults) GetPeer

func (*TLMessagesGetInlineBotResults) GetQuery

func (m *TLMessagesGetInlineBotResults) GetQuery() string

func (*TLMessagesGetInlineBotResults) ProtoMessage

func (*TLMessagesGetInlineBotResults) ProtoMessage()

func (*TLMessagesGetInlineBotResults) Reset

func (m *TLMessagesGetInlineBotResults) Reset()

func (*TLMessagesGetInlineBotResults) String

type TLMessagesGetInlineGameHighScores

type TLMessagesGetInlineGameHighScores struct {
	Id     *InputBotInlineMessageID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	UserId *InputUser               `protobuf:"bytes,2,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:InputUser = messages.HighScores;

func NewTLMessagesGetInlineGameHighScores

func NewTLMessagesGetInlineGameHighScores() *TLMessagesGetInlineGameHighScores

func (*TLMessagesGetInlineGameHighScores) Decode

func (*TLMessagesGetInlineGameHighScores) Descriptor

func (*TLMessagesGetInlineGameHighScores) Descriptor() ([]byte, []int)

func (*TLMessagesGetInlineGameHighScores) Encode

func (*TLMessagesGetInlineGameHighScores) GetId

func (*TLMessagesGetInlineGameHighScores) GetUserId

func (*TLMessagesGetInlineGameHighScores) ProtoMessage

func (*TLMessagesGetInlineGameHighScores) ProtoMessage()

func (*TLMessagesGetInlineGameHighScores) Reset

func (*TLMessagesGetInlineGameHighScores) String

type TLMessagesGetMaskStickers

type TLMessagesGetMaskStickers struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getMaskStickers#65b8c79f hash:int = messages.AllStickers;

func NewTLMessagesGetMaskStickers

func NewTLMessagesGetMaskStickers() *TLMessagesGetMaskStickers

func (*TLMessagesGetMaskStickers) Decode

func (m *TLMessagesGetMaskStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetMaskStickers) Descriptor

func (*TLMessagesGetMaskStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetMaskStickers) Encode

func (m *TLMessagesGetMaskStickers) Encode() []byte

func (*TLMessagesGetMaskStickers) GetHash

func (m *TLMessagesGetMaskStickers) GetHash() int32

func (*TLMessagesGetMaskStickers) ProtoMessage

func (*TLMessagesGetMaskStickers) ProtoMessage()

func (*TLMessagesGetMaskStickers) Reset

func (m *TLMessagesGetMaskStickers) Reset()

func (*TLMessagesGetMaskStickers) String

func (m *TLMessagesGetMaskStickers) String() string

type TLMessagesGetMessageEditData

type TLMessagesGetMessageEditData struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Id   int32      `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getMessageEditData#fda68d36 peer:InputPeer id:int = messages.MessageEditData;

func NewTLMessagesGetMessageEditData

func NewTLMessagesGetMessageEditData() *TLMessagesGetMessageEditData

func (*TLMessagesGetMessageEditData) Decode

func (m *TLMessagesGetMessageEditData) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetMessageEditData) Descriptor

func (*TLMessagesGetMessageEditData) Descriptor() ([]byte, []int)

func (*TLMessagesGetMessageEditData) Encode

func (m *TLMessagesGetMessageEditData) Encode() []byte

func (*TLMessagesGetMessageEditData) GetId

func (*TLMessagesGetMessageEditData) GetPeer

func (*TLMessagesGetMessageEditData) ProtoMessage

func (*TLMessagesGetMessageEditData) ProtoMessage()

func (*TLMessagesGetMessageEditData) Reset

func (m *TLMessagesGetMessageEditData) Reset()

func (*TLMessagesGetMessageEditData) String

type TLMessagesGetMessages

type TLMessagesGetMessages struct {
	Id []int32 `protobuf:"varint,1,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getMessages#4222fa74 id:Vector<int> = messages.Messages;

func NewTLMessagesGetMessages

func NewTLMessagesGetMessages() *TLMessagesGetMessages

func (*TLMessagesGetMessages) Decode

func (m *TLMessagesGetMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetMessages) Descriptor

func (*TLMessagesGetMessages) Descriptor() ([]byte, []int)

func (*TLMessagesGetMessages) Encode

func (m *TLMessagesGetMessages) Encode() []byte

func (*TLMessagesGetMessages) GetId

func (m *TLMessagesGetMessages) GetId() []int32

func (*TLMessagesGetMessages) ProtoMessage

func (*TLMessagesGetMessages) ProtoMessage()

func (*TLMessagesGetMessages) Reset

func (m *TLMessagesGetMessages) Reset()

func (*TLMessagesGetMessages) String

func (m *TLMessagesGetMessages) String() string

type TLMessagesGetMessagesViews

type TLMessagesGetMessagesViews struct {
	Peer      *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Id        []int32    `protobuf:"varint,2,rep,packed,name=id" json:"id,omitempty"`
	Increment *Bool      `protobuf:"bytes,3,opt,name=increment" json:"increment,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getMessagesViews#c4c8a55d peer:InputPeer id:Vector<int> increment:Bool = Vector<int>;

func NewTLMessagesGetMessagesViews

func NewTLMessagesGetMessagesViews() *TLMessagesGetMessagesViews

func (*TLMessagesGetMessagesViews) Decode

func (m *TLMessagesGetMessagesViews) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetMessagesViews) Descriptor

func (*TLMessagesGetMessagesViews) Descriptor() ([]byte, []int)

func (*TLMessagesGetMessagesViews) Encode

func (m *TLMessagesGetMessagesViews) Encode() []byte

func (*TLMessagesGetMessagesViews) GetId

func (m *TLMessagesGetMessagesViews) GetId() []int32

func (*TLMessagesGetMessagesViews) GetIncrement

func (m *TLMessagesGetMessagesViews) GetIncrement() *Bool

func (*TLMessagesGetMessagesViews) GetPeer

func (m *TLMessagesGetMessagesViews) GetPeer() *InputPeer

func (*TLMessagesGetMessagesViews) ProtoMessage

func (*TLMessagesGetMessagesViews) ProtoMessage()

func (*TLMessagesGetMessagesViews) Reset

func (m *TLMessagesGetMessagesViews) Reset()

func (*TLMessagesGetMessagesViews) String

func (m *TLMessagesGetMessagesViews) String() string

type TLMessagesGetPeerDialogs

type TLMessagesGetPeerDialogs struct {
	Peers []*InputPeer `protobuf:"bytes,1,rep,name=peers" json:"peers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getPeerDialogs#2d9776b9 peers:Vector<InputPeer> = messages.PeerDialogs;

func NewTLMessagesGetPeerDialogs

func NewTLMessagesGetPeerDialogs() *TLMessagesGetPeerDialogs

func (*TLMessagesGetPeerDialogs) Decode

func (m *TLMessagesGetPeerDialogs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetPeerDialogs) Descriptor

func (*TLMessagesGetPeerDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesGetPeerDialogs) Encode

func (m *TLMessagesGetPeerDialogs) Encode() []byte

func (*TLMessagesGetPeerDialogs) GetPeers

func (m *TLMessagesGetPeerDialogs) GetPeers() []*InputPeer

func (*TLMessagesGetPeerDialogs) ProtoMessage

func (*TLMessagesGetPeerDialogs) ProtoMessage()

func (*TLMessagesGetPeerDialogs) Reset

func (m *TLMessagesGetPeerDialogs) Reset()

func (*TLMessagesGetPeerDialogs) String

func (m *TLMessagesGetPeerDialogs) String() string

type TLMessagesGetPeerSettings

type TLMessagesGetPeerSettings struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getPeerSettings#3672e09c peer:InputPeer = PeerSettings;

func NewTLMessagesGetPeerSettings

func NewTLMessagesGetPeerSettings() *TLMessagesGetPeerSettings

func (*TLMessagesGetPeerSettings) Decode

func (m *TLMessagesGetPeerSettings) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetPeerSettings) Descriptor

func (*TLMessagesGetPeerSettings) Descriptor() ([]byte, []int)

func (*TLMessagesGetPeerSettings) Encode

func (m *TLMessagesGetPeerSettings) Encode() []byte

func (*TLMessagesGetPeerSettings) GetPeer

func (m *TLMessagesGetPeerSettings) GetPeer() *InputPeer

func (*TLMessagesGetPeerSettings) ProtoMessage

func (*TLMessagesGetPeerSettings) ProtoMessage()

func (*TLMessagesGetPeerSettings) Reset

func (m *TLMessagesGetPeerSettings) Reset()

func (*TLMessagesGetPeerSettings) String

func (m *TLMessagesGetPeerSettings) String() string

type TLMessagesGetPinnedDialogs

type TLMessagesGetPinnedDialogs struct {
}

///////////////////////////////////////////////////////////////////////////// messages.getPinnedDialogs#e254d64e = messages.PeerDialogs;

func NewTLMessagesGetPinnedDialogs

func NewTLMessagesGetPinnedDialogs() *TLMessagesGetPinnedDialogs

func (*TLMessagesGetPinnedDialogs) Decode

func (m *TLMessagesGetPinnedDialogs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetPinnedDialogs) Descriptor

func (*TLMessagesGetPinnedDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesGetPinnedDialogs) Encode

func (m *TLMessagesGetPinnedDialogs) Encode() []byte

func (*TLMessagesGetPinnedDialogs) ProtoMessage

func (*TLMessagesGetPinnedDialogs) ProtoMessage()

func (*TLMessagesGetPinnedDialogs) Reset

func (m *TLMessagesGetPinnedDialogs) Reset()

func (*TLMessagesGetPinnedDialogs) String

func (m *TLMessagesGetPinnedDialogs) String() string

type TLMessagesGetRecentLocations

type TLMessagesGetRecentLocations struct {
	Peer  *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Limit int32      `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getRecentLocations#249431e2 peer:InputPeer limit:int = messages.Messages;

func NewTLMessagesGetRecentLocations

func NewTLMessagesGetRecentLocations() *TLMessagesGetRecentLocations

func (*TLMessagesGetRecentLocations) Decode

func (m *TLMessagesGetRecentLocations) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetRecentLocations) Descriptor

func (*TLMessagesGetRecentLocations) Descriptor() ([]byte, []int)

func (*TLMessagesGetRecentLocations) Encode

func (m *TLMessagesGetRecentLocations) Encode() []byte

func (*TLMessagesGetRecentLocations) GetLimit

func (m *TLMessagesGetRecentLocations) GetLimit() int32

func (*TLMessagesGetRecentLocations) GetPeer

func (*TLMessagesGetRecentLocations) ProtoMessage

func (*TLMessagesGetRecentLocations) ProtoMessage()

func (*TLMessagesGetRecentLocations) Reset

func (m *TLMessagesGetRecentLocations) Reset()

func (*TLMessagesGetRecentLocations) String

type TLMessagesGetRecentStickers

type TLMessagesGetRecentStickers struct {
	Attached bool  `protobuf:"varint,2,opt,name=attached" json:"attached,omitempty"`
	Hash     int32 `protobuf:"varint,3,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getRecentStickers#5ea192c9 flags:# attached:flags.0?true hash:int = messages.RecentStickers;

func NewTLMessagesGetRecentStickers

func NewTLMessagesGetRecentStickers() *TLMessagesGetRecentStickers

func (*TLMessagesGetRecentStickers) Decode

func (m *TLMessagesGetRecentStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetRecentStickers) Descriptor

func (*TLMessagesGetRecentStickers) Descriptor() ([]byte, []int)

func (*TLMessagesGetRecentStickers) Encode

func (m *TLMessagesGetRecentStickers) Encode() []byte

func (*TLMessagesGetRecentStickers) GetAttached

func (m *TLMessagesGetRecentStickers) GetAttached() bool

func (*TLMessagesGetRecentStickers) GetHash

func (m *TLMessagesGetRecentStickers) GetHash() int32

func (*TLMessagesGetRecentStickers) ProtoMessage

func (*TLMessagesGetRecentStickers) ProtoMessage()

func (*TLMessagesGetRecentStickers) Reset

func (m *TLMessagesGetRecentStickers) Reset()

func (*TLMessagesGetRecentStickers) String

func (m *TLMessagesGetRecentStickers) String() string

type TLMessagesGetSavedGifs

type TLMessagesGetSavedGifs struct {
	Hash int32 `protobuf:"varint,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getSavedGifs#83bf3d52 hash:int = messages.SavedGifs;

func NewTLMessagesGetSavedGifs

func NewTLMessagesGetSavedGifs() *TLMessagesGetSavedGifs

func (*TLMessagesGetSavedGifs) Decode

func (m *TLMessagesGetSavedGifs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetSavedGifs) Descriptor

func (*TLMessagesGetSavedGifs) Descriptor() ([]byte, []int)

func (*TLMessagesGetSavedGifs) Encode

func (m *TLMessagesGetSavedGifs) Encode() []byte

func (*TLMessagesGetSavedGifs) GetHash

func (m *TLMessagesGetSavedGifs) GetHash() int32

func (*TLMessagesGetSavedGifs) ProtoMessage

func (*TLMessagesGetSavedGifs) ProtoMessage()

func (*TLMessagesGetSavedGifs) Reset

func (m *TLMessagesGetSavedGifs) Reset()

func (*TLMessagesGetSavedGifs) String

func (m *TLMessagesGetSavedGifs) String() string

type TLMessagesGetStickerSet

type TLMessagesGetStickerSet struct {
	Stickerset *InputStickerSet `protobuf:"bytes,1,opt,name=stickerset" json:"stickerset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getStickerSet#2619a90e stickerset:InputStickerSet = messages.StickerSet;

func NewTLMessagesGetStickerSet

func NewTLMessagesGetStickerSet() *TLMessagesGetStickerSet

func (*TLMessagesGetStickerSet) Decode

func (m *TLMessagesGetStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetStickerSet) Descriptor

func (*TLMessagesGetStickerSet) Descriptor() ([]byte, []int)

func (*TLMessagesGetStickerSet) Encode

func (m *TLMessagesGetStickerSet) Encode() []byte

func (*TLMessagesGetStickerSet) GetStickerset

func (m *TLMessagesGetStickerSet) GetStickerset() *InputStickerSet

func (*TLMessagesGetStickerSet) ProtoMessage

func (*TLMessagesGetStickerSet) ProtoMessage()

func (*TLMessagesGetStickerSet) Reset

func (m *TLMessagesGetStickerSet) Reset()

func (*TLMessagesGetStickerSet) String

func (m *TLMessagesGetStickerSet) String() string

type TLMessagesGetUnreadMentions

type TLMessagesGetUnreadMentions struct {
	Peer      *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	OffsetId  int32      `protobuf:"varint,2,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	AddOffset int32      `protobuf:"varint,3,opt,name=add_offset,json=addOffset" json:"add_offset,omitempty"`
	Limit     int32      `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
	MaxId     int32      `protobuf:"varint,5,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	MinId     int32      `protobuf:"varint,6,opt,name=min_id,json=minId" json:"min_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;

func NewTLMessagesGetUnreadMentions

func NewTLMessagesGetUnreadMentions() *TLMessagesGetUnreadMentions

func (*TLMessagesGetUnreadMentions) Decode

func (m *TLMessagesGetUnreadMentions) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetUnreadMentions) Descriptor

func (*TLMessagesGetUnreadMentions) Descriptor() ([]byte, []int)

func (*TLMessagesGetUnreadMentions) Encode

func (m *TLMessagesGetUnreadMentions) Encode() []byte

func (*TLMessagesGetUnreadMentions) GetAddOffset

func (m *TLMessagesGetUnreadMentions) GetAddOffset() int32

func (*TLMessagesGetUnreadMentions) GetLimit

func (m *TLMessagesGetUnreadMentions) GetLimit() int32

func (*TLMessagesGetUnreadMentions) GetMaxId

func (m *TLMessagesGetUnreadMentions) GetMaxId() int32

func (*TLMessagesGetUnreadMentions) GetMinId

func (m *TLMessagesGetUnreadMentions) GetMinId() int32

func (*TLMessagesGetUnreadMentions) GetOffsetId

func (m *TLMessagesGetUnreadMentions) GetOffsetId() int32

func (*TLMessagesGetUnreadMentions) GetPeer

func (m *TLMessagesGetUnreadMentions) GetPeer() *InputPeer

func (*TLMessagesGetUnreadMentions) ProtoMessage

func (*TLMessagesGetUnreadMentions) ProtoMessage()

func (*TLMessagesGetUnreadMentions) Reset

func (m *TLMessagesGetUnreadMentions) Reset()

func (*TLMessagesGetUnreadMentions) String

func (m *TLMessagesGetUnreadMentions) String() string

type TLMessagesGetWebPage

type TLMessagesGetWebPage struct {
	Url  string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	Hash int32  `protobuf:"varint,2,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getWebPage#32ca8f91 url:string hash:int = WebPage;

func NewTLMessagesGetWebPage

func NewTLMessagesGetWebPage() *TLMessagesGetWebPage

func (*TLMessagesGetWebPage) Decode

func (m *TLMessagesGetWebPage) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetWebPage) Descriptor

func (*TLMessagesGetWebPage) Descriptor() ([]byte, []int)

func (*TLMessagesGetWebPage) Encode

func (m *TLMessagesGetWebPage) Encode() []byte

func (*TLMessagesGetWebPage) GetHash

func (m *TLMessagesGetWebPage) GetHash() int32

func (*TLMessagesGetWebPage) GetUrl

func (m *TLMessagesGetWebPage) GetUrl() string

func (*TLMessagesGetWebPage) ProtoMessage

func (*TLMessagesGetWebPage) ProtoMessage()

func (*TLMessagesGetWebPage) Reset

func (m *TLMessagesGetWebPage) Reset()

func (*TLMessagesGetWebPage) String

func (m *TLMessagesGetWebPage) String() string

type TLMessagesGetWebPagePreview

type TLMessagesGetWebPagePreview struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.getWebPagePreview#25223e24 message:string = MessageMedia;

func NewTLMessagesGetWebPagePreview

func NewTLMessagesGetWebPagePreview() *TLMessagesGetWebPagePreview

func (*TLMessagesGetWebPagePreview) Decode

func (m *TLMessagesGetWebPagePreview) Decode(dbuf *DecodeBuf) error

func (*TLMessagesGetWebPagePreview) Descriptor

func (*TLMessagesGetWebPagePreview) Descriptor() ([]byte, []int)

func (*TLMessagesGetWebPagePreview) Encode

func (m *TLMessagesGetWebPagePreview) Encode() []byte

func (*TLMessagesGetWebPagePreview) GetMessage

func (m *TLMessagesGetWebPagePreview) GetMessage() string

func (*TLMessagesGetWebPagePreview) ProtoMessage

func (*TLMessagesGetWebPagePreview) ProtoMessage()

func (*TLMessagesGetWebPagePreview) Reset

func (m *TLMessagesGetWebPagePreview) Reset()

func (*TLMessagesGetWebPagePreview) String

func (m *TLMessagesGetWebPagePreview) String() string

type TLMessagesHideReportSpam

type TLMessagesHideReportSpam struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.hideReportSpam#a8f1709b peer:InputPeer = Bool;

func NewTLMessagesHideReportSpam

func NewTLMessagesHideReportSpam() *TLMessagesHideReportSpam

func (*TLMessagesHideReportSpam) Decode

func (m *TLMessagesHideReportSpam) Decode(dbuf *DecodeBuf) error

func (*TLMessagesHideReportSpam) Descriptor

func (*TLMessagesHideReportSpam) Descriptor() ([]byte, []int)

func (*TLMessagesHideReportSpam) Encode

func (m *TLMessagesHideReportSpam) Encode() []byte

func (*TLMessagesHideReportSpam) GetPeer

func (m *TLMessagesHideReportSpam) GetPeer() *InputPeer

func (*TLMessagesHideReportSpam) ProtoMessage

func (*TLMessagesHideReportSpam) ProtoMessage()

func (*TLMessagesHideReportSpam) Reset

func (m *TLMessagesHideReportSpam) Reset()

func (*TLMessagesHideReportSpam) String

func (m *TLMessagesHideReportSpam) String() string

type TLMessagesHighScores

type TLMessagesHighScores struct {
	Data2 *Messages_HighScores_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores;

func NewTLMessagesHighScores

func NewTLMessagesHighScores() *TLMessagesHighScores

func (*TLMessagesHighScores) Decode

func (m *TLMessagesHighScores) Decode(dbuf *DecodeBuf) error

func (*TLMessagesHighScores) Descriptor

func (*TLMessagesHighScores) Descriptor() ([]byte, []int)

func (*TLMessagesHighScores) Encode

func (m *TLMessagesHighScores) Encode() []byte

func (*TLMessagesHighScores) GetData2

func (*TLMessagesHighScores) GetScores

func (m *TLMessagesHighScores) GetScores() []*HighScore

func (*TLMessagesHighScores) GetUsers

func (m *TLMessagesHighScores) GetUsers() []*User

func (*TLMessagesHighScores) ProtoMessage

func (*TLMessagesHighScores) ProtoMessage()

func (*TLMessagesHighScores) Reset

func (m *TLMessagesHighScores) Reset()

func (*TLMessagesHighScores) SetScores

func (m *TLMessagesHighScores) SetScores(v []*HighScore)

func (*TLMessagesHighScores) SetUsers

func (m *TLMessagesHighScores) SetUsers(v []*User)

func (*TLMessagesHighScores) String

func (m *TLMessagesHighScores) String() string

func (*TLMessagesHighScores) To_Messages_HighScores

func (m *TLMessagesHighScores) To_Messages_HighScores() *Messages_HighScores

messages.highScores#9a3bfd99 scores:Vector<HighScore> users:Vector<User> = messages.HighScores;

type TLMessagesImportChatInvite

type TLMessagesImportChatInvite struct {
	Hash string `protobuf:"bytes,1,opt,name=hash" json:"hash,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.importChatInvite#6c50051c hash:string = Updates;

func NewTLMessagesImportChatInvite

func NewTLMessagesImportChatInvite() *TLMessagesImportChatInvite

func (*TLMessagesImportChatInvite) Decode

func (m *TLMessagesImportChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLMessagesImportChatInvite) Descriptor

func (*TLMessagesImportChatInvite) Descriptor() ([]byte, []int)

func (*TLMessagesImportChatInvite) Encode

func (m *TLMessagesImportChatInvite) Encode() []byte

func (*TLMessagesImportChatInvite) GetHash

func (m *TLMessagesImportChatInvite) GetHash() string

func (*TLMessagesImportChatInvite) ProtoMessage

func (*TLMessagesImportChatInvite) ProtoMessage()

func (*TLMessagesImportChatInvite) Reset

func (m *TLMessagesImportChatInvite) Reset()

func (*TLMessagesImportChatInvite) String

func (m *TLMessagesImportChatInvite) String() string

type TLMessagesInstallStickerSet

type TLMessagesInstallStickerSet struct {
	Stickerset *InputStickerSet `protobuf:"bytes,1,opt,name=stickerset" json:"stickerset,omitempty"`
	Archived   *Bool            `protobuf:"bytes,2,opt,name=archived" json:"archived,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.installStickerSet#c78fe460 stickerset:InputStickerSet archived:Bool = messages.StickerSetInstallResult;

func NewTLMessagesInstallStickerSet

func NewTLMessagesInstallStickerSet() *TLMessagesInstallStickerSet

func (*TLMessagesInstallStickerSet) Decode

func (m *TLMessagesInstallStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLMessagesInstallStickerSet) Descriptor

func (*TLMessagesInstallStickerSet) Descriptor() ([]byte, []int)

func (*TLMessagesInstallStickerSet) Encode

func (m *TLMessagesInstallStickerSet) Encode() []byte

func (*TLMessagesInstallStickerSet) GetArchived

func (m *TLMessagesInstallStickerSet) GetArchived() *Bool

func (*TLMessagesInstallStickerSet) GetStickerset

func (m *TLMessagesInstallStickerSet) GetStickerset() *InputStickerSet

func (*TLMessagesInstallStickerSet) ProtoMessage

func (*TLMessagesInstallStickerSet) ProtoMessage()

func (*TLMessagesInstallStickerSet) Reset

func (m *TLMessagesInstallStickerSet) Reset()

func (*TLMessagesInstallStickerSet) String

func (m *TLMessagesInstallStickerSet) String() string

type TLMessagesMessageEditData

type TLMessagesMessageEditData struct {
	Data2 *Messages_MessageEditData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData;

func NewTLMessagesMessageEditData

func NewTLMessagesMessageEditData() *TLMessagesMessageEditData

func (*TLMessagesMessageEditData) Decode

func (m *TLMessagesMessageEditData) Decode(dbuf *DecodeBuf) error

func (*TLMessagesMessageEditData) Descriptor

func (*TLMessagesMessageEditData) Descriptor() ([]byte, []int)

func (*TLMessagesMessageEditData) Encode

func (m *TLMessagesMessageEditData) Encode() []byte

func (*TLMessagesMessageEditData) GetCaption

func (m *TLMessagesMessageEditData) GetCaption() bool

func (*TLMessagesMessageEditData) GetData2

func (*TLMessagesMessageEditData) ProtoMessage

func (*TLMessagesMessageEditData) ProtoMessage()

func (*TLMessagesMessageEditData) Reset

func (m *TLMessagesMessageEditData) Reset()

func (*TLMessagesMessageEditData) SetCaption

func (m *TLMessagesMessageEditData) SetCaption(v bool)

func (*TLMessagesMessageEditData) String

func (m *TLMessagesMessageEditData) String() string

func (*TLMessagesMessageEditData) To_Messages_MessageEditData

func (m *TLMessagesMessageEditData) To_Messages_MessageEditData() *Messages_MessageEditData

messages.messageEditData#26b5dde6 flags:# caption:flags.0?true = messages.MessageEditData;

type TLMessagesMessages

type TLMessagesMessages struct {
	Data2 *Messages_Messages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

func NewTLMessagesMessages

func NewTLMessagesMessages() *TLMessagesMessages

func (*TLMessagesMessages) Decode

func (m *TLMessagesMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesMessages) Descriptor

func (*TLMessagesMessages) Descriptor() ([]byte, []int)

func (*TLMessagesMessages) Encode

func (m *TLMessagesMessages) Encode() []byte

func (*TLMessagesMessages) GetChats

func (m *TLMessagesMessages) GetChats() []*Chat

func (*TLMessagesMessages) GetData2

func (*TLMessagesMessages) GetMessages

func (m *TLMessagesMessages) GetMessages() []*Message

func (*TLMessagesMessages) GetUsers

func (m *TLMessagesMessages) GetUsers() []*User

func (*TLMessagesMessages) ProtoMessage

func (*TLMessagesMessages) ProtoMessage()

func (*TLMessagesMessages) Reset

func (m *TLMessagesMessages) Reset()

func (*TLMessagesMessages) SetChats

func (m *TLMessagesMessages) SetChats(v []*Chat)

func (*TLMessagesMessages) SetMessages

func (m *TLMessagesMessages) SetMessages(v []*Message)

func (*TLMessagesMessages) SetUsers

func (m *TLMessagesMessages) SetUsers(v []*User)

func (*TLMessagesMessages) String

func (m *TLMessagesMessages) String() string

func (*TLMessagesMessages) To_Messages_Messages

func (m *TLMessagesMessages) To_Messages_Messages() *Messages_Messages

messages.messages#8c718e87 messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

type TLMessagesMessagesNotModified

type TLMessagesMessagesNotModified struct {
	Data2 *Messages_Messages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.messagesNotModified#74535f21 count:int = messages.Messages;

func NewTLMessagesMessagesNotModified

func NewTLMessagesMessagesNotModified() *TLMessagesMessagesNotModified

func (*TLMessagesMessagesNotModified) Decode

func (*TLMessagesMessagesNotModified) Descriptor

func (*TLMessagesMessagesNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesMessagesNotModified) Encode

func (m *TLMessagesMessagesNotModified) Encode() []byte

func (*TLMessagesMessagesNotModified) GetCount

func (m *TLMessagesMessagesNotModified) GetCount() int32

func (*TLMessagesMessagesNotModified) GetData2

func (*TLMessagesMessagesNotModified) ProtoMessage

func (*TLMessagesMessagesNotModified) ProtoMessage()

func (*TLMessagesMessagesNotModified) Reset

func (m *TLMessagesMessagesNotModified) Reset()

func (*TLMessagesMessagesNotModified) SetCount

func (m *TLMessagesMessagesNotModified) SetCount(v int32)

func (*TLMessagesMessagesNotModified) String

func (*TLMessagesMessagesNotModified) To_Messages_Messages

func (m *TLMessagesMessagesNotModified) To_Messages_Messages() *Messages_Messages

messages.messagesNotModified#74535f21 count:int = messages.Messages;

type TLMessagesMessagesSlice

type TLMessagesMessagesSlice struct {
	Data2 *Messages_Messages_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

func NewTLMessagesMessagesSlice

func NewTLMessagesMessagesSlice() *TLMessagesMessagesSlice

func (*TLMessagesMessagesSlice) Decode

func (m *TLMessagesMessagesSlice) Decode(dbuf *DecodeBuf) error

func (*TLMessagesMessagesSlice) Descriptor

func (*TLMessagesMessagesSlice) Descriptor() ([]byte, []int)

func (*TLMessagesMessagesSlice) Encode

func (m *TLMessagesMessagesSlice) Encode() []byte

func (*TLMessagesMessagesSlice) GetChats

func (m *TLMessagesMessagesSlice) GetChats() []*Chat

func (*TLMessagesMessagesSlice) GetCount

func (m *TLMessagesMessagesSlice) GetCount() int32

func (*TLMessagesMessagesSlice) GetData2

func (*TLMessagesMessagesSlice) GetMessages

func (m *TLMessagesMessagesSlice) GetMessages() []*Message

func (*TLMessagesMessagesSlice) GetUsers

func (m *TLMessagesMessagesSlice) GetUsers() []*User

func (*TLMessagesMessagesSlice) ProtoMessage

func (*TLMessagesMessagesSlice) ProtoMessage()

func (*TLMessagesMessagesSlice) Reset

func (m *TLMessagesMessagesSlice) Reset()

func (*TLMessagesMessagesSlice) SetChats

func (m *TLMessagesMessagesSlice) SetChats(v []*Chat)

func (*TLMessagesMessagesSlice) SetCount

func (m *TLMessagesMessagesSlice) SetCount(v int32)

func (*TLMessagesMessagesSlice) SetMessages

func (m *TLMessagesMessagesSlice) SetMessages(v []*Message)

func (*TLMessagesMessagesSlice) SetUsers

func (m *TLMessagesMessagesSlice) SetUsers(v []*User)

func (*TLMessagesMessagesSlice) String

func (m *TLMessagesMessagesSlice) String() string

func (*TLMessagesMessagesSlice) To_Messages_Messages

func (m *TLMessagesMessagesSlice) To_Messages_Messages() *Messages_Messages

messages.messagesSlice#b446ae3 count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.Messages;

type TLMessagesMigrateChat

type TLMessagesMigrateChat struct {
	ChatId int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.migrateChat#15a3b8e3 chat_id:int = Updates;

func NewTLMessagesMigrateChat

func NewTLMessagesMigrateChat() *TLMessagesMigrateChat

func (*TLMessagesMigrateChat) Decode

func (m *TLMessagesMigrateChat) Decode(dbuf *DecodeBuf) error

func (*TLMessagesMigrateChat) Descriptor

func (*TLMessagesMigrateChat) Descriptor() ([]byte, []int)

func (*TLMessagesMigrateChat) Encode

func (m *TLMessagesMigrateChat) Encode() []byte

func (*TLMessagesMigrateChat) GetChatId

func (m *TLMessagesMigrateChat) GetChatId() int32

func (*TLMessagesMigrateChat) ProtoMessage

func (*TLMessagesMigrateChat) ProtoMessage()

func (*TLMessagesMigrateChat) Reset

func (m *TLMessagesMigrateChat) Reset()

func (*TLMessagesMigrateChat) String

func (m *TLMessagesMigrateChat) String() string

type TLMessagesPeerDialogs

type TLMessagesPeerDialogs struct {
	Data2 *Messages_PeerDialogs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs;

func NewTLMessagesPeerDialogs

func NewTLMessagesPeerDialogs() *TLMessagesPeerDialogs

func (*TLMessagesPeerDialogs) Decode

func (m *TLMessagesPeerDialogs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesPeerDialogs) Descriptor

func (*TLMessagesPeerDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesPeerDialogs) Encode

func (m *TLMessagesPeerDialogs) Encode() []byte

func (*TLMessagesPeerDialogs) GetChats

func (m *TLMessagesPeerDialogs) GetChats() []*Chat

func (*TLMessagesPeerDialogs) GetData2

func (*TLMessagesPeerDialogs) GetDialogs

func (m *TLMessagesPeerDialogs) GetDialogs() []*Dialog

func (*TLMessagesPeerDialogs) GetMessages

func (m *TLMessagesPeerDialogs) GetMessages() []*Message

func (*TLMessagesPeerDialogs) GetState

func (m *TLMessagesPeerDialogs) GetState() *Updates_State

func (*TLMessagesPeerDialogs) GetUsers

func (m *TLMessagesPeerDialogs) GetUsers() []*User

func (*TLMessagesPeerDialogs) ProtoMessage

func (*TLMessagesPeerDialogs) ProtoMessage()

func (*TLMessagesPeerDialogs) Reset

func (m *TLMessagesPeerDialogs) Reset()

func (*TLMessagesPeerDialogs) SetChats

func (m *TLMessagesPeerDialogs) SetChats(v []*Chat)

func (*TLMessagesPeerDialogs) SetDialogs

func (m *TLMessagesPeerDialogs) SetDialogs(v []*Dialog)

func (*TLMessagesPeerDialogs) SetMessages

func (m *TLMessagesPeerDialogs) SetMessages(v []*Message)

func (*TLMessagesPeerDialogs) SetState

func (m *TLMessagesPeerDialogs) SetState(v *Updates_State)

func (*TLMessagesPeerDialogs) SetUsers

func (m *TLMessagesPeerDialogs) SetUsers(v []*User)

func (*TLMessagesPeerDialogs) String

func (m *TLMessagesPeerDialogs) String() string

func (*TLMessagesPeerDialogs) To_Messages_PeerDialogs

func (m *TLMessagesPeerDialogs) To_Messages_PeerDialogs() *Messages_PeerDialogs

messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs;

type TLMessagesReadEncryptedHistory

type TLMessagesReadEncryptedHistory struct {
	Peer    *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	MaxDate int32               `protobuf:"varint,2,opt,name=max_date,json=maxDate" json:"max_date,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readEncryptedHistory#7f4b690a peer:InputEncryptedChat max_date:int = Bool;

func NewTLMessagesReadEncryptedHistory

func NewTLMessagesReadEncryptedHistory() *TLMessagesReadEncryptedHistory

func (*TLMessagesReadEncryptedHistory) Decode

func (*TLMessagesReadEncryptedHistory) Descriptor

func (*TLMessagesReadEncryptedHistory) Descriptor() ([]byte, []int)

func (*TLMessagesReadEncryptedHistory) Encode

func (m *TLMessagesReadEncryptedHistory) Encode() []byte

func (*TLMessagesReadEncryptedHistory) GetMaxDate

func (m *TLMessagesReadEncryptedHistory) GetMaxDate() int32

func (*TLMessagesReadEncryptedHistory) GetPeer

func (*TLMessagesReadEncryptedHistory) ProtoMessage

func (*TLMessagesReadEncryptedHistory) ProtoMessage()

func (*TLMessagesReadEncryptedHistory) Reset

func (m *TLMessagesReadEncryptedHistory) Reset()

func (*TLMessagesReadEncryptedHistory) String

type TLMessagesReadFeaturedStickers

type TLMessagesReadFeaturedStickers struct {
	Id []int64 `protobuf:"varint,1,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readFeaturedStickers#5b118126 id:Vector<long> = Bool;

func NewTLMessagesReadFeaturedStickers

func NewTLMessagesReadFeaturedStickers() *TLMessagesReadFeaturedStickers

func (*TLMessagesReadFeaturedStickers) Decode

func (*TLMessagesReadFeaturedStickers) Descriptor

func (*TLMessagesReadFeaturedStickers) Descriptor() ([]byte, []int)

func (*TLMessagesReadFeaturedStickers) Encode

func (m *TLMessagesReadFeaturedStickers) Encode() []byte

func (*TLMessagesReadFeaturedStickers) GetId

func (*TLMessagesReadFeaturedStickers) ProtoMessage

func (*TLMessagesReadFeaturedStickers) ProtoMessage()

func (*TLMessagesReadFeaturedStickers) Reset

func (m *TLMessagesReadFeaturedStickers) Reset()

func (*TLMessagesReadFeaturedStickers) String

type TLMessagesReadHistory

type TLMessagesReadHistory struct {
	Peer  *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	MaxId int32      `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;

func NewTLMessagesReadHistory

func NewTLMessagesReadHistory() *TLMessagesReadHistory

func (*TLMessagesReadHistory) Decode

func (m *TLMessagesReadHistory) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReadHistory) Descriptor

func (*TLMessagesReadHistory) Descriptor() ([]byte, []int)

func (*TLMessagesReadHistory) Encode

func (m *TLMessagesReadHistory) Encode() []byte

func (*TLMessagesReadHistory) GetMaxId

func (m *TLMessagesReadHistory) GetMaxId() int32

func (*TLMessagesReadHistory) GetPeer

func (m *TLMessagesReadHistory) GetPeer() *InputPeer

func (*TLMessagesReadHistory) ProtoMessage

func (*TLMessagesReadHistory) ProtoMessage()

func (*TLMessagesReadHistory) Reset

func (m *TLMessagesReadHistory) Reset()

func (*TLMessagesReadHistory) String

func (m *TLMessagesReadHistory) String() string

type TLMessagesReadHistoryLayer2

type TLMessagesReadHistoryLayer2 struct {
	Peer   *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	MaxId  int32      `protobuf:"varint,2,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	Offset int32      `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readHistory#b04f2510 peer:InputPeer max_id:int offset:int = messages.AffectedHistory; Layer2

func NewTLMessagesReadHistoryLayer2

func NewTLMessagesReadHistoryLayer2() *TLMessagesReadHistoryLayer2

func (*TLMessagesReadHistoryLayer2) Decode

func (m *TLMessagesReadHistoryLayer2) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReadHistoryLayer2) Descriptor

func (*TLMessagesReadHistoryLayer2) Descriptor() ([]byte, []int)

func (*TLMessagesReadHistoryLayer2) Encode

func (m *TLMessagesReadHistoryLayer2) Encode() []byte

func (*TLMessagesReadHistoryLayer2) GetMaxId

func (m *TLMessagesReadHistoryLayer2) GetMaxId() int32

func (*TLMessagesReadHistoryLayer2) GetOffset

func (m *TLMessagesReadHistoryLayer2) GetOffset() int32

func (*TLMessagesReadHistoryLayer2) GetPeer

func (m *TLMessagesReadHistoryLayer2) GetPeer() *InputPeer

func (*TLMessagesReadHistoryLayer2) ProtoMessage

func (*TLMessagesReadHistoryLayer2) ProtoMessage()

func (*TLMessagesReadHistoryLayer2) Reset

func (m *TLMessagesReadHistoryLayer2) Reset()

func (*TLMessagesReadHistoryLayer2) String

func (m *TLMessagesReadHistoryLayer2) String() string

type TLMessagesReadMentions

type TLMessagesReadMentions struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readMentions#f0189d3 peer:InputPeer = messages.AffectedHistory;

func NewTLMessagesReadMentions

func NewTLMessagesReadMentions() *TLMessagesReadMentions

func (*TLMessagesReadMentions) Decode

func (m *TLMessagesReadMentions) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReadMentions) Descriptor

func (*TLMessagesReadMentions) Descriptor() ([]byte, []int)

func (*TLMessagesReadMentions) Encode

func (m *TLMessagesReadMentions) Encode() []byte

func (*TLMessagesReadMentions) GetPeer

func (m *TLMessagesReadMentions) GetPeer() *InputPeer

func (*TLMessagesReadMentions) ProtoMessage

func (*TLMessagesReadMentions) ProtoMessage()

func (*TLMessagesReadMentions) Reset

func (m *TLMessagesReadMentions) Reset()

func (*TLMessagesReadMentions) String

func (m *TLMessagesReadMentions) String() string

type TLMessagesReadMessageContents

type TLMessagesReadMessageContents struct {
	Id []int32 `protobuf:"varint,1,rep,packed,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.readMessageContents#36a73f77 id:Vector<int> = messages.AffectedMessages;

func NewTLMessagesReadMessageContents

func NewTLMessagesReadMessageContents() *TLMessagesReadMessageContents

func (*TLMessagesReadMessageContents) Decode

func (*TLMessagesReadMessageContents) Descriptor

func (*TLMessagesReadMessageContents) Descriptor() ([]byte, []int)

func (*TLMessagesReadMessageContents) Encode

func (m *TLMessagesReadMessageContents) Encode() []byte

func (*TLMessagesReadMessageContents) GetId

func (m *TLMessagesReadMessageContents) GetId() []int32

func (*TLMessagesReadMessageContents) ProtoMessage

func (*TLMessagesReadMessageContents) ProtoMessage()

func (*TLMessagesReadMessageContents) Reset

func (m *TLMessagesReadMessageContents) Reset()

func (*TLMessagesReadMessageContents) String

type TLMessagesReceivedMessages

type TLMessagesReceivedMessages struct {
	MaxId int32 `protobuf:"varint,1,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.receivedMessages#5a954c0 max_id:int = Vector<ReceivedNotifyMessage>;

func NewTLMessagesReceivedMessages

func NewTLMessagesReceivedMessages() *TLMessagesReceivedMessages

func (*TLMessagesReceivedMessages) Decode

func (m *TLMessagesReceivedMessages) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReceivedMessages) Descriptor

func (*TLMessagesReceivedMessages) Descriptor() ([]byte, []int)

func (*TLMessagesReceivedMessages) Encode

func (m *TLMessagesReceivedMessages) Encode() []byte

func (*TLMessagesReceivedMessages) GetMaxId

func (m *TLMessagesReceivedMessages) GetMaxId() int32

func (*TLMessagesReceivedMessages) ProtoMessage

func (*TLMessagesReceivedMessages) ProtoMessage()

func (*TLMessagesReceivedMessages) Reset

func (m *TLMessagesReceivedMessages) Reset()

func (*TLMessagesReceivedMessages) String

func (m *TLMessagesReceivedMessages) String() string

type TLMessagesReceivedQueue

type TLMessagesReceivedQueue struct {
	MaxQts int32 `protobuf:"varint,1,opt,name=max_qts,json=maxQts" json:"max_qts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;

func NewTLMessagesReceivedQueue

func NewTLMessagesReceivedQueue() *TLMessagesReceivedQueue

func (*TLMessagesReceivedQueue) Decode

func (m *TLMessagesReceivedQueue) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReceivedQueue) Descriptor

func (*TLMessagesReceivedQueue) Descriptor() ([]byte, []int)

func (*TLMessagesReceivedQueue) Encode

func (m *TLMessagesReceivedQueue) Encode() []byte

func (*TLMessagesReceivedQueue) GetMaxQts

func (m *TLMessagesReceivedQueue) GetMaxQts() int32

func (*TLMessagesReceivedQueue) ProtoMessage

func (*TLMessagesReceivedQueue) ProtoMessage()

func (*TLMessagesReceivedQueue) Reset

func (m *TLMessagesReceivedQueue) Reset()

func (*TLMessagesReceivedQueue) String

func (m *TLMessagesReceivedQueue) String() string

type TLMessagesRecentStickers

type TLMessagesRecentStickers struct {
	Data2 *Messages_RecentStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.recentStickers#5ce20970 hash:int stickers:Vector<Document> = messages.RecentStickers;

func NewTLMessagesRecentStickers

func NewTLMessagesRecentStickers() *TLMessagesRecentStickers

func (*TLMessagesRecentStickers) Decode

func (m *TLMessagesRecentStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesRecentStickers) Descriptor

func (*TLMessagesRecentStickers) Descriptor() ([]byte, []int)

func (*TLMessagesRecentStickers) Encode

func (m *TLMessagesRecentStickers) Encode() []byte

func (*TLMessagesRecentStickers) GetData2

func (*TLMessagesRecentStickers) GetHash

func (m *TLMessagesRecentStickers) GetHash() int32

func (*TLMessagesRecentStickers) GetStickers

func (m *TLMessagesRecentStickers) GetStickers() []*Document

func (*TLMessagesRecentStickers) ProtoMessage

func (*TLMessagesRecentStickers) ProtoMessage()

func (*TLMessagesRecentStickers) Reset

func (m *TLMessagesRecentStickers) Reset()

func (*TLMessagesRecentStickers) SetHash

func (m *TLMessagesRecentStickers) SetHash(v int32)

func (*TLMessagesRecentStickers) SetStickers

func (m *TLMessagesRecentStickers) SetStickers(v []*Document)

func (*TLMessagesRecentStickers) String

func (m *TLMessagesRecentStickers) String() string

func (*TLMessagesRecentStickers) To_Messages_RecentStickers

func (m *TLMessagesRecentStickers) To_Messages_RecentStickers() *Messages_RecentStickers

messages.recentStickers#5ce20970 hash:int stickers:Vector<Document> = messages.RecentStickers;

type TLMessagesRecentStickersNotModified

type TLMessagesRecentStickersNotModified struct {
	Data2 *Messages_RecentStickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.recentStickersNotModified#b17f890 = messages.RecentStickers;

func NewTLMessagesRecentStickersNotModified

func NewTLMessagesRecentStickersNotModified() *TLMessagesRecentStickersNotModified

func (*TLMessagesRecentStickersNotModified) Decode

func (*TLMessagesRecentStickersNotModified) Descriptor

func (*TLMessagesRecentStickersNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesRecentStickersNotModified) Encode

func (*TLMessagesRecentStickersNotModified) GetData2

func (*TLMessagesRecentStickersNotModified) ProtoMessage

func (*TLMessagesRecentStickersNotModified) ProtoMessage()

func (*TLMessagesRecentStickersNotModified) Reset

func (*TLMessagesRecentStickersNotModified) String

func (*TLMessagesRecentStickersNotModified) To_Messages_RecentStickers

func (m *TLMessagesRecentStickersNotModified) To_Messages_RecentStickers() *Messages_RecentStickers

messages.recentStickersNotModified#b17f890 = messages.RecentStickers;

type TLMessagesReorderPinnedDialogs

type TLMessagesReorderPinnedDialogs struct {
	Force bool         `protobuf:"varint,2,opt,name=force" json:"force,omitempty"`
	Order []*InputPeer `protobuf:"bytes,3,rep,name=order" json:"order,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.reorderPinnedDialogs#959ff644 flags:# force:flags.0?true order:Vector<InputPeer> = Bool;

func NewTLMessagesReorderPinnedDialogs

func NewTLMessagesReorderPinnedDialogs() *TLMessagesReorderPinnedDialogs

func (*TLMessagesReorderPinnedDialogs) Decode

func (*TLMessagesReorderPinnedDialogs) Descriptor

func (*TLMessagesReorderPinnedDialogs) Descriptor() ([]byte, []int)

func (*TLMessagesReorderPinnedDialogs) Encode

func (m *TLMessagesReorderPinnedDialogs) Encode() []byte

func (*TLMessagesReorderPinnedDialogs) GetForce

func (m *TLMessagesReorderPinnedDialogs) GetForce() bool

func (*TLMessagesReorderPinnedDialogs) GetOrder

func (m *TLMessagesReorderPinnedDialogs) GetOrder() []*InputPeer

func (*TLMessagesReorderPinnedDialogs) ProtoMessage

func (*TLMessagesReorderPinnedDialogs) ProtoMessage()

func (*TLMessagesReorderPinnedDialogs) Reset

func (m *TLMessagesReorderPinnedDialogs) Reset()

func (*TLMessagesReorderPinnedDialogs) String

type TLMessagesReorderStickerSets

type TLMessagesReorderStickerSets struct {
	Masks bool    `protobuf:"varint,2,opt,name=masks" json:"masks,omitempty"`
	Order []int64 `protobuf:"varint,3,rep,packed,name=order" json:"order,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.reorderStickerSets#78337739 flags:# masks:flags.0?true order:Vector<long> = Bool;

func NewTLMessagesReorderStickerSets

func NewTLMessagesReorderStickerSets() *TLMessagesReorderStickerSets

func (*TLMessagesReorderStickerSets) Decode

func (m *TLMessagesReorderStickerSets) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReorderStickerSets) Descriptor

func (*TLMessagesReorderStickerSets) Descriptor() ([]byte, []int)

func (*TLMessagesReorderStickerSets) Encode

func (m *TLMessagesReorderStickerSets) Encode() []byte

func (*TLMessagesReorderStickerSets) GetMasks

func (m *TLMessagesReorderStickerSets) GetMasks() bool

func (*TLMessagesReorderStickerSets) GetOrder

func (m *TLMessagesReorderStickerSets) GetOrder() []int64

func (*TLMessagesReorderStickerSets) ProtoMessage

func (*TLMessagesReorderStickerSets) ProtoMessage()

func (*TLMessagesReorderStickerSets) Reset

func (m *TLMessagesReorderStickerSets) Reset()

func (*TLMessagesReorderStickerSets) String

type TLMessagesReportEncryptedSpam

type TLMessagesReportEncryptedSpam struct {
	Peer *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.reportEncryptedSpam#4b0c8c0f peer:InputEncryptedChat = Bool;

func NewTLMessagesReportEncryptedSpam

func NewTLMessagesReportEncryptedSpam() *TLMessagesReportEncryptedSpam

func (*TLMessagesReportEncryptedSpam) Decode

func (*TLMessagesReportEncryptedSpam) Descriptor

func (*TLMessagesReportEncryptedSpam) Descriptor() ([]byte, []int)

func (*TLMessagesReportEncryptedSpam) Encode

func (m *TLMessagesReportEncryptedSpam) Encode() []byte

func (*TLMessagesReportEncryptedSpam) GetPeer

func (*TLMessagesReportEncryptedSpam) ProtoMessage

func (*TLMessagesReportEncryptedSpam) ProtoMessage()

func (*TLMessagesReportEncryptedSpam) Reset

func (m *TLMessagesReportEncryptedSpam) Reset()

func (*TLMessagesReportEncryptedSpam) String

type TLMessagesReportSpam

type TLMessagesReportSpam struct {
	Peer *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.reportSpam#cf1592db peer:InputPeer = Bool;

func NewTLMessagesReportSpam

func NewTLMessagesReportSpam() *TLMessagesReportSpam

func (*TLMessagesReportSpam) Decode

func (m *TLMessagesReportSpam) Decode(dbuf *DecodeBuf) error

func (*TLMessagesReportSpam) Descriptor

func (*TLMessagesReportSpam) Descriptor() ([]byte, []int)

func (*TLMessagesReportSpam) Encode

func (m *TLMessagesReportSpam) Encode() []byte

func (*TLMessagesReportSpam) GetPeer

func (m *TLMessagesReportSpam) GetPeer() *InputPeer

func (*TLMessagesReportSpam) ProtoMessage

func (*TLMessagesReportSpam) ProtoMessage()

func (*TLMessagesReportSpam) Reset

func (m *TLMessagesReportSpam) Reset()

func (*TLMessagesReportSpam) String

func (m *TLMessagesReportSpam) String() string

type TLMessagesRequestEncryption

type TLMessagesRequestEncryption struct {
	UserId   *InputUser `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	RandomId int32      `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	GA       []byte     `protobuf:"bytes,3,opt,name=g_a,json=gA,proto3" json:"g_a,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChat;

func NewTLMessagesRequestEncryption

func NewTLMessagesRequestEncryption() *TLMessagesRequestEncryption

func (*TLMessagesRequestEncryption) Decode

func (m *TLMessagesRequestEncryption) Decode(dbuf *DecodeBuf) error

func (*TLMessagesRequestEncryption) Descriptor

func (*TLMessagesRequestEncryption) Descriptor() ([]byte, []int)

func (*TLMessagesRequestEncryption) Encode

func (m *TLMessagesRequestEncryption) Encode() []byte

func (*TLMessagesRequestEncryption) GetGA

func (m *TLMessagesRequestEncryption) GetGA() []byte

func (*TLMessagesRequestEncryption) GetRandomId

func (m *TLMessagesRequestEncryption) GetRandomId() int32

func (*TLMessagesRequestEncryption) GetUserId

func (m *TLMessagesRequestEncryption) GetUserId() *InputUser

func (*TLMessagesRequestEncryption) ProtoMessage

func (*TLMessagesRequestEncryption) ProtoMessage()

func (*TLMessagesRequestEncryption) Reset

func (m *TLMessagesRequestEncryption) Reset()

func (*TLMessagesRequestEncryption) String

func (m *TLMessagesRequestEncryption) String() string

type TLMessagesSaveDraft

type TLMessagesSaveDraft struct {
	NoWebpage    bool             `protobuf:"varint,2,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	ReplyToMsgId int32            `protobuf:"varint,3,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Peer         *InputPeer       `protobuf:"bytes,4,opt,name=peer" json:"peer,omitempty"`
	Message      string           `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	Entities     []*MessageEntity `protobuf:"bytes,6,rep,name=entities" json:"entities,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.saveDraft#bc39e14b flags:# no_webpage:flags.1?true reply_to_msg_id:flags.0?int peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> = Bool;

func NewTLMessagesSaveDraft

func NewTLMessagesSaveDraft() *TLMessagesSaveDraft

func (*TLMessagesSaveDraft) Decode

func (m *TLMessagesSaveDraft) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSaveDraft) Descriptor

func (*TLMessagesSaveDraft) Descriptor() ([]byte, []int)

func (*TLMessagesSaveDraft) Encode

func (m *TLMessagesSaveDraft) Encode() []byte

func (*TLMessagesSaveDraft) GetEntities

func (m *TLMessagesSaveDraft) GetEntities() []*MessageEntity

func (*TLMessagesSaveDraft) GetMessage

func (m *TLMessagesSaveDraft) GetMessage() string

func (*TLMessagesSaveDraft) GetNoWebpage

func (m *TLMessagesSaveDraft) GetNoWebpage() bool

func (*TLMessagesSaveDraft) GetPeer

func (m *TLMessagesSaveDraft) GetPeer() *InputPeer

func (*TLMessagesSaveDraft) GetReplyToMsgId

func (m *TLMessagesSaveDraft) GetReplyToMsgId() int32

func (*TLMessagesSaveDraft) ProtoMessage

func (*TLMessagesSaveDraft) ProtoMessage()

func (*TLMessagesSaveDraft) Reset

func (m *TLMessagesSaveDraft) Reset()

func (*TLMessagesSaveDraft) String

func (m *TLMessagesSaveDraft) String() string

type TLMessagesSaveGif

type TLMessagesSaveGif struct {
	Id     *InputDocument `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Unsave *Bool          `protobuf:"bytes,2,opt,name=unsave" json:"unsave,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.saveGif#327a30cb id:InputDocument unsave:Bool = Bool;

func NewTLMessagesSaveGif

func NewTLMessagesSaveGif() *TLMessagesSaveGif

func (*TLMessagesSaveGif) Decode

func (m *TLMessagesSaveGif) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSaveGif) Descriptor

func (*TLMessagesSaveGif) Descriptor() ([]byte, []int)

func (*TLMessagesSaveGif) Encode

func (m *TLMessagesSaveGif) Encode() []byte

func (*TLMessagesSaveGif) GetId

func (m *TLMessagesSaveGif) GetId() *InputDocument

func (*TLMessagesSaveGif) GetUnsave

func (m *TLMessagesSaveGif) GetUnsave() *Bool

func (*TLMessagesSaveGif) ProtoMessage

func (*TLMessagesSaveGif) ProtoMessage()

func (*TLMessagesSaveGif) Reset

func (m *TLMessagesSaveGif) Reset()

func (*TLMessagesSaveGif) String

func (m *TLMessagesSaveGif) String() string

type TLMessagesSaveRecentSticker

type TLMessagesSaveRecentSticker struct {
	Attached bool           `protobuf:"varint,2,opt,name=attached" json:"attached,omitempty"`
	Id       *InputDocument `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	Unsave   *Bool          `protobuf:"bytes,4,opt,name=unsave" json:"unsave,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;

func NewTLMessagesSaveRecentSticker

func NewTLMessagesSaveRecentSticker() *TLMessagesSaveRecentSticker

func (*TLMessagesSaveRecentSticker) Decode

func (m *TLMessagesSaveRecentSticker) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSaveRecentSticker) Descriptor

func (*TLMessagesSaveRecentSticker) Descriptor() ([]byte, []int)

func (*TLMessagesSaveRecentSticker) Encode

func (m *TLMessagesSaveRecentSticker) Encode() []byte

func (*TLMessagesSaveRecentSticker) GetAttached

func (m *TLMessagesSaveRecentSticker) GetAttached() bool

func (*TLMessagesSaveRecentSticker) GetId

func (*TLMessagesSaveRecentSticker) GetUnsave

func (m *TLMessagesSaveRecentSticker) GetUnsave() *Bool

func (*TLMessagesSaveRecentSticker) ProtoMessage

func (*TLMessagesSaveRecentSticker) ProtoMessage()

func (*TLMessagesSaveRecentSticker) Reset

func (m *TLMessagesSaveRecentSticker) Reset()

func (*TLMessagesSaveRecentSticker) String

func (m *TLMessagesSaveRecentSticker) String() string

type TLMessagesSavedGifs

type TLMessagesSavedGifs struct {
	Data2 *Messages_SavedGifs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs;

func NewTLMessagesSavedGifs

func NewTLMessagesSavedGifs() *TLMessagesSavedGifs

func (*TLMessagesSavedGifs) Decode

func (m *TLMessagesSavedGifs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSavedGifs) Descriptor

func (*TLMessagesSavedGifs) Descriptor() ([]byte, []int)

func (*TLMessagesSavedGifs) Encode

func (m *TLMessagesSavedGifs) Encode() []byte

func (*TLMessagesSavedGifs) GetData2

func (*TLMessagesSavedGifs) GetGifs

func (m *TLMessagesSavedGifs) GetGifs() []*Document

func (*TLMessagesSavedGifs) GetHash

func (m *TLMessagesSavedGifs) GetHash() int32

func (*TLMessagesSavedGifs) ProtoMessage

func (*TLMessagesSavedGifs) ProtoMessage()

func (*TLMessagesSavedGifs) Reset

func (m *TLMessagesSavedGifs) Reset()

func (*TLMessagesSavedGifs) SetGifs

func (m *TLMessagesSavedGifs) SetGifs(v []*Document)

func (*TLMessagesSavedGifs) SetHash

func (m *TLMessagesSavedGifs) SetHash(v int32)

func (*TLMessagesSavedGifs) String

func (m *TLMessagesSavedGifs) String() string

func (*TLMessagesSavedGifs) To_Messages_SavedGifs

func (m *TLMessagesSavedGifs) To_Messages_SavedGifs() *Messages_SavedGifs

messages.savedGifs#2e0709a5 hash:int gifs:Vector<Document> = messages.SavedGifs;

type TLMessagesSavedGifsNotModified

type TLMessagesSavedGifsNotModified struct {
	Data2 *Messages_SavedGifs_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;

func NewTLMessagesSavedGifsNotModified

func NewTLMessagesSavedGifsNotModified() *TLMessagesSavedGifsNotModified

func (*TLMessagesSavedGifsNotModified) Decode

func (*TLMessagesSavedGifsNotModified) Descriptor

func (*TLMessagesSavedGifsNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesSavedGifsNotModified) Encode

func (m *TLMessagesSavedGifsNotModified) Encode() []byte

func (*TLMessagesSavedGifsNotModified) GetData2

func (*TLMessagesSavedGifsNotModified) ProtoMessage

func (*TLMessagesSavedGifsNotModified) ProtoMessage()

func (*TLMessagesSavedGifsNotModified) Reset

func (m *TLMessagesSavedGifsNotModified) Reset()

func (*TLMessagesSavedGifsNotModified) String

func (*TLMessagesSavedGifsNotModified) To_Messages_SavedGifs

func (m *TLMessagesSavedGifsNotModified) To_Messages_SavedGifs() *Messages_SavedGifs

messages.savedGifsNotModified#e8025ca2 = messages.SavedGifs;

type TLMessagesSearch

type TLMessagesSearch struct {
	Peer      *InputPeer      `protobuf:"bytes,2,opt,name=peer" json:"peer,omitempty"`
	Q         string          `protobuf:"bytes,3,opt,name=q" json:"q,omitempty"`
	FromId    *InputUser      `protobuf:"bytes,4,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
	Filter    *MessagesFilter `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
	MinDate   int32           `protobuf:"varint,6,opt,name=min_date,json=minDate" json:"min_date,omitempty"`
	MaxDate   int32           `protobuf:"varint,7,opt,name=max_date,json=maxDate" json:"max_date,omitempty"`
	OffsetId  int32           `protobuf:"varint,8,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	AddOffset int32           `protobuf:"varint,9,opt,name=add_offset,json=addOffset" json:"add_offset,omitempty"`
	Limit     int32           `protobuf:"varint,10,opt,name=limit" json:"limit,omitempty"`
	MaxId     int32           `protobuf:"varint,11,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	MinId     int32           `protobuf:"varint,12,opt,name=min_id,json=minId" json:"min_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.search#39e9ea0 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int = messages.Messages;

func NewTLMessagesSearch

func NewTLMessagesSearch() *TLMessagesSearch

func (*TLMessagesSearch) Decode

func (m *TLMessagesSearch) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSearch) Descriptor

func (*TLMessagesSearch) Descriptor() ([]byte, []int)

func (*TLMessagesSearch) Encode

func (m *TLMessagesSearch) Encode() []byte

func (*TLMessagesSearch) GetAddOffset

func (m *TLMessagesSearch) GetAddOffset() int32

func (*TLMessagesSearch) GetFilter

func (m *TLMessagesSearch) GetFilter() *MessagesFilter

func (*TLMessagesSearch) GetFromId

func (m *TLMessagesSearch) GetFromId() *InputUser

func (*TLMessagesSearch) GetLimit

func (m *TLMessagesSearch) GetLimit() int32

func (*TLMessagesSearch) GetMaxDate

func (m *TLMessagesSearch) GetMaxDate() int32

func (*TLMessagesSearch) GetMaxId

func (m *TLMessagesSearch) GetMaxId() int32

func (*TLMessagesSearch) GetMinDate

func (m *TLMessagesSearch) GetMinDate() int32

func (*TLMessagesSearch) GetMinId

func (m *TLMessagesSearch) GetMinId() int32

func (*TLMessagesSearch) GetOffsetId

func (m *TLMessagesSearch) GetOffsetId() int32

func (*TLMessagesSearch) GetPeer

func (m *TLMessagesSearch) GetPeer() *InputPeer

func (*TLMessagesSearch) GetQ

func (m *TLMessagesSearch) GetQ() string

func (*TLMessagesSearch) ProtoMessage

func (*TLMessagesSearch) ProtoMessage()

func (*TLMessagesSearch) Reset

func (m *TLMessagesSearch) Reset()

func (*TLMessagesSearch) String

func (m *TLMessagesSearch) String() string

type TLMessagesSearchGifs

type TLMessagesSearchGifs struct {
	Q      string `protobuf:"bytes,1,opt,name=q" json:"q,omitempty"`
	Offset int32  `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.searchGifs#bf9a776b q:string offset:int = messages.FoundGifs;

func NewTLMessagesSearchGifs

func NewTLMessagesSearchGifs() *TLMessagesSearchGifs

func (*TLMessagesSearchGifs) Decode

func (m *TLMessagesSearchGifs) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSearchGifs) Descriptor

func (*TLMessagesSearchGifs) Descriptor() ([]byte, []int)

func (*TLMessagesSearchGifs) Encode

func (m *TLMessagesSearchGifs) Encode() []byte

func (*TLMessagesSearchGifs) GetOffset

func (m *TLMessagesSearchGifs) GetOffset() int32

func (*TLMessagesSearchGifs) GetQ

func (m *TLMessagesSearchGifs) GetQ() string

func (*TLMessagesSearchGifs) ProtoMessage

func (*TLMessagesSearchGifs) ProtoMessage()

func (*TLMessagesSearchGifs) Reset

func (m *TLMessagesSearchGifs) Reset()

func (*TLMessagesSearchGifs) String

func (m *TLMessagesSearchGifs) String() string

type TLMessagesSearchGlobal

type TLMessagesSearchGlobal struct {
	Q          string     `protobuf:"bytes,1,opt,name=q" json:"q,omitempty"`
	OffsetDate int32      `protobuf:"varint,2,opt,name=offset_date,json=offsetDate" json:"offset_date,omitempty"`
	OffsetPeer *InputPeer `protobuf:"bytes,3,opt,name=offset_peer,json=offsetPeer" json:"offset_peer,omitempty"`
	OffsetId   int32      `protobuf:"varint,4,opt,name=offset_id,json=offsetId" json:"offset_id,omitempty"`
	Limit      int32      `protobuf:"varint,5,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.searchGlobal#9e3cacb0 q:string offset_date:int offset_peer:InputPeer offset_id:int limit:int = messages.Messages;

func NewTLMessagesSearchGlobal

func NewTLMessagesSearchGlobal() *TLMessagesSearchGlobal

func (*TLMessagesSearchGlobal) Decode

func (m *TLMessagesSearchGlobal) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSearchGlobal) Descriptor

func (*TLMessagesSearchGlobal) Descriptor() ([]byte, []int)

func (*TLMessagesSearchGlobal) Encode

func (m *TLMessagesSearchGlobal) Encode() []byte

func (*TLMessagesSearchGlobal) GetLimit

func (m *TLMessagesSearchGlobal) GetLimit() int32

func (*TLMessagesSearchGlobal) GetOffsetDate

func (m *TLMessagesSearchGlobal) GetOffsetDate() int32

func (*TLMessagesSearchGlobal) GetOffsetId

func (m *TLMessagesSearchGlobal) GetOffsetId() int32

func (*TLMessagesSearchGlobal) GetOffsetPeer

func (m *TLMessagesSearchGlobal) GetOffsetPeer() *InputPeer

func (*TLMessagesSearchGlobal) GetQ

func (m *TLMessagesSearchGlobal) GetQ() string

func (*TLMessagesSearchGlobal) ProtoMessage

func (*TLMessagesSearchGlobal) ProtoMessage()

func (*TLMessagesSearchGlobal) Reset

func (m *TLMessagesSearchGlobal) Reset()

func (*TLMessagesSearchGlobal) String

func (m *TLMessagesSearchGlobal) String() string

type TLMessagesSearchLayer68

type TLMessagesSearchLayer68 struct {
	Peer    *InputPeer      `protobuf:"bytes,2,opt,name=peer" json:"peer,omitempty"`
	Q       string          `protobuf:"bytes,3,opt,name=q" json:"q,omitempty"`
	FromId  *InputUser      `protobuf:"bytes,4,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
	Filter  *MessagesFilter `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
	MinDate int32           `protobuf:"varint,6,opt,name=min_date,json=minDate" json:"min_date,omitempty"`
	MaxDate int32           `protobuf:"varint,7,opt,name=max_date,json=maxDate" json:"max_date,omitempty"`
	Offset  int32           `protobuf:"varint,8,opt,name=offset" json:"offset,omitempty"`
	MaxId   int32           `protobuf:"varint,9,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	Limit   int32           `protobuf:"varint,10,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Layer68 messages.search#f288a275 flags:# peer:InputPeer q:string from_id:flags.0?InputUser filter:MessagesFilter min_date:int max_date:int offset:int max_id:int limit:int = messages.Messages;

func NewTLMessagesSearchLayer68

func NewTLMessagesSearchLayer68() *TLMessagesSearchLayer68

func (*TLMessagesSearchLayer68) Decode

func (m *TLMessagesSearchLayer68) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSearchLayer68) Descriptor

func (*TLMessagesSearchLayer68) Descriptor() ([]byte, []int)

func (*TLMessagesSearchLayer68) Encode

func (m *TLMessagesSearchLayer68) Encode() []byte

func (*TLMessagesSearchLayer68) GetFilter

func (m *TLMessagesSearchLayer68) GetFilter() *MessagesFilter

func (*TLMessagesSearchLayer68) GetFromId

func (m *TLMessagesSearchLayer68) GetFromId() *InputUser

func (*TLMessagesSearchLayer68) GetLimit

func (m *TLMessagesSearchLayer68) GetLimit() int32

func (*TLMessagesSearchLayer68) GetMaxDate

func (m *TLMessagesSearchLayer68) GetMaxDate() int32

func (*TLMessagesSearchLayer68) GetMaxId

func (m *TLMessagesSearchLayer68) GetMaxId() int32

func (*TLMessagesSearchLayer68) GetMinDate

func (m *TLMessagesSearchLayer68) GetMinDate() int32

func (*TLMessagesSearchLayer68) GetOffset

func (m *TLMessagesSearchLayer68) GetOffset() int32

func (*TLMessagesSearchLayer68) GetPeer

func (m *TLMessagesSearchLayer68) GetPeer() *InputPeer

func (*TLMessagesSearchLayer68) GetQ

func (m *TLMessagesSearchLayer68) GetQ() string

func (*TLMessagesSearchLayer68) ProtoMessage

func (*TLMessagesSearchLayer68) ProtoMessage()

func (*TLMessagesSearchLayer68) Reset

func (m *TLMessagesSearchLayer68) Reset()

func (*TLMessagesSearchLayer68) String

func (m *TLMessagesSearchLayer68) String() string

type TLMessagesSendEncrypted

type TLMessagesSendEncrypted struct {
	Peer     *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	RandomId int64               `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	Data     []byte              `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendEncrypted#a9776773 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;

func NewTLMessagesSendEncrypted

func NewTLMessagesSendEncrypted() *TLMessagesSendEncrypted

func (*TLMessagesSendEncrypted) Decode

func (m *TLMessagesSendEncrypted) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSendEncrypted) Descriptor

func (*TLMessagesSendEncrypted) Descriptor() ([]byte, []int)

func (*TLMessagesSendEncrypted) Encode

func (m *TLMessagesSendEncrypted) Encode() []byte

func (*TLMessagesSendEncrypted) GetData

func (m *TLMessagesSendEncrypted) GetData() []byte

func (*TLMessagesSendEncrypted) GetPeer

func (*TLMessagesSendEncrypted) GetRandomId

func (m *TLMessagesSendEncrypted) GetRandomId() int64

func (*TLMessagesSendEncrypted) ProtoMessage

func (*TLMessagesSendEncrypted) ProtoMessage()

func (*TLMessagesSendEncrypted) Reset

func (m *TLMessagesSendEncrypted) Reset()

func (*TLMessagesSendEncrypted) String

func (m *TLMessagesSendEncrypted) String() string

type TLMessagesSendEncryptedFile

type TLMessagesSendEncryptedFile struct {
	Peer     *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	RandomId int64               `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	Data     []byte              `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	File     *InputEncryptedFile `protobuf:"bytes,4,opt,name=file" json:"file,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendEncryptedFile#9a901b66 peer:InputEncryptedChat random_id:long data:bytes file:InputEncryptedFile = messages.SentEncryptedMessage;

func NewTLMessagesSendEncryptedFile

func NewTLMessagesSendEncryptedFile() *TLMessagesSendEncryptedFile

func (*TLMessagesSendEncryptedFile) Decode

func (m *TLMessagesSendEncryptedFile) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSendEncryptedFile) Descriptor

func (*TLMessagesSendEncryptedFile) Descriptor() ([]byte, []int)

func (*TLMessagesSendEncryptedFile) Encode

func (m *TLMessagesSendEncryptedFile) Encode() []byte

func (*TLMessagesSendEncryptedFile) GetData

func (m *TLMessagesSendEncryptedFile) GetData() []byte

func (*TLMessagesSendEncryptedFile) GetFile

func (*TLMessagesSendEncryptedFile) GetPeer

func (*TLMessagesSendEncryptedFile) GetRandomId

func (m *TLMessagesSendEncryptedFile) GetRandomId() int64

func (*TLMessagesSendEncryptedFile) ProtoMessage

func (*TLMessagesSendEncryptedFile) ProtoMessage()

func (*TLMessagesSendEncryptedFile) Reset

func (m *TLMessagesSendEncryptedFile) Reset()

func (*TLMessagesSendEncryptedFile) String

func (m *TLMessagesSendEncryptedFile) String() string

type TLMessagesSendEncryptedService

type TLMessagesSendEncryptedService struct {
	Peer     *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	RandomId int64               `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	Data     []byte              `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendEncryptedService#32d439a4 peer:InputEncryptedChat random_id:long data:bytes = messages.SentEncryptedMessage;

func NewTLMessagesSendEncryptedService

func NewTLMessagesSendEncryptedService() *TLMessagesSendEncryptedService

func (*TLMessagesSendEncryptedService) Decode

func (*TLMessagesSendEncryptedService) Descriptor

func (*TLMessagesSendEncryptedService) Descriptor() ([]byte, []int)

func (*TLMessagesSendEncryptedService) Encode

func (m *TLMessagesSendEncryptedService) Encode() []byte

func (*TLMessagesSendEncryptedService) GetData

func (m *TLMessagesSendEncryptedService) GetData() []byte

func (*TLMessagesSendEncryptedService) GetPeer

func (*TLMessagesSendEncryptedService) GetRandomId

func (m *TLMessagesSendEncryptedService) GetRandomId() int64

func (*TLMessagesSendEncryptedService) ProtoMessage

func (*TLMessagesSendEncryptedService) ProtoMessage()

func (*TLMessagesSendEncryptedService) Reset

func (m *TLMessagesSendEncryptedService) Reset()

func (*TLMessagesSendEncryptedService) String

type TLMessagesSendInlineBotResult

type TLMessagesSendInlineBotResult struct {
	Silent       bool       `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	Background   bool       `protobuf:"varint,3,opt,name=background" json:"background,omitempty"`
	ClearDraft   bool       `protobuf:"varint,4,opt,name=clear_draft,json=clearDraft" json:"clear_draft,omitempty"`
	Peer         *InputPeer `protobuf:"bytes,5,opt,name=peer" json:"peer,omitempty"`
	ReplyToMsgId int32      `protobuf:"varint,6,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	RandomId     int64      `protobuf:"varint,7,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	QueryId      int64      `protobuf:"varint,8,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Id           string     `protobuf:"bytes,9,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendInlineBotResult#b16e06fe flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int random_id:long query_id:long id:string = Updates;

func NewTLMessagesSendInlineBotResult

func NewTLMessagesSendInlineBotResult() *TLMessagesSendInlineBotResult

func (*TLMessagesSendInlineBotResult) Decode

func (*TLMessagesSendInlineBotResult) Descriptor

func (*TLMessagesSendInlineBotResult) Descriptor() ([]byte, []int)

func (*TLMessagesSendInlineBotResult) Encode

func (m *TLMessagesSendInlineBotResult) Encode() []byte

func (*TLMessagesSendInlineBotResult) GetBackground

func (m *TLMessagesSendInlineBotResult) GetBackground() bool

func (*TLMessagesSendInlineBotResult) GetClearDraft

func (m *TLMessagesSendInlineBotResult) GetClearDraft() bool

func (*TLMessagesSendInlineBotResult) GetId

func (*TLMessagesSendInlineBotResult) GetPeer

func (*TLMessagesSendInlineBotResult) GetQueryId

func (m *TLMessagesSendInlineBotResult) GetQueryId() int64

func (*TLMessagesSendInlineBotResult) GetRandomId

func (m *TLMessagesSendInlineBotResult) GetRandomId() int64

func (*TLMessagesSendInlineBotResult) GetReplyToMsgId

func (m *TLMessagesSendInlineBotResult) GetReplyToMsgId() int32

func (*TLMessagesSendInlineBotResult) GetSilent

func (m *TLMessagesSendInlineBotResult) GetSilent() bool

func (*TLMessagesSendInlineBotResult) ProtoMessage

func (*TLMessagesSendInlineBotResult) ProtoMessage()

func (*TLMessagesSendInlineBotResult) Reset

func (m *TLMessagesSendInlineBotResult) Reset()

func (*TLMessagesSendInlineBotResult) String

type TLMessagesSendMedia

type TLMessagesSendMedia struct {
	Silent       bool         `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	Background   bool         `protobuf:"varint,3,opt,name=background" json:"background,omitempty"`
	ClearDraft   bool         `protobuf:"varint,4,opt,name=clear_draft,json=clearDraft" json:"clear_draft,omitempty"`
	Peer         *InputPeer   `protobuf:"bytes,5,opt,name=peer" json:"peer,omitempty"`
	ReplyToMsgId int32        `protobuf:"varint,6,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Media        *InputMedia  `protobuf:"bytes,7,opt,name=media" json:"media,omitempty"`
	RandomId     int64        `protobuf:"varint,8,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	ReplyMarkup  *ReplyMarkup `protobuf:"bytes,9,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendMedia#c8f16791 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int media:InputMedia random_id:long reply_markup:flags.2?ReplyMarkup = Updates;

func NewTLMessagesSendMedia

func NewTLMessagesSendMedia() *TLMessagesSendMedia

func (*TLMessagesSendMedia) Decode

func (m *TLMessagesSendMedia) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSendMedia) Descriptor

func (*TLMessagesSendMedia) Descriptor() ([]byte, []int)

func (*TLMessagesSendMedia) Encode

func (m *TLMessagesSendMedia) Encode() []byte

func (*TLMessagesSendMedia) GetBackground

func (m *TLMessagesSendMedia) GetBackground() bool

func (*TLMessagesSendMedia) GetClearDraft

func (m *TLMessagesSendMedia) GetClearDraft() bool

func (*TLMessagesSendMedia) GetMedia

func (m *TLMessagesSendMedia) GetMedia() *InputMedia

func (*TLMessagesSendMedia) GetPeer

func (m *TLMessagesSendMedia) GetPeer() *InputPeer

func (*TLMessagesSendMedia) GetRandomId

func (m *TLMessagesSendMedia) GetRandomId() int64

func (*TLMessagesSendMedia) GetReplyMarkup

func (m *TLMessagesSendMedia) GetReplyMarkup() *ReplyMarkup

func (*TLMessagesSendMedia) GetReplyToMsgId

func (m *TLMessagesSendMedia) GetReplyToMsgId() int32

func (*TLMessagesSendMedia) GetSilent

func (m *TLMessagesSendMedia) GetSilent() bool

func (*TLMessagesSendMedia) ProtoMessage

func (*TLMessagesSendMedia) ProtoMessage()

func (*TLMessagesSendMedia) Reset

func (m *TLMessagesSendMedia) Reset()

func (*TLMessagesSendMedia) String

func (m *TLMessagesSendMedia) String() string

type TLMessagesSendMessage

type TLMessagesSendMessage struct {
	NoWebpage    bool             `protobuf:"varint,2,opt,name=no_webpage,json=noWebpage" json:"no_webpage,omitempty"`
	Silent       bool             `protobuf:"varint,3,opt,name=silent" json:"silent,omitempty"`
	Background   bool             `protobuf:"varint,4,opt,name=background" json:"background,omitempty"`
	ClearDraft   bool             `protobuf:"varint,5,opt,name=clear_draft,json=clearDraft" json:"clear_draft,omitempty"`
	Peer         *InputPeer       `protobuf:"bytes,6,opt,name=peer" json:"peer,omitempty"`
	ReplyToMsgId int32            `protobuf:"varint,7,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Message      string           `protobuf:"bytes,8,opt,name=message" json:"message,omitempty"`
	RandomId     int64            `protobuf:"varint,9,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	ReplyMarkup  *ReplyMarkup     `protobuf:"bytes,10,opt,name=reply_markup,json=replyMarkup" json:"reply_markup,omitempty"`
	Entities     []*MessageEntity `protobuf:"bytes,11,rep,name=entities" json:"entities,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendMessage#fa88427a flags:# no_webpage:flags.1?true silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int message:string random_id:long reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> = Updates;

func NewTLMessagesSendMessage

func NewTLMessagesSendMessage() *TLMessagesSendMessage

func (*TLMessagesSendMessage) Decode

func (m *TLMessagesSendMessage) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSendMessage) Descriptor

func (*TLMessagesSendMessage) Descriptor() ([]byte, []int)

func (*TLMessagesSendMessage) Encode

func (m *TLMessagesSendMessage) Encode() []byte

func (*TLMessagesSendMessage) GetBackground

func (m *TLMessagesSendMessage) GetBackground() bool

func (*TLMessagesSendMessage) GetClearDraft

func (m *TLMessagesSendMessage) GetClearDraft() bool

func (*TLMessagesSendMessage) GetEntities

func (m *TLMessagesSendMessage) GetEntities() []*MessageEntity

func (*TLMessagesSendMessage) GetMessage

func (m *TLMessagesSendMessage) GetMessage() string

func (*TLMessagesSendMessage) GetNoWebpage

func (m *TLMessagesSendMessage) GetNoWebpage() bool

func (*TLMessagesSendMessage) GetPeer

func (m *TLMessagesSendMessage) GetPeer() *InputPeer

func (*TLMessagesSendMessage) GetRandomId

func (m *TLMessagesSendMessage) GetRandomId() int64

func (*TLMessagesSendMessage) GetReplyMarkup

func (m *TLMessagesSendMessage) GetReplyMarkup() *ReplyMarkup

func (*TLMessagesSendMessage) GetReplyToMsgId

func (m *TLMessagesSendMessage) GetReplyToMsgId() int32

func (*TLMessagesSendMessage) GetSilent

func (m *TLMessagesSendMessage) GetSilent() bool

func (*TLMessagesSendMessage) ProtoMessage

func (*TLMessagesSendMessage) ProtoMessage()

func (*TLMessagesSendMessage) Reset

func (m *TLMessagesSendMessage) Reset()

func (*TLMessagesSendMessage) String

func (m *TLMessagesSendMessage) String() string

type TLMessagesSendMultiMedia

type TLMessagesSendMultiMedia struct {
	Silent       bool                `protobuf:"varint,2,opt,name=silent" json:"silent,omitempty"`
	Background   bool                `protobuf:"varint,3,opt,name=background" json:"background,omitempty"`
	ClearDraft   bool                `protobuf:"varint,4,opt,name=clear_draft,json=clearDraft" json:"clear_draft,omitempty"`
	Peer         *InputPeer          `protobuf:"bytes,5,opt,name=peer" json:"peer,omitempty"`
	ReplyToMsgId int32               `protobuf:"varint,6,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	MultiMedia   []*InputSingleMedia `protobuf:"bytes,7,rep,name=multi_media,json=multiMedia" json:"multi_media,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendMultiMedia#2095512f flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true peer:InputPeer reply_to_msg_id:flags.0?int multi_media:Vector<InputSingleMedia> = Updates;

func NewTLMessagesSendMultiMedia

func NewTLMessagesSendMultiMedia() *TLMessagesSendMultiMedia

func (*TLMessagesSendMultiMedia) Decode

func (m *TLMessagesSendMultiMedia) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSendMultiMedia) Descriptor

func (*TLMessagesSendMultiMedia) Descriptor() ([]byte, []int)

func (*TLMessagesSendMultiMedia) Encode

func (m *TLMessagesSendMultiMedia) Encode() []byte

func (*TLMessagesSendMultiMedia) GetBackground

func (m *TLMessagesSendMultiMedia) GetBackground() bool

func (*TLMessagesSendMultiMedia) GetClearDraft

func (m *TLMessagesSendMultiMedia) GetClearDraft() bool

func (*TLMessagesSendMultiMedia) GetMultiMedia

func (m *TLMessagesSendMultiMedia) GetMultiMedia() []*InputSingleMedia

func (*TLMessagesSendMultiMedia) GetPeer

func (m *TLMessagesSendMultiMedia) GetPeer() *InputPeer

func (*TLMessagesSendMultiMedia) GetReplyToMsgId

func (m *TLMessagesSendMultiMedia) GetReplyToMsgId() int32

func (*TLMessagesSendMultiMedia) GetSilent

func (m *TLMessagesSendMultiMedia) GetSilent() bool

func (*TLMessagesSendMultiMedia) ProtoMessage

func (*TLMessagesSendMultiMedia) ProtoMessage()

func (*TLMessagesSendMultiMedia) Reset

func (m *TLMessagesSendMultiMedia) Reset()

func (*TLMessagesSendMultiMedia) String

func (m *TLMessagesSendMultiMedia) String() string

type TLMessagesSendScreenshotNotification

type TLMessagesSendScreenshotNotification struct {
	Peer         *InputPeer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	ReplyToMsgId int32      `protobuf:"varint,2,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	RandomId     int64      `protobuf:"varint,3,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.sendScreenshotNotification#c97df020 peer:InputPeer reply_to_msg_id:int random_id:long = Updates;

func NewTLMessagesSendScreenshotNotification

func NewTLMessagesSendScreenshotNotification() *TLMessagesSendScreenshotNotification

func (*TLMessagesSendScreenshotNotification) Decode

func (*TLMessagesSendScreenshotNotification) Descriptor

func (*TLMessagesSendScreenshotNotification) Descriptor() ([]byte, []int)

func (*TLMessagesSendScreenshotNotification) Encode

func (*TLMessagesSendScreenshotNotification) GetPeer

func (*TLMessagesSendScreenshotNotification) GetRandomId

func (*TLMessagesSendScreenshotNotification) GetReplyToMsgId

func (m *TLMessagesSendScreenshotNotification) GetReplyToMsgId() int32

func (*TLMessagesSendScreenshotNotification) ProtoMessage

func (*TLMessagesSendScreenshotNotification) ProtoMessage()

func (*TLMessagesSendScreenshotNotification) Reset

func (*TLMessagesSendScreenshotNotification) String

type TLMessagesSentEncryptedFile

type TLMessagesSentEncryptedFile struct {
	Data2 *Messages_SentEncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;

func NewTLMessagesSentEncryptedFile

func NewTLMessagesSentEncryptedFile() *TLMessagesSentEncryptedFile

func (*TLMessagesSentEncryptedFile) Decode

func (m *TLMessagesSentEncryptedFile) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSentEncryptedFile) Descriptor

func (*TLMessagesSentEncryptedFile) Descriptor() ([]byte, []int)

func (*TLMessagesSentEncryptedFile) Encode

func (m *TLMessagesSentEncryptedFile) Encode() []byte

func (*TLMessagesSentEncryptedFile) GetData2

func (*TLMessagesSentEncryptedFile) GetDate

func (m *TLMessagesSentEncryptedFile) GetDate() int32

func (*TLMessagesSentEncryptedFile) GetFile

func (*TLMessagesSentEncryptedFile) ProtoMessage

func (*TLMessagesSentEncryptedFile) ProtoMessage()

func (*TLMessagesSentEncryptedFile) Reset

func (m *TLMessagesSentEncryptedFile) Reset()

func (*TLMessagesSentEncryptedFile) SetDate

func (m *TLMessagesSentEncryptedFile) SetDate(v int32)

func (*TLMessagesSentEncryptedFile) SetFile

func (*TLMessagesSentEncryptedFile) String

func (m *TLMessagesSentEncryptedFile) String() string

func (*TLMessagesSentEncryptedFile) To_Messages_SentEncryptedMessage

func (m *TLMessagesSentEncryptedFile) To_Messages_SentEncryptedMessage() *Messages_SentEncryptedMessage

messages.sentEncryptedFile#9493ff32 date:int file:EncryptedFile = messages.SentEncryptedMessage;

type TLMessagesSentEncryptedMessage

type TLMessagesSentEncryptedMessage struct {
	Data2 *Messages_SentEncryptedMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;

func NewTLMessagesSentEncryptedMessage

func NewTLMessagesSentEncryptedMessage() *TLMessagesSentEncryptedMessage

func (*TLMessagesSentEncryptedMessage) Decode

func (*TLMessagesSentEncryptedMessage) Descriptor

func (*TLMessagesSentEncryptedMessage) Descriptor() ([]byte, []int)

func (*TLMessagesSentEncryptedMessage) Encode

func (m *TLMessagesSentEncryptedMessage) Encode() []byte

func (*TLMessagesSentEncryptedMessage) GetData2

func (*TLMessagesSentEncryptedMessage) GetDate

func (*TLMessagesSentEncryptedMessage) ProtoMessage

func (*TLMessagesSentEncryptedMessage) ProtoMessage()

func (*TLMessagesSentEncryptedMessage) Reset

func (m *TLMessagesSentEncryptedMessage) Reset()

func (*TLMessagesSentEncryptedMessage) SetDate

func (m *TLMessagesSentEncryptedMessage) SetDate(v int32)

func (*TLMessagesSentEncryptedMessage) String

func (*TLMessagesSentEncryptedMessage) To_Messages_SentEncryptedMessage

func (m *TLMessagesSentEncryptedMessage) To_Messages_SentEncryptedMessage() *Messages_SentEncryptedMessage

messages.sentEncryptedMessage#560f8935 date:int = messages.SentEncryptedMessage;

type TLMessagesSetBotCallbackAnswer

type TLMessagesSetBotCallbackAnswer struct {
	Alert     bool   `protobuf:"varint,2,opt,name=alert" json:"alert,omitempty"`
	QueryId   int64  `protobuf:"varint,3,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"`
	Url       string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	CacheTime int32  `protobuf:"varint,6,opt,name=cache_time,json=cacheTime" json:"cache_time,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setBotCallbackAnswer#d58f130a flags:# alert:flags.1?true query_id:long message:flags.0?string url:flags.2?string cache_time:int = Bool;

func NewTLMessagesSetBotCallbackAnswer

func NewTLMessagesSetBotCallbackAnswer() *TLMessagesSetBotCallbackAnswer

func (*TLMessagesSetBotCallbackAnswer) Decode

func (*TLMessagesSetBotCallbackAnswer) Descriptor

func (*TLMessagesSetBotCallbackAnswer) Descriptor() ([]byte, []int)

func (*TLMessagesSetBotCallbackAnswer) Encode

func (m *TLMessagesSetBotCallbackAnswer) Encode() []byte

func (*TLMessagesSetBotCallbackAnswer) GetAlert

func (m *TLMessagesSetBotCallbackAnswer) GetAlert() bool

func (*TLMessagesSetBotCallbackAnswer) GetCacheTime

func (m *TLMessagesSetBotCallbackAnswer) GetCacheTime() int32

func (*TLMessagesSetBotCallbackAnswer) GetMessage

func (m *TLMessagesSetBotCallbackAnswer) GetMessage() string

func (*TLMessagesSetBotCallbackAnswer) GetQueryId

func (m *TLMessagesSetBotCallbackAnswer) GetQueryId() int64

func (*TLMessagesSetBotCallbackAnswer) GetUrl

func (*TLMessagesSetBotCallbackAnswer) ProtoMessage

func (*TLMessagesSetBotCallbackAnswer) ProtoMessage()

func (*TLMessagesSetBotCallbackAnswer) Reset

func (m *TLMessagesSetBotCallbackAnswer) Reset()

func (*TLMessagesSetBotCallbackAnswer) String

type TLMessagesSetBotPrecheckoutResults

type TLMessagesSetBotPrecheckoutResults struct {
	Success bool   `protobuf:"varint,2,opt,name=success" json:"success,omitempty"`
	QueryId int64  `protobuf:"varint,3,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Error   string `protobuf:"bytes,4,opt,name=error" json:"error,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setBotPrecheckoutResults#9c2dd95 flags:# success:flags.1?true query_id:long error:flags.0?string = Bool;

func NewTLMessagesSetBotPrecheckoutResults

func NewTLMessagesSetBotPrecheckoutResults() *TLMessagesSetBotPrecheckoutResults

func (*TLMessagesSetBotPrecheckoutResults) Decode

func (*TLMessagesSetBotPrecheckoutResults) Descriptor

func (*TLMessagesSetBotPrecheckoutResults) Descriptor() ([]byte, []int)

func (*TLMessagesSetBotPrecheckoutResults) Encode

func (*TLMessagesSetBotPrecheckoutResults) GetError

func (*TLMessagesSetBotPrecheckoutResults) GetQueryId

func (m *TLMessagesSetBotPrecheckoutResults) GetQueryId() int64

func (*TLMessagesSetBotPrecheckoutResults) GetSuccess

func (m *TLMessagesSetBotPrecheckoutResults) GetSuccess() bool

func (*TLMessagesSetBotPrecheckoutResults) ProtoMessage

func (*TLMessagesSetBotPrecheckoutResults) ProtoMessage()

func (*TLMessagesSetBotPrecheckoutResults) Reset

func (*TLMessagesSetBotPrecheckoutResults) String

type TLMessagesSetBotShippingResults

type TLMessagesSetBotShippingResults struct {
	QueryId         int64             `protobuf:"varint,2,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Error           string            `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
	ShippingOptions []*ShippingOption `protobuf:"bytes,4,rep,name=shipping_options,json=shippingOptions" json:"shipping_options,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setBotShippingResults#e5f672fa flags:# query_id:long error:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = Bool;

func NewTLMessagesSetBotShippingResults

func NewTLMessagesSetBotShippingResults() *TLMessagesSetBotShippingResults

func (*TLMessagesSetBotShippingResults) Decode

func (*TLMessagesSetBotShippingResults) Descriptor

func (*TLMessagesSetBotShippingResults) Descriptor() ([]byte, []int)

func (*TLMessagesSetBotShippingResults) Encode

func (m *TLMessagesSetBotShippingResults) Encode() []byte

func (*TLMessagesSetBotShippingResults) GetError

func (*TLMessagesSetBotShippingResults) GetQueryId

func (m *TLMessagesSetBotShippingResults) GetQueryId() int64

func (*TLMessagesSetBotShippingResults) GetShippingOptions

func (m *TLMessagesSetBotShippingResults) GetShippingOptions() []*ShippingOption

func (*TLMessagesSetBotShippingResults) ProtoMessage

func (*TLMessagesSetBotShippingResults) ProtoMessage()

func (*TLMessagesSetBotShippingResults) Reset

func (*TLMessagesSetBotShippingResults) String

type TLMessagesSetEncryptedTyping

type TLMessagesSetEncryptedTyping struct {
	Peer   *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Typing *Bool               `protobuf:"bytes,2,opt,name=typing" json:"typing,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setEncryptedTyping#791451ed peer:InputEncryptedChat typing:Bool = Bool;

func NewTLMessagesSetEncryptedTyping

func NewTLMessagesSetEncryptedTyping() *TLMessagesSetEncryptedTyping

func (*TLMessagesSetEncryptedTyping) Decode

func (m *TLMessagesSetEncryptedTyping) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSetEncryptedTyping) Descriptor

func (*TLMessagesSetEncryptedTyping) Descriptor() ([]byte, []int)

func (*TLMessagesSetEncryptedTyping) Encode

func (m *TLMessagesSetEncryptedTyping) Encode() []byte

func (*TLMessagesSetEncryptedTyping) GetPeer

func (*TLMessagesSetEncryptedTyping) GetTyping

func (m *TLMessagesSetEncryptedTyping) GetTyping() *Bool

func (*TLMessagesSetEncryptedTyping) ProtoMessage

func (*TLMessagesSetEncryptedTyping) ProtoMessage()

func (*TLMessagesSetEncryptedTyping) Reset

func (m *TLMessagesSetEncryptedTyping) Reset()

func (*TLMessagesSetEncryptedTyping) String

type TLMessagesSetGameScore

type TLMessagesSetGameScore struct {
	EditMessage bool       `protobuf:"varint,2,opt,name=edit_message,json=editMessage" json:"edit_message,omitempty"`
	Force       bool       `protobuf:"varint,3,opt,name=force" json:"force,omitempty"`
	Peer        *InputPeer `protobuf:"bytes,4,opt,name=peer" json:"peer,omitempty"`
	Id          int32      `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
	UserId      *InputUser `protobuf:"bytes,6,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Score       int32      `protobuf:"varint,7,opt,name=score" json:"score,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setGameScore#8ef8ecc0 flags:# edit_message:flags.0?true force:flags.1?true peer:InputPeer id:int user_id:InputUser score:int = Updates;

func NewTLMessagesSetGameScore

func NewTLMessagesSetGameScore() *TLMessagesSetGameScore

func (*TLMessagesSetGameScore) Decode

func (m *TLMessagesSetGameScore) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSetGameScore) Descriptor

func (*TLMessagesSetGameScore) Descriptor() ([]byte, []int)

func (*TLMessagesSetGameScore) Encode

func (m *TLMessagesSetGameScore) Encode() []byte

func (*TLMessagesSetGameScore) GetEditMessage

func (m *TLMessagesSetGameScore) GetEditMessage() bool

func (*TLMessagesSetGameScore) GetForce

func (m *TLMessagesSetGameScore) GetForce() bool

func (*TLMessagesSetGameScore) GetId

func (m *TLMessagesSetGameScore) GetId() int32

func (*TLMessagesSetGameScore) GetPeer

func (m *TLMessagesSetGameScore) GetPeer() *InputPeer

func (*TLMessagesSetGameScore) GetScore

func (m *TLMessagesSetGameScore) GetScore() int32

func (*TLMessagesSetGameScore) GetUserId

func (m *TLMessagesSetGameScore) GetUserId() *InputUser

func (*TLMessagesSetGameScore) ProtoMessage

func (*TLMessagesSetGameScore) ProtoMessage()

func (*TLMessagesSetGameScore) Reset

func (m *TLMessagesSetGameScore) Reset()

func (*TLMessagesSetGameScore) String

func (m *TLMessagesSetGameScore) String() string

type TLMessagesSetInlineBotResults

type TLMessagesSetInlineBotResults struct {
	Gallery    bool                    `protobuf:"varint,2,opt,name=gallery" json:"gallery,omitempty"`
	Private    bool                    `protobuf:"varint,3,opt,name=private" json:"private,omitempty"`
	QueryId    int64                   `protobuf:"varint,4,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Results    []*InputBotInlineResult `protobuf:"bytes,5,rep,name=results" json:"results,omitempty"`
	CacheTime  int32                   `protobuf:"varint,6,opt,name=cache_time,json=cacheTime" json:"cache_time,omitempty"`
	NextOffset string                  `protobuf:"bytes,7,opt,name=next_offset,json=nextOffset" json:"next_offset,omitempty"`
	SwitchPm   *InlineBotSwitchPM      `protobuf:"bytes,8,opt,name=switch_pm,json=switchPm" json:"switch_pm,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setInlineBotResults#eb5ea206 flags:# gallery:flags.0?true private:flags.1?true query_id:long results:Vector<InputBotInlineResult> cache_time:int next_offset:flags.2?string switch_pm:flags.3?InlineBotSwitchPM = Bool;

func NewTLMessagesSetInlineBotResults

func NewTLMessagesSetInlineBotResults() *TLMessagesSetInlineBotResults

func (*TLMessagesSetInlineBotResults) Decode

func (*TLMessagesSetInlineBotResults) Descriptor

func (*TLMessagesSetInlineBotResults) Descriptor() ([]byte, []int)

func (*TLMessagesSetInlineBotResults) Encode

func (m *TLMessagesSetInlineBotResults) Encode() []byte

func (*TLMessagesSetInlineBotResults) GetCacheTime

func (m *TLMessagesSetInlineBotResults) GetCacheTime() int32

func (*TLMessagesSetInlineBotResults) GetGallery

func (m *TLMessagesSetInlineBotResults) GetGallery() bool

func (*TLMessagesSetInlineBotResults) GetNextOffset

func (m *TLMessagesSetInlineBotResults) GetNextOffset() string

func (*TLMessagesSetInlineBotResults) GetPrivate

func (m *TLMessagesSetInlineBotResults) GetPrivate() bool

func (*TLMessagesSetInlineBotResults) GetQueryId

func (m *TLMessagesSetInlineBotResults) GetQueryId() int64

func (*TLMessagesSetInlineBotResults) GetResults

func (*TLMessagesSetInlineBotResults) GetSwitchPm

func (*TLMessagesSetInlineBotResults) ProtoMessage

func (*TLMessagesSetInlineBotResults) ProtoMessage()

func (*TLMessagesSetInlineBotResults) Reset

func (m *TLMessagesSetInlineBotResults) Reset()

func (*TLMessagesSetInlineBotResults) String

type TLMessagesSetInlineGameScore

type TLMessagesSetInlineGameScore struct {
	EditMessage bool                     `protobuf:"varint,2,opt,name=edit_message,json=editMessage" json:"edit_message,omitempty"`
	Force       bool                     `protobuf:"varint,3,opt,name=force" json:"force,omitempty"`
	Id          *InputBotInlineMessageID `protobuf:"bytes,4,opt,name=id" json:"id,omitempty"`
	UserId      *InputUser               `protobuf:"bytes,5,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Score       int32                    `protobuf:"varint,6,opt,name=score" json:"score,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setInlineGameScore#15ad9f64 flags:# edit_message:flags.0?true force:flags.1?true id:InputBotInlineMessageID user_id:InputUser score:int = Bool;

func NewTLMessagesSetInlineGameScore

func NewTLMessagesSetInlineGameScore() *TLMessagesSetInlineGameScore

func (*TLMessagesSetInlineGameScore) Decode

func (m *TLMessagesSetInlineGameScore) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSetInlineGameScore) Descriptor

func (*TLMessagesSetInlineGameScore) Descriptor() ([]byte, []int)

func (*TLMessagesSetInlineGameScore) Encode

func (m *TLMessagesSetInlineGameScore) Encode() []byte

func (*TLMessagesSetInlineGameScore) GetEditMessage

func (m *TLMessagesSetInlineGameScore) GetEditMessage() bool

func (*TLMessagesSetInlineGameScore) GetForce

func (m *TLMessagesSetInlineGameScore) GetForce() bool

func (*TLMessagesSetInlineGameScore) GetId

func (*TLMessagesSetInlineGameScore) GetScore

func (m *TLMessagesSetInlineGameScore) GetScore() int32

func (*TLMessagesSetInlineGameScore) GetUserId

func (m *TLMessagesSetInlineGameScore) GetUserId() *InputUser

func (*TLMessagesSetInlineGameScore) ProtoMessage

func (*TLMessagesSetInlineGameScore) ProtoMessage()

func (*TLMessagesSetInlineGameScore) Reset

func (m *TLMessagesSetInlineGameScore) Reset()

func (*TLMessagesSetInlineGameScore) String

type TLMessagesSetTyping

type TLMessagesSetTyping struct {
	Peer   *InputPeer         `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Action *SendMessageAction `protobuf:"bytes,2,opt,name=action" json:"action,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.setTyping#a3825e50 peer:InputPeer action:SendMessageAction = Bool;

func NewTLMessagesSetTyping

func NewTLMessagesSetTyping() *TLMessagesSetTyping

func (*TLMessagesSetTyping) Decode

func (m *TLMessagesSetTyping) Decode(dbuf *DecodeBuf) error

func (*TLMessagesSetTyping) Descriptor

func (*TLMessagesSetTyping) Descriptor() ([]byte, []int)

func (*TLMessagesSetTyping) Encode

func (m *TLMessagesSetTyping) Encode() []byte

func (*TLMessagesSetTyping) GetAction

func (m *TLMessagesSetTyping) GetAction() *SendMessageAction

func (*TLMessagesSetTyping) GetPeer

func (m *TLMessagesSetTyping) GetPeer() *InputPeer

func (*TLMessagesSetTyping) ProtoMessage

func (*TLMessagesSetTyping) ProtoMessage()

func (*TLMessagesSetTyping) Reset

func (m *TLMessagesSetTyping) Reset()

func (*TLMessagesSetTyping) String

func (m *TLMessagesSetTyping) String() string

type TLMessagesStartBot

type TLMessagesStartBot struct {
	Bot        *InputUser `protobuf:"bytes,1,opt,name=bot" json:"bot,omitempty"`
	Peer       *InputPeer `protobuf:"bytes,2,opt,name=peer" json:"peer,omitempty"`
	RandomId   int64      `protobuf:"varint,3,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	StartParam string     `protobuf:"bytes,4,opt,name=start_param,json=startParam" json:"start_param,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.startBot#e6df7378 bot:InputUser peer:InputPeer random_id:long start_param:string = Updates;

func NewTLMessagesStartBot

func NewTLMessagesStartBot() *TLMessagesStartBot

func (*TLMessagesStartBot) Decode

func (m *TLMessagesStartBot) Decode(dbuf *DecodeBuf) error

func (*TLMessagesStartBot) Descriptor

func (*TLMessagesStartBot) Descriptor() ([]byte, []int)

func (*TLMessagesStartBot) Encode

func (m *TLMessagesStartBot) Encode() []byte

func (*TLMessagesStartBot) GetBot

func (m *TLMessagesStartBot) GetBot() *InputUser

func (*TLMessagesStartBot) GetPeer

func (m *TLMessagesStartBot) GetPeer() *InputPeer

func (*TLMessagesStartBot) GetRandomId

func (m *TLMessagesStartBot) GetRandomId() int64

func (*TLMessagesStartBot) GetStartParam

func (m *TLMessagesStartBot) GetStartParam() string

func (*TLMessagesStartBot) ProtoMessage

func (*TLMessagesStartBot) ProtoMessage()

func (*TLMessagesStartBot) Reset

func (m *TLMessagesStartBot) Reset()

func (*TLMessagesStartBot) String

func (m *TLMessagesStartBot) String() string

type TLMessagesStickerSet

type TLMessagesStickerSet struct {
	Data2 *Messages_StickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;

func NewTLMessagesStickerSet

func NewTLMessagesStickerSet() *TLMessagesStickerSet

func (*TLMessagesStickerSet) Decode

func (m *TLMessagesStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLMessagesStickerSet) Descriptor

func (*TLMessagesStickerSet) Descriptor() ([]byte, []int)

func (*TLMessagesStickerSet) Encode

func (m *TLMessagesStickerSet) Encode() []byte

func (*TLMessagesStickerSet) GetData2

func (*TLMessagesStickerSet) GetDocuments

func (m *TLMessagesStickerSet) GetDocuments() []*Document

func (*TLMessagesStickerSet) GetPacks

func (m *TLMessagesStickerSet) GetPacks() []*StickerPack

func (*TLMessagesStickerSet) GetSet

func (m *TLMessagesStickerSet) GetSet() *StickerSet

func (*TLMessagesStickerSet) ProtoMessage

func (*TLMessagesStickerSet) ProtoMessage()

func (*TLMessagesStickerSet) Reset

func (m *TLMessagesStickerSet) Reset()

func (*TLMessagesStickerSet) SetDocuments

func (m *TLMessagesStickerSet) SetDocuments(v []*Document)

func (*TLMessagesStickerSet) SetPacks

func (m *TLMessagesStickerSet) SetPacks(v []*StickerPack)

func (*TLMessagesStickerSet) SetSet

func (m *TLMessagesStickerSet) SetSet(v *StickerSet)

func (*TLMessagesStickerSet) String

func (m *TLMessagesStickerSet) String() string

func (*TLMessagesStickerSet) To_Messages_StickerSet

func (m *TLMessagesStickerSet) To_Messages_StickerSet() *Messages_StickerSet

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;

type TLMessagesStickerSetInstallResultArchive

type TLMessagesStickerSetInstallResultArchive struct {
	Data2 *Messages_StickerSetInstallResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult;

func NewTLMessagesStickerSetInstallResultArchive

func NewTLMessagesStickerSetInstallResultArchive() *TLMessagesStickerSetInstallResultArchive

func (*TLMessagesStickerSetInstallResultArchive) Decode

func (*TLMessagesStickerSetInstallResultArchive) Descriptor

func (*TLMessagesStickerSetInstallResultArchive) Descriptor() ([]byte, []int)

func (*TLMessagesStickerSetInstallResultArchive) Encode

func (*TLMessagesStickerSetInstallResultArchive) GetData2

func (*TLMessagesStickerSetInstallResultArchive) GetSets

func (*TLMessagesStickerSetInstallResultArchive) ProtoMessage

func (*TLMessagesStickerSetInstallResultArchive) Reset

func (*TLMessagesStickerSetInstallResultArchive) SetSets

func (*TLMessagesStickerSetInstallResultArchive) String

func (*TLMessagesStickerSetInstallResultArchive) To_Messages_StickerSetInstallResult

func (m *TLMessagesStickerSetInstallResultArchive) To_Messages_StickerSetInstallResult() *Messages_StickerSetInstallResult

messages.stickerSetInstallResultArchive#35e410a8 sets:Vector<StickerSetCovered> = messages.StickerSetInstallResult;

type TLMessagesStickerSetInstallResultSuccess

type TLMessagesStickerSetInstallResultSuccess struct {
	Data2 *Messages_StickerSetInstallResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;

func NewTLMessagesStickerSetInstallResultSuccess

func NewTLMessagesStickerSetInstallResultSuccess() *TLMessagesStickerSetInstallResultSuccess

func (*TLMessagesStickerSetInstallResultSuccess) Decode

func (*TLMessagesStickerSetInstallResultSuccess) Descriptor

func (*TLMessagesStickerSetInstallResultSuccess) Descriptor() ([]byte, []int)

func (*TLMessagesStickerSetInstallResultSuccess) Encode

func (*TLMessagesStickerSetInstallResultSuccess) GetData2

func (*TLMessagesStickerSetInstallResultSuccess) ProtoMessage

func (*TLMessagesStickerSetInstallResultSuccess) Reset

func (*TLMessagesStickerSetInstallResultSuccess) String

func (*TLMessagesStickerSetInstallResultSuccess) To_Messages_StickerSetInstallResult

func (m *TLMessagesStickerSetInstallResultSuccess) To_Messages_StickerSetInstallResult() *Messages_StickerSetInstallResult

messages.stickerSetInstallResultSuccess#38641628 = messages.StickerSetInstallResult;

type TLMessagesStickers

type TLMessagesStickers struct {
	Data2 *Messages_Stickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;

func NewTLMessagesStickers

func NewTLMessagesStickers() *TLMessagesStickers

func (*TLMessagesStickers) Decode

func (m *TLMessagesStickers) Decode(dbuf *DecodeBuf) error

func (*TLMessagesStickers) Descriptor

func (*TLMessagesStickers) Descriptor() ([]byte, []int)

func (*TLMessagesStickers) Encode

func (m *TLMessagesStickers) Encode() []byte

func (*TLMessagesStickers) GetData2

func (*TLMessagesStickers) GetHash

func (m *TLMessagesStickers) GetHash() string

func (*TLMessagesStickers) GetStickers

func (m *TLMessagesStickers) GetStickers() []*Document

func (*TLMessagesStickers) ProtoMessage

func (*TLMessagesStickers) ProtoMessage()

func (*TLMessagesStickers) Reset

func (m *TLMessagesStickers) Reset()

func (*TLMessagesStickers) SetHash

func (m *TLMessagesStickers) SetHash(v string)

func (*TLMessagesStickers) SetStickers

func (m *TLMessagesStickers) SetStickers(v []*Document)

func (*TLMessagesStickers) String

func (m *TLMessagesStickers) String() string

func (*TLMessagesStickers) To_Messages_Stickers

func (m *TLMessagesStickers) To_Messages_Stickers() *Messages_Stickers

messages.stickers#8a8ecd32 hash:string stickers:Vector<Document> = messages.Stickers;

type TLMessagesStickersNotModified

type TLMessagesStickersNotModified struct {
	Data2 *Messages_Stickers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

messages.stickersNotModified#f1749a22 = messages.Stickers;

func NewTLMessagesStickersNotModified

func NewTLMessagesStickersNotModified() *TLMessagesStickersNotModified

func (*TLMessagesStickersNotModified) Decode

func (*TLMessagesStickersNotModified) Descriptor

func (*TLMessagesStickersNotModified) Descriptor() ([]byte, []int)

func (*TLMessagesStickersNotModified) Encode

func (m *TLMessagesStickersNotModified) Encode() []byte

func (*TLMessagesStickersNotModified) GetData2

func (*TLMessagesStickersNotModified) ProtoMessage

func (*TLMessagesStickersNotModified) ProtoMessage()

func (*TLMessagesStickersNotModified) Reset

func (m *TLMessagesStickersNotModified) Reset()

func (*TLMessagesStickersNotModified) String

func (*TLMessagesStickersNotModified) To_Messages_Stickers

func (m *TLMessagesStickersNotModified) To_Messages_Stickers() *Messages_Stickers

messages.stickersNotModified#f1749a22 = messages.Stickers;

type TLMessagesToggleChatAdmins

type TLMessagesToggleChatAdmins struct {
	ChatId  int32 `protobuf:"varint,1,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Enabled *Bool `protobuf:"bytes,2,opt,name=enabled" json:"enabled,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.toggleChatAdmins#ec8bd9e1 chat_id:int enabled:Bool = Updates;

func NewTLMessagesToggleChatAdmins

func NewTLMessagesToggleChatAdmins() *TLMessagesToggleChatAdmins

func (*TLMessagesToggleChatAdmins) Decode

func (m *TLMessagesToggleChatAdmins) Decode(dbuf *DecodeBuf) error

func (*TLMessagesToggleChatAdmins) Descriptor

func (*TLMessagesToggleChatAdmins) Descriptor() ([]byte, []int)

func (*TLMessagesToggleChatAdmins) Encode

func (m *TLMessagesToggleChatAdmins) Encode() []byte

func (*TLMessagesToggleChatAdmins) GetChatId

func (m *TLMessagesToggleChatAdmins) GetChatId() int32

func (*TLMessagesToggleChatAdmins) GetEnabled

func (m *TLMessagesToggleChatAdmins) GetEnabled() *Bool

func (*TLMessagesToggleChatAdmins) ProtoMessage

func (*TLMessagesToggleChatAdmins) ProtoMessage()

func (*TLMessagesToggleChatAdmins) Reset

func (m *TLMessagesToggleChatAdmins) Reset()

func (*TLMessagesToggleChatAdmins) String

func (m *TLMessagesToggleChatAdmins) String() string

type TLMessagesToggleDialogPin

type TLMessagesToggleDialogPin struct {
	Pinned bool       `protobuf:"varint,2,opt,name=pinned" json:"pinned,omitempty"`
	Peer   *InputPeer `protobuf:"bytes,3,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.toggleDialogPin#3289be6a flags:# pinned:flags.0?true peer:InputPeer = Bool;

func NewTLMessagesToggleDialogPin

func NewTLMessagesToggleDialogPin() *TLMessagesToggleDialogPin

func (*TLMessagesToggleDialogPin) Decode

func (m *TLMessagesToggleDialogPin) Decode(dbuf *DecodeBuf) error

func (*TLMessagesToggleDialogPin) Descriptor

func (*TLMessagesToggleDialogPin) Descriptor() ([]byte, []int)

func (*TLMessagesToggleDialogPin) Encode

func (m *TLMessagesToggleDialogPin) Encode() []byte

func (*TLMessagesToggleDialogPin) GetPeer

func (m *TLMessagesToggleDialogPin) GetPeer() *InputPeer

func (*TLMessagesToggleDialogPin) GetPinned

func (m *TLMessagesToggleDialogPin) GetPinned() bool

func (*TLMessagesToggleDialogPin) ProtoMessage

func (*TLMessagesToggleDialogPin) ProtoMessage()

func (*TLMessagesToggleDialogPin) Reset

func (m *TLMessagesToggleDialogPin) Reset()

func (*TLMessagesToggleDialogPin) String

func (m *TLMessagesToggleDialogPin) String() string

type TLMessagesUninstallStickerSet

type TLMessagesUninstallStickerSet struct {
	Stickerset *InputStickerSet `protobuf:"bytes,1,opt,name=stickerset" json:"stickerset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.uninstallStickerSet#f96e55de stickerset:InputStickerSet = Bool;

func NewTLMessagesUninstallStickerSet

func NewTLMessagesUninstallStickerSet() *TLMessagesUninstallStickerSet

func (*TLMessagesUninstallStickerSet) Decode

func (*TLMessagesUninstallStickerSet) Descriptor

func (*TLMessagesUninstallStickerSet) Descriptor() ([]byte, []int)

func (*TLMessagesUninstallStickerSet) Encode

func (m *TLMessagesUninstallStickerSet) Encode() []byte

func (*TLMessagesUninstallStickerSet) GetStickerset

func (m *TLMessagesUninstallStickerSet) GetStickerset() *InputStickerSet

func (*TLMessagesUninstallStickerSet) ProtoMessage

func (*TLMessagesUninstallStickerSet) ProtoMessage()

func (*TLMessagesUninstallStickerSet) Reset

func (m *TLMessagesUninstallStickerSet) Reset()

func (*TLMessagesUninstallStickerSet) String

type TLMessagesUploadEncryptedFile

type TLMessagesUploadEncryptedFile struct {
	Peer *InputEncryptedChat `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	File *InputEncryptedFile `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile;

func NewTLMessagesUploadEncryptedFile

func NewTLMessagesUploadEncryptedFile() *TLMessagesUploadEncryptedFile

func (*TLMessagesUploadEncryptedFile) Decode

func (*TLMessagesUploadEncryptedFile) Descriptor

func (*TLMessagesUploadEncryptedFile) Descriptor() ([]byte, []int)

func (*TLMessagesUploadEncryptedFile) Encode

func (m *TLMessagesUploadEncryptedFile) Encode() []byte

func (*TLMessagesUploadEncryptedFile) GetFile

func (*TLMessagesUploadEncryptedFile) GetPeer

func (*TLMessagesUploadEncryptedFile) ProtoMessage

func (*TLMessagesUploadEncryptedFile) ProtoMessage()

func (*TLMessagesUploadEncryptedFile) Reset

func (m *TLMessagesUploadEncryptedFile) Reset()

func (*TLMessagesUploadEncryptedFile) String

type TLMessagesUploadMedia

type TLMessagesUploadMedia struct {
	Peer  *InputPeer  `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Media *InputMedia `protobuf:"bytes,2,opt,name=media" json:"media,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// messages.uploadMedia#519bc2b1 peer:InputPeer media:InputMedia = MessageMedia;

func NewTLMessagesUploadMedia

func NewTLMessagesUploadMedia() *TLMessagesUploadMedia

func (*TLMessagesUploadMedia) Decode

func (m *TLMessagesUploadMedia) Decode(dbuf *DecodeBuf) error

func (*TLMessagesUploadMedia) Descriptor

func (*TLMessagesUploadMedia) Descriptor() ([]byte, []int)

func (*TLMessagesUploadMedia) Encode

func (m *TLMessagesUploadMedia) Encode() []byte

func (*TLMessagesUploadMedia) GetMedia

func (m *TLMessagesUploadMedia) GetMedia() *InputMedia

func (*TLMessagesUploadMedia) GetPeer

func (m *TLMessagesUploadMedia) GetPeer() *InputPeer

func (*TLMessagesUploadMedia) ProtoMessage

func (*TLMessagesUploadMedia) ProtoMessage()

func (*TLMessagesUploadMedia) Reset

func (m *TLMessagesUploadMedia) Reset()

func (*TLMessagesUploadMedia) String

func (m *TLMessagesUploadMedia) String() string

type TLMsgContainer

type TLMsgContainer struct {
	Messages []TLMessage2
}

///////////////////////////////////////////////////////////////////////////// msg_container#73f1f8dc messages:vector<message2> = MessageContainer; // parsed manually

func (*TLMsgContainer) Decode

func (m *TLMsgContainer) Decode(dbuf *DecodeBuf) error

func (*TLMsgContainer) Encode

func (m *TLMsgContainer) Encode() []byte

func (*TLMsgContainer) String

func (m *TLMsgContainer) String() string

type TLMsgCopy

type TLMsgCopy struct {
	OrigMessage TLMessage2
}

///////////////////////////////////////////////////////////////////////////// msg_copy#e06046b2 orig_message:Message2 = MessageCopy; // parsed manually, not used - use msg_container

func (*TLMsgCopy) Decode

func (m *TLMsgCopy) Decode(dbuf *DecodeBuf) error

func (*TLMsgCopy) Encode

func (m *TLMsgCopy) Encode() []byte

func (*TLMsgCopy) String

func (m *TLMsgCopy) String() string

type TLMsgDetailedInfo

type TLMsgDetailedInfo struct {
	Data2 *MsgDetailedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

func NewTLMsgDetailedInfo

func NewTLMsgDetailedInfo() *TLMsgDetailedInfo

func (*TLMsgDetailedInfo) Decode

func (m *TLMsgDetailedInfo) Decode(dbuf *DecodeBuf) error

func (*TLMsgDetailedInfo) Descriptor

func (*TLMsgDetailedInfo) Descriptor() ([]byte, []int)

func (*TLMsgDetailedInfo) Encode

func (m *TLMsgDetailedInfo) Encode() []byte

func (*TLMsgDetailedInfo) GetAnswerMsgId

func (m *TLMsgDetailedInfo) GetAnswerMsgId() int64

func (*TLMsgDetailedInfo) GetBytes

func (m *TLMsgDetailedInfo) GetBytes() int32

func (*TLMsgDetailedInfo) GetData2

func (m *TLMsgDetailedInfo) GetData2() *MsgDetailedInfo_Data

func (*TLMsgDetailedInfo) GetMsgId

func (m *TLMsgDetailedInfo) GetMsgId() int64

func (*TLMsgDetailedInfo) GetStatus

func (m *TLMsgDetailedInfo) GetStatus() int32

func (*TLMsgDetailedInfo) ProtoMessage

func (*TLMsgDetailedInfo) ProtoMessage()

func (*TLMsgDetailedInfo) Reset

func (m *TLMsgDetailedInfo) Reset()

func (*TLMsgDetailedInfo) SetAnswerMsgId

func (m *TLMsgDetailedInfo) SetAnswerMsgId(v int64)

func (*TLMsgDetailedInfo) SetBytes

func (m *TLMsgDetailedInfo) SetBytes(v int32)

func (*TLMsgDetailedInfo) SetMsgId

func (m *TLMsgDetailedInfo) SetMsgId(v int64)

func (*TLMsgDetailedInfo) SetStatus

func (m *TLMsgDetailedInfo) SetStatus(v int32)

func (*TLMsgDetailedInfo) String

func (m *TLMsgDetailedInfo) String() string

func (*TLMsgDetailedInfo) To_MsgDetailedInfo

func (m *TLMsgDetailedInfo) To_MsgDetailedInfo() *MsgDetailedInfo

msg_detailed_info#276d3ec6 msg_id:long answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

type TLMsgNewDetailedInfo

type TLMsgNewDetailedInfo struct {
	Data2 *MsgDetailedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

func NewTLMsgNewDetailedInfo

func NewTLMsgNewDetailedInfo() *TLMsgNewDetailedInfo

func (*TLMsgNewDetailedInfo) Decode

func (m *TLMsgNewDetailedInfo) Decode(dbuf *DecodeBuf) error

func (*TLMsgNewDetailedInfo) Descriptor

func (*TLMsgNewDetailedInfo) Descriptor() ([]byte, []int)

func (*TLMsgNewDetailedInfo) Encode

func (m *TLMsgNewDetailedInfo) Encode() []byte

func (*TLMsgNewDetailedInfo) GetAnswerMsgId

func (m *TLMsgNewDetailedInfo) GetAnswerMsgId() int64

func (*TLMsgNewDetailedInfo) GetBytes

func (m *TLMsgNewDetailedInfo) GetBytes() int32

func (*TLMsgNewDetailedInfo) GetData2

func (*TLMsgNewDetailedInfo) GetStatus

func (m *TLMsgNewDetailedInfo) GetStatus() int32

func (*TLMsgNewDetailedInfo) ProtoMessage

func (*TLMsgNewDetailedInfo) ProtoMessage()

func (*TLMsgNewDetailedInfo) Reset

func (m *TLMsgNewDetailedInfo) Reset()

func (*TLMsgNewDetailedInfo) SetAnswerMsgId

func (m *TLMsgNewDetailedInfo) SetAnswerMsgId(v int64)

func (*TLMsgNewDetailedInfo) SetBytes

func (m *TLMsgNewDetailedInfo) SetBytes(v int32)

func (*TLMsgNewDetailedInfo) SetStatus

func (m *TLMsgNewDetailedInfo) SetStatus(v int32)

func (*TLMsgNewDetailedInfo) String

func (m *TLMsgNewDetailedInfo) String() string

func (*TLMsgNewDetailedInfo) To_MsgDetailedInfo

func (m *TLMsgNewDetailedInfo) To_MsgDetailedInfo() *MsgDetailedInfo

msg_new_detailed_info#809db6df answer_msg_id:long bytes:int status:int = MsgDetailedInfo;

type TLMsgResendReq

type TLMsgResendReq struct {
	Data2 *MsgResendReq_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msg_resend_req#7d861a08 msg_ids:Vector<long> = MsgResendReq;

func NewTLMsgResendReq

func NewTLMsgResendReq() *TLMsgResendReq

func (*TLMsgResendReq) Decode

func (m *TLMsgResendReq) Decode(dbuf *DecodeBuf) error

func (*TLMsgResendReq) Descriptor

func (*TLMsgResendReq) Descriptor() ([]byte, []int)

func (*TLMsgResendReq) Encode

func (m *TLMsgResendReq) Encode() []byte

func (*TLMsgResendReq) GetData2

func (m *TLMsgResendReq) GetData2() *MsgResendReq_Data

func (*TLMsgResendReq) GetMsgIds

func (m *TLMsgResendReq) GetMsgIds() []int64

func (*TLMsgResendReq) ProtoMessage

func (*TLMsgResendReq) ProtoMessage()

func (*TLMsgResendReq) Reset

func (m *TLMsgResendReq) Reset()

func (*TLMsgResendReq) SetMsgIds

func (m *TLMsgResendReq) SetMsgIds(v []int64)

func (*TLMsgResendReq) String

func (m *TLMsgResendReq) String() string

func (*TLMsgResendReq) To_MsgResendReq

func (m *TLMsgResendReq) To_MsgResendReq() *MsgResendReq

msg_resend_req#7d861a08 msg_ids:Vector<long> = MsgResendReq;

type TLMsgsAck

type TLMsgsAck struct {
	Data2 *MsgsAck_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msgs_ack#62d6b459 msg_ids:Vector<long> = MsgsAck;

func NewTLMsgsAck

func NewTLMsgsAck() *TLMsgsAck

func (*TLMsgsAck) Decode

func (m *TLMsgsAck) Decode(dbuf *DecodeBuf) error

func (*TLMsgsAck) Descriptor

func (*TLMsgsAck) Descriptor() ([]byte, []int)

func (*TLMsgsAck) Encode

func (m *TLMsgsAck) Encode() []byte

func (*TLMsgsAck) GetData2

func (m *TLMsgsAck) GetData2() *MsgsAck_Data

func (*TLMsgsAck) GetMsgIds

func (m *TLMsgsAck) GetMsgIds() []int64

func (*TLMsgsAck) ProtoMessage

func (*TLMsgsAck) ProtoMessage()

func (*TLMsgsAck) Reset

func (m *TLMsgsAck) Reset()

func (*TLMsgsAck) SetMsgIds

func (m *TLMsgsAck) SetMsgIds(v []int64)

func (*TLMsgsAck) String

func (m *TLMsgsAck) String() string

func (*TLMsgsAck) To_MsgsAck

func (m *TLMsgsAck) To_MsgsAck() *MsgsAck

msgs_ack#62d6b459 msg_ids:Vector<long> = MsgsAck;

type TLMsgsAllInfo

type TLMsgsAllInfo struct {
	Data2 *MsgsAllInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msgs_all_info#8cc0d131 msg_ids:Vector<long> info:string = MsgsAllInfo;

func NewTLMsgsAllInfo

func NewTLMsgsAllInfo() *TLMsgsAllInfo

func (*TLMsgsAllInfo) Decode

func (m *TLMsgsAllInfo) Decode(dbuf *DecodeBuf) error

func (*TLMsgsAllInfo) Descriptor

func (*TLMsgsAllInfo) Descriptor() ([]byte, []int)

func (*TLMsgsAllInfo) Encode

func (m *TLMsgsAllInfo) Encode() []byte

func (*TLMsgsAllInfo) GetData2

func (m *TLMsgsAllInfo) GetData2() *MsgsAllInfo_Data

func (*TLMsgsAllInfo) GetInfo

func (m *TLMsgsAllInfo) GetInfo() string

func (*TLMsgsAllInfo) GetMsgIds

func (m *TLMsgsAllInfo) GetMsgIds() []int64

func (*TLMsgsAllInfo) ProtoMessage

func (*TLMsgsAllInfo) ProtoMessage()

func (*TLMsgsAllInfo) Reset

func (m *TLMsgsAllInfo) Reset()

func (*TLMsgsAllInfo) SetInfo

func (m *TLMsgsAllInfo) SetInfo(v string)

func (*TLMsgsAllInfo) SetMsgIds

func (m *TLMsgsAllInfo) SetMsgIds(v []int64)

func (*TLMsgsAllInfo) String

func (m *TLMsgsAllInfo) String() string

func (*TLMsgsAllInfo) To_MsgsAllInfo

func (m *TLMsgsAllInfo) To_MsgsAllInfo() *MsgsAllInfo

msgs_all_info#8cc0d131 msg_ids:Vector<long> info:string = MsgsAllInfo;

type TLMsgsStateInfo

type TLMsgsStateInfo struct {
	Data2 *MsgsStateInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo;

func NewTLMsgsStateInfo

func NewTLMsgsStateInfo() *TLMsgsStateInfo

func (*TLMsgsStateInfo) Decode

func (m *TLMsgsStateInfo) Decode(dbuf *DecodeBuf) error

func (*TLMsgsStateInfo) Descriptor

func (*TLMsgsStateInfo) Descriptor() ([]byte, []int)

func (*TLMsgsStateInfo) Encode

func (m *TLMsgsStateInfo) Encode() []byte

func (*TLMsgsStateInfo) GetData2

func (m *TLMsgsStateInfo) GetData2() *MsgsStateInfo_Data

func (*TLMsgsStateInfo) GetInfo

func (m *TLMsgsStateInfo) GetInfo() string

func (*TLMsgsStateInfo) GetReqMsgId

func (m *TLMsgsStateInfo) GetReqMsgId() int64

func (*TLMsgsStateInfo) ProtoMessage

func (*TLMsgsStateInfo) ProtoMessage()

func (*TLMsgsStateInfo) Reset

func (m *TLMsgsStateInfo) Reset()

func (*TLMsgsStateInfo) SetInfo

func (m *TLMsgsStateInfo) SetInfo(v string)

func (*TLMsgsStateInfo) SetReqMsgId

func (m *TLMsgsStateInfo) SetReqMsgId(v int64)

func (*TLMsgsStateInfo) String

func (m *TLMsgsStateInfo) String() string

func (*TLMsgsStateInfo) To_MsgsStateInfo

func (m *TLMsgsStateInfo) To_MsgsStateInfo() *MsgsStateInfo

msgs_state_info#04deb57d req_msg_id:long info:string = MsgsStateInfo;

type TLMsgsStateReq

type TLMsgsStateReq struct {
	Data2 *MsgsStateReq_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

msgs_state_req#da69fb52 msg_ids:Vector<long> = MsgsStateReq;

func NewTLMsgsStateReq

func NewTLMsgsStateReq() *TLMsgsStateReq

func (*TLMsgsStateReq) Decode

func (m *TLMsgsStateReq) Decode(dbuf *DecodeBuf) error

func (*TLMsgsStateReq) Descriptor

func (*TLMsgsStateReq) Descriptor() ([]byte, []int)

func (*TLMsgsStateReq) Encode

func (m *TLMsgsStateReq) Encode() []byte

func (*TLMsgsStateReq) GetData2

func (m *TLMsgsStateReq) GetData2() *MsgsStateReq_Data

func (*TLMsgsStateReq) GetMsgIds

func (m *TLMsgsStateReq) GetMsgIds() []int64

func (*TLMsgsStateReq) ProtoMessage

func (*TLMsgsStateReq) ProtoMessage()

func (*TLMsgsStateReq) Reset

func (m *TLMsgsStateReq) Reset()

func (*TLMsgsStateReq) SetMsgIds

func (m *TLMsgsStateReq) SetMsgIds(v []int64)

func (*TLMsgsStateReq) String

func (m *TLMsgsStateReq) String() string

func (*TLMsgsStateReq) To_MsgsStateReq

func (m *TLMsgsStateReq) To_MsgsStateReq() *MsgsStateReq

msgs_state_req#da69fb52 msg_ids:Vector<long> = MsgsStateReq;

type TLNearestDc

type TLNearestDc struct {
	Data2 *NearestDc_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;

func NewTLNearestDc

func NewTLNearestDc() *TLNearestDc

func (*TLNearestDc) Decode

func (m *TLNearestDc) Decode(dbuf *DecodeBuf) error

func (*TLNearestDc) Descriptor

func (*TLNearestDc) Descriptor() ([]byte, []int)

func (*TLNearestDc) Encode

func (m *TLNearestDc) Encode() []byte

func (*TLNearestDc) GetCountry

func (m *TLNearestDc) GetCountry() string

func (*TLNearestDc) GetData2

func (m *TLNearestDc) GetData2() *NearestDc_Data

func (*TLNearestDc) GetNearestDc

func (m *TLNearestDc) GetNearestDc() int32

func (*TLNearestDc) GetThisDc

func (m *TLNearestDc) GetThisDc() int32

func (*TLNearestDc) ProtoMessage

func (*TLNearestDc) ProtoMessage()

func (*TLNearestDc) Reset

func (m *TLNearestDc) Reset()

func (*TLNearestDc) SetCountry

func (m *TLNearestDc) SetCountry(v string)

func (*TLNearestDc) SetNearestDc

func (m *TLNearestDc) SetNearestDc(v int32)

func (*TLNearestDc) SetThisDc

func (m *TLNearestDc) SetThisDc(v int32)

func (*TLNearestDc) String

func (m *TLNearestDc) String() string

func (*TLNearestDc) To_NearestDc

func (m *TLNearestDc) To_NearestDc() *NearestDc

nearestDc#8e1a1775 country:string this_dc:int nearest_dc:int = NearestDc;

type TLNewSessionCreated

type TLNewSessionCreated struct {
	Data2 *NewSession_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession;

func NewTLNewSessionCreated

func NewTLNewSessionCreated() *TLNewSessionCreated

func (*TLNewSessionCreated) Decode

func (m *TLNewSessionCreated) Decode(dbuf *DecodeBuf) error

func (*TLNewSessionCreated) Descriptor

func (*TLNewSessionCreated) Descriptor() ([]byte, []int)

func (*TLNewSessionCreated) Encode

func (m *TLNewSessionCreated) Encode() []byte

func (*TLNewSessionCreated) GetData2

func (m *TLNewSessionCreated) GetData2() *NewSession_Data

func (*TLNewSessionCreated) GetFirstMsgId

func (m *TLNewSessionCreated) GetFirstMsgId() int64

func (*TLNewSessionCreated) GetServerSalt

func (m *TLNewSessionCreated) GetServerSalt() int64

func (*TLNewSessionCreated) GetUniqueId

func (m *TLNewSessionCreated) GetUniqueId() int64

func (*TLNewSessionCreated) ProtoMessage

func (*TLNewSessionCreated) ProtoMessage()

func (*TLNewSessionCreated) Reset

func (m *TLNewSessionCreated) Reset()

func (*TLNewSessionCreated) SetFirstMsgId

func (m *TLNewSessionCreated) SetFirstMsgId(v int64)

func (*TLNewSessionCreated) SetServerSalt

func (m *TLNewSessionCreated) SetServerSalt(v int64)

func (*TLNewSessionCreated) SetUniqueId

func (m *TLNewSessionCreated) SetUniqueId(v int64)

func (*TLNewSessionCreated) String

func (m *TLNewSessionCreated) String() string

func (*TLNewSessionCreated) To_NewSession

func (m *TLNewSessionCreated) To_NewSession() *NewSession

new_session_created#9ec20908 first_msg_id:long unique_id:long server_salt:long = NewSession;

type TLNotifyAll

type TLNotifyAll struct {
	Data2 *NotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

notifyAll#74d07c60 = NotifyPeer;

func NewTLNotifyAll

func NewTLNotifyAll() *TLNotifyAll

func (*TLNotifyAll) Decode

func (m *TLNotifyAll) Decode(dbuf *DecodeBuf) error

func (*TLNotifyAll) Descriptor

func (*TLNotifyAll) Descriptor() ([]byte, []int)

func (*TLNotifyAll) Encode

func (m *TLNotifyAll) Encode() []byte

func (*TLNotifyAll) GetData2

func (m *TLNotifyAll) GetData2() *NotifyPeer_Data

func (*TLNotifyAll) ProtoMessage

func (*TLNotifyAll) ProtoMessage()

func (*TLNotifyAll) Reset

func (m *TLNotifyAll) Reset()

func (*TLNotifyAll) String

func (m *TLNotifyAll) String() string

func (*TLNotifyAll) To_NotifyPeer

func (m *TLNotifyAll) To_NotifyPeer() *NotifyPeer

notifyAll#74d07c60 = NotifyPeer;

type TLNotifyChats

type TLNotifyChats struct {
	Data2 *NotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

notifyChats#c007cec3 = NotifyPeer;

func NewTLNotifyChats

func NewTLNotifyChats() *TLNotifyChats

func (*TLNotifyChats) Decode

func (m *TLNotifyChats) Decode(dbuf *DecodeBuf) error

func (*TLNotifyChats) Descriptor

func (*TLNotifyChats) Descriptor() ([]byte, []int)

func (*TLNotifyChats) Encode

func (m *TLNotifyChats) Encode() []byte

func (*TLNotifyChats) GetData2

func (m *TLNotifyChats) GetData2() *NotifyPeer_Data

func (*TLNotifyChats) ProtoMessage

func (*TLNotifyChats) ProtoMessage()

func (*TLNotifyChats) Reset

func (m *TLNotifyChats) Reset()

func (*TLNotifyChats) String

func (m *TLNotifyChats) String() string

func (*TLNotifyChats) To_NotifyPeer

func (m *TLNotifyChats) To_NotifyPeer() *NotifyPeer

notifyChats#c007cec3 = NotifyPeer;

type TLNotifyPeer

type TLNotifyPeer struct {
	Data2 *NotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;

func NewTLNotifyPeer

func NewTLNotifyPeer() *TLNotifyPeer

func (*TLNotifyPeer) Decode

func (m *TLNotifyPeer) Decode(dbuf *DecodeBuf) error

func (*TLNotifyPeer) Descriptor

func (*TLNotifyPeer) Descriptor() ([]byte, []int)

func (*TLNotifyPeer) Encode

func (m *TLNotifyPeer) Encode() []byte

func (*TLNotifyPeer) GetData2

func (m *TLNotifyPeer) GetData2() *NotifyPeer_Data

func (*TLNotifyPeer) GetPeer

func (m *TLNotifyPeer) GetPeer() *Peer

func (*TLNotifyPeer) ProtoMessage

func (*TLNotifyPeer) ProtoMessage()

func (*TLNotifyPeer) Reset

func (m *TLNotifyPeer) Reset()

func (*TLNotifyPeer) SetPeer

func (m *TLNotifyPeer) SetPeer(v *Peer)

func (*TLNotifyPeer) String

func (m *TLNotifyPeer) String() string

func (*TLNotifyPeer) To_NotifyPeer

func (m *TLNotifyPeer) To_NotifyPeer() *NotifyPeer

notifyPeer#9fd40bd8 peer:Peer = NotifyPeer;

type TLNotifyUsers

type TLNotifyUsers struct {
	Data2 *NotifyPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

notifyUsers#b4c83b4c = NotifyPeer;

func NewTLNotifyUsers

func NewTLNotifyUsers() *TLNotifyUsers

func (*TLNotifyUsers) Decode

func (m *TLNotifyUsers) Decode(dbuf *DecodeBuf) error

func (*TLNotifyUsers) Descriptor

func (*TLNotifyUsers) Descriptor() ([]byte, []int)

func (*TLNotifyUsers) Encode

func (m *TLNotifyUsers) Encode() []byte

func (*TLNotifyUsers) GetData2

func (m *TLNotifyUsers) GetData2() *NotifyPeer_Data

func (*TLNotifyUsers) ProtoMessage

func (*TLNotifyUsers) ProtoMessage()

func (*TLNotifyUsers) Reset

func (m *TLNotifyUsers) Reset()

func (*TLNotifyUsers) String

func (m *TLNotifyUsers) String() string

func (*TLNotifyUsers) To_NotifyPeer

func (m *TLNotifyUsers) To_NotifyPeer() *NotifyPeer

notifyUsers#b4c83b4c = NotifyPeer;

type TLNull

type TLNull struct {
	Data2 *Null_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

null#56730bcc = Null;

func NewTLNull

func NewTLNull() *TLNull

func (*TLNull) Decode

func (m *TLNull) Decode(dbuf *DecodeBuf) error

func (*TLNull) Descriptor

func (*TLNull) Descriptor() ([]byte, []int)

func (*TLNull) Encode

func (m *TLNull) Encode() []byte

func (*TLNull) GetData2

func (m *TLNull) GetData2() *Null_Data

func (*TLNull) ProtoMessage

func (*TLNull) ProtoMessage()

func (*TLNull) Reset

func (m *TLNull) Reset()

func (*TLNull) String

func (m *TLNull) String() string

func (*TLNull) To_Null

func (m *TLNull) To_Null() *Null

null#56730bcc = Null;

type TLObject

type TLObject interface {
	Encode() []byte
	Decode(dbuf *DecodeBuf) error
	String() string
}

func NewTLObjectByClassID

func NewTLObjectByClassID(classId int32) TLObject

type TLPQInnerData

type TLPQInnerData struct {
	Data2 *P_QInnerData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data;

func NewTLPQInnerData

func NewTLPQInnerData() *TLPQInnerData

func (*TLPQInnerData) Decode

func (m *TLPQInnerData) Decode(dbuf *DecodeBuf) error

func (*TLPQInnerData) Descriptor

func (*TLPQInnerData) Descriptor() ([]byte, []int)

func (*TLPQInnerData) Encode

func (m *TLPQInnerData) Encode() []byte

func (*TLPQInnerData) GetData2

func (m *TLPQInnerData) GetData2() *P_QInnerData_Data

func (*TLPQInnerData) GetNewNonce

func (m *TLPQInnerData) GetNewNonce() []byte

func (*TLPQInnerData) GetNonce

func (m *TLPQInnerData) GetNonce() []byte

func (*TLPQInnerData) GetP

func (m *TLPQInnerData) GetP() string

func (*TLPQInnerData) GetPq

func (m *TLPQInnerData) GetPq() string

func (*TLPQInnerData) GetQ

func (m *TLPQInnerData) GetQ() string

func (*TLPQInnerData) GetServerNonce

func (m *TLPQInnerData) GetServerNonce() []byte

func (*TLPQInnerData) ProtoMessage

func (*TLPQInnerData) ProtoMessage()

func (*TLPQInnerData) Reset

func (m *TLPQInnerData) Reset()

func (*TLPQInnerData) SetNewNonce

func (m *TLPQInnerData) SetNewNonce(v []byte)

func (*TLPQInnerData) SetNonce

func (m *TLPQInnerData) SetNonce(v []byte)

func (*TLPQInnerData) SetP

func (m *TLPQInnerData) SetP(v string)

func (*TLPQInnerData) SetPq

func (m *TLPQInnerData) SetPq(v string)

func (*TLPQInnerData) SetQ

func (m *TLPQInnerData) SetQ(v string)

func (*TLPQInnerData) SetServerNonce

func (m *TLPQInnerData) SetServerNonce(v []byte)

func (*TLPQInnerData) String

func (m *TLPQInnerData) String() string

func (*TLPQInnerData) To_P_QInnerData

func (m *TLPQInnerData) To_P_QInnerData() *P_QInnerData

p_q_inner_data#83c95aec pq:string p:string q:string nonce:int128 server_nonce:int128 new_nonce:int256 = P_Q_inner_data;

type TLPageBlockAnchor

type TLPageBlockAnchor struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockAnchor#ce0d37b0 name:string = PageBlock;

func NewTLPageBlockAnchor

func NewTLPageBlockAnchor() *TLPageBlockAnchor

func (*TLPageBlockAnchor) Decode

func (m *TLPageBlockAnchor) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockAnchor) Descriptor

func (*TLPageBlockAnchor) Descriptor() ([]byte, []int)

func (*TLPageBlockAnchor) Encode

func (m *TLPageBlockAnchor) Encode() []byte

func (*TLPageBlockAnchor) GetData2

func (m *TLPageBlockAnchor) GetData2() *PageBlock_Data

func (*TLPageBlockAnchor) GetName

func (m *TLPageBlockAnchor) GetName() string

func (*TLPageBlockAnchor) ProtoMessage

func (*TLPageBlockAnchor) ProtoMessage()

func (*TLPageBlockAnchor) Reset

func (m *TLPageBlockAnchor) Reset()

func (*TLPageBlockAnchor) SetName

func (m *TLPageBlockAnchor) SetName(v string)

func (*TLPageBlockAnchor) String

func (m *TLPageBlockAnchor) String() string

func (*TLPageBlockAnchor) To_PageBlock

func (m *TLPageBlockAnchor) To_PageBlock() *PageBlock

pageBlockAnchor#ce0d37b0 name:string = PageBlock;

type TLPageBlockAudio

type TLPageBlockAudio struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock;

func NewTLPageBlockAudio

func NewTLPageBlockAudio() *TLPageBlockAudio

func (*TLPageBlockAudio) Decode

func (m *TLPageBlockAudio) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockAudio) Descriptor

func (*TLPageBlockAudio) Descriptor() ([]byte, []int)

func (*TLPageBlockAudio) Encode

func (m *TLPageBlockAudio) Encode() []byte

func (*TLPageBlockAudio) GetAudioId

func (m *TLPageBlockAudio) GetAudioId() int64

func (*TLPageBlockAudio) GetCaption

func (m *TLPageBlockAudio) GetCaption() *RichText

func (*TLPageBlockAudio) GetData2

func (m *TLPageBlockAudio) GetData2() *PageBlock_Data

func (*TLPageBlockAudio) ProtoMessage

func (*TLPageBlockAudio) ProtoMessage()

func (*TLPageBlockAudio) Reset

func (m *TLPageBlockAudio) Reset()

func (*TLPageBlockAudio) SetAudioId

func (m *TLPageBlockAudio) SetAudioId(v int64)

func (*TLPageBlockAudio) SetCaption

func (m *TLPageBlockAudio) SetCaption(v *RichText)

func (*TLPageBlockAudio) String

func (m *TLPageBlockAudio) String() string

func (*TLPageBlockAudio) To_PageBlock

func (m *TLPageBlockAudio) To_PageBlock() *PageBlock

pageBlockAudio#31b81a7f audio_id:long caption:RichText = PageBlock;

type TLPageBlockAuthorDate

type TLPageBlockAuthorDate struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;

func NewTLPageBlockAuthorDate

func NewTLPageBlockAuthorDate() *TLPageBlockAuthorDate

func (*TLPageBlockAuthorDate) Decode

func (m *TLPageBlockAuthorDate) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockAuthorDate) Descriptor

func (*TLPageBlockAuthorDate) Descriptor() ([]byte, []int)

func (*TLPageBlockAuthorDate) Encode

func (m *TLPageBlockAuthorDate) Encode() []byte

func (*TLPageBlockAuthorDate) GetAuthor

func (m *TLPageBlockAuthorDate) GetAuthor() *RichText

func (*TLPageBlockAuthorDate) GetData2

func (m *TLPageBlockAuthorDate) GetData2() *PageBlock_Data

func (*TLPageBlockAuthorDate) GetPublishedDate

func (m *TLPageBlockAuthorDate) GetPublishedDate() int32

func (*TLPageBlockAuthorDate) ProtoMessage

func (*TLPageBlockAuthorDate) ProtoMessage()

func (*TLPageBlockAuthorDate) Reset

func (m *TLPageBlockAuthorDate) Reset()

func (*TLPageBlockAuthorDate) SetAuthor

func (m *TLPageBlockAuthorDate) SetAuthor(v *RichText)

func (*TLPageBlockAuthorDate) SetPublishedDate

func (m *TLPageBlockAuthorDate) SetPublishedDate(v int32)

func (*TLPageBlockAuthorDate) String

func (m *TLPageBlockAuthorDate) String() string

func (*TLPageBlockAuthorDate) To_PageBlock

func (m *TLPageBlockAuthorDate) To_PageBlock() *PageBlock

pageBlockAuthorDate#baafe5e0 author:RichText published_date:int = PageBlock;

type TLPageBlockBlockquote

type TLPageBlockBlockquote struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;

func NewTLPageBlockBlockquote

func NewTLPageBlockBlockquote() *TLPageBlockBlockquote

func (*TLPageBlockBlockquote) Decode

func (m *TLPageBlockBlockquote) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockBlockquote) Descriptor

func (*TLPageBlockBlockquote) Descriptor() ([]byte, []int)

func (*TLPageBlockBlockquote) Encode

func (m *TLPageBlockBlockquote) Encode() []byte

func (*TLPageBlockBlockquote) GetCaption

func (m *TLPageBlockBlockquote) GetCaption() *RichText

func (*TLPageBlockBlockquote) GetData2

func (m *TLPageBlockBlockquote) GetData2() *PageBlock_Data

func (*TLPageBlockBlockquote) GetText

func (m *TLPageBlockBlockquote) GetText() *RichText

func (*TLPageBlockBlockquote) ProtoMessage

func (*TLPageBlockBlockquote) ProtoMessage()

func (*TLPageBlockBlockquote) Reset

func (m *TLPageBlockBlockquote) Reset()

func (*TLPageBlockBlockquote) SetCaption

func (m *TLPageBlockBlockquote) SetCaption(v *RichText)

func (*TLPageBlockBlockquote) SetText

func (m *TLPageBlockBlockquote) SetText(v *RichText)

func (*TLPageBlockBlockquote) String

func (m *TLPageBlockBlockquote) String() string

func (*TLPageBlockBlockquote) To_PageBlock

func (m *TLPageBlockBlockquote) To_PageBlock() *PageBlock

pageBlockBlockquote#263d7c26 text:RichText caption:RichText = PageBlock;

type TLPageBlockChannel

type TLPageBlockChannel struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockChannel#ef1751b5 channel:Chat = PageBlock;

func NewTLPageBlockChannel

func NewTLPageBlockChannel() *TLPageBlockChannel

func (*TLPageBlockChannel) Decode

func (m *TLPageBlockChannel) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockChannel) Descriptor

func (*TLPageBlockChannel) Descriptor() ([]byte, []int)

func (*TLPageBlockChannel) Encode

func (m *TLPageBlockChannel) Encode() []byte

func (*TLPageBlockChannel) GetChannel

func (m *TLPageBlockChannel) GetChannel() *Chat

func (*TLPageBlockChannel) GetData2

func (m *TLPageBlockChannel) GetData2() *PageBlock_Data

func (*TLPageBlockChannel) ProtoMessage

func (*TLPageBlockChannel) ProtoMessage()

func (*TLPageBlockChannel) Reset

func (m *TLPageBlockChannel) Reset()

func (*TLPageBlockChannel) SetChannel

func (m *TLPageBlockChannel) SetChannel(v *Chat)

func (*TLPageBlockChannel) String

func (m *TLPageBlockChannel) String() string

func (*TLPageBlockChannel) To_PageBlock

func (m *TLPageBlockChannel) To_PageBlock() *PageBlock

pageBlockChannel#ef1751b5 channel:Chat = PageBlock;

type TLPageBlockCollage

type TLPageBlockCollage struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockCollage#8b31c4f items:Vector<PageBlock> caption:RichText = PageBlock;

func NewTLPageBlockCollage

func NewTLPageBlockCollage() *TLPageBlockCollage

func (*TLPageBlockCollage) Decode

func (m *TLPageBlockCollage) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockCollage) Descriptor

func (*TLPageBlockCollage) Descriptor() ([]byte, []int)

func (*TLPageBlockCollage) Encode

func (m *TLPageBlockCollage) Encode() []byte

func (*TLPageBlockCollage) GetCaption

func (m *TLPageBlockCollage) GetCaption() *RichText

func (*TLPageBlockCollage) GetData2

func (m *TLPageBlockCollage) GetData2() *PageBlock_Data

func (*TLPageBlockCollage) GetItems

func (m *TLPageBlockCollage) GetItems() []*PageBlock

func (*TLPageBlockCollage) ProtoMessage

func (*TLPageBlockCollage) ProtoMessage()

func (*TLPageBlockCollage) Reset

func (m *TLPageBlockCollage) Reset()

func (*TLPageBlockCollage) SetCaption

func (m *TLPageBlockCollage) SetCaption(v *RichText)

func (*TLPageBlockCollage) SetItems

func (m *TLPageBlockCollage) SetItems(v []*PageBlock)

func (*TLPageBlockCollage) String

func (m *TLPageBlockCollage) String() string

func (*TLPageBlockCollage) To_PageBlock

func (m *TLPageBlockCollage) To_PageBlock() *PageBlock

pageBlockCollage#8b31c4f items:Vector<PageBlock> caption:RichText = PageBlock;

type TLPageBlockCover

type TLPageBlockCover struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockCover#39f23300 cover:PageBlock = PageBlock;

func NewTLPageBlockCover

func NewTLPageBlockCover() *TLPageBlockCover

func (*TLPageBlockCover) Decode

func (m *TLPageBlockCover) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockCover) Descriptor

func (*TLPageBlockCover) Descriptor() ([]byte, []int)

func (*TLPageBlockCover) Encode

func (m *TLPageBlockCover) Encode() []byte

func (*TLPageBlockCover) GetCover

func (m *TLPageBlockCover) GetCover() *PageBlock

func (*TLPageBlockCover) GetData2

func (m *TLPageBlockCover) GetData2() *PageBlock_Data

func (*TLPageBlockCover) ProtoMessage

func (*TLPageBlockCover) ProtoMessage()

func (*TLPageBlockCover) Reset

func (m *TLPageBlockCover) Reset()

func (*TLPageBlockCover) SetCover

func (m *TLPageBlockCover) SetCover(v *PageBlock)

func (*TLPageBlockCover) String

func (m *TLPageBlockCover) String() string

func (*TLPageBlockCover) To_PageBlock

func (m *TLPageBlockCover) To_PageBlock() *PageBlock

pageBlockCover#39f23300 cover:PageBlock = PageBlock;

type TLPageBlockDivider

type TLPageBlockDivider struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockDivider#db20b188 = PageBlock;

func NewTLPageBlockDivider

func NewTLPageBlockDivider() *TLPageBlockDivider

func (*TLPageBlockDivider) Decode

func (m *TLPageBlockDivider) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockDivider) Descriptor

func (*TLPageBlockDivider) Descriptor() ([]byte, []int)

func (*TLPageBlockDivider) Encode

func (m *TLPageBlockDivider) Encode() []byte

func (*TLPageBlockDivider) GetData2

func (m *TLPageBlockDivider) GetData2() *PageBlock_Data

func (*TLPageBlockDivider) ProtoMessage

func (*TLPageBlockDivider) ProtoMessage()

func (*TLPageBlockDivider) Reset

func (m *TLPageBlockDivider) Reset()

func (*TLPageBlockDivider) String

func (m *TLPageBlockDivider) String() string

func (*TLPageBlockDivider) To_PageBlock

func (m *TLPageBlockDivider) To_PageBlock() *PageBlock

pageBlockDivider#db20b188 = PageBlock;

type TLPageBlockEmbed

type TLPageBlockEmbed struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;

func NewTLPageBlockEmbed

func NewTLPageBlockEmbed() *TLPageBlockEmbed

func (*TLPageBlockEmbed) Decode

func (m *TLPageBlockEmbed) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockEmbed) Descriptor

func (*TLPageBlockEmbed) Descriptor() ([]byte, []int)

func (*TLPageBlockEmbed) Encode

func (m *TLPageBlockEmbed) Encode() []byte

func (*TLPageBlockEmbed) GetAllowScrolling

func (m *TLPageBlockEmbed) GetAllowScrolling() bool

func (*TLPageBlockEmbed) GetCaption

func (m *TLPageBlockEmbed) GetCaption() *RichText

func (*TLPageBlockEmbed) GetData2

func (m *TLPageBlockEmbed) GetData2() *PageBlock_Data

func (*TLPageBlockEmbed) GetFullWidth

func (m *TLPageBlockEmbed) GetFullWidth() bool

func (*TLPageBlockEmbed) GetH

func (m *TLPageBlockEmbed) GetH() int32

func (*TLPageBlockEmbed) GetHtml

func (m *TLPageBlockEmbed) GetHtml() string

func (*TLPageBlockEmbed) GetPosterPhotoId

func (m *TLPageBlockEmbed) GetPosterPhotoId() int64

func (*TLPageBlockEmbed) GetUrl

func (m *TLPageBlockEmbed) GetUrl() string

func (*TLPageBlockEmbed) GetW

func (m *TLPageBlockEmbed) GetW() int32

func (*TLPageBlockEmbed) ProtoMessage

func (*TLPageBlockEmbed) ProtoMessage()

func (*TLPageBlockEmbed) Reset

func (m *TLPageBlockEmbed) Reset()

func (*TLPageBlockEmbed) SetAllowScrolling

func (m *TLPageBlockEmbed) SetAllowScrolling(v bool)

func (*TLPageBlockEmbed) SetCaption

func (m *TLPageBlockEmbed) SetCaption(v *RichText)

func (*TLPageBlockEmbed) SetFullWidth

func (m *TLPageBlockEmbed) SetFullWidth(v bool)

func (*TLPageBlockEmbed) SetH

func (m *TLPageBlockEmbed) SetH(v int32)

func (*TLPageBlockEmbed) SetHtml

func (m *TLPageBlockEmbed) SetHtml(v string)

func (*TLPageBlockEmbed) SetPosterPhotoId

func (m *TLPageBlockEmbed) SetPosterPhotoId(v int64)

func (*TLPageBlockEmbed) SetUrl

func (m *TLPageBlockEmbed) SetUrl(v string)

func (*TLPageBlockEmbed) SetW

func (m *TLPageBlockEmbed) SetW(v int32)

func (*TLPageBlockEmbed) String

func (m *TLPageBlockEmbed) String() string

func (*TLPageBlockEmbed) To_PageBlock

func (m *TLPageBlockEmbed) To_PageBlock() *PageBlock

pageBlockEmbed#cde200d1 flags:# full_width:flags.0?true allow_scrolling:flags.3?true url:flags.1?string html:flags.2?string poster_photo_id:flags.4?long w:int h:int caption:RichText = PageBlock;

type TLPageBlockEmbedPost

type TLPageBlockEmbedPost struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock;

func NewTLPageBlockEmbedPost

func NewTLPageBlockEmbedPost() *TLPageBlockEmbedPost

func (*TLPageBlockEmbedPost) Decode

func (m *TLPageBlockEmbedPost) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockEmbedPost) Descriptor

func (*TLPageBlockEmbedPost) Descriptor() ([]byte, []int)

func (*TLPageBlockEmbedPost) Encode

func (m *TLPageBlockEmbedPost) Encode() []byte

func (*TLPageBlockEmbedPost) GetAuthor

func (m *TLPageBlockEmbedPost) GetAuthor() string

func (*TLPageBlockEmbedPost) GetAuthorPhotoId

func (m *TLPageBlockEmbedPost) GetAuthorPhotoId() int64

func (*TLPageBlockEmbedPost) GetBlocks

func (m *TLPageBlockEmbedPost) GetBlocks() []*PageBlock

func (*TLPageBlockEmbedPost) GetCaption

func (m *TLPageBlockEmbedPost) GetCaption() *RichText

func (*TLPageBlockEmbedPost) GetData2

func (m *TLPageBlockEmbedPost) GetData2() *PageBlock_Data

func (*TLPageBlockEmbedPost) GetDate

func (m *TLPageBlockEmbedPost) GetDate() int32

func (*TLPageBlockEmbedPost) GetUrl

func (m *TLPageBlockEmbedPost) GetUrl() string

func (*TLPageBlockEmbedPost) GetWebpageId

func (m *TLPageBlockEmbedPost) GetWebpageId() int64

func (*TLPageBlockEmbedPost) ProtoMessage

func (*TLPageBlockEmbedPost) ProtoMessage()

func (*TLPageBlockEmbedPost) Reset

func (m *TLPageBlockEmbedPost) Reset()

func (*TLPageBlockEmbedPost) SetAuthor

func (m *TLPageBlockEmbedPost) SetAuthor(v string)

func (*TLPageBlockEmbedPost) SetAuthorPhotoId

func (m *TLPageBlockEmbedPost) SetAuthorPhotoId(v int64)

func (*TLPageBlockEmbedPost) SetBlocks

func (m *TLPageBlockEmbedPost) SetBlocks(v []*PageBlock)

func (*TLPageBlockEmbedPost) SetCaption

func (m *TLPageBlockEmbedPost) SetCaption(v *RichText)

func (*TLPageBlockEmbedPost) SetDate

func (m *TLPageBlockEmbedPost) SetDate(v int32)

func (*TLPageBlockEmbedPost) SetUrl

func (m *TLPageBlockEmbedPost) SetUrl(v string)

func (*TLPageBlockEmbedPost) SetWebpageId

func (m *TLPageBlockEmbedPost) SetWebpageId(v int64)

func (*TLPageBlockEmbedPost) String

func (m *TLPageBlockEmbedPost) String() string

func (*TLPageBlockEmbedPost) To_PageBlock

func (m *TLPageBlockEmbedPost) To_PageBlock() *PageBlock

pageBlockEmbedPost#292c7be9 url:string webpage_id:long author_photo_id:long author:string date:int blocks:Vector<PageBlock> caption:RichText = PageBlock;

type TLPageBlockFooter

type TLPageBlockFooter struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockFooter#48870999 text:RichText = PageBlock;

func NewTLPageBlockFooter

func NewTLPageBlockFooter() *TLPageBlockFooter

func (*TLPageBlockFooter) Decode

func (m *TLPageBlockFooter) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockFooter) Descriptor

func (*TLPageBlockFooter) Descriptor() ([]byte, []int)

func (*TLPageBlockFooter) Encode

func (m *TLPageBlockFooter) Encode() []byte

func (*TLPageBlockFooter) GetData2

func (m *TLPageBlockFooter) GetData2() *PageBlock_Data

func (*TLPageBlockFooter) GetText

func (m *TLPageBlockFooter) GetText() *RichText

func (*TLPageBlockFooter) ProtoMessage

func (*TLPageBlockFooter) ProtoMessage()

func (*TLPageBlockFooter) Reset

func (m *TLPageBlockFooter) Reset()

func (*TLPageBlockFooter) SetText

func (m *TLPageBlockFooter) SetText(v *RichText)

func (*TLPageBlockFooter) String

func (m *TLPageBlockFooter) String() string

func (*TLPageBlockFooter) To_PageBlock

func (m *TLPageBlockFooter) To_PageBlock() *PageBlock

pageBlockFooter#48870999 text:RichText = PageBlock;

type TLPageBlockHeader

type TLPageBlockHeader struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockHeader#bfd064ec text:RichText = PageBlock;

func NewTLPageBlockHeader

func NewTLPageBlockHeader() *TLPageBlockHeader

func (*TLPageBlockHeader) Decode

func (m *TLPageBlockHeader) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockHeader) Descriptor

func (*TLPageBlockHeader) Descriptor() ([]byte, []int)

func (*TLPageBlockHeader) Encode

func (m *TLPageBlockHeader) Encode() []byte

func (*TLPageBlockHeader) GetData2

func (m *TLPageBlockHeader) GetData2() *PageBlock_Data

func (*TLPageBlockHeader) GetText

func (m *TLPageBlockHeader) GetText() *RichText

func (*TLPageBlockHeader) ProtoMessage

func (*TLPageBlockHeader) ProtoMessage()

func (*TLPageBlockHeader) Reset

func (m *TLPageBlockHeader) Reset()

func (*TLPageBlockHeader) SetText

func (m *TLPageBlockHeader) SetText(v *RichText)

func (*TLPageBlockHeader) String

func (m *TLPageBlockHeader) String() string

func (*TLPageBlockHeader) To_PageBlock

func (m *TLPageBlockHeader) To_PageBlock() *PageBlock

pageBlockHeader#bfd064ec text:RichText = PageBlock;

type TLPageBlockList

type TLPageBlockList struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockList#3a58c7f4 ordered:Bool items:Vector<RichText> = PageBlock;

func NewTLPageBlockList

func NewTLPageBlockList() *TLPageBlockList

func (*TLPageBlockList) Decode

func (m *TLPageBlockList) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockList) Descriptor

func (*TLPageBlockList) Descriptor() ([]byte, []int)

func (*TLPageBlockList) Encode

func (m *TLPageBlockList) Encode() []byte

func (*TLPageBlockList) GetData2

func (m *TLPageBlockList) GetData2() *PageBlock_Data

func (*TLPageBlockList) GetItems

func (m *TLPageBlockList) GetItems() []*RichText

func (*TLPageBlockList) GetOrdered

func (m *TLPageBlockList) GetOrdered() *Bool

func (*TLPageBlockList) ProtoMessage

func (*TLPageBlockList) ProtoMessage()

func (*TLPageBlockList) Reset

func (m *TLPageBlockList) Reset()

func (*TLPageBlockList) SetItems

func (m *TLPageBlockList) SetItems(v []*RichText)

func (*TLPageBlockList) SetOrdered

func (m *TLPageBlockList) SetOrdered(v *Bool)

func (*TLPageBlockList) String

func (m *TLPageBlockList) String() string

func (*TLPageBlockList) To_PageBlock

func (m *TLPageBlockList) To_PageBlock() *PageBlock

pageBlockList#3a58c7f4 ordered:Bool items:Vector<RichText> = PageBlock;

type TLPageBlockParagraph

type TLPageBlockParagraph struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockParagraph#467a0766 text:RichText = PageBlock;

func NewTLPageBlockParagraph

func NewTLPageBlockParagraph() *TLPageBlockParagraph

func (*TLPageBlockParagraph) Decode

func (m *TLPageBlockParagraph) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockParagraph) Descriptor

func (*TLPageBlockParagraph) Descriptor() ([]byte, []int)

func (*TLPageBlockParagraph) Encode

func (m *TLPageBlockParagraph) Encode() []byte

func (*TLPageBlockParagraph) GetData2

func (m *TLPageBlockParagraph) GetData2() *PageBlock_Data

func (*TLPageBlockParagraph) GetText

func (m *TLPageBlockParagraph) GetText() *RichText

func (*TLPageBlockParagraph) ProtoMessage

func (*TLPageBlockParagraph) ProtoMessage()

func (*TLPageBlockParagraph) Reset

func (m *TLPageBlockParagraph) Reset()

func (*TLPageBlockParagraph) SetText

func (m *TLPageBlockParagraph) SetText(v *RichText)

func (*TLPageBlockParagraph) String

func (m *TLPageBlockParagraph) String() string

func (*TLPageBlockParagraph) To_PageBlock

func (m *TLPageBlockParagraph) To_PageBlock() *PageBlock

pageBlockParagraph#467a0766 text:RichText = PageBlock;

type TLPageBlockPhoto

type TLPageBlockPhoto struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock;

func NewTLPageBlockPhoto

func NewTLPageBlockPhoto() *TLPageBlockPhoto

func (*TLPageBlockPhoto) Decode

func (m *TLPageBlockPhoto) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockPhoto) Descriptor

func (*TLPageBlockPhoto) Descriptor() ([]byte, []int)

func (*TLPageBlockPhoto) Encode

func (m *TLPageBlockPhoto) Encode() []byte

func (*TLPageBlockPhoto) GetCaption

func (m *TLPageBlockPhoto) GetCaption() *RichText

func (*TLPageBlockPhoto) GetData2

func (m *TLPageBlockPhoto) GetData2() *PageBlock_Data

func (*TLPageBlockPhoto) GetPhotoId

func (m *TLPageBlockPhoto) GetPhotoId() int64

func (*TLPageBlockPhoto) ProtoMessage

func (*TLPageBlockPhoto) ProtoMessage()

func (*TLPageBlockPhoto) Reset

func (m *TLPageBlockPhoto) Reset()

func (*TLPageBlockPhoto) SetCaption

func (m *TLPageBlockPhoto) SetCaption(v *RichText)

func (*TLPageBlockPhoto) SetPhotoId

func (m *TLPageBlockPhoto) SetPhotoId(v int64)

func (*TLPageBlockPhoto) String

func (m *TLPageBlockPhoto) String() string

func (*TLPageBlockPhoto) To_PageBlock

func (m *TLPageBlockPhoto) To_PageBlock() *PageBlock

pageBlockPhoto#e9c69982 photo_id:long caption:RichText = PageBlock;

type TLPageBlockPreformatted

type TLPageBlockPreformatted struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock;

func NewTLPageBlockPreformatted

func NewTLPageBlockPreformatted() *TLPageBlockPreformatted

func (*TLPageBlockPreformatted) Decode

func (m *TLPageBlockPreformatted) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockPreformatted) Descriptor

func (*TLPageBlockPreformatted) Descriptor() ([]byte, []int)

func (*TLPageBlockPreformatted) Encode

func (m *TLPageBlockPreformatted) Encode() []byte

func (*TLPageBlockPreformatted) GetData2

func (m *TLPageBlockPreformatted) GetData2() *PageBlock_Data

func (*TLPageBlockPreformatted) GetLanguage

func (m *TLPageBlockPreformatted) GetLanguage() string

func (*TLPageBlockPreformatted) GetText

func (m *TLPageBlockPreformatted) GetText() *RichText

func (*TLPageBlockPreformatted) ProtoMessage

func (*TLPageBlockPreformatted) ProtoMessage()

func (*TLPageBlockPreformatted) Reset

func (m *TLPageBlockPreformatted) Reset()

func (*TLPageBlockPreformatted) SetLanguage

func (m *TLPageBlockPreformatted) SetLanguage(v string)

func (*TLPageBlockPreformatted) SetText

func (m *TLPageBlockPreformatted) SetText(v *RichText)

func (*TLPageBlockPreformatted) String

func (m *TLPageBlockPreformatted) String() string

func (*TLPageBlockPreformatted) To_PageBlock

func (m *TLPageBlockPreformatted) To_PageBlock() *PageBlock

pageBlockPreformatted#c070d93e text:RichText language:string = PageBlock;

type TLPageBlockPullquote

type TLPageBlockPullquote struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;

func NewTLPageBlockPullquote

func NewTLPageBlockPullquote() *TLPageBlockPullquote

func (*TLPageBlockPullquote) Decode

func (m *TLPageBlockPullquote) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockPullquote) Descriptor

func (*TLPageBlockPullquote) Descriptor() ([]byte, []int)

func (*TLPageBlockPullquote) Encode

func (m *TLPageBlockPullquote) Encode() []byte

func (*TLPageBlockPullquote) GetCaption

func (m *TLPageBlockPullquote) GetCaption() *RichText

func (*TLPageBlockPullquote) GetData2

func (m *TLPageBlockPullquote) GetData2() *PageBlock_Data

func (*TLPageBlockPullquote) GetText

func (m *TLPageBlockPullquote) GetText() *RichText

func (*TLPageBlockPullquote) ProtoMessage

func (*TLPageBlockPullquote) ProtoMessage()

func (*TLPageBlockPullquote) Reset

func (m *TLPageBlockPullquote) Reset()

func (*TLPageBlockPullquote) SetCaption

func (m *TLPageBlockPullquote) SetCaption(v *RichText)

func (*TLPageBlockPullquote) SetText

func (m *TLPageBlockPullquote) SetText(v *RichText)

func (*TLPageBlockPullquote) String

func (m *TLPageBlockPullquote) String() string

func (*TLPageBlockPullquote) To_PageBlock

func (m *TLPageBlockPullquote) To_PageBlock() *PageBlock

pageBlockPullquote#4f4456d3 text:RichText caption:RichText = PageBlock;

type TLPageBlockSlideshow

type TLPageBlockSlideshow struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock;

func NewTLPageBlockSlideshow

func NewTLPageBlockSlideshow() *TLPageBlockSlideshow

func (*TLPageBlockSlideshow) Decode

func (m *TLPageBlockSlideshow) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockSlideshow) Descriptor

func (*TLPageBlockSlideshow) Descriptor() ([]byte, []int)

func (*TLPageBlockSlideshow) Encode

func (m *TLPageBlockSlideshow) Encode() []byte

func (*TLPageBlockSlideshow) GetCaption

func (m *TLPageBlockSlideshow) GetCaption() *RichText

func (*TLPageBlockSlideshow) GetData2

func (m *TLPageBlockSlideshow) GetData2() *PageBlock_Data

func (*TLPageBlockSlideshow) GetItems

func (m *TLPageBlockSlideshow) GetItems() []*PageBlock

func (*TLPageBlockSlideshow) ProtoMessage

func (*TLPageBlockSlideshow) ProtoMessage()

func (*TLPageBlockSlideshow) Reset

func (m *TLPageBlockSlideshow) Reset()

func (*TLPageBlockSlideshow) SetCaption

func (m *TLPageBlockSlideshow) SetCaption(v *RichText)

func (*TLPageBlockSlideshow) SetItems

func (m *TLPageBlockSlideshow) SetItems(v []*PageBlock)

func (*TLPageBlockSlideshow) String

func (m *TLPageBlockSlideshow) String() string

func (*TLPageBlockSlideshow) To_PageBlock

func (m *TLPageBlockSlideshow) To_PageBlock() *PageBlock

pageBlockSlideshow#130c8963 items:Vector<PageBlock> caption:RichText = PageBlock;

type TLPageBlockSubheader

type TLPageBlockSubheader struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockSubheader#f12bb6e1 text:RichText = PageBlock;

func NewTLPageBlockSubheader

func NewTLPageBlockSubheader() *TLPageBlockSubheader

func (*TLPageBlockSubheader) Decode

func (m *TLPageBlockSubheader) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockSubheader) Descriptor

func (*TLPageBlockSubheader) Descriptor() ([]byte, []int)

func (*TLPageBlockSubheader) Encode

func (m *TLPageBlockSubheader) Encode() []byte

func (*TLPageBlockSubheader) GetData2

func (m *TLPageBlockSubheader) GetData2() *PageBlock_Data

func (*TLPageBlockSubheader) GetText

func (m *TLPageBlockSubheader) GetText() *RichText

func (*TLPageBlockSubheader) ProtoMessage

func (*TLPageBlockSubheader) ProtoMessage()

func (*TLPageBlockSubheader) Reset

func (m *TLPageBlockSubheader) Reset()

func (*TLPageBlockSubheader) SetText

func (m *TLPageBlockSubheader) SetText(v *RichText)

func (*TLPageBlockSubheader) String

func (m *TLPageBlockSubheader) String() string

func (*TLPageBlockSubheader) To_PageBlock

func (m *TLPageBlockSubheader) To_PageBlock() *PageBlock

pageBlockSubheader#f12bb6e1 text:RichText = PageBlock;

type TLPageBlockSubtitle

type TLPageBlockSubtitle struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;

func NewTLPageBlockSubtitle

func NewTLPageBlockSubtitle() *TLPageBlockSubtitle

func (*TLPageBlockSubtitle) Decode

func (m *TLPageBlockSubtitle) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockSubtitle) Descriptor

func (*TLPageBlockSubtitle) Descriptor() ([]byte, []int)

func (*TLPageBlockSubtitle) Encode

func (m *TLPageBlockSubtitle) Encode() []byte

func (*TLPageBlockSubtitle) GetData2

func (m *TLPageBlockSubtitle) GetData2() *PageBlock_Data

func (*TLPageBlockSubtitle) GetText

func (m *TLPageBlockSubtitle) GetText() *RichText

func (*TLPageBlockSubtitle) ProtoMessage

func (*TLPageBlockSubtitle) ProtoMessage()

func (*TLPageBlockSubtitle) Reset

func (m *TLPageBlockSubtitle) Reset()

func (*TLPageBlockSubtitle) SetText

func (m *TLPageBlockSubtitle) SetText(v *RichText)

func (*TLPageBlockSubtitle) String

func (m *TLPageBlockSubtitle) String() string

func (*TLPageBlockSubtitle) To_PageBlock

func (m *TLPageBlockSubtitle) To_PageBlock() *PageBlock

pageBlockSubtitle#8ffa9a1f text:RichText = PageBlock;

type TLPageBlockTitle

type TLPageBlockTitle struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockTitle#70abc3fd text:RichText = PageBlock;

func NewTLPageBlockTitle

func NewTLPageBlockTitle() *TLPageBlockTitle

func (*TLPageBlockTitle) Decode

func (m *TLPageBlockTitle) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockTitle) Descriptor

func (*TLPageBlockTitle) Descriptor() ([]byte, []int)

func (*TLPageBlockTitle) Encode

func (m *TLPageBlockTitle) Encode() []byte

func (*TLPageBlockTitle) GetData2

func (m *TLPageBlockTitle) GetData2() *PageBlock_Data

func (*TLPageBlockTitle) GetText

func (m *TLPageBlockTitle) GetText() *RichText

func (*TLPageBlockTitle) ProtoMessage

func (*TLPageBlockTitle) ProtoMessage()

func (*TLPageBlockTitle) Reset

func (m *TLPageBlockTitle) Reset()

func (*TLPageBlockTitle) SetText

func (m *TLPageBlockTitle) SetText(v *RichText)

func (*TLPageBlockTitle) String

func (m *TLPageBlockTitle) String() string

func (*TLPageBlockTitle) To_PageBlock

func (m *TLPageBlockTitle) To_PageBlock() *PageBlock

pageBlockTitle#70abc3fd text:RichText = PageBlock;

type TLPageBlockUnsupported

type TLPageBlockUnsupported struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockUnsupported#13567e8a = PageBlock;

func NewTLPageBlockUnsupported

func NewTLPageBlockUnsupported() *TLPageBlockUnsupported

func (*TLPageBlockUnsupported) Decode

func (m *TLPageBlockUnsupported) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockUnsupported) Descriptor

func (*TLPageBlockUnsupported) Descriptor() ([]byte, []int)

func (*TLPageBlockUnsupported) Encode

func (m *TLPageBlockUnsupported) Encode() []byte

func (*TLPageBlockUnsupported) GetData2

func (m *TLPageBlockUnsupported) GetData2() *PageBlock_Data

func (*TLPageBlockUnsupported) ProtoMessage

func (*TLPageBlockUnsupported) ProtoMessage()

func (*TLPageBlockUnsupported) Reset

func (m *TLPageBlockUnsupported) Reset()

func (*TLPageBlockUnsupported) String

func (m *TLPageBlockUnsupported) String() string

func (*TLPageBlockUnsupported) To_PageBlock

func (m *TLPageBlockUnsupported) To_PageBlock() *PageBlock

pageBlockUnsupported#13567e8a = PageBlock;

type TLPageBlockVideo

type TLPageBlockVideo struct {
	Data2 *PageBlock_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock;

func NewTLPageBlockVideo

func NewTLPageBlockVideo() *TLPageBlockVideo

func (*TLPageBlockVideo) Decode

func (m *TLPageBlockVideo) Decode(dbuf *DecodeBuf) error

func (*TLPageBlockVideo) Descriptor

func (*TLPageBlockVideo) Descriptor() ([]byte, []int)

func (*TLPageBlockVideo) Encode

func (m *TLPageBlockVideo) Encode() []byte

func (*TLPageBlockVideo) GetAutoplay

func (m *TLPageBlockVideo) GetAutoplay() bool

func (*TLPageBlockVideo) GetCaption

func (m *TLPageBlockVideo) GetCaption() *RichText

func (*TLPageBlockVideo) GetData2

func (m *TLPageBlockVideo) GetData2() *PageBlock_Data

func (*TLPageBlockVideo) GetLoop

func (m *TLPageBlockVideo) GetLoop() bool

func (*TLPageBlockVideo) GetVideoId

func (m *TLPageBlockVideo) GetVideoId() int64

func (*TLPageBlockVideo) ProtoMessage

func (*TLPageBlockVideo) ProtoMessage()

func (*TLPageBlockVideo) Reset

func (m *TLPageBlockVideo) Reset()

func (*TLPageBlockVideo) SetAutoplay

func (m *TLPageBlockVideo) SetAutoplay(v bool)

func (*TLPageBlockVideo) SetCaption

func (m *TLPageBlockVideo) SetCaption(v *RichText)

func (*TLPageBlockVideo) SetLoop

func (m *TLPageBlockVideo) SetLoop(v bool)

func (*TLPageBlockVideo) SetVideoId

func (m *TLPageBlockVideo) SetVideoId(v int64)

func (*TLPageBlockVideo) String

func (m *TLPageBlockVideo) String() string

func (*TLPageBlockVideo) To_PageBlock

func (m *TLPageBlockVideo) To_PageBlock() *PageBlock

pageBlockVideo#d9d71866 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:RichText = PageBlock;

type TLPageFull

type TLPageFull struct {
	Data2 *Page_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pageFull#556ec7aa blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

func NewTLPageFull

func NewTLPageFull() *TLPageFull

func (*TLPageFull) Decode

func (m *TLPageFull) Decode(dbuf *DecodeBuf) error

func (*TLPageFull) Descriptor

func (*TLPageFull) Descriptor() ([]byte, []int)

func (*TLPageFull) Encode

func (m *TLPageFull) Encode() []byte

func (*TLPageFull) GetBlocks

func (m *TLPageFull) GetBlocks() []*PageBlock

func (*TLPageFull) GetData2

func (m *TLPageFull) GetData2() *Page_Data

func (*TLPageFull) GetDocuments

func (m *TLPageFull) GetDocuments() []*Document

func (*TLPageFull) GetPhotos

func (m *TLPageFull) GetPhotos() []*Photo

func (*TLPageFull) ProtoMessage

func (*TLPageFull) ProtoMessage()

func (*TLPageFull) Reset

func (m *TLPageFull) Reset()

func (*TLPageFull) SetBlocks

func (m *TLPageFull) SetBlocks(v []*PageBlock)

func (*TLPageFull) SetDocuments

func (m *TLPageFull) SetDocuments(v []*Document)

func (*TLPageFull) SetPhotos

func (m *TLPageFull) SetPhotos(v []*Photo)

func (*TLPageFull) String

func (m *TLPageFull) String() string

func (*TLPageFull) To_Page

func (m *TLPageFull) To_Page() *Page

pageFull#556ec7aa blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

type TLPagePart

type TLPagePart struct {
	Data2 *Page_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pagePart#8e3f9ebe blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

func NewTLPagePart

func NewTLPagePart() *TLPagePart

func (*TLPagePart) Decode

func (m *TLPagePart) Decode(dbuf *DecodeBuf) error

func (*TLPagePart) Descriptor

func (*TLPagePart) Descriptor() ([]byte, []int)

func (*TLPagePart) Encode

func (m *TLPagePart) Encode() []byte

func (*TLPagePart) GetBlocks

func (m *TLPagePart) GetBlocks() []*PageBlock

func (*TLPagePart) GetData2

func (m *TLPagePart) GetData2() *Page_Data

func (*TLPagePart) GetDocuments

func (m *TLPagePart) GetDocuments() []*Document

func (*TLPagePart) GetPhotos

func (m *TLPagePart) GetPhotos() []*Photo

func (*TLPagePart) ProtoMessage

func (*TLPagePart) ProtoMessage()

func (*TLPagePart) Reset

func (m *TLPagePart) Reset()

func (*TLPagePart) SetBlocks

func (m *TLPagePart) SetBlocks(v []*PageBlock)

func (*TLPagePart) SetDocuments

func (m *TLPagePart) SetDocuments(v []*Document)

func (*TLPagePart) SetPhotos

func (m *TLPagePart) SetPhotos(v []*Photo)

func (*TLPagePart) String

func (m *TLPagePart) String() string

func (*TLPagePart) To_Page

func (m *TLPagePart) To_Page() *Page

pagePart#8e3f9ebe blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> = Page;

type TLPaymentCharge

type TLPaymentCharge struct {
	Data2 *PaymentCharge_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;

func NewTLPaymentCharge

func NewTLPaymentCharge() *TLPaymentCharge

func (*TLPaymentCharge) Decode

func (m *TLPaymentCharge) Decode(dbuf *DecodeBuf) error

func (*TLPaymentCharge) Descriptor

func (*TLPaymentCharge) Descriptor() ([]byte, []int)

func (*TLPaymentCharge) Encode

func (m *TLPaymentCharge) Encode() []byte

func (*TLPaymentCharge) GetData2

func (m *TLPaymentCharge) GetData2() *PaymentCharge_Data

func (*TLPaymentCharge) GetId

func (m *TLPaymentCharge) GetId() string

func (*TLPaymentCharge) GetProviderChargeId

func (m *TLPaymentCharge) GetProviderChargeId() string

func (*TLPaymentCharge) ProtoMessage

func (*TLPaymentCharge) ProtoMessage()

func (*TLPaymentCharge) Reset

func (m *TLPaymentCharge) Reset()

func (*TLPaymentCharge) SetId

func (m *TLPaymentCharge) SetId(v string)

func (*TLPaymentCharge) SetProviderChargeId

func (m *TLPaymentCharge) SetProviderChargeId(v string)

func (*TLPaymentCharge) String

func (m *TLPaymentCharge) String() string

func (*TLPaymentCharge) To_PaymentCharge

func (m *TLPaymentCharge) To_PaymentCharge() *PaymentCharge

paymentCharge#ea02c27e id:string provider_charge_id:string = PaymentCharge;

type TLPaymentRequestedInfo

type TLPaymentRequestedInfo struct {
	Data2 *PaymentRequestedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;

func NewTLPaymentRequestedInfo

func NewTLPaymentRequestedInfo() *TLPaymentRequestedInfo

func (*TLPaymentRequestedInfo) Decode

func (m *TLPaymentRequestedInfo) Decode(dbuf *DecodeBuf) error

func (*TLPaymentRequestedInfo) Descriptor

func (*TLPaymentRequestedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentRequestedInfo) Encode

func (m *TLPaymentRequestedInfo) Encode() []byte

func (*TLPaymentRequestedInfo) GetData2

func (*TLPaymentRequestedInfo) GetEmail

func (m *TLPaymentRequestedInfo) GetEmail() string

func (*TLPaymentRequestedInfo) GetName

func (m *TLPaymentRequestedInfo) GetName() string

func (*TLPaymentRequestedInfo) GetPhone

func (m *TLPaymentRequestedInfo) GetPhone() string

func (*TLPaymentRequestedInfo) GetShippingAddress

func (m *TLPaymentRequestedInfo) GetShippingAddress() *PostAddress

func (*TLPaymentRequestedInfo) ProtoMessage

func (*TLPaymentRequestedInfo) ProtoMessage()

func (*TLPaymentRequestedInfo) Reset

func (m *TLPaymentRequestedInfo) Reset()

func (*TLPaymentRequestedInfo) SetEmail

func (m *TLPaymentRequestedInfo) SetEmail(v string)

func (*TLPaymentRequestedInfo) SetName

func (m *TLPaymentRequestedInfo) SetName(v string)

func (*TLPaymentRequestedInfo) SetPhone

func (m *TLPaymentRequestedInfo) SetPhone(v string)

func (*TLPaymentRequestedInfo) SetShippingAddress

func (m *TLPaymentRequestedInfo) SetShippingAddress(v *PostAddress)

func (*TLPaymentRequestedInfo) String

func (m *TLPaymentRequestedInfo) String() string

func (*TLPaymentRequestedInfo) To_PaymentRequestedInfo

func (m *TLPaymentRequestedInfo) To_PaymentRequestedInfo() *PaymentRequestedInfo

paymentRequestedInfo#909c3f94 flags:# name:flags.0?string phone:flags.1?string email:flags.2?string shipping_address:flags.3?PostAddress = PaymentRequestedInfo;

type TLPaymentSavedCredentialsCard

type TLPaymentSavedCredentialsCard struct {
	Data2 *PaymentSavedCredentials_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials;

func NewTLPaymentSavedCredentialsCard

func NewTLPaymentSavedCredentialsCard() *TLPaymentSavedCredentialsCard

func (*TLPaymentSavedCredentialsCard) Decode

func (*TLPaymentSavedCredentialsCard) Descriptor

func (*TLPaymentSavedCredentialsCard) Descriptor() ([]byte, []int)

func (*TLPaymentSavedCredentialsCard) Encode

func (m *TLPaymentSavedCredentialsCard) Encode() []byte

func (*TLPaymentSavedCredentialsCard) GetData2

func (*TLPaymentSavedCredentialsCard) GetId

func (*TLPaymentSavedCredentialsCard) GetTitle

func (m *TLPaymentSavedCredentialsCard) GetTitle() string

func (*TLPaymentSavedCredentialsCard) ProtoMessage

func (*TLPaymentSavedCredentialsCard) ProtoMessage()

func (*TLPaymentSavedCredentialsCard) Reset

func (m *TLPaymentSavedCredentialsCard) Reset()

func (*TLPaymentSavedCredentialsCard) SetId

func (*TLPaymentSavedCredentialsCard) SetTitle

func (m *TLPaymentSavedCredentialsCard) SetTitle(v string)

func (*TLPaymentSavedCredentialsCard) String

func (*TLPaymentSavedCredentialsCard) To_PaymentSavedCredentials

func (m *TLPaymentSavedCredentialsCard) To_PaymentSavedCredentials() *PaymentSavedCredentials

paymentSavedCredentialsCard#cdc27a1f id:string title:string = PaymentSavedCredentials;

type TLPaymentsClearSavedInfo

type TLPaymentsClearSavedInfo struct {
	Credentials bool `protobuf:"varint,2,opt,name=credentials" json:"credentials,omitempty"`
	Info        bool `protobuf:"varint,3,opt,name=info" json:"info,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool;

func NewTLPaymentsClearSavedInfo

func NewTLPaymentsClearSavedInfo() *TLPaymentsClearSavedInfo

func (*TLPaymentsClearSavedInfo) Decode

func (m *TLPaymentsClearSavedInfo) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsClearSavedInfo) Descriptor

func (*TLPaymentsClearSavedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentsClearSavedInfo) Encode

func (m *TLPaymentsClearSavedInfo) Encode() []byte

func (*TLPaymentsClearSavedInfo) GetCredentials

func (m *TLPaymentsClearSavedInfo) GetCredentials() bool

func (*TLPaymentsClearSavedInfo) GetInfo

func (m *TLPaymentsClearSavedInfo) GetInfo() bool

func (*TLPaymentsClearSavedInfo) ProtoMessage

func (*TLPaymentsClearSavedInfo) ProtoMessage()

func (*TLPaymentsClearSavedInfo) Reset

func (m *TLPaymentsClearSavedInfo) Reset()

func (*TLPaymentsClearSavedInfo) String

func (m *TLPaymentsClearSavedInfo) String() string

type TLPaymentsGetPaymentForm

type TLPaymentsGetPaymentForm struct {
	MsgId int32 `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm;

func NewTLPaymentsGetPaymentForm

func NewTLPaymentsGetPaymentForm() *TLPaymentsGetPaymentForm

func (*TLPaymentsGetPaymentForm) Decode

func (m *TLPaymentsGetPaymentForm) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsGetPaymentForm) Descriptor

func (*TLPaymentsGetPaymentForm) Descriptor() ([]byte, []int)

func (*TLPaymentsGetPaymentForm) Encode

func (m *TLPaymentsGetPaymentForm) Encode() []byte

func (*TLPaymentsGetPaymentForm) GetMsgId

func (m *TLPaymentsGetPaymentForm) GetMsgId() int32

func (*TLPaymentsGetPaymentForm) ProtoMessage

func (*TLPaymentsGetPaymentForm) ProtoMessage()

func (*TLPaymentsGetPaymentForm) Reset

func (m *TLPaymentsGetPaymentForm) Reset()

func (*TLPaymentsGetPaymentForm) String

func (m *TLPaymentsGetPaymentForm) String() string

type TLPaymentsGetPaymentReceipt

type TLPaymentsGetPaymentReceipt struct {
	MsgId int32 `protobuf:"varint,1,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments.getPaymentReceipt#a092a980 msg_id:int = payments.PaymentReceipt;

func NewTLPaymentsGetPaymentReceipt

func NewTLPaymentsGetPaymentReceipt() *TLPaymentsGetPaymentReceipt

func (*TLPaymentsGetPaymentReceipt) Decode

func (m *TLPaymentsGetPaymentReceipt) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsGetPaymentReceipt) Descriptor

func (*TLPaymentsGetPaymentReceipt) Descriptor() ([]byte, []int)

func (*TLPaymentsGetPaymentReceipt) Encode

func (m *TLPaymentsGetPaymentReceipt) Encode() []byte

func (*TLPaymentsGetPaymentReceipt) GetMsgId

func (m *TLPaymentsGetPaymentReceipt) GetMsgId() int32

func (*TLPaymentsGetPaymentReceipt) ProtoMessage

func (*TLPaymentsGetPaymentReceipt) ProtoMessage()

func (*TLPaymentsGetPaymentReceipt) Reset

func (m *TLPaymentsGetPaymentReceipt) Reset()

func (*TLPaymentsGetPaymentReceipt) String

func (m *TLPaymentsGetPaymentReceipt) String() string

type TLPaymentsGetSavedInfo

type TLPaymentsGetSavedInfo struct {
}

///////////////////////////////////////////////////////////////////////////// payments.getSavedInfo#227d824b = payments.SavedInfo;

func NewTLPaymentsGetSavedInfo

func NewTLPaymentsGetSavedInfo() *TLPaymentsGetSavedInfo

func (*TLPaymentsGetSavedInfo) Decode

func (m *TLPaymentsGetSavedInfo) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsGetSavedInfo) Descriptor

func (*TLPaymentsGetSavedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentsGetSavedInfo) Encode

func (m *TLPaymentsGetSavedInfo) Encode() []byte

func (*TLPaymentsGetSavedInfo) ProtoMessage

func (*TLPaymentsGetSavedInfo) ProtoMessage()

func (*TLPaymentsGetSavedInfo) Reset

func (m *TLPaymentsGetSavedInfo) Reset()

func (*TLPaymentsGetSavedInfo) String

func (m *TLPaymentsGetSavedInfo) String() string

type TLPaymentsPaymentForm

type TLPaymentsPaymentForm struct {
	Data2 *Payments_PaymentForm_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector<User> = payments.PaymentForm;

func NewTLPaymentsPaymentForm

func NewTLPaymentsPaymentForm() *TLPaymentsPaymentForm

func (*TLPaymentsPaymentForm) Decode

func (m *TLPaymentsPaymentForm) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsPaymentForm) Descriptor

func (*TLPaymentsPaymentForm) Descriptor() ([]byte, []int)

func (*TLPaymentsPaymentForm) Encode

func (m *TLPaymentsPaymentForm) Encode() []byte

func (*TLPaymentsPaymentForm) GetBotId

func (m *TLPaymentsPaymentForm) GetBotId() int32

func (*TLPaymentsPaymentForm) GetCanSaveCredentials

func (m *TLPaymentsPaymentForm) GetCanSaveCredentials() bool

func (*TLPaymentsPaymentForm) GetData2

func (*TLPaymentsPaymentForm) GetInvoice

func (m *TLPaymentsPaymentForm) GetInvoice() *Invoice

func (*TLPaymentsPaymentForm) GetNativeParams

func (m *TLPaymentsPaymentForm) GetNativeParams() *DataJSON

func (*TLPaymentsPaymentForm) GetNativeProvider

func (m *TLPaymentsPaymentForm) GetNativeProvider() string

func (*TLPaymentsPaymentForm) GetPasswordMissing

func (m *TLPaymentsPaymentForm) GetPasswordMissing() bool

func (*TLPaymentsPaymentForm) GetProviderId

func (m *TLPaymentsPaymentForm) GetProviderId() int32

func (*TLPaymentsPaymentForm) GetSavedCredentials

func (m *TLPaymentsPaymentForm) GetSavedCredentials() *PaymentSavedCredentials

func (*TLPaymentsPaymentForm) GetSavedInfo

func (m *TLPaymentsPaymentForm) GetSavedInfo() *PaymentRequestedInfo

func (*TLPaymentsPaymentForm) GetUrl

func (m *TLPaymentsPaymentForm) GetUrl() string

func (*TLPaymentsPaymentForm) GetUsers

func (m *TLPaymentsPaymentForm) GetUsers() []*User

func (*TLPaymentsPaymentForm) ProtoMessage

func (*TLPaymentsPaymentForm) ProtoMessage()

func (*TLPaymentsPaymentForm) Reset

func (m *TLPaymentsPaymentForm) Reset()

func (*TLPaymentsPaymentForm) SetBotId

func (m *TLPaymentsPaymentForm) SetBotId(v int32)

func (*TLPaymentsPaymentForm) SetCanSaveCredentials

func (m *TLPaymentsPaymentForm) SetCanSaveCredentials(v bool)

func (*TLPaymentsPaymentForm) SetInvoice

func (m *TLPaymentsPaymentForm) SetInvoice(v *Invoice)

func (*TLPaymentsPaymentForm) SetNativeParams

func (m *TLPaymentsPaymentForm) SetNativeParams(v *DataJSON)

func (*TLPaymentsPaymentForm) SetNativeProvider

func (m *TLPaymentsPaymentForm) SetNativeProvider(v string)

func (*TLPaymentsPaymentForm) SetPasswordMissing

func (m *TLPaymentsPaymentForm) SetPasswordMissing(v bool)

func (*TLPaymentsPaymentForm) SetProviderId

func (m *TLPaymentsPaymentForm) SetProviderId(v int32)

func (*TLPaymentsPaymentForm) SetSavedCredentials

func (m *TLPaymentsPaymentForm) SetSavedCredentials(v *PaymentSavedCredentials)

func (*TLPaymentsPaymentForm) SetSavedInfo

func (m *TLPaymentsPaymentForm) SetSavedInfo(v *PaymentRequestedInfo)

func (*TLPaymentsPaymentForm) SetUrl

func (m *TLPaymentsPaymentForm) SetUrl(v string)

func (*TLPaymentsPaymentForm) SetUsers

func (m *TLPaymentsPaymentForm) SetUsers(v []*User)

func (*TLPaymentsPaymentForm) String

func (m *TLPaymentsPaymentForm) String() string

func (*TLPaymentsPaymentForm) To_Payments_PaymentForm

func (m *TLPaymentsPaymentForm) To_Payments_PaymentForm() *Payments_PaymentForm

payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector<User> = payments.PaymentForm;

type TLPaymentsPaymentReceipt

type TLPaymentsPaymentReceipt struct {
	Data2 *Payments_PaymentReceipt_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;

func NewTLPaymentsPaymentReceipt

func NewTLPaymentsPaymentReceipt() *TLPaymentsPaymentReceipt

func (*TLPaymentsPaymentReceipt) Decode

func (m *TLPaymentsPaymentReceipt) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsPaymentReceipt) Descriptor

func (*TLPaymentsPaymentReceipt) Descriptor() ([]byte, []int)

func (*TLPaymentsPaymentReceipt) Encode

func (m *TLPaymentsPaymentReceipt) Encode() []byte

func (*TLPaymentsPaymentReceipt) GetBotId

func (m *TLPaymentsPaymentReceipt) GetBotId() int32

func (*TLPaymentsPaymentReceipt) GetCredentialsTitle

func (m *TLPaymentsPaymentReceipt) GetCredentialsTitle() string

func (*TLPaymentsPaymentReceipt) GetCurrency

func (m *TLPaymentsPaymentReceipt) GetCurrency() string

func (*TLPaymentsPaymentReceipt) GetData2

func (*TLPaymentsPaymentReceipt) GetDate

func (m *TLPaymentsPaymentReceipt) GetDate() int32

func (*TLPaymentsPaymentReceipt) GetInfo

func (*TLPaymentsPaymentReceipt) GetInvoice

func (m *TLPaymentsPaymentReceipt) GetInvoice() *Invoice

func (*TLPaymentsPaymentReceipt) GetProviderId

func (m *TLPaymentsPaymentReceipt) GetProviderId() int32

func (*TLPaymentsPaymentReceipt) GetShipping

func (m *TLPaymentsPaymentReceipt) GetShipping() *ShippingOption

func (*TLPaymentsPaymentReceipt) GetTotalAmount

func (m *TLPaymentsPaymentReceipt) GetTotalAmount() int64

func (*TLPaymentsPaymentReceipt) GetUsers

func (m *TLPaymentsPaymentReceipt) GetUsers() []*User

func (*TLPaymentsPaymentReceipt) ProtoMessage

func (*TLPaymentsPaymentReceipt) ProtoMessage()

func (*TLPaymentsPaymentReceipt) Reset

func (m *TLPaymentsPaymentReceipt) Reset()

func (*TLPaymentsPaymentReceipt) SetBotId

func (m *TLPaymentsPaymentReceipt) SetBotId(v int32)

func (*TLPaymentsPaymentReceipt) SetCredentialsTitle

func (m *TLPaymentsPaymentReceipt) SetCredentialsTitle(v string)

func (*TLPaymentsPaymentReceipt) SetCurrency

func (m *TLPaymentsPaymentReceipt) SetCurrency(v string)

func (*TLPaymentsPaymentReceipt) SetDate

func (m *TLPaymentsPaymentReceipt) SetDate(v int32)

func (*TLPaymentsPaymentReceipt) SetInfo

func (*TLPaymentsPaymentReceipt) SetInvoice

func (m *TLPaymentsPaymentReceipt) SetInvoice(v *Invoice)

func (*TLPaymentsPaymentReceipt) SetProviderId

func (m *TLPaymentsPaymentReceipt) SetProviderId(v int32)

func (*TLPaymentsPaymentReceipt) SetShipping

func (m *TLPaymentsPaymentReceipt) SetShipping(v *ShippingOption)

func (*TLPaymentsPaymentReceipt) SetTotalAmount

func (m *TLPaymentsPaymentReceipt) SetTotalAmount(v int64)

func (*TLPaymentsPaymentReceipt) SetUsers

func (m *TLPaymentsPaymentReceipt) SetUsers(v []*User)

func (*TLPaymentsPaymentReceipt) String

func (m *TLPaymentsPaymentReceipt) String() string

func (*TLPaymentsPaymentReceipt) To_Payments_PaymentReceipt

func (m *TLPaymentsPaymentReceipt) To_Payments_PaymentReceipt() *Payments_PaymentReceipt

payments.paymentReceipt#500911e1 flags:# date:int bot_id:int invoice:Invoice provider_id:int info:flags.0?PaymentRequestedInfo shipping:flags.1?ShippingOption currency:string total_amount:long credentials_title:string users:Vector<User> = payments.PaymentReceipt;

type TLPaymentsPaymentResult

type TLPaymentsPaymentResult struct {
	Data2 *Payments_PaymentResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult;

func NewTLPaymentsPaymentResult

func NewTLPaymentsPaymentResult() *TLPaymentsPaymentResult

func (*TLPaymentsPaymentResult) Decode

func (m *TLPaymentsPaymentResult) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsPaymentResult) Descriptor

func (*TLPaymentsPaymentResult) Descriptor() ([]byte, []int)

func (*TLPaymentsPaymentResult) Encode

func (m *TLPaymentsPaymentResult) Encode() []byte

func (*TLPaymentsPaymentResult) GetData2

func (*TLPaymentsPaymentResult) GetUpdates

func (m *TLPaymentsPaymentResult) GetUpdates() *Updates

func (*TLPaymentsPaymentResult) ProtoMessage

func (*TLPaymentsPaymentResult) ProtoMessage()

func (*TLPaymentsPaymentResult) Reset

func (m *TLPaymentsPaymentResult) Reset()

func (*TLPaymentsPaymentResult) SetUpdates

func (m *TLPaymentsPaymentResult) SetUpdates(v *Updates)

func (*TLPaymentsPaymentResult) String

func (m *TLPaymentsPaymentResult) String() string

func (*TLPaymentsPaymentResult) To_Payments_PaymentResult

func (m *TLPaymentsPaymentResult) To_Payments_PaymentResult() *Payments_PaymentResult

payments.paymentResult#4e5f810d updates:Updates = payments.PaymentResult;

type TLPaymentsPaymentVerficationNeeded

type TLPaymentsPaymentVerficationNeeded struct {
	Data2 *Payments_PaymentResult_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult;

func NewTLPaymentsPaymentVerficationNeeded

func NewTLPaymentsPaymentVerficationNeeded() *TLPaymentsPaymentVerficationNeeded

func (*TLPaymentsPaymentVerficationNeeded) Decode

func (*TLPaymentsPaymentVerficationNeeded) Descriptor

func (*TLPaymentsPaymentVerficationNeeded) Descriptor() ([]byte, []int)

func (*TLPaymentsPaymentVerficationNeeded) Encode

func (*TLPaymentsPaymentVerficationNeeded) GetData2

func (*TLPaymentsPaymentVerficationNeeded) GetUrl

func (*TLPaymentsPaymentVerficationNeeded) ProtoMessage

func (*TLPaymentsPaymentVerficationNeeded) ProtoMessage()

func (*TLPaymentsPaymentVerficationNeeded) Reset

func (*TLPaymentsPaymentVerficationNeeded) SetUrl

func (*TLPaymentsPaymentVerficationNeeded) String

func (*TLPaymentsPaymentVerficationNeeded) To_Payments_PaymentResult

func (m *TLPaymentsPaymentVerficationNeeded) To_Payments_PaymentResult() *Payments_PaymentResult

payments.paymentVerficationNeeded#6b56b921 url:string = payments.PaymentResult;

type TLPaymentsSavedInfo

type TLPaymentsSavedInfo struct {
	Data2 *Payments_SavedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo;

func NewTLPaymentsSavedInfo

func NewTLPaymentsSavedInfo() *TLPaymentsSavedInfo

func (*TLPaymentsSavedInfo) Decode

func (m *TLPaymentsSavedInfo) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsSavedInfo) Descriptor

func (*TLPaymentsSavedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentsSavedInfo) Encode

func (m *TLPaymentsSavedInfo) Encode() []byte

func (*TLPaymentsSavedInfo) GetData2

func (*TLPaymentsSavedInfo) GetHasSavedCredentials

func (m *TLPaymentsSavedInfo) GetHasSavedCredentials() bool

func (*TLPaymentsSavedInfo) GetSavedInfo

func (m *TLPaymentsSavedInfo) GetSavedInfo() *PaymentRequestedInfo

func (*TLPaymentsSavedInfo) ProtoMessage

func (*TLPaymentsSavedInfo) ProtoMessage()

func (*TLPaymentsSavedInfo) Reset

func (m *TLPaymentsSavedInfo) Reset()

func (*TLPaymentsSavedInfo) SetHasSavedCredentials

func (m *TLPaymentsSavedInfo) SetHasSavedCredentials(v bool)

func (*TLPaymentsSavedInfo) SetSavedInfo

func (m *TLPaymentsSavedInfo) SetSavedInfo(v *PaymentRequestedInfo)

func (*TLPaymentsSavedInfo) String

func (m *TLPaymentsSavedInfo) String() string

func (*TLPaymentsSavedInfo) To_Payments_SavedInfo

func (m *TLPaymentsSavedInfo) To_Payments_SavedInfo() *Payments_SavedInfo

payments.savedInfo#fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?PaymentRequestedInfo = payments.SavedInfo;

type TLPaymentsSendPaymentForm

type TLPaymentsSendPaymentForm struct {
	MsgId            int32                    `protobuf:"varint,2,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	RequestedInfoId  string                   `protobuf:"bytes,3,opt,name=requested_info_id,json=requestedInfoId" json:"requested_info_id,omitempty"`
	ShippingOptionId string                   `protobuf:"bytes,4,opt,name=shipping_option_id,json=shippingOptionId" json:"shipping_option_id,omitempty"`
	Credentials      *InputPaymentCredentials `protobuf:"bytes,5,opt,name=credentials" json:"credentials,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments.sendPaymentForm#2b8879b3 flags:# msg_id:int requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials = payments.PaymentResult;

func NewTLPaymentsSendPaymentForm

func NewTLPaymentsSendPaymentForm() *TLPaymentsSendPaymentForm

func (*TLPaymentsSendPaymentForm) Decode

func (m *TLPaymentsSendPaymentForm) Decode(dbuf *DecodeBuf) error

func (*TLPaymentsSendPaymentForm) Descriptor

func (*TLPaymentsSendPaymentForm) Descriptor() ([]byte, []int)

func (*TLPaymentsSendPaymentForm) Encode

func (m *TLPaymentsSendPaymentForm) Encode() []byte

func (*TLPaymentsSendPaymentForm) GetCredentials

func (*TLPaymentsSendPaymentForm) GetMsgId

func (m *TLPaymentsSendPaymentForm) GetMsgId() int32

func (*TLPaymentsSendPaymentForm) GetRequestedInfoId

func (m *TLPaymentsSendPaymentForm) GetRequestedInfoId() string

func (*TLPaymentsSendPaymentForm) GetShippingOptionId

func (m *TLPaymentsSendPaymentForm) GetShippingOptionId() string

func (*TLPaymentsSendPaymentForm) ProtoMessage

func (*TLPaymentsSendPaymentForm) ProtoMessage()

func (*TLPaymentsSendPaymentForm) Reset

func (m *TLPaymentsSendPaymentForm) Reset()

func (*TLPaymentsSendPaymentForm) String

func (m *TLPaymentsSendPaymentForm) String() string

type TLPaymentsValidateRequestedInfo

type TLPaymentsValidateRequestedInfo struct {
	Save  bool                  `protobuf:"varint,2,opt,name=save" json:"save,omitempty"`
	MsgId int32                 `protobuf:"varint,3,opt,name=msg_id,json=msgId" json:"msg_id,omitempty"`
	Info  *PaymentRequestedInfo `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// payments.validateRequestedInfo#770a8e74 flags:# save:flags.0?true msg_id:int info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;

func NewTLPaymentsValidateRequestedInfo

func NewTLPaymentsValidateRequestedInfo() *TLPaymentsValidateRequestedInfo

func (*TLPaymentsValidateRequestedInfo) Decode

func (*TLPaymentsValidateRequestedInfo) Descriptor

func (*TLPaymentsValidateRequestedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentsValidateRequestedInfo) Encode

func (m *TLPaymentsValidateRequestedInfo) Encode() []byte

func (*TLPaymentsValidateRequestedInfo) GetInfo

func (*TLPaymentsValidateRequestedInfo) GetMsgId

func (m *TLPaymentsValidateRequestedInfo) GetMsgId() int32

func (*TLPaymentsValidateRequestedInfo) GetSave

func (*TLPaymentsValidateRequestedInfo) ProtoMessage

func (*TLPaymentsValidateRequestedInfo) ProtoMessage()

func (*TLPaymentsValidateRequestedInfo) Reset

func (*TLPaymentsValidateRequestedInfo) String

type TLPaymentsValidatedRequestedInfo

type TLPaymentsValidatedRequestedInfo struct {
	Data2 *Payments_ValidatedRequestedInfo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = payments.ValidatedRequestedInfo;

func NewTLPaymentsValidatedRequestedInfo

func NewTLPaymentsValidatedRequestedInfo() *TLPaymentsValidatedRequestedInfo

func (*TLPaymentsValidatedRequestedInfo) Decode

func (*TLPaymentsValidatedRequestedInfo) Descriptor

func (*TLPaymentsValidatedRequestedInfo) Descriptor() ([]byte, []int)

func (*TLPaymentsValidatedRequestedInfo) Encode

func (m *TLPaymentsValidatedRequestedInfo) Encode() []byte

func (*TLPaymentsValidatedRequestedInfo) GetData2

func (*TLPaymentsValidatedRequestedInfo) GetId

func (*TLPaymentsValidatedRequestedInfo) GetShippingOptions

func (m *TLPaymentsValidatedRequestedInfo) GetShippingOptions() []*ShippingOption

func (*TLPaymentsValidatedRequestedInfo) ProtoMessage

func (*TLPaymentsValidatedRequestedInfo) ProtoMessage()

func (*TLPaymentsValidatedRequestedInfo) Reset

func (*TLPaymentsValidatedRequestedInfo) SetId

func (*TLPaymentsValidatedRequestedInfo) SetShippingOptions

func (m *TLPaymentsValidatedRequestedInfo) SetShippingOptions(v []*ShippingOption)

func (*TLPaymentsValidatedRequestedInfo) String

func (*TLPaymentsValidatedRequestedInfo) To_Payments_ValidatedRequestedInfo

func (m *TLPaymentsValidatedRequestedInfo) To_Payments_ValidatedRequestedInfo() *Payments_ValidatedRequestedInfo

payments.validatedRequestedInfo#d1451883 flags:# id:flags.0?string shipping_options:flags.1?Vector<ShippingOption> = payments.ValidatedRequestedInfo;

type TLPeerChannel

type TLPeerChannel struct {
	Data2 *Peer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerChannel#bddde532 channel_id:int = Peer;

func NewTLPeerChannel

func NewTLPeerChannel() *TLPeerChannel

func (*TLPeerChannel) Decode

func (m *TLPeerChannel) Decode(dbuf *DecodeBuf) error

func (*TLPeerChannel) Descriptor

func (*TLPeerChannel) Descriptor() ([]byte, []int)

func (*TLPeerChannel) Encode

func (m *TLPeerChannel) Encode() []byte

func (*TLPeerChannel) GetChannelId

func (m *TLPeerChannel) GetChannelId() int32

func (*TLPeerChannel) GetData2

func (m *TLPeerChannel) GetData2() *Peer_Data

func (*TLPeerChannel) ProtoMessage

func (*TLPeerChannel) ProtoMessage()

func (*TLPeerChannel) Reset

func (m *TLPeerChannel) Reset()

func (*TLPeerChannel) SetChannelId

func (m *TLPeerChannel) SetChannelId(v int32)

func (*TLPeerChannel) String

func (m *TLPeerChannel) String() string

func (*TLPeerChannel) To_Peer

func (m *TLPeerChannel) To_Peer() *Peer

peerChannel#bddde532 channel_id:int = Peer;

type TLPeerChat

type TLPeerChat struct {
	Data2 *Peer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerChat#bad0e5bb chat_id:int = Peer;

func NewTLPeerChat

func NewTLPeerChat() *TLPeerChat

func (*TLPeerChat) Decode

func (m *TLPeerChat) Decode(dbuf *DecodeBuf) error

func (*TLPeerChat) Descriptor

func (*TLPeerChat) Descriptor() ([]byte, []int)

func (*TLPeerChat) Encode

func (m *TLPeerChat) Encode() []byte

func (*TLPeerChat) GetChatId

func (m *TLPeerChat) GetChatId() int32

func (*TLPeerChat) GetData2

func (m *TLPeerChat) GetData2() *Peer_Data

func (*TLPeerChat) ProtoMessage

func (*TLPeerChat) ProtoMessage()

func (*TLPeerChat) Reset

func (m *TLPeerChat) Reset()

func (*TLPeerChat) SetChatId

func (m *TLPeerChat) SetChatId(v int32)

func (*TLPeerChat) String

func (m *TLPeerChat) String() string

func (*TLPeerChat) To_Peer

func (m *TLPeerChat) To_Peer() *Peer

peerChat#bad0e5bb chat_id:int = Peer;

type TLPeerNotifyEventsAll

type TLPeerNotifyEventsAll struct {
	Data2 *PeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents;

func NewTLPeerNotifyEventsAll

func NewTLPeerNotifyEventsAll() *TLPeerNotifyEventsAll

func (*TLPeerNotifyEventsAll) Decode

func (m *TLPeerNotifyEventsAll) Decode(dbuf *DecodeBuf) error

func (*TLPeerNotifyEventsAll) Descriptor

func (*TLPeerNotifyEventsAll) Descriptor() ([]byte, []int)

func (*TLPeerNotifyEventsAll) Encode

func (m *TLPeerNotifyEventsAll) Encode() []byte

func (*TLPeerNotifyEventsAll) GetData2

func (*TLPeerNotifyEventsAll) ProtoMessage

func (*TLPeerNotifyEventsAll) ProtoMessage()

func (*TLPeerNotifyEventsAll) Reset

func (m *TLPeerNotifyEventsAll) Reset()

func (*TLPeerNotifyEventsAll) String

func (m *TLPeerNotifyEventsAll) String() string

func (*TLPeerNotifyEventsAll) To_PeerNotifyEvents

func (m *TLPeerNotifyEventsAll) To_PeerNotifyEvents() *PeerNotifyEvents

peerNotifyEventsAll#6d1ded88 = PeerNotifyEvents;

type TLPeerNotifyEventsEmpty

type TLPeerNotifyEventsEmpty struct {
	Data2 *PeerNotifyEvents_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents;

func NewTLPeerNotifyEventsEmpty

func NewTLPeerNotifyEventsEmpty() *TLPeerNotifyEventsEmpty

func (*TLPeerNotifyEventsEmpty) Decode

func (m *TLPeerNotifyEventsEmpty) Decode(dbuf *DecodeBuf) error

func (*TLPeerNotifyEventsEmpty) Descriptor

func (*TLPeerNotifyEventsEmpty) Descriptor() ([]byte, []int)

func (*TLPeerNotifyEventsEmpty) Encode

func (m *TLPeerNotifyEventsEmpty) Encode() []byte

func (*TLPeerNotifyEventsEmpty) GetData2

func (*TLPeerNotifyEventsEmpty) ProtoMessage

func (*TLPeerNotifyEventsEmpty) ProtoMessage()

func (*TLPeerNotifyEventsEmpty) Reset

func (m *TLPeerNotifyEventsEmpty) Reset()

func (*TLPeerNotifyEventsEmpty) String

func (m *TLPeerNotifyEventsEmpty) String() string

func (*TLPeerNotifyEventsEmpty) To_PeerNotifyEvents

func (m *TLPeerNotifyEventsEmpty) To_PeerNotifyEvents() *PeerNotifyEvents

peerNotifyEventsEmpty#add53cb3 = PeerNotifyEvents;

type TLPeerNotifySettings

type TLPeerNotifySettings struct {
	Data2 *PeerNotifySettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings;

func NewTLPeerNotifySettings

func NewTLPeerNotifySettings() *TLPeerNotifySettings

func (*TLPeerNotifySettings) Decode

func (m *TLPeerNotifySettings) Decode(dbuf *DecodeBuf) error

func (*TLPeerNotifySettings) Descriptor

func (*TLPeerNotifySettings) Descriptor() ([]byte, []int)

func (*TLPeerNotifySettings) Encode

func (m *TLPeerNotifySettings) Encode() []byte

func (*TLPeerNotifySettings) GetData2

func (*TLPeerNotifySettings) GetMuteUntil

func (m *TLPeerNotifySettings) GetMuteUntil() int32

func (*TLPeerNotifySettings) GetShowPreviews

func (m *TLPeerNotifySettings) GetShowPreviews() bool

func (*TLPeerNotifySettings) GetSilent

func (m *TLPeerNotifySettings) GetSilent() bool

func (*TLPeerNotifySettings) GetSound

func (m *TLPeerNotifySettings) GetSound() string

func (*TLPeerNotifySettings) ProtoMessage

func (*TLPeerNotifySettings) ProtoMessage()

func (*TLPeerNotifySettings) Reset

func (m *TLPeerNotifySettings) Reset()

func (*TLPeerNotifySettings) SetMuteUntil

func (m *TLPeerNotifySettings) SetMuteUntil(v int32)

func (*TLPeerNotifySettings) SetShowPreviews

func (m *TLPeerNotifySettings) SetShowPreviews(v bool)

func (*TLPeerNotifySettings) SetSilent

func (m *TLPeerNotifySettings) SetSilent(v bool)

func (*TLPeerNotifySettings) SetSound

func (m *TLPeerNotifySettings) SetSound(v string)

func (*TLPeerNotifySettings) String

func (m *TLPeerNotifySettings) String() string

func (*TLPeerNotifySettings) To_PeerNotifySettings

func (m *TLPeerNotifySettings) To_PeerNotifySettings() *PeerNotifySettings

peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings;

type TLPeerNotifySettingsEmpty

type TLPeerNotifySettingsEmpty struct {
	Data2 *PeerNotifySettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;

func NewTLPeerNotifySettingsEmpty

func NewTLPeerNotifySettingsEmpty() *TLPeerNotifySettingsEmpty

func (*TLPeerNotifySettingsEmpty) Decode

func (m *TLPeerNotifySettingsEmpty) Decode(dbuf *DecodeBuf) error

func (*TLPeerNotifySettingsEmpty) Descriptor

func (*TLPeerNotifySettingsEmpty) Descriptor() ([]byte, []int)

func (*TLPeerNotifySettingsEmpty) Encode

func (m *TLPeerNotifySettingsEmpty) Encode() []byte

func (*TLPeerNotifySettingsEmpty) GetData2

func (*TLPeerNotifySettingsEmpty) ProtoMessage

func (*TLPeerNotifySettingsEmpty) ProtoMessage()

func (*TLPeerNotifySettingsEmpty) Reset

func (m *TLPeerNotifySettingsEmpty) Reset()

func (*TLPeerNotifySettingsEmpty) String

func (m *TLPeerNotifySettingsEmpty) String() string

func (*TLPeerNotifySettingsEmpty) To_PeerNotifySettings

func (m *TLPeerNotifySettingsEmpty) To_PeerNotifySettings() *PeerNotifySettings

peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;

type TLPeerSettings

type TLPeerSettings struct {
	Data2 *PeerSettings_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings;

func NewTLPeerSettings

func NewTLPeerSettings() *TLPeerSettings

func (*TLPeerSettings) Decode

func (m *TLPeerSettings) Decode(dbuf *DecodeBuf) error

func (*TLPeerSettings) Descriptor

func (*TLPeerSettings) Descriptor() ([]byte, []int)

func (*TLPeerSettings) Encode

func (m *TLPeerSettings) Encode() []byte

func (*TLPeerSettings) GetData2

func (m *TLPeerSettings) GetData2() *PeerSettings_Data

func (*TLPeerSettings) GetReportSpam

func (m *TLPeerSettings) GetReportSpam() bool

func (*TLPeerSettings) ProtoMessage

func (*TLPeerSettings) ProtoMessage()

func (*TLPeerSettings) Reset

func (m *TLPeerSettings) Reset()

func (*TLPeerSettings) SetReportSpam

func (m *TLPeerSettings) SetReportSpam(v bool)

func (*TLPeerSettings) String

func (m *TLPeerSettings) String() string

func (*TLPeerSettings) To_PeerSettings

func (m *TLPeerSettings) To_PeerSettings() *PeerSettings

peerSettings#818426cd flags:# report_spam:flags.0?true = PeerSettings;

type TLPeerUser

type TLPeerUser struct {
	Data2 *Peer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

peerUser#9db1bc6d user_id:int = Peer;

func NewTLPeerUser

func NewTLPeerUser() *TLPeerUser

func (*TLPeerUser) Decode

func (m *TLPeerUser) Decode(dbuf *DecodeBuf) error

func (*TLPeerUser) Descriptor

func (*TLPeerUser) Descriptor() ([]byte, []int)

func (*TLPeerUser) Encode

func (m *TLPeerUser) Encode() []byte

func (*TLPeerUser) GetData2

func (m *TLPeerUser) GetData2() *Peer_Data

func (*TLPeerUser) GetUserId

func (m *TLPeerUser) GetUserId() int32

func (*TLPeerUser) ProtoMessage

func (*TLPeerUser) ProtoMessage()

func (*TLPeerUser) Reset

func (m *TLPeerUser) Reset()

func (*TLPeerUser) SetUserId

func (m *TLPeerUser) SetUserId(v int32)

func (*TLPeerUser) String

func (m *TLPeerUser) String() string

func (*TLPeerUser) To_Peer

func (m *TLPeerUser) To_Peer() *Peer

peerUser#9db1bc6d user_id:int = Peer;

type TLPhoneAcceptCall

type TLPhoneAcceptCall struct {
	Peer     *InputPhoneCall    `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	GB       []byte             `protobuf:"bytes,2,opt,name=g_b,json=gB,proto3" json:"g_b,omitempty"`
	Protocol *PhoneCallProtocol `protobuf:"bytes,3,opt,name=protocol" json:"protocol,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.acceptCall#3bd2b4a0 peer:InputPhoneCall g_b:bytes protocol:PhoneCallProtocol = phone.PhoneCall;

func NewTLPhoneAcceptCall

func NewTLPhoneAcceptCall() *TLPhoneAcceptCall

func (*TLPhoneAcceptCall) Decode

func (m *TLPhoneAcceptCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneAcceptCall) Descriptor

func (*TLPhoneAcceptCall) Descriptor() ([]byte, []int)

func (*TLPhoneAcceptCall) Encode

func (m *TLPhoneAcceptCall) Encode() []byte

func (*TLPhoneAcceptCall) GetGB

func (m *TLPhoneAcceptCall) GetGB() []byte

func (*TLPhoneAcceptCall) GetPeer

func (m *TLPhoneAcceptCall) GetPeer() *InputPhoneCall

func (*TLPhoneAcceptCall) GetProtocol

func (m *TLPhoneAcceptCall) GetProtocol() *PhoneCallProtocol

func (*TLPhoneAcceptCall) ProtoMessage

func (*TLPhoneAcceptCall) ProtoMessage()

func (*TLPhoneAcceptCall) Reset

func (m *TLPhoneAcceptCall) Reset()

func (*TLPhoneAcceptCall) String

func (m *TLPhoneAcceptCall) String() string

type TLPhoneCall

type TLPhoneCall struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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;

func NewTLPhoneCall

func NewTLPhoneCall() *TLPhoneCall

func (*TLPhoneCall) Decode

func (m *TLPhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCall) Descriptor

func (*TLPhoneCall) Descriptor() ([]byte, []int)

func (*TLPhoneCall) Encode

func (m *TLPhoneCall) Encode() []byte

func (*TLPhoneCall) GetAccessHash

func (m *TLPhoneCall) GetAccessHash() int64

func (*TLPhoneCall) GetAdminId

func (m *TLPhoneCall) GetAdminId() int32

func (*TLPhoneCall) GetAlternativeConnections

func (m *TLPhoneCall) GetAlternativeConnections() []*PhoneConnection

func (*TLPhoneCall) GetConnection

func (m *TLPhoneCall) GetConnection() *PhoneConnection

func (*TLPhoneCall) GetData2

func (m *TLPhoneCall) GetData2() *PhoneCall_Data

func (*TLPhoneCall) GetDate

func (m *TLPhoneCall) GetDate() int32

func (*TLPhoneCall) GetGAOrB

func (m *TLPhoneCall) GetGAOrB() []byte

func (*TLPhoneCall) GetId

func (m *TLPhoneCall) GetId() int64

func (*TLPhoneCall) GetKeyFingerprint

func (m *TLPhoneCall) GetKeyFingerprint() int64

func (*TLPhoneCall) GetParticipantId

func (m *TLPhoneCall) GetParticipantId() int32

func (*TLPhoneCall) GetProtocol

func (m *TLPhoneCall) GetProtocol() *PhoneCallProtocol

func (*TLPhoneCall) GetStartDate

func (m *TLPhoneCall) GetStartDate() int32

func (*TLPhoneCall) ProtoMessage

func (*TLPhoneCall) ProtoMessage()

func (*TLPhoneCall) Reset

func (m *TLPhoneCall) Reset()

func (*TLPhoneCall) SetAccessHash

func (m *TLPhoneCall) SetAccessHash(v int64)

func (*TLPhoneCall) SetAdminId

func (m *TLPhoneCall) SetAdminId(v int32)

func (*TLPhoneCall) SetAlternativeConnections

func (m *TLPhoneCall) SetAlternativeConnections(v []*PhoneConnection)

func (*TLPhoneCall) SetConnection

func (m *TLPhoneCall) SetConnection(v *PhoneConnection)

func (*TLPhoneCall) SetDate

func (m *TLPhoneCall) SetDate(v int32)

func (*TLPhoneCall) SetGAOrB

func (m *TLPhoneCall) SetGAOrB(v []byte)

func (*TLPhoneCall) SetId

func (m *TLPhoneCall) SetId(v int64)

func (*TLPhoneCall) SetKeyFingerprint

func (m *TLPhoneCall) SetKeyFingerprint(v int64)

func (*TLPhoneCall) SetParticipantId

func (m *TLPhoneCall) SetParticipantId(v int32)

func (*TLPhoneCall) SetProtocol

func (m *TLPhoneCall) SetProtocol(v *PhoneCallProtocol)

func (*TLPhoneCall) SetStartDate

func (m *TLPhoneCall) SetStartDate(v int32)

func (*TLPhoneCall) String

func (m *TLPhoneCall) String() string

func (*TLPhoneCall) To_PhoneCall

func (m *TLPhoneCall) To_PhoneCall() *PhoneCall

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;

type TLPhoneCallAccepted

type TLPhoneCallAccepted struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall;

func NewTLPhoneCallAccepted

func NewTLPhoneCallAccepted() *TLPhoneCallAccepted

func (*TLPhoneCallAccepted) Decode

func (m *TLPhoneCallAccepted) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallAccepted) Descriptor

func (*TLPhoneCallAccepted) Descriptor() ([]byte, []int)

func (*TLPhoneCallAccepted) Encode

func (m *TLPhoneCallAccepted) Encode() []byte

func (*TLPhoneCallAccepted) GetAccessHash

func (m *TLPhoneCallAccepted) GetAccessHash() int64

func (*TLPhoneCallAccepted) GetAdminId

func (m *TLPhoneCallAccepted) GetAdminId() int32

func (*TLPhoneCallAccepted) GetData2

func (m *TLPhoneCallAccepted) GetData2() *PhoneCall_Data

func (*TLPhoneCallAccepted) GetDate

func (m *TLPhoneCallAccepted) GetDate() int32

func (*TLPhoneCallAccepted) GetGB

func (m *TLPhoneCallAccepted) GetGB() []byte

func (*TLPhoneCallAccepted) GetId

func (m *TLPhoneCallAccepted) GetId() int64

func (*TLPhoneCallAccepted) GetParticipantId

func (m *TLPhoneCallAccepted) GetParticipantId() int32

func (*TLPhoneCallAccepted) GetProtocol

func (m *TLPhoneCallAccepted) GetProtocol() *PhoneCallProtocol

func (*TLPhoneCallAccepted) ProtoMessage

func (*TLPhoneCallAccepted) ProtoMessage()

func (*TLPhoneCallAccepted) Reset

func (m *TLPhoneCallAccepted) Reset()

func (*TLPhoneCallAccepted) SetAccessHash

func (m *TLPhoneCallAccepted) SetAccessHash(v int64)

func (*TLPhoneCallAccepted) SetAdminId

func (m *TLPhoneCallAccepted) SetAdminId(v int32)

func (*TLPhoneCallAccepted) SetDate

func (m *TLPhoneCallAccepted) SetDate(v int32)

func (*TLPhoneCallAccepted) SetGB

func (m *TLPhoneCallAccepted) SetGB(v []byte)

func (*TLPhoneCallAccepted) SetId

func (m *TLPhoneCallAccepted) SetId(v int64)

func (*TLPhoneCallAccepted) SetParticipantId

func (m *TLPhoneCallAccepted) SetParticipantId(v int32)

func (*TLPhoneCallAccepted) SetProtocol

func (m *TLPhoneCallAccepted) SetProtocol(v *PhoneCallProtocol)

func (*TLPhoneCallAccepted) String

func (m *TLPhoneCallAccepted) String() string

func (*TLPhoneCallAccepted) To_PhoneCall

func (m *TLPhoneCallAccepted) To_PhoneCall() *PhoneCall

phoneCallAccepted#6d003d3f id:long access_hash:long date:int admin_id:int participant_id:int g_b:bytes protocol:PhoneCallProtocol = PhoneCall;

type TLPhoneCallDiscardReasonBusy

type TLPhoneCallDiscardReasonBusy struct {
	Data2 *PhoneCallDiscardReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;

func NewTLPhoneCallDiscardReasonBusy

func NewTLPhoneCallDiscardReasonBusy() *TLPhoneCallDiscardReasonBusy

func (*TLPhoneCallDiscardReasonBusy) Decode

func (m *TLPhoneCallDiscardReasonBusy) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallDiscardReasonBusy) Descriptor

func (*TLPhoneCallDiscardReasonBusy) Descriptor() ([]byte, []int)

func (*TLPhoneCallDiscardReasonBusy) Encode

func (m *TLPhoneCallDiscardReasonBusy) Encode() []byte

func (*TLPhoneCallDiscardReasonBusy) GetData2

func (*TLPhoneCallDiscardReasonBusy) ProtoMessage

func (*TLPhoneCallDiscardReasonBusy) ProtoMessage()

func (*TLPhoneCallDiscardReasonBusy) Reset

func (m *TLPhoneCallDiscardReasonBusy) Reset()

func (*TLPhoneCallDiscardReasonBusy) String

func (*TLPhoneCallDiscardReasonBusy) To_PhoneCallDiscardReason

func (m *TLPhoneCallDiscardReasonBusy) To_PhoneCallDiscardReason() *PhoneCallDiscardReason

phoneCallDiscardReasonBusy#faf7e8c9 = PhoneCallDiscardReason;

type TLPhoneCallDiscardReasonDisconnect

type TLPhoneCallDiscardReasonDisconnect struct {
	Data2 *PhoneCallDiscardReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;

func NewTLPhoneCallDiscardReasonDisconnect

func NewTLPhoneCallDiscardReasonDisconnect() *TLPhoneCallDiscardReasonDisconnect

func (*TLPhoneCallDiscardReasonDisconnect) Decode

func (*TLPhoneCallDiscardReasonDisconnect) Descriptor

func (*TLPhoneCallDiscardReasonDisconnect) Descriptor() ([]byte, []int)

func (*TLPhoneCallDiscardReasonDisconnect) Encode

func (*TLPhoneCallDiscardReasonDisconnect) GetData2

func (*TLPhoneCallDiscardReasonDisconnect) ProtoMessage

func (*TLPhoneCallDiscardReasonDisconnect) ProtoMessage()

func (*TLPhoneCallDiscardReasonDisconnect) Reset

func (*TLPhoneCallDiscardReasonDisconnect) String

func (*TLPhoneCallDiscardReasonDisconnect) To_PhoneCallDiscardReason

func (m *TLPhoneCallDiscardReasonDisconnect) To_PhoneCallDiscardReason() *PhoneCallDiscardReason

phoneCallDiscardReasonDisconnect#e095c1a0 = PhoneCallDiscardReason;

type TLPhoneCallDiscardReasonHangup

type TLPhoneCallDiscardReasonHangup struct {
	Data2 *PhoneCallDiscardReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;

func NewTLPhoneCallDiscardReasonHangup

func NewTLPhoneCallDiscardReasonHangup() *TLPhoneCallDiscardReasonHangup

func (*TLPhoneCallDiscardReasonHangup) Decode

func (*TLPhoneCallDiscardReasonHangup) Descriptor

func (*TLPhoneCallDiscardReasonHangup) Descriptor() ([]byte, []int)

func (*TLPhoneCallDiscardReasonHangup) Encode

func (m *TLPhoneCallDiscardReasonHangup) Encode() []byte

func (*TLPhoneCallDiscardReasonHangup) GetData2

func (*TLPhoneCallDiscardReasonHangup) ProtoMessage

func (*TLPhoneCallDiscardReasonHangup) ProtoMessage()

func (*TLPhoneCallDiscardReasonHangup) Reset

func (m *TLPhoneCallDiscardReasonHangup) Reset()

func (*TLPhoneCallDiscardReasonHangup) String

func (*TLPhoneCallDiscardReasonHangup) To_PhoneCallDiscardReason

func (m *TLPhoneCallDiscardReasonHangup) To_PhoneCallDiscardReason() *PhoneCallDiscardReason

phoneCallDiscardReasonHangup#57adc690 = PhoneCallDiscardReason;

type TLPhoneCallDiscardReasonMissed

type TLPhoneCallDiscardReasonMissed struct {
	Data2 *PhoneCallDiscardReason_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;

func NewTLPhoneCallDiscardReasonMissed

func NewTLPhoneCallDiscardReasonMissed() *TLPhoneCallDiscardReasonMissed

func (*TLPhoneCallDiscardReasonMissed) Decode

func (*TLPhoneCallDiscardReasonMissed) Descriptor

func (*TLPhoneCallDiscardReasonMissed) Descriptor() ([]byte, []int)

func (*TLPhoneCallDiscardReasonMissed) Encode

func (m *TLPhoneCallDiscardReasonMissed) Encode() []byte

func (*TLPhoneCallDiscardReasonMissed) GetData2

func (*TLPhoneCallDiscardReasonMissed) ProtoMessage

func (*TLPhoneCallDiscardReasonMissed) ProtoMessage()

func (*TLPhoneCallDiscardReasonMissed) Reset

func (m *TLPhoneCallDiscardReasonMissed) Reset()

func (*TLPhoneCallDiscardReasonMissed) String

func (*TLPhoneCallDiscardReasonMissed) To_PhoneCallDiscardReason

func (m *TLPhoneCallDiscardReasonMissed) To_PhoneCallDiscardReason() *PhoneCallDiscardReason

phoneCallDiscardReasonMissed#85e42301 = PhoneCallDiscardReason;

type TLPhoneCallDiscarded

type TLPhoneCallDiscarded struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;

func NewTLPhoneCallDiscarded

func NewTLPhoneCallDiscarded() *TLPhoneCallDiscarded

func (*TLPhoneCallDiscarded) Decode

func (m *TLPhoneCallDiscarded) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallDiscarded) Descriptor

func (*TLPhoneCallDiscarded) Descriptor() ([]byte, []int)

func (*TLPhoneCallDiscarded) Encode

func (m *TLPhoneCallDiscarded) Encode() []byte

func (*TLPhoneCallDiscarded) GetData2

func (m *TLPhoneCallDiscarded) GetData2() *PhoneCall_Data

func (*TLPhoneCallDiscarded) GetDuration

func (m *TLPhoneCallDiscarded) GetDuration() int32

func (*TLPhoneCallDiscarded) GetId

func (m *TLPhoneCallDiscarded) GetId() int64

func (*TLPhoneCallDiscarded) GetNeedDebug

func (m *TLPhoneCallDiscarded) GetNeedDebug() bool

func (*TLPhoneCallDiscarded) GetNeedRating

func (m *TLPhoneCallDiscarded) GetNeedRating() bool

func (*TLPhoneCallDiscarded) GetReason

func (*TLPhoneCallDiscarded) ProtoMessage

func (*TLPhoneCallDiscarded) ProtoMessage()

func (*TLPhoneCallDiscarded) Reset

func (m *TLPhoneCallDiscarded) Reset()

func (*TLPhoneCallDiscarded) SetDuration

func (m *TLPhoneCallDiscarded) SetDuration(v int32)

func (*TLPhoneCallDiscarded) SetId

func (m *TLPhoneCallDiscarded) SetId(v int64)

func (*TLPhoneCallDiscarded) SetNeedDebug

func (m *TLPhoneCallDiscarded) SetNeedDebug(v bool)

func (*TLPhoneCallDiscarded) SetNeedRating

func (m *TLPhoneCallDiscarded) SetNeedRating(v bool)

func (*TLPhoneCallDiscarded) SetReason

func (*TLPhoneCallDiscarded) String

func (m *TLPhoneCallDiscarded) String() string

func (*TLPhoneCallDiscarded) To_PhoneCall

func (m *TLPhoneCallDiscarded) To_PhoneCall() *PhoneCall

phoneCallDiscarded#50ca4de1 flags:# need_rating:flags.2?true need_debug:flags.3?true id:long reason:flags.0?PhoneCallDiscardReason duration:flags.1?int = PhoneCall;

type TLPhoneCallEmpty

type TLPhoneCallEmpty struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallEmpty#5366c915 id:long = PhoneCall;

func NewTLPhoneCallEmpty

func NewTLPhoneCallEmpty() *TLPhoneCallEmpty

func (*TLPhoneCallEmpty) Decode

func (m *TLPhoneCallEmpty) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallEmpty) Descriptor

func (*TLPhoneCallEmpty) Descriptor() ([]byte, []int)

func (*TLPhoneCallEmpty) Encode

func (m *TLPhoneCallEmpty) Encode() []byte

func (*TLPhoneCallEmpty) GetData2

func (m *TLPhoneCallEmpty) GetData2() *PhoneCall_Data

func (*TLPhoneCallEmpty) GetId

func (m *TLPhoneCallEmpty) GetId() int64

func (*TLPhoneCallEmpty) ProtoMessage

func (*TLPhoneCallEmpty) ProtoMessage()

func (*TLPhoneCallEmpty) Reset

func (m *TLPhoneCallEmpty) Reset()

func (*TLPhoneCallEmpty) SetId

func (m *TLPhoneCallEmpty) SetId(v int64)

func (*TLPhoneCallEmpty) String

func (m *TLPhoneCallEmpty) String() string

func (*TLPhoneCallEmpty) To_PhoneCall

func (m *TLPhoneCallEmpty) To_PhoneCall() *PhoneCall

phoneCallEmpty#5366c915 id:long = PhoneCall;

type TLPhoneCallProtocol

type TLPhoneCallProtocol struct {
	Data2 *PhoneCallProtocol_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol;

func NewTLPhoneCallProtocol

func NewTLPhoneCallProtocol() *TLPhoneCallProtocol

func (*TLPhoneCallProtocol) Decode

func (m *TLPhoneCallProtocol) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallProtocol) Descriptor

func (*TLPhoneCallProtocol) Descriptor() ([]byte, []int)

func (*TLPhoneCallProtocol) Encode

func (m *TLPhoneCallProtocol) Encode() []byte

func (*TLPhoneCallProtocol) GetData2

func (*TLPhoneCallProtocol) GetMaxLayer

func (m *TLPhoneCallProtocol) GetMaxLayer() int32

func (*TLPhoneCallProtocol) GetMinLayer

func (m *TLPhoneCallProtocol) GetMinLayer() int32

func (*TLPhoneCallProtocol) GetUdpP2P

func (m *TLPhoneCallProtocol) GetUdpP2P() bool

func (*TLPhoneCallProtocol) GetUdpReflector

func (m *TLPhoneCallProtocol) GetUdpReflector() bool

func (*TLPhoneCallProtocol) ProtoMessage

func (*TLPhoneCallProtocol) ProtoMessage()

func (*TLPhoneCallProtocol) Reset

func (m *TLPhoneCallProtocol) Reset()

func (*TLPhoneCallProtocol) SetMaxLayer

func (m *TLPhoneCallProtocol) SetMaxLayer(v int32)

func (*TLPhoneCallProtocol) SetMinLayer

func (m *TLPhoneCallProtocol) SetMinLayer(v int32)

func (*TLPhoneCallProtocol) SetUdpP2P

func (m *TLPhoneCallProtocol) SetUdpP2P(v bool)

func (*TLPhoneCallProtocol) SetUdpReflector

func (m *TLPhoneCallProtocol) SetUdpReflector(v bool)

func (*TLPhoneCallProtocol) String

func (m *TLPhoneCallProtocol) String() string

func (*TLPhoneCallProtocol) To_PhoneCallProtocol

func (m *TLPhoneCallProtocol) To_PhoneCallProtocol() *PhoneCallProtocol

phoneCallProtocol#a2bb35cb flags:# udp_p2p:flags.0?true udp_reflector:flags.1?true min_layer:int max_layer:int = PhoneCallProtocol;

type TLPhoneCallRequested

type TLPhoneCallRequested struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;

func NewTLPhoneCallRequested

func NewTLPhoneCallRequested() *TLPhoneCallRequested

func (*TLPhoneCallRequested) Decode

func (m *TLPhoneCallRequested) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallRequested) Descriptor

func (*TLPhoneCallRequested) Descriptor() ([]byte, []int)

func (*TLPhoneCallRequested) Encode

func (m *TLPhoneCallRequested) Encode() []byte

func (*TLPhoneCallRequested) GetAccessHash

func (m *TLPhoneCallRequested) GetAccessHash() int64

func (*TLPhoneCallRequested) GetAdminId

func (m *TLPhoneCallRequested) GetAdminId() int32

func (*TLPhoneCallRequested) GetData2

func (m *TLPhoneCallRequested) GetData2() *PhoneCall_Data

func (*TLPhoneCallRequested) GetDate

func (m *TLPhoneCallRequested) GetDate() int32

func (*TLPhoneCallRequested) GetGAHash

func (m *TLPhoneCallRequested) GetGAHash() []byte

func (*TLPhoneCallRequested) GetId

func (m *TLPhoneCallRequested) GetId() int64

func (*TLPhoneCallRequested) GetParticipantId

func (m *TLPhoneCallRequested) GetParticipantId() int32

func (*TLPhoneCallRequested) GetProtocol

func (m *TLPhoneCallRequested) GetProtocol() *PhoneCallProtocol

func (*TLPhoneCallRequested) ProtoMessage

func (*TLPhoneCallRequested) ProtoMessage()

func (*TLPhoneCallRequested) Reset

func (m *TLPhoneCallRequested) Reset()

func (*TLPhoneCallRequested) SetAccessHash

func (m *TLPhoneCallRequested) SetAccessHash(v int64)

func (*TLPhoneCallRequested) SetAdminId

func (m *TLPhoneCallRequested) SetAdminId(v int32)

func (*TLPhoneCallRequested) SetDate

func (m *TLPhoneCallRequested) SetDate(v int32)

func (*TLPhoneCallRequested) SetGAHash

func (m *TLPhoneCallRequested) SetGAHash(v []byte)

func (*TLPhoneCallRequested) SetId

func (m *TLPhoneCallRequested) SetId(v int64)

func (*TLPhoneCallRequested) SetParticipantId

func (m *TLPhoneCallRequested) SetParticipantId(v int32)

func (*TLPhoneCallRequested) SetProtocol

func (m *TLPhoneCallRequested) SetProtocol(v *PhoneCallProtocol)

func (*TLPhoneCallRequested) String

func (m *TLPhoneCallRequested) String() string

func (*TLPhoneCallRequested) To_PhoneCall

func (m *TLPhoneCallRequested) To_PhoneCall() *PhoneCall

phoneCallRequested#83761ce4 id:long access_hash:long date:int admin_id:int participant_id:int g_a_hash:bytes protocol:PhoneCallProtocol = PhoneCall;

type TLPhoneCallWaiting

type TLPhoneCallWaiting struct {
	Data2 *PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;

func NewTLPhoneCallWaiting

func NewTLPhoneCallWaiting() *TLPhoneCallWaiting

func (*TLPhoneCallWaiting) Decode

func (m *TLPhoneCallWaiting) Decode(dbuf *DecodeBuf) error

func (*TLPhoneCallWaiting) Descriptor

func (*TLPhoneCallWaiting) Descriptor() ([]byte, []int)

func (*TLPhoneCallWaiting) Encode

func (m *TLPhoneCallWaiting) Encode() []byte

func (*TLPhoneCallWaiting) GetAccessHash

func (m *TLPhoneCallWaiting) GetAccessHash() int64

func (*TLPhoneCallWaiting) GetAdminId

func (m *TLPhoneCallWaiting) GetAdminId() int32

func (*TLPhoneCallWaiting) GetData2

func (m *TLPhoneCallWaiting) GetData2() *PhoneCall_Data

func (*TLPhoneCallWaiting) GetDate

func (m *TLPhoneCallWaiting) GetDate() int32

func (*TLPhoneCallWaiting) GetId

func (m *TLPhoneCallWaiting) GetId() int64

func (*TLPhoneCallWaiting) GetParticipantId

func (m *TLPhoneCallWaiting) GetParticipantId() int32

func (*TLPhoneCallWaiting) GetProtocol

func (m *TLPhoneCallWaiting) GetProtocol() *PhoneCallProtocol

func (*TLPhoneCallWaiting) GetReceiveDate

func (m *TLPhoneCallWaiting) GetReceiveDate() int32

func (*TLPhoneCallWaiting) ProtoMessage

func (*TLPhoneCallWaiting) ProtoMessage()

func (*TLPhoneCallWaiting) Reset

func (m *TLPhoneCallWaiting) Reset()

func (*TLPhoneCallWaiting) SetAccessHash

func (m *TLPhoneCallWaiting) SetAccessHash(v int64)

func (*TLPhoneCallWaiting) SetAdminId

func (m *TLPhoneCallWaiting) SetAdminId(v int32)

func (*TLPhoneCallWaiting) SetDate

func (m *TLPhoneCallWaiting) SetDate(v int32)

func (*TLPhoneCallWaiting) SetId

func (m *TLPhoneCallWaiting) SetId(v int64)

func (*TLPhoneCallWaiting) SetParticipantId

func (m *TLPhoneCallWaiting) SetParticipantId(v int32)

func (*TLPhoneCallWaiting) SetProtocol

func (m *TLPhoneCallWaiting) SetProtocol(v *PhoneCallProtocol)

func (*TLPhoneCallWaiting) SetReceiveDate

func (m *TLPhoneCallWaiting) SetReceiveDate(v int32)

func (*TLPhoneCallWaiting) String

func (m *TLPhoneCallWaiting) String() string

func (*TLPhoneCallWaiting) To_PhoneCall

func (m *TLPhoneCallWaiting) To_PhoneCall() *PhoneCall

phoneCallWaiting#1b8f4ad1 flags:# id:long access_hash:long date:int admin_id:int participant_id:int protocol:PhoneCallProtocol receive_date:flags.0?int = PhoneCall;

type TLPhoneConfirmCall

type TLPhoneConfirmCall struct {
	Peer           *InputPhoneCall    `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	GA             []byte             `protobuf:"bytes,2,opt,name=g_a,json=gA,proto3" json:"g_a,omitempty"`
	KeyFingerprint int64              `protobuf:"varint,3,opt,name=key_fingerprint,json=keyFingerprint" json:"key_fingerprint,omitempty"`
	Protocol       *PhoneCallProtocol `protobuf:"bytes,4,opt,name=protocol" json:"protocol,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.confirmCall#2efe1722 peer:InputPhoneCall g_a:bytes key_fingerprint:long protocol:PhoneCallProtocol = phone.PhoneCall;

func NewTLPhoneConfirmCall

func NewTLPhoneConfirmCall() *TLPhoneConfirmCall

func (*TLPhoneConfirmCall) Decode

func (m *TLPhoneConfirmCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneConfirmCall) Descriptor

func (*TLPhoneConfirmCall) Descriptor() ([]byte, []int)

func (*TLPhoneConfirmCall) Encode

func (m *TLPhoneConfirmCall) Encode() []byte

func (*TLPhoneConfirmCall) GetGA

func (m *TLPhoneConfirmCall) GetGA() []byte

func (*TLPhoneConfirmCall) GetKeyFingerprint

func (m *TLPhoneConfirmCall) GetKeyFingerprint() int64

func (*TLPhoneConfirmCall) GetPeer

func (m *TLPhoneConfirmCall) GetPeer() *InputPhoneCall

func (*TLPhoneConfirmCall) GetProtocol

func (m *TLPhoneConfirmCall) GetProtocol() *PhoneCallProtocol

func (*TLPhoneConfirmCall) ProtoMessage

func (*TLPhoneConfirmCall) ProtoMessage()

func (*TLPhoneConfirmCall) Reset

func (m *TLPhoneConfirmCall) Reset()

func (*TLPhoneConfirmCall) String

func (m *TLPhoneConfirmCall) String() string

type TLPhoneConnection

type TLPhoneConnection struct {
	Data2 *PhoneConnection_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;

func NewTLPhoneConnection

func NewTLPhoneConnection() *TLPhoneConnection

func (*TLPhoneConnection) Decode

func (m *TLPhoneConnection) Decode(dbuf *DecodeBuf) error

func (*TLPhoneConnection) Descriptor

func (*TLPhoneConnection) Descriptor() ([]byte, []int)

func (*TLPhoneConnection) Encode

func (m *TLPhoneConnection) Encode() []byte

func (*TLPhoneConnection) GetData2

func (m *TLPhoneConnection) GetData2() *PhoneConnection_Data

func (*TLPhoneConnection) GetId

func (m *TLPhoneConnection) GetId() int64

func (*TLPhoneConnection) GetIp

func (m *TLPhoneConnection) GetIp() string

func (*TLPhoneConnection) GetIpv6

func (m *TLPhoneConnection) GetIpv6() string

func (*TLPhoneConnection) GetPeerTag

func (m *TLPhoneConnection) GetPeerTag() []byte

func (*TLPhoneConnection) GetPort

func (m *TLPhoneConnection) GetPort() int32

func (*TLPhoneConnection) ProtoMessage

func (*TLPhoneConnection) ProtoMessage()

func (*TLPhoneConnection) Reset

func (m *TLPhoneConnection) Reset()

func (*TLPhoneConnection) SetId

func (m *TLPhoneConnection) SetId(v int64)

func (*TLPhoneConnection) SetIp

func (m *TLPhoneConnection) SetIp(v string)

func (*TLPhoneConnection) SetIpv6

func (m *TLPhoneConnection) SetIpv6(v string)

func (*TLPhoneConnection) SetPeerTag

func (m *TLPhoneConnection) SetPeerTag(v []byte)

func (*TLPhoneConnection) SetPort

func (m *TLPhoneConnection) SetPort(v int32)

func (*TLPhoneConnection) String

func (m *TLPhoneConnection) String() string

func (*TLPhoneConnection) To_PhoneConnection

func (m *TLPhoneConnection) To_PhoneConnection() *PhoneConnection

phoneConnection#9d4c17c0 id:long ip:string ipv6:string port:int peer_tag:bytes = PhoneConnection;

type TLPhoneDiscardCall

type TLPhoneDiscardCall struct {
	Peer         *InputPhoneCall         `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Duration     int32                   `protobuf:"varint,2,opt,name=duration" json:"duration,omitempty"`
	Reason       *PhoneCallDiscardReason `protobuf:"bytes,3,opt,name=reason" json:"reason,omitempty"`
	ConnectionId int64                   `protobuf:"varint,4,opt,name=connection_id,json=connectionId" json:"connection_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.discardCall#78d413a6 peer:InputPhoneCall duration:int reason:PhoneCallDiscardReason connection_id:long = Updates;

func NewTLPhoneDiscardCall

func NewTLPhoneDiscardCall() *TLPhoneDiscardCall

func (*TLPhoneDiscardCall) Decode

func (m *TLPhoneDiscardCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneDiscardCall) Descriptor

func (*TLPhoneDiscardCall) Descriptor() ([]byte, []int)

func (*TLPhoneDiscardCall) Encode

func (m *TLPhoneDiscardCall) Encode() []byte

func (*TLPhoneDiscardCall) GetConnectionId

func (m *TLPhoneDiscardCall) GetConnectionId() int64

func (*TLPhoneDiscardCall) GetDuration

func (m *TLPhoneDiscardCall) GetDuration() int32

func (*TLPhoneDiscardCall) GetPeer

func (m *TLPhoneDiscardCall) GetPeer() *InputPhoneCall

func (*TLPhoneDiscardCall) GetReason

func (*TLPhoneDiscardCall) ProtoMessage

func (*TLPhoneDiscardCall) ProtoMessage()

func (*TLPhoneDiscardCall) Reset

func (m *TLPhoneDiscardCall) Reset()

func (*TLPhoneDiscardCall) String

func (m *TLPhoneDiscardCall) String() string

type TLPhoneGetCallConfig

type TLPhoneGetCallConfig struct {
}

///////////////////////////////////////////////////////////////////////////// phone.getCallConfig#55451fa9 = DataJSON;

func NewTLPhoneGetCallConfig

func NewTLPhoneGetCallConfig() *TLPhoneGetCallConfig

func (*TLPhoneGetCallConfig) Decode

func (m *TLPhoneGetCallConfig) Decode(dbuf *DecodeBuf) error

func (*TLPhoneGetCallConfig) Descriptor

func (*TLPhoneGetCallConfig) Descriptor() ([]byte, []int)

func (*TLPhoneGetCallConfig) Encode

func (m *TLPhoneGetCallConfig) Encode() []byte

func (*TLPhoneGetCallConfig) ProtoMessage

func (*TLPhoneGetCallConfig) ProtoMessage()

func (*TLPhoneGetCallConfig) Reset

func (m *TLPhoneGetCallConfig) Reset()

func (*TLPhoneGetCallConfig) String

func (m *TLPhoneGetCallConfig) String() string

type TLPhonePhoneCall

type TLPhonePhoneCall struct {
	Data2 *Phone_PhoneCall_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;

func NewTLPhonePhoneCall

func NewTLPhonePhoneCall() *TLPhonePhoneCall

func (*TLPhonePhoneCall) Decode

func (m *TLPhonePhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLPhonePhoneCall) Descriptor

func (*TLPhonePhoneCall) Descriptor() ([]byte, []int)

func (*TLPhonePhoneCall) Encode

func (m *TLPhonePhoneCall) Encode() []byte

func (*TLPhonePhoneCall) GetData2

func (m *TLPhonePhoneCall) GetData2() *Phone_PhoneCall_Data

func (*TLPhonePhoneCall) GetPhoneCall

func (m *TLPhonePhoneCall) GetPhoneCall() *PhoneCall

func (*TLPhonePhoneCall) GetUsers

func (m *TLPhonePhoneCall) GetUsers() []*User

func (*TLPhonePhoneCall) ProtoMessage

func (*TLPhonePhoneCall) ProtoMessage()

func (*TLPhonePhoneCall) Reset

func (m *TLPhonePhoneCall) Reset()

func (*TLPhonePhoneCall) SetPhoneCall

func (m *TLPhonePhoneCall) SetPhoneCall(v *PhoneCall)

func (*TLPhonePhoneCall) SetUsers

func (m *TLPhonePhoneCall) SetUsers(v []*User)

func (*TLPhonePhoneCall) String

func (m *TLPhonePhoneCall) String() string

func (*TLPhonePhoneCall) To_Phone_PhoneCall

func (m *TLPhonePhoneCall) To_Phone_PhoneCall() *Phone_PhoneCall

phone.phoneCall#ec82e140 phone_call:PhoneCall users:Vector<User> = phone.PhoneCall;

type TLPhoneReceivedCall

type TLPhoneReceivedCall struct {
	Peer *InputPhoneCall `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.receivedCall#17d54f61 peer:InputPhoneCall = Bool;

func NewTLPhoneReceivedCall

func NewTLPhoneReceivedCall() *TLPhoneReceivedCall

func (*TLPhoneReceivedCall) Decode

func (m *TLPhoneReceivedCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneReceivedCall) Descriptor

func (*TLPhoneReceivedCall) Descriptor() ([]byte, []int)

func (*TLPhoneReceivedCall) Encode

func (m *TLPhoneReceivedCall) Encode() []byte

func (*TLPhoneReceivedCall) GetPeer

func (m *TLPhoneReceivedCall) GetPeer() *InputPhoneCall

func (*TLPhoneReceivedCall) ProtoMessage

func (*TLPhoneReceivedCall) ProtoMessage()

func (*TLPhoneReceivedCall) Reset

func (m *TLPhoneReceivedCall) Reset()

func (*TLPhoneReceivedCall) String

func (m *TLPhoneReceivedCall) String() string

type TLPhoneRequestCall

type TLPhoneRequestCall struct {
	UserId   *InputUser         `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	RandomId int32              `protobuf:"varint,2,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	GAHash   []byte             `protobuf:"bytes,3,opt,name=g_a_hash,json=gAHash,proto3" json:"g_a_hash,omitempty"`
	Protocol *PhoneCallProtocol `protobuf:"bytes,4,opt,name=protocol" json:"protocol,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.requestCall#5b95b3d4 user_id:InputUser random_id:int g_a_hash:bytes protocol:PhoneCallProtocol = phone.PhoneCall;

func NewTLPhoneRequestCall

func NewTLPhoneRequestCall() *TLPhoneRequestCall

func (*TLPhoneRequestCall) Decode

func (m *TLPhoneRequestCall) Decode(dbuf *DecodeBuf) error

func (*TLPhoneRequestCall) Descriptor

func (*TLPhoneRequestCall) Descriptor() ([]byte, []int)

func (*TLPhoneRequestCall) Encode

func (m *TLPhoneRequestCall) Encode() []byte

func (*TLPhoneRequestCall) GetGAHash

func (m *TLPhoneRequestCall) GetGAHash() []byte

func (*TLPhoneRequestCall) GetProtocol

func (m *TLPhoneRequestCall) GetProtocol() *PhoneCallProtocol

func (*TLPhoneRequestCall) GetRandomId

func (m *TLPhoneRequestCall) GetRandomId() int32

func (*TLPhoneRequestCall) GetUserId

func (m *TLPhoneRequestCall) GetUserId() *InputUser

func (*TLPhoneRequestCall) ProtoMessage

func (*TLPhoneRequestCall) ProtoMessage()

func (*TLPhoneRequestCall) Reset

func (m *TLPhoneRequestCall) Reset()

func (*TLPhoneRequestCall) String

func (m *TLPhoneRequestCall) String() string

type TLPhoneSaveCallDebug

type TLPhoneSaveCallDebug struct {
	Peer  *InputPhoneCall `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Debug *DataJSON       `protobuf:"bytes,2,opt,name=debug" json:"debug,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;

func NewTLPhoneSaveCallDebug

func NewTLPhoneSaveCallDebug() *TLPhoneSaveCallDebug

func (*TLPhoneSaveCallDebug) Decode

func (m *TLPhoneSaveCallDebug) Decode(dbuf *DecodeBuf) error

func (*TLPhoneSaveCallDebug) Descriptor

func (*TLPhoneSaveCallDebug) Descriptor() ([]byte, []int)

func (*TLPhoneSaveCallDebug) Encode

func (m *TLPhoneSaveCallDebug) Encode() []byte

func (*TLPhoneSaveCallDebug) GetDebug

func (m *TLPhoneSaveCallDebug) GetDebug() *DataJSON

func (*TLPhoneSaveCallDebug) GetPeer

func (m *TLPhoneSaveCallDebug) GetPeer() *InputPhoneCall

func (*TLPhoneSaveCallDebug) ProtoMessage

func (*TLPhoneSaveCallDebug) ProtoMessage()

func (*TLPhoneSaveCallDebug) Reset

func (m *TLPhoneSaveCallDebug) Reset()

func (*TLPhoneSaveCallDebug) String

func (m *TLPhoneSaveCallDebug) String() string

type TLPhoneSetCallRating

type TLPhoneSetCallRating struct {
	Peer    *InputPhoneCall `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Rating  int32           `protobuf:"varint,2,opt,name=rating" json:"rating,omitempty"`
	Comment string          `protobuf:"bytes,3,opt,name=comment" json:"comment,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// phone.setCallRating#1c536a34 peer:InputPhoneCall rating:int comment:string = Updates;

func NewTLPhoneSetCallRating

func NewTLPhoneSetCallRating() *TLPhoneSetCallRating

func (*TLPhoneSetCallRating) Decode

func (m *TLPhoneSetCallRating) Decode(dbuf *DecodeBuf) error

func (*TLPhoneSetCallRating) Descriptor

func (*TLPhoneSetCallRating) Descriptor() ([]byte, []int)

func (*TLPhoneSetCallRating) Encode

func (m *TLPhoneSetCallRating) Encode() []byte

func (*TLPhoneSetCallRating) GetComment

func (m *TLPhoneSetCallRating) GetComment() string

func (*TLPhoneSetCallRating) GetPeer

func (m *TLPhoneSetCallRating) GetPeer() *InputPhoneCall

func (*TLPhoneSetCallRating) GetRating

func (m *TLPhoneSetCallRating) GetRating() int32

func (*TLPhoneSetCallRating) ProtoMessage

func (*TLPhoneSetCallRating) ProtoMessage()

func (*TLPhoneSetCallRating) Reset

func (m *TLPhoneSetCallRating) Reset()

func (*TLPhoneSetCallRating) String

func (m *TLPhoneSetCallRating) String() string

type TLPhoto

type TLPhoto struct {
	Data2 *Photo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;

func NewTLPhoto

func NewTLPhoto() *TLPhoto

func (*TLPhoto) Decode

func (m *TLPhoto) Decode(dbuf *DecodeBuf) error

func (*TLPhoto) Descriptor

func (*TLPhoto) Descriptor() ([]byte, []int)

func (*TLPhoto) Encode

func (m *TLPhoto) Encode() []byte

func (*TLPhoto) GetAccessHash

func (m *TLPhoto) GetAccessHash() int64

func (*TLPhoto) GetData2

func (m *TLPhoto) GetData2() *Photo_Data

func (*TLPhoto) GetDate

func (m *TLPhoto) GetDate() int32

func (*TLPhoto) GetHasStickers

func (m *TLPhoto) GetHasStickers() bool

func (*TLPhoto) GetId

func (m *TLPhoto) GetId() int64

func (*TLPhoto) GetSizes

func (m *TLPhoto) GetSizes() []*PhotoSize

func (*TLPhoto) ProtoMessage

func (*TLPhoto) ProtoMessage()

func (*TLPhoto) Reset

func (m *TLPhoto) Reset()

func (*TLPhoto) SetAccessHash

func (m *TLPhoto) SetAccessHash(v int64)

func (*TLPhoto) SetDate

func (m *TLPhoto) SetDate(v int32)

func (*TLPhoto) SetHasStickers

func (m *TLPhoto) SetHasStickers(v bool)

func (*TLPhoto) SetId

func (m *TLPhoto) SetId(v int64)

func (*TLPhoto) SetSizes

func (m *TLPhoto) SetSizes(v []*PhotoSize)

func (*TLPhoto) String

func (m *TLPhoto) String() string

func (*TLPhoto) To_Photo

func (m *TLPhoto) To_Photo() *Photo

photo#9288dd29 flags:# has_stickers:flags.0?true id:long access_hash:long date:int sizes:Vector<PhotoSize> = Photo;

type TLPhotoCachedSize

type TLPhotoCachedSize struct {
	Data2 *PhotoSize_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize;

func NewTLPhotoCachedSize

func NewTLPhotoCachedSize() *TLPhotoCachedSize

func (*TLPhotoCachedSize) Decode

func (m *TLPhotoCachedSize) Decode(dbuf *DecodeBuf) error

func (*TLPhotoCachedSize) Descriptor

func (*TLPhotoCachedSize) Descriptor() ([]byte, []int)

func (*TLPhotoCachedSize) Encode

func (m *TLPhotoCachedSize) Encode() []byte

func (*TLPhotoCachedSize) GetBytes

func (m *TLPhotoCachedSize) GetBytes() []byte

func (*TLPhotoCachedSize) GetData2

func (m *TLPhotoCachedSize) GetData2() *PhotoSize_Data

func (*TLPhotoCachedSize) GetH

func (m *TLPhotoCachedSize) GetH() int32

func (*TLPhotoCachedSize) GetLocation

func (m *TLPhotoCachedSize) GetLocation() *FileLocation

func (*TLPhotoCachedSize) GetType

func (m *TLPhotoCachedSize) GetType() string

func (*TLPhotoCachedSize) GetW

func (m *TLPhotoCachedSize) GetW() int32

func (*TLPhotoCachedSize) ProtoMessage

func (*TLPhotoCachedSize) ProtoMessage()

func (*TLPhotoCachedSize) Reset

func (m *TLPhotoCachedSize) Reset()

func (*TLPhotoCachedSize) SetBytes

func (m *TLPhotoCachedSize) SetBytes(v []byte)

func (*TLPhotoCachedSize) SetH

func (m *TLPhotoCachedSize) SetH(v int32)

func (*TLPhotoCachedSize) SetLocation

func (m *TLPhotoCachedSize) SetLocation(v *FileLocation)

func (*TLPhotoCachedSize) SetType

func (m *TLPhotoCachedSize) SetType(v string)

func (*TLPhotoCachedSize) SetW

func (m *TLPhotoCachedSize) SetW(v int32)

func (*TLPhotoCachedSize) String

func (m *TLPhotoCachedSize) String() string

func (*TLPhotoCachedSize) To_PhotoSize

func (m *TLPhotoCachedSize) To_PhotoSize() *PhotoSize

photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize;

type TLPhotoEmpty

type TLPhotoEmpty struct {
	Data2 *Photo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photoEmpty#2331b22d id:long = Photo;

func NewTLPhotoEmpty

func NewTLPhotoEmpty() *TLPhotoEmpty

func (*TLPhotoEmpty) Decode

func (m *TLPhotoEmpty) Decode(dbuf *DecodeBuf) error

func (*TLPhotoEmpty) Descriptor

func (*TLPhotoEmpty) Descriptor() ([]byte, []int)

func (*TLPhotoEmpty) Encode

func (m *TLPhotoEmpty) Encode() []byte

func (*TLPhotoEmpty) GetData2

func (m *TLPhotoEmpty) GetData2() *Photo_Data

func (*TLPhotoEmpty) GetId

func (m *TLPhotoEmpty) GetId() int64

func (*TLPhotoEmpty) ProtoMessage

func (*TLPhotoEmpty) ProtoMessage()

func (*TLPhotoEmpty) Reset

func (m *TLPhotoEmpty) Reset()

func (*TLPhotoEmpty) SetId

func (m *TLPhotoEmpty) SetId(v int64)

func (*TLPhotoEmpty) String

func (m *TLPhotoEmpty) String() string

func (*TLPhotoEmpty) To_Photo

func (m *TLPhotoEmpty) To_Photo() *Photo

photoEmpty#2331b22d id:long = Photo;

type TLPhotoSize

type TLPhotoSize struct {
	Data2 *PhotoSize_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize;

func NewTLPhotoSize

func NewTLPhotoSize() *TLPhotoSize

func (*TLPhotoSize) Decode

func (m *TLPhotoSize) Decode(dbuf *DecodeBuf) error

func (*TLPhotoSize) Descriptor

func (*TLPhotoSize) Descriptor() ([]byte, []int)

func (*TLPhotoSize) Encode

func (m *TLPhotoSize) Encode() []byte

func (*TLPhotoSize) GetData2

func (m *TLPhotoSize) GetData2() *PhotoSize_Data

func (*TLPhotoSize) GetH

func (m *TLPhotoSize) GetH() int32

func (*TLPhotoSize) GetLocation

func (m *TLPhotoSize) GetLocation() *FileLocation

func (*TLPhotoSize) GetSize

func (m *TLPhotoSize) GetSize() int32

func (*TLPhotoSize) GetType

func (m *TLPhotoSize) GetType() string

func (*TLPhotoSize) GetW

func (m *TLPhotoSize) GetW() int32

func (*TLPhotoSize) ProtoMessage

func (*TLPhotoSize) ProtoMessage()

func (*TLPhotoSize) Reset

func (m *TLPhotoSize) Reset()

func (*TLPhotoSize) SetH

func (m *TLPhotoSize) SetH(v int32)

func (*TLPhotoSize) SetLocation

func (m *TLPhotoSize) SetLocation(v *FileLocation)

func (*TLPhotoSize) SetSize

func (m *TLPhotoSize) SetSize(v int32)

func (*TLPhotoSize) SetType

func (m *TLPhotoSize) SetType(v string)

func (*TLPhotoSize) SetW

func (m *TLPhotoSize) SetW(v int32)

func (*TLPhotoSize) String

func (m *TLPhotoSize) String() string

func (*TLPhotoSize) To_PhotoSize

func (m *TLPhotoSize) To_PhotoSize() *PhotoSize

photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize;

type TLPhotoSizeEmpty

type TLPhotoSizeEmpty struct {
	Data2 *PhotoSize_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photoSizeEmpty#e17e23c type:string = PhotoSize;

func NewTLPhotoSizeEmpty

func NewTLPhotoSizeEmpty() *TLPhotoSizeEmpty

func (*TLPhotoSizeEmpty) Decode

func (m *TLPhotoSizeEmpty) Decode(dbuf *DecodeBuf) error

func (*TLPhotoSizeEmpty) Descriptor

func (*TLPhotoSizeEmpty) Descriptor() ([]byte, []int)

func (*TLPhotoSizeEmpty) Encode

func (m *TLPhotoSizeEmpty) Encode() []byte

func (*TLPhotoSizeEmpty) GetData2

func (m *TLPhotoSizeEmpty) GetData2() *PhotoSize_Data

func (*TLPhotoSizeEmpty) GetType

func (m *TLPhotoSizeEmpty) GetType() string

func (*TLPhotoSizeEmpty) ProtoMessage

func (*TLPhotoSizeEmpty) ProtoMessage()

func (*TLPhotoSizeEmpty) Reset

func (m *TLPhotoSizeEmpty) Reset()

func (*TLPhotoSizeEmpty) SetType

func (m *TLPhotoSizeEmpty) SetType(v string)

func (*TLPhotoSizeEmpty) String

func (m *TLPhotoSizeEmpty) String() string

func (*TLPhotoSizeEmpty) To_PhotoSize

func (m *TLPhotoSizeEmpty) To_PhotoSize() *PhotoSize

photoSizeEmpty#e17e23c type:string = PhotoSize;

type TLPhotosDeletePhotos

type TLPhotosDeletePhotos struct {
	Id []*InputPhoto `protobuf:"bytes,1,rep,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos.deletePhotos#87cf7f2f id:Vector<InputPhoto> = Vector<long>;

func NewTLPhotosDeletePhotos

func NewTLPhotosDeletePhotos() *TLPhotosDeletePhotos

func (*TLPhotosDeletePhotos) Decode

func (m *TLPhotosDeletePhotos) Decode(dbuf *DecodeBuf) error

func (*TLPhotosDeletePhotos) Descriptor

func (*TLPhotosDeletePhotos) Descriptor() ([]byte, []int)

func (*TLPhotosDeletePhotos) Encode

func (m *TLPhotosDeletePhotos) Encode() []byte

func (*TLPhotosDeletePhotos) GetId

func (m *TLPhotosDeletePhotos) GetId() []*InputPhoto

func (*TLPhotosDeletePhotos) ProtoMessage

func (*TLPhotosDeletePhotos) ProtoMessage()

func (*TLPhotosDeletePhotos) Reset

func (m *TLPhotosDeletePhotos) Reset()

func (*TLPhotosDeletePhotos) String

func (m *TLPhotosDeletePhotos) String() string

type TLPhotosGetUserPhotos

type TLPhotosGetUserPhotos struct {
	UserId *InputUser `protobuf:"bytes,1,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Offset int32      `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	MaxId  int64      `protobuf:"varint,3,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	Limit  int32      `protobuf:"varint,4,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos.getUserPhotos#91cd32a8 user_id:InputUser offset:int max_id:long limit:int = photos.Photos;

func NewTLPhotosGetUserPhotos

func NewTLPhotosGetUserPhotos() *TLPhotosGetUserPhotos

func (*TLPhotosGetUserPhotos) Decode

func (m *TLPhotosGetUserPhotos) Decode(dbuf *DecodeBuf) error

func (*TLPhotosGetUserPhotos) Descriptor

func (*TLPhotosGetUserPhotos) Descriptor() ([]byte, []int)

func (*TLPhotosGetUserPhotos) Encode

func (m *TLPhotosGetUserPhotos) Encode() []byte

func (*TLPhotosGetUserPhotos) GetLimit

func (m *TLPhotosGetUserPhotos) GetLimit() int32

func (*TLPhotosGetUserPhotos) GetMaxId

func (m *TLPhotosGetUserPhotos) GetMaxId() int64

func (*TLPhotosGetUserPhotos) GetOffset

func (m *TLPhotosGetUserPhotos) GetOffset() int32

func (*TLPhotosGetUserPhotos) GetUserId

func (m *TLPhotosGetUserPhotos) GetUserId() *InputUser

func (*TLPhotosGetUserPhotos) ProtoMessage

func (*TLPhotosGetUserPhotos) ProtoMessage()

func (*TLPhotosGetUserPhotos) Reset

func (m *TLPhotosGetUserPhotos) Reset()

func (*TLPhotosGetUserPhotos) String

func (m *TLPhotosGetUserPhotos) String() string

type TLPhotosPhoto

type TLPhotosPhoto struct {
	Data2 *Photos_Photo_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;

func NewTLPhotosPhoto

func NewTLPhotosPhoto() *TLPhotosPhoto

func (*TLPhotosPhoto) Decode

func (m *TLPhotosPhoto) Decode(dbuf *DecodeBuf) error

func (*TLPhotosPhoto) Descriptor

func (*TLPhotosPhoto) Descriptor() ([]byte, []int)

func (*TLPhotosPhoto) Encode

func (m *TLPhotosPhoto) Encode() []byte

func (*TLPhotosPhoto) GetData2

func (m *TLPhotosPhoto) GetData2() *Photos_Photo_Data

func (*TLPhotosPhoto) GetPhoto

func (m *TLPhotosPhoto) GetPhoto() *Photo

func (*TLPhotosPhoto) GetUsers

func (m *TLPhotosPhoto) GetUsers() []*User

func (*TLPhotosPhoto) ProtoMessage

func (*TLPhotosPhoto) ProtoMessage()

func (*TLPhotosPhoto) Reset

func (m *TLPhotosPhoto) Reset()

func (*TLPhotosPhoto) SetPhoto

func (m *TLPhotosPhoto) SetPhoto(v *Photo)

func (*TLPhotosPhoto) SetUsers

func (m *TLPhotosPhoto) SetUsers(v []*User)

func (*TLPhotosPhoto) String

func (m *TLPhotosPhoto) String() string

func (*TLPhotosPhoto) To_Photos_Photo

func (m *TLPhotosPhoto) To_Photos_Photo() *Photos_Photo

photos.photo#20212ca8 photo:Photo users:Vector<User> = photos.Photo;

type TLPhotosPhotos

type TLPhotosPhotos struct {
	Data2 *Photos_Photos_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;

func NewTLPhotosPhotos

func NewTLPhotosPhotos() *TLPhotosPhotos

func (*TLPhotosPhotos) Decode

func (m *TLPhotosPhotos) Decode(dbuf *DecodeBuf) error

func (*TLPhotosPhotos) Descriptor

func (*TLPhotosPhotos) Descriptor() ([]byte, []int)

func (*TLPhotosPhotos) Encode

func (m *TLPhotosPhotos) Encode() []byte

func (*TLPhotosPhotos) GetData2

func (m *TLPhotosPhotos) GetData2() *Photos_Photos_Data

func (*TLPhotosPhotos) GetPhotos

func (m *TLPhotosPhotos) GetPhotos() []*Photo

func (*TLPhotosPhotos) GetUsers

func (m *TLPhotosPhotos) GetUsers() []*User

func (*TLPhotosPhotos) ProtoMessage

func (*TLPhotosPhotos) ProtoMessage()

func (*TLPhotosPhotos) Reset

func (m *TLPhotosPhotos) Reset()

func (*TLPhotosPhotos) SetPhotos

func (m *TLPhotosPhotos) SetPhotos(v []*Photo)

func (*TLPhotosPhotos) SetUsers

func (m *TLPhotosPhotos) SetUsers(v []*User)

func (*TLPhotosPhotos) String

func (m *TLPhotosPhotos) String() string

func (*TLPhotosPhotos) To_Photos_Photos

func (m *TLPhotosPhotos) To_Photos_Photos() *Photos_Photos

photos.photos#8dca6aa5 photos:Vector<Photo> users:Vector<User> = photos.Photos;

type TLPhotosPhotosSlice

type TLPhotosPhotosSlice struct {
	Data2 *Photos_Photos_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;

func NewTLPhotosPhotosSlice

func NewTLPhotosPhotosSlice() *TLPhotosPhotosSlice

func (*TLPhotosPhotosSlice) Decode

func (m *TLPhotosPhotosSlice) Decode(dbuf *DecodeBuf) error

func (*TLPhotosPhotosSlice) Descriptor

func (*TLPhotosPhotosSlice) Descriptor() ([]byte, []int)

func (*TLPhotosPhotosSlice) Encode

func (m *TLPhotosPhotosSlice) Encode() []byte

func (*TLPhotosPhotosSlice) GetCount

func (m *TLPhotosPhotosSlice) GetCount() int32

func (*TLPhotosPhotosSlice) GetData2

func (m *TLPhotosPhotosSlice) GetData2() *Photos_Photos_Data

func (*TLPhotosPhotosSlice) GetPhotos

func (m *TLPhotosPhotosSlice) GetPhotos() []*Photo

func (*TLPhotosPhotosSlice) GetUsers

func (m *TLPhotosPhotosSlice) GetUsers() []*User

func (*TLPhotosPhotosSlice) ProtoMessage

func (*TLPhotosPhotosSlice) ProtoMessage()

func (*TLPhotosPhotosSlice) Reset

func (m *TLPhotosPhotosSlice) Reset()

func (*TLPhotosPhotosSlice) SetCount

func (m *TLPhotosPhotosSlice) SetCount(v int32)

func (*TLPhotosPhotosSlice) SetPhotos

func (m *TLPhotosPhotosSlice) SetPhotos(v []*Photo)

func (*TLPhotosPhotosSlice) SetUsers

func (m *TLPhotosPhotosSlice) SetUsers(v []*User)

func (*TLPhotosPhotosSlice) String

func (m *TLPhotosPhotosSlice) String() string

func (*TLPhotosPhotosSlice) To_Photos_Photos

func (m *TLPhotosPhotosSlice) To_Photos_Photos() *Photos_Photos

photos.photosSlice#15051f54 count:int photos:Vector<Photo> users:Vector<User> = photos.Photos;

type TLPhotosUpdateProfilePhoto

type TLPhotosUpdateProfilePhoto struct {
	Id *InputPhoto `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos.updateProfilePhoto#f0bb5152 id:InputPhoto = UserProfilePhoto;

func NewTLPhotosUpdateProfilePhoto

func NewTLPhotosUpdateProfilePhoto() *TLPhotosUpdateProfilePhoto

func (*TLPhotosUpdateProfilePhoto) Decode

func (m *TLPhotosUpdateProfilePhoto) Decode(dbuf *DecodeBuf) error

func (*TLPhotosUpdateProfilePhoto) Descriptor

func (*TLPhotosUpdateProfilePhoto) Descriptor() ([]byte, []int)

func (*TLPhotosUpdateProfilePhoto) Encode

func (m *TLPhotosUpdateProfilePhoto) Encode() []byte

func (*TLPhotosUpdateProfilePhoto) GetId

func (*TLPhotosUpdateProfilePhoto) ProtoMessage

func (*TLPhotosUpdateProfilePhoto) ProtoMessage()

func (*TLPhotosUpdateProfilePhoto) Reset

func (m *TLPhotosUpdateProfilePhoto) Reset()

func (*TLPhotosUpdateProfilePhoto) String

func (m *TLPhotosUpdateProfilePhoto) String() string

type TLPhotosUploadProfilePhoto

type TLPhotosUploadProfilePhoto struct {
	File *InputFile `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// photos.uploadProfilePhoto#4f32c098 file:InputFile = photos.Photo;

func NewTLPhotosUploadProfilePhoto

func NewTLPhotosUploadProfilePhoto() *TLPhotosUploadProfilePhoto

func (*TLPhotosUploadProfilePhoto) Decode

func (m *TLPhotosUploadProfilePhoto) Decode(dbuf *DecodeBuf) error

func (*TLPhotosUploadProfilePhoto) Descriptor

func (*TLPhotosUploadProfilePhoto) Descriptor() ([]byte, []int)

func (*TLPhotosUploadProfilePhoto) Encode

func (m *TLPhotosUploadProfilePhoto) Encode() []byte

func (*TLPhotosUploadProfilePhoto) GetFile

func (m *TLPhotosUploadProfilePhoto) GetFile() *InputFile

func (*TLPhotosUploadProfilePhoto) ProtoMessage

func (*TLPhotosUploadProfilePhoto) ProtoMessage()

func (*TLPhotosUploadProfilePhoto) Reset

func (m *TLPhotosUploadProfilePhoto) Reset()

func (*TLPhotosUploadProfilePhoto) String

func (m *TLPhotosUploadProfilePhoto) String() string

type TLPing

type TLPing struct {
	PingId int64 `protobuf:"varint,1,opt,name=ping_id,json=pingId" json:"ping_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ping#7abe77ec ping_id:long = Pong;

func NewTLPing

func NewTLPing() *TLPing

func (*TLPing) Decode

func (m *TLPing) Decode(dbuf *DecodeBuf) error

func (*TLPing) Descriptor

func (*TLPing) Descriptor() ([]byte, []int)

func (*TLPing) Encode

func (m *TLPing) Encode() []byte

func (*TLPing) GetPingId

func (m *TLPing) GetPingId() int64

func (*TLPing) ProtoMessage

func (*TLPing) ProtoMessage()

func (*TLPing) Reset

func (m *TLPing) Reset()

func (*TLPing) String

func (m *TLPing) String() string

type TLPingDelayDisconnect

type TLPingDelayDisconnect struct {
	PingId          int64 `protobuf:"varint,1,opt,name=ping_id,json=pingId" json:"ping_id,omitempty"`
	DisconnectDelay int32 `protobuf:"varint,2,opt,name=disconnect_delay,json=disconnectDelay" json:"disconnect_delay,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// ping_delay_disconnect#f3427b8c ping_id:long disconnect_delay:int = Pong;

func NewTLPingDelayDisconnect

func NewTLPingDelayDisconnect() *TLPingDelayDisconnect

func (*TLPingDelayDisconnect) Decode

func (m *TLPingDelayDisconnect) Decode(dbuf *DecodeBuf) error

func (*TLPingDelayDisconnect) Descriptor

func (*TLPingDelayDisconnect) Descriptor() ([]byte, []int)

func (*TLPingDelayDisconnect) Encode

func (m *TLPingDelayDisconnect) Encode() []byte

func (*TLPingDelayDisconnect) GetDisconnectDelay

func (m *TLPingDelayDisconnect) GetDisconnectDelay() int32

func (*TLPingDelayDisconnect) GetPingId

func (m *TLPingDelayDisconnect) GetPingId() int64

func (*TLPingDelayDisconnect) ProtoMessage

func (*TLPingDelayDisconnect) ProtoMessage()

func (*TLPingDelayDisconnect) Reset

func (m *TLPingDelayDisconnect) Reset()

func (*TLPingDelayDisconnect) String

func (m *TLPingDelayDisconnect) String() string

type TLPong

type TLPong struct {
	Data2 *Pong_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

pong#347773c5 msg_id:long ping_id:long = Pong;

func NewTLPong

func NewTLPong() *TLPong

func (*TLPong) Decode

func (m *TLPong) Decode(dbuf *DecodeBuf) error

func (*TLPong) Descriptor

func (*TLPong) Descriptor() ([]byte, []int)

func (*TLPong) Encode

func (m *TLPong) Encode() []byte

func (*TLPong) GetData2

func (m *TLPong) GetData2() *Pong_Data

func (*TLPong) GetMsgId

func (m *TLPong) GetMsgId() int64

func (*TLPong) GetPingId

func (m *TLPong) GetPingId() int64

func (*TLPong) ProtoMessage

func (*TLPong) ProtoMessage()

func (*TLPong) Reset

func (m *TLPong) Reset()

func (*TLPong) SetMsgId

func (m *TLPong) SetMsgId(v int64)

func (*TLPong) SetPingId

func (m *TLPong) SetPingId(v int64)

func (*TLPong) String

func (m *TLPong) String() string

func (*TLPong) To_Pong

func (m *TLPong) To_Pong() *Pong

pong#347773c5 msg_id:long ping_id:long = Pong;

type TLPopularContact

type TLPopularContact struct {
	Data2 *PopularContact_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

popularContact#5ce14175 client_id:long importers:int = PopularContact;

func NewTLPopularContact

func NewTLPopularContact() *TLPopularContact

func (*TLPopularContact) Decode

func (m *TLPopularContact) Decode(dbuf *DecodeBuf) error

func (*TLPopularContact) Descriptor

func (*TLPopularContact) Descriptor() ([]byte, []int)

func (*TLPopularContact) Encode

func (m *TLPopularContact) Encode() []byte

func (*TLPopularContact) GetClientId

func (m *TLPopularContact) GetClientId() int64

func (*TLPopularContact) GetData2

func (m *TLPopularContact) GetData2() *PopularContact_Data

func (*TLPopularContact) GetImporters

func (m *TLPopularContact) GetImporters() int32

func (*TLPopularContact) ProtoMessage

func (*TLPopularContact) ProtoMessage()

func (*TLPopularContact) Reset

func (m *TLPopularContact) Reset()

func (*TLPopularContact) SetClientId

func (m *TLPopularContact) SetClientId(v int64)

func (*TLPopularContact) SetImporters

func (m *TLPopularContact) SetImporters(v int32)

func (*TLPopularContact) String

func (m *TLPopularContact) String() string

func (*TLPopularContact) To_PopularContact

func (m *TLPopularContact) To_PopularContact() *PopularContact

popularContact#5ce14175 client_id:long importers:int = PopularContact;

type TLPostAddress

type TLPostAddress struct {
	Data2 *PostAddress_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;

func NewTLPostAddress

func NewTLPostAddress() *TLPostAddress

func (*TLPostAddress) Decode

func (m *TLPostAddress) Decode(dbuf *DecodeBuf) error

func (*TLPostAddress) Descriptor

func (*TLPostAddress) Descriptor() ([]byte, []int)

func (*TLPostAddress) Encode

func (m *TLPostAddress) Encode() []byte

func (*TLPostAddress) GetCity

func (m *TLPostAddress) GetCity() string

func (*TLPostAddress) GetCountryIso2

func (m *TLPostAddress) GetCountryIso2() string

func (*TLPostAddress) GetData2

func (m *TLPostAddress) GetData2() *PostAddress_Data

func (*TLPostAddress) GetPostCode

func (m *TLPostAddress) GetPostCode() string

func (*TLPostAddress) GetState

func (m *TLPostAddress) GetState() string

func (*TLPostAddress) GetStreetLine1

func (m *TLPostAddress) GetStreetLine1() string

func (*TLPostAddress) GetStreetLine2

func (m *TLPostAddress) GetStreetLine2() string

func (*TLPostAddress) ProtoMessage

func (*TLPostAddress) ProtoMessage()

func (*TLPostAddress) Reset

func (m *TLPostAddress) Reset()

func (*TLPostAddress) SetCity

func (m *TLPostAddress) SetCity(v string)

func (*TLPostAddress) SetCountryIso2

func (m *TLPostAddress) SetCountryIso2(v string)

func (*TLPostAddress) SetPostCode

func (m *TLPostAddress) SetPostCode(v string)

func (*TLPostAddress) SetState

func (m *TLPostAddress) SetState(v string)

func (*TLPostAddress) SetStreetLine1

func (m *TLPostAddress) SetStreetLine1(v string)

func (*TLPostAddress) SetStreetLine2

func (m *TLPostAddress) SetStreetLine2(v string)

func (*TLPostAddress) String

func (m *TLPostAddress) String() string

func (*TLPostAddress) To_PostAddress

func (m *TLPostAddress) To_PostAddress() *PostAddress

postAddress#1e8caaeb street_line1:string street_line2:string city:string state:string country_iso2:string post_code:string = PostAddress;

type TLPrivacyKeyChatInvite

type TLPrivacyKeyChatInvite struct {
	Data2 *PrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyKeyChatInvite#500e6dfa = PrivacyKey;

func NewTLPrivacyKeyChatInvite

func NewTLPrivacyKeyChatInvite() *TLPrivacyKeyChatInvite

func (*TLPrivacyKeyChatInvite) Decode

func (m *TLPrivacyKeyChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyKeyChatInvite) Descriptor

func (*TLPrivacyKeyChatInvite) Descriptor() ([]byte, []int)

func (*TLPrivacyKeyChatInvite) Encode

func (m *TLPrivacyKeyChatInvite) Encode() []byte

func (*TLPrivacyKeyChatInvite) GetData2

func (m *TLPrivacyKeyChatInvite) GetData2() *PrivacyKey_Data

func (*TLPrivacyKeyChatInvite) ProtoMessage

func (*TLPrivacyKeyChatInvite) ProtoMessage()

func (*TLPrivacyKeyChatInvite) Reset

func (m *TLPrivacyKeyChatInvite) Reset()

func (*TLPrivacyKeyChatInvite) String

func (m *TLPrivacyKeyChatInvite) String() string

func (*TLPrivacyKeyChatInvite) To_PrivacyKey

func (m *TLPrivacyKeyChatInvite) To_PrivacyKey() *PrivacyKey

privacyKeyChatInvite#500e6dfa = PrivacyKey;

type TLPrivacyKeyPhoneCall

type TLPrivacyKeyPhoneCall struct {
	Data2 *PrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyKeyPhoneCall#3d662b7b = PrivacyKey;

func NewTLPrivacyKeyPhoneCall

func NewTLPrivacyKeyPhoneCall() *TLPrivacyKeyPhoneCall

func (*TLPrivacyKeyPhoneCall) Decode

func (m *TLPrivacyKeyPhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyKeyPhoneCall) Descriptor

func (*TLPrivacyKeyPhoneCall) Descriptor() ([]byte, []int)

func (*TLPrivacyKeyPhoneCall) Encode

func (m *TLPrivacyKeyPhoneCall) Encode() []byte

func (*TLPrivacyKeyPhoneCall) GetData2

func (m *TLPrivacyKeyPhoneCall) GetData2() *PrivacyKey_Data

func (*TLPrivacyKeyPhoneCall) ProtoMessage

func (*TLPrivacyKeyPhoneCall) ProtoMessage()

func (*TLPrivacyKeyPhoneCall) Reset

func (m *TLPrivacyKeyPhoneCall) Reset()

func (*TLPrivacyKeyPhoneCall) String

func (m *TLPrivacyKeyPhoneCall) String() string

func (*TLPrivacyKeyPhoneCall) To_PrivacyKey

func (m *TLPrivacyKeyPhoneCall) To_PrivacyKey() *PrivacyKey

privacyKeyPhoneCall#3d662b7b = PrivacyKey;

type TLPrivacyKeyStatusTimestamp

type TLPrivacyKeyStatusTimestamp struct {
	Data2 *PrivacyKey_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;

func NewTLPrivacyKeyStatusTimestamp

func NewTLPrivacyKeyStatusTimestamp() *TLPrivacyKeyStatusTimestamp

func (*TLPrivacyKeyStatusTimestamp) Decode

func (m *TLPrivacyKeyStatusTimestamp) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyKeyStatusTimestamp) Descriptor

func (*TLPrivacyKeyStatusTimestamp) Descriptor() ([]byte, []int)

func (*TLPrivacyKeyStatusTimestamp) Encode

func (m *TLPrivacyKeyStatusTimestamp) Encode() []byte

func (*TLPrivacyKeyStatusTimestamp) GetData2

func (*TLPrivacyKeyStatusTimestamp) ProtoMessage

func (*TLPrivacyKeyStatusTimestamp) ProtoMessage()

func (*TLPrivacyKeyStatusTimestamp) Reset

func (m *TLPrivacyKeyStatusTimestamp) Reset()

func (*TLPrivacyKeyStatusTimestamp) String

func (m *TLPrivacyKeyStatusTimestamp) String() string

func (*TLPrivacyKeyStatusTimestamp) To_PrivacyKey

func (m *TLPrivacyKeyStatusTimestamp) To_PrivacyKey() *PrivacyKey

privacyKeyStatusTimestamp#bc2eab30 = PrivacyKey;

type TLPrivacyValueAllowAll

type TLPrivacyValueAllowAll struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueAllowAll#65427b82 = PrivacyRule;

func NewTLPrivacyValueAllowAll

func NewTLPrivacyValueAllowAll() *TLPrivacyValueAllowAll

func (*TLPrivacyValueAllowAll) Decode

func (m *TLPrivacyValueAllowAll) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyValueAllowAll) Descriptor

func (*TLPrivacyValueAllowAll) Descriptor() ([]byte, []int)

func (*TLPrivacyValueAllowAll) Encode

func (m *TLPrivacyValueAllowAll) Encode() []byte

func (*TLPrivacyValueAllowAll) GetData2

func (*TLPrivacyValueAllowAll) ProtoMessage

func (*TLPrivacyValueAllowAll) ProtoMessage()

func (*TLPrivacyValueAllowAll) Reset

func (m *TLPrivacyValueAllowAll) Reset()

func (*TLPrivacyValueAllowAll) String

func (m *TLPrivacyValueAllowAll) String() string

func (*TLPrivacyValueAllowAll) To_PrivacyRule

func (m *TLPrivacyValueAllowAll) To_PrivacyRule() *PrivacyRule

privacyValueAllowAll#65427b82 = PrivacyRule;

type TLPrivacyValueAllowContacts

type TLPrivacyValueAllowContacts struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueAllowContacts#fffe1bac = PrivacyRule;

func NewTLPrivacyValueAllowContacts

func NewTLPrivacyValueAllowContacts() *TLPrivacyValueAllowContacts

func (*TLPrivacyValueAllowContacts) Decode

func (m *TLPrivacyValueAllowContacts) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyValueAllowContacts) Descriptor

func (*TLPrivacyValueAllowContacts) Descriptor() ([]byte, []int)

func (*TLPrivacyValueAllowContacts) Encode

func (m *TLPrivacyValueAllowContacts) Encode() []byte

func (*TLPrivacyValueAllowContacts) GetData2

func (*TLPrivacyValueAllowContacts) ProtoMessage

func (*TLPrivacyValueAllowContacts) ProtoMessage()

func (*TLPrivacyValueAllowContacts) Reset

func (m *TLPrivacyValueAllowContacts) Reset()

func (*TLPrivacyValueAllowContacts) String

func (m *TLPrivacyValueAllowContacts) String() string

func (*TLPrivacyValueAllowContacts) To_PrivacyRule

func (m *TLPrivacyValueAllowContacts) To_PrivacyRule() *PrivacyRule

privacyValueAllowContacts#fffe1bac = PrivacyRule;

type TLPrivacyValueAllowUsers

type TLPrivacyValueAllowUsers struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;

func NewTLPrivacyValueAllowUsers

func NewTLPrivacyValueAllowUsers() *TLPrivacyValueAllowUsers

func (*TLPrivacyValueAllowUsers) Decode

func (m *TLPrivacyValueAllowUsers) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyValueAllowUsers) Descriptor

func (*TLPrivacyValueAllowUsers) Descriptor() ([]byte, []int)

func (*TLPrivacyValueAllowUsers) Encode

func (m *TLPrivacyValueAllowUsers) Encode() []byte

func (*TLPrivacyValueAllowUsers) GetData2

func (*TLPrivacyValueAllowUsers) GetUsers

func (m *TLPrivacyValueAllowUsers) GetUsers() []int32

func (*TLPrivacyValueAllowUsers) ProtoMessage

func (*TLPrivacyValueAllowUsers) ProtoMessage()

func (*TLPrivacyValueAllowUsers) Reset

func (m *TLPrivacyValueAllowUsers) Reset()

func (*TLPrivacyValueAllowUsers) SetUsers

func (m *TLPrivacyValueAllowUsers) SetUsers(v []int32)

func (*TLPrivacyValueAllowUsers) String

func (m *TLPrivacyValueAllowUsers) String() string

func (*TLPrivacyValueAllowUsers) To_PrivacyRule

func (m *TLPrivacyValueAllowUsers) To_PrivacyRule() *PrivacyRule

privacyValueAllowUsers#4d5bbe0c users:Vector<int> = PrivacyRule;

type TLPrivacyValueDisallowAll

type TLPrivacyValueDisallowAll struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueDisallowAll#8b73e763 = PrivacyRule;

func NewTLPrivacyValueDisallowAll

func NewTLPrivacyValueDisallowAll() *TLPrivacyValueDisallowAll

func (*TLPrivacyValueDisallowAll) Decode

func (m *TLPrivacyValueDisallowAll) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyValueDisallowAll) Descriptor

func (*TLPrivacyValueDisallowAll) Descriptor() ([]byte, []int)

func (*TLPrivacyValueDisallowAll) Encode

func (m *TLPrivacyValueDisallowAll) Encode() []byte

func (*TLPrivacyValueDisallowAll) GetData2

func (*TLPrivacyValueDisallowAll) ProtoMessage

func (*TLPrivacyValueDisallowAll) ProtoMessage()

func (*TLPrivacyValueDisallowAll) Reset

func (m *TLPrivacyValueDisallowAll) Reset()

func (*TLPrivacyValueDisallowAll) String

func (m *TLPrivacyValueDisallowAll) String() string

func (*TLPrivacyValueDisallowAll) To_PrivacyRule

func (m *TLPrivacyValueDisallowAll) To_PrivacyRule() *PrivacyRule

privacyValueDisallowAll#8b73e763 = PrivacyRule;

type TLPrivacyValueDisallowContacts

type TLPrivacyValueDisallowContacts struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueDisallowContacts#f888fa1a = PrivacyRule;

func NewTLPrivacyValueDisallowContacts

func NewTLPrivacyValueDisallowContacts() *TLPrivacyValueDisallowContacts

func (*TLPrivacyValueDisallowContacts) Decode

func (*TLPrivacyValueDisallowContacts) Descriptor

func (*TLPrivacyValueDisallowContacts) Descriptor() ([]byte, []int)

func (*TLPrivacyValueDisallowContacts) Encode

func (m *TLPrivacyValueDisallowContacts) Encode() []byte

func (*TLPrivacyValueDisallowContacts) GetData2

func (*TLPrivacyValueDisallowContacts) ProtoMessage

func (*TLPrivacyValueDisallowContacts) ProtoMessage()

func (*TLPrivacyValueDisallowContacts) Reset

func (m *TLPrivacyValueDisallowContacts) Reset()

func (*TLPrivacyValueDisallowContacts) String

func (*TLPrivacyValueDisallowContacts) To_PrivacyRule

func (m *TLPrivacyValueDisallowContacts) To_PrivacyRule() *PrivacyRule

privacyValueDisallowContacts#f888fa1a = PrivacyRule;

type TLPrivacyValueDisallowUsers

type TLPrivacyValueDisallowUsers struct {
	Data2 *PrivacyRule_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;

func NewTLPrivacyValueDisallowUsers

func NewTLPrivacyValueDisallowUsers() *TLPrivacyValueDisallowUsers

func (*TLPrivacyValueDisallowUsers) Decode

func (m *TLPrivacyValueDisallowUsers) Decode(dbuf *DecodeBuf) error

func (*TLPrivacyValueDisallowUsers) Descriptor

func (*TLPrivacyValueDisallowUsers) Descriptor() ([]byte, []int)

func (*TLPrivacyValueDisallowUsers) Encode

func (m *TLPrivacyValueDisallowUsers) Encode() []byte

func (*TLPrivacyValueDisallowUsers) GetData2

func (*TLPrivacyValueDisallowUsers) GetUsers

func (m *TLPrivacyValueDisallowUsers) GetUsers() []int32

func (*TLPrivacyValueDisallowUsers) ProtoMessage

func (*TLPrivacyValueDisallowUsers) ProtoMessage()

func (*TLPrivacyValueDisallowUsers) Reset

func (m *TLPrivacyValueDisallowUsers) Reset()

func (*TLPrivacyValueDisallowUsers) SetUsers

func (m *TLPrivacyValueDisallowUsers) SetUsers(v []int32)

func (*TLPrivacyValueDisallowUsers) String

func (m *TLPrivacyValueDisallowUsers) String() string

func (*TLPrivacyValueDisallowUsers) To_PrivacyRule

func (m *TLPrivacyValueDisallowUsers) To_PrivacyRule() *PrivacyRule

privacyValueDisallowUsers#c7f49b7 users:Vector<int> = PrivacyRule;

type TLReceivedNotifyMessage

type TLReceivedNotifyMessage struct {
	Data2 *ReceivedNotifyMessage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;

func NewTLReceivedNotifyMessage

func NewTLReceivedNotifyMessage() *TLReceivedNotifyMessage

func (*TLReceivedNotifyMessage) Decode

func (m *TLReceivedNotifyMessage) Decode(dbuf *DecodeBuf) error

func (*TLReceivedNotifyMessage) Descriptor

func (*TLReceivedNotifyMessage) Descriptor() ([]byte, []int)

func (*TLReceivedNotifyMessage) Encode

func (m *TLReceivedNotifyMessage) Encode() []byte

func (*TLReceivedNotifyMessage) GetData2

func (*TLReceivedNotifyMessage) GetFlags

func (m *TLReceivedNotifyMessage) GetFlags() int32

func (*TLReceivedNotifyMessage) GetId

func (m *TLReceivedNotifyMessage) GetId() int32

func (*TLReceivedNotifyMessage) ProtoMessage

func (*TLReceivedNotifyMessage) ProtoMessage()

func (*TLReceivedNotifyMessage) Reset

func (m *TLReceivedNotifyMessage) Reset()

func (*TLReceivedNotifyMessage) SetFlags

func (m *TLReceivedNotifyMessage) SetFlags(v int32)

func (*TLReceivedNotifyMessage) SetId

func (m *TLReceivedNotifyMessage) SetId(v int32)

func (*TLReceivedNotifyMessage) String

func (m *TLReceivedNotifyMessage) String() string

func (*TLReceivedNotifyMessage) To_ReceivedNotifyMessage

func (m *TLReceivedNotifyMessage) To_ReceivedNotifyMessage() *ReceivedNotifyMessage

receivedNotifyMessage#a384b779 id:int flags:int = ReceivedNotifyMessage;

type TLRecentMeUrlChat

type TLRecentMeUrlChat struct {
	Data2 *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl;

func NewTLRecentMeUrlChat

func NewTLRecentMeUrlChat() *TLRecentMeUrlChat

func (*TLRecentMeUrlChat) Decode

func (m *TLRecentMeUrlChat) Decode(dbuf *DecodeBuf) error

func (*TLRecentMeUrlChat) Descriptor

func (*TLRecentMeUrlChat) Descriptor() ([]byte, []int)

func (*TLRecentMeUrlChat) Encode

func (m *TLRecentMeUrlChat) Encode() []byte

func (*TLRecentMeUrlChat) GetChatId

func (m *TLRecentMeUrlChat) GetChatId() int32

func (*TLRecentMeUrlChat) GetData2

func (m *TLRecentMeUrlChat) GetData2() *RecentMeUrl_Data

func (*TLRecentMeUrlChat) GetUrl

func (m *TLRecentMeUrlChat) GetUrl() string

func (*TLRecentMeUrlChat) ProtoMessage

func (*TLRecentMeUrlChat) ProtoMessage()

func (*TLRecentMeUrlChat) Reset

func (m *TLRecentMeUrlChat) Reset()

func (*TLRecentMeUrlChat) SetChatId

func (m *TLRecentMeUrlChat) SetChatId(v int32)

func (*TLRecentMeUrlChat) SetUrl

func (m *TLRecentMeUrlChat) SetUrl(v string)

func (*TLRecentMeUrlChat) String

func (m *TLRecentMeUrlChat) String() string

func (*TLRecentMeUrlChat) To_RecentMeUrl

func (m *TLRecentMeUrlChat) To_RecentMeUrl() *RecentMeUrl

recentMeUrlChat#a01b22f9 url:string chat_id:int = RecentMeUrl;

type TLRecentMeUrlChatInvite

type TLRecentMeUrlChatInvite struct {
	Data2 *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl;

func NewTLRecentMeUrlChatInvite

func NewTLRecentMeUrlChatInvite() *TLRecentMeUrlChatInvite

func (*TLRecentMeUrlChatInvite) Decode

func (m *TLRecentMeUrlChatInvite) Decode(dbuf *DecodeBuf) error

func (*TLRecentMeUrlChatInvite) Descriptor

func (*TLRecentMeUrlChatInvite) Descriptor() ([]byte, []int)

func (*TLRecentMeUrlChatInvite) Encode

func (m *TLRecentMeUrlChatInvite) Encode() []byte

func (*TLRecentMeUrlChatInvite) GetChatInvite

func (m *TLRecentMeUrlChatInvite) GetChatInvite() *ChatInvite

func (*TLRecentMeUrlChatInvite) GetData2

func (*TLRecentMeUrlChatInvite) GetUrl

func (m *TLRecentMeUrlChatInvite) GetUrl() string

func (*TLRecentMeUrlChatInvite) ProtoMessage

func (*TLRecentMeUrlChatInvite) ProtoMessage()

func (*TLRecentMeUrlChatInvite) Reset

func (m *TLRecentMeUrlChatInvite) Reset()

func (*TLRecentMeUrlChatInvite) SetChatInvite

func (m *TLRecentMeUrlChatInvite) SetChatInvite(v *ChatInvite)

func (*TLRecentMeUrlChatInvite) SetUrl

func (m *TLRecentMeUrlChatInvite) SetUrl(v string)

func (*TLRecentMeUrlChatInvite) String

func (m *TLRecentMeUrlChatInvite) String() string

func (*TLRecentMeUrlChatInvite) To_RecentMeUrl

func (m *TLRecentMeUrlChatInvite) To_RecentMeUrl() *RecentMeUrl

recentMeUrlChatInvite#eb49081d url:string chat_invite:ChatInvite = RecentMeUrl;

type TLRecentMeUrlStickerSet

type TLRecentMeUrlStickerSet struct {
	Data2 *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl;

func NewTLRecentMeUrlStickerSet

func NewTLRecentMeUrlStickerSet() *TLRecentMeUrlStickerSet

func (*TLRecentMeUrlStickerSet) Decode

func (m *TLRecentMeUrlStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLRecentMeUrlStickerSet) Descriptor

func (*TLRecentMeUrlStickerSet) Descriptor() ([]byte, []int)

func (*TLRecentMeUrlStickerSet) Encode

func (m *TLRecentMeUrlStickerSet) Encode() []byte

func (*TLRecentMeUrlStickerSet) GetData2

func (*TLRecentMeUrlStickerSet) GetSet

func (*TLRecentMeUrlStickerSet) GetUrl

func (m *TLRecentMeUrlStickerSet) GetUrl() string

func (*TLRecentMeUrlStickerSet) ProtoMessage

func (*TLRecentMeUrlStickerSet) ProtoMessage()

func (*TLRecentMeUrlStickerSet) Reset

func (m *TLRecentMeUrlStickerSet) Reset()

func (*TLRecentMeUrlStickerSet) SetSet

func (*TLRecentMeUrlStickerSet) SetUrl

func (m *TLRecentMeUrlStickerSet) SetUrl(v string)

func (*TLRecentMeUrlStickerSet) String

func (m *TLRecentMeUrlStickerSet) String() string

func (*TLRecentMeUrlStickerSet) To_RecentMeUrl

func (m *TLRecentMeUrlStickerSet) To_RecentMeUrl() *RecentMeUrl

recentMeUrlStickerSet#bc0a57dc url:string set:StickerSetCovered = RecentMeUrl;

type TLRecentMeUrlUnknown

type TLRecentMeUrlUnknown struct {
	Data2 *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl;

func NewTLRecentMeUrlUnknown

func NewTLRecentMeUrlUnknown() *TLRecentMeUrlUnknown

func (*TLRecentMeUrlUnknown) Decode

func (m *TLRecentMeUrlUnknown) Decode(dbuf *DecodeBuf) error

func (*TLRecentMeUrlUnknown) Descriptor

func (*TLRecentMeUrlUnknown) Descriptor() ([]byte, []int)

func (*TLRecentMeUrlUnknown) Encode

func (m *TLRecentMeUrlUnknown) Encode() []byte

func (*TLRecentMeUrlUnknown) GetData2

func (m *TLRecentMeUrlUnknown) GetData2() *RecentMeUrl_Data

func (*TLRecentMeUrlUnknown) GetUrl

func (m *TLRecentMeUrlUnknown) GetUrl() string

func (*TLRecentMeUrlUnknown) ProtoMessage

func (*TLRecentMeUrlUnknown) ProtoMessage()

func (*TLRecentMeUrlUnknown) Reset

func (m *TLRecentMeUrlUnknown) Reset()

func (*TLRecentMeUrlUnknown) SetUrl

func (m *TLRecentMeUrlUnknown) SetUrl(v string)

func (*TLRecentMeUrlUnknown) String

func (m *TLRecentMeUrlUnknown) String() string

func (*TLRecentMeUrlUnknown) To_RecentMeUrl

func (m *TLRecentMeUrlUnknown) To_RecentMeUrl() *RecentMeUrl

recentMeUrlUnknown#46e1d13d url:string = RecentMeUrl;

type TLRecentMeUrlUser

type TLRecentMeUrlUser struct {
	Data2 *RecentMeUrl_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl;

func NewTLRecentMeUrlUser

func NewTLRecentMeUrlUser() *TLRecentMeUrlUser

func (*TLRecentMeUrlUser) Decode

func (m *TLRecentMeUrlUser) Decode(dbuf *DecodeBuf) error

func (*TLRecentMeUrlUser) Descriptor

func (*TLRecentMeUrlUser) Descriptor() ([]byte, []int)

func (*TLRecentMeUrlUser) Encode

func (m *TLRecentMeUrlUser) Encode() []byte

func (*TLRecentMeUrlUser) GetData2

func (m *TLRecentMeUrlUser) GetData2() *RecentMeUrl_Data

func (*TLRecentMeUrlUser) GetUrl

func (m *TLRecentMeUrlUser) GetUrl() string

func (*TLRecentMeUrlUser) GetUserId

func (m *TLRecentMeUrlUser) GetUserId() int32

func (*TLRecentMeUrlUser) ProtoMessage

func (*TLRecentMeUrlUser) ProtoMessage()

func (*TLRecentMeUrlUser) Reset

func (m *TLRecentMeUrlUser) Reset()

func (*TLRecentMeUrlUser) SetUrl

func (m *TLRecentMeUrlUser) SetUrl(v string)

func (*TLRecentMeUrlUser) SetUserId

func (m *TLRecentMeUrlUser) SetUserId(v int32)

func (*TLRecentMeUrlUser) String

func (m *TLRecentMeUrlUser) String() string

func (*TLRecentMeUrlUser) To_RecentMeUrl

func (m *TLRecentMeUrlUser) To_RecentMeUrl() *RecentMeUrl

recentMeUrlUser#8dbc3336 url:string user_id:int = RecentMeUrl;

type TLReplyInlineMarkup

type TLReplyInlineMarkup struct {
	Data2 *ReplyMarkup_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup;

func NewTLReplyInlineMarkup

func NewTLReplyInlineMarkup() *TLReplyInlineMarkup

func (*TLReplyInlineMarkup) Decode

func (m *TLReplyInlineMarkup) Decode(dbuf *DecodeBuf) error

func (*TLReplyInlineMarkup) Descriptor

func (*TLReplyInlineMarkup) Descriptor() ([]byte, []int)

func (*TLReplyInlineMarkup) Encode

func (m *TLReplyInlineMarkup) Encode() []byte

func (*TLReplyInlineMarkup) GetData2

func (m *TLReplyInlineMarkup) GetData2() *ReplyMarkup_Data

func (*TLReplyInlineMarkup) GetRows

func (m *TLReplyInlineMarkup) GetRows() []*KeyboardButtonRow

func (*TLReplyInlineMarkup) ProtoMessage

func (*TLReplyInlineMarkup) ProtoMessage()

func (*TLReplyInlineMarkup) Reset

func (m *TLReplyInlineMarkup) Reset()

func (*TLReplyInlineMarkup) SetRows

func (m *TLReplyInlineMarkup) SetRows(v []*KeyboardButtonRow)

func (*TLReplyInlineMarkup) String

func (m *TLReplyInlineMarkup) String() string

func (*TLReplyInlineMarkup) To_ReplyMarkup

func (m *TLReplyInlineMarkup) To_ReplyMarkup() *ReplyMarkup

replyInlineMarkup#48a30254 rows:Vector<KeyboardButtonRow> = ReplyMarkup;

type TLReplyKeyboardForceReply

type TLReplyKeyboardForceReply struct {
	Data2 *ReplyMarkup_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup;

func NewTLReplyKeyboardForceReply

func NewTLReplyKeyboardForceReply() *TLReplyKeyboardForceReply

func (*TLReplyKeyboardForceReply) Decode

func (m *TLReplyKeyboardForceReply) Decode(dbuf *DecodeBuf) error

func (*TLReplyKeyboardForceReply) Descriptor

func (*TLReplyKeyboardForceReply) Descriptor() ([]byte, []int)

func (*TLReplyKeyboardForceReply) Encode

func (m *TLReplyKeyboardForceReply) Encode() []byte

func (*TLReplyKeyboardForceReply) GetData2

func (*TLReplyKeyboardForceReply) GetSelective

func (m *TLReplyKeyboardForceReply) GetSelective() bool

func (*TLReplyKeyboardForceReply) GetSingleUse

func (m *TLReplyKeyboardForceReply) GetSingleUse() bool

func (*TLReplyKeyboardForceReply) ProtoMessage

func (*TLReplyKeyboardForceReply) ProtoMessage()

func (*TLReplyKeyboardForceReply) Reset

func (m *TLReplyKeyboardForceReply) Reset()

func (*TLReplyKeyboardForceReply) SetSelective

func (m *TLReplyKeyboardForceReply) SetSelective(v bool)

func (*TLReplyKeyboardForceReply) SetSingleUse

func (m *TLReplyKeyboardForceReply) SetSingleUse(v bool)

func (*TLReplyKeyboardForceReply) String

func (m *TLReplyKeyboardForceReply) String() string

func (*TLReplyKeyboardForceReply) To_ReplyMarkup

func (m *TLReplyKeyboardForceReply) To_ReplyMarkup() *ReplyMarkup

replyKeyboardForceReply#f4108aa0 flags:# single_use:flags.1?true selective:flags.2?true = ReplyMarkup;

type TLReplyKeyboardHide

type TLReplyKeyboardHide struct {
	Data2 *ReplyMarkup_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;

func NewTLReplyKeyboardHide

func NewTLReplyKeyboardHide() *TLReplyKeyboardHide

func (*TLReplyKeyboardHide) Decode

func (m *TLReplyKeyboardHide) Decode(dbuf *DecodeBuf) error

func (*TLReplyKeyboardHide) Descriptor

func (*TLReplyKeyboardHide) Descriptor() ([]byte, []int)

func (*TLReplyKeyboardHide) Encode

func (m *TLReplyKeyboardHide) Encode() []byte

func (*TLReplyKeyboardHide) GetData2

func (m *TLReplyKeyboardHide) GetData2() *ReplyMarkup_Data

func (*TLReplyKeyboardHide) GetSelective

func (m *TLReplyKeyboardHide) GetSelective() bool

func (*TLReplyKeyboardHide) ProtoMessage

func (*TLReplyKeyboardHide) ProtoMessage()

func (*TLReplyKeyboardHide) Reset

func (m *TLReplyKeyboardHide) Reset()

func (*TLReplyKeyboardHide) SetSelective

func (m *TLReplyKeyboardHide) SetSelective(v bool)

func (*TLReplyKeyboardHide) String

func (m *TLReplyKeyboardHide) String() string

func (*TLReplyKeyboardHide) To_ReplyMarkup

func (m *TLReplyKeyboardHide) To_ReplyMarkup() *ReplyMarkup

replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;

type TLReplyKeyboardMarkup

type TLReplyKeyboardMarkup struct {
	Data2 *ReplyMarkup_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;

func NewTLReplyKeyboardMarkup

func NewTLReplyKeyboardMarkup() *TLReplyKeyboardMarkup

func (*TLReplyKeyboardMarkup) Decode

func (m *TLReplyKeyboardMarkup) Decode(dbuf *DecodeBuf) error

func (*TLReplyKeyboardMarkup) Descriptor

func (*TLReplyKeyboardMarkup) Descriptor() ([]byte, []int)

func (*TLReplyKeyboardMarkup) Encode

func (m *TLReplyKeyboardMarkup) Encode() []byte

func (*TLReplyKeyboardMarkup) GetData2

func (m *TLReplyKeyboardMarkup) GetData2() *ReplyMarkup_Data

func (*TLReplyKeyboardMarkup) GetResize

func (m *TLReplyKeyboardMarkup) GetResize() bool

func (*TLReplyKeyboardMarkup) GetRows

func (m *TLReplyKeyboardMarkup) GetRows() []*KeyboardButtonRow

func (*TLReplyKeyboardMarkup) GetSelective

func (m *TLReplyKeyboardMarkup) GetSelective() bool

func (*TLReplyKeyboardMarkup) GetSingleUse

func (m *TLReplyKeyboardMarkup) GetSingleUse() bool

func (*TLReplyKeyboardMarkup) ProtoMessage

func (*TLReplyKeyboardMarkup) ProtoMessage()

func (*TLReplyKeyboardMarkup) Reset

func (m *TLReplyKeyboardMarkup) Reset()

func (*TLReplyKeyboardMarkup) SetResize

func (m *TLReplyKeyboardMarkup) SetResize(v bool)

func (*TLReplyKeyboardMarkup) SetRows

func (m *TLReplyKeyboardMarkup) SetRows(v []*KeyboardButtonRow)

func (*TLReplyKeyboardMarkup) SetSelective

func (m *TLReplyKeyboardMarkup) SetSelective(v bool)

func (*TLReplyKeyboardMarkup) SetSingleUse

func (m *TLReplyKeyboardMarkup) SetSingleUse(v bool)

func (*TLReplyKeyboardMarkup) String

func (m *TLReplyKeyboardMarkup) String() string

func (*TLReplyKeyboardMarkup) To_ReplyMarkup

func (m *TLReplyKeyboardMarkup) To_ReplyMarkup() *ReplyMarkup

replyKeyboardMarkup#3502758c flags:# resize:flags.0?true single_use:flags.1?true selective:flags.2?true rows:Vector<KeyboardButtonRow> = ReplyMarkup;

type TLReqPq

type TLReqPq struct {
	Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// req_pq#60469778 nonce:int128 = ResPQ;

func NewTLReqPq

func NewTLReqPq() *TLReqPq

func (*TLReqPq) Decode

func (m *TLReqPq) Decode(dbuf *DecodeBuf) error

func (*TLReqPq) Descriptor

func (*TLReqPq) Descriptor() ([]byte, []int)

func (*TLReqPq) Encode

func (m *TLReqPq) Encode() []byte

func (*TLReqPq) GetNonce

func (m *TLReqPq) GetNonce() []byte

func (*TLReqPq) ProtoMessage

func (*TLReqPq) ProtoMessage()

func (*TLReqPq) Reset

func (m *TLReqPq) Reset()

func (*TLReqPq) String

func (m *TLReqPq) String() string

type TLReq_DHParams

type TLReq_DHParams struct {
	Nonce                []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce          []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	P                    string `protobuf:"bytes,3,opt,name=p" json:"p,omitempty"`
	Q                    string `protobuf:"bytes,4,opt,name=q" json:"q,omitempty"`
	PublicKeyFingerprint int64  `protobuf:"varint,5,opt,name=public_key_fingerprint,json=publicKeyFingerprint" json:"public_key_fingerprint,omitempty"`
	EncryptedData        string `protobuf:"bytes,6,opt,name=encrypted_data,json=encryptedData" json:"encrypted_data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:string q:string public_key_fingerprint:long encrypted_data:string = Server_DH_Params;

func NewTLReq_DHParams

func NewTLReq_DHParams() *TLReq_DHParams

func (*TLReq_DHParams) Decode

func (m *TLReq_DHParams) Decode(dbuf *DecodeBuf) error

func (*TLReq_DHParams) Descriptor

func (*TLReq_DHParams) Descriptor() ([]byte, []int)

func (*TLReq_DHParams) Encode

func (m *TLReq_DHParams) Encode() []byte

func (*TLReq_DHParams) GetEncryptedData

func (m *TLReq_DHParams) GetEncryptedData() string

func (*TLReq_DHParams) GetNonce

func (m *TLReq_DHParams) GetNonce() []byte

func (*TLReq_DHParams) GetP

func (m *TLReq_DHParams) GetP() string

func (*TLReq_DHParams) GetPublicKeyFingerprint

func (m *TLReq_DHParams) GetPublicKeyFingerprint() int64

func (*TLReq_DHParams) GetQ

func (m *TLReq_DHParams) GetQ() string

func (*TLReq_DHParams) GetServerNonce

func (m *TLReq_DHParams) GetServerNonce() []byte

func (*TLReq_DHParams) ProtoMessage

func (*TLReq_DHParams) ProtoMessage()

func (*TLReq_DHParams) Reset

func (m *TLReq_DHParams) Reset()

func (*TLReq_DHParams) String

func (m *TLReq_DHParams) String() string

type TLResPQ

type TLResPQ struct {
	Data2 *ResPQ_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector<long> = ResPQ;

func NewTLResPQ

func NewTLResPQ() *TLResPQ

func (*TLResPQ) Decode

func (m *TLResPQ) Decode(dbuf *DecodeBuf) error

func (*TLResPQ) Descriptor

func (*TLResPQ) Descriptor() ([]byte, []int)

func (*TLResPQ) Encode

func (m *TLResPQ) Encode() []byte

func (*TLResPQ) GetData2

func (m *TLResPQ) GetData2() *ResPQ_Data

func (*TLResPQ) GetNonce

func (m *TLResPQ) GetNonce() []byte

func (*TLResPQ) GetPq

func (m *TLResPQ) GetPq() string

func (*TLResPQ) GetServerNonce

func (m *TLResPQ) GetServerNonce() []byte

func (*TLResPQ) GetServerPublicKeyFingerprints

func (m *TLResPQ) GetServerPublicKeyFingerprints() []int64

func (*TLResPQ) ProtoMessage

func (*TLResPQ) ProtoMessage()

func (*TLResPQ) Reset

func (m *TLResPQ) Reset()

func (*TLResPQ) SetNonce

func (m *TLResPQ) SetNonce(v []byte)

func (*TLResPQ) SetPq

func (m *TLResPQ) SetPq(v string)

func (*TLResPQ) SetServerNonce

func (m *TLResPQ) SetServerNonce(v []byte)

func (*TLResPQ) SetServerPublicKeyFingerprints

func (m *TLResPQ) SetServerPublicKeyFingerprints(v []int64)

func (*TLResPQ) String

func (m *TLResPQ) String() string

func (*TLResPQ) To_ResPQ

func (m *TLResPQ) To_ResPQ() *ResPQ

resPQ#05162463 nonce:int128 server_nonce:int128 pq:string server_public_key_fingerprints:Vector<long> = ResPQ;

type TLRpcAnswerDropped

type TLRpcAnswerDropped struct {
	Data2 *RpcDropAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer;

func NewTLRpcAnswerDropped

func NewTLRpcAnswerDropped() *TLRpcAnswerDropped

func (*TLRpcAnswerDropped) Decode

func (m *TLRpcAnswerDropped) Decode(dbuf *DecodeBuf) error

func (*TLRpcAnswerDropped) Descriptor

func (*TLRpcAnswerDropped) Descriptor() ([]byte, []int)

func (*TLRpcAnswerDropped) Encode

func (m *TLRpcAnswerDropped) Encode() []byte

func (*TLRpcAnswerDropped) GetBytes

func (m *TLRpcAnswerDropped) GetBytes() int32

func (*TLRpcAnswerDropped) GetData2

func (m *TLRpcAnswerDropped) GetData2() *RpcDropAnswer_Data

func (*TLRpcAnswerDropped) GetMsgId

func (m *TLRpcAnswerDropped) GetMsgId() int64

func (*TLRpcAnswerDropped) GetSeqNo

func (m *TLRpcAnswerDropped) GetSeqNo() int32

func (*TLRpcAnswerDropped) ProtoMessage

func (*TLRpcAnswerDropped) ProtoMessage()

func (*TLRpcAnswerDropped) Reset

func (m *TLRpcAnswerDropped) Reset()

func (*TLRpcAnswerDropped) SetBytes

func (m *TLRpcAnswerDropped) SetBytes(v int32)

func (*TLRpcAnswerDropped) SetMsgId

func (m *TLRpcAnswerDropped) SetMsgId(v int64)

func (*TLRpcAnswerDropped) SetSeqNo

func (m *TLRpcAnswerDropped) SetSeqNo(v int32)

func (*TLRpcAnswerDropped) String

func (m *TLRpcAnswerDropped) String() string

func (*TLRpcAnswerDropped) To_RpcDropAnswer

func (m *TLRpcAnswerDropped) To_RpcDropAnswer() *RpcDropAnswer

rpc_answer_dropped#a43ad8b7 msg_id:long seq_no:int bytes:int = RpcDropAnswer;

type TLRpcAnswerDroppedRunning

type TLRpcAnswerDroppedRunning struct {
	Data2 *RpcDropAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

rpc_answer_dropped_running#cd78e586 = RpcDropAnswer;

func NewTLRpcAnswerDroppedRunning

func NewTLRpcAnswerDroppedRunning() *TLRpcAnswerDroppedRunning

func (*TLRpcAnswerDroppedRunning) Decode

func (m *TLRpcAnswerDroppedRunning) Decode(dbuf *DecodeBuf) error

func (*TLRpcAnswerDroppedRunning) Descriptor

func (*TLRpcAnswerDroppedRunning) Descriptor() ([]byte, []int)

func (*TLRpcAnswerDroppedRunning) Encode

func (m *TLRpcAnswerDroppedRunning) Encode() []byte

func (*TLRpcAnswerDroppedRunning) GetData2

func (*TLRpcAnswerDroppedRunning) ProtoMessage

func (*TLRpcAnswerDroppedRunning) ProtoMessage()

func (*TLRpcAnswerDroppedRunning) Reset

func (m *TLRpcAnswerDroppedRunning) Reset()

func (*TLRpcAnswerDroppedRunning) String

func (m *TLRpcAnswerDroppedRunning) String() string

func (*TLRpcAnswerDroppedRunning) To_RpcDropAnswer

func (m *TLRpcAnswerDroppedRunning) To_RpcDropAnswer() *RpcDropAnswer

rpc_answer_dropped_running#cd78e586 = RpcDropAnswer;

type TLRpcAnswerUnknown

type TLRpcAnswerUnknown struct {
	Data2 *RpcDropAnswer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

rpc_answer_unknown#5e2ad36e = RpcDropAnswer;

func NewTLRpcAnswerUnknown

func NewTLRpcAnswerUnknown() *TLRpcAnswerUnknown

func (*TLRpcAnswerUnknown) Decode

func (m *TLRpcAnswerUnknown) Decode(dbuf *DecodeBuf) error

func (*TLRpcAnswerUnknown) Descriptor

func (*TLRpcAnswerUnknown) Descriptor() ([]byte, []int)

func (*TLRpcAnswerUnknown) Encode

func (m *TLRpcAnswerUnknown) Encode() []byte

func (*TLRpcAnswerUnknown) GetData2

func (m *TLRpcAnswerUnknown) GetData2() *RpcDropAnswer_Data

func (*TLRpcAnswerUnknown) ProtoMessage

func (*TLRpcAnswerUnknown) ProtoMessage()

func (*TLRpcAnswerUnknown) Reset

func (m *TLRpcAnswerUnknown) Reset()

func (*TLRpcAnswerUnknown) String

func (m *TLRpcAnswerUnknown) String() string

func (*TLRpcAnswerUnknown) To_RpcDropAnswer

func (m *TLRpcAnswerUnknown) To_RpcDropAnswer() *RpcDropAnswer

rpc_answer_unknown#5e2ad36e = RpcDropAnswer;

type TLRpcDropAnswer

type TLRpcDropAnswer struct {
	ReqMsgId int64 `protobuf:"varint,1,opt,name=req_msg_id,json=reqMsgId" json:"req_msg_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// rpc_drop_answer#58e4a740 req_msg_id:long = RpcDropAnswer;

func NewTLRpcDropAnswer

func NewTLRpcDropAnswer() *TLRpcDropAnswer

func (*TLRpcDropAnswer) Decode

func (m *TLRpcDropAnswer) Decode(dbuf *DecodeBuf) error

func (*TLRpcDropAnswer) Descriptor

func (*TLRpcDropAnswer) Descriptor() ([]byte, []int)

func (*TLRpcDropAnswer) Encode

func (m *TLRpcDropAnswer) Encode() []byte

func (*TLRpcDropAnswer) GetReqMsgId

func (m *TLRpcDropAnswer) GetReqMsgId() int64

func (*TLRpcDropAnswer) ProtoMessage

func (*TLRpcDropAnswer) ProtoMessage()

func (*TLRpcDropAnswer) Reset

func (m *TLRpcDropAnswer) Reset()

func (*TLRpcDropAnswer) String

func (m *TLRpcDropAnswer) String() string

type TLRpcError

type TLRpcError struct {
	Data2 *RpcError_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

rpc_error#2144ca19 error_code:int error_message:string = RpcError;

func NewFileMigrateX

func NewFileMigrateX(dc int32, message string) *TLRpcError

FILE_MIGRATE_X = 303000; PHONE_MIGRATE_X = 303001; NETWORK_MIGRATE_X = 303002; USER_MIGRATE_X = 303003;

ERROR_SEE_OTHER code has _X is dc number, We use custom NewXXXX()

func NewFileMigrateX2

func NewFileMigrateX2(dc int) *TLRpcError

func NewFloodWaitX

func NewFloodWaitX(second int32, message string) *TLRpcError

FLOOD_WAIT_X: A wait of X seconds is required (where X is a number)

func NewFloodWaitX2

func NewFloodWaitX2(second int) *TLRpcError

func NewNetworkMigrateX

func NewNetworkMigrateX(dc int32, message string) *TLRpcError

func NewNetworkMigrateX2

func NewNetworkMigrateX2(dc int) *TLRpcError

func NewPhoneMigrateX

func NewPhoneMigrateX(dc int32, message string) *TLRpcError

func NewPhoneMigrateX2

func NewPhoneMigrateX2(dc int) *TLRpcError

func NewRpcError

func NewRpcError(code int32, message string) (err *TLRpcError)

normal code NewXXX

func NewRpcError2

func NewRpcError2(code TLRpcErrorCodes) (err *TLRpcError)

normal code NewXXX

func NewTLRpcError

func NewTLRpcError() *TLRpcError

func NewUserMigrateX

func NewUserMigrateX(dc int32, message string) *TLRpcError

func NewUserMigrateX2

func NewUserMigrateX2(dc int32) *TLRpcError

func (*TLRpcError) Decode

func (m *TLRpcError) Decode(dbuf *DecodeBuf) error

func (*TLRpcError) Descriptor

func (*TLRpcError) Descriptor() ([]byte, []int)

func (*TLRpcError) Encode

func (m *TLRpcError) Encode() []byte

func (*TLRpcError) Error

func (e *TLRpcError) Error() string

Impl error interface

func (*TLRpcError) GetData2

func (m *TLRpcError) GetData2() *RpcError_Data

func (*TLRpcError) GetErrorCode

func (m *TLRpcError) GetErrorCode() int32

func (*TLRpcError) GetErrorMessage

func (m *TLRpcError) GetErrorMessage() string

func (*TLRpcError) ProtoMessage

func (*TLRpcError) ProtoMessage()

func (*TLRpcError) Reset

func (m *TLRpcError) Reset()

func (*TLRpcError) SetErrorCode

func (m *TLRpcError) SetErrorCode(v int32)

func (*TLRpcError) SetErrorMessage

func (m *TLRpcError) SetErrorMessage(v string)

func (*TLRpcError) String

func (m *TLRpcError) String() string

func (*TLRpcError) ToGrpcStatus

func (e *TLRpcError) ToGrpcStatus() *status.Status

Impl error interface

func (*TLRpcError) To_RpcError

func (m *TLRpcError) To_RpcError() *RpcError

rpc_error#2144ca19 error_code:int error_message:string = RpcError;

type TLRpcErrorCodes

type TLRpcErrorCodes int32
const (
	// 	Error handling
	//
	// 	There will be errors when working with the API, and they must be correctly handled on the client.
	//
	// 	An error is characterized by several parameters:
	//
	// 	Error Code
	// 	Similar to HTTP status. Contains information on the type of error that occurred: for example,
	// 	a data input error, privacy error, or server error. This is a required parameter.
	//
	// 	Error Type
	// 	A string literal in the form of /[A-Z_0-9]+/, which summarizes the problem. For example, AUTH_KEY_UNREGISTERED.
	// 	This is an optional parameter.
	//
	// 	Error Description
	// 	May contain more detailed information on the error and how to resolve it,
	// 	for example: authorization required, use auth.* methods. Please note that the description text is subject to change,
	// 	one should avoid tying application logic to these messages. This is an optional parameter.
	//
	// 	Error Constructors
	// 	There should be a way to handle errors that are returned in rpc_error constructors.
	//
	// 	If an error constructor does not differentiate between type and description
	// 	but instead contains a single field called error_message (as in the example above),
	// 	it must be split into 2 components, for example, using the following regular expression: /^([A-Z_0-9]+)(: (.+))?/.
	//
	// Protobuf3 enum first is 0
	TLRpcErrorCodes_ERROR_CODE_OK TLRpcErrorCodes = 0
	// The request must be repeated, but directed to a different data center.
	//
	// FILE_MIGRATE_X: the file to be accessed is currently stored in a different data center.
	// PHONE_MIGRATE_X: the phone number a user is trying to use for authorization is associated with a different data center.
	// NETWORK_MIGRATE_X: the source IP address is associated with a different data center (for registration)
	// USER_MIGRATE_X: the user whose identity is being used to execute
	// 				   queries is associated with a different data center (for registration)
	//
	// In all these cases, the error description’s string literal
	// 		contains the number of the data center (instead of the X) to which the repeated query must be sent.
	// More information about redirects between data centers »
	//
	TLRpcErrorCodes_FILE_MIGRATE_X    TLRpcErrorCodes = 303000
	TLRpcErrorCodes_PHONE_MIGRATE_X   TLRpcErrorCodes = 303001
	TLRpcErrorCodes_NETWORK_MIGRATE_X TLRpcErrorCodes = 303002
	TLRpcErrorCodes_USER_MIGRATE_X    TLRpcErrorCodes = 303003
	TLRpcErrorCodes_ERROR_SEE_OTHER   TLRpcErrorCodes = 303
	// The query contains errors. In the event that a request was created using a form
	// and contains user generated data,
	// the user should be notified that the data must be corrected before the query is repeated.
	//
	//
	// Examples of Errors:
	// 	FIRSTNAME_INVALID: The first name is invalid
	// 	LASTNAME_INVALID: The last name is invalid
	// 	PHONE_NUMBER_INVALID: The phone number is invalid
	// 	PHONE_CODE_HASH_EMPTY: phone_code_hash is missing
	// 	PHONE_CODE_EMPTY: phone_code is missing
	// 	PHONE_CODE_EXPIRED: The confirmation code has expired
	// 	API_ID_INVALID: The api_id/api_hash combination is invalid
	// 	PHONE_NUMBER_OCCUPIED: The phone number is already in use
	// 	PHONE_NUMBER_UNOCCUPIED: The phone number is not yet being used
	// 	USERS_TOO_FEW: Not enough users (to create a chat, for example)
	// 	USERS_TOO_MUCH: The maximum number of users has been exceeded (to create a chat, for example)
	// 	TYPE_CONSTRUCTOR_INVALID: The type constructor is invalid
	// 	FILE_PART_INVALID: The file part number is invalid
	// 	FILE_PARTS_INVALID: The number of file parts is invalid
	// 	FILE_PART_Х_MISSING: Part X (where X is a number) of the file is missing from storage
	// 	MD5_CHECKSUM_INVALID: The MD5 checksums do not match
	// 	PHOTO_INVALID_DIMENSIONS: The photo dimensions are invalid
	// 	FIELD_NAME_INVALID: The field with the name FIELD_NAME is invalid
	// 	FIELD_NAME_EMPTY: The field with the name FIELD_NAME is missing
	// 	MSG_WAIT_FAILED: A waiting call returned an error
	//
	TLRpcErrorCodes_FIRSTNAME_INVALID        TLRpcErrorCodes = 400000
	TLRpcErrorCodes_LASTNAME_INVALID         TLRpcErrorCodes = 400001
	TLRpcErrorCodes_PHONE_NUMBER_INVALID     TLRpcErrorCodes = 400002
	TLRpcErrorCodes_PHONE_CODE_HASH_EMPTY    TLRpcErrorCodes = 400003
	TLRpcErrorCodes_PHONE_CODE_EMPTY         TLRpcErrorCodes = 400004
	TLRpcErrorCodes_PHONE_CODE_EXPIRED       TLRpcErrorCodes = 400005
	TLRpcErrorCodes_API_ID_INVALID           TLRpcErrorCodes = 400006
	TLRpcErrorCodes_PHONE_NUMBER_OCCUPIED    TLRpcErrorCodes = 400007
	TLRpcErrorCodes_PHONE_NUMBER_UNOCCUPIED  TLRpcErrorCodes = 400008
	TLRpcErrorCodes_USERS_TOO_FEW            TLRpcErrorCodes = 400009
	TLRpcErrorCodes_USERS_TOO_MUCH           TLRpcErrorCodes = 400010
	TLRpcErrorCodes_TYPE_CONSTRUCTOR_INVALID TLRpcErrorCodes = 400011
	TLRpcErrorCodes_FILE_PART_INVALID        TLRpcErrorCodes = 400012
	TLRpcErrorCodes_FILE_PART_X_MISSING      TLRpcErrorCodes = 400013
	TLRpcErrorCodes_MD5_CHECKSUM_INVALID     TLRpcErrorCodes = 400014
	TLRpcErrorCodes_PHOTO_INVALID_DIMENSIONS TLRpcErrorCodes = 400015
	TLRpcErrorCodes_FIELD_NAME_INVALID       TLRpcErrorCodes = 400016
	TLRpcErrorCodes_FIELD_NAME_EMPTY         TLRpcErrorCodes = 400017
	TLRpcErrorCodes_MSG_WAIT_FAILED          TLRpcErrorCodes = 400018
	// android client code:
	//    if (error.code == 400 && "PARTICIPANT_VERSION_OUTDATED".equals(error.text)) {
	//        callFailed(VoIPController.ERROR_PEER_OUTDATED);
	TLRpcErrorCodes_PARTICIPANT_VERSION_OUTDATED TLRpcErrorCodes = 400019
	//
	TLRpcErrorCodes_PHONE_CODE_INVALID      TLRpcErrorCodes = 400020
	TLRpcErrorCodes_PHONE_NUMBER_BANNED     TLRpcErrorCodes = 400030
	TLRpcErrorCodes_SESSION_PASSWORD_NEEDED TLRpcErrorCodes = 400040
	// password
	TLRpcErrorCodes_CODE_INVALID          TLRpcErrorCodes = 400050
	TLRpcErrorCodes_PASSWORD_HASH_INVALID TLRpcErrorCodes = 400051
	TLRpcErrorCodes_NEW_PASSWORD_BAD      TLRpcErrorCodes = 400052
	TLRpcErrorCodes_NEW_SALT_INVALID      TLRpcErrorCodes = 400053
	TLRpcErrorCodes_EMAIL_INVALID         TLRpcErrorCodes = 400054
	TLRpcErrorCodes_EMAIL_UNCONFIRMED     TLRpcErrorCodes = 400055
	// username
	TLRpcErrorCodes_USERNAME_INVALID      TLRpcErrorCodes = 400060
	TLRpcErrorCodes_USERNAME_OCCUPIED     TLRpcErrorCodes = 400061
	TLRpcErrorCodes_USERNAMES_UNAVAILABLE TLRpcErrorCodes = 400062
	// chat
	TLRpcErrorCodes_CHAT_ID_INVALID         TLRpcErrorCodes = 400070
	TLRpcErrorCodes_CHAT_NOT_MODIFIED       TLRpcErrorCodes = 400071
	TLRpcErrorCodes_PARTICIPANT_NOT_EXISTS  TLRpcErrorCodes = 400072
	TLRpcErrorCodes_NO_EDIT_CHAT_PERMISSION TLRpcErrorCodes = 400073
	//
	TLRpcErrorCodes_BAD_REQUEST TLRpcErrorCodes = 400
	// There was an unauthorized attempt to use functionality available only to authorized users.
	//
	// Examples of Errors:
	// 	AUTH_KEY_UNREGISTERED: The key is not registered in the system
	// 	AUTH_KEY_INVALID: The key is invalid
	// 	USER_DEACTIVATED: The user has been deleted/deactivated
	// 	SESSION_REVOKED: The authorization has been invalidated, because of the user terminating all sessions
	// 	SESSION_EXPIRED: The authorization has expired
	// 	ACTIVE_USER_REQUIRED: The method is only available to already activated users
	// 	AUTH_KEY_PERM_EMPTY: The method is unavailble for temporary authorization key, not bound to permanent
	//
	TLRpcErrorCodes_AUTH_KEY_UNREGISTERED TLRpcErrorCodes = 401000
	TLRpcErrorCodes_AUTH_KEY_INVALID      TLRpcErrorCodes = 401001
	TLRpcErrorCodes_USER_DEACTIVATED      TLRpcErrorCodes = 401002
	TLRpcErrorCodes_SESSION_REVOKED       TLRpcErrorCodes = 401003
	TLRpcErrorCodes_SESSION_EXPIRED       TLRpcErrorCodes = 401004
	TLRpcErrorCodes_ACTIVE_USER_REQUIRED  TLRpcErrorCodes = 401005
	TLRpcErrorCodes_AUTH_KEY_PERM_EMPTY   TLRpcErrorCodes = 401006
	// Only a small portion of the API methods are available to unauthorized users:
	//
	// auth.sendCode
	// auth.sendCall
	// auth.checkPhone
	// auth.signUp
	// auth.signIn
	// auth.importAuthorization
	// help.getConfig
	// help.getNearestDc
	//
	// Other methods will result in an error: 401 UNAUTHORIZED.
	TLRpcErrorCodes_UNAUTHORIZED TLRpcErrorCodes = 401
	// Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user.
	//
	//
	// android client code:
	//    } else if(error.code==403 && "USER_PRIVACY_RESTRICTED".equals(error.text)){
	//        callFailed(VoIPController.ERROR_PRIVACY);
	TLRpcErrorCodes_USER_PRIVACY_RESTRICTED TLRpcErrorCodes = 403000
	TLRpcErrorCodes_FORBIDDEN               TLRpcErrorCodes = 403
	// 406
	// android client code:
	// }else if(error.code==406){
	//     callFailed(VoIPController.ERROR_LOCALIZED);
	TLRpcErrorCodes_ERROR_LOCALIZED TLRpcErrorCodes = 406000
	TLRpcErrorCodes_LOCALIZED       TLRpcErrorCodes = 406
	// The maximum allowed number of attempts to invoke the given method with the given input parameters has been exceeded.
	// For example, in an attempt to request a large number of text messages (SMS) for the same phone number.
	//
	// Error Example:
	// FLOOD_WAIT_X: A wait of X seconds is required (where X is a number)
	//
	TLRpcErrorCodes_FLOOD_WAIT_X TLRpcErrorCodes = 420000
	// PEER_FLOOD
	// FLOOD_WAIT
	TLRpcErrorCodes_FLOOD TLRpcErrorCodes = 420
	// An internal server error occurred while a request was being processed;
	// for example, there was a disruption while accessing a database or file storage.
	//
	// If a client receives a 500 error, or you believe this error should not have occurred,
	// please collect as much information as possible about the query and error and send it to the developers.
	TLRpcErrorCodes_INTERNAL              TLRpcErrorCodes = 500
	TLRpcErrorCodes_INTERNAL_SERVER_ERROR TLRpcErrorCodes = 500000
	// If a server returns an error with a code other than the ones listed above,
	// it may be considered the same as a 500 error and treated as an internal server error.
	//
	TLRpcErrorCodes_OTHER TLRpcErrorCodes = 501
	//    // OFFSET_INVALID
	//    // RETRY_LIMIT
	//    // FILE_TOKEN_INVALID
	//    // REQUEST_TOKEN_INVALID
	//
	//    // CHANNEL_PRIVATE
	//    // CHANNEL_PUBLIC_GROUP_NA
	//    // USER_BANNED_IN_CHANNEL
	//
	//
	//    // MESSAGE_NOT_MODIFIED
	//
	//    // USERS_TOO_MUCH
	//
	//    // -1000
	//
	//    /////////////////////////////////////////////////////////////
	//     // android client code:
	//       } else if (request instanceof TLRPC.TL_auth_resendCode) {
	//        if (error.text.contains("PHONE_NUMBER_INVALID")) {
	//            showSimpleAlert(fragment, LocaleController.getString("InvalidPhoneNumber", R.string.InvalidPhoneNumber));
	//        } else if (error.text.contains("PHONE_CODE_EMPTY") || error.text.contains("PHONE_CODE_INVALID")) {
	//            showSimpleAlert(fragment, LocaleController.getString("InvalidCode", R.string.InvalidCode));
	//        } else if (error.text.contains("PHONE_CODE_EXPIRED")) {
	//            showSimpleAlert(fragment, LocaleController.getString("CodeExpired", R.string.CodeExpired));
	//        } else if (error.text.startsWith("FLOOD_WAIT")) {
	//            showSimpleAlert(fragment, LocaleController.getString("FloodWait", R.string.FloodWait));
	//        } else if (error.code != -1000) {
	//            showSimpleAlert(fragment, LocaleController.getString("ErrorOccurred", R.string.ErrorOccurred) + "\n" + error.text);
	//        }
	//
	//     /////////////////////////////////////////////////////////////
	//        } else if (request instanceof TLRPC.TL_updateUserName) {
	//            switch (error.text) {
	//                case "USERNAME_INVALID":
	//                    showSimpleAlert(fragment, LocaleController.getString("UsernameInvalid", R.string.UsernameInvalid));
	//                    break;
	//                case "USERNAME_OCCUPIED":
	//                    showSimpleAlert(fragment, LocaleController.getString("UsernameInUse", R.string.UsernameInUse));
	//                    break;
	//                case "USERNAMES_UNAVAILABLE":
	//                    showSimpleAlert(fragment, LocaleController.getString("FeatureUnavailable", R.string.FeatureUnavailable));
	//                    break;
	//                default:
	//                    showSimpleAlert(fragment, LocaleController.getString("ErrorOccurred", R.string.ErrorOccurred));
	//                    break;
	//            }
	//
	//     /////////////////////////////////////////////////////////////
	//            } else if (request instanceof TLRPC.TL_payments_sendPaymentForm) {
	//            switch (error.text) {
	//                case "BOT_PRECHECKOUT_FAILED":
	//                    showSimpleToast(fragment, LocaleController.getString("PaymentPrecheckoutFailed", R.string.PaymentPrecheckoutFailed));
	//                    break;
	//                case "PAYMENT_FAILED":
	//                    showSimpleToast(fragment, LocaleController.getString("PaymentFailed", R.string.PaymentFailed));
	//                    break;
	//                default:
	//                    showSimpleToast(fragment, error.text);
	//                    break;
	//            }
	//        } else if (request instanceof TLRPC.TL_payments_validateRequestedInfo) {
	//            switch (error.text) {
	//                case "SHIPPING_NOT_AVAILABLE":
	//                    showSimpleToast(fragment, LocaleController.getString("PaymentNoShippingMethod", R.string.PaymentNoShippingMethod));
	//                    break;
	//                default:
	//                    showSimpleToast(fragment, error.text);
	//                    break;
	//            }
	//        }
	//
	//     /////////////////////////////////////////////////////////////
	//
	//        } else {
	//            if (error.text.equals("2FA_RECENT_CONFIRM")) {
	//                needShowAlert(LocaleController.getString("AppName", R.string.AppName), LocaleController.getString("ResetAccountCancelledAlert", R.string.ResetAccountCancelledAlert));
	//            } else if (error.text.startsWith("2FA_CONFIRM_WAIT_")) {
	//                Bundle params = new Bundle();
	//                params.putString("phoneFormated", requestPhone);
	//                params.putString("phoneHash", phoneHash);
	//                params.putString("code", phoneCode);
	//                params.putInt("startTime", ConnectionsManager.getInstance().getCurrentTime());
	//                params.putInt("waitTime", Utilities.parseInt(error.text.replace("2FA_CONFIRM_WAIT_", "")));
	//                setPage(8, true, params, false);
	//            } else {
	TLRpcErrorCodes_OTHER2 TLRpcErrorCodes = 502
	// db error
	TLRpcErrorCodes_DBERR      TLRpcErrorCodes = 600
	TLRpcErrorCodes_DBERR_SQL  TLRpcErrorCodes = 600000
	TLRpcErrorCodes_DBERR_CONN TLRpcErrorCodes = 600001
	// db error
	TLRpcErrorCodes_NOTRETURN_CLIENT TLRpcErrorCodes = 700
)

func (TLRpcErrorCodes) EnumDescriptor

func (TLRpcErrorCodes) EnumDescriptor() ([]byte, []int)

func (TLRpcErrorCodes) String

func (x TLRpcErrorCodes) String() string

type TLRpcResult

type TLRpcResult struct {
	ReqMsgId int64
	Result   TLObject
}

///////////////////////////////////////////////////////////////////////////// rpc_result#f35c6d01 req_msg_id:long result:Object = RpcResult; // parsed manually

func (*TLRpcResult) Decode

func (m *TLRpcResult) Decode(dbuf *DecodeBuf) error

func (*TLRpcResult) Encode

func (m *TLRpcResult) Encode() []byte

func (*TLRpcResult) String

func (m *TLRpcResult) String() string

type TLScheme

type TLScheme struct {
	Data2 *Scheme_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

scheme#4e6ef65e scheme_raw:string types:Vector<SchemeType> methods:Vector<SchemeMethod> version:int = Scheme;

func NewTLScheme

func NewTLScheme() *TLScheme

func (*TLScheme) Decode

func (m *TLScheme) Decode(dbuf *DecodeBuf) error

func (*TLScheme) Descriptor

func (*TLScheme) Descriptor() ([]byte, []int)

func (*TLScheme) Encode

func (m *TLScheme) Encode() []byte

func (*TLScheme) GetData2

func (m *TLScheme) GetData2() *Scheme_Data

func (*TLScheme) GetMethods

func (m *TLScheme) GetMethods() []*SchemeMethod

func (*TLScheme) GetSchemeRaw

func (m *TLScheme) GetSchemeRaw() string

func (*TLScheme) GetTypes

func (m *TLScheme) GetTypes() []*SchemeType

func (*TLScheme) GetVersion

func (m *TLScheme) GetVersion() int32

func (*TLScheme) ProtoMessage

func (*TLScheme) ProtoMessage()

func (*TLScheme) Reset

func (m *TLScheme) Reset()

func (*TLScheme) SetMethods

func (m *TLScheme) SetMethods(v []*SchemeMethod)

func (*TLScheme) SetSchemeRaw

func (m *TLScheme) SetSchemeRaw(v string)

func (*TLScheme) SetTypes

func (m *TLScheme) SetTypes(v []*SchemeType)

func (*TLScheme) SetVersion

func (m *TLScheme) SetVersion(v int32)

func (*TLScheme) String

func (m *TLScheme) String() string

func (*TLScheme) To_Scheme

func (m *TLScheme) To_Scheme() *Scheme

scheme#4e6ef65e scheme_raw:string types:Vector<SchemeType> methods:Vector<SchemeMethod> version:int = Scheme;

type TLSchemeMethod

type TLSchemeMethod struct {
	Data2 *SchemeMethod_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

schemeMethod#479357c0 id:int method:string params:Vector<SchemeParam> type:string = SchemeMethod;

func NewTLSchemeMethod

func NewTLSchemeMethod() *TLSchemeMethod

func (*TLSchemeMethod) Decode

func (m *TLSchemeMethod) Decode(dbuf *DecodeBuf) error

func (*TLSchemeMethod) Descriptor

func (*TLSchemeMethod) Descriptor() ([]byte, []int)

func (*TLSchemeMethod) Encode

func (m *TLSchemeMethod) Encode() []byte

func (*TLSchemeMethod) GetData2

func (m *TLSchemeMethod) GetData2() *SchemeMethod_Data

func (*TLSchemeMethod) GetId

func (m *TLSchemeMethod) GetId() int32

func (*TLSchemeMethod) GetMethod

func (m *TLSchemeMethod) GetMethod() string

func (*TLSchemeMethod) GetParams

func (m *TLSchemeMethod) GetParams() []*SchemeParam

func (*TLSchemeMethod) GetType

func (m *TLSchemeMethod) GetType() string

func (*TLSchemeMethod) ProtoMessage

func (*TLSchemeMethod) ProtoMessage()

func (*TLSchemeMethod) Reset

func (m *TLSchemeMethod) Reset()

func (*TLSchemeMethod) SetId

func (m *TLSchemeMethod) SetId(v int32)

func (*TLSchemeMethod) SetMethod

func (m *TLSchemeMethod) SetMethod(v string)

func (*TLSchemeMethod) SetParams

func (m *TLSchemeMethod) SetParams(v []*SchemeParam)

func (*TLSchemeMethod) SetType

func (m *TLSchemeMethod) SetType(v string)

func (*TLSchemeMethod) String

func (m *TLSchemeMethod) String() string

func (*TLSchemeMethod) To_SchemeMethod

func (m *TLSchemeMethod) To_SchemeMethod() *SchemeMethod

schemeMethod#479357c0 id:int method:string params:Vector<SchemeParam> type:string = SchemeMethod;

type TLSchemeNotModified

type TLSchemeNotModified struct {
	Data2 *Scheme_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

schemeNotModified#263c9c58 = Scheme;

func NewTLSchemeNotModified

func NewTLSchemeNotModified() *TLSchemeNotModified

func (*TLSchemeNotModified) Decode

func (m *TLSchemeNotModified) Decode(dbuf *DecodeBuf) error

func (*TLSchemeNotModified) Descriptor

func (*TLSchemeNotModified) Descriptor() ([]byte, []int)

func (*TLSchemeNotModified) Encode

func (m *TLSchemeNotModified) Encode() []byte

func (*TLSchemeNotModified) GetData2

func (m *TLSchemeNotModified) GetData2() *Scheme_Data

func (*TLSchemeNotModified) ProtoMessage

func (*TLSchemeNotModified) ProtoMessage()

func (*TLSchemeNotModified) Reset

func (m *TLSchemeNotModified) Reset()

func (*TLSchemeNotModified) String

func (m *TLSchemeNotModified) String() string

func (*TLSchemeNotModified) To_Scheme

func (m *TLSchemeNotModified) To_Scheme() *Scheme

schemeNotModified#263c9c58 = Scheme;

type TLSchemeParam

type TLSchemeParam struct {
	Data2 *SchemeParam_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

schemeParam#21b59bef name:string type:string = SchemeParam;

func NewTLSchemeParam

func NewTLSchemeParam() *TLSchemeParam

func (*TLSchemeParam) Decode

func (m *TLSchemeParam) Decode(dbuf *DecodeBuf) error

func (*TLSchemeParam) Descriptor

func (*TLSchemeParam) Descriptor() ([]byte, []int)

func (*TLSchemeParam) Encode

func (m *TLSchemeParam) Encode() []byte

func (*TLSchemeParam) GetData2

func (m *TLSchemeParam) GetData2() *SchemeParam_Data

func (*TLSchemeParam) GetName

func (m *TLSchemeParam) GetName() string

func (*TLSchemeParam) GetType

func (m *TLSchemeParam) GetType() string

func (*TLSchemeParam) ProtoMessage

func (*TLSchemeParam) ProtoMessage()

func (*TLSchemeParam) Reset

func (m *TLSchemeParam) Reset()

func (*TLSchemeParam) SetName

func (m *TLSchemeParam) SetName(v string)

func (*TLSchemeParam) SetType

func (m *TLSchemeParam) SetType(v string)

func (*TLSchemeParam) String

func (m *TLSchemeParam) String() string

func (*TLSchemeParam) To_SchemeParam

func (m *TLSchemeParam) To_SchemeParam() *SchemeParam

schemeParam#21b59bef name:string type:string = SchemeParam;

type TLSchemeType

type TLSchemeType struct {
	Data2 *SchemeType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

schemeType#a8e1e989 id:int predicate:string params:Vector<SchemeParam> type:string = SchemeType;

func NewTLSchemeType

func NewTLSchemeType() *TLSchemeType

func (*TLSchemeType) Decode

func (m *TLSchemeType) Decode(dbuf *DecodeBuf) error

func (*TLSchemeType) Descriptor

func (*TLSchemeType) Descriptor() ([]byte, []int)

func (*TLSchemeType) Encode

func (m *TLSchemeType) Encode() []byte

func (*TLSchemeType) GetData2

func (m *TLSchemeType) GetData2() *SchemeType_Data

func (*TLSchemeType) GetId

func (m *TLSchemeType) GetId() int32

func (*TLSchemeType) GetParams

func (m *TLSchemeType) GetParams() []*SchemeParam

func (*TLSchemeType) GetPredicate

func (m *TLSchemeType) GetPredicate() string

func (*TLSchemeType) GetType

func (m *TLSchemeType) GetType() string

func (*TLSchemeType) ProtoMessage

func (*TLSchemeType) ProtoMessage()

func (*TLSchemeType) Reset

func (m *TLSchemeType) Reset()

func (*TLSchemeType) SetId

func (m *TLSchemeType) SetId(v int32)

func (*TLSchemeType) SetParams

func (m *TLSchemeType) SetParams(v []*SchemeParam)

func (*TLSchemeType) SetPredicate

func (m *TLSchemeType) SetPredicate(v string)

func (*TLSchemeType) SetType

func (m *TLSchemeType) SetType(v string)

func (*TLSchemeType) String

func (m *TLSchemeType) String() string

func (*TLSchemeType) To_SchemeType

func (m *TLSchemeType) To_SchemeType() *SchemeType

schemeType#a8e1e989 id:int predicate:string params:Vector<SchemeParam> type:string = SchemeType;

type TLSendMessageCancelAction

type TLSendMessageCancelAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageCancelAction#fd5ec8f5 = SendMessageAction;

func NewTLSendMessageCancelAction

func NewTLSendMessageCancelAction() *TLSendMessageCancelAction

func (*TLSendMessageCancelAction) Decode

func (m *TLSendMessageCancelAction) Decode(dbuf *DecodeBuf) error

func (*TLSendMessageCancelAction) Descriptor

func (*TLSendMessageCancelAction) Descriptor() ([]byte, []int)

func (*TLSendMessageCancelAction) Encode

func (m *TLSendMessageCancelAction) Encode() []byte

func (*TLSendMessageCancelAction) GetData2

func (*TLSendMessageCancelAction) ProtoMessage

func (*TLSendMessageCancelAction) ProtoMessage()

func (*TLSendMessageCancelAction) Reset

func (m *TLSendMessageCancelAction) Reset()

func (*TLSendMessageCancelAction) String

func (m *TLSendMessageCancelAction) String() string

func (*TLSendMessageCancelAction) To_SendMessageAction

func (m *TLSendMessageCancelAction) To_SendMessageAction() *SendMessageAction

sendMessageCancelAction#fd5ec8f5 = SendMessageAction;

type TLSendMessageChooseContactAction

type TLSendMessageChooseContactAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageChooseContactAction#628cbc6f = SendMessageAction;

func NewTLSendMessageChooseContactAction

func NewTLSendMessageChooseContactAction() *TLSendMessageChooseContactAction

func (*TLSendMessageChooseContactAction) Decode

func (*TLSendMessageChooseContactAction) Descriptor

func (*TLSendMessageChooseContactAction) Descriptor() ([]byte, []int)

func (*TLSendMessageChooseContactAction) Encode

func (m *TLSendMessageChooseContactAction) Encode() []byte

func (*TLSendMessageChooseContactAction) GetData2

func (*TLSendMessageChooseContactAction) ProtoMessage

func (*TLSendMessageChooseContactAction) ProtoMessage()

func (*TLSendMessageChooseContactAction) Reset

func (*TLSendMessageChooseContactAction) String

func (*TLSendMessageChooseContactAction) To_SendMessageAction

func (m *TLSendMessageChooseContactAction) To_SendMessageAction() *SendMessageAction

sendMessageChooseContactAction#628cbc6f = SendMessageAction;

type TLSendMessageGamePlayAction

type TLSendMessageGamePlayAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageGamePlayAction#dd6a8f48 = SendMessageAction;

func NewTLSendMessageGamePlayAction

func NewTLSendMessageGamePlayAction() *TLSendMessageGamePlayAction

func (*TLSendMessageGamePlayAction) Decode

func (m *TLSendMessageGamePlayAction) Decode(dbuf *DecodeBuf) error

func (*TLSendMessageGamePlayAction) Descriptor

func (*TLSendMessageGamePlayAction) Descriptor() ([]byte, []int)

func (*TLSendMessageGamePlayAction) Encode

func (m *TLSendMessageGamePlayAction) Encode() []byte

func (*TLSendMessageGamePlayAction) GetData2

func (*TLSendMessageGamePlayAction) ProtoMessage

func (*TLSendMessageGamePlayAction) ProtoMessage()

func (*TLSendMessageGamePlayAction) Reset

func (m *TLSendMessageGamePlayAction) Reset()

func (*TLSendMessageGamePlayAction) String

func (m *TLSendMessageGamePlayAction) String() string

func (*TLSendMessageGamePlayAction) To_SendMessageAction

func (m *TLSendMessageGamePlayAction) To_SendMessageAction() *SendMessageAction

sendMessageGamePlayAction#dd6a8f48 = SendMessageAction;

type TLSendMessageGeoLocationAction

type TLSendMessageGeoLocationAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;

func NewTLSendMessageGeoLocationAction

func NewTLSendMessageGeoLocationAction() *TLSendMessageGeoLocationAction

func (*TLSendMessageGeoLocationAction) Decode

func (*TLSendMessageGeoLocationAction) Descriptor

func (*TLSendMessageGeoLocationAction) Descriptor() ([]byte, []int)

func (*TLSendMessageGeoLocationAction) Encode

func (m *TLSendMessageGeoLocationAction) Encode() []byte

func (*TLSendMessageGeoLocationAction) GetData2

func (*TLSendMessageGeoLocationAction) ProtoMessage

func (*TLSendMessageGeoLocationAction) ProtoMessage()

func (*TLSendMessageGeoLocationAction) Reset

func (m *TLSendMessageGeoLocationAction) Reset()

func (*TLSendMessageGeoLocationAction) String

func (*TLSendMessageGeoLocationAction) To_SendMessageAction

func (m *TLSendMessageGeoLocationAction) To_SendMessageAction() *SendMessageAction

sendMessageGeoLocationAction#176f8ba1 = SendMessageAction;

type TLSendMessageRecordAudioAction

type TLSendMessageRecordAudioAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageRecordAudioAction#d52f73f7 = SendMessageAction;

func NewTLSendMessageRecordAudioAction

func NewTLSendMessageRecordAudioAction() *TLSendMessageRecordAudioAction

func (*TLSendMessageRecordAudioAction) Decode

func (*TLSendMessageRecordAudioAction) Descriptor

func (*TLSendMessageRecordAudioAction) Descriptor() ([]byte, []int)

func (*TLSendMessageRecordAudioAction) Encode

func (m *TLSendMessageRecordAudioAction) Encode() []byte

func (*TLSendMessageRecordAudioAction) GetData2

func (*TLSendMessageRecordAudioAction) ProtoMessage

func (*TLSendMessageRecordAudioAction) ProtoMessage()

func (*TLSendMessageRecordAudioAction) Reset

func (m *TLSendMessageRecordAudioAction) Reset()

func (*TLSendMessageRecordAudioAction) String

func (*TLSendMessageRecordAudioAction) To_SendMessageAction

func (m *TLSendMessageRecordAudioAction) To_SendMessageAction() *SendMessageAction

sendMessageRecordAudioAction#d52f73f7 = SendMessageAction;

type TLSendMessageRecordRoundAction

type TLSendMessageRecordRoundAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageRecordRoundAction#88f27fbc = SendMessageAction;

func NewTLSendMessageRecordRoundAction

func NewTLSendMessageRecordRoundAction() *TLSendMessageRecordRoundAction

func (*TLSendMessageRecordRoundAction) Decode

func (*TLSendMessageRecordRoundAction) Descriptor

func (*TLSendMessageRecordRoundAction) Descriptor() ([]byte, []int)

func (*TLSendMessageRecordRoundAction) Encode

func (m *TLSendMessageRecordRoundAction) Encode() []byte

func (*TLSendMessageRecordRoundAction) GetData2

func (*TLSendMessageRecordRoundAction) ProtoMessage

func (*TLSendMessageRecordRoundAction) ProtoMessage()

func (*TLSendMessageRecordRoundAction) Reset

func (m *TLSendMessageRecordRoundAction) Reset()

func (*TLSendMessageRecordRoundAction) String

func (*TLSendMessageRecordRoundAction) To_SendMessageAction

func (m *TLSendMessageRecordRoundAction) To_SendMessageAction() *SendMessageAction

sendMessageRecordRoundAction#88f27fbc = SendMessageAction;

type TLSendMessageRecordVideoAction

type TLSendMessageRecordVideoAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageRecordVideoAction#a187d66f = SendMessageAction;

func NewTLSendMessageRecordVideoAction

func NewTLSendMessageRecordVideoAction() *TLSendMessageRecordVideoAction

func (*TLSendMessageRecordVideoAction) Decode

func (*TLSendMessageRecordVideoAction) Descriptor

func (*TLSendMessageRecordVideoAction) Descriptor() ([]byte, []int)

func (*TLSendMessageRecordVideoAction) Encode

func (m *TLSendMessageRecordVideoAction) Encode() []byte

func (*TLSendMessageRecordVideoAction) GetData2

func (*TLSendMessageRecordVideoAction) ProtoMessage

func (*TLSendMessageRecordVideoAction) ProtoMessage()

func (*TLSendMessageRecordVideoAction) Reset

func (m *TLSendMessageRecordVideoAction) Reset()

func (*TLSendMessageRecordVideoAction) String

func (*TLSendMessageRecordVideoAction) To_SendMessageAction

func (m *TLSendMessageRecordVideoAction) To_SendMessageAction() *SendMessageAction

sendMessageRecordVideoAction#a187d66f = SendMessageAction;

type TLSendMessageTypingAction

type TLSendMessageTypingAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageTypingAction#16bf744e = SendMessageAction;

func NewTLSendMessageTypingAction

func NewTLSendMessageTypingAction() *TLSendMessageTypingAction

func (*TLSendMessageTypingAction) Decode

func (m *TLSendMessageTypingAction) Decode(dbuf *DecodeBuf) error

func (*TLSendMessageTypingAction) Descriptor

func (*TLSendMessageTypingAction) Descriptor() ([]byte, []int)

func (*TLSendMessageTypingAction) Encode

func (m *TLSendMessageTypingAction) Encode() []byte

func (*TLSendMessageTypingAction) GetData2

func (*TLSendMessageTypingAction) ProtoMessage

func (*TLSendMessageTypingAction) ProtoMessage()

func (*TLSendMessageTypingAction) Reset

func (m *TLSendMessageTypingAction) Reset()

func (*TLSendMessageTypingAction) String

func (m *TLSendMessageTypingAction) String() string

func (*TLSendMessageTypingAction) To_SendMessageAction

func (m *TLSendMessageTypingAction) To_SendMessageAction() *SendMessageAction

sendMessageTypingAction#16bf744e = SendMessageAction;

type TLSendMessageUploadAudioAction

type TLSendMessageUploadAudioAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction;

func NewTLSendMessageUploadAudioAction

func NewTLSendMessageUploadAudioAction() *TLSendMessageUploadAudioAction

func (*TLSendMessageUploadAudioAction) Decode

func (*TLSendMessageUploadAudioAction) Descriptor

func (*TLSendMessageUploadAudioAction) Descriptor() ([]byte, []int)

func (*TLSendMessageUploadAudioAction) Encode

func (m *TLSendMessageUploadAudioAction) Encode() []byte

func (*TLSendMessageUploadAudioAction) GetData2

func (*TLSendMessageUploadAudioAction) GetProgress

func (m *TLSendMessageUploadAudioAction) GetProgress() int32

func (*TLSendMessageUploadAudioAction) ProtoMessage

func (*TLSendMessageUploadAudioAction) ProtoMessage()

func (*TLSendMessageUploadAudioAction) Reset

func (m *TLSendMessageUploadAudioAction) Reset()

func (*TLSendMessageUploadAudioAction) SetProgress

func (m *TLSendMessageUploadAudioAction) SetProgress(v int32)

func (*TLSendMessageUploadAudioAction) String

func (*TLSendMessageUploadAudioAction) To_SendMessageAction

func (m *TLSendMessageUploadAudioAction) To_SendMessageAction() *SendMessageAction

sendMessageUploadAudioAction#f351d7ab progress:int = SendMessageAction;

type TLSendMessageUploadDocumentAction

type TLSendMessageUploadDocumentAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;

func NewTLSendMessageUploadDocumentAction

func NewTLSendMessageUploadDocumentAction() *TLSendMessageUploadDocumentAction

func (*TLSendMessageUploadDocumentAction) Decode

func (*TLSendMessageUploadDocumentAction) Descriptor

func (*TLSendMessageUploadDocumentAction) Descriptor() ([]byte, []int)

func (*TLSendMessageUploadDocumentAction) Encode

func (*TLSendMessageUploadDocumentAction) GetData2

func (*TLSendMessageUploadDocumentAction) GetProgress

func (m *TLSendMessageUploadDocumentAction) GetProgress() int32

func (*TLSendMessageUploadDocumentAction) ProtoMessage

func (*TLSendMessageUploadDocumentAction) ProtoMessage()

func (*TLSendMessageUploadDocumentAction) Reset

func (*TLSendMessageUploadDocumentAction) SetProgress

func (m *TLSendMessageUploadDocumentAction) SetProgress(v int32)

func (*TLSendMessageUploadDocumentAction) String

func (*TLSendMessageUploadDocumentAction) To_SendMessageAction

func (m *TLSendMessageUploadDocumentAction) To_SendMessageAction() *SendMessageAction

sendMessageUploadDocumentAction#aa0cd9e4 progress:int = SendMessageAction;

type TLSendMessageUploadPhotoAction

type TLSendMessageUploadPhotoAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;

func NewTLSendMessageUploadPhotoAction

func NewTLSendMessageUploadPhotoAction() *TLSendMessageUploadPhotoAction

func (*TLSendMessageUploadPhotoAction) Decode

func (*TLSendMessageUploadPhotoAction) Descriptor

func (*TLSendMessageUploadPhotoAction) Descriptor() ([]byte, []int)

func (*TLSendMessageUploadPhotoAction) Encode

func (m *TLSendMessageUploadPhotoAction) Encode() []byte

func (*TLSendMessageUploadPhotoAction) GetData2

func (*TLSendMessageUploadPhotoAction) GetProgress

func (m *TLSendMessageUploadPhotoAction) GetProgress() int32

func (*TLSendMessageUploadPhotoAction) ProtoMessage

func (*TLSendMessageUploadPhotoAction) ProtoMessage()

func (*TLSendMessageUploadPhotoAction) Reset

func (m *TLSendMessageUploadPhotoAction) Reset()

func (*TLSendMessageUploadPhotoAction) SetProgress

func (m *TLSendMessageUploadPhotoAction) SetProgress(v int32)

func (*TLSendMessageUploadPhotoAction) String

func (*TLSendMessageUploadPhotoAction) To_SendMessageAction

func (m *TLSendMessageUploadPhotoAction) To_SendMessageAction() *SendMessageAction

sendMessageUploadPhotoAction#d1d34a26 progress:int = SendMessageAction;

type TLSendMessageUploadRoundAction

type TLSendMessageUploadRoundAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;

func NewTLSendMessageUploadRoundAction

func NewTLSendMessageUploadRoundAction() *TLSendMessageUploadRoundAction

func (*TLSendMessageUploadRoundAction) Decode

func (*TLSendMessageUploadRoundAction) Descriptor

func (*TLSendMessageUploadRoundAction) Descriptor() ([]byte, []int)

func (*TLSendMessageUploadRoundAction) Encode

func (m *TLSendMessageUploadRoundAction) Encode() []byte

func (*TLSendMessageUploadRoundAction) GetData2

func (*TLSendMessageUploadRoundAction) GetProgress

func (m *TLSendMessageUploadRoundAction) GetProgress() int32

func (*TLSendMessageUploadRoundAction) ProtoMessage

func (*TLSendMessageUploadRoundAction) ProtoMessage()

func (*TLSendMessageUploadRoundAction) Reset

func (m *TLSendMessageUploadRoundAction) Reset()

func (*TLSendMessageUploadRoundAction) SetProgress

func (m *TLSendMessageUploadRoundAction) SetProgress(v int32)

func (*TLSendMessageUploadRoundAction) String

func (*TLSendMessageUploadRoundAction) To_SendMessageAction

func (m *TLSendMessageUploadRoundAction) To_SendMessageAction() *SendMessageAction

sendMessageUploadRoundAction#243e1c66 progress:int = SendMessageAction;

type TLSendMessageUploadVideoAction

type TLSendMessageUploadVideoAction struct {
	Data2 *SendMessageAction_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction;

func NewTLSendMessageUploadVideoAction

func NewTLSendMessageUploadVideoAction() *TLSendMessageUploadVideoAction

func (*TLSendMessageUploadVideoAction) Decode

func (*TLSendMessageUploadVideoAction) Descriptor

func (*TLSendMessageUploadVideoAction) Descriptor() ([]byte, []int)

func (*TLSendMessageUploadVideoAction) Encode

func (m *TLSendMessageUploadVideoAction) Encode() []byte

func (*TLSendMessageUploadVideoAction) GetData2

func (*TLSendMessageUploadVideoAction) GetProgress

func (m *TLSendMessageUploadVideoAction) GetProgress() int32

func (*TLSendMessageUploadVideoAction) ProtoMessage

func (*TLSendMessageUploadVideoAction) ProtoMessage()

func (*TLSendMessageUploadVideoAction) Reset

func (m *TLSendMessageUploadVideoAction) Reset()

func (*TLSendMessageUploadVideoAction) SetProgress

func (m *TLSendMessageUploadVideoAction) SetProgress(v int32)

func (*TLSendMessageUploadVideoAction) String

func (*TLSendMessageUploadVideoAction) To_SendMessageAction

func (m *TLSendMessageUploadVideoAction) To_SendMessageAction() *SendMessageAction

sendMessageUploadVideoAction#e9763aec progress:int = SendMessageAction;

type TLServer_DHInnerData

type TLServer_DHInnerData struct {
	Data2 *Server_DHInnerData_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;

func NewTLServer_DHInnerData

func NewTLServer_DHInnerData() *TLServer_DHInnerData

func (*TLServer_DHInnerData) Decode

func (m *TLServer_DHInnerData) Decode(dbuf *DecodeBuf) error

func (*TLServer_DHInnerData) Descriptor

func (*TLServer_DHInnerData) Descriptor() ([]byte, []int)

func (*TLServer_DHInnerData) Encode

func (m *TLServer_DHInnerData) Encode() []byte

func (*TLServer_DHInnerData) GetData2

func (*TLServer_DHInnerData) GetDhPrime

func (m *TLServer_DHInnerData) GetDhPrime() string

func (*TLServer_DHInnerData) GetG

func (m *TLServer_DHInnerData) GetG() int32

func (*TLServer_DHInnerData) GetGA

func (m *TLServer_DHInnerData) GetGA() string

func (*TLServer_DHInnerData) GetNonce

func (m *TLServer_DHInnerData) GetNonce() []byte

func (*TLServer_DHInnerData) GetServerNonce

func (m *TLServer_DHInnerData) GetServerNonce() []byte

func (*TLServer_DHInnerData) GetServerTime

func (m *TLServer_DHInnerData) GetServerTime() int32

func (*TLServer_DHInnerData) ProtoMessage

func (*TLServer_DHInnerData) ProtoMessage()

func (*TLServer_DHInnerData) Reset

func (m *TLServer_DHInnerData) Reset()

func (*TLServer_DHInnerData) SetDhPrime

func (m *TLServer_DHInnerData) SetDhPrime(v string)

func (*TLServer_DHInnerData) SetG

func (m *TLServer_DHInnerData) SetG(v int32)

func (*TLServer_DHInnerData) SetGA

func (m *TLServer_DHInnerData) SetGA(v string)

func (*TLServer_DHInnerData) SetNonce

func (m *TLServer_DHInnerData) SetNonce(v []byte)

func (*TLServer_DHInnerData) SetServerNonce

func (m *TLServer_DHInnerData) SetServerNonce(v []byte)

func (*TLServer_DHInnerData) SetServerTime

func (m *TLServer_DHInnerData) SetServerTime(v int32)

func (*TLServer_DHInnerData) String

func (m *TLServer_DHInnerData) String() string

func (*TLServer_DHInnerData) To_Server_DHInnerData

func (m *TLServer_DHInnerData) To_Server_DHInnerData() *Server_DHInnerData

server_DH_inner_data#b5890dba nonce:int128 server_nonce:int128 g:int dh_prime:string g_a:string server_time:int = Server_DH_inner_data;

type TLServer_DHParamsFail

type TLServer_DHParamsFail struct {
	Data2 *Server_DH_Params_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params;

func NewTLServer_DHParamsFail

func NewTLServer_DHParamsFail() *TLServer_DHParamsFail

func (*TLServer_DHParamsFail) Decode

func (m *TLServer_DHParamsFail) Decode(dbuf *DecodeBuf) error

func (*TLServer_DHParamsFail) Descriptor

func (*TLServer_DHParamsFail) Descriptor() ([]byte, []int)

func (*TLServer_DHParamsFail) Encode

func (m *TLServer_DHParamsFail) Encode() []byte

func (*TLServer_DHParamsFail) GetData2

func (*TLServer_DHParamsFail) GetNewNonceHash

func (m *TLServer_DHParamsFail) GetNewNonceHash() []byte

func (*TLServer_DHParamsFail) GetNonce

func (m *TLServer_DHParamsFail) GetNonce() []byte

func (*TLServer_DHParamsFail) GetServerNonce

func (m *TLServer_DHParamsFail) GetServerNonce() []byte

func (*TLServer_DHParamsFail) ProtoMessage

func (*TLServer_DHParamsFail) ProtoMessage()

func (*TLServer_DHParamsFail) Reset

func (m *TLServer_DHParamsFail) Reset()

func (*TLServer_DHParamsFail) SetNewNonceHash

func (m *TLServer_DHParamsFail) SetNewNonceHash(v []byte)

func (*TLServer_DHParamsFail) SetNonce

func (m *TLServer_DHParamsFail) SetNonce(v []byte)

func (*TLServer_DHParamsFail) SetServerNonce

func (m *TLServer_DHParamsFail) SetServerNonce(v []byte)

func (*TLServer_DHParamsFail) String

func (m *TLServer_DHParamsFail) String() string

func (*TLServer_DHParamsFail) To_Server_DH_Params

func (m *TLServer_DHParamsFail) To_Server_DH_Params() *Server_DH_Params

server_DH_params_fail#79cb045d nonce:int128 server_nonce:int128 new_nonce_hash:int128 = Server_DH_Params;

type TLServer_DHParamsOk

type TLServer_DHParamsOk struct {
	Data2 *Server_DH_Params_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;

func NewTLServer_DHParamsOk

func NewTLServer_DHParamsOk() *TLServer_DHParamsOk

func (*TLServer_DHParamsOk) Decode

func (m *TLServer_DHParamsOk) Decode(dbuf *DecodeBuf) error

func (*TLServer_DHParamsOk) Descriptor

func (*TLServer_DHParamsOk) Descriptor() ([]byte, []int)

func (*TLServer_DHParamsOk) Encode

func (m *TLServer_DHParamsOk) Encode() []byte

func (*TLServer_DHParamsOk) GetData2

func (*TLServer_DHParamsOk) GetEncryptedAnswer

func (m *TLServer_DHParamsOk) GetEncryptedAnswer() string

func (*TLServer_DHParamsOk) GetNonce

func (m *TLServer_DHParamsOk) GetNonce() []byte

func (*TLServer_DHParamsOk) GetServerNonce

func (m *TLServer_DHParamsOk) GetServerNonce() []byte

func (*TLServer_DHParamsOk) ProtoMessage

func (*TLServer_DHParamsOk) ProtoMessage()

func (*TLServer_DHParamsOk) Reset

func (m *TLServer_DHParamsOk) Reset()

func (*TLServer_DHParamsOk) SetEncryptedAnswer

func (m *TLServer_DHParamsOk) SetEncryptedAnswer(v string)

func (*TLServer_DHParamsOk) SetNonce

func (m *TLServer_DHParamsOk) SetNonce(v []byte)

func (*TLServer_DHParamsOk) SetServerNonce

func (m *TLServer_DHParamsOk) SetServerNonce(v []byte)

func (*TLServer_DHParamsOk) String

func (m *TLServer_DHParamsOk) String() string

func (*TLServer_DHParamsOk) To_Server_DH_Params

func (m *TLServer_DHParamsOk) To_Server_DH_Params() *Server_DH_Params

server_DH_params_ok#d0e8075c nonce:int128 server_nonce:int128 encrypted_answer:string = Server_DH_Params;

type TLSetClient_DHParams

type TLSetClient_DHParams struct {
	Nonce         []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	ServerNonce   []byte `protobuf:"bytes,2,opt,name=server_nonce,json=serverNonce,proto3" json:"server_nonce,omitempty"`
	EncryptedData string `protobuf:"bytes,3,opt,name=encrypted_data,json=encryptedData" json:"encrypted_data,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// set_client_DH_params#f5045f1f nonce:int128 server_nonce:int128 encrypted_data:string = Set_client_DH_params_answer;

func NewTLSetClient_DHParams

func NewTLSetClient_DHParams() *TLSetClient_DHParams

func (*TLSetClient_DHParams) Decode

func (m *TLSetClient_DHParams) Decode(dbuf *DecodeBuf) error

func (*TLSetClient_DHParams) Descriptor

func (*TLSetClient_DHParams) Descriptor() ([]byte, []int)

func (*TLSetClient_DHParams) Encode

func (m *TLSetClient_DHParams) Encode() []byte

func (*TLSetClient_DHParams) GetEncryptedData

func (m *TLSetClient_DHParams) GetEncryptedData() string

func (*TLSetClient_DHParams) GetNonce

func (m *TLSetClient_DHParams) GetNonce() []byte

func (*TLSetClient_DHParams) GetServerNonce

func (m *TLSetClient_DHParams) GetServerNonce() []byte

func (*TLSetClient_DHParams) ProtoMessage

func (*TLSetClient_DHParams) ProtoMessage()

func (*TLSetClient_DHParams) Reset

func (m *TLSetClient_DHParams) Reset()

func (*TLSetClient_DHParams) String

func (m *TLSetClient_DHParams) String() string

type TLShippingOption

type TLShippingOption struct {
	Data2 *ShippingOption_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption;

func NewTLShippingOption

func NewTLShippingOption() *TLShippingOption

func (*TLShippingOption) Decode

func (m *TLShippingOption) Decode(dbuf *DecodeBuf) error

func (*TLShippingOption) Descriptor

func (*TLShippingOption) Descriptor() ([]byte, []int)

func (*TLShippingOption) Encode

func (m *TLShippingOption) Encode() []byte

func (*TLShippingOption) GetData2

func (m *TLShippingOption) GetData2() *ShippingOption_Data

func (*TLShippingOption) GetId

func (m *TLShippingOption) GetId() string

func (*TLShippingOption) GetPrices

func (m *TLShippingOption) GetPrices() []*LabeledPrice

func (*TLShippingOption) GetTitle

func (m *TLShippingOption) GetTitle() string

func (*TLShippingOption) ProtoMessage

func (*TLShippingOption) ProtoMessage()

func (*TLShippingOption) Reset

func (m *TLShippingOption) Reset()

func (*TLShippingOption) SetId

func (m *TLShippingOption) SetId(v string)

func (*TLShippingOption) SetPrices

func (m *TLShippingOption) SetPrices(v []*LabeledPrice)

func (*TLShippingOption) SetTitle

func (m *TLShippingOption) SetTitle(v string)

func (*TLShippingOption) String

func (m *TLShippingOption) String() string

func (*TLShippingOption) To_ShippingOption

func (m *TLShippingOption) To_ShippingOption() *ShippingOption

shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption;

type TLStickerPack

type TLStickerPack struct {
	Data2 *StickerPack_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;

func NewTLStickerPack

func NewTLStickerPack() *TLStickerPack

func (*TLStickerPack) Decode

func (m *TLStickerPack) Decode(dbuf *DecodeBuf) error

func (*TLStickerPack) Descriptor

func (*TLStickerPack) Descriptor() ([]byte, []int)

func (*TLStickerPack) Encode

func (m *TLStickerPack) Encode() []byte

func (*TLStickerPack) GetData2

func (m *TLStickerPack) GetData2() *StickerPack_Data

func (*TLStickerPack) GetDocuments

func (m *TLStickerPack) GetDocuments() []int64

func (*TLStickerPack) GetEmoticon

func (m *TLStickerPack) GetEmoticon() string

func (*TLStickerPack) ProtoMessage

func (*TLStickerPack) ProtoMessage()

func (*TLStickerPack) Reset

func (m *TLStickerPack) Reset()

func (*TLStickerPack) SetDocuments

func (m *TLStickerPack) SetDocuments(v []int64)

func (*TLStickerPack) SetEmoticon

func (m *TLStickerPack) SetEmoticon(v string)

func (*TLStickerPack) String

func (m *TLStickerPack) String() string

func (*TLStickerPack) To_StickerPack

func (m *TLStickerPack) To_StickerPack() *StickerPack

stickerPack#12b299d4 emoticon:string documents:Vector<long> = StickerPack;

type TLStickerSet

type TLStickerSet struct {
	Data2 *StickerSet_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet;

func NewTLStickerSet

func NewTLStickerSet() *TLStickerSet

func (*TLStickerSet) Decode

func (m *TLStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLStickerSet) Descriptor

func (*TLStickerSet) Descriptor() ([]byte, []int)

func (*TLStickerSet) Encode

func (m *TLStickerSet) Encode() []byte

func (*TLStickerSet) GetAccessHash

func (m *TLStickerSet) GetAccessHash() int64

func (*TLStickerSet) GetArchived

func (m *TLStickerSet) GetArchived() bool

func (*TLStickerSet) GetCount

func (m *TLStickerSet) GetCount() int32

func (*TLStickerSet) GetData2

func (m *TLStickerSet) GetData2() *StickerSet_Data

func (*TLStickerSet) GetHash

func (m *TLStickerSet) GetHash() int32

func (*TLStickerSet) GetId

func (m *TLStickerSet) GetId() int64

func (*TLStickerSet) GetInstalled

func (m *TLStickerSet) GetInstalled() bool

func (*TLStickerSet) GetMasks

func (m *TLStickerSet) GetMasks() bool

func (*TLStickerSet) GetOfficial

func (m *TLStickerSet) GetOfficial() bool

func (*TLStickerSet) GetShortName

func (m *TLStickerSet) GetShortName() string

func (*TLStickerSet) GetTitle

func (m *TLStickerSet) GetTitle() string

func (*TLStickerSet) ProtoMessage

func (*TLStickerSet) ProtoMessage()

func (*TLStickerSet) Reset

func (m *TLStickerSet) Reset()

func (*TLStickerSet) SetAccessHash

func (m *TLStickerSet) SetAccessHash(v int64)

func (*TLStickerSet) SetArchived

func (m *TLStickerSet) SetArchived(v bool)

func (*TLStickerSet) SetCount

func (m *TLStickerSet) SetCount(v int32)

func (*TLStickerSet) SetHash

func (m *TLStickerSet) SetHash(v int32)

func (*TLStickerSet) SetId

func (m *TLStickerSet) SetId(v int64)

func (*TLStickerSet) SetInstalled

func (m *TLStickerSet) SetInstalled(v bool)

func (*TLStickerSet) SetMasks

func (m *TLStickerSet) SetMasks(v bool)

func (*TLStickerSet) SetOfficial

func (m *TLStickerSet) SetOfficial(v bool)

func (*TLStickerSet) SetShortName

func (m *TLStickerSet) SetShortName(v string)

func (*TLStickerSet) SetTitle

func (m *TLStickerSet) SetTitle(v string)

func (*TLStickerSet) String

func (m *TLStickerSet) String() string

func (*TLStickerSet) To_StickerSet

func (m *TLStickerSet) To_StickerSet() *StickerSet

stickerSet#cd303b41 flags:# installed:flags.0?true archived:flags.1?true official:flags.2?true masks:flags.3?true id:long access_hash:long title:string short_name:string count:int hash:int = StickerSet;

type TLStickerSetCovered

type TLStickerSetCovered struct {
	Data2 *StickerSetCovered_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;

func NewTLStickerSetCovered

func NewTLStickerSetCovered() *TLStickerSetCovered

func (*TLStickerSetCovered) Decode

func (m *TLStickerSetCovered) Decode(dbuf *DecodeBuf) error

func (*TLStickerSetCovered) Descriptor

func (*TLStickerSetCovered) Descriptor() ([]byte, []int)

func (*TLStickerSetCovered) Encode

func (m *TLStickerSetCovered) Encode() []byte

func (*TLStickerSetCovered) GetCover

func (m *TLStickerSetCovered) GetCover() *Document

func (*TLStickerSetCovered) GetData2

func (*TLStickerSetCovered) GetSet

func (m *TLStickerSetCovered) GetSet() *StickerSet

func (*TLStickerSetCovered) ProtoMessage

func (*TLStickerSetCovered) ProtoMessage()

func (*TLStickerSetCovered) Reset

func (m *TLStickerSetCovered) Reset()

func (*TLStickerSetCovered) SetCover

func (m *TLStickerSetCovered) SetCover(v *Document)

func (*TLStickerSetCovered) SetSet

func (m *TLStickerSetCovered) SetSet(v *StickerSet)

func (*TLStickerSetCovered) String

func (m *TLStickerSetCovered) String() string

func (*TLStickerSetCovered) To_StickerSetCovered

func (m *TLStickerSetCovered) To_StickerSetCovered() *StickerSetCovered

stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;

type TLStickerSetMultiCovered

type TLStickerSetMultiCovered struct {
	Data2 *StickerSetCovered_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document> = StickerSetCovered;

func NewTLStickerSetMultiCovered

func NewTLStickerSetMultiCovered() *TLStickerSetMultiCovered

func (*TLStickerSetMultiCovered) Decode

func (m *TLStickerSetMultiCovered) Decode(dbuf *DecodeBuf) error

func (*TLStickerSetMultiCovered) Descriptor

func (*TLStickerSetMultiCovered) Descriptor() ([]byte, []int)

func (*TLStickerSetMultiCovered) Encode

func (m *TLStickerSetMultiCovered) Encode() []byte

func (*TLStickerSetMultiCovered) GetCovers

func (m *TLStickerSetMultiCovered) GetCovers() []*Document

func (*TLStickerSetMultiCovered) GetData2

func (*TLStickerSetMultiCovered) GetSet

func (m *TLStickerSetMultiCovered) GetSet() *StickerSet

func (*TLStickerSetMultiCovered) ProtoMessage

func (*TLStickerSetMultiCovered) ProtoMessage()

func (*TLStickerSetMultiCovered) Reset

func (m *TLStickerSetMultiCovered) Reset()

func (*TLStickerSetMultiCovered) SetCovers

func (m *TLStickerSetMultiCovered) SetCovers(v []*Document)

func (*TLStickerSetMultiCovered) SetSet

func (m *TLStickerSetMultiCovered) SetSet(v *StickerSet)

func (*TLStickerSetMultiCovered) String

func (m *TLStickerSetMultiCovered) String() string

func (*TLStickerSetMultiCovered) To_StickerSetCovered

func (m *TLStickerSetMultiCovered) To_StickerSetCovered() *StickerSetCovered

stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document> = StickerSetCovered;

type TLStickersAddStickerToSet

type TLStickersAddStickerToSet struct {
	Stickerset *InputStickerSet     `protobuf:"bytes,1,opt,name=stickerset" json:"stickerset,omitempty"`
	Sticker    *InputStickerSetItem `protobuf:"bytes,2,opt,name=sticker" json:"sticker,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// stickers.addStickerToSet#8653febe stickerset:InputStickerSet sticker:InputStickerSetItem = messages.StickerSet;

func NewTLStickersAddStickerToSet

func NewTLStickersAddStickerToSet() *TLStickersAddStickerToSet

func (*TLStickersAddStickerToSet) Decode

func (m *TLStickersAddStickerToSet) Decode(dbuf *DecodeBuf) error

func (*TLStickersAddStickerToSet) Descriptor

func (*TLStickersAddStickerToSet) Descriptor() ([]byte, []int)

func (*TLStickersAddStickerToSet) Encode

func (m *TLStickersAddStickerToSet) Encode() []byte

func (*TLStickersAddStickerToSet) GetSticker

func (*TLStickersAddStickerToSet) GetStickerset

func (m *TLStickersAddStickerToSet) GetStickerset() *InputStickerSet

func (*TLStickersAddStickerToSet) ProtoMessage

func (*TLStickersAddStickerToSet) ProtoMessage()

func (*TLStickersAddStickerToSet) Reset

func (m *TLStickersAddStickerToSet) Reset()

func (*TLStickersAddStickerToSet) String

func (m *TLStickersAddStickerToSet) String() string

type TLStickersChangeStickerPosition

type TLStickersChangeStickerPosition struct {
	Sticker  *InputDocument `protobuf:"bytes,1,opt,name=sticker" json:"sticker,omitempty"`
	Position int32          `protobuf:"varint,2,opt,name=position" json:"position,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;

func NewTLStickersChangeStickerPosition

func NewTLStickersChangeStickerPosition() *TLStickersChangeStickerPosition

func (*TLStickersChangeStickerPosition) Decode

func (*TLStickersChangeStickerPosition) Descriptor

func (*TLStickersChangeStickerPosition) Descriptor() ([]byte, []int)

func (*TLStickersChangeStickerPosition) Encode

func (m *TLStickersChangeStickerPosition) Encode() []byte

func (*TLStickersChangeStickerPosition) GetPosition

func (m *TLStickersChangeStickerPosition) GetPosition() int32

func (*TLStickersChangeStickerPosition) GetSticker

func (*TLStickersChangeStickerPosition) ProtoMessage

func (*TLStickersChangeStickerPosition) ProtoMessage()

func (*TLStickersChangeStickerPosition) Reset

func (*TLStickersChangeStickerPosition) String

type TLStickersCreateStickerSet

type TLStickersCreateStickerSet struct {
	Masks     bool                   `protobuf:"varint,2,opt,name=masks" json:"masks,omitempty"`
	UserId    *InputUser             `protobuf:"bytes,3,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Title     string                 `protobuf:"bytes,4,opt,name=title" json:"title,omitempty"`
	ShortName string                 `protobuf:"bytes,5,opt,name=short_name,json=shortName" json:"short_name,omitempty"`
	Stickers  []*InputStickerSetItem `protobuf:"bytes,6,rep,name=stickers" json:"stickers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// stickers.createStickerSet#9bd86e6a flags:# masks:flags.0?true user_id:InputUser title:string short_name:string stickers:Vector<InputStickerSetItem> = messages.StickerSet;

func NewTLStickersCreateStickerSet

func NewTLStickersCreateStickerSet() *TLStickersCreateStickerSet

func (*TLStickersCreateStickerSet) Decode

func (m *TLStickersCreateStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLStickersCreateStickerSet) Descriptor

func (*TLStickersCreateStickerSet) Descriptor() ([]byte, []int)

func (*TLStickersCreateStickerSet) Encode

func (m *TLStickersCreateStickerSet) Encode() []byte

func (*TLStickersCreateStickerSet) GetMasks

func (m *TLStickersCreateStickerSet) GetMasks() bool

func (*TLStickersCreateStickerSet) GetShortName

func (m *TLStickersCreateStickerSet) GetShortName() string

func (*TLStickersCreateStickerSet) GetStickers

func (m *TLStickersCreateStickerSet) GetStickers() []*InputStickerSetItem

func (*TLStickersCreateStickerSet) GetTitle

func (m *TLStickersCreateStickerSet) GetTitle() string

func (*TLStickersCreateStickerSet) GetUserId

func (m *TLStickersCreateStickerSet) GetUserId() *InputUser

func (*TLStickersCreateStickerSet) ProtoMessage

func (*TLStickersCreateStickerSet) ProtoMessage()

func (*TLStickersCreateStickerSet) Reset

func (m *TLStickersCreateStickerSet) Reset()

func (*TLStickersCreateStickerSet) String

func (m *TLStickersCreateStickerSet) String() string

type TLStickersRemoveStickerFromSet

type TLStickersRemoveStickerFromSet struct {
	Sticker *InputDocument `protobuf:"bytes,1,opt,name=sticker" json:"sticker,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;

func NewTLStickersRemoveStickerFromSet

func NewTLStickersRemoveStickerFromSet() *TLStickersRemoveStickerFromSet

func (*TLStickersRemoveStickerFromSet) Decode

func (*TLStickersRemoveStickerFromSet) Descriptor

func (*TLStickersRemoveStickerFromSet) Descriptor() ([]byte, []int)

func (*TLStickersRemoveStickerFromSet) Encode

func (m *TLStickersRemoveStickerFromSet) Encode() []byte

func (*TLStickersRemoveStickerFromSet) GetSticker

func (*TLStickersRemoveStickerFromSet) ProtoMessage

func (*TLStickersRemoveStickerFromSet) ProtoMessage()

func (*TLStickersRemoveStickerFromSet) Reset

func (m *TLStickersRemoveStickerFromSet) Reset()

func (*TLStickersRemoveStickerFromSet) String

type TLStorageFileGif

type TLStorageFileGif struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileGif#cae1aadf = storage.FileType;

func NewTLStorageFileGif

func NewTLStorageFileGif() *TLStorageFileGif

func (*TLStorageFileGif) Decode

func (m *TLStorageFileGif) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileGif) Descriptor

func (*TLStorageFileGif) Descriptor() ([]byte, []int)

func (*TLStorageFileGif) Encode

func (m *TLStorageFileGif) Encode() []byte

func (*TLStorageFileGif) GetData2

func (m *TLStorageFileGif) GetData2() *Storage_FileType_Data

func (*TLStorageFileGif) ProtoMessage

func (*TLStorageFileGif) ProtoMessage()

func (*TLStorageFileGif) Reset

func (m *TLStorageFileGif) Reset()

func (*TLStorageFileGif) String

func (m *TLStorageFileGif) String() string

func (*TLStorageFileGif) To_Storage_FileType

func (m *TLStorageFileGif) To_Storage_FileType() *Storage_FileType

storage.fileGif#cae1aadf = storage.FileType;

type TLStorageFileJpeg

type TLStorageFileJpeg struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileJpeg#7efe0e = storage.FileType;

func NewTLStorageFileJpeg

func NewTLStorageFileJpeg() *TLStorageFileJpeg

func (*TLStorageFileJpeg) Decode

func (m *TLStorageFileJpeg) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileJpeg) Descriptor

func (*TLStorageFileJpeg) Descriptor() ([]byte, []int)

func (*TLStorageFileJpeg) Encode

func (m *TLStorageFileJpeg) Encode() []byte

func (*TLStorageFileJpeg) GetData2

func (*TLStorageFileJpeg) ProtoMessage

func (*TLStorageFileJpeg) ProtoMessage()

func (*TLStorageFileJpeg) Reset

func (m *TLStorageFileJpeg) Reset()

func (*TLStorageFileJpeg) String

func (m *TLStorageFileJpeg) String() string

func (*TLStorageFileJpeg) To_Storage_FileType

func (m *TLStorageFileJpeg) To_Storage_FileType() *Storage_FileType

storage.fileJpeg#7efe0e = storage.FileType;

type TLStorageFileMov

type TLStorageFileMov struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileMov#4b09ebbc = storage.FileType;

func NewTLStorageFileMov

func NewTLStorageFileMov() *TLStorageFileMov

func (*TLStorageFileMov) Decode

func (m *TLStorageFileMov) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileMov) Descriptor

func (*TLStorageFileMov) Descriptor() ([]byte, []int)

func (*TLStorageFileMov) Encode

func (m *TLStorageFileMov) Encode() []byte

func (*TLStorageFileMov) GetData2

func (m *TLStorageFileMov) GetData2() *Storage_FileType_Data

func (*TLStorageFileMov) ProtoMessage

func (*TLStorageFileMov) ProtoMessage()

func (*TLStorageFileMov) Reset

func (m *TLStorageFileMov) Reset()

func (*TLStorageFileMov) String

func (m *TLStorageFileMov) String() string

func (*TLStorageFileMov) To_Storage_FileType

func (m *TLStorageFileMov) To_Storage_FileType() *Storage_FileType

storage.fileMov#4b09ebbc = storage.FileType;

type TLStorageFileMp3

type TLStorageFileMp3 struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileMp3#528a0677 = storage.FileType;

func NewTLStorageFileMp3

func NewTLStorageFileMp3() *TLStorageFileMp3

func (*TLStorageFileMp3) Decode

func (m *TLStorageFileMp3) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileMp3) Descriptor

func (*TLStorageFileMp3) Descriptor() ([]byte, []int)

func (*TLStorageFileMp3) Encode

func (m *TLStorageFileMp3) Encode() []byte

func (*TLStorageFileMp3) GetData2

func (m *TLStorageFileMp3) GetData2() *Storage_FileType_Data

func (*TLStorageFileMp3) ProtoMessage

func (*TLStorageFileMp3) ProtoMessage()

func (*TLStorageFileMp3) Reset

func (m *TLStorageFileMp3) Reset()

func (*TLStorageFileMp3) String

func (m *TLStorageFileMp3) String() string

func (*TLStorageFileMp3) To_Storage_FileType

func (m *TLStorageFileMp3) To_Storage_FileType() *Storage_FileType

storage.fileMp3#528a0677 = storage.FileType;

type TLStorageFileMp4

type TLStorageFileMp4 struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileMp4#b3cea0e4 = storage.FileType;

func NewTLStorageFileMp4

func NewTLStorageFileMp4() *TLStorageFileMp4

func (*TLStorageFileMp4) Decode

func (m *TLStorageFileMp4) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileMp4) Descriptor

func (*TLStorageFileMp4) Descriptor() ([]byte, []int)

func (*TLStorageFileMp4) Encode

func (m *TLStorageFileMp4) Encode() []byte

func (*TLStorageFileMp4) GetData2

func (m *TLStorageFileMp4) GetData2() *Storage_FileType_Data

func (*TLStorageFileMp4) ProtoMessage

func (*TLStorageFileMp4) ProtoMessage()

func (*TLStorageFileMp4) Reset

func (m *TLStorageFileMp4) Reset()

func (*TLStorageFileMp4) String

func (m *TLStorageFileMp4) String() string

func (*TLStorageFileMp4) To_Storage_FileType

func (m *TLStorageFileMp4) To_Storage_FileType() *Storage_FileType

storage.fileMp4#b3cea0e4 = storage.FileType;

type TLStorageFilePartial

type TLStorageFilePartial struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.filePartial#40bc6f52 = storage.FileType;

func NewTLStorageFilePartial

func NewTLStorageFilePartial() *TLStorageFilePartial

func (*TLStorageFilePartial) Decode

func (m *TLStorageFilePartial) Decode(dbuf *DecodeBuf) error

func (*TLStorageFilePartial) Descriptor

func (*TLStorageFilePartial) Descriptor() ([]byte, []int)

func (*TLStorageFilePartial) Encode

func (m *TLStorageFilePartial) Encode() []byte

func (*TLStorageFilePartial) GetData2

func (*TLStorageFilePartial) ProtoMessage

func (*TLStorageFilePartial) ProtoMessage()

func (*TLStorageFilePartial) Reset

func (m *TLStorageFilePartial) Reset()

func (*TLStorageFilePartial) String

func (m *TLStorageFilePartial) String() string

func (*TLStorageFilePartial) To_Storage_FileType

func (m *TLStorageFilePartial) To_Storage_FileType() *Storage_FileType

storage.filePartial#40bc6f52 = storage.FileType;

type TLStorageFilePdf

type TLStorageFilePdf struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.filePdf#ae1e508d = storage.FileType;

func NewTLStorageFilePdf

func NewTLStorageFilePdf() *TLStorageFilePdf

func (*TLStorageFilePdf) Decode

func (m *TLStorageFilePdf) Decode(dbuf *DecodeBuf) error

func (*TLStorageFilePdf) Descriptor

func (*TLStorageFilePdf) Descriptor() ([]byte, []int)

func (*TLStorageFilePdf) Encode

func (m *TLStorageFilePdf) Encode() []byte

func (*TLStorageFilePdf) GetData2

func (m *TLStorageFilePdf) GetData2() *Storage_FileType_Data

func (*TLStorageFilePdf) ProtoMessage

func (*TLStorageFilePdf) ProtoMessage()

func (*TLStorageFilePdf) Reset

func (m *TLStorageFilePdf) Reset()

func (*TLStorageFilePdf) String

func (m *TLStorageFilePdf) String() string

func (*TLStorageFilePdf) To_Storage_FileType

func (m *TLStorageFilePdf) To_Storage_FileType() *Storage_FileType

storage.filePdf#ae1e508d = storage.FileType;

type TLStorageFilePng

type TLStorageFilePng struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.filePng#a4f63c0 = storage.FileType;

func NewTLStorageFilePng

func NewTLStorageFilePng() *TLStorageFilePng

func (*TLStorageFilePng) Decode

func (m *TLStorageFilePng) Decode(dbuf *DecodeBuf) error

func (*TLStorageFilePng) Descriptor

func (*TLStorageFilePng) Descriptor() ([]byte, []int)

func (*TLStorageFilePng) Encode

func (m *TLStorageFilePng) Encode() []byte

func (*TLStorageFilePng) GetData2

func (m *TLStorageFilePng) GetData2() *Storage_FileType_Data

func (*TLStorageFilePng) ProtoMessage

func (*TLStorageFilePng) ProtoMessage()

func (*TLStorageFilePng) Reset

func (m *TLStorageFilePng) Reset()

func (*TLStorageFilePng) String

func (m *TLStorageFilePng) String() string

func (*TLStorageFilePng) To_Storage_FileType

func (m *TLStorageFilePng) To_Storage_FileType() *Storage_FileType

storage.filePng#a4f63c0 = storage.FileType;

type TLStorageFileUnknown

type TLStorageFileUnknown struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileUnknown#aa963b05 = storage.FileType;

func NewTLStorageFileUnknown

func NewTLStorageFileUnknown() *TLStorageFileUnknown

func (*TLStorageFileUnknown) Decode

func (m *TLStorageFileUnknown) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileUnknown) Descriptor

func (*TLStorageFileUnknown) Descriptor() ([]byte, []int)

func (*TLStorageFileUnknown) Encode

func (m *TLStorageFileUnknown) Encode() []byte

func (*TLStorageFileUnknown) GetData2

func (*TLStorageFileUnknown) ProtoMessage

func (*TLStorageFileUnknown) ProtoMessage()

func (*TLStorageFileUnknown) Reset

func (m *TLStorageFileUnknown) Reset()

func (*TLStorageFileUnknown) String

func (m *TLStorageFileUnknown) String() string

func (*TLStorageFileUnknown) To_Storage_FileType

func (m *TLStorageFileUnknown) To_Storage_FileType() *Storage_FileType

storage.fileUnknown#aa963b05 = storage.FileType;

type TLStorageFileWebp

type TLStorageFileWebp struct {
	Data2 *Storage_FileType_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

storage.fileWebp#1081464c = storage.FileType;

func NewTLStorageFileWebp

func NewTLStorageFileWebp() *TLStorageFileWebp

func (*TLStorageFileWebp) Decode

func (m *TLStorageFileWebp) Decode(dbuf *DecodeBuf) error

func (*TLStorageFileWebp) Descriptor

func (*TLStorageFileWebp) Descriptor() ([]byte, []int)

func (*TLStorageFileWebp) Encode

func (m *TLStorageFileWebp) Encode() []byte

func (*TLStorageFileWebp) GetData2

func (*TLStorageFileWebp) ProtoMessage

func (*TLStorageFileWebp) ProtoMessage()

func (*TLStorageFileWebp) Reset

func (m *TLStorageFileWebp) Reset()

func (*TLStorageFileWebp) String

func (m *TLStorageFileWebp) String() string

func (*TLStorageFileWebp) To_Storage_FileType

func (m *TLStorageFileWebp) To_Storage_FileType() *Storage_FileType

storage.fileWebp#1081464c = storage.FileType;

type TLTextBold

type TLTextBold struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textBold#6724abc4 text:RichText = RichText;

func NewTLTextBold

func NewTLTextBold() *TLTextBold

func (*TLTextBold) Decode

func (m *TLTextBold) Decode(dbuf *DecodeBuf) error

func (*TLTextBold) Descriptor

func (*TLTextBold) Descriptor() ([]byte, []int)

func (*TLTextBold) Encode

func (m *TLTextBold) Encode() []byte

func (*TLTextBold) GetData2

func (m *TLTextBold) GetData2() *RichText_Data

func (*TLTextBold) GetText

func (m *TLTextBold) GetText() *RichText

func (*TLTextBold) ProtoMessage

func (*TLTextBold) ProtoMessage()

func (*TLTextBold) Reset

func (m *TLTextBold) Reset()

func (*TLTextBold) SetText

func (m *TLTextBold) SetText(v *RichText)

func (*TLTextBold) String

func (m *TLTextBold) String() string

func (*TLTextBold) To_RichText

func (m *TLTextBold) To_RichText() *RichText

textBold#6724abc4 text:RichText = RichText;

type TLTextConcat

type TLTextConcat struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textConcat#7e6260d7 texts:Vector<RichText> = RichText;

func NewTLTextConcat

func NewTLTextConcat() *TLTextConcat

func (*TLTextConcat) Decode

func (m *TLTextConcat) Decode(dbuf *DecodeBuf) error

func (*TLTextConcat) Descriptor

func (*TLTextConcat) Descriptor() ([]byte, []int)

func (*TLTextConcat) Encode

func (m *TLTextConcat) Encode() []byte

func (*TLTextConcat) GetData2

func (m *TLTextConcat) GetData2() *RichText_Data

func (*TLTextConcat) GetTexts

func (m *TLTextConcat) GetTexts() []*RichText

func (*TLTextConcat) ProtoMessage

func (*TLTextConcat) ProtoMessage()

func (*TLTextConcat) Reset

func (m *TLTextConcat) Reset()

func (*TLTextConcat) SetTexts

func (m *TLTextConcat) SetTexts(v []*RichText)

func (*TLTextConcat) String

func (m *TLTextConcat) String() string

func (*TLTextConcat) To_RichText

func (m *TLTextConcat) To_RichText() *RichText

textConcat#7e6260d7 texts:Vector<RichText> = RichText;

type TLTextEmail

type TLTextEmail struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textEmail#de5a0dd6 text:RichText email:string = RichText;

func NewTLTextEmail

func NewTLTextEmail() *TLTextEmail

func (*TLTextEmail) Decode

func (m *TLTextEmail) Decode(dbuf *DecodeBuf) error

func (*TLTextEmail) Descriptor

func (*TLTextEmail) Descriptor() ([]byte, []int)

func (*TLTextEmail) Encode

func (m *TLTextEmail) Encode() []byte

func (*TLTextEmail) GetData2

func (m *TLTextEmail) GetData2() *RichText_Data

func (*TLTextEmail) GetEmail

func (m *TLTextEmail) GetEmail() string

func (*TLTextEmail) GetText

func (m *TLTextEmail) GetText() *RichText

func (*TLTextEmail) ProtoMessage

func (*TLTextEmail) ProtoMessage()

func (*TLTextEmail) Reset

func (m *TLTextEmail) Reset()

func (*TLTextEmail) SetEmail

func (m *TLTextEmail) SetEmail(v string)

func (*TLTextEmail) SetText

func (m *TLTextEmail) SetText(v *RichText)

func (*TLTextEmail) String

func (m *TLTextEmail) String() string

func (*TLTextEmail) To_RichText

func (m *TLTextEmail) To_RichText() *RichText

textEmail#de5a0dd6 text:RichText email:string = RichText;

type TLTextEmpty

type TLTextEmpty struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textEmpty#dc3d824f = RichText;

func NewTLTextEmpty

func NewTLTextEmpty() *TLTextEmpty

func (*TLTextEmpty) Decode

func (m *TLTextEmpty) Decode(dbuf *DecodeBuf) error

func (*TLTextEmpty) Descriptor

func (*TLTextEmpty) Descriptor() ([]byte, []int)

func (*TLTextEmpty) Encode

func (m *TLTextEmpty) Encode() []byte

func (*TLTextEmpty) GetData2

func (m *TLTextEmpty) GetData2() *RichText_Data

func (*TLTextEmpty) ProtoMessage

func (*TLTextEmpty) ProtoMessage()

func (*TLTextEmpty) Reset

func (m *TLTextEmpty) Reset()

func (*TLTextEmpty) String

func (m *TLTextEmpty) String() string

func (*TLTextEmpty) To_RichText

func (m *TLTextEmpty) To_RichText() *RichText

textEmpty#dc3d824f = RichText;

type TLTextFixed

type TLTextFixed struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textFixed#6c3f19b9 text:RichText = RichText;

func NewTLTextFixed

func NewTLTextFixed() *TLTextFixed

func (*TLTextFixed) Decode

func (m *TLTextFixed) Decode(dbuf *DecodeBuf) error

func (*TLTextFixed) Descriptor

func (*TLTextFixed) Descriptor() ([]byte, []int)

func (*TLTextFixed) Encode

func (m *TLTextFixed) Encode() []byte

func (*TLTextFixed) GetData2

func (m *TLTextFixed) GetData2() *RichText_Data

func (*TLTextFixed) GetText

func (m *TLTextFixed) GetText() *RichText

func (*TLTextFixed) ProtoMessage

func (*TLTextFixed) ProtoMessage()

func (*TLTextFixed) Reset

func (m *TLTextFixed) Reset()

func (*TLTextFixed) SetText

func (m *TLTextFixed) SetText(v *RichText)

func (*TLTextFixed) String

func (m *TLTextFixed) String() string

func (*TLTextFixed) To_RichText

func (m *TLTextFixed) To_RichText() *RichText

textFixed#6c3f19b9 text:RichText = RichText;

type TLTextItalic

type TLTextItalic struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textItalic#d912a59c text:RichText = RichText;

func NewTLTextItalic

func NewTLTextItalic() *TLTextItalic

func (*TLTextItalic) Decode

func (m *TLTextItalic) Decode(dbuf *DecodeBuf) error

func (*TLTextItalic) Descriptor

func (*TLTextItalic) Descriptor() ([]byte, []int)

func (*TLTextItalic) Encode

func (m *TLTextItalic) Encode() []byte

func (*TLTextItalic) GetData2

func (m *TLTextItalic) GetData2() *RichText_Data

func (*TLTextItalic) GetText

func (m *TLTextItalic) GetText() *RichText

func (*TLTextItalic) ProtoMessage

func (*TLTextItalic) ProtoMessage()

func (*TLTextItalic) Reset

func (m *TLTextItalic) Reset()

func (*TLTextItalic) SetText

func (m *TLTextItalic) SetText(v *RichText)

func (*TLTextItalic) String

func (m *TLTextItalic) String() string

func (*TLTextItalic) To_RichText

func (m *TLTextItalic) To_RichText() *RichText

textItalic#d912a59c text:RichText = RichText;

type TLTextPlain

type TLTextPlain struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textPlain#744694e0 text:string = RichText;

func NewTLTextPlain

func NewTLTextPlain() *TLTextPlain

func (*TLTextPlain) Decode

func (m *TLTextPlain) Decode(dbuf *DecodeBuf) error

func (*TLTextPlain) Descriptor

func (*TLTextPlain) Descriptor() ([]byte, []int)

func (*TLTextPlain) Encode

func (m *TLTextPlain) Encode() []byte

func (*TLTextPlain) GetData2

func (m *TLTextPlain) GetData2() *RichText_Data

func (*TLTextPlain) GetText

func (m *TLTextPlain) GetText() string

func (*TLTextPlain) ProtoMessage

func (*TLTextPlain) ProtoMessage()

func (*TLTextPlain) Reset

func (m *TLTextPlain) Reset()

func (*TLTextPlain) SetText

func (m *TLTextPlain) SetText(v string)

func (*TLTextPlain) String

func (m *TLTextPlain) String() string

func (*TLTextPlain) To_RichText

func (m *TLTextPlain) To_RichText() *RichText

textPlain#744694e0 text:string = RichText;

type TLTextStrike

type TLTextStrike struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textStrike#9bf8bb95 text:RichText = RichText;

func NewTLTextStrike

func NewTLTextStrike() *TLTextStrike

func (*TLTextStrike) Decode

func (m *TLTextStrike) Decode(dbuf *DecodeBuf) error

func (*TLTextStrike) Descriptor

func (*TLTextStrike) Descriptor() ([]byte, []int)

func (*TLTextStrike) Encode

func (m *TLTextStrike) Encode() []byte

func (*TLTextStrike) GetData2

func (m *TLTextStrike) GetData2() *RichText_Data

func (*TLTextStrike) GetText

func (m *TLTextStrike) GetText() *RichText

func (*TLTextStrike) ProtoMessage

func (*TLTextStrike) ProtoMessage()

func (*TLTextStrike) Reset

func (m *TLTextStrike) Reset()

func (*TLTextStrike) SetText

func (m *TLTextStrike) SetText(v *RichText)

func (*TLTextStrike) String

func (m *TLTextStrike) String() string

func (*TLTextStrike) To_RichText

func (m *TLTextStrike) To_RichText() *RichText

textStrike#9bf8bb95 text:RichText = RichText;

type TLTextUnderline

type TLTextUnderline struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textUnderline#c12622c4 text:RichText = RichText;

func NewTLTextUnderline

func NewTLTextUnderline() *TLTextUnderline

func (*TLTextUnderline) Decode

func (m *TLTextUnderline) Decode(dbuf *DecodeBuf) error

func (*TLTextUnderline) Descriptor

func (*TLTextUnderline) Descriptor() ([]byte, []int)

func (*TLTextUnderline) Encode

func (m *TLTextUnderline) Encode() []byte

func (*TLTextUnderline) GetData2

func (m *TLTextUnderline) GetData2() *RichText_Data

func (*TLTextUnderline) GetText

func (m *TLTextUnderline) GetText() *RichText

func (*TLTextUnderline) ProtoMessage

func (*TLTextUnderline) ProtoMessage()

func (*TLTextUnderline) Reset

func (m *TLTextUnderline) Reset()

func (*TLTextUnderline) SetText

func (m *TLTextUnderline) SetText(v *RichText)

func (*TLTextUnderline) String

func (m *TLTextUnderline) String() string

func (*TLTextUnderline) To_RichText

func (m *TLTextUnderline) To_RichText() *RichText

textUnderline#c12622c4 text:RichText = RichText;

type TLTextUrl

type TLTextUrl struct {
	Data2 *RichText_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText;

func NewTLTextUrl

func NewTLTextUrl() *TLTextUrl

func (*TLTextUrl) Decode

func (m *TLTextUrl) Decode(dbuf *DecodeBuf) error

func (*TLTextUrl) Descriptor

func (*TLTextUrl) Descriptor() ([]byte, []int)

func (*TLTextUrl) Encode

func (m *TLTextUrl) Encode() []byte

func (*TLTextUrl) GetData2

func (m *TLTextUrl) GetData2() *RichText_Data

func (*TLTextUrl) GetText

func (m *TLTextUrl) GetText() *RichText

func (*TLTextUrl) GetUrl

func (m *TLTextUrl) GetUrl() string

func (*TLTextUrl) GetWebpageId

func (m *TLTextUrl) GetWebpageId() int64

func (*TLTextUrl) ProtoMessage

func (*TLTextUrl) ProtoMessage()

func (*TLTextUrl) Reset

func (m *TLTextUrl) Reset()

func (*TLTextUrl) SetText

func (m *TLTextUrl) SetText(v *RichText)

func (*TLTextUrl) SetUrl

func (m *TLTextUrl) SetUrl(v string)

func (*TLTextUrl) SetWebpageId

func (m *TLTextUrl) SetWebpageId(v int64)

func (*TLTextUrl) String

func (m *TLTextUrl) String() string

func (*TLTextUrl) To_RichText

func (m *TLTextUrl) To_RichText() *RichText

textUrl#3c2884c1 text:RichText url:string webpage_id:long = RichText;

type TLTopPeer

type TLTopPeer struct {
	Data2 *TopPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeer#edcdc05b peer:Peer rating:double = TopPeer;

func NewTLTopPeer

func NewTLTopPeer() *TLTopPeer

func (*TLTopPeer) Decode

func (m *TLTopPeer) Decode(dbuf *DecodeBuf) error

func (*TLTopPeer) Descriptor

func (*TLTopPeer) Descriptor() ([]byte, []int)

func (*TLTopPeer) Encode

func (m *TLTopPeer) Encode() []byte

func (*TLTopPeer) GetData2

func (m *TLTopPeer) GetData2() *TopPeer_Data

func (*TLTopPeer) GetPeer

func (m *TLTopPeer) GetPeer() *Peer

func (*TLTopPeer) GetRating

func (m *TLTopPeer) GetRating() float64

func (*TLTopPeer) ProtoMessage

func (*TLTopPeer) ProtoMessage()

func (*TLTopPeer) Reset

func (m *TLTopPeer) Reset()

func (*TLTopPeer) SetPeer

func (m *TLTopPeer) SetPeer(v *Peer)

func (*TLTopPeer) SetRating

func (m *TLTopPeer) SetRating(v float64)

func (*TLTopPeer) String

func (m *TLTopPeer) String() string

func (*TLTopPeer) To_TopPeer

func (m *TLTopPeer) To_TopPeer() *TopPeer

topPeer#edcdc05b peer:Peer rating:double = TopPeer;

type TLTopPeerCategoryBotsInline

type TLTopPeerCategoryBotsInline struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryBotsInline#148677e2 = TopPeerCategory;

func NewTLTopPeerCategoryBotsInline

func NewTLTopPeerCategoryBotsInline() *TLTopPeerCategoryBotsInline

func (*TLTopPeerCategoryBotsInline) Decode

func (m *TLTopPeerCategoryBotsInline) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryBotsInline) Descriptor

func (*TLTopPeerCategoryBotsInline) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryBotsInline) Encode

func (m *TLTopPeerCategoryBotsInline) Encode() []byte

func (*TLTopPeerCategoryBotsInline) GetData2

func (*TLTopPeerCategoryBotsInline) ProtoMessage

func (*TLTopPeerCategoryBotsInline) ProtoMessage()

func (*TLTopPeerCategoryBotsInline) Reset

func (m *TLTopPeerCategoryBotsInline) Reset()

func (*TLTopPeerCategoryBotsInline) String

func (m *TLTopPeerCategoryBotsInline) String() string

func (*TLTopPeerCategoryBotsInline) To_TopPeerCategory

func (m *TLTopPeerCategoryBotsInline) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryBotsInline#148677e2 = TopPeerCategory;

type TLTopPeerCategoryBotsPM

type TLTopPeerCategoryBotsPM struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryBotsPM#ab661b5b = TopPeerCategory;

func NewTLTopPeerCategoryBotsPM

func NewTLTopPeerCategoryBotsPM() *TLTopPeerCategoryBotsPM

func (*TLTopPeerCategoryBotsPM) Decode

func (m *TLTopPeerCategoryBotsPM) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryBotsPM) Descriptor

func (*TLTopPeerCategoryBotsPM) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryBotsPM) Encode

func (m *TLTopPeerCategoryBotsPM) Encode() []byte

func (*TLTopPeerCategoryBotsPM) GetData2

func (*TLTopPeerCategoryBotsPM) ProtoMessage

func (*TLTopPeerCategoryBotsPM) ProtoMessage()

func (*TLTopPeerCategoryBotsPM) Reset

func (m *TLTopPeerCategoryBotsPM) Reset()

func (*TLTopPeerCategoryBotsPM) String

func (m *TLTopPeerCategoryBotsPM) String() string

func (*TLTopPeerCategoryBotsPM) To_TopPeerCategory

func (m *TLTopPeerCategoryBotsPM) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryBotsPM#ab661b5b = TopPeerCategory;

type TLTopPeerCategoryChannels

type TLTopPeerCategoryChannels struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryChannels#161d9628 = TopPeerCategory;

func NewTLTopPeerCategoryChannels

func NewTLTopPeerCategoryChannels() *TLTopPeerCategoryChannels

func (*TLTopPeerCategoryChannels) Decode

func (m *TLTopPeerCategoryChannels) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryChannels) Descriptor

func (*TLTopPeerCategoryChannels) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryChannels) Encode

func (m *TLTopPeerCategoryChannels) Encode() []byte

func (*TLTopPeerCategoryChannels) GetData2

func (*TLTopPeerCategoryChannels) ProtoMessage

func (*TLTopPeerCategoryChannels) ProtoMessage()

func (*TLTopPeerCategoryChannels) Reset

func (m *TLTopPeerCategoryChannels) Reset()

func (*TLTopPeerCategoryChannels) String

func (m *TLTopPeerCategoryChannels) String() string

func (*TLTopPeerCategoryChannels) To_TopPeerCategory

func (m *TLTopPeerCategoryChannels) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryChannels#161d9628 = TopPeerCategory;

type TLTopPeerCategoryCorrespondents

type TLTopPeerCategoryCorrespondents struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryCorrespondents#637b7ed = TopPeerCategory;

func NewTLTopPeerCategoryCorrespondents

func NewTLTopPeerCategoryCorrespondents() *TLTopPeerCategoryCorrespondents

func (*TLTopPeerCategoryCorrespondents) Decode

func (*TLTopPeerCategoryCorrespondents) Descriptor

func (*TLTopPeerCategoryCorrespondents) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryCorrespondents) Encode

func (m *TLTopPeerCategoryCorrespondents) Encode() []byte

func (*TLTopPeerCategoryCorrespondents) GetData2

func (*TLTopPeerCategoryCorrespondents) ProtoMessage

func (*TLTopPeerCategoryCorrespondents) ProtoMessage()

func (*TLTopPeerCategoryCorrespondents) Reset

func (*TLTopPeerCategoryCorrespondents) String

func (*TLTopPeerCategoryCorrespondents) To_TopPeerCategory

func (m *TLTopPeerCategoryCorrespondents) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryCorrespondents#637b7ed = TopPeerCategory;

type TLTopPeerCategoryGroups

type TLTopPeerCategoryGroups struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryGroups#bd17a14a = TopPeerCategory;

func NewTLTopPeerCategoryGroups

func NewTLTopPeerCategoryGroups() *TLTopPeerCategoryGroups

func (*TLTopPeerCategoryGroups) Decode

func (m *TLTopPeerCategoryGroups) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryGroups) Descriptor

func (*TLTopPeerCategoryGroups) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryGroups) Encode

func (m *TLTopPeerCategoryGroups) Encode() []byte

func (*TLTopPeerCategoryGroups) GetData2

func (*TLTopPeerCategoryGroups) ProtoMessage

func (*TLTopPeerCategoryGroups) ProtoMessage()

func (*TLTopPeerCategoryGroups) Reset

func (m *TLTopPeerCategoryGroups) Reset()

func (*TLTopPeerCategoryGroups) String

func (m *TLTopPeerCategoryGroups) String() string

func (*TLTopPeerCategoryGroups) To_TopPeerCategory

func (m *TLTopPeerCategoryGroups) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryGroups#bd17a14a = TopPeerCategory;

type TLTopPeerCategoryPeers

type TLTopPeerCategoryPeers struct {
	Data2 *TopPeerCategoryPeers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers;

func NewTLTopPeerCategoryPeers

func NewTLTopPeerCategoryPeers() *TLTopPeerCategoryPeers

func (*TLTopPeerCategoryPeers) Decode

func (m *TLTopPeerCategoryPeers) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryPeers) Descriptor

func (*TLTopPeerCategoryPeers) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryPeers) Encode

func (m *TLTopPeerCategoryPeers) Encode() []byte

func (*TLTopPeerCategoryPeers) GetCategory

func (m *TLTopPeerCategoryPeers) GetCategory() *TopPeerCategory

func (*TLTopPeerCategoryPeers) GetCount

func (m *TLTopPeerCategoryPeers) GetCount() int32

func (*TLTopPeerCategoryPeers) GetData2

func (*TLTopPeerCategoryPeers) GetPeers

func (m *TLTopPeerCategoryPeers) GetPeers() []*TopPeer

func (*TLTopPeerCategoryPeers) ProtoMessage

func (*TLTopPeerCategoryPeers) ProtoMessage()

func (*TLTopPeerCategoryPeers) Reset

func (m *TLTopPeerCategoryPeers) Reset()

func (*TLTopPeerCategoryPeers) SetCategory

func (m *TLTopPeerCategoryPeers) SetCategory(v *TopPeerCategory)

func (*TLTopPeerCategoryPeers) SetCount

func (m *TLTopPeerCategoryPeers) SetCount(v int32)

func (*TLTopPeerCategoryPeers) SetPeers

func (m *TLTopPeerCategoryPeers) SetPeers(v []*TopPeer)

func (*TLTopPeerCategoryPeers) String

func (m *TLTopPeerCategoryPeers) String() string

func (*TLTopPeerCategoryPeers) To_TopPeerCategoryPeers

func (m *TLTopPeerCategoryPeers) To_TopPeerCategoryPeers() *TopPeerCategoryPeers

topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers;

type TLTopPeerCategoryPhoneCalls

type TLTopPeerCategoryPhoneCalls struct {
	Data2 *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory;

func NewTLTopPeerCategoryPhoneCalls

func NewTLTopPeerCategoryPhoneCalls() *TLTopPeerCategoryPhoneCalls

func (*TLTopPeerCategoryPhoneCalls) Decode

func (m *TLTopPeerCategoryPhoneCalls) Decode(dbuf *DecodeBuf) error

func (*TLTopPeerCategoryPhoneCalls) Descriptor

func (*TLTopPeerCategoryPhoneCalls) Descriptor() ([]byte, []int)

func (*TLTopPeerCategoryPhoneCalls) Encode

func (m *TLTopPeerCategoryPhoneCalls) Encode() []byte

func (*TLTopPeerCategoryPhoneCalls) GetData2

func (*TLTopPeerCategoryPhoneCalls) ProtoMessage

func (*TLTopPeerCategoryPhoneCalls) ProtoMessage()

func (*TLTopPeerCategoryPhoneCalls) Reset

func (m *TLTopPeerCategoryPhoneCalls) Reset()

func (*TLTopPeerCategoryPhoneCalls) String

func (m *TLTopPeerCategoryPhoneCalls) String() string

func (*TLTopPeerCategoryPhoneCalls) To_TopPeerCategory

func (m *TLTopPeerCategoryPhoneCalls) To_TopPeerCategory() *TopPeerCategory

topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory;

type TLTrue

type TLTrue struct {
	Data2 *True_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

true#3fedd339 = True;

func NewTLTrue

func NewTLTrue() *TLTrue

func (*TLTrue) Decode

func (m *TLTrue) Decode(dbuf *DecodeBuf) error

func (*TLTrue) Descriptor

func (*TLTrue) Descriptor() ([]byte, []int)

func (*TLTrue) Encode

func (m *TLTrue) Encode() []byte

func (*TLTrue) GetData2

func (m *TLTrue) GetData2() *True_Data

func (*TLTrue) ProtoMessage

func (*TLTrue) ProtoMessage()

func (*TLTrue) Reset

func (m *TLTrue) Reset()

func (*TLTrue) String

func (m *TLTrue) String() string

func (*TLTrue) To_True

func (m *TLTrue) To_True() *True

true#3fedd339 = True;

type TLUpdateBotCallbackQuery

type TLUpdateBotCallbackQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

func NewTLUpdateBotCallbackQuery

func NewTLUpdateBotCallbackQuery() *TLUpdateBotCallbackQuery

func (*TLUpdateBotCallbackQuery) Decode

func (m *TLUpdateBotCallbackQuery) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotCallbackQuery) Descriptor

func (*TLUpdateBotCallbackQuery) Descriptor() ([]byte, []int)

func (*TLUpdateBotCallbackQuery) Encode

func (m *TLUpdateBotCallbackQuery) Encode() []byte

func (*TLUpdateBotCallbackQuery) GetChatInstance

func (m *TLUpdateBotCallbackQuery) GetChatInstance() int64

func (*TLUpdateBotCallbackQuery) GetData

func (m *TLUpdateBotCallbackQuery) GetData() []byte

func (*TLUpdateBotCallbackQuery) GetData2

func (m *TLUpdateBotCallbackQuery) GetData2() *Update_Data

func (*TLUpdateBotCallbackQuery) GetGameShortName

func (m *TLUpdateBotCallbackQuery) GetGameShortName() string

func (*TLUpdateBotCallbackQuery) GetMsgId

func (m *TLUpdateBotCallbackQuery) GetMsgId() int32

func (*TLUpdateBotCallbackQuery) GetPeer

func (m *TLUpdateBotCallbackQuery) GetPeer() *Peer

func (*TLUpdateBotCallbackQuery) GetQueryId

func (m *TLUpdateBotCallbackQuery) GetQueryId() int64

func (*TLUpdateBotCallbackQuery) GetUserId

func (m *TLUpdateBotCallbackQuery) GetUserId() int32

func (*TLUpdateBotCallbackQuery) ProtoMessage

func (*TLUpdateBotCallbackQuery) ProtoMessage()

func (*TLUpdateBotCallbackQuery) Reset

func (m *TLUpdateBotCallbackQuery) Reset()

func (*TLUpdateBotCallbackQuery) SetChatInstance

func (m *TLUpdateBotCallbackQuery) SetChatInstance(v int64)

func (*TLUpdateBotCallbackQuery) SetData

func (m *TLUpdateBotCallbackQuery) SetData(v []byte)

func (*TLUpdateBotCallbackQuery) SetGameShortName

func (m *TLUpdateBotCallbackQuery) SetGameShortName(v string)

func (*TLUpdateBotCallbackQuery) SetMsgId

func (m *TLUpdateBotCallbackQuery) SetMsgId(v int32)

func (*TLUpdateBotCallbackQuery) SetPeer

func (m *TLUpdateBotCallbackQuery) SetPeer(v *Peer)

func (*TLUpdateBotCallbackQuery) SetQueryId

func (m *TLUpdateBotCallbackQuery) SetQueryId(v int64)

func (*TLUpdateBotCallbackQuery) SetUserId

func (m *TLUpdateBotCallbackQuery) SetUserId(v int32)

func (*TLUpdateBotCallbackQuery) String

func (m *TLUpdateBotCallbackQuery) String() string

func (*TLUpdateBotCallbackQuery) To_Update

func (m *TLUpdateBotCallbackQuery) To_Update() *Update

updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

type TLUpdateBotInlineQuery

type TLUpdateBotInlineQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update;

func NewTLUpdateBotInlineQuery

func NewTLUpdateBotInlineQuery() *TLUpdateBotInlineQuery

func (*TLUpdateBotInlineQuery) Decode

func (m *TLUpdateBotInlineQuery) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotInlineQuery) Descriptor

func (*TLUpdateBotInlineQuery) Descriptor() ([]byte, []int)

func (*TLUpdateBotInlineQuery) Encode

func (m *TLUpdateBotInlineQuery) Encode() []byte

func (*TLUpdateBotInlineQuery) GetData2

func (m *TLUpdateBotInlineQuery) GetData2() *Update_Data

func (*TLUpdateBotInlineQuery) GetGeo

func (m *TLUpdateBotInlineQuery) GetGeo() *GeoPoint

func (*TLUpdateBotInlineQuery) GetOffset

func (m *TLUpdateBotInlineQuery) GetOffset() string

func (*TLUpdateBotInlineQuery) GetQuery

func (m *TLUpdateBotInlineQuery) GetQuery() string

func (*TLUpdateBotInlineQuery) GetQueryId

func (m *TLUpdateBotInlineQuery) GetQueryId() int64

func (*TLUpdateBotInlineQuery) GetUserId

func (m *TLUpdateBotInlineQuery) GetUserId() int32

func (*TLUpdateBotInlineQuery) ProtoMessage

func (*TLUpdateBotInlineQuery) ProtoMessage()

func (*TLUpdateBotInlineQuery) Reset

func (m *TLUpdateBotInlineQuery) Reset()

func (*TLUpdateBotInlineQuery) SetGeo

func (m *TLUpdateBotInlineQuery) SetGeo(v *GeoPoint)

func (*TLUpdateBotInlineQuery) SetOffset

func (m *TLUpdateBotInlineQuery) SetOffset(v string)

func (*TLUpdateBotInlineQuery) SetQuery

func (m *TLUpdateBotInlineQuery) SetQuery(v string)

func (*TLUpdateBotInlineQuery) SetQueryId

func (m *TLUpdateBotInlineQuery) SetQueryId(v int64)

func (*TLUpdateBotInlineQuery) SetUserId

func (m *TLUpdateBotInlineQuery) SetUserId(v int32)

func (*TLUpdateBotInlineQuery) String

func (m *TLUpdateBotInlineQuery) String() string

func (*TLUpdateBotInlineQuery) To_Update

func (m *TLUpdateBotInlineQuery) To_Update() *Update

updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update;

type TLUpdateBotInlineSend

type TLUpdateBotInlineSend struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;

func NewTLUpdateBotInlineSend

func NewTLUpdateBotInlineSend() *TLUpdateBotInlineSend

func (*TLUpdateBotInlineSend) Decode

func (m *TLUpdateBotInlineSend) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotInlineSend) Descriptor

func (*TLUpdateBotInlineSend) Descriptor() ([]byte, []int)

func (*TLUpdateBotInlineSend) Encode

func (m *TLUpdateBotInlineSend) Encode() []byte

func (*TLUpdateBotInlineSend) GetData2

func (m *TLUpdateBotInlineSend) GetData2() *Update_Data

func (*TLUpdateBotInlineSend) GetGeo

func (m *TLUpdateBotInlineSend) GetGeo() *GeoPoint

func (*TLUpdateBotInlineSend) GetId

func (m *TLUpdateBotInlineSend) GetId() string

func (*TLUpdateBotInlineSend) GetMsgId

func (*TLUpdateBotInlineSend) GetQuery

func (m *TLUpdateBotInlineSend) GetQuery() string

func (*TLUpdateBotInlineSend) GetUserId

func (m *TLUpdateBotInlineSend) GetUserId() int32

func (*TLUpdateBotInlineSend) ProtoMessage

func (*TLUpdateBotInlineSend) ProtoMessage()

func (*TLUpdateBotInlineSend) Reset

func (m *TLUpdateBotInlineSend) Reset()

func (*TLUpdateBotInlineSend) SetGeo

func (m *TLUpdateBotInlineSend) SetGeo(v *GeoPoint)

func (*TLUpdateBotInlineSend) SetId

func (m *TLUpdateBotInlineSend) SetId(v string)

func (*TLUpdateBotInlineSend) SetMsgId

func (*TLUpdateBotInlineSend) SetQuery

func (m *TLUpdateBotInlineSend) SetQuery(v string)

func (*TLUpdateBotInlineSend) SetUserId

func (m *TLUpdateBotInlineSend) SetUserId(v int32)

func (*TLUpdateBotInlineSend) String

func (m *TLUpdateBotInlineSend) String() string

func (*TLUpdateBotInlineSend) To_Update

func (m *TLUpdateBotInlineSend) To_Update() *Update

updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;

type TLUpdateBotPrecheckoutQuery

type TLUpdateBotPrecheckoutQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;

func NewTLUpdateBotPrecheckoutQuery

func NewTLUpdateBotPrecheckoutQuery() *TLUpdateBotPrecheckoutQuery

func (*TLUpdateBotPrecheckoutQuery) Decode

func (m *TLUpdateBotPrecheckoutQuery) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotPrecheckoutQuery) Descriptor

func (*TLUpdateBotPrecheckoutQuery) Descriptor() ([]byte, []int)

func (*TLUpdateBotPrecheckoutQuery) Encode

func (m *TLUpdateBotPrecheckoutQuery) Encode() []byte

func (*TLUpdateBotPrecheckoutQuery) GetCurrency

func (m *TLUpdateBotPrecheckoutQuery) GetCurrency() string

func (*TLUpdateBotPrecheckoutQuery) GetData2

func (*TLUpdateBotPrecheckoutQuery) GetInfo

func (*TLUpdateBotPrecheckoutQuery) GetPayload

func (m *TLUpdateBotPrecheckoutQuery) GetPayload() []byte

func (*TLUpdateBotPrecheckoutQuery) GetQueryId

func (m *TLUpdateBotPrecheckoutQuery) GetQueryId() int64

func (*TLUpdateBotPrecheckoutQuery) GetShippingOptionId

func (m *TLUpdateBotPrecheckoutQuery) GetShippingOptionId() string

func (*TLUpdateBotPrecheckoutQuery) GetTotalAmount

func (m *TLUpdateBotPrecheckoutQuery) GetTotalAmount() int64

func (*TLUpdateBotPrecheckoutQuery) GetUserId

func (m *TLUpdateBotPrecheckoutQuery) GetUserId() int32

func (*TLUpdateBotPrecheckoutQuery) ProtoMessage

func (*TLUpdateBotPrecheckoutQuery) ProtoMessage()

func (*TLUpdateBotPrecheckoutQuery) Reset

func (m *TLUpdateBotPrecheckoutQuery) Reset()

func (*TLUpdateBotPrecheckoutQuery) SetCurrency

func (m *TLUpdateBotPrecheckoutQuery) SetCurrency(v string)

func (*TLUpdateBotPrecheckoutQuery) SetInfo

func (*TLUpdateBotPrecheckoutQuery) SetPayload

func (m *TLUpdateBotPrecheckoutQuery) SetPayload(v []byte)

func (*TLUpdateBotPrecheckoutQuery) SetQueryId

func (m *TLUpdateBotPrecheckoutQuery) SetQueryId(v int64)

func (*TLUpdateBotPrecheckoutQuery) SetShippingOptionId

func (m *TLUpdateBotPrecheckoutQuery) SetShippingOptionId(v string)

func (*TLUpdateBotPrecheckoutQuery) SetTotalAmount

func (m *TLUpdateBotPrecheckoutQuery) SetTotalAmount(v int64)

func (*TLUpdateBotPrecheckoutQuery) SetUserId

func (m *TLUpdateBotPrecheckoutQuery) SetUserId(v int32)

func (*TLUpdateBotPrecheckoutQuery) String

func (m *TLUpdateBotPrecheckoutQuery) String() string

func (*TLUpdateBotPrecheckoutQuery) To_Update

func (m *TLUpdateBotPrecheckoutQuery) To_Update() *Update

updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;

type TLUpdateBotShippingQuery

type TLUpdateBotShippingQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update;

func NewTLUpdateBotShippingQuery

func NewTLUpdateBotShippingQuery() *TLUpdateBotShippingQuery

func (*TLUpdateBotShippingQuery) Decode

func (m *TLUpdateBotShippingQuery) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotShippingQuery) Descriptor

func (*TLUpdateBotShippingQuery) Descriptor() ([]byte, []int)

func (*TLUpdateBotShippingQuery) Encode

func (m *TLUpdateBotShippingQuery) Encode() []byte

func (*TLUpdateBotShippingQuery) GetData2

func (m *TLUpdateBotShippingQuery) GetData2() *Update_Data

func (*TLUpdateBotShippingQuery) GetPayload

func (m *TLUpdateBotShippingQuery) GetPayload() []byte

func (*TLUpdateBotShippingQuery) GetQueryId

func (m *TLUpdateBotShippingQuery) GetQueryId() int64

func (*TLUpdateBotShippingQuery) GetShippingAddress

func (m *TLUpdateBotShippingQuery) GetShippingAddress() *PostAddress

func (*TLUpdateBotShippingQuery) GetUserId

func (m *TLUpdateBotShippingQuery) GetUserId() int32

func (*TLUpdateBotShippingQuery) ProtoMessage

func (*TLUpdateBotShippingQuery) ProtoMessage()

func (*TLUpdateBotShippingQuery) Reset

func (m *TLUpdateBotShippingQuery) Reset()

func (*TLUpdateBotShippingQuery) SetPayload

func (m *TLUpdateBotShippingQuery) SetPayload(v []byte)

func (*TLUpdateBotShippingQuery) SetQueryId

func (m *TLUpdateBotShippingQuery) SetQueryId(v int64)

func (*TLUpdateBotShippingQuery) SetShippingAddress

func (m *TLUpdateBotShippingQuery) SetShippingAddress(v *PostAddress)

func (*TLUpdateBotShippingQuery) SetUserId

func (m *TLUpdateBotShippingQuery) SetUserId(v int32)

func (*TLUpdateBotShippingQuery) String

func (m *TLUpdateBotShippingQuery) String() string

func (*TLUpdateBotShippingQuery) To_Update

func (m *TLUpdateBotShippingQuery) To_Update() *Update

updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update;

type TLUpdateBotWebhookJSON

type TLUpdateBotWebhookJSON struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotWebhookJSON#8317c0c3 data:DataJSON = Update;

func NewTLUpdateBotWebhookJSON

func NewTLUpdateBotWebhookJSON() *TLUpdateBotWebhookJSON

func (*TLUpdateBotWebhookJSON) Decode

func (m *TLUpdateBotWebhookJSON) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotWebhookJSON) Descriptor

func (*TLUpdateBotWebhookJSON) Descriptor() ([]byte, []int)

func (*TLUpdateBotWebhookJSON) Encode

func (m *TLUpdateBotWebhookJSON) Encode() []byte

func (*TLUpdateBotWebhookJSON) GetData

func (m *TLUpdateBotWebhookJSON) GetData() *DataJSON

func (*TLUpdateBotWebhookJSON) GetData2

func (m *TLUpdateBotWebhookJSON) GetData2() *Update_Data

func (*TLUpdateBotWebhookJSON) ProtoMessage

func (*TLUpdateBotWebhookJSON) ProtoMessage()

func (*TLUpdateBotWebhookJSON) Reset

func (m *TLUpdateBotWebhookJSON) Reset()

func (*TLUpdateBotWebhookJSON) SetData

func (m *TLUpdateBotWebhookJSON) SetData(v *DataJSON)

func (*TLUpdateBotWebhookJSON) String

func (m *TLUpdateBotWebhookJSON) String() string

func (*TLUpdateBotWebhookJSON) To_Update

func (m *TLUpdateBotWebhookJSON) To_Update() *Update

updateBotWebhookJSON#8317c0c3 data:DataJSON = Update;

type TLUpdateBotWebhookJSONQuery

type TLUpdateBotWebhookJSONQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;

func NewTLUpdateBotWebhookJSONQuery

func NewTLUpdateBotWebhookJSONQuery() *TLUpdateBotWebhookJSONQuery

func (*TLUpdateBotWebhookJSONQuery) Decode

func (m *TLUpdateBotWebhookJSONQuery) Decode(dbuf *DecodeBuf) error

func (*TLUpdateBotWebhookJSONQuery) Descriptor

func (*TLUpdateBotWebhookJSONQuery) Descriptor() ([]byte, []int)

func (*TLUpdateBotWebhookJSONQuery) Encode

func (m *TLUpdateBotWebhookJSONQuery) Encode() []byte

func (*TLUpdateBotWebhookJSONQuery) GetData

func (m *TLUpdateBotWebhookJSONQuery) GetData() *DataJSON

func (*TLUpdateBotWebhookJSONQuery) GetData2

func (*TLUpdateBotWebhookJSONQuery) GetQueryId

func (m *TLUpdateBotWebhookJSONQuery) GetQueryId() int64

func (*TLUpdateBotWebhookJSONQuery) GetTimeout

func (m *TLUpdateBotWebhookJSONQuery) GetTimeout() int32

func (*TLUpdateBotWebhookJSONQuery) ProtoMessage

func (*TLUpdateBotWebhookJSONQuery) ProtoMessage()

func (*TLUpdateBotWebhookJSONQuery) Reset

func (m *TLUpdateBotWebhookJSONQuery) Reset()

func (*TLUpdateBotWebhookJSONQuery) SetData

func (m *TLUpdateBotWebhookJSONQuery) SetData(v *DataJSON)

func (*TLUpdateBotWebhookJSONQuery) SetQueryId

func (m *TLUpdateBotWebhookJSONQuery) SetQueryId(v int64)

func (*TLUpdateBotWebhookJSONQuery) SetTimeout

func (m *TLUpdateBotWebhookJSONQuery) SetTimeout(v int32)

func (*TLUpdateBotWebhookJSONQuery) String

func (m *TLUpdateBotWebhookJSONQuery) String() string

func (*TLUpdateBotWebhookJSONQuery) To_Update

func (m *TLUpdateBotWebhookJSONQuery) To_Update() *Update

updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;

type TLUpdateChannel

type TLUpdateChannel struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannel#b6d45656 channel_id:int = Update;

func NewTLUpdateChannel

func NewTLUpdateChannel() *TLUpdateChannel

func (*TLUpdateChannel) Decode

func (m *TLUpdateChannel) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChannel) Descriptor

func (*TLUpdateChannel) Descriptor() ([]byte, []int)

func (*TLUpdateChannel) Encode

func (m *TLUpdateChannel) Encode() []byte

func (*TLUpdateChannel) GetChannelId

func (m *TLUpdateChannel) GetChannelId() int32

func (*TLUpdateChannel) GetData2

func (m *TLUpdateChannel) GetData2() *Update_Data

func (*TLUpdateChannel) ProtoMessage

func (*TLUpdateChannel) ProtoMessage()

func (*TLUpdateChannel) Reset

func (m *TLUpdateChannel) Reset()

func (*TLUpdateChannel) SetChannelId

func (m *TLUpdateChannel) SetChannelId(v int32)

func (*TLUpdateChannel) String

func (m *TLUpdateChannel) String() string

func (*TLUpdateChannel) To_Update

func (m *TLUpdateChannel) To_Update() *Update

updateChannel#b6d45656 channel_id:int = Update;

type TLUpdateChannelAvailableMessages

type TLUpdateChannelAvailableMessages struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update;

func NewTLUpdateChannelAvailableMessages

func NewTLUpdateChannelAvailableMessages() *TLUpdateChannelAvailableMessages

func (*TLUpdateChannelAvailableMessages) Decode

func (*TLUpdateChannelAvailableMessages) Descriptor

func (*TLUpdateChannelAvailableMessages) Descriptor() ([]byte, []int)

func (*TLUpdateChannelAvailableMessages) Encode

func (m *TLUpdateChannelAvailableMessages) Encode() []byte

func (*TLUpdateChannelAvailableMessages) GetAvailableMinId

func (m *TLUpdateChannelAvailableMessages) GetAvailableMinId() int32

func (*TLUpdateChannelAvailableMessages) GetChannelId

func (m *TLUpdateChannelAvailableMessages) GetChannelId() int32

func (*TLUpdateChannelAvailableMessages) GetData2

func (*TLUpdateChannelAvailableMessages) ProtoMessage

func (*TLUpdateChannelAvailableMessages) ProtoMessage()

func (*TLUpdateChannelAvailableMessages) Reset

func (*TLUpdateChannelAvailableMessages) SetAvailableMinId

func (m *TLUpdateChannelAvailableMessages) SetAvailableMinId(v int32)

func (*TLUpdateChannelAvailableMessages) SetChannelId

func (m *TLUpdateChannelAvailableMessages) SetChannelId(v int32)

func (*TLUpdateChannelAvailableMessages) String

func (*TLUpdateChannelAvailableMessages) To_Update

func (m *TLUpdateChannelAvailableMessages) To_Update() *Update

updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update;

type TLUpdateChannelMessageViews

type TLUpdateChannelMessageViews struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;

func NewTLUpdateChannelMessageViews

func NewTLUpdateChannelMessageViews() *TLUpdateChannelMessageViews

func (*TLUpdateChannelMessageViews) Decode

func (m *TLUpdateChannelMessageViews) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChannelMessageViews) Descriptor

func (*TLUpdateChannelMessageViews) Descriptor() ([]byte, []int)

func (*TLUpdateChannelMessageViews) Encode

func (m *TLUpdateChannelMessageViews) Encode() []byte

func (*TLUpdateChannelMessageViews) GetChannelId

func (m *TLUpdateChannelMessageViews) GetChannelId() int32

func (*TLUpdateChannelMessageViews) GetData2

func (*TLUpdateChannelMessageViews) GetId

func (*TLUpdateChannelMessageViews) GetViews

func (m *TLUpdateChannelMessageViews) GetViews() int32

func (*TLUpdateChannelMessageViews) ProtoMessage

func (*TLUpdateChannelMessageViews) ProtoMessage()

func (*TLUpdateChannelMessageViews) Reset

func (m *TLUpdateChannelMessageViews) Reset()

func (*TLUpdateChannelMessageViews) SetChannelId

func (m *TLUpdateChannelMessageViews) SetChannelId(v int32)

func (*TLUpdateChannelMessageViews) SetId

func (m *TLUpdateChannelMessageViews) SetId(v int32)

func (*TLUpdateChannelMessageViews) SetViews

func (m *TLUpdateChannelMessageViews) SetViews(v int32)

func (*TLUpdateChannelMessageViews) String

func (m *TLUpdateChannelMessageViews) String() string

func (*TLUpdateChannelMessageViews) To_Update

func (m *TLUpdateChannelMessageViews) To_Update() *Update

updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;

type TLUpdateChannelPinnedMessage

type TLUpdateChannelPinnedMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelPinnedMessage#98592475 channel_id:int id:int = Update;

func NewTLUpdateChannelPinnedMessage

func NewTLUpdateChannelPinnedMessage() *TLUpdateChannelPinnedMessage

func (*TLUpdateChannelPinnedMessage) Decode

func (m *TLUpdateChannelPinnedMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChannelPinnedMessage) Descriptor

func (*TLUpdateChannelPinnedMessage) Descriptor() ([]byte, []int)

func (*TLUpdateChannelPinnedMessage) Encode

func (m *TLUpdateChannelPinnedMessage) Encode() []byte

func (*TLUpdateChannelPinnedMessage) GetChannelId

func (m *TLUpdateChannelPinnedMessage) GetChannelId() int32

func (*TLUpdateChannelPinnedMessage) GetData2

func (*TLUpdateChannelPinnedMessage) GetId

func (*TLUpdateChannelPinnedMessage) ProtoMessage

func (*TLUpdateChannelPinnedMessage) ProtoMessage()

func (*TLUpdateChannelPinnedMessage) Reset

func (m *TLUpdateChannelPinnedMessage) Reset()

func (*TLUpdateChannelPinnedMessage) SetChannelId

func (m *TLUpdateChannelPinnedMessage) SetChannelId(v int32)

func (*TLUpdateChannelPinnedMessage) SetId

func (m *TLUpdateChannelPinnedMessage) SetId(v int32)

func (*TLUpdateChannelPinnedMessage) String

func (*TLUpdateChannelPinnedMessage) To_Update

func (m *TLUpdateChannelPinnedMessage) To_Update() *Update

updateChannelPinnedMessage#98592475 channel_id:int id:int = Update;

type TLUpdateChannelReadMessagesContents

type TLUpdateChannelReadMessagesContents struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector<int> = Update;

func NewTLUpdateChannelReadMessagesContents

func NewTLUpdateChannelReadMessagesContents() *TLUpdateChannelReadMessagesContents

func (*TLUpdateChannelReadMessagesContents) Decode

func (*TLUpdateChannelReadMessagesContents) Descriptor

func (*TLUpdateChannelReadMessagesContents) Descriptor() ([]byte, []int)

func (*TLUpdateChannelReadMessagesContents) Encode

func (*TLUpdateChannelReadMessagesContents) GetChannelId

func (m *TLUpdateChannelReadMessagesContents) GetChannelId() int32

func (*TLUpdateChannelReadMessagesContents) GetData2

func (*TLUpdateChannelReadMessagesContents) GetMessages

func (m *TLUpdateChannelReadMessagesContents) GetMessages() []int32

func (*TLUpdateChannelReadMessagesContents) ProtoMessage

func (*TLUpdateChannelReadMessagesContents) ProtoMessage()

func (*TLUpdateChannelReadMessagesContents) Reset

func (*TLUpdateChannelReadMessagesContents) SetChannelId

func (m *TLUpdateChannelReadMessagesContents) SetChannelId(v int32)

func (*TLUpdateChannelReadMessagesContents) SetMessages

func (m *TLUpdateChannelReadMessagesContents) SetMessages(v []int32)

func (*TLUpdateChannelReadMessagesContents) String

func (*TLUpdateChannelReadMessagesContents) To_Update

updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector<int> = Update;

type TLUpdateChannelTooLong

type TLUpdateChannelTooLong struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update;

func NewTLUpdateChannelTooLong

func NewTLUpdateChannelTooLong() *TLUpdateChannelTooLong

func (*TLUpdateChannelTooLong) Decode

func (m *TLUpdateChannelTooLong) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChannelTooLong) Descriptor

func (*TLUpdateChannelTooLong) Descriptor() ([]byte, []int)

func (*TLUpdateChannelTooLong) Encode

func (m *TLUpdateChannelTooLong) Encode() []byte

func (*TLUpdateChannelTooLong) GetChannelId

func (m *TLUpdateChannelTooLong) GetChannelId() int32

func (*TLUpdateChannelTooLong) GetData2

func (m *TLUpdateChannelTooLong) GetData2() *Update_Data

func (*TLUpdateChannelTooLong) GetPts

func (m *TLUpdateChannelTooLong) GetPts() int32

func (*TLUpdateChannelTooLong) ProtoMessage

func (*TLUpdateChannelTooLong) ProtoMessage()

func (*TLUpdateChannelTooLong) Reset

func (m *TLUpdateChannelTooLong) Reset()

func (*TLUpdateChannelTooLong) SetChannelId

func (m *TLUpdateChannelTooLong) SetChannelId(v int32)

func (*TLUpdateChannelTooLong) SetPts

func (m *TLUpdateChannelTooLong) SetPts(v int32)

func (*TLUpdateChannelTooLong) String

func (m *TLUpdateChannelTooLong) String() string

func (*TLUpdateChannelTooLong) To_Update

func (m *TLUpdateChannelTooLong) To_Update() *Update

updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update;

type TLUpdateChannelWebPage

type TLUpdateChannelWebPage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;

func NewTLUpdateChannelWebPage

func NewTLUpdateChannelWebPage() *TLUpdateChannelWebPage

func (*TLUpdateChannelWebPage) Decode

func (m *TLUpdateChannelWebPage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChannelWebPage) Descriptor

func (*TLUpdateChannelWebPage) Descriptor() ([]byte, []int)

func (*TLUpdateChannelWebPage) Encode

func (m *TLUpdateChannelWebPage) Encode() []byte

func (*TLUpdateChannelWebPage) GetChannelId

func (m *TLUpdateChannelWebPage) GetChannelId() int32

func (*TLUpdateChannelWebPage) GetData2

func (m *TLUpdateChannelWebPage) GetData2() *Update_Data

func (*TLUpdateChannelWebPage) GetPts

func (m *TLUpdateChannelWebPage) GetPts() int32

func (*TLUpdateChannelWebPage) GetPtsCount

func (m *TLUpdateChannelWebPage) GetPtsCount() int32

func (*TLUpdateChannelWebPage) GetWebpage

func (m *TLUpdateChannelWebPage) GetWebpage() *WebPage

func (*TLUpdateChannelWebPage) ProtoMessage

func (*TLUpdateChannelWebPage) ProtoMessage()

func (*TLUpdateChannelWebPage) Reset

func (m *TLUpdateChannelWebPage) Reset()

func (*TLUpdateChannelWebPage) SetChannelId

func (m *TLUpdateChannelWebPage) SetChannelId(v int32)

func (*TLUpdateChannelWebPage) SetPts

func (m *TLUpdateChannelWebPage) SetPts(v int32)

func (*TLUpdateChannelWebPage) SetPtsCount

func (m *TLUpdateChannelWebPage) SetPtsCount(v int32)

func (*TLUpdateChannelWebPage) SetWebpage

func (m *TLUpdateChannelWebPage) SetWebpage(v *WebPage)

func (*TLUpdateChannelWebPage) String

func (m *TLUpdateChannelWebPage) String() string

func (*TLUpdateChannelWebPage) To_Update

func (m *TLUpdateChannelWebPage) To_Update() *Update

updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;

type TLUpdateChatAdmins

type TLUpdateChatAdmins struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update;

func NewTLUpdateChatAdmins

func NewTLUpdateChatAdmins() *TLUpdateChatAdmins

func (*TLUpdateChatAdmins) Decode

func (m *TLUpdateChatAdmins) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChatAdmins) Descriptor

func (*TLUpdateChatAdmins) Descriptor() ([]byte, []int)

func (*TLUpdateChatAdmins) Encode

func (m *TLUpdateChatAdmins) Encode() []byte

func (*TLUpdateChatAdmins) GetChatId

func (m *TLUpdateChatAdmins) GetChatId() int32

func (*TLUpdateChatAdmins) GetData2

func (m *TLUpdateChatAdmins) GetData2() *Update_Data

func (*TLUpdateChatAdmins) GetEnabled

func (m *TLUpdateChatAdmins) GetEnabled() *Bool

func (*TLUpdateChatAdmins) GetVersion

func (m *TLUpdateChatAdmins) GetVersion() int32

func (*TLUpdateChatAdmins) ProtoMessage

func (*TLUpdateChatAdmins) ProtoMessage()

func (*TLUpdateChatAdmins) Reset

func (m *TLUpdateChatAdmins) Reset()

func (*TLUpdateChatAdmins) SetChatId

func (m *TLUpdateChatAdmins) SetChatId(v int32)

func (*TLUpdateChatAdmins) SetEnabled

func (m *TLUpdateChatAdmins) SetEnabled(v *Bool)

func (*TLUpdateChatAdmins) SetVersion

func (m *TLUpdateChatAdmins) SetVersion(v int32)

func (*TLUpdateChatAdmins) String

func (m *TLUpdateChatAdmins) String() string

func (*TLUpdateChatAdmins) To_Update

func (m *TLUpdateChatAdmins) To_Update() *Update

updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update;

type TLUpdateChatParticipantAdd

type TLUpdateChatParticipantAdd struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;

func NewTLUpdateChatParticipantAdd

func NewTLUpdateChatParticipantAdd() *TLUpdateChatParticipantAdd

func (*TLUpdateChatParticipantAdd) Decode

func (m *TLUpdateChatParticipantAdd) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChatParticipantAdd) Descriptor

func (*TLUpdateChatParticipantAdd) Descriptor() ([]byte, []int)

func (*TLUpdateChatParticipantAdd) Encode

func (m *TLUpdateChatParticipantAdd) Encode() []byte

func (*TLUpdateChatParticipantAdd) GetChatId

func (m *TLUpdateChatParticipantAdd) GetChatId() int32

func (*TLUpdateChatParticipantAdd) GetData2

func (m *TLUpdateChatParticipantAdd) GetData2() *Update_Data

func (*TLUpdateChatParticipantAdd) GetDate

func (m *TLUpdateChatParticipantAdd) GetDate() int32

func (*TLUpdateChatParticipantAdd) GetInviterId

func (m *TLUpdateChatParticipantAdd) GetInviterId() int32

func (*TLUpdateChatParticipantAdd) GetUserId

func (m *TLUpdateChatParticipantAdd) GetUserId() int32

func (*TLUpdateChatParticipantAdd) GetVersion

func (m *TLUpdateChatParticipantAdd) GetVersion() int32

func (*TLUpdateChatParticipantAdd) ProtoMessage

func (*TLUpdateChatParticipantAdd) ProtoMessage()

func (*TLUpdateChatParticipantAdd) Reset

func (m *TLUpdateChatParticipantAdd) Reset()

func (*TLUpdateChatParticipantAdd) SetChatId

func (m *TLUpdateChatParticipantAdd) SetChatId(v int32)

func (*TLUpdateChatParticipantAdd) SetDate

func (m *TLUpdateChatParticipantAdd) SetDate(v int32)

func (*TLUpdateChatParticipantAdd) SetInviterId

func (m *TLUpdateChatParticipantAdd) SetInviterId(v int32)

func (*TLUpdateChatParticipantAdd) SetUserId

func (m *TLUpdateChatParticipantAdd) SetUserId(v int32)

func (*TLUpdateChatParticipantAdd) SetVersion

func (m *TLUpdateChatParticipantAdd) SetVersion(v int32)

func (*TLUpdateChatParticipantAdd) String

func (m *TLUpdateChatParticipantAdd) String() string

func (*TLUpdateChatParticipantAdd) To_Update

func (m *TLUpdateChatParticipantAdd) To_Update() *Update

updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;

type TLUpdateChatParticipantAdmin

type TLUpdateChatParticipantAdmin struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update;

func NewTLUpdateChatParticipantAdmin

func NewTLUpdateChatParticipantAdmin() *TLUpdateChatParticipantAdmin

func (*TLUpdateChatParticipantAdmin) Decode

func (m *TLUpdateChatParticipantAdmin) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChatParticipantAdmin) Descriptor

func (*TLUpdateChatParticipantAdmin) Descriptor() ([]byte, []int)

func (*TLUpdateChatParticipantAdmin) Encode

func (m *TLUpdateChatParticipantAdmin) Encode() []byte

func (*TLUpdateChatParticipantAdmin) GetChatId

func (m *TLUpdateChatParticipantAdmin) GetChatId() int32

func (*TLUpdateChatParticipantAdmin) GetData2

func (*TLUpdateChatParticipantAdmin) GetIsAdmin

func (m *TLUpdateChatParticipantAdmin) GetIsAdmin() *Bool

func (*TLUpdateChatParticipantAdmin) GetUserId

func (m *TLUpdateChatParticipantAdmin) GetUserId() int32

func (*TLUpdateChatParticipantAdmin) GetVersion

func (m *TLUpdateChatParticipantAdmin) GetVersion() int32

func (*TLUpdateChatParticipantAdmin) ProtoMessage

func (*TLUpdateChatParticipantAdmin) ProtoMessage()

func (*TLUpdateChatParticipantAdmin) Reset

func (m *TLUpdateChatParticipantAdmin) Reset()

func (*TLUpdateChatParticipantAdmin) SetChatId

func (m *TLUpdateChatParticipantAdmin) SetChatId(v int32)

func (*TLUpdateChatParticipantAdmin) SetIsAdmin

func (m *TLUpdateChatParticipantAdmin) SetIsAdmin(v *Bool)

func (*TLUpdateChatParticipantAdmin) SetUserId

func (m *TLUpdateChatParticipantAdmin) SetUserId(v int32)

func (*TLUpdateChatParticipantAdmin) SetVersion

func (m *TLUpdateChatParticipantAdmin) SetVersion(v int32)

func (*TLUpdateChatParticipantAdmin) String

func (*TLUpdateChatParticipantAdmin) To_Update

func (m *TLUpdateChatParticipantAdmin) To_Update() *Update

updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update;

type TLUpdateChatParticipantDelete

type TLUpdateChatParticipantDelete struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;

func NewTLUpdateChatParticipantDelete

func NewTLUpdateChatParticipantDelete() *TLUpdateChatParticipantDelete

func (*TLUpdateChatParticipantDelete) Decode

func (*TLUpdateChatParticipantDelete) Descriptor

func (*TLUpdateChatParticipantDelete) Descriptor() ([]byte, []int)

func (*TLUpdateChatParticipantDelete) Encode

func (m *TLUpdateChatParticipantDelete) Encode() []byte

func (*TLUpdateChatParticipantDelete) GetChatId

func (m *TLUpdateChatParticipantDelete) GetChatId() int32

func (*TLUpdateChatParticipantDelete) GetData2

func (*TLUpdateChatParticipantDelete) GetUserId

func (m *TLUpdateChatParticipantDelete) GetUserId() int32

func (*TLUpdateChatParticipantDelete) GetVersion

func (m *TLUpdateChatParticipantDelete) GetVersion() int32

func (*TLUpdateChatParticipantDelete) ProtoMessage

func (*TLUpdateChatParticipantDelete) ProtoMessage()

func (*TLUpdateChatParticipantDelete) Reset

func (m *TLUpdateChatParticipantDelete) Reset()

func (*TLUpdateChatParticipantDelete) SetChatId

func (m *TLUpdateChatParticipantDelete) SetChatId(v int32)

func (*TLUpdateChatParticipantDelete) SetUserId

func (m *TLUpdateChatParticipantDelete) SetUserId(v int32)

func (*TLUpdateChatParticipantDelete) SetVersion

func (m *TLUpdateChatParticipantDelete) SetVersion(v int32)

func (*TLUpdateChatParticipantDelete) String

func (*TLUpdateChatParticipantDelete) To_Update

func (m *TLUpdateChatParticipantDelete) To_Update() *Update

updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;

type TLUpdateChatParticipants

type TLUpdateChatParticipants struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatParticipants#7761198 participants:ChatParticipants = Update;

func NewTLUpdateChatParticipants

func NewTLUpdateChatParticipants() *TLUpdateChatParticipants

func (*TLUpdateChatParticipants) Decode

func (m *TLUpdateChatParticipants) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChatParticipants) Descriptor

func (*TLUpdateChatParticipants) Descriptor() ([]byte, []int)

func (*TLUpdateChatParticipants) Encode

func (m *TLUpdateChatParticipants) Encode() []byte

func (*TLUpdateChatParticipants) GetData2

func (m *TLUpdateChatParticipants) GetData2() *Update_Data

func (*TLUpdateChatParticipants) GetParticipants

func (m *TLUpdateChatParticipants) GetParticipants() *ChatParticipants

func (*TLUpdateChatParticipants) ProtoMessage

func (*TLUpdateChatParticipants) ProtoMessage()

func (*TLUpdateChatParticipants) Reset

func (m *TLUpdateChatParticipants) Reset()

func (*TLUpdateChatParticipants) SetParticipants

func (m *TLUpdateChatParticipants) SetParticipants(v *ChatParticipants)

func (*TLUpdateChatParticipants) String

func (m *TLUpdateChatParticipants) String() string

func (*TLUpdateChatParticipants) To_Update

func (m *TLUpdateChatParticipants) To_Update() *Update

updateChatParticipants#7761198 participants:ChatParticipants = Update;

type TLUpdateChatUserTyping

type TLUpdateChatUserTyping struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update;

func NewTLUpdateChatUserTyping

func NewTLUpdateChatUserTyping() *TLUpdateChatUserTyping

func (*TLUpdateChatUserTyping) Decode

func (m *TLUpdateChatUserTyping) Decode(dbuf *DecodeBuf) error

func (*TLUpdateChatUserTyping) Descriptor

func (*TLUpdateChatUserTyping) Descriptor() ([]byte, []int)

func (*TLUpdateChatUserTyping) Encode

func (m *TLUpdateChatUserTyping) Encode() []byte

func (*TLUpdateChatUserTyping) GetAction

func (m *TLUpdateChatUserTyping) GetAction() *SendMessageAction

func (*TLUpdateChatUserTyping) GetChatId

func (m *TLUpdateChatUserTyping) GetChatId() int32

func (*TLUpdateChatUserTyping) GetData2

func (m *TLUpdateChatUserTyping) GetData2() *Update_Data

func (*TLUpdateChatUserTyping) GetUserId

func (m *TLUpdateChatUserTyping) GetUserId() int32

func (*TLUpdateChatUserTyping) ProtoMessage

func (*TLUpdateChatUserTyping) ProtoMessage()

func (*TLUpdateChatUserTyping) Reset

func (m *TLUpdateChatUserTyping) Reset()

func (*TLUpdateChatUserTyping) SetAction

func (m *TLUpdateChatUserTyping) SetAction(v *SendMessageAction)

func (*TLUpdateChatUserTyping) SetChatId

func (m *TLUpdateChatUserTyping) SetChatId(v int32)

func (*TLUpdateChatUserTyping) SetUserId

func (m *TLUpdateChatUserTyping) SetUserId(v int32)

func (*TLUpdateChatUserTyping) String

func (m *TLUpdateChatUserTyping) String() string

func (*TLUpdateChatUserTyping) To_Update

func (m *TLUpdateChatUserTyping) To_Update() *Update

updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update;

type TLUpdateConfig

type TLUpdateConfig struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateConfig#a229dd06 = Update;

func NewTLUpdateConfig

func NewTLUpdateConfig() *TLUpdateConfig

func (*TLUpdateConfig) Decode

func (m *TLUpdateConfig) Decode(dbuf *DecodeBuf) error

func (*TLUpdateConfig) Descriptor

func (*TLUpdateConfig) Descriptor() ([]byte, []int)

func (*TLUpdateConfig) Encode

func (m *TLUpdateConfig) Encode() []byte

func (*TLUpdateConfig) GetData2

func (m *TLUpdateConfig) GetData2() *Update_Data

func (*TLUpdateConfig) ProtoMessage

func (*TLUpdateConfig) ProtoMessage()

func (*TLUpdateConfig) Reset

func (m *TLUpdateConfig) Reset()

func (*TLUpdateConfig) String

func (m *TLUpdateConfig) String() string

func (*TLUpdateConfig) To_Update

func (m *TLUpdateConfig) To_Update() *Update

updateConfig#a229dd06 = Update;

type TLUpdateContactLink struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;

func NewTLUpdateContactLink() *TLUpdateContactLink

func (*TLUpdateContactLink) Decode

func (m *TLUpdateContactLink) Decode(dbuf *DecodeBuf) error

func (*TLUpdateContactLink) Descriptor

func (*TLUpdateContactLink) Descriptor() ([]byte, []int)

func (*TLUpdateContactLink) Encode

func (m *TLUpdateContactLink) Encode() []byte

func (*TLUpdateContactLink) GetData2

func (m *TLUpdateContactLink) GetData2() *Update_Data
func (m *TLUpdateContactLink) GetForeignLink() *ContactLink
func (m *TLUpdateContactLink) GetMyLink() *ContactLink

func (*TLUpdateContactLink) GetUserId

func (m *TLUpdateContactLink) GetUserId() int32

func (*TLUpdateContactLink) ProtoMessage

func (*TLUpdateContactLink) ProtoMessage()

func (*TLUpdateContactLink) Reset

func (m *TLUpdateContactLink) Reset()
func (m *TLUpdateContactLink) SetForeignLink(v *ContactLink)
func (m *TLUpdateContactLink) SetMyLink(v *ContactLink)

func (*TLUpdateContactLink) SetUserId

func (m *TLUpdateContactLink) SetUserId(v int32)

func (*TLUpdateContactLink) String

func (m *TLUpdateContactLink) String() string

func (*TLUpdateContactLink) To_Update

func (m *TLUpdateContactLink) To_Update() *Update

updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;

type TLUpdateContactRegistered

type TLUpdateContactRegistered struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateContactRegistered#2575bbb9 user_id:int date:int = Update;

func NewTLUpdateContactRegistered

func NewTLUpdateContactRegistered() *TLUpdateContactRegistered

func (*TLUpdateContactRegistered) Decode

func (m *TLUpdateContactRegistered) Decode(dbuf *DecodeBuf) error

func (*TLUpdateContactRegistered) Descriptor

func (*TLUpdateContactRegistered) Descriptor() ([]byte, []int)

func (*TLUpdateContactRegistered) Encode

func (m *TLUpdateContactRegistered) Encode() []byte

func (*TLUpdateContactRegistered) GetData2

func (m *TLUpdateContactRegistered) GetData2() *Update_Data

func (*TLUpdateContactRegistered) GetDate

func (m *TLUpdateContactRegistered) GetDate() int32

func (*TLUpdateContactRegistered) GetUserId

func (m *TLUpdateContactRegistered) GetUserId() int32

func (*TLUpdateContactRegistered) ProtoMessage

func (*TLUpdateContactRegistered) ProtoMessage()

func (*TLUpdateContactRegistered) Reset

func (m *TLUpdateContactRegistered) Reset()

func (*TLUpdateContactRegistered) SetDate

func (m *TLUpdateContactRegistered) SetDate(v int32)

func (*TLUpdateContactRegistered) SetUserId

func (m *TLUpdateContactRegistered) SetUserId(v int32)

func (*TLUpdateContactRegistered) String

func (m *TLUpdateContactRegistered) String() string

func (*TLUpdateContactRegistered) To_Update

func (m *TLUpdateContactRegistered) To_Update() *Update

updateContactRegistered#2575bbb9 user_id:int date:int = Update;

type TLUpdateContactsReset

type TLUpdateContactsReset struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateContactsReset#7084a7be = Update;

func NewTLUpdateContactsReset

func NewTLUpdateContactsReset() *TLUpdateContactsReset

func (*TLUpdateContactsReset) Decode

func (m *TLUpdateContactsReset) Decode(dbuf *DecodeBuf) error

func (*TLUpdateContactsReset) Descriptor

func (*TLUpdateContactsReset) Descriptor() ([]byte, []int)

func (*TLUpdateContactsReset) Encode

func (m *TLUpdateContactsReset) Encode() []byte

func (*TLUpdateContactsReset) GetData2

func (m *TLUpdateContactsReset) GetData2() *Update_Data

func (*TLUpdateContactsReset) ProtoMessage

func (*TLUpdateContactsReset) ProtoMessage()

func (*TLUpdateContactsReset) Reset

func (m *TLUpdateContactsReset) Reset()

func (*TLUpdateContactsReset) String

func (m *TLUpdateContactsReset) String() string

func (*TLUpdateContactsReset) To_Update

func (m *TLUpdateContactsReset) To_Update() *Update

updateContactsReset#7084a7be = Update;

type TLUpdateDcOptions

type TLUpdateDcOptions struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;

func NewTLUpdateDcOptions

func NewTLUpdateDcOptions() *TLUpdateDcOptions

func (*TLUpdateDcOptions) Decode

func (m *TLUpdateDcOptions) Decode(dbuf *DecodeBuf) error

func (*TLUpdateDcOptions) Descriptor

func (*TLUpdateDcOptions) Descriptor() ([]byte, []int)

func (*TLUpdateDcOptions) Encode

func (m *TLUpdateDcOptions) Encode() []byte

func (*TLUpdateDcOptions) GetData2

func (m *TLUpdateDcOptions) GetData2() *Update_Data

func (*TLUpdateDcOptions) GetDcOptions

func (m *TLUpdateDcOptions) GetDcOptions() []*DcOption

func (*TLUpdateDcOptions) ProtoMessage

func (*TLUpdateDcOptions) ProtoMessage()

func (*TLUpdateDcOptions) Reset

func (m *TLUpdateDcOptions) Reset()

func (*TLUpdateDcOptions) SetDcOptions

func (m *TLUpdateDcOptions) SetDcOptions(v []*DcOption)

func (*TLUpdateDcOptions) String

func (m *TLUpdateDcOptions) String() string

func (*TLUpdateDcOptions) To_Update

func (m *TLUpdateDcOptions) To_Update() *Update

updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;

type TLUpdateDeleteChannelMessages

type TLUpdateDeleteChannelMessages struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;

func NewTLUpdateDeleteChannelMessages

func NewTLUpdateDeleteChannelMessages() *TLUpdateDeleteChannelMessages

func (*TLUpdateDeleteChannelMessages) Decode

func (*TLUpdateDeleteChannelMessages) Descriptor

func (*TLUpdateDeleteChannelMessages) Descriptor() ([]byte, []int)

func (*TLUpdateDeleteChannelMessages) Encode

func (m *TLUpdateDeleteChannelMessages) Encode() []byte

func (*TLUpdateDeleteChannelMessages) GetChannelId

func (m *TLUpdateDeleteChannelMessages) GetChannelId() int32

func (*TLUpdateDeleteChannelMessages) GetData2

func (*TLUpdateDeleteChannelMessages) GetMessages

func (m *TLUpdateDeleteChannelMessages) GetMessages() []int32

func (*TLUpdateDeleteChannelMessages) GetPts

func (*TLUpdateDeleteChannelMessages) GetPtsCount

func (m *TLUpdateDeleteChannelMessages) GetPtsCount() int32

func (*TLUpdateDeleteChannelMessages) ProtoMessage

func (*TLUpdateDeleteChannelMessages) ProtoMessage()

func (*TLUpdateDeleteChannelMessages) Reset

func (m *TLUpdateDeleteChannelMessages) Reset()

func (*TLUpdateDeleteChannelMessages) SetChannelId

func (m *TLUpdateDeleteChannelMessages) SetChannelId(v int32)

func (*TLUpdateDeleteChannelMessages) SetMessages

func (m *TLUpdateDeleteChannelMessages) SetMessages(v []int32)

func (*TLUpdateDeleteChannelMessages) SetPts

func (m *TLUpdateDeleteChannelMessages) SetPts(v int32)

func (*TLUpdateDeleteChannelMessages) SetPtsCount

func (m *TLUpdateDeleteChannelMessages) SetPtsCount(v int32)

func (*TLUpdateDeleteChannelMessages) String

func (*TLUpdateDeleteChannelMessages) To_Update

func (m *TLUpdateDeleteChannelMessages) To_Update() *Update

updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;

type TLUpdateDeleteMessages

type TLUpdateDeleteMessages struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;

func NewTLUpdateDeleteMessages

func NewTLUpdateDeleteMessages() *TLUpdateDeleteMessages

func (*TLUpdateDeleteMessages) Decode

func (m *TLUpdateDeleteMessages) Decode(dbuf *DecodeBuf) error

func (*TLUpdateDeleteMessages) Descriptor

func (*TLUpdateDeleteMessages) Descriptor() ([]byte, []int)

func (*TLUpdateDeleteMessages) Encode

func (m *TLUpdateDeleteMessages) Encode() []byte

func (*TLUpdateDeleteMessages) GetData2

func (m *TLUpdateDeleteMessages) GetData2() *Update_Data

func (*TLUpdateDeleteMessages) GetMessages

func (m *TLUpdateDeleteMessages) GetMessages() []int32

func (*TLUpdateDeleteMessages) GetPts

func (m *TLUpdateDeleteMessages) GetPts() int32

func (*TLUpdateDeleteMessages) GetPtsCount

func (m *TLUpdateDeleteMessages) GetPtsCount() int32

func (*TLUpdateDeleteMessages) ProtoMessage

func (*TLUpdateDeleteMessages) ProtoMessage()

func (*TLUpdateDeleteMessages) Reset

func (m *TLUpdateDeleteMessages) Reset()

func (*TLUpdateDeleteMessages) SetMessages

func (m *TLUpdateDeleteMessages) SetMessages(v []int32)

func (*TLUpdateDeleteMessages) SetPts

func (m *TLUpdateDeleteMessages) SetPts(v int32)

func (*TLUpdateDeleteMessages) SetPtsCount

func (m *TLUpdateDeleteMessages) SetPtsCount(v int32)

func (*TLUpdateDeleteMessages) String

func (m *TLUpdateDeleteMessages) String() string

func (*TLUpdateDeleteMessages) To_Update

func (m *TLUpdateDeleteMessages) To_Update() *Update

updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;

type TLUpdateDialogPinned

type TLUpdateDialogPinned struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;

func NewTLUpdateDialogPinned

func NewTLUpdateDialogPinned() *TLUpdateDialogPinned

func (*TLUpdateDialogPinned) Decode

func (m *TLUpdateDialogPinned) Decode(dbuf *DecodeBuf) error

func (*TLUpdateDialogPinned) Descriptor

func (*TLUpdateDialogPinned) Descriptor() ([]byte, []int)

func (*TLUpdateDialogPinned) Encode

func (m *TLUpdateDialogPinned) Encode() []byte

func (*TLUpdateDialogPinned) GetData2

func (m *TLUpdateDialogPinned) GetData2() *Update_Data

func (*TLUpdateDialogPinned) GetPeer

func (m *TLUpdateDialogPinned) GetPeer() *Peer

func (*TLUpdateDialogPinned) GetPinned

func (m *TLUpdateDialogPinned) GetPinned() bool

func (*TLUpdateDialogPinned) ProtoMessage

func (*TLUpdateDialogPinned) ProtoMessage()

func (*TLUpdateDialogPinned) Reset

func (m *TLUpdateDialogPinned) Reset()

func (*TLUpdateDialogPinned) SetPeer

func (m *TLUpdateDialogPinned) SetPeer(v *Peer)

func (*TLUpdateDialogPinned) SetPinned

func (m *TLUpdateDialogPinned) SetPinned(v bool)

func (*TLUpdateDialogPinned) String

func (m *TLUpdateDialogPinned) String() string

func (*TLUpdateDialogPinned) To_Update

func (m *TLUpdateDialogPinned) To_Update() *Update

updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;

type TLUpdateDraftMessage

type TLUpdateDraftMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;

func NewTLUpdateDraftMessage

func NewTLUpdateDraftMessage() *TLUpdateDraftMessage

func (*TLUpdateDraftMessage) Decode

func (m *TLUpdateDraftMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateDraftMessage) Descriptor

func (*TLUpdateDraftMessage) Descriptor() ([]byte, []int)

func (*TLUpdateDraftMessage) Encode

func (m *TLUpdateDraftMessage) Encode() []byte

func (*TLUpdateDraftMessage) GetData2

func (m *TLUpdateDraftMessage) GetData2() *Update_Data

func (*TLUpdateDraftMessage) GetDraft

func (m *TLUpdateDraftMessage) GetDraft() *DraftMessage

func (*TLUpdateDraftMessage) GetPeer

func (m *TLUpdateDraftMessage) GetPeer() *Peer

func (*TLUpdateDraftMessage) ProtoMessage

func (*TLUpdateDraftMessage) ProtoMessage()

func (*TLUpdateDraftMessage) Reset

func (m *TLUpdateDraftMessage) Reset()

func (*TLUpdateDraftMessage) SetDraft

func (m *TLUpdateDraftMessage) SetDraft(v *DraftMessage)

func (*TLUpdateDraftMessage) SetPeer

func (m *TLUpdateDraftMessage) SetPeer(v *Peer)

func (*TLUpdateDraftMessage) String

func (m *TLUpdateDraftMessage) String() string

func (*TLUpdateDraftMessage) To_Update

func (m *TLUpdateDraftMessage) To_Update() *Update

updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;

type TLUpdateEditChannelMessage

type TLUpdateEditChannelMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;

func NewTLUpdateEditChannelMessage

func NewTLUpdateEditChannelMessage() *TLUpdateEditChannelMessage

func (*TLUpdateEditChannelMessage) Decode

func (m *TLUpdateEditChannelMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateEditChannelMessage) Descriptor

func (*TLUpdateEditChannelMessage) Descriptor() ([]byte, []int)

func (*TLUpdateEditChannelMessage) Encode

func (m *TLUpdateEditChannelMessage) Encode() []byte

func (*TLUpdateEditChannelMessage) GetData2

func (m *TLUpdateEditChannelMessage) GetData2() *Update_Data

func (*TLUpdateEditChannelMessage) GetMessage

func (m *TLUpdateEditChannelMessage) GetMessage() *Message

func (*TLUpdateEditChannelMessage) GetPts

func (m *TLUpdateEditChannelMessage) GetPts() int32

func (*TLUpdateEditChannelMessage) GetPtsCount

func (m *TLUpdateEditChannelMessage) GetPtsCount() int32

func (*TLUpdateEditChannelMessage) ProtoMessage

func (*TLUpdateEditChannelMessage) ProtoMessage()

func (*TLUpdateEditChannelMessage) Reset

func (m *TLUpdateEditChannelMessage) Reset()

func (*TLUpdateEditChannelMessage) SetMessage

func (m *TLUpdateEditChannelMessage) SetMessage(v *Message)

func (*TLUpdateEditChannelMessage) SetPts

func (m *TLUpdateEditChannelMessage) SetPts(v int32)

func (*TLUpdateEditChannelMessage) SetPtsCount

func (m *TLUpdateEditChannelMessage) SetPtsCount(v int32)

func (*TLUpdateEditChannelMessage) String

func (m *TLUpdateEditChannelMessage) String() string

func (*TLUpdateEditChannelMessage) To_Update

func (m *TLUpdateEditChannelMessage) To_Update() *Update

updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;

type TLUpdateEditMessage

type TLUpdateEditMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;

func NewTLUpdateEditMessage

func NewTLUpdateEditMessage() *TLUpdateEditMessage

func (*TLUpdateEditMessage) Decode

func (m *TLUpdateEditMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateEditMessage) Descriptor

func (*TLUpdateEditMessage) Descriptor() ([]byte, []int)

func (*TLUpdateEditMessage) Encode

func (m *TLUpdateEditMessage) Encode() []byte

func (*TLUpdateEditMessage) GetData2

func (m *TLUpdateEditMessage) GetData2() *Update_Data

func (*TLUpdateEditMessage) GetMessage

func (m *TLUpdateEditMessage) GetMessage() *Message

func (*TLUpdateEditMessage) GetPts

func (m *TLUpdateEditMessage) GetPts() int32

func (*TLUpdateEditMessage) GetPtsCount

func (m *TLUpdateEditMessage) GetPtsCount() int32

func (*TLUpdateEditMessage) ProtoMessage

func (*TLUpdateEditMessage) ProtoMessage()

func (*TLUpdateEditMessage) Reset

func (m *TLUpdateEditMessage) Reset()

func (*TLUpdateEditMessage) SetMessage

func (m *TLUpdateEditMessage) SetMessage(v *Message)

func (*TLUpdateEditMessage) SetPts

func (m *TLUpdateEditMessage) SetPts(v int32)

func (*TLUpdateEditMessage) SetPtsCount

func (m *TLUpdateEditMessage) SetPtsCount(v int32)

func (*TLUpdateEditMessage) String

func (m *TLUpdateEditMessage) String() string

func (*TLUpdateEditMessage) To_Update

func (m *TLUpdateEditMessage) To_Update() *Update

updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;

type TLUpdateEncryptedChatTyping

type TLUpdateEncryptedChatTyping struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateEncryptedChatTyping#1710f156 chat_id:int = Update;

func NewTLUpdateEncryptedChatTyping

func NewTLUpdateEncryptedChatTyping() *TLUpdateEncryptedChatTyping

func (*TLUpdateEncryptedChatTyping) Decode

func (m *TLUpdateEncryptedChatTyping) Decode(dbuf *DecodeBuf) error

func (*TLUpdateEncryptedChatTyping) Descriptor

func (*TLUpdateEncryptedChatTyping) Descriptor() ([]byte, []int)

func (*TLUpdateEncryptedChatTyping) Encode

func (m *TLUpdateEncryptedChatTyping) Encode() []byte

func (*TLUpdateEncryptedChatTyping) GetChatId

func (m *TLUpdateEncryptedChatTyping) GetChatId() int32

func (*TLUpdateEncryptedChatTyping) GetData2

func (*TLUpdateEncryptedChatTyping) ProtoMessage

func (*TLUpdateEncryptedChatTyping) ProtoMessage()

func (*TLUpdateEncryptedChatTyping) Reset

func (m *TLUpdateEncryptedChatTyping) Reset()

func (*TLUpdateEncryptedChatTyping) SetChatId

func (m *TLUpdateEncryptedChatTyping) SetChatId(v int32)

func (*TLUpdateEncryptedChatTyping) String

func (m *TLUpdateEncryptedChatTyping) String() string

func (*TLUpdateEncryptedChatTyping) To_Update

func (m *TLUpdateEncryptedChatTyping) To_Update() *Update

updateEncryptedChatTyping#1710f156 chat_id:int = Update;

type TLUpdateEncryptedMessagesRead

type TLUpdateEncryptedMessagesRead struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;

func NewTLUpdateEncryptedMessagesRead

func NewTLUpdateEncryptedMessagesRead() *TLUpdateEncryptedMessagesRead

func (*TLUpdateEncryptedMessagesRead) Decode

func (*TLUpdateEncryptedMessagesRead) Descriptor

func (*TLUpdateEncryptedMessagesRead) Descriptor() ([]byte, []int)

func (*TLUpdateEncryptedMessagesRead) Encode

func (m *TLUpdateEncryptedMessagesRead) Encode() []byte

func (*TLUpdateEncryptedMessagesRead) GetChatId

func (m *TLUpdateEncryptedMessagesRead) GetChatId() int32

func (*TLUpdateEncryptedMessagesRead) GetData2

func (*TLUpdateEncryptedMessagesRead) GetDate

func (m *TLUpdateEncryptedMessagesRead) GetDate() int32

func (*TLUpdateEncryptedMessagesRead) GetMaxDate

func (m *TLUpdateEncryptedMessagesRead) GetMaxDate() int32

func (*TLUpdateEncryptedMessagesRead) ProtoMessage

func (*TLUpdateEncryptedMessagesRead) ProtoMessage()

func (*TLUpdateEncryptedMessagesRead) Reset

func (m *TLUpdateEncryptedMessagesRead) Reset()

func (*TLUpdateEncryptedMessagesRead) SetChatId

func (m *TLUpdateEncryptedMessagesRead) SetChatId(v int32)

func (*TLUpdateEncryptedMessagesRead) SetDate

func (m *TLUpdateEncryptedMessagesRead) SetDate(v int32)

func (*TLUpdateEncryptedMessagesRead) SetMaxDate

func (m *TLUpdateEncryptedMessagesRead) SetMaxDate(v int32)

func (*TLUpdateEncryptedMessagesRead) String

func (*TLUpdateEncryptedMessagesRead) To_Update

func (m *TLUpdateEncryptedMessagesRead) To_Update() *Update

updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;

type TLUpdateEncryption

type TLUpdateEncryption struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;

func NewTLUpdateEncryption

func NewTLUpdateEncryption() *TLUpdateEncryption

func (*TLUpdateEncryption) Decode

func (m *TLUpdateEncryption) Decode(dbuf *DecodeBuf) error

func (*TLUpdateEncryption) Descriptor

func (*TLUpdateEncryption) Descriptor() ([]byte, []int)

func (*TLUpdateEncryption) Encode

func (m *TLUpdateEncryption) Encode() []byte

func (*TLUpdateEncryption) GetChat

func (m *TLUpdateEncryption) GetChat() *EncryptedChat

func (*TLUpdateEncryption) GetData2

func (m *TLUpdateEncryption) GetData2() *Update_Data

func (*TLUpdateEncryption) GetDate

func (m *TLUpdateEncryption) GetDate() int32

func (*TLUpdateEncryption) ProtoMessage

func (*TLUpdateEncryption) ProtoMessage()

func (*TLUpdateEncryption) Reset

func (m *TLUpdateEncryption) Reset()

func (*TLUpdateEncryption) SetChat

func (m *TLUpdateEncryption) SetChat(v *EncryptedChat)

func (*TLUpdateEncryption) SetDate

func (m *TLUpdateEncryption) SetDate(v int32)

func (*TLUpdateEncryption) String

func (m *TLUpdateEncryption) String() string

func (*TLUpdateEncryption) To_Update

func (m *TLUpdateEncryption) To_Update() *Update

updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;

type TLUpdateFavedStickers

type TLUpdateFavedStickers struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateFavedStickers#e511996d = Update;

func NewTLUpdateFavedStickers

func NewTLUpdateFavedStickers() *TLUpdateFavedStickers

func (*TLUpdateFavedStickers) Decode

func (m *TLUpdateFavedStickers) Decode(dbuf *DecodeBuf) error

func (*TLUpdateFavedStickers) Descriptor

func (*TLUpdateFavedStickers) Descriptor() ([]byte, []int)

func (*TLUpdateFavedStickers) Encode

func (m *TLUpdateFavedStickers) Encode() []byte

func (*TLUpdateFavedStickers) GetData2

func (m *TLUpdateFavedStickers) GetData2() *Update_Data

func (*TLUpdateFavedStickers) ProtoMessage

func (*TLUpdateFavedStickers) ProtoMessage()

func (*TLUpdateFavedStickers) Reset

func (m *TLUpdateFavedStickers) Reset()

func (*TLUpdateFavedStickers) String

func (m *TLUpdateFavedStickers) String() string

func (*TLUpdateFavedStickers) To_Update

func (m *TLUpdateFavedStickers) To_Update() *Update

updateFavedStickers#e511996d = Update;

type TLUpdateInlineBotCallbackQuery

type TLUpdateInlineBotCallbackQuery struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

func NewTLUpdateInlineBotCallbackQuery

func NewTLUpdateInlineBotCallbackQuery() *TLUpdateInlineBotCallbackQuery

func (*TLUpdateInlineBotCallbackQuery) Decode

func (*TLUpdateInlineBotCallbackQuery) Descriptor

func (*TLUpdateInlineBotCallbackQuery) Descriptor() ([]byte, []int)

func (*TLUpdateInlineBotCallbackQuery) Encode

func (m *TLUpdateInlineBotCallbackQuery) Encode() []byte

func (*TLUpdateInlineBotCallbackQuery) GetChatInstance

func (m *TLUpdateInlineBotCallbackQuery) GetChatInstance() int64

func (*TLUpdateInlineBotCallbackQuery) GetData

func (m *TLUpdateInlineBotCallbackQuery) GetData() []byte

func (*TLUpdateInlineBotCallbackQuery) GetData2

func (*TLUpdateInlineBotCallbackQuery) GetGameShortName

func (m *TLUpdateInlineBotCallbackQuery) GetGameShortName() string

func (*TLUpdateInlineBotCallbackQuery) GetMsgId

func (*TLUpdateInlineBotCallbackQuery) GetQueryId

func (m *TLUpdateInlineBotCallbackQuery) GetQueryId() int64

func (*TLUpdateInlineBotCallbackQuery) GetUserId

func (m *TLUpdateInlineBotCallbackQuery) GetUserId() int32

func (*TLUpdateInlineBotCallbackQuery) ProtoMessage

func (*TLUpdateInlineBotCallbackQuery) ProtoMessage()

func (*TLUpdateInlineBotCallbackQuery) Reset

func (m *TLUpdateInlineBotCallbackQuery) Reset()

func (*TLUpdateInlineBotCallbackQuery) SetChatInstance

func (m *TLUpdateInlineBotCallbackQuery) SetChatInstance(v int64)

func (*TLUpdateInlineBotCallbackQuery) SetData

func (m *TLUpdateInlineBotCallbackQuery) SetData(v []byte)

func (*TLUpdateInlineBotCallbackQuery) SetGameShortName

func (m *TLUpdateInlineBotCallbackQuery) SetGameShortName(v string)

func (*TLUpdateInlineBotCallbackQuery) SetMsgId

func (*TLUpdateInlineBotCallbackQuery) SetQueryId

func (m *TLUpdateInlineBotCallbackQuery) SetQueryId(v int64)

func (*TLUpdateInlineBotCallbackQuery) SetUserId

func (m *TLUpdateInlineBotCallbackQuery) SetUserId(v int32)

func (*TLUpdateInlineBotCallbackQuery) String

func (*TLUpdateInlineBotCallbackQuery) To_Update

func (m *TLUpdateInlineBotCallbackQuery) To_Update() *Update

updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

type TLUpdateLangPack

type TLUpdateLangPack struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateLangPack#56022f4d difference:LangPackDifference = Update;

func NewTLUpdateLangPack

func NewTLUpdateLangPack() *TLUpdateLangPack

func (*TLUpdateLangPack) Decode

func (m *TLUpdateLangPack) Decode(dbuf *DecodeBuf) error

func (*TLUpdateLangPack) Descriptor

func (*TLUpdateLangPack) Descriptor() ([]byte, []int)

func (*TLUpdateLangPack) Encode

func (m *TLUpdateLangPack) Encode() []byte

func (*TLUpdateLangPack) GetData2

func (m *TLUpdateLangPack) GetData2() *Update_Data

func (*TLUpdateLangPack) GetDifference

func (m *TLUpdateLangPack) GetDifference() *LangPackDifference

func (*TLUpdateLangPack) ProtoMessage

func (*TLUpdateLangPack) ProtoMessage()

func (*TLUpdateLangPack) Reset

func (m *TLUpdateLangPack) Reset()

func (*TLUpdateLangPack) SetDifference

func (m *TLUpdateLangPack) SetDifference(v *LangPackDifference)

func (*TLUpdateLangPack) String

func (m *TLUpdateLangPack) String() string

func (*TLUpdateLangPack) To_Update

func (m *TLUpdateLangPack) To_Update() *Update

updateLangPack#56022f4d difference:LangPackDifference = Update;

type TLUpdateLangPackTooLong

type TLUpdateLangPackTooLong struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateLangPackTooLong#10c2404b = Update;

func NewTLUpdateLangPackTooLong

func NewTLUpdateLangPackTooLong() *TLUpdateLangPackTooLong

func (*TLUpdateLangPackTooLong) Decode

func (m *TLUpdateLangPackTooLong) Decode(dbuf *DecodeBuf) error

func (*TLUpdateLangPackTooLong) Descriptor

func (*TLUpdateLangPackTooLong) Descriptor() ([]byte, []int)

func (*TLUpdateLangPackTooLong) Encode

func (m *TLUpdateLangPackTooLong) Encode() []byte

func (*TLUpdateLangPackTooLong) GetData2

func (m *TLUpdateLangPackTooLong) GetData2() *Update_Data

func (*TLUpdateLangPackTooLong) ProtoMessage

func (*TLUpdateLangPackTooLong) ProtoMessage()

func (*TLUpdateLangPackTooLong) Reset

func (m *TLUpdateLangPackTooLong) Reset()

func (*TLUpdateLangPackTooLong) String

func (m *TLUpdateLangPackTooLong) String() string

func (*TLUpdateLangPackTooLong) To_Update

func (m *TLUpdateLangPackTooLong) To_Update() *Update

updateLangPackTooLong#10c2404b = Update;

type TLUpdateMessageID

type TLUpdateMessageID struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateMessageID#4e90bfd6 id:int random_id:long = Update;

func NewTLUpdateMessageID

func NewTLUpdateMessageID() *TLUpdateMessageID

func (*TLUpdateMessageID) Decode

func (m *TLUpdateMessageID) Decode(dbuf *DecodeBuf) error

func (*TLUpdateMessageID) Descriptor

func (*TLUpdateMessageID) Descriptor() ([]byte, []int)

func (*TLUpdateMessageID) Encode

func (m *TLUpdateMessageID) Encode() []byte

func (*TLUpdateMessageID) GetData2

func (m *TLUpdateMessageID) GetData2() *Update_Data

func (*TLUpdateMessageID) GetId

func (m *TLUpdateMessageID) GetId() int32

func (*TLUpdateMessageID) GetRandomId

func (m *TLUpdateMessageID) GetRandomId() int64

func (*TLUpdateMessageID) ProtoMessage

func (*TLUpdateMessageID) ProtoMessage()

func (*TLUpdateMessageID) Reset

func (m *TLUpdateMessageID) Reset()

func (*TLUpdateMessageID) SetId

func (m *TLUpdateMessageID) SetId(v int32)

func (*TLUpdateMessageID) SetRandomId

func (m *TLUpdateMessageID) SetRandomId(v int64)

func (*TLUpdateMessageID) String

func (m *TLUpdateMessageID) String() string

func (*TLUpdateMessageID) To_Update

func (m *TLUpdateMessageID) To_Update() *Update

updateMessageID#4e90bfd6 id:int random_id:long = Update;

type TLUpdateNewChannelMessage

type TLUpdateNewChannelMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;

func NewTLUpdateNewChannelMessage

func NewTLUpdateNewChannelMessage() *TLUpdateNewChannelMessage

func (*TLUpdateNewChannelMessage) Decode

func (m *TLUpdateNewChannelMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateNewChannelMessage) Descriptor

func (*TLUpdateNewChannelMessage) Descriptor() ([]byte, []int)

func (*TLUpdateNewChannelMessage) Encode

func (m *TLUpdateNewChannelMessage) Encode() []byte

func (*TLUpdateNewChannelMessage) GetData2

func (m *TLUpdateNewChannelMessage) GetData2() *Update_Data

func (*TLUpdateNewChannelMessage) GetMessage

func (m *TLUpdateNewChannelMessage) GetMessage() *Message

func (*TLUpdateNewChannelMessage) GetPts

func (m *TLUpdateNewChannelMessage) GetPts() int32

func (*TLUpdateNewChannelMessage) GetPtsCount

func (m *TLUpdateNewChannelMessage) GetPtsCount() int32

func (*TLUpdateNewChannelMessage) ProtoMessage

func (*TLUpdateNewChannelMessage) ProtoMessage()

func (*TLUpdateNewChannelMessage) Reset

func (m *TLUpdateNewChannelMessage) Reset()

func (*TLUpdateNewChannelMessage) SetMessage

func (m *TLUpdateNewChannelMessage) SetMessage(v *Message)

func (*TLUpdateNewChannelMessage) SetPts

func (m *TLUpdateNewChannelMessage) SetPts(v int32)

func (*TLUpdateNewChannelMessage) SetPtsCount

func (m *TLUpdateNewChannelMessage) SetPtsCount(v int32)

func (*TLUpdateNewChannelMessage) String

func (m *TLUpdateNewChannelMessage) String() string

func (*TLUpdateNewChannelMessage) To_Update

func (m *TLUpdateNewChannelMessage) To_Update() *Update

updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;

type TLUpdateNewEncryptedMessage

type TLUpdateNewEncryptedMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;

func NewTLUpdateNewEncryptedMessage

func NewTLUpdateNewEncryptedMessage() *TLUpdateNewEncryptedMessage

func (*TLUpdateNewEncryptedMessage) Decode

func (m *TLUpdateNewEncryptedMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateNewEncryptedMessage) Descriptor

func (*TLUpdateNewEncryptedMessage) Descriptor() ([]byte, []int)

func (*TLUpdateNewEncryptedMessage) Encode

func (m *TLUpdateNewEncryptedMessage) Encode() []byte

func (*TLUpdateNewEncryptedMessage) GetData2

func (*TLUpdateNewEncryptedMessage) GetMessage

func (*TLUpdateNewEncryptedMessage) GetQts

func (m *TLUpdateNewEncryptedMessage) GetQts() int32

func (*TLUpdateNewEncryptedMessage) ProtoMessage

func (*TLUpdateNewEncryptedMessage) ProtoMessage()

func (*TLUpdateNewEncryptedMessage) Reset

func (m *TLUpdateNewEncryptedMessage) Reset()

func (*TLUpdateNewEncryptedMessage) SetMessage

func (*TLUpdateNewEncryptedMessage) SetQts

func (m *TLUpdateNewEncryptedMessage) SetQts(v int32)

func (*TLUpdateNewEncryptedMessage) String

func (m *TLUpdateNewEncryptedMessage) String() string

func (*TLUpdateNewEncryptedMessage) To_Update

func (m *TLUpdateNewEncryptedMessage) To_Update() *Update

updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;

type TLUpdateNewMessage

type TLUpdateNewMessage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;

func NewTLUpdateNewMessage

func NewTLUpdateNewMessage() *TLUpdateNewMessage

func (*TLUpdateNewMessage) Decode

func (m *TLUpdateNewMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateNewMessage) Descriptor

func (*TLUpdateNewMessage) Descriptor() ([]byte, []int)

func (*TLUpdateNewMessage) Encode

func (m *TLUpdateNewMessage) Encode() []byte

func (*TLUpdateNewMessage) GetData2

func (m *TLUpdateNewMessage) GetData2() *Update_Data

func (*TLUpdateNewMessage) GetMessage

func (m *TLUpdateNewMessage) GetMessage() *Message

func (*TLUpdateNewMessage) GetPts

func (m *TLUpdateNewMessage) GetPts() int32

func (*TLUpdateNewMessage) GetPtsCount

func (m *TLUpdateNewMessage) GetPtsCount() int32

func (*TLUpdateNewMessage) ProtoMessage

func (*TLUpdateNewMessage) ProtoMessage()

func (*TLUpdateNewMessage) Reset

func (m *TLUpdateNewMessage) Reset()

func (*TLUpdateNewMessage) SetMessage

func (m *TLUpdateNewMessage) SetMessage(v *Message)

func (*TLUpdateNewMessage) SetPts

func (m *TLUpdateNewMessage) SetPts(v int32)

func (*TLUpdateNewMessage) SetPtsCount

func (m *TLUpdateNewMessage) SetPtsCount(v int32)

func (*TLUpdateNewMessage) String

func (m *TLUpdateNewMessage) String() string

func (*TLUpdateNewMessage) To_Update

func (m *TLUpdateNewMessage) To_Update() *Update

updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;

type TLUpdateNewStickerSet

type TLUpdateNewStickerSet struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;

func NewTLUpdateNewStickerSet

func NewTLUpdateNewStickerSet() *TLUpdateNewStickerSet

func (*TLUpdateNewStickerSet) Decode

func (m *TLUpdateNewStickerSet) Decode(dbuf *DecodeBuf) error

func (*TLUpdateNewStickerSet) Descriptor

func (*TLUpdateNewStickerSet) Descriptor() ([]byte, []int)

func (*TLUpdateNewStickerSet) Encode

func (m *TLUpdateNewStickerSet) Encode() []byte

func (*TLUpdateNewStickerSet) GetData2

func (m *TLUpdateNewStickerSet) GetData2() *Update_Data

func (*TLUpdateNewStickerSet) GetStickerset

func (m *TLUpdateNewStickerSet) GetStickerset() *Messages_StickerSet

func (*TLUpdateNewStickerSet) ProtoMessage

func (*TLUpdateNewStickerSet) ProtoMessage()

func (*TLUpdateNewStickerSet) Reset

func (m *TLUpdateNewStickerSet) Reset()

func (*TLUpdateNewStickerSet) SetStickerset

func (m *TLUpdateNewStickerSet) SetStickerset(v *Messages_StickerSet)

func (*TLUpdateNewStickerSet) String

func (m *TLUpdateNewStickerSet) String() string

func (*TLUpdateNewStickerSet) To_Update

func (m *TLUpdateNewStickerSet) To_Update() *Update

updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;

type TLUpdateNotifySettings

type TLUpdateNotifySettings struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;

func NewTLUpdateNotifySettings

func NewTLUpdateNotifySettings() *TLUpdateNotifySettings

func (*TLUpdateNotifySettings) Decode

func (m *TLUpdateNotifySettings) Decode(dbuf *DecodeBuf) error

func (*TLUpdateNotifySettings) Descriptor

func (*TLUpdateNotifySettings) Descriptor() ([]byte, []int)

func (*TLUpdateNotifySettings) Encode

func (m *TLUpdateNotifySettings) Encode() []byte

func (*TLUpdateNotifySettings) GetData2

func (m *TLUpdateNotifySettings) GetData2() *Update_Data

func (*TLUpdateNotifySettings) GetNotifySettings

func (m *TLUpdateNotifySettings) GetNotifySettings() *PeerNotifySettings

func (*TLUpdateNotifySettings) GetPeer

func (m *TLUpdateNotifySettings) GetPeer() *NotifyPeer

func (*TLUpdateNotifySettings) ProtoMessage

func (*TLUpdateNotifySettings) ProtoMessage()

func (*TLUpdateNotifySettings) Reset

func (m *TLUpdateNotifySettings) Reset()

func (*TLUpdateNotifySettings) SetNotifySettings

func (m *TLUpdateNotifySettings) SetNotifySettings(v *PeerNotifySettings)

func (*TLUpdateNotifySettings) SetPeer

func (m *TLUpdateNotifySettings) SetPeer(v *NotifyPeer)

func (*TLUpdateNotifySettings) String

func (m *TLUpdateNotifySettings) String() string

func (*TLUpdateNotifySettings) To_Update

func (m *TLUpdateNotifySettings) To_Update() *Update

updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;

type TLUpdatePhoneCall

type TLUpdatePhoneCall struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;

func NewTLUpdatePhoneCall

func NewTLUpdatePhoneCall() *TLUpdatePhoneCall

func (*TLUpdatePhoneCall) Decode

func (m *TLUpdatePhoneCall) Decode(dbuf *DecodeBuf) error

func (*TLUpdatePhoneCall) Descriptor

func (*TLUpdatePhoneCall) Descriptor() ([]byte, []int)

func (*TLUpdatePhoneCall) Encode

func (m *TLUpdatePhoneCall) Encode() []byte

func (*TLUpdatePhoneCall) GetData2

func (m *TLUpdatePhoneCall) GetData2() *Update_Data

func (*TLUpdatePhoneCall) GetPhoneCall

func (m *TLUpdatePhoneCall) GetPhoneCall() *PhoneCall

func (*TLUpdatePhoneCall) ProtoMessage

func (*TLUpdatePhoneCall) ProtoMessage()

func (*TLUpdatePhoneCall) Reset

func (m *TLUpdatePhoneCall) Reset()

func (*TLUpdatePhoneCall) SetPhoneCall

func (m *TLUpdatePhoneCall) SetPhoneCall(v *PhoneCall)

func (*TLUpdatePhoneCall) String

func (m *TLUpdatePhoneCall) String() string

func (*TLUpdatePhoneCall) To_Update

func (m *TLUpdatePhoneCall) To_Update() *Update

updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;

type TLUpdatePinnedDialogs

type TLUpdatePinnedDialogs struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;

func NewTLUpdatePinnedDialogs

func NewTLUpdatePinnedDialogs() *TLUpdatePinnedDialogs

func (*TLUpdatePinnedDialogs) Decode

func (m *TLUpdatePinnedDialogs) Decode(dbuf *DecodeBuf) error

func (*TLUpdatePinnedDialogs) Descriptor

func (*TLUpdatePinnedDialogs) Descriptor() ([]byte, []int)

func (*TLUpdatePinnedDialogs) Encode

func (m *TLUpdatePinnedDialogs) Encode() []byte

func (*TLUpdatePinnedDialogs) GetData2

func (m *TLUpdatePinnedDialogs) GetData2() *Update_Data

func (*TLUpdatePinnedDialogs) GetOrder

func (m *TLUpdatePinnedDialogs) GetOrder() []*Peer

func (*TLUpdatePinnedDialogs) ProtoMessage

func (*TLUpdatePinnedDialogs) ProtoMessage()

func (*TLUpdatePinnedDialogs) Reset

func (m *TLUpdatePinnedDialogs) Reset()

func (*TLUpdatePinnedDialogs) SetOrder

func (m *TLUpdatePinnedDialogs) SetOrder(v []*Peer)

func (*TLUpdatePinnedDialogs) String

func (m *TLUpdatePinnedDialogs) String() string

func (*TLUpdatePinnedDialogs) To_Update

func (m *TLUpdatePinnedDialogs) To_Update() *Update

updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;

type TLUpdatePrivacy

type TLUpdatePrivacy struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;

func NewTLUpdatePrivacy

func NewTLUpdatePrivacy() *TLUpdatePrivacy

func (*TLUpdatePrivacy) Decode

func (m *TLUpdatePrivacy) Decode(dbuf *DecodeBuf) error

func (*TLUpdatePrivacy) Descriptor

func (*TLUpdatePrivacy) Descriptor() ([]byte, []int)

func (*TLUpdatePrivacy) Encode

func (m *TLUpdatePrivacy) Encode() []byte

func (*TLUpdatePrivacy) GetData2

func (m *TLUpdatePrivacy) GetData2() *Update_Data

func (*TLUpdatePrivacy) GetKey

func (m *TLUpdatePrivacy) GetKey() *PrivacyKey

func (*TLUpdatePrivacy) GetRules

func (m *TLUpdatePrivacy) GetRules() []*PrivacyRule

func (*TLUpdatePrivacy) ProtoMessage

func (*TLUpdatePrivacy) ProtoMessage()

func (*TLUpdatePrivacy) Reset

func (m *TLUpdatePrivacy) Reset()

func (*TLUpdatePrivacy) SetKey

func (m *TLUpdatePrivacy) SetKey(v *PrivacyKey)

func (*TLUpdatePrivacy) SetRules

func (m *TLUpdatePrivacy) SetRules(v []*PrivacyRule)

func (*TLUpdatePrivacy) String

func (m *TLUpdatePrivacy) String() string

func (*TLUpdatePrivacy) To_Update

func (m *TLUpdatePrivacy) To_Update() *Update

updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;

type TLUpdatePtsChanged

type TLUpdatePtsChanged struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatePtsChanged#3354678f = Update;

func NewTLUpdatePtsChanged

func NewTLUpdatePtsChanged() *TLUpdatePtsChanged

func (*TLUpdatePtsChanged) Decode

func (m *TLUpdatePtsChanged) Decode(dbuf *DecodeBuf) error

func (*TLUpdatePtsChanged) Descriptor

func (*TLUpdatePtsChanged) Descriptor() ([]byte, []int)

func (*TLUpdatePtsChanged) Encode

func (m *TLUpdatePtsChanged) Encode() []byte

func (*TLUpdatePtsChanged) GetData2

func (m *TLUpdatePtsChanged) GetData2() *Update_Data

func (*TLUpdatePtsChanged) ProtoMessage

func (*TLUpdatePtsChanged) ProtoMessage()

func (*TLUpdatePtsChanged) Reset

func (m *TLUpdatePtsChanged) Reset()

func (*TLUpdatePtsChanged) String

func (m *TLUpdatePtsChanged) String() string

func (*TLUpdatePtsChanged) To_Update

func (m *TLUpdatePtsChanged) To_Update() *Update

updatePtsChanged#3354678f = Update;

type TLUpdateReadChannelInbox

type TLUpdateReadChannelInbox struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;

func NewTLUpdateReadChannelInbox

func NewTLUpdateReadChannelInbox() *TLUpdateReadChannelInbox

func (*TLUpdateReadChannelInbox) Decode

func (m *TLUpdateReadChannelInbox) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadChannelInbox) Descriptor

func (*TLUpdateReadChannelInbox) Descriptor() ([]byte, []int)

func (*TLUpdateReadChannelInbox) Encode

func (m *TLUpdateReadChannelInbox) Encode() []byte

func (*TLUpdateReadChannelInbox) GetChannelId

func (m *TLUpdateReadChannelInbox) GetChannelId() int32

func (*TLUpdateReadChannelInbox) GetData2

func (m *TLUpdateReadChannelInbox) GetData2() *Update_Data

func (*TLUpdateReadChannelInbox) GetMaxId

func (m *TLUpdateReadChannelInbox) GetMaxId() int32

func (*TLUpdateReadChannelInbox) ProtoMessage

func (*TLUpdateReadChannelInbox) ProtoMessage()

func (*TLUpdateReadChannelInbox) Reset

func (m *TLUpdateReadChannelInbox) Reset()

func (*TLUpdateReadChannelInbox) SetChannelId

func (m *TLUpdateReadChannelInbox) SetChannelId(v int32)

func (*TLUpdateReadChannelInbox) SetMaxId

func (m *TLUpdateReadChannelInbox) SetMaxId(v int32)

func (*TLUpdateReadChannelInbox) String

func (m *TLUpdateReadChannelInbox) String() string

func (*TLUpdateReadChannelInbox) To_Update

func (m *TLUpdateReadChannelInbox) To_Update() *Update

updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;

type TLUpdateReadChannelOutbox

type TLUpdateReadChannelOutbox struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;

func NewTLUpdateReadChannelOutbox

func NewTLUpdateReadChannelOutbox() *TLUpdateReadChannelOutbox

func (*TLUpdateReadChannelOutbox) Decode

func (m *TLUpdateReadChannelOutbox) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadChannelOutbox) Descriptor

func (*TLUpdateReadChannelOutbox) Descriptor() ([]byte, []int)

func (*TLUpdateReadChannelOutbox) Encode

func (m *TLUpdateReadChannelOutbox) Encode() []byte

func (*TLUpdateReadChannelOutbox) GetChannelId

func (m *TLUpdateReadChannelOutbox) GetChannelId() int32

func (*TLUpdateReadChannelOutbox) GetData2

func (m *TLUpdateReadChannelOutbox) GetData2() *Update_Data

func (*TLUpdateReadChannelOutbox) GetMaxId

func (m *TLUpdateReadChannelOutbox) GetMaxId() int32

func (*TLUpdateReadChannelOutbox) ProtoMessage

func (*TLUpdateReadChannelOutbox) ProtoMessage()

func (*TLUpdateReadChannelOutbox) Reset

func (m *TLUpdateReadChannelOutbox) Reset()

func (*TLUpdateReadChannelOutbox) SetChannelId

func (m *TLUpdateReadChannelOutbox) SetChannelId(v int32)

func (*TLUpdateReadChannelOutbox) SetMaxId

func (m *TLUpdateReadChannelOutbox) SetMaxId(v int32)

func (*TLUpdateReadChannelOutbox) String

func (m *TLUpdateReadChannelOutbox) String() string

func (*TLUpdateReadChannelOutbox) To_Update

func (m *TLUpdateReadChannelOutbox) To_Update() *Update

updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;

type TLUpdateReadFeaturedStickers

type TLUpdateReadFeaturedStickers struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadFeaturedStickers#571d2742 = Update;

func NewTLUpdateReadFeaturedStickers

func NewTLUpdateReadFeaturedStickers() *TLUpdateReadFeaturedStickers

func (*TLUpdateReadFeaturedStickers) Decode

func (m *TLUpdateReadFeaturedStickers) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadFeaturedStickers) Descriptor

func (*TLUpdateReadFeaturedStickers) Descriptor() ([]byte, []int)

func (*TLUpdateReadFeaturedStickers) Encode

func (m *TLUpdateReadFeaturedStickers) Encode() []byte

func (*TLUpdateReadFeaturedStickers) GetData2

func (*TLUpdateReadFeaturedStickers) ProtoMessage

func (*TLUpdateReadFeaturedStickers) ProtoMessage()

func (*TLUpdateReadFeaturedStickers) Reset

func (m *TLUpdateReadFeaturedStickers) Reset()

func (*TLUpdateReadFeaturedStickers) String

func (*TLUpdateReadFeaturedStickers) To_Update

func (m *TLUpdateReadFeaturedStickers) To_Update() *Update

updateReadFeaturedStickers#571d2742 = Update;

type TLUpdateReadHistoryInbox

type TLUpdateReadHistoryInbox struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update;

func NewTLUpdateReadHistoryInbox

func NewTLUpdateReadHistoryInbox() *TLUpdateReadHistoryInbox

func (*TLUpdateReadHistoryInbox) Decode

func (m *TLUpdateReadHistoryInbox) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadHistoryInbox) Descriptor

func (*TLUpdateReadHistoryInbox) Descriptor() ([]byte, []int)

func (*TLUpdateReadHistoryInbox) Encode

func (m *TLUpdateReadHistoryInbox) Encode() []byte

func (*TLUpdateReadHistoryInbox) GetData2

func (m *TLUpdateReadHistoryInbox) GetData2() *Update_Data

func (*TLUpdateReadHistoryInbox) GetMaxId

func (m *TLUpdateReadHistoryInbox) GetMaxId() int32

func (*TLUpdateReadHistoryInbox) GetPeer

func (m *TLUpdateReadHistoryInbox) GetPeer() *Peer

func (*TLUpdateReadHistoryInbox) GetPts

func (m *TLUpdateReadHistoryInbox) GetPts() int32

func (*TLUpdateReadHistoryInbox) GetPtsCount

func (m *TLUpdateReadHistoryInbox) GetPtsCount() int32

func (*TLUpdateReadHistoryInbox) ProtoMessage

func (*TLUpdateReadHistoryInbox) ProtoMessage()

func (*TLUpdateReadHistoryInbox) Reset

func (m *TLUpdateReadHistoryInbox) Reset()

func (*TLUpdateReadHistoryInbox) SetMaxId

func (m *TLUpdateReadHistoryInbox) SetMaxId(v int32)

func (*TLUpdateReadHistoryInbox) SetPeer

func (m *TLUpdateReadHistoryInbox) SetPeer(v *Peer)

func (*TLUpdateReadHistoryInbox) SetPts

func (m *TLUpdateReadHistoryInbox) SetPts(v int32)

func (*TLUpdateReadHistoryInbox) SetPtsCount

func (m *TLUpdateReadHistoryInbox) SetPtsCount(v int32)

func (*TLUpdateReadHistoryInbox) String

func (m *TLUpdateReadHistoryInbox) String() string

func (*TLUpdateReadHistoryInbox) To_Update

func (m *TLUpdateReadHistoryInbox) To_Update() *Update

updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update;

type TLUpdateReadHistoryOutbox

type TLUpdateReadHistoryOutbox struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;

func NewTLUpdateReadHistoryOutbox

func NewTLUpdateReadHistoryOutbox() *TLUpdateReadHistoryOutbox

func (*TLUpdateReadHistoryOutbox) Decode

func (m *TLUpdateReadHistoryOutbox) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadHistoryOutbox) Descriptor

func (*TLUpdateReadHistoryOutbox) Descriptor() ([]byte, []int)

func (*TLUpdateReadHistoryOutbox) Encode

func (m *TLUpdateReadHistoryOutbox) Encode() []byte

func (*TLUpdateReadHistoryOutbox) GetData2

func (m *TLUpdateReadHistoryOutbox) GetData2() *Update_Data

func (*TLUpdateReadHistoryOutbox) GetMaxId

func (m *TLUpdateReadHistoryOutbox) GetMaxId() int32

func (*TLUpdateReadHistoryOutbox) GetPeer

func (m *TLUpdateReadHistoryOutbox) GetPeer() *Peer

func (*TLUpdateReadHistoryOutbox) GetPts

func (m *TLUpdateReadHistoryOutbox) GetPts() int32

func (*TLUpdateReadHistoryOutbox) GetPtsCount

func (m *TLUpdateReadHistoryOutbox) GetPtsCount() int32

func (*TLUpdateReadHistoryOutbox) ProtoMessage

func (*TLUpdateReadHistoryOutbox) ProtoMessage()

func (*TLUpdateReadHistoryOutbox) Reset

func (m *TLUpdateReadHistoryOutbox) Reset()

func (*TLUpdateReadHistoryOutbox) SetMaxId

func (m *TLUpdateReadHistoryOutbox) SetMaxId(v int32)

func (*TLUpdateReadHistoryOutbox) SetPeer

func (m *TLUpdateReadHistoryOutbox) SetPeer(v *Peer)

func (*TLUpdateReadHistoryOutbox) SetPts

func (m *TLUpdateReadHistoryOutbox) SetPts(v int32)

func (*TLUpdateReadHistoryOutbox) SetPtsCount

func (m *TLUpdateReadHistoryOutbox) SetPtsCount(v int32)

func (*TLUpdateReadHistoryOutbox) String

func (m *TLUpdateReadHistoryOutbox) String() string

func (*TLUpdateReadHistoryOutbox) To_Update

func (m *TLUpdateReadHistoryOutbox) To_Update() *Update

updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;

type TLUpdateReadMessagesContents

type TLUpdateReadMessagesContents struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update;

func NewTLUpdateReadMessagesContents

func NewTLUpdateReadMessagesContents() *TLUpdateReadMessagesContents

func (*TLUpdateReadMessagesContents) Decode

func (m *TLUpdateReadMessagesContents) Decode(dbuf *DecodeBuf) error

func (*TLUpdateReadMessagesContents) Descriptor

func (*TLUpdateReadMessagesContents) Descriptor() ([]byte, []int)

func (*TLUpdateReadMessagesContents) Encode

func (m *TLUpdateReadMessagesContents) Encode() []byte

func (*TLUpdateReadMessagesContents) GetData2

func (*TLUpdateReadMessagesContents) GetMessages

func (m *TLUpdateReadMessagesContents) GetMessages() []int32

func (*TLUpdateReadMessagesContents) GetPts

func (m *TLUpdateReadMessagesContents) GetPts() int32

func (*TLUpdateReadMessagesContents) GetPtsCount

func (m *TLUpdateReadMessagesContents) GetPtsCount() int32

func (*TLUpdateReadMessagesContents) ProtoMessage

func (*TLUpdateReadMessagesContents) ProtoMessage()

func (*TLUpdateReadMessagesContents) Reset

func (m *TLUpdateReadMessagesContents) Reset()

func (*TLUpdateReadMessagesContents) SetMessages

func (m *TLUpdateReadMessagesContents) SetMessages(v []int32)

func (*TLUpdateReadMessagesContents) SetPts

func (m *TLUpdateReadMessagesContents) SetPts(v int32)

func (*TLUpdateReadMessagesContents) SetPtsCount

func (m *TLUpdateReadMessagesContents) SetPtsCount(v int32)

func (*TLUpdateReadMessagesContents) String

func (*TLUpdateReadMessagesContents) To_Update

func (m *TLUpdateReadMessagesContents) To_Update() *Update

updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update;

type TLUpdateRecentStickers

type TLUpdateRecentStickers struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateRecentStickers#9a422c20 = Update;

func NewTLUpdateRecentStickers

func NewTLUpdateRecentStickers() *TLUpdateRecentStickers

func (*TLUpdateRecentStickers) Decode

func (m *TLUpdateRecentStickers) Decode(dbuf *DecodeBuf) error

func (*TLUpdateRecentStickers) Descriptor

func (*TLUpdateRecentStickers) Descriptor() ([]byte, []int)

func (*TLUpdateRecentStickers) Encode

func (m *TLUpdateRecentStickers) Encode() []byte

func (*TLUpdateRecentStickers) GetData2

func (m *TLUpdateRecentStickers) GetData2() *Update_Data

func (*TLUpdateRecentStickers) ProtoMessage

func (*TLUpdateRecentStickers) ProtoMessage()

func (*TLUpdateRecentStickers) Reset

func (m *TLUpdateRecentStickers) Reset()

func (*TLUpdateRecentStickers) String

func (m *TLUpdateRecentStickers) String() string

func (*TLUpdateRecentStickers) To_Update

func (m *TLUpdateRecentStickers) To_Update() *Update

updateRecentStickers#9a422c20 = Update;

type TLUpdateSavedGifs

type TLUpdateSavedGifs struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateSavedGifs#9375341e = Update;

func NewTLUpdateSavedGifs

func NewTLUpdateSavedGifs() *TLUpdateSavedGifs

func (*TLUpdateSavedGifs) Decode

func (m *TLUpdateSavedGifs) Decode(dbuf *DecodeBuf) error

func (*TLUpdateSavedGifs) Descriptor

func (*TLUpdateSavedGifs) Descriptor() ([]byte, []int)

func (*TLUpdateSavedGifs) Encode

func (m *TLUpdateSavedGifs) Encode() []byte

func (*TLUpdateSavedGifs) GetData2

func (m *TLUpdateSavedGifs) GetData2() *Update_Data

func (*TLUpdateSavedGifs) ProtoMessage

func (*TLUpdateSavedGifs) ProtoMessage()

func (*TLUpdateSavedGifs) Reset

func (m *TLUpdateSavedGifs) Reset()

func (*TLUpdateSavedGifs) String

func (m *TLUpdateSavedGifs) String() string

func (*TLUpdateSavedGifs) To_Update

func (m *TLUpdateSavedGifs) To_Update() *Update

updateSavedGifs#9375341e = Update;

type TLUpdateServiceNotification

type TLUpdateServiceNotification struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;

func NewTLUpdateServiceNotification

func NewTLUpdateServiceNotification() *TLUpdateServiceNotification

func (*TLUpdateServiceNotification) Decode

func (m *TLUpdateServiceNotification) Decode(dbuf *DecodeBuf) error

func (*TLUpdateServiceNotification) Descriptor

func (*TLUpdateServiceNotification) Descriptor() ([]byte, []int)

func (*TLUpdateServiceNotification) Encode

func (m *TLUpdateServiceNotification) Encode() []byte

func (*TLUpdateServiceNotification) GetData2

func (*TLUpdateServiceNotification) GetEntities

func (m *TLUpdateServiceNotification) GetEntities() []*MessageEntity

func (*TLUpdateServiceNotification) GetInboxDate

func (m *TLUpdateServiceNotification) GetInboxDate() int32

func (*TLUpdateServiceNotification) GetMedia

func (*TLUpdateServiceNotification) GetMessage

func (m *TLUpdateServiceNotification) GetMessage() string

func (*TLUpdateServiceNotification) GetPopup

func (m *TLUpdateServiceNotification) GetPopup() bool

func (*TLUpdateServiceNotification) GetType

func (m *TLUpdateServiceNotification) GetType() string

func (*TLUpdateServiceNotification) ProtoMessage

func (*TLUpdateServiceNotification) ProtoMessage()

func (*TLUpdateServiceNotification) Reset

func (m *TLUpdateServiceNotification) Reset()

func (*TLUpdateServiceNotification) SetEntities

func (m *TLUpdateServiceNotification) SetEntities(v []*MessageEntity)

func (*TLUpdateServiceNotification) SetInboxDate

func (m *TLUpdateServiceNotification) SetInboxDate(v int32)

func (*TLUpdateServiceNotification) SetMedia

func (m *TLUpdateServiceNotification) SetMedia(v *MessageMedia)

func (*TLUpdateServiceNotification) SetMessage

func (m *TLUpdateServiceNotification) SetMessage(v string)

func (*TLUpdateServiceNotification) SetPopup

func (m *TLUpdateServiceNotification) SetPopup(v bool)

func (*TLUpdateServiceNotification) SetType

func (m *TLUpdateServiceNotification) SetType(v string)

func (*TLUpdateServiceNotification) String

func (m *TLUpdateServiceNotification) String() string

func (*TLUpdateServiceNotification) To_Update

func (m *TLUpdateServiceNotification) To_Update() *Update

updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;

type TLUpdateShort

type TLUpdateShort struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateShort#78d4dec1 update:Update date:int = Updates;

func NewTLUpdateShort

func NewTLUpdateShort() *TLUpdateShort

func (*TLUpdateShort) Decode

func (m *TLUpdateShort) Decode(dbuf *DecodeBuf) error

func (*TLUpdateShort) Descriptor

func (*TLUpdateShort) Descriptor() ([]byte, []int)

func (*TLUpdateShort) Encode

func (m *TLUpdateShort) Encode() []byte

func (*TLUpdateShort) GetData2

func (m *TLUpdateShort) GetData2() *Updates_Data

func (*TLUpdateShort) GetDate

func (m *TLUpdateShort) GetDate() int32

func (*TLUpdateShort) GetUpdate

func (m *TLUpdateShort) GetUpdate() *Update

func (*TLUpdateShort) ProtoMessage

func (*TLUpdateShort) ProtoMessage()

func (*TLUpdateShort) Reset

func (m *TLUpdateShort) Reset()

func (*TLUpdateShort) SetDate

func (m *TLUpdateShort) SetDate(v int32)

func (*TLUpdateShort) SetUpdate

func (m *TLUpdateShort) SetUpdate(v *Update)

func (*TLUpdateShort) String

func (m *TLUpdateShort) String() string

func (*TLUpdateShort) To_Updates

func (m *TLUpdateShort) To_Updates() *Updates

updateShort#78d4dec1 update:Update date:int = Updates;

type TLUpdateShortChatMessage

type TLUpdateShortChatMessage struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

func NewTLUpdateShortChatMessage

func NewTLUpdateShortChatMessage() *TLUpdateShortChatMessage

func (*TLUpdateShortChatMessage) Decode

func (m *TLUpdateShortChatMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateShortChatMessage) Descriptor

func (*TLUpdateShortChatMessage) Descriptor() ([]byte, []int)

func (*TLUpdateShortChatMessage) Encode

func (m *TLUpdateShortChatMessage) Encode() []byte

func (*TLUpdateShortChatMessage) GetChatId

func (m *TLUpdateShortChatMessage) GetChatId() int32

func (*TLUpdateShortChatMessage) GetData2

func (m *TLUpdateShortChatMessage) GetData2() *Updates_Data

func (*TLUpdateShortChatMessage) GetDate

func (m *TLUpdateShortChatMessage) GetDate() int32

func (*TLUpdateShortChatMessage) GetEntities

func (m *TLUpdateShortChatMessage) GetEntities() []*MessageEntity

func (*TLUpdateShortChatMessage) GetFromId

func (m *TLUpdateShortChatMessage) GetFromId() int32

func (*TLUpdateShortChatMessage) GetFwdFrom

func (m *TLUpdateShortChatMessage) GetFwdFrom() *MessageFwdHeader

func (*TLUpdateShortChatMessage) GetId

func (m *TLUpdateShortChatMessage) GetId() int32

func (*TLUpdateShortChatMessage) GetMediaUnread

func (m *TLUpdateShortChatMessage) GetMediaUnread() bool

func (*TLUpdateShortChatMessage) GetMentioned

func (m *TLUpdateShortChatMessage) GetMentioned() bool

func (*TLUpdateShortChatMessage) GetMessage

func (m *TLUpdateShortChatMessage) GetMessage() string

func (*TLUpdateShortChatMessage) GetOut

func (m *TLUpdateShortChatMessage) GetOut() bool

func (*TLUpdateShortChatMessage) GetPts

func (m *TLUpdateShortChatMessage) GetPts() int32

func (*TLUpdateShortChatMessage) GetPtsCount

func (m *TLUpdateShortChatMessage) GetPtsCount() int32

func (*TLUpdateShortChatMessage) GetReplyToMsgId

func (m *TLUpdateShortChatMessage) GetReplyToMsgId() int32

func (*TLUpdateShortChatMessage) GetSilent

func (m *TLUpdateShortChatMessage) GetSilent() bool

func (*TLUpdateShortChatMessage) GetViaBotId

func (m *TLUpdateShortChatMessage) GetViaBotId() int32

func (*TLUpdateShortChatMessage) ProtoMessage

func (*TLUpdateShortChatMessage) ProtoMessage()

func (*TLUpdateShortChatMessage) Reset

func (m *TLUpdateShortChatMessage) Reset()

func (*TLUpdateShortChatMessage) SetChatId

func (m *TLUpdateShortChatMessage) SetChatId(v int32)

func (*TLUpdateShortChatMessage) SetDate

func (m *TLUpdateShortChatMessage) SetDate(v int32)

func (*TLUpdateShortChatMessage) SetEntities

func (m *TLUpdateShortChatMessage) SetEntities(v []*MessageEntity)

func (*TLUpdateShortChatMessage) SetFromId

func (m *TLUpdateShortChatMessage) SetFromId(v int32)

func (*TLUpdateShortChatMessage) SetFwdFrom

func (m *TLUpdateShortChatMessage) SetFwdFrom(v *MessageFwdHeader)

func (*TLUpdateShortChatMessage) SetId

func (m *TLUpdateShortChatMessage) SetId(v int32)

func (*TLUpdateShortChatMessage) SetMediaUnread

func (m *TLUpdateShortChatMessage) SetMediaUnread(v bool)

func (*TLUpdateShortChatMessage) SetMentioned

func (m *TLUpdateShortChatMessage) SetMentioned(v bool)

func (*TLUpdateShortChatMessage) SetMessage

func (m *TLUpdateShortChatMessage) SetMessage(v string)

func (*TLUpdateShortChatMessage) SetOut

func (m *TLUpdateShortChatMessage) SetOut(v bool)

func (*TLUpdateShortChatMessage) SetPts

func (m *TLUpdateShortChatMessage) SetPts(v int32)

func (*TLUpdateShortChatMessage) SetPtsCount

func (m *TLUpdateShortChatMessage) SetPtsCount(v int32)

func (*TLUpdateShortChatMessage) SetReplyToMsgId

func (m *TLUpdateShortChatMessage) SetReplyToMsgId(v int32)

func (*TLUpdateShortChatMessage) SetSilent

func (m *TLUpdateShortChatMessage) SetSilent(v bool)

func (*TLUpdateShortChatMessage) SetViaBotId

func (m *TLUpdateShortChatMessage) SetViaBotId(v int32)

func (*TLUpdateShortChatMessage) String

func (m *TLUpdateShortChatMessage) String() string

func (*TLUpdateShortChatMessage) To_Updates

func (m *TLUpdateShortChatMessage) To_Updates() *Updates

updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

type TLUpdateShortMessage

type TLUpdateShortMessage struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

func NewTLUpdateShortMessage

func NewTLUpdateShortMessage() *TLUpdateShortMessage

func (*TLUpdateShortMessage) Decode

func (m *TLUpdateShortMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateShortMessage) Descriptor

func (*TLUpdateShortMessage) Descriptor() ([]byte, []int)

func (*TLUpdateShortMessage) Encode

func (m *TLUpdateShortMessage) Encode() []byte

func (*TLUpdateShortMessage) GetData2

func (m *TLUpdateShortMessage) GetData2() *Updates_Data

func (*TLUpdateShortMessage) GetDate

func (m *TLUpdateShortMessage) GetDate() int32

func (*TLUpdateShortMessage) GetEntities

func (m *TLUpdateShortMessage) GetEntities() []*MessageEntity

func (*TLUpdateShortMessage) GetFwdFrom

func (m *TLUpdateShortMessage) GetFwdFrom() *MessageFwdHeader

func (*TLUpdateShortMessage) GetId

func (m *TLUpdateShortMessage) GetId() int32

func (*TLUpdateShortMessage) GetMediaUnread

func (m *TLUpdateShortMessage) GetMediaUnread() bool

func (*TLUpdateShortMessage) GetMentioned

func (m *TLUpdateShortMessage) GetMentioned() bool

func (*TLUpdateShortMessage) GetMessage

func (m *TLUpdateShortMessage) GetMessage() string

func (*TLUpdateShortMessage) GetOut

func (m *TLUpdateShortMessage) GetOut() bool

func (*TLUpdateShortMessage) GetPts

func (m *TLUpdateShortMessage) GetPts() int32

func (*TLUpdateShortMessage) GetPtsCount

func (m *TLUpdateShortMessage) GetPtsCount() int32

func (*TLUpdateShortMessage) GetReplyToMsgId

func (m *TLUpdateShortMessage) GetReplyToMsgId() int32

func (*TLUpdateShortMessage) GetSilent

func (m *TLUpdateShortMessage) GetSilent() bool

func (*TLUpdateShortMessage) GetUserId

func (m *TLUpdateShortMessage) GetUserId() int32

func (*TLUpdateShortMessage) GetViaBotId

func (m *TLUpdateShortMessage) GetViaBotId() int32

func (*TLUpdateShortMessage) ProtoMessage

func (*TLUpdateShortMessage) ProtoMessage()

func (*TLUpdateShortMessage) Reset

func (m *TLUpdateShortMessage) Reset()

func (*TLUpdateShortMessage) SetDate

func (m *TLUpdateShortMessage) SetDate(v int32)

func (*TLUpdateShortMessage) SetEntities

func (m *TLUpdateShortMessage) SetEntities(v []*MessageEntity)

func (*TLUpdateShortMessage) SetFwdFrom

func (m *TLUpdateShortMessage) SetFwdFrom(v *MessageFwdHeader)

func (*TLUpdateShortMessage) SetId

func (m *TLUpdateShortMessage) SetId(v int32)

func (*TLUpdateShortMessage) SetMediaUnread

func (m *TLUpdateShortMessage) SetMediaUnread(v bool)

func (*TLUpdateShortMessage) SetMentioned

func (m *TLUpdateShortMessage) SetMentioned(v bool)

func (*TLUpdateShortMessage) SetMessage

func (m *TLUpdateShortMessage) SetMessage(v string)

func (*TLUpdateShortMessage) SetOut

func (m *TLUpdateShortMessage) SetOut(v bool)

func (*TLUpdateShortMessage) SetPts

func (m *TLUpdateShortMessage) SetPts(v int32)

func (*TLUpdateShortMessage) SetPtsCount

func (m *TLUpdateShortMessage) SetPtsCount(v int32)

func (*TLUpdateShortMessage) SetReplyToMsgId

func (m *TLUpdateShortMessage) SetReplyToMsgId(v int32)

func (*TLUpdateShortMessage) SetSilent

func (m *TLUpdateShortMessage) SetSilent(v bool)

func (*TLUpdateShortMessage) SetUserId

func (m *TLUpdateShortMessage) SetUserId(v int32)

func (*TLUpdateShortMessage) SetViaBotId

func (m *TLUpdateShortMessage) SetViaBotId(v int32)

func (*TLUpdateShortMessage) String

func (m *TLUpdateShortMessage) String() string

func (*TLUpdateShortMessage) To_Updates

func (m *TLUpdateShortMessage) To_Updates() *Updates

updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

type TLUpdateShortSentMessage

type TLUpdateShortSentMessage struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;

func NewTLUpdateShortSentMessage

func NewTLUpdateShortSentMessage() *TLUpdateShortSentMessage

func (*TLUpdateShortSentMessage) Decode

func (m *TLUpdateShortSentMessage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateShortSentMessage) Descriptor

func (*TLUpdateShortSentMessage) Descriptor() ([]byte, []int)

func (*TLUpdateShortSentMessage) Encode

func (m *TLUpdateShortSentMessage) Encode() []byte

func (*TLUpdateShortSentMessage) GetData2

func (m *TLUpdateShortSentMessage) GetData2() *Updates_Data

func (*TLUpdateShortSentMessage) GetDate

func (m *TLUpdateShortSentMessage) GetDate() int32

func (*TLUpdateShortSentMessage) GetEntities

func (m *TLUpdateShortSentMessage) GetEntities() []*MessageEntity

func (*TLUpdateShortSentMessage) GetId

func (m *TLUpdateShortSentMessage) GetId() int32

func (*TLUpdateShortSentMessage) GetMedia

func (m *TLUpdateShortSentMessage) GetMedia() *MessageMedia

func (*TLUpdateShortSentMessage) GetOut

func (m *TLUpdateShortSentMessage) GetOut() bool

func (*TLUpdateShortSentMessage) GetPts

func (m *TLUpdateShortSentMessage) GetPts() int32

func (*TLUpdateShortSentMessage) GetPtsCount

func (m *TLUpdateShortSentMessage) GetPtsCount() int32

func (*TLUpdateShortSentMessage) ProtoMessage

func (*TLUpdateShortSentMessage) ProtoMessage()

func (*TLUpdateShortSentMessage) Reset

func (m *TLUpdateShortSentMessage) Reset()

func (*TLUpdateShortSentMessage) SetDate

func (m *TLUpdateShortSentMessage) SetDate(v int32)

func (*TLUpdateShortSentMessage) SetEntities

func (m *TLUpdateShortSentMessage) SetEntities(v []*MessageEntity)

func (*TLUpdateShortSentMessage) SetId

func (m *TLUpdateShortSentMessage) SetId(v int32)

func (*TLUpdateShortSentMessage) SetMedia

func (m *TLUpdateShortSentMessage) SetMedia(v *MessageMedia)

func (*TLUpdateShortSentMessage) SetOut

func (m *TLUpdateShortSentMessage) SetOut(v bool)

func (*TLUpdateShortSentMessage) SetPts

func (m *TLUpdateShortSentMessage) SetPts(v int32)

func (*TLUpdateShortSentMessage) SetPtsCount

func (m *TLUpdateShortSentMessage) SetPtsCount(v int32)

func (*TLUpdateShortSentMessage) String

func (m *TLUpdateShortSentMessage) String() string

func (*TLUpdateShortSentMessage) To_Updates

func (m *TLUpdateShortSentMessage) To_Updates() *Updates

updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;

type TLUpdateStickerSets

type TLUpdateStickerSets struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateStickerSets#43ae3dec = Update;

func NewTLUpdateStickerSets

func NewTLUpdateStickerSets() *TLUpdateStickerSets

func (*TLUpdateStickerSets) Decode

func (m *TLUpdateStickerSets) Decode(dbuf *DecodeBuf) error

func (*TLUpdateStickerSets) Descriptor

func (*TLUpdateStickerSets) Descriptor() ([]byte, []int)

func (*TLUpdateStickerSets) Encode

func (m *TLUpdateStickerSets) Encode() []byte

func (*TLUpdateStickerSets) GetData2

func (m *TLUpdateStickerSets) GetData2() *Update_Data

func (*TLUpdateStickerSets) ProtoMessage

func (*TLUpdateStickerSets) ProtoMessage()

func (*TLUpdateStickerSets) Reset

func (m *TLUpdateStickerSets) Reset()

func (*TLUpdateStickerSets) String

func (m *TLUpdateStickerSets) String() string

func (*TLUpdateStickerSets) To_Update

func (m *TLUpdateStickerSets) To_Update() *Update

updateStickerSets#43ae3dec = Update;

type TLUpdateStickerSetsOrder

type TLUpdateStickerSetsOrder struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector<long> = Update;

func NewTLUpdateStickerSetsOrder

func NewTLUpdateStickerSetsOrder() *TLUpdateStickerSetsOrder

func (*TLUpdateStickerSetsOrder) Decode

func (m *TLUpdateStickerSetsOrder) Decode(dbuf *DecodeBuf) error

func (*TLUpdateStickerSetsOrder) Descriptor

func (*TLUpdateStickerSetsOrder) Descriptor() ([]byte, []int)

func (*TLUpdateStickerSetsOrder) Encode

func (m *TLUpdateStickerSetsOrder) Encode() []byte

func (*TLUpdateStickerSetsOrder) GetData2

func (m *TLUpdateStickerSetsOrder) GetData2() *Update_Data

func (*TLUpdateStickerSetsOrder) GetMasks

func (m *TLUpdateStickerSetsOrder) GetMasks() bool

func (*TLUpdateStickerSetsOrder) GetOrder

func (m *TLUpdateStickerSetsOrder) GetOrder() []int64

func (*TLUpdateStickerSetsOrder) ProtoMessage

func (*TLUpdateStickerSetsOrder) ProtoMessage()

func (*TLUpdateStickerSetsOrder) Reset

func (m *TLUpdateStickerSetsOrder) Reset()

func (*TLUpdateStickerSetsOrder) SetMasks

func (m *TLUpdateStickerSetsOrder) SetMasks(v bool)

func (*TLUpdateStickerSetsOrder) SetOrder

func (m *TLUpdateStickerSetsOrder) SetOrder(v []int64)

func (*TLUpdateStickerSetsOrder) String

func (m *TLUpdateStickerSetsOrder) String() string

func (*TLUpdateStickerSetsOrder) To_Update

func (m *TLUpdateStickerSetsOrder) To_Update() *Update

updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector<long> = Update;

type TLUpdateUserBlocked

type TLUpdateUserBlocked struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;

func NewTLUpdateUserBlocked

func NewTLUpdateUserBlocked() *TLUpdateUserBlocked

func (*TLUpdateUserBlocked) Decode

func (m *TLUpdateUserBlocked) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserBlocked) Descriptor

func (*TLUpdateUserBlocked) Descriptor() ([]byte, []int)

func (*TLUpdateUserBlocked) Encode

func (m *TLUpdateUserBlocked) Encode() []byte

func (*TLUpdateUserBlocked) GetBlocked

func (m *TLUpdateUserBlocked) GetBlocked() *Bool

func (*TLUpdateUserBlocked) GetData2

func (m *TLUpdateUserBlocked) GetData2() *Update_Data

func (*TLUpdateUserBlocked) GetUserId

func (m *TLUpdateUserBlocked) GetUserId() int32

func (*TLUpdateUserBlocked) ProtoMessage

func (*TLUpdateUserBlocked) ProtoMessage()

func (*TLUpdateUserBlocked) Reset

func (m *TLUpdateUserBlocked) Reset()

func (*TLUpdateUserBlocked) SetBlocked

func (m *TLUpdateUserBlocked) SetBlocked(v *Bool)

func (*TLUpdateUserBlocked) SetUserId

func (m *TLUpdateUserBlocked) SetUserId(v int32)

func (*TLUpdateUserBlocked) String

func (m *TLUpdateUserBlocked) String() string

func (*TLUpdateUserBlocked) To_Update

func (m *TLUpdateUserBlocked) To_Update() *Update

updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;

type TLUpdateUserName

type TLUpdateUserName struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update;

func NewTLUpdateUserName

func NewTLUpdateUserName() *TLUpdateUserName

func (*TLUpdateUserName) Decode

func (m *TLUpdateUserName) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserName) Descriptor

func (*TLUpdateUserName) Descriptor() ([]byte, []int)

func (*TLUpdateUserName) Encode

func (m *TLUpdateUserName) Encode() []byte

func (*TLUpdateUserName) GetData2

func (m *TLUpdateUserName) GetData2() *Update_Data

func (*TLUpdateUserName) GetFirstName

func (m *TLUpdateUserName) GetFirstName() string

func (*TLUpdateUserName) GetLastName

func (m *TLUpdateUserName) GetLastName() string

func (*TLUpdateUserName) GetUserId

func (m *TLUpdateUserName) GetUserId() int32

func (*TLUpdateUserName) GetUsername

func (m *TLUpdateUserName) GetUsername() string

func (*TLUpdateUserName) ProtoMessage

func (*TLUpdateUserName) ProtoMessage()

func (*TLUpdateUserName) Reset

func (m *TLUpdateUserName) Reset()

func (*TLUpdateUserName) SetFirstName

func (m *TLUpdateUserName) SetFirstName(v string)

func (*TLUpdateUserName) SetLastName

func (m *TLUpdateUserName) SetLastName(v string)

func (*TLUpdateUserName) SetUserId

func (m *TLUpdateUserName) SetUserId(v int32)

func (*TLUpdateUserName) SetUsername

func (m *TLUpdateUserName) SetUsername(v string)

func (*TLUpdateUserName) String

func (m *TLUpdateUserName) String() string

func (*TLUpdateUserName) To_Update

func (m *TLUpdateUserName) To_Update() *Update

updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update;

type TLUpdateUserPhone

type TLUpdateUserPhone struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserPhone#12b9417b user_id:int phone:string = Update;

func NewTLUpdateUserPhone

func NewTLUpdateUserPhone() *TLUpdateUserPhone

func (*TLUpdateUserPhone) Decode

func (m *TLUpdateUserPhone) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserPhone) Descriptor

func (*TLUpdateUserPhone) Descriptor() ([]byte, []int)

func (*TLUpdateUserPhone) Encode

func (m *TLUpdateUserPhone) Encode() []byte

func (*TLUpdateUserPhone) GetData2

func (m *TLUpdateUserPhone) GetData2() *Update_Data

func (*TLUpdateUserPhone) GetPhone

func (m *TLUpdateUserPhone) GetPhone() string

func (*TLUpdateUserPhone) GetUserId

func (m *TLUpdateUserPhone) GetUserId() int32

func (*TLUpdateUserPhone) ProtoMessage

func (*TLUpdateUserPhone) ProtoMessage()

func (*TLUpdateUserPhone) Reset

func (m *TLUpdateUserPhone) Reset()

func (*TLUpdateUserPhone) SetPhone

func (m *TLUpdateUserPhone) SetPhone(v string)

func (*TLUpdateUserPhone) SetUserId

func (m *TLUpdateUserPhone) SetUserId(v int32)

func (*TLUpdateUserPhone) String

func (m *TLUpdateUserPhone) String() string

func (*TLUpdateUserPhone) To_Update

func (m *TLUpdateUserPhone) To_Update() *Update

updateUserPhone#12b9417b user_id:int phone:string = Update;

type TLUpdateUserPhoto

type TLUpdateUserPhoto struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;

func NewTLUpdateUserPhoto

func NewTLUpdateUserPhoto() *TLUpdateUserPhoto

func (*TLUpdateUserPhoto) Decode

func (m *TLUpdateUserPhoto) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserPhoto) Descriptor

func (*TLUpdateUserPhoto) Descriptor() ([]byte, []int)

func (*TLUpdateUserPhoto) Encode

func (m *TLUpdateUserPhoto) Encode() []byte

func (*TLUpdateUserPhoto) GetData2

func (m *TLUpdateUserPhoto) GetData2() *Update_Data

func (*TLUpdateUserPhoto) GetDate

func (m *TLUpdateUserPhoto) GetDate() int32

func (*TLUpdateUserPhoto) GetPhoto

func (m *TLUpdateUserPhoto) GetPhoto() *UserProfilePhoto

func (*TLUpdateUserPhoto) GetPrevious

func (m *TLUpdateUserPhoto) GetPrevious() *Bool

func (*TLUpdateUserPhoto) GetUserId

func (m *TLUpdateUserPhoto) GetUserId() int32

func (*TLUpdateUserPhoto) ProtoMessage

func (*TLUpdateUserPhoto) ProtoMessage()

func (*TLUpdateUserPhoto) Reset

func (m *TLUpdateUserPhoto) Reset()

func (*TLUpdateUserPhoto) SetDate

func (m *TLUpdateUserPhoto) SetDate(v int32)

func (*TLUpdateUserPhoto) SetPhoto

func (m *TLUpdateUserPhoto) SetPhoto(v *UserProfilePhoto)

func (*TLUpdateUserPhoto) SetPrevious

func (m *TLUpdateUserPhoto) SetPrevious(v *Bool)

func (*TLUpdateUserPhoto) SetUserId

func (m *TLUpdateUserPhoto) SetUserId(v int32)

func (*TLUpdateUserPhoto) String

func (m *TLUpdateUserPhoto) String() string

func (*TLUpdateUserPhoto) To_Update

func (m *TLUpdateUserPhoto) To_Update() *Update

updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;

type TLUpdateUserStatus

type TLUpdateUserStatus struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update;

func NewTLUpdateUserStatus

func NewTLUpdateUserStatus() *TLUpdateUserStatus

func (*TLUpdateUserStatus) Decode

func (m *TLUpdateUserStatus) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserStatus) Descriptor

func (*TLUpdateUserStatus) Descriptor() ([]byte, []int)

func (*TLUpdateUserStatus) Encode

func (m *TLUpdateUserStatus) Encode() []byte

func (*TLUpdateUserStatus) GetData2

func (m *TLUpdateUserStatus) GetData2() *Update_Data

func (*TLUpdateUserStatus) GetStatus

func (m *TLUpdateUserStatus) GetStatus() *UserStatus

func (*TLUpdateUserStatus) GetUserId

func (m *TLUpdateUserStatus) GetUserId() int32

func (*TLUpdateUserStatus) ProtoMessage

func (*TLUpdateUserStatus) ProtoMessage()

func (*TLUpdateUserStatus) Reset

func (m *TLUpdateUserStatus) Reset()

func (*TLUpdateUserStatus) SetStatus

func (m *TLUpdateUserStatus) SetStatus(v *UserStatus)

func (*TLUpdateUserStatus) SetUserId

func (m *TLUpdateUserStatus) SetUserId(v int32)

func (*TLUpdateUserStatus) String

func (m *TLUpdateUserStatus) String() string

func (*TLUpdateUserStatus) To_Update

func (m *TLUpdateUserStatus) To_Update() *Update

updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update;

type TLUpdateUserTyping

type TLUpdateUserTyping struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update;

func NewTLUpdateUserTyping

func NewTLUpdateUserTyping() *TLUpdateUserTyping

func (*TLUpdateUserTyping) Decode

func (m *TLUpdateUserTyping) Decode(dbuf *DecodeBuf) error

func (*TLUpdateUserTyping) Descriptor

func (*TLUpdateUserTyping) Descriptor() ([]byte, []int)

func (*TLUpdateUserTyping) Encode

func (m *TLUpdateUserTyping) Encode() []byte

func (*TLUpdateUserTyping) GetAction

func (m *TLUpdateUserTyping) GetAction() *SendMessageAction

func (*TLUpdateUserTyping) GetData2

func (m *TLUpdateUserTyping) GetData2() *Update_Data

func (*TLUpdateUserTyping) GetUserId

func (m *TLUpdateUserTyping) GetUserId() int32

func (*TLUpdateUserTyping) ProtoMessage

func (*TLUpdateUserTyping) ProtoMessage()

func (*TLUpdateUserTyping) Reset

func (m *TLUpdateUserTyping) Reset()

func (*TLUpdateUserTyping) SetAction

func (m *TLUpdateUserTyping) SetAction(v *SendMessageAction)

func (*TLUpdateUserTyping) SetUserId

func (m *TLUpdateUserTyping) SetUserId(v int32)

func (*TLUpdateUserTyping) String

func (m *TLUpdateUserTyping) String() string

func (*TLUpdateUserTyping) To_Update

func (m *TLUpdateUserTyping) To_Update() *Update

updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update;

type TLUpdateWebPage

type TLUpdateWebPage struct {
	Data2 *Update_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;

func NewTLUpdateWebPage

func NewTLUpdateWebPage() *TLUpdateWebPage

func (*TLUpdateWebPage) Decode

func (m *TLUpdateWebPage) Decode(dbuf *DecodeBuf) error

func (*TLUpdateWebPage) Descriptor

func (*TLUpdateWebPage) Descriptor() ([]byte, []int)

func (*TLUpdateWebPage) Encode

func (m *TLUpdateWebPage) Encode() []byte

func (*TLUpdateWebPage) GetData2

func (m *TLUpdateWebPage) GetData2() *Update_Data

func (*TLUpdateWebPage) GetPts

func (m *TLUpdateWebPage) GetPts() int32

func (*TLUpdateWebPage) GetPtsCount

func (m *TLUpdateWebPage) GetPtsCount() int32

func (*TLUpdateWebPage) GetWebpage

func (m *TLUpdateWebPage) GetWebpage() *WebPage

func (*TLUpdateWebPage) ProtoMessage

func (*TLUpdateWebPage) ProtoMessage()

func (*TLUpdateWebPage) Reset

func (m *TLUpdateWebPage) Reset()

func (*TLUpdateWebPage) SetPts

func (m *TLUpdateWebPage) SetPts(v int32)

func (*TLUpdateWebPage) SetPtsCount

func (m *TLUpdateWebPage) SetPtsCount(v int32)

func (*TLUpdateWebPage) SetWebpage

func (m *TLUpdateWebPage) SetWebpage(v *WebPage)

func (*TLUpdateWebPage) String

func (m *TLUpdateWebPage) String() string

func (*TLUpdateWebPage) To_Update

func (m *TLUpdateWebPage) To_Update() *Update

updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;

type TLUpdates

type TLUpdates struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;

func NewTLUpdates

func NewTLUpdates() *TLUpdates

func (*TLUpdates) Decode

func (m *TLUpdates) Decode(dbuf *DecodeBuf) error

func (*TLUpdates) Descriptor

func (*TLUpdates) Descriptor() ([]byte, []int)

func (*TLUpdates) Encode

func (m *TLUpdates) Encode() []byte

func (*TLUpdates) GetChats

func (m *TLUpdates) GetChats() []*Chat

func (*TLUpdates) GetData2

func (m *TLUpdates) GetData2() *Updates_Data

func (*TLUpdates) GetDate

func (m *TLUpdates) GetDate() int32

func (*TLUpdates) GetSeq

func (m *TLUpdates) GetSeq() int32

func (*TLUpdates) GetUpdates

func (m *TLUpdates) GetUpdates() []*Update

func (*TLUpdates) GetUsers

func (m *TLUpdates) GetUsers() []*User

func (*TLUpdates) ProtoMessage

func (*TLUpdates) ProtoMessage()

func (*TLUpdates) Reset

func (m *TLUpdates) Reset()

func (*TLUpdates) SetChats

func (m *TLUpdates) SetChats(v []*Chat)

func (*TLUpdates) SetDate

func (m *TLUpdates) SetDate(v int32)

func (*TLUpdates) SetSeq

func (m *TLUpdates) SetSeq(v int32)

func (*TLUpdates) SetUpdates

func (m *TLUpdates) SetUpdates(v []*Update)

func (*TLUpdates) SetUsers

func (m *TLUpdates) SetUsers(v []*User)

func (*TLUpdates) String

func (m *TLUpdates) String() string

func (*TLUpdates) To_Updates

func (m *TLUpdates) To_Updates() *Updates

updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;

type TLUpdatesChannelDifference

type TLUpdatesChannelDifference struct {
	Data2 *Updates_ChannelDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

func NewTLUpdatesChannelDifference

func NewTLUpdatesChannelDifference() *TLUpdatesChannelDifference

func (*TLUpdatesChannelDifference) Decode

func (m *TLUpdatesChannelDifference) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesChannelDifference) Descriptor

func (*TLUpdatesChannelDifference) Descriptor() ([]byte, []int)

func (*TLUpdatesChannelDifference) Encode

func (m *TLUpdatesChannelDifference) Encode() []byte

func (*TLUpdatesChannelDifference) GetChats

func (m *TLUpdatesChannelDifference) GetChats() []*Chat

func (*TLUpdatesChannelDifference) GetData2

func (*TLUpdatesChannelDifference) GetFinal

func (m *TLUpdatesChannelDifference) GetFinal() bool

func (*TLUpdatesChannelDifference) GetNewMessages

func (m *TLUpdatesChannelDifference) GetNewMessages() []*Message

func (*TLUpdatesChannelDifference) GetOtherUpdates

func (m *TLUpdatesChannelDifference) GetOtherUpdates() []*Update

func (*TLUpdatesChannelDifference) GetPts

func (m *TLUpdatesChannelDifference) GetPts() int32

func (*TLUpdatesChannelDifference) GetTimeout

func (m *TLUpdatesChannelDifference) GetTimeout() int32

func (*TLUpdatesChannelDifference) GetUsers

func (m *TLUpdatesChannelDifference) GetUsers() []*User

func (*TLUpdatesChannelDifference) ProtoMessage

func (*TLUpdatesChannelDifference) ProtoMessage()

func (*TLUpdatesChannelDifference) Reset

func (m *TLUpdatesChannelDifference) Reset()

func (*TLUpdatesChannelDifference) SetChats

func (m *TLUpdatesChannelDifference) SetChats(v []*Chat)

func (*TLUpdatesChannelDifference) SetFinal

func (m *TLUpdatesChannelDifference) SetFinal(v bool)

func (*TLUpdatesChannelDifference) SetNewMessages

func (m *TLUpdatesChannelDifference) SetNewMessages(v []*Message)

func (*TLUpdatesChannelDifference) SetOtherUpdates

func (m *TLUpdatesChannelDifference) SetOtherUpdates(v []*Update)

func (*TLUpdatesChannelDifference) SetPts

func (m *TLUpdatesChannelDifference) SetPts(v int32)

func (*TLUpdatesChannelDifference) SetTimeout

func (m *TLUpdatesChannelDifference) SetTimeout(v int32)

func (*TLUpdatesChannelDifference) SetUsers

func (m *TLUpdatesChannelDifference) SetUsers(v []*User)

func (*TLUpdatesChannelDifference) String

func (m *TLUpdatesChannelDifference) String() string

func (*TLUpdatesChannelDifference) To_Updates_ChannelDifference

func (m *TLUpdatesChannelDifference) To_Updates_ChannelDifference() *Updates_ChannelDifference

updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

type TLUpdatesChannelDifferenceEmpty

type TLUpdatesChannelDifferenceEmpty struct {
	Data2 *Updates_ChannelDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference;

func NewTLUpdatesChannelDifferenceEmpty

func NewTLUpdatesChannelDifferenceEmpty() *TLUpdatesChannelDifferenceEmpty

func (*TLUpdatesChannelDifferenceEmpty) Decode

func (*TLUpdatesChannelDifferenceEmpty) Descriptor

func (*TLUpdatesChannelDifferenceEmpty) Descriptor() ([]byte, []int)

func (*TLUpdatesChannelDifferenceEmpty) Encode

func (m *TLUpdatesChannelDifferenceEmpty) Encode() []byte

func (*TLUpdatesChannelDifferenceEmpty) GetData2

func (*TLUpdatesChannelDifferenceEmpty) GetFinal

func (m *TLUpdatesChannelDifferenceEmpty) GetFinal() bool

func (*TLUpdatesChannelDifferenceEmpty) GetPts

func (*TLUpdatesChannelDifferenceEmpty) GetTimeout

func (m *TLUpdatesChannelDifferenceEmpty) GetTimeout() int32

func (*TLUpdatesChannelDifferenceEmpty) ProtoMessage

func (*TLUpdatesChannelDifferenceEmpty) ProtoMessage()

func (*TLUpdatesChannelDifferenceEmpty) Reset

func (*TLUpdatesChannelDifferenceEmpty) SetFinal

func (m *TLUpdatesChannelDifferenceEmpty) SetFinal(v bool)

func (*TLUpdatesChannelDifferenceEmpty) SetPts

func (*TLUpdatesChannelDifferenceEmpty) SetTimeout

func (m *TLUpdatesChannelDifferenceEmpty) SetTimeout(v int32)

func (*TLUpdatesChannelDifferenceEmpty) String

func (*TLUpdatesChannelDifferenceEmpty) To_Updates_ChannelDifference

func (m *TLUpdatesChannelDifferenceEmpty) To_Updates_ChannelDifference() *Updates_ChannelDifference

updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference;

type TLUpdatesChannelDifferenceTooLong

type TLUpdatesChannelDifferenceTooLong struct {
	Data2 *Updates_ChannelDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

func NewTLUpdatesChannelDifferenceTooLong

func NewTLUpdatesChannelDifferenceTooLong() *TLUpdatesChannelDifferenceTooLong

func (*TLUpdatesChannelDifferenceTooLong) Decode

func (*TLUpdatesChannelDifferenceTooLong) Descriptor

func (*TLUpdatesChannelDifferenceTooLong) Descriptor() ([]byte, []int)

func (*TLUpdatesChannelDifferenceTooLong) Encode

func (*TLUpdatesChannelDifferenceTooLong) GetChats

func (m *TLUpdatesChannelDifferenceTooLong) GetChats() []*Chat

func (*TLUpdatesChannelDifferenceTooLong) GetData2

func (*TLUpdatesChannelDifferenceTooLong) GetFinal

func (*TLUpdatesChannelDifferenceTooLong) GetMessages

func (m *TLUpdatesChannelDifferenceTooLong) GetMessages() []*Message

func (*TLUpdatesChannelDifferenceTooLong) GetPts

func (*TLUpdatesChannelDifferenceTooLong) GetReadInboxMaxId

func (m *TLUpdatesChannelDifferenceTooLong) GetReadInboxMaxId() int32

func (*TLUpdatesChannelDifferenceTooLong) GetReadOutboxMaxId

func (m *TLUpdatesChannelDifferenceTooLong) GetReadOutboxMaxId() int32

func (*TLUpdatesChannelDifferenceTooLong) GetTimeout

func (m *TLUpdatesChannelDifferenceTooLong) GetTimeout() int32

func (*TLUpdatesChannelDifferenceTooLong) GetTopMessage

func (m *TLUpdatesChannelDifferenceTooLong) GetTopMessage() int32

func (*TLUpdatesChannelDifferenceTooLong) GetUnreadCount

func (m *TLUpdatesChannelDifferenceTooLong) GetUnreadCount() int32

func (*TLUpdatesChannelDifferenceTooLong) GetUnreadMentionsCount

func (m *TLUpdatesChannelDifferenceTooLong) GetUnreadMentionsCount() int32

func (*TLUpdatesChannelDifferenceTooLong) GetUsers

func (m *TLUpdatesChannelDifferenceTooLong) GetUsers() []*User

func (*TLUpdatesChannelDifferenceTooLong) ProtoMessage

func (*TLUpdatesChannelDifferenceTooLong) ProtoMessage()

func (*TLUpdatesChannelDifferenceTooLong) Reset

func (*TLUpdatesChannelDifferenceTooLong) SetChats

func (m *TLUpdatesChannelDifferenceTooLong) SetChats(v []*Chat)

func (*TLUpdatesChannelDifferenceTooLong) SetFinal

func (m *TLUpdatesChannelDifferenceTooLong) SetFinal(v bool)

func (*TLUpdatesChannelDifferenceTooLong) SetMessages

func (m *TLUpdatesChannelDifferenceTooLong) SetMessages(v []*Message)

func (*TLUpdatesChannelDifferenceTooLong) SetPts

func (*TLUpdatesChannelDifferenceTooLong) SetReadInboxMaxId

func (m *TLUpdatesChannelDifferenceTooLong) SetReadInboxMaxId(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetReadOutboxMaxId

func (m *TLUpdatesChannelDifferenceTooLong) SetReadOutboxMaxId(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetTimeout

func (m *TLUpdatesChannelDifferenceTooLong) SetTimeout(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetTopMessage

func (m *TLUpdatesChannelDifferenceTooLong) SetTopMessage(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetUnreadCount

func (m *TLUpdatesChannelDifferenceTooLong) SetUnreadCount(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetUnreadMentionsCount

func (m *TLUpdatesChannelDifferenceTooLong) SetUnreadMentionsCount(v int32)

func (*TLUpdatesChannelDifferenceTooLong) SetUsers

func (m *TLUpdatesChannelDifferenceTooLong) SetUsers(v []*User)

func (*TLUpdatesChannelDifferenceTooLong) String

func (*TLUpdatesChannelDifferenceTooLong) To_Updates_ChannelDifference

func (m *TLUpdatesChannelDifferenceTooLong) To_Updates_ChannelDifference() *Updates_ChannelDifference

updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

type TLUpdatesCombined

type TLUpdatesCombined struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;

func NewTLUpdatesCombined

func NewTLUpdatesCombined() *TLUpdatesCombined

func (*TLUpdatesCombined) Decode

func (m *TLUpdatesCombined) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesCombined) Descriptor

func (*TLUpdatesCombined) Descriptor() ([]byte, []int)

func (*TLUpdatesCombined) Encode

func (m *TLUpdatesCombined) Encode() []byte

func (*TLUpdatesCombined) GetChats

func (m *TLUpdatesCombined) GetChats() []*Chat

func (*TLUpdatesCombined) GetData2

func (m *TLUpdatesCombined) GetData2() *Updates_Data

func (*TLUpdatesCombined) GetDate

func (m *TLUpdatesCombined) GetDate() int32

func (*TLUpdatesCombined) GetSeq

func (m *TLUpdatesCombined) GetSeq() int32

func (*TLUpdatesCombined) GetSeqStart

func (m *TLUpdatesCombined) GetSeqStart() int32

func (*TLUpdatesCombined) GetUpdates

func (m *TLUpdatesCombined) GetUpdates() []*Update

func (*TLUpdatesCombined) GetUsers

func (m *TLUpdatesCombined) GetUsers() []*User

func (*TLUpdatesCombined) ProtoMessage

func (*TLUpdatesCombined) ProtoMessage()

func (*TLUpdatesCombined) Reset

func (m *TLUpdatesCombined) Reset()

func (*TLUpdatesCombined) SetChats

func (m *TLUpdatesCombined) SetChats(v []*Chat)

func (*TLUpdatesCombined) SetDate

func (m *TLUpdatesCombined) SetDate(v int32)

func (*TLUpdatesCombined) SetSeq

func (m *TLUpdatesCombined) SetSeq(v int32)

func (*TLUpdatesCombined) SetSeqStart

func (m *TLUpdatesCombined) SetSeqStart(v int32)

func (*TLUpdatesCombined) SetUpdates

func (m *TLUpdatesCombined) SetUpdates(v []*Update)

func (*TLUpdatesCombined) SetUsers

func (m *TLUpdatesCombined) SetUsers(v []*User)

func (*TLUpdatesCombined) String

func (m *TLUpdatesCombined) String() string

func (*TLUpdatesCombined) To_Updates

func (m *TLUpdatesCombined) To_Updates() *Updates

updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;

type TLUpdatesDifference

type TLUpdatesDifference struct {
	Data2 *Updates_Difference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;

func NewTLUpdatesDifference

func NewTLUpdatesDifference() *TLUpdatesDifference

func (*TLUpdatesDifference) Decode

func (m *TLUpdatesDifference) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesDifference) Descriptor

func (*TLUpdatesDifference) Descriptor() ([]byte, []int)

func (*TLUpdatesDifference) Encode

func (m *TLUpdatesDifference) Encode() []byte

func (*TLUpdatesDifference) GetChats

func (m *TLUpdatesDifference) GetChats() []*Chat

func (*TLUpdatesDifference) GetData2

func (*TLUpdatesDifference) GetNewEncryptedMessages

func (m *TLUpdatesDifference) GetNewEncryptedMessages() []*EncryptedMessage

func (*TLUpdatesDifference) GetNewMessages

func (m *TLUpdatesDifference) GetNewMessages() []*Message

func (*TLUpdatesDifference) GetOtherUpdates

func (m *TLUpdatesDifference) GetOtherUpdates() []*Update

func (*TLUpdatesDifference) GetState

func (m *TLUpdatesDifference) GetState() *Updates_State

func (*TLUpdatesDifference) GetUsers

func (m *TLUpdatesDifference) GetUsers() []*User

func (*TLUpdatesDifference) ProtoMessage

func (*TLUpdatesDifference) ProtoMessage()

func (*TLUpdatesDifference) Reset

func (m *TLUpdatesDifference) Reset()

func (*TLUpdatesDifference) SetChats

func (m *TLUpdatesDifference) SetChats(v []*Chat)

func (*TLUpdatesDifference) SetNewEncryptedMessages

func (m *TLUpdatesDifference) SetNewEncryptedMessages(v []*EncryptedMessage)

func (*TLUpdatesDifference) SetNewMessages

func (m *TLUpdatesDifference) SetNewMessages(v []*Message)

func (*TLUpdatesDifference) SetOtherUpdates

func (m *TLUpdatesDifference) SetOtherUpdates(v []*Update)

func (*TLUpdatesDifference) SetState

func (m *TLUpdatesDifference) SetState(v *Updates_State)

func (*TLUpdatesDifference) SetUsers

func (m *TLUpdatesDifference) SetUsers(v []*User)

func (*TLUpdatesDifference) String

func (m *TLUpdatesDifference) String() string

func (*TLUpdatesDifference) To_Updates_Difference

func (m *TLUpdatesDifference) To_Updates_Difference() *Updates_Difference

updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;

type TLUpdatesDifferenceEmpty

type TLUpdatesDifferenceEmpty struct {
	Data2 *Updates_Difference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;

func NewTLUpdatesDifferenceEmpty

func NewTLUpdatesDifferenceEmpty() *TLUpdatesDifferenceEmpty

func (*TLUpdatesDifferenceEmpty) Decode

func (m *TLUpdatesDifferenceEmpty) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesDifferenceEmpty) Descriptor

func (*TLUpdatesDifferenceEmpty) Descriptor() ([]byte, []int)

func (*TLUpdatesDifferenceEmpty) Encode

func (m *TLUpdatesDifferenceEmpty) Encode() []byte

func (*TLUpdatesDifferenceEmpty) GetData2

func (*TLUpdatesDifferenceEmpty) GetDate

func (m *TLUpdatesDifferenceEmpty) GetDate() int32

func (*TLUpdatesDifferenceEmpty) GetSeq

func (m *TLUpdatesDifferenceEmpty) GetSeq() int32

func (*TLUpdatesDifferenceEmpty) ProtoMessage

func (*TLUpdatesDifferenceEmpty) ProtoMessage()

func (*TLUpdatesDifferenceEmpty) Reset

func (m *TLUpdatesDifferenceEmpty) Reset()

func (*TLUpdatesDifferenceEmpty) SetDate

func (m *TLUpdatesDifferenceEmpty) SetDate(v int32)

func (*TLUpdatesDifferenceEmpty) SetSeq

func (m *TLUpdatesDifferenceEmpty) SetSeq(v int32)

func (*TLUpdatesDifferenceEmpty) String

func (m *TLUpdatesDifferenceEmpty) String() string

func (*TLUpdatesDifferenceEmpty) To_Updates_Difference

func (m *TLUpdatesDifferenceEmpty) To_Updates_Difference() *Updates_Difference

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;

type TLUpdatesDifferenceSlice

type TLUpdatesDifferenceSlice struct {
	Data2 *Updates_Difference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

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;

func NewTLUpdatesDifferenceSlice

func NewTLUpdatesDifferenceSlice() *TLUpdatesDifferenceSlice

func (*TLUpdatesDifferenceSlice) Decode

func (m *TLUpdatesDifferenceSlice) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesDifferenceSlice) Descriptor

func (*TLUpdatesDifferenceSlice) Descriptor() ([]byte, []int)

func (*TLUpdatesDifferenceSlice) Encode

func (m *TLUpdatesDifferenceSlice) Encode() []byte

func (*TLUpdatesDifferenceSlice) GetChats

func (m *TLUpdatesDifferenceSlice) GetChats() []*Chat

func (*TLUpdatesDifferenceSlice) GetData2

func (*TLUpdatesDifferenceSlice) GetIntermediateState

func (m *TLUpdatesDifferenceSlice) GetIntermediateState() *Updates_State

func (*TLUpdatesDifferenceSlice) GetNewEncryptedMessages

func (m *TLUpdatesDifferenceSlice) GetNewEncryptedMessages() []*EncryptedMessage

func (*TLUpdatesDifferenceSlice) GetNewMessages

func (m *TLUpdatesDifferenceSlice) GetNewMessages() []*Message

func (*TLUpdatesDifferenceSlice) GetOtherUpdates

func (m *TLUpdatesDifferenceSlice) GetOtherUpdates() []*Update

func (*TLUpdatesDifferenceSlice) GetUsers

func (m *TLUpdatesDifferenceSlice) GetUsers() []*User

func (*TLUpdatesDifferenceSlice) ProtoMessage

func (*TLUpdatesDifferenceSlice) ProtoMessage()

func (*TLUpdatesDifferenceSlice) Reset

func (m *TLUpdatesDifferenceSlice) Reset()

func (*TLUpdatesDifferenceSlice) SetChats

func (m *TLUpdatesDifferenceSlice) SetChats(v []*Chat)

func (*TLUpdatesDifferenceSlice) SetIntermediateState

func (m *TLUpdatesDifferenceSlice) SetIntermediateState(v *Updates_State)

func (*TLUpdatesDifferenceSlice) SetNewEncryptedMessages

func (m *TLUpdatesDifferenceSlice) SetNewEncryptedMessages(v []*EncryptedMessage)

func (*TLUpdatesDifferenceSlice) SetNewMessages

func (m *TLUpdatesDifferenceSlice) SetNewMessages(v []*Message)

func (*TLUpdatesDifferenceSlice) SetOtherUpdates

func (m *TLUpdatesDifferenceSlice) SetOtherUpdates(v []*Update)

func (*TLUpdatesDifferenceSlice) SetUsers

func (m *TLUpdatesDifferenceSlice) SetUsers(v []*User)

func (*TLUpdatesDifferenceSlice) String

func (m *TLUpdatesDifferenceSlice) String() string

func (*TLUpdatesDifferenceSlice) To_Updates_Difference

func (m *TLUpdatesDifferenceSlice) To_Updates_Difference() *Updates_Difference

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;

type TLUpdatesDifferenceTooLong

type TLUpdatesDifferenceTooLong struct {
	Data2 *Updates_Difference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;

func NewTLUpdatesDifferenceTooLong

func NewTLUpdatesDifferenceTooLong() *TLUpdatesDifferenceTooLong

func (*TLUpdatesDifferenceTooLong) Decode

func (m *TLUpdatesDifferenceTooLong) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesDifferenceTooLong) Descriptor

func (*TLUpdatesDifferenceTooLong) Descriptor() ([]byte, []int)

func (*TLUpdatesDifferenceTooLong) Encode

func (m *TLUpdatesDifferenceTooLong) Encode() []byte

func (*TLUpdatesDifferenceTooLong) GetData2

func (*TLUpdatesDifferenceTooLong) GetPts

func (m *TLUpdatesDifferenceTooLong) GetPts() int32

func (*TLUpdatesDifferenceTooLong) ProtoMessage

func (*TLUpdatesDifferenceTooLong) ProtoMessage()

func (*TLUpdatesDifferenceTooLong) Reset

func (m *TLUpdatesDifferenceTooLong) Reset()

func (*TLUpdatesDifferenceTooLong) SetPts

func (m *TLUpdatesDifferenceTooLong) SetPts(v int32)

func (*TLUpdatesDifferenceTooLong) String

func (m *TLUpdatesDifferenceTooLong) String() string

func (*TLUpdatesDifferenceTooLong) To_Updates_Difference

func (m *TLUpdatesDifferenceTooLong) To_Updates_Difference() *Updates_Difference

updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;

type TLUpdatesGetChannelDifference

type TLUpdatesGetChannelDifference struct {
	Force   bool                   `protobuf:"varint,2,opt,name=force" json:"force,omitempty"`
	Channel *InputChannel          `protobuf:"bytes,3,opt,name=channel" json:"channel,omitempty"`
	Filter  *ChannelMessagesFilter `protobuf:"bytes,4,opt,name=filter" json:"filter,omitempty"`
	Pts     int32                  `protobuf:"varint,5,opt,name=pts" json:"pts,omitempty"`
	Limit   int32                  `protobuf:"varint,6,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// updates.getChannelDifference#3173d78 flags:# force:flags.0?true channel:InputChannel filter:ChannelMessagesFilter pts:int limit:int = updates.ChannelDifference;

func NewTLUpdatesGetChannelDifference

func NewTLUpdatesGetChannelDifference() *TLUpdatesGetChannelDifference

func (*TLUpdatesGetChannelDifference) Decode

func (*TLUpdatesGetChannelDifference) Descriptor

func (*TLUpdatesGetChannelDifference) Descriptor() ([]byte, []int)

func (*TLUpdatesGetChannelDifference) Encode

func (m *TLUpdatesGetChannelDifference) Encode() []byte

func (*TLUpdatesGetChannelDifference) GetChannel

func (*TLUpdatesGetChannelDifference) GetFilter

func (*TLUpdatesGetChannelDifference) GetForce

func (m *TLUpdatesGetChannelDifference) GetForce() bool

func (*TLUpdatesGetChannelDifference) GetLimit

func (m *TLUpdatesGetChannelDifference) GetLimit() int32

func (*TLUpdatesGetChannelDifference) GetPts

func (*TLUpdatesGetChannelDifference) ProtoMessage

func (*TLUpdatesGetChannelDifference) ProtoMessage()

func (*TLUpdatesGetChannelDifference) Reset

func (m *TLUpdatesGetChannelDifference) Reset()

func (*TLUpdatesGetChannelDifference) String

type TLUpdatesGetDifference

type TLUpdatesGetDifference struct {
	Pts           int32 `protobuf:"varint,2,opt,name=pts" json:"pts,omitempty"`
	PtsTotalLimit int32 `protobuf:"varint,3,opt,name=pts_total_limit,json=ptsTotalLimit" json:"pts_total_limit,omitempty"`
	Date          int32 `protobuf:"varint,4,opt,name=date" json:"date,omitempty"`
	Qts           int32 `protobuf:"varint,5,opt,name=qts" json:"qts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;

func NewTLUpdatesGetDifference

func NewTLUpdatesGetDifference() *TLUpdatesGetDifference

func (*TLUpdatesGetDifference) Decode

func (m *TLUpdatesGetDifference) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesGetDifference) Descriptor

func (*TLUpdatesGetDifference) Descriptor() ([]byte, []int)

func (*TLUpdatesGetDifference) Encode

func (m *TLUpdatesGetDifference) Encode() []byte

func (*TLUpdatesGetDifference) GetDate

func (m *TLUpdatesGetDifference) GetDate() int32

func (*TLUpdatesGetDifference) GetPts

func (m *TLUpdatesGetDifference) GetPts() int32

func (*TLUpdatesGetDifference) GetPtsTotalLimit

func (m *TLUpdatesGetDifference) GetPtsTotalLimit() int32

func (*TLUpdatesGetDifference) GetQts

func (m *TLUpdatesGetDifference) GetQts() int32

func (*TLUpdatesGetDifference) ProtoMessage

func (*TLUpdatesGetDifference) ProtoMessage()

func (*TLUpdatesGetDifference) Reset

func (m *TLUpdatesGetDifference) Reset()

func (*TLUpdatesGetDifference) String

func (m *TLUpdatesGetDifference) String() string

type TLUpdatesGetState

type TLUpdatesGetState struct {
}

///////////////////////////////////////////////////////////////////////////// updates.getState#edd4882a = updates.State;

func NewTLUpdatesGetState

func NewTLUpdatesGetState() *TLUpdatesGetState

func (*TLUpdatesGetState) Decode

func (m *TLUpdatesGetState) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesGetState) Descriptor

func (*TLUpdatesGetState) Descriptor() ([]byte, []int)

func (*TLUpdatesGetState) Encode

func (m *TLUpdatesGetState) Encode() []byte

func (*TLUpdatesGetState) ProtoMessage

func (*TLUpdatesGetState) ProtoMessage()

func (*TLUpdatesGetState) Reset

func (m *TLUpdatesGetState) Reset()

func (*TLUpdatesGetState) String

func (m *TLUpdatesGetState) String() string

type TLUpdatesState

type TLUpdatesState struct {
	Data2 *Updates_State_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;

func NewTLUpdatesState

func NewTLUpdatesState() *TLUpdatesState

func (*TLUpdatesState) Decode

func (m *TLUpdatesState) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesState) Descriptor

func (*TLUpdatesState) Descriptor() ([]byte, []int)

func (*TLUpdatesState) Encode

func (m *TLUpdatesState) Encode() []byte

func (*TLUpdatesState) GetData2

func (m *TLUpdatesState) GetData2() *Updates_State_Data

func (*TLUpdatesState) GetDate

func (m *TLUpdatesState) GetDate() int32

func (*TLUpdatesState) GetPts

func (m *TLUpdatesState) GetPts() int32

func (*TLUpdatesState) GetQts

func (m *TLUpdatesState) GetQts() int32

func (*TLUpdatesState) GetSeq

func (m *TLUpdatesState) GetSeq() int32

func (*TLUpdatesState) GetUnreadCount

func (m *TLUpdatesState) GetUnreadCount() int32

func (*TLUpdatesState) ProtoMessage

func (*TLUpdatesState) ProtoMessage()

func (*TLUpdatesState) Reset

func (m *TLUpdatesState) Reset()

func (*TLUpdatesState) SetDate

func (m *TLUpdatesState) SetDate(v int32)

func (*TLUpdatesState) SetPts

func (m *TLUpdatesState) SetPts(v int32)

func (*TLUpdatesState) SetQts

func (m *TLUpdatesState) SetQts(v int32)

func (*TLUpdatesState) SetSeq

func (m *TLUpdatesState) SetSeq(v int32)

func (*TLUpdatesState) SetUnreadCount

func (m *TLUpdatesState) SetUnreadCount(v int32)

func (*TLUpdatesState) String

func (m *TLUpdatesState) String() string

func (*TLUpdatesState) To_Updates_State

func (m *TLUpdatesState) To_Updates_State() *Updates_State

updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;

type TLUpdatesTooLong

type TLUpdatesTooLong struct {
	Data2 *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

updatesTooLong#e317af7e = Updates;

func NewTLUpdatesTooLong

func NewTLUpdatesTooLong() *TLUpdatesTooLong

func (*TLUpdatesTooLong) Decode

func (m *TLUpdatesTooLong) Decode(dbuf *DecodeBuf) error

func (*TLUpdatesTooLong) Descriptor

func (*TLUpdatesTooLong) Descriptor() ([]byte, []int)

func (*TLUpdatesTooLong) Encode

func (m *TLUpdatesTooLong) Encode() []byte

func (*TLUpdatesTooLong) GetData2

func (m *TLUpdatesTooLong) GetData2() *Updates_Data

func (*TLUpdatesTooLong) ProtoMessage

func (*TLUpdatesTooLong) ProtoMessage()

func (*TLUpdatesTooLong) Reset

func (m *TLUpdatesTooLong) Reset()

func (*TLUpdatesTooLong) String

func (m *TLUpdatesTooLong) String() string

func (*TLUpdatesTooLong) To_Updates

func (m *TLUpdatesTooLong) To_Updates() *Updates

updatesTooLong#e317af7e = Updates;

type TLUploadCdnFile

type TLUploadCdnFile struct {
	Data2 *Upload_CdnFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile;

func NewTLUploadCdnFile

func NewTLUploadCdnFile() *TLUploadCdnFile

func (*TLUploadCdnFile) Decode

func (m *TLUploadCdnFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadCdnFile) Descriptor

func (*TLUploadCdnFile) Descriptor() ([]byte, []int)

func (*TLUploadCdnFile) Encode

func (m *TLUploadCdnFile) Encode() []byte

func (*TLUploadCdnFile) GetBytes

func (m *TLUploadCdnFile) GetBytes() []byte

func (*TLUploadCdnFile) GetData2

func (m *TLUploadCdnFile) GetData2() *Upload_CdnFile_Data

func (*TLUploadCdnFile) ProtoMessage

func (*TLUploadCdnFile) ProtoMessage()

func (*TLUploadCdnFile) Reset

func (m *TLUploadCdnFile) Reset()

func (*TLUploadCdnFile) SetBytes

func (m *TLUploadCdnFile) SetBytes(v []byte)

func (*TLUploadCdnFile) String

func (m *TLUploadCdnFile) String() string

func (*TLUploadCdnFile) To_Upload_CdnFile

func (m *TLUploadCdnFile) To_Upload_CdnFile() *Upload_CdnFile

upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile;

type TLUploadCdnFileReuploadNeeded

type TLUploadCdnFileReuploadNeeded struct {
	Data2 *Upload_CdnFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;

func NewTLUploadCdnFileReuploadNeeded

func NewTLUploadCdnFileReuploadNeeded() *TLUploadCdnFileReuploadNeeded

func (*TLUploadCdnFileReuploadNeeded) Decode

func (*TLUploadCdnFileReuploadNeeded) Descriptor

func (*TLUploadCdnFileReuploadNeeded) Descriptor() ([]byte, []int)

func (*TLUploadCdnFileReuploadNeeded) Encode

func (m *TLUploadCdnFileReuploadNeeded) Encode() []byte

func (*TLUploadCdnFileReuploadNeeded) GetData2

func (*TLUploadCdnFileReuploadNeeded) GetRequestToken

func (m *TLUploadCdnFileReuploadNeeded) GetRequestToken() []byte

func (*TLUploadCdnFileReuploadNeeded) ProtoMessage

func (*TLUploadCdnFileReuploadNeeded) ProtoMessage()

func (*TLUploadCdnFileReuploadNeeded) Reset

func (m *TLUploadCdnFileReuploadNeeded) Reset()

func (*TLUploadCdnFileReuploadNeeded) SetRequestToken

func (m *TLUploadCdnFileReuploadNeeded) SetRequestToken(v []byte)

func (*TLUploadCdnFileReuploadNeeded) String

func (*TLUploadCdnFileReuploadNeeded) To_Upload_CdnFile

func (m *TLUploadCdnFileReuploadNeeded) To_Upload_CdnFile() *Upload_CdnFile

upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;

type TLUploadFile

type TLUploadFile struct {
	Data2 *Upload_File_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;

func NewTLUploadFile

func NewTLUploadFile() *TLUploadFile

func (*TLUploadFile) Decode

func (m *TLUploadFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadFile) Descriptor

func (*TLUploadFile) Descriptor() ([]byte, []int)

func (*TLUploadFile) Encode

func (m *TLUploadFile) Encode() []byte

func (*TLUploadFile) GetBytes

func (m *TLUploadFile) GetBytes() []byte

func (*TLUploadFile) GetData2

func (m *TLUploadFile) GetData2() *Upload_File_Data

func (*TLUploadFile) GetMtime

func (m *TLUploadFile) GetMtime() int32

func (*TLUploadFile) GetType

func (m *TLUploadFile) GetType() *Storage_FileType

func (*TLUploadFile) ProtoMessage

func (*TLUploadFile) ProtoMessage()

func (*TLUploadFile) Reset

func (m *TLUploadFile) Reset()

func (*TLUploadFile) SetBytes

func (m *TLUploadFile) SetBytes(v []byte)

func (*TLUploadFile) SetMtime

func (m *TLUploadFile) SetMtime(v int32)

func (*TLUploadFile) SetType

func (m *TLUploadFile) SetType(v *Storage_FileType)

func (*TLUploadFile) String

func (m *TLUploadFile) String() string

func (*TLUploadFile) To_Upload_File

func (m *TLUploadFile) To_Upload_File() *Upload_File

upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;

type TLUploadFileCdnRedirect

type TLUploadFileCdnRedirect struct {
	Data2 *Upload_File_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector<CdnFileHash> = upload.File;

func NewTLUploadFileCdnRedirect

func NewTLUploadFileCdnRedirect() *TLUploadFileCdnRedirect

func (*TLUploadFileCdnRedirect) Decode

func (m *TLUploadFileCdnRedirect) Decode(dbuf *DecodeBuf) error

func (*TLUploadFileCdnRedirect) Descriptor

func (*TLUploadFileCdnRedirect) Descriptor() ([]byte, []int)

func (*TLUploadFileCdnRedirect) Encode

func (m *TLUploadFileCdnRedirect) Encode() []byte

func (*TLUploadFileCdnRedirect) GetCdnFileHashes

func (m *TLUploadFileCdnRedirect) GetCdnFileHashes() []*CdnFileHash

func (*TLUploadFileCdnRedirect) GetData2

func (*TLUploadFileCdnRedirect) GetDcId

func (m *TLUploadFileCdnRedirect) GetDcId() int32

func (*TLUploadFileCdnRedirect) GetEncryptionIv

func (m *TLUploadFileCdnRedirect) GetEncryptionIv() []byte

func (*TLUploadFileCdnRedirect) GetEncryptionKey

func (m *TLUploadFileCdnRedirect) GetEncryptionKey() []byte

func (*TLUploadFileCdnRedirect) GetFileToken

func (m *TLUploadFileCdnRedirect) GetFileToken() []byte

func (*TLUploadFileCdnRedirect) ProtoMessage

func (*TLUploadFileCdnRedirect) ProtoMessage()

func (*TLUploadFileCdnRedirect) Reset

func (m *TLUploadFileCdnRedirect) Reset()

func (*TLUploadFileCdnRedirect) SetCdnFileHashes

func (m *TLUploadFileCdnRedirect) SetCdnFileHashes(v []*CdnFileHash)

func (*TLUploadFileCdnRedirect) SetDcId

func (m *TLUploadFileCdnRedirect) SetDcId(v int32)

func (*TLUploadFileCdnRedirect) SetEncryptionIv

func (m *TLUploadFileCdnRedirect) SetEncryptionIv(v []byte)

func (*TLUploadFileCdnRedirect) SetEncryptionKey

func (m *TLUploadFileCdnRedirect) SetEncryptionKey(v []byte)

func (*TLUploadFileCdnRedirect) SetFileToken

func (m *TLUploadFileCdnRedirect) SetFileToken(v []byte)

func (*TLUploadFileCdnRedirect) String

func (m *TLUploadFileCdnRedirect) String() string

func (*TLUploadFileCdnRedirect) To_Upload_File

func (m *TLUploadFileCdnRedirect) To_Upload_File() *Upload_File

upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector<CdnFileHash> = upload.File;

type TLUploadGetCdnFile

type TLUploadGetCdnFile struct {
	FileToken []byte `protobuf:"bytes,1,opt,name=file_token,json=fileToken,proto3" json:"file_token,omitempty"`
	Offset    int32  `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	Limit     int32  `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.getCdnFile#2000bcc3 file_token:bytes offset:int limit:int = upload.CdnFile;

func NewTLUploadGetCdnFile

func NewTLUploadGetCdnFile() *TLUploadGetCdnFile

func (*TLUploadGetCdnFile) Decode

func (m *TLUploadGetCdnFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadGetCdnFile) Descriptor

func (*TLUploadGetCdnFile) Descriptor() ([]byte, []int)

func (*TLUploadGetCdnFile) Encode

func (m *TLUploadGetCdnFile) Encode() []byte

func (*TLUploadGetCdnFile) GetFileToken

func (m *TLUploadGetCdnFile) GetFileToken() []byte

func (*TLUploadGetCdnFile) GetLimit

func (m *TLUploadGetCdnFile) GetLimit() int32

func (*TLUploadGetCdnFile) GetOffset

func (m *TLUploadGetCdnFile) GetOffset() int32

func (*TLUploadGetCdnFile) ProtoMessage

func (*TLUploadGetCdnFile) ProtoMessage()

func (*TLUploadGetCdnFile) Reset

func (m *TLUploadGetCdnFile) Reset()

func (*TLUploadGetCdnFile) String

func (m *TLUploadGetCdnFile) String() string

type TLUploadGetCdnFileHashes

type TLUploadGetCdnFileHashes struct {
	FileToken []byte `protobuf:"bytes,1,opt,name=file_token,json=fileToken,proto3" json:"file_token,omitempty"`
	Offset    int32  `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.getCdnFileHashes#f715c87b file_token:bytes offset:int = Vector<CdnFileHash>;

func NewTLUploadGetCdnFileHashes

func NewTLUploadGetCdnFileHashes() *TLUploadGetCdnFileHashes

func (*TLUploadGetCdnFileHashes) Decode

func (m *TLUploadGetCdnFileHashes) Decode(dbuf *DecodeBuf) error

func (*TLUploadGetCdnFileHashes) Descriptor

func (*TLUploadGetCdnFileHashes) Descriptor() ([]byte, []int)

func (*TLUploadGetCdnFileHashes) Encode

func (m *TLUploadGetCdnFileHashes) Encode() []byte

func (*TLUploadGetCdnFileHashes) GetFileToken

func (m *TLUploadGetCdnFileHashes) GetFileToken() []byte

func (*TLUploadGetCdnFileHashes) GetOffset

func (m *TLUploadGetCdnFileHashes) GetOffset() int32

func (*TLUploadGetCdnFileHashes) ProtoMessage

func (*TLUploadGetCdnFileHashes) ProtoMessage()

func (*TLUploadGetCdnFileHashes) Reset

func (m *TLUploadGetCdnFileHashes) Reset()

func (*TLUploadGetCdnFileHashes) String

func (m *TLUploadGetCdnFileHashes) String() string

type TLUploadGetFile

type TLUploadGetFile struct {
	Location *InputFileLocation `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
	Offset   int32              `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	Limit    int32              `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.getFile#e3a6cfb5 location:InputFileLocation offset:int limit:int = upload.File;

func NewTLUploadGetFile

func NewTLUploadGetFile() *TLUploadGetFile

func (*TLUploadGetFile) Decode

func (m *TLUploadGetFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadGetFile) Descriptor

func (*TLUploadGetFile) Descriptor() ([]byte, []int)

func (*TLUploadGetFile) Encode

func (m *TLUploadGetFile) Encode() []byte

func (*TLUploadGetFile) GetLimit

func (m *TLUploadGetFile) GetLimit() int32

func (*TLUploadGetFile) GetLocation

func (m *TLUploadGetFile) GetLocation() *InputFileLocation

func (*TLUploadGetFile) GetOffset

func (m *TLUploadGetFile) GetOffset() int32

func (*TLUploadGetFile) ProtoMessage

func (*TLUploadGetFile) ProtoMessage()

func (*TLUploadGetFile) Reset

func (m *TLUploadGetFile) Reset()

func (*TLUploadGetFile) String

func (m *TLUploadGetFile) String() string

type TLUploadGetWebFile

type TLUploadGetWebFile struct {
	Location *InputWebFileLocation `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
	Offset   int32                 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
	Limit    int32                 `protobuf:"varint,3,opt,name=limit" json:"limit,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;

func NewTLUploadGetWebFile

func NewTLUploadGetWebFile() *TLUploadGetWebFile

func (*TLUploadGetWebFile) Decode

func (m *TLUploadGetWebFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadGetWebFile) Descriptor

func (*TLUploadGetWebFile) Descriptor() ([]byte, []int)

func (*TLUploadGetWebFile) Encode

func (m *TLUploadGetWebFile) Encode() []byte

func (*TLUploadGetWebFile) GetLimit

func (m *TLUploadGetWebFile) GetLimit() int32

func (*TLUploadGetWebFile) GetLocation

func (m *TLUploadGetWebFile) GetLocation() *InputWebFileLocation

func (*TLUploadGetWebFile) GetOffset

func (m *TLUploadGetWebFile) GetOffset() int32

func (*TLUploadGetWebFile) ProtoMessage

func (*TLUploadGetWebFile) ProtoMessage()

func (*TLUploadGetWebFile) Reset

func (m *TLUploadGetWebFile) Reset()

func (*TLUploadGetWebFile) String

func (m *TLUploadGetWebFile) String() string

type TLUploadReuploadCdnFile

type TLUploadReuploadCdnFile struct {
	FileToken    []byte `protobuf:"bytes,1,opt,name=file_token,json=fileToken,proto3" json:"file_token,omitempty"`
	RequestToken []byte `protobuf:"bytes,2,opt,name=request_token,json=requestToken,proto3" json:"request_token,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.reuploadCdnFile#1af91c09 file_token:bytes request_token:bytes = Vector<CdnFileHash>;

func NewTLUploadReuploadCdnFile

func NewTLUploadReuploadCdnFile() *TLUploadReuploadCdnFile

func (*TLUploadReuploadCdnFile) Decode

func (m *TLUploadReuploadCdnFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadReuploadCdnFile) Descriptor

func (*TLUploadReuploadCdnFile) Descriptor() ([]byte, []int)

func (*TLUploadReuploadCdnFile) Encode

func (m *TLUploadReuploadCdnFile) Encode() []byte

func (*TLUploadReuploadCdnFile) GetFileToken

func (m *TLUploadReuploadCdnFile) GetFileToken() []byte

func (*TLUploadReuploadCdnFile) GetRequestToken

func (m *TLUploadReuploadCdnFile) GetRequestToken() []byte

func (*TLUploadReuploadCdnFile) ProtoMessage

func (*TLUploadReuploadCdnFile) ProtoMessage()

func (*TLUploadReuploadCdnFile) Reset

func (m *TLUploadReuploadCdnFile) Reset()

func (*TLUploadReuploadCdnFile) String

func (m *TLUploadReuploadCdnFile) String() string

type TLUploadSaveBigFilePart

type TLUploadSaveBigFilePart struct {
	FileId         int64  `protobuf:"varint,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
	FilePart       int32  `protobuf:"varint,2,opt,name=file_part,json=filePart" json:"file_part,omitempty"`
	FileTotalParts int32  `protobuf:"varint,3,opt,name=file_total_parts,json=fileTotalParts" json:"file_total_parts,omitempty"`
	Bytes          []byte `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;

func NewTLUploadSaveBigFilePart

func NewTLUploadSaveBigFilePart() *TLUploadSaveBigFilePart

func (*TLUploadSaveBigFilePart) Decode

func (m *TLUploadSaveBigFilePart) Decode(dbuf *DecodeBuf) error

func (*TLUploadSaveBigFilePart) Descriptor

func (*TLUploadSaveBigFilePart) Descriptor() ([]byte, []int)

func (*TLUploadSaveBigFilePart) Encode

func (m *TLUploadSaveBigFilePart) Encode() []byte

func (*TLUploadSaveBigFilePart) GetBytes

func (m *TLUploadSaveBigFilePart) GetBytes() []byte

func (*TLUploadSaveBigFilePart) GetFileId

func (m *TLUploadSaveBigFilePart) GetFileId() int64

func (*TLUploadSaveBigFilePart) GetFilePart

func (m *TLUploadSaveBigFilePart) GetFilePart() int32

func (*TLUploadSaveBigFilePart) GetFileTotalParts

func (m *TLUploadSaveBigFilePart) GetFileTotalParts() int32

func (*TLUploadSaveBigFilePart) ProtoMessage

func (*TLUploadSaveBigFilePart) ProtoMessage()

func (*TLUploadSaveBigFilePart) Reset

func (m *TLUploadSaveBigFilePart) Reset()

func (*TLUploadSaveBigFilePart) String

func (m *TLUploadSaveBigFilePart) String() string

type TLUploadSaveFilePart

type TLUploadSaveFilePart struct {
	FileId   int64  `protobuf:"varint,1,opt,name=file_id,json=fileId" json:"file_id,omitempty"`
	FilePart int32  `protobuf:"varint,2,opt,name=file_part,json=filePart" json:"file_part,omitempty"`
	Bytes    []byte `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;

func NewTLUploadSaveFilePart

func NewTLUploadSaveFilePart() *TLUploadSaveFilePart

func (*TLUploadSaveFilePart) Decode

func (m *TLUploadSaveFilePart) Decode(dbuf *DecodeBuf) error

func (*TLUploadSaveFilePart) Descriptor

func (*TLUploadSaveFilePart) Descriptor() ([]byte, []int)

func (*TLUploadSaveFilePart) Encode

func (m *TLUploadSaveFilePart) Encode() []byte

func (*TLUploadSaveFilePart) GetBytes

func (m *TLUploadSaveFilePart) GetBytes() []byte

func (*TLUploadSaveFilePart) GetFileId

func (m *TLUploadSaveFilePart) GetFileId() int64

func (*TLUploadSaveFilePart) GetFilePart

func (m *TLUploadSaveFilePart) GetFilePart() int32

func (*TLUploadSaveFilePart) ProtoMessage

func (*TLUploadSaveFilePart) ProtoMessage()

func (*TLUploadSaveFilePart) Reset

func (m *TLUploadSaveFilePart) Reset()

func (*TLUploadSaveFilePart) String

func (m *TLUploadSaveFilePart) String() string

type TLUploadWebFile

type TLUploadWebFile struct {
	Data2 *Upload_WebFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;

func NewTLUploadWebFile

func NewTLUploadWebFile() *TLUploadWebFile

func (*TLUploadWebFile) Decode

func (m *TLUploadWebFile) Decode(dbuf *DecodeBuf) error

func (*TLUploadWebFile) Descriptor

func (*TLUploadWebFile) Descriptor() ([]byte, []int)

func (*TLUploadWebFile) Encode

func (m *TLUploadWebFile) Encode() []byte

func (*TLUploadWebFile) GetBytes

func (m *TLUploadWebFile) GetBytes() []byte

func (*TLUploadWebFile) GetData2

func (m *TLUploadWebFile) GetData2() *Upload_WebFile_Data

func (*TLUploadWebFile) GetFileType

func (m *TLUploadWebFile) GetFileType() *Storage_FileType

func (*TLUploadWebFile) GetMimeType

func (m *TLUploadWebFile) GetMimeType() string

func (*TLUploadWebFile) GetMtime

func (m *TLUploadWebFile) GetMtime() int32

func (*TLUploadWebFile) GetSize

func (m *TLUploadWebFile) GetSize() int32

func (*TLUploadWebFile) ProtoMessage

func (*TLUploadWebFile) ProtoMessage()

func (*TLUploadWebFile) Reset

func (m *TLUploadWebFile) Reset()

func (*TLUploadWebFile) SetBytes

func (m *TLUploadWebFile) SetBytes(v []byte)

func (*TLUploadWebFile) SetFileType

func (m *TLUploadWebFile) SetFileType(v *Storage_FileType)

func (*TLUploadWebFile) SetMimeType

func (m *TLUploadWebFile) SetMimeType(v string)

func (*TLUploadWebFile) SetMtime

func (m *TLUploadWebFile) SetMtime(v int32)

func (*TLUploadWebFile) SetSize

func (m *TLUploadWebFile) SetSize(v int32)

func (*TLUploadWebFile) String

func (m *TLUploadWebFile) String() string

func (*TLUploadWebFile) To_Upload_WebFile

func (m *TLUploadWebFile) To_Upload_WebFile() *Upload_WebFile

upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;

type TLUser

type TLUser struct {
	Data2 *User_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;

func NewTLUser

func NewTLUser() *TLUser

func (*TLUser) Decode

func (m *TLUser) Decode(dbuf *DecodeBuf) error

func (*TLUser) Descriptor

func (*TLUser) Descriptor() ([]byte, []int)

func (*TLUser) Encode

func (m *TLUser) Encode() []byte

func (*TLUser) GetAccessHash

func (m *TLUser) GetAccessHash() int64

func (*TLUser) GetBot

func (m *TLUser) GetBot() bool

func (*TLUser) GetBotChatHistory

func (m *TLUser) GetBotChatHistory() bool

func (*TLUser) GetBotInfoVersion

func (m *TLUser) GetBotInfoVersion() int32

func (*TLUser) GetBotInlineGeo

func (m *TLUser) GetBotInlineGeo() bool

func (*TLUser) GetBotInlinePlaceholder

func (m *TLUser) GetBotInlinePlaceholder() string

func (*TLUser) GetBotNochats

func (m *TLUser) GetBotNochats() bool

func (*TLUser) GetContact

func (m *TLUser) GetContact() bool

func (*TLUser) GetData2

func (m *TLUser) GetData2() *User_Data

func (*TLUser) GetDeleted

func (m *TLUser) GetDeleted() bool

func (*TLUser) GetFirstName

func (m *TLUser) GetFirstName() string

func (*TLUser) GetId

func (m *TLUser) GetId() int32

func (*TLUser) GetLangCode

func (m *TLUser) GetLangCode() string

func (*TLUser) GetLastName

func (m *TLUser) GetLastName() string

func (*TLUser) GetMin

func (m *TLUser) GetMin() bool

func (*TLUser) GetMutualContact

func (m *TLUser) GetMutualContact() bool

func (*TLUser) GetPhone

func (m *TLUser) GetPhone() string

func (*TLUser) GetPhoto

func (m *TLUser) GetPhoto() *UserProfilePhoto

func (*TLUser) GetRestricted

func (m *TLUser) GetRestricted() bool

func (*TLUser) GetRestrictionReason

func (m *TLUser) GetRestrictionReason() string

func (*TLUser) GetSelf

func (m *TLUser) GetSelf() bool

func (*TLUser) GetStatus

func (m *TLUser) GetStatus() *UserStatus

func (*TLUser) GetUsername

func (m *TLUser) GetUsername() string

func (*TLUser) GetVerified

func (m *TLUser) GetVerified() bool

func (*TLUser) ProtoMessage

func (*TLUser) ProtoMessage()

func (*TLUser) Reset

func (m *TLUser) Reset()

func (*TLUser) SetAccessHash

func (m *TLUser) SetAccessHash(v int64)

func (*TLUser) SetBot

func (m *TLUser) SetBot(v bool)

func (*TLUser) SetBotChatHistory

func (m *TLUser) SetBotChatHistory(v bool)

func (*TLUser) SetBotInfoVersion

func (m *TLUser) SetBotInfoVersion(v int32)

func (*TLUser) SetBotInlineGeo

func (m *TLUser) SetBotInlineGeo(v bool)

func (*TLUser) SetBotInlinePlaceholder

func (m *TLUser) SetBotInlinePlaceholder(v string)

func (*TLUser) SetBotNochats

func (m *TLUser) SetBotNochats(v bool)

func (*TLUser) SetContact

func (m *TLUser) SetContact(v bool)

func (*TLUser) SetDeleted

func (m *TLUser) SetDeleted(v bool)

func (*TLUser) SetFirstName

func (m *TLUser) SetFirstName(v string)

func (*TLUser) SetId

func (m *TLUser) SetId(v int32)

func (*TLUser) SetLangCode

func (m *TLUser) SetLangCode(v string)

func (*TLUser) SetLastName

func (m *TLUser) SetLastName(v string)

func (*TLUser) SetMin

func (m *TLUser) SetMin(v bool)

func (*TLUser) SetMutualContact

func (m *TLUser) SetMutualContact(v bool)

func (*TLUser) SetPhone

func (m *TLUser) SetPhone(v string)

func (*TLUser) SetPhoto

func (m *TLUser) SetPhoto(v *UserProfilePhoto)

func (*TLUser) SetRestricted

func (m *TLUser) SetRestricted(v bool)

func (*TLUser) SetRestrictionReason

func (m *TLUser) SetRestrictionReason(v string)

func (*TLUser) SetSelf

func (m *TLUser) SetSelf(v bool)

func (*TLUser) SetStatus

func (m *TLUser) SetStatus(v *UserStatus)

func (*TLUser) SetUsername

func (m *TLUser) SetUsername(v string)

func (*TLUser) SetVerified

func (m *TLUser) SetVerified(v bool)

func (*TLUser) String

func (m *TLUser) String() string

func (*TLUser) To_User

func (m *TLUser) To_User() *User

user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;

type TLUserEmpty

type TLUserEmpty struct {
	Data2 *User_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userEmpty#200250ba id:int = User;

func NewTLUserEmpty

func NewTLUserEmpty() *TLUserEmpty

func (*TLUserEmpty) Decode

func (m *TLUserEmpty) Decode(dbuf *DecodeBuf) error

func (*TLUserEmpty) Descriptor

func (*TLUserEmpty) Descriptor() ([]byte, []int)

func (*TLUserEmpty) Encode

func (m *TLUserEmpty) Encode() []byte

func (*TLUserEmpty) GetData2

func (m *TLUserEmpty) GetData2() *User_Data

func (*TLUserEmpty) GetId

func (m *TLUserEmpty) GetId() int32

func (*TLUserEmpty) ProtoMessage

func (*TLUserEmpty) ProtoMessage()

func (*TLUserEmpty) Reset

func (m *TLUserEmpty) Reset()

func (*TLUserEmpty) SetId

func (m *TLUserEmpty) SetId(v int32)

func (*TLUserEmpty) String

func (m *TLUserEmpty) String() string

func (*TLUserEmpty) To_User

func (m *TLUserEmpty) To_User() *User

userEmpty#200250ba id:int = User;

type TLUserFull

type TLUserFull struct {
	Data2 *UserFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull;

func NewTLUserFull

func NewTLUserFull() *TLUserFull

func (*TLUserFull) Decode

func (m *TLUserFull) Decode(dbuf *DecodeBuf) error

func (*TLUserFull) Descriptor

func (*TLUserFull) Descriptor() ([]byte, []int)

func (*TLUserFull) Encode

func (m *TLUserFull) Encode() []byte

func (*TLUserFull) GetAbout

func (m *TLUserFull) GetAbout() string

func (*TLUserFull) GetBlocked

func (m *TLUserFull) GetBlocked() bool

func (*TLUserFull) GetBotInfo

func (m *TLUserFull) GetBotInfo() *BotInfo

func (*TLUserFull) GetCommonChatsCount

func (m *TLUserFull) GetCommonChatsCount() int32

func (*TLUserFull) GetData2

func (m *TLUserFull) GetData2() *UserFull_Data
func (m *TLUserFull) GetLink() *Contacts_Link

func (*TLUserFull) GetNotifySettings

func (m *TLUserFull) GetNotifySettings() *PeerNotifySettings

func (*TLUserFull) GetPhoneCallsAvailable

func (m *TLUserFull) GetPhoneCallsAvailable() bool

func (*TLUserFull) GetPhoneCallsPrivate

func (m *TLUserFull) GetPhoneCallsPrivate() bool

func (*TLUserFull) GetProfilePhoto

func (m *TLUserFull) GetProfilePhoto() *Photo

func (*TLUserFull) GetUser

func (m *TLUserFull) GetUser() *User

func (*TLUserFull) ProtoMessage

func (*TLUserFull) ProtoMessage()

func (*TLUserFull) Reset

func (m *TLUserFull) Reset()

func (*TLUserFull) SetAbout

func (m *TLUserFull) SetAbout(v string)

func (*TLUserFull) SetBlocked

func (m *TLUserFull) SetBlocked(v bool)

func (*TLUserFull) SetBotInfo

func (m *TLUserFull) SetBotInfo(v *BotInfo)

func (*TLUserFull) SetCommonChatsCount

func (m *TLUserFull) SetCommonChatsCount(v int32)
func (m *TLUserFull) SetLink(v *Contacts_Link)

func (*TLUserFull) SetNotifySettings

func (m *TLUserFull) SetNotifySettings(v *PeerNotifySettings)

func (*TLUserFull) SetPhoneCallsAvailable

func (m *TLUserFull) SetPhoneCallsAvailable(v bool)

func (*TLUserFull) SetPhoneCallsPrivate

func (m *TLUserFull) SetPhoneCallsPrivate(v bool)

func (*TLUserFull) SetProfilePhoto

func (m *TLUserFull) SetProfilePhoto(v *Photo)

func (*TLUserFull) SetUser

func (m *TLUserFull) SetUser(v *User)

func (*TLUserFull) String

func (m *TLUserFull) String() string

func (*TLUserFull) To_UserFull

func (m *TLUserFull) To_UserFull() *UserFull

userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull;

type TLUserProfilePhoto

type TLUserProfilePhoto struct {
	Data2 *UserProfilePhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto;

func NewTLUserProfilePhoto

func NewTLUserProfilePhoto() *TLUserProfilePhoto

func (*TLUserProfilePhoto) Decode

func (m *TLUserProfilePhoto) Decode(dbuf *DecodeBuf) error

func (*TLUserProfilePhoto) Descriptor

func (*TLUserProfilePhoto) Descriptor() ([]byte, []int)

func (*TLUserProfilePhoto) Encode

func (m *TLUserProfilePhoto) Encode() []byte

func (*TLUserProfilePhoto) GetData2

func (*TLUserProfilePhoto) GetPhotoBig

func (m *TLUserProfilePhoto) GetPhotoBig() *FileLocation

func (*TLUserProfilePhoto) GetPhotoId

func (m *TLUserProfilePhoto) GetPhotoId() int64

func (*TLUserProfilePhoto) GetPhotoSmall

func (m *TLUserProfilePhoto) GetPhotoSmall() *FileLocation

func (*TLUserProfilePhoto) ProtoMessage

func (*TLUserProfilePhoto) ProtoMessage()

func (*TLUserProfilePhoto) Reset

func (m *TLUserProfilePhoto) Reset()

func (*TLUserProfilePhoto) SetPhotoBig

func (m *TLUserProfilePhoto) SetPhotoBig(v *FileLocation)

func (*TLUserProfilePhoto) SetPhotoId

func (m *TLUserProfilePhoto) SetPhotoId(v int64)

func (*TLUserProfilePhoto) SetPhotoSmall

func (m *TLUserProfilePhoto) SetPhotoSmall(v *FileLocation)

func (*TLUserProfilePhoto) String

func (m *TLUserProfilePhoto) String() string

func (*TLUserProfilePhoto) To_UserProfilePhoto

func (m *TLUserProfilePhoto) To_UserProfilePhoto() *UserProfilePhoto

userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto;

type TLUserProfilePhotoEmpty

type TLUserProfilePhotoEmpty struct {
	Data2 *UserProfilePhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;

func NewTLUserProfilePhotoEmpty

func NewTLUserProfilePhotoEmpty() *TLUserProfilePhotoEmpty

func (*TLUserProfilePhotoEmpty) Decode

func (m *TLUserProfilePhotoEmpty) Decode(dbuf *DecodeBuf) error

func (*TLUserProfilePhotoEmpty) Descriptor

func (*TLUserProfilePhotoEmpty) Descriptor() ([]byte, []int)

func (*TLUserProfilePhotoEmpty) Encode

func (m *TLUserProfilePhotoEmpty) Encode() []byte

func (*TLUserProfilePhotoEmpty) GetData2

func (*TLUserProfilePhotoEmpty) ProtoMessage

func (*TLUserProfilePhotoEmpty) ProtoMessage()

func (*TLUserProfilePhotoEmpty) Reset

func (m *TLUserProfilePhotoEmpty) Reset()

func (*TLUserProfilePhotoEmpty) String

func (m *TLUserProfilePhotoEmpty) String() string

func (*TLUserProfilePhotoEmpty) To_UserProfilePhoto

func (m *TLUserProfilePhotoEmpty) To_UserProfilePhoto() *UserProfilePhoto

userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;

type TLUserStatusEmpty

type TLUserStatusEmpty struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusEmpty#9d05049 = UserStatus;

func NewTLUserStatusEmpty

func NewTLUserStatusEmpty() *TLUserStatusEmpty

func (*TLUserStatusEmpty) Decode

func (m *TLUserStatusEmpty) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusEmpty) Descriptor

func (*TLUserStatusEmpty) Descriptor() ([]byte, []int)

func (*TLUserStatusEmpty) Encode

func (m *TLUserStatusEmpty) Encode() []byte

func (*TLUserStatusEmpty) GetData2

func (m *TLUserStatusEmpty) GetData2() *UserStatus_Data

func (*TLUserStatusEmpty) ProtoMessage

func (*TLUserStatusEmpty) ProtoMessage()

func (*TLUserStatusEmpty) Reset

func (m *TLUserStatusEmpty) Reset()

func (*TLUserStatusEmpty) String

func (m *TLUserStatusEmpty) String() string

func (*TLUserStatusEmpty) To_UserStatus

func (m *TLUserStatusEmpty) To_UserStatus() *UserStatus

userStatusEmpty#9d05049 = UserStatus;

type TLUserStatusLastMonth

type TLUserStatusLastMonth struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusLastMonth#77ebc742 = UserStatus;

func NewTLUserStatusLastMonth

func NewTLUserStatusLastMonth() *TLUserStatusLastMonth

func (*TLUserStatusLastMonth) Decode

func (m *TLUserStatusLastMonth) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusLastMonth) Descriptor

func (*TLUserStatusLastMonth) Descriptor() ([]byte, []int)

func (*TLUserStatusLastMonth) Encode

func (m *TLUserStatusLastMonth) Encode() []byte

func (*TLUserStatusLastMonth) GetData2

func (m *TLUserStatusLastMonth) GetData2() *UserStatus_Data

func (*TLUserStatusLastMonth) ProtoMessage

func (*TLUserStatusLastMonth) ProtoMessage()

func (*TLUserStatusLastMonth) Reset

func (m *TLUserStatusLastMonth) Reset()

func (*TLUserStatusLastMonth) String

func (m *TLUserStatusLastMonth) String() string

func (*TLUserStatusLastMonth) To_UserStatus

func (m *TLUserStatusLastMonth) To_UserStatus() *UserStatus

userStatusLastMonth#77ebc742 = UserStatus;

type TLUserStatusLastWeek

type TLUserStatusLastWeek struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusLastWeek#7bf09fc = UserStatus;

func NewTLUserStatusLastWeek

func NewTLUserStatusLastWeek() *TLUserStatusLastWeek

func (*TLUserStatusLastWeek) Decode

func (m *TLUserStatusLastWeek) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusLastWeek) Descriptor

func (*TLUserStatusLastWeek) Descriptor() ([]byte, []int)

func (*TLUserStatusLastWeek) Encode

func (m *TLUserStatusLastWeek) Encode() []byte

func (*TLUserStatusLastWeek) GetData2

func (m *TLUserStatusLastWeek) GetData2() *UserStatus_Data

func (*TLUserStatusLastWeek) ProtoMessage

func (*TLUserStatusLastWeek) ProtoMessage()

func (*TLUserStatusLastWeek) Reset

func (m *TLUserStatusLastWeek) Reset()

func (*TLUserStatusLastWeek) String

func (m *TLUserStatusLastWeek) String() string

func (*TLUserStatusLastWeek) To_UserStatus

func (m *TLUserStatusLastWeek) To_UserStatus() *UserStatus

userStatusLastWeek#7bf09fc = UserStatus;

type TLUserStatusOffline

type TLUserStatusOffline struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusOffline#8c703f was_online:int = UserStatus;

func NewTLUserStatusOffline

func NewTLUserStatusOffline() *TLUserStatusOffline

func (*TLUserStatusOffline) Decode

func (m *TLUserStatusOffline) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusOffline) Descriptor

func (*TLUserStatusOffline) Descriptor() ([]byte, []int)

func (*TLUserStatusOffline) Encode

func (m *TLUserStatusOffline) Encode() []byte

func (*TLUserStatusOffline) GetData2

func (m *TLUserStatusOffline) GetData2() *UserStatus_Data

func (*TLUserStatusOffline) GetWasOnline

func (m *TLUserStatusOffline) GetWasOnline() int32

func (*TLUserStatusOffline) ProtoMessage

func (*TLUserStatusOffline) ProtoMessage()

func (*TLUserStatusOffline) Reset

func (m *TLUserStatusOffline) Reset()

func (*TLUserStatusOffline) SetWasOnline

func (m *TLUserStatusOffline) SetWasOnline(v int32)

func (*TLUserStatusOffline) String

func (m *TLUserStatusOffline) String() string

func (*TLUserStatusOffline) To_UserStatus

func (m *TLUserStatusOffline) To_UserStatus() *UserStatus

userStatusOffline#8c703f was_online:int = UserStatus;

type TLUserStatusOnline

type TLUserStatusOnline struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusOnline#edb93949 expires:int = UserStatus;

func NewTLUserStatusOnline

func NewTLUserStatusOnline() *TLUserStatusOnline

func (*TLUserStatusOnline) Decode

func (m *TLUserStatusOnline) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusOnline) Descriptor

func (*TLUserStatusOnline) Descriptor() ([]byte, []int)

func (*TLUserStatusOnline) Encode

func (m *TLUserStatusOnline) Encode() []byte

func (*TLUserStatusOnline) GetData2

func (m *TLUserStatusOnline) GetData2() *UserStatus_Data

func (*TLUserStatusOnline) GetExpires

func (m *TLUserStatusOnline) GetExpires() int32

func (*TLUserStatusOnline) ProtoMessage

func (*TLUserStatusOnline) ProtoMessage()

func (*TLUserStatusOnline) Reset

func (m *TLUserStatusOnline) Reset()

func (*TLUserStatusOnline) SetExpires

func (m *TLUserStatusOnline) SetExpires(v int32)

func (*TLUserStatusOnline) String

func (m *TLUserStatusOnline) String() string

func (*TLUserStatusOnline) To_UserStatus

func (m *TLUserStatusOnline) To_UserStatus() *UserStatus

userStatusOnline#edb93949 expires:int = UserStatus;

type TLUserStatusRecently

type TLUserStatusRecently struct {
	Data2 *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

userStatusRecently#e26f42f1 = UserStatus;

func NewTLUserStatusRecently

func NewTLUserStatusRecently() *TLUserStatusRecently

func (*TLUserStatusRecently) Decode

func (m *TLUserStatusRecently) Decode(dbuf *DecodeBuf) error

func (*TLUserStatusRecently) Descriptor

func (*TLUserStatusRecently) Descriptor() ([]byte, []int)

func (*TLUserStatusRecently) Encode

func (m *TLUserStatusRecently) Encode() []byte

func (*TLUserStatusRecently) GetData2

func (m *TLUserStatusRecently) GetData2() *UserStatus_Data

func (*TLUserStatusRecently) ProtoMessage

func (*TLUserStatusRecently) ProtoMessage()

func (*TLUserStatusRecently) Reset

func (m *TLUserStatusRecently) Reset()

func (*TLUserStatusRecently) String

func (m *TLUserStatusRecently) String() string

func (*TLUserStatusRecently) To_UserStatus

func (m *TLUserStatusRecently) To_UserStatus() *UserStatus

userStatusRecently#e26f42f1 = UserStatus;

type TLUsersGetFullUser

type TLUsersGetFullUser struct {
	Id *InputUser `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// users.getFullUser#ca30a5b1 id:InputUser = UserFull;

func NewTLUsersGetFullUser

func NewTLUsersGetFullUser() *TLUsersGetFullUser

func (*TLUsersGetFullUser) Decode

func (m *TLUsersGetFullUser) Decode(dbuf *DecodeBuf) error

func (*TLUsersGetFullUser) Descriptor

func (*TLUsersGetFullUser) Descriptor() ([]byte, []int)

func (*TLUsersGetFullUser) Encode

func (m *TLUsersGetFullUser) Encode() []byte

func (*TLUsersGetFullUser) GetId

func (m *TLUsersGetFullUser) GetId() *InputUser

func (*TLUsersGetFullUser) ProtoMessage

func (*TLUsersGetFullUser) ProtoMessage()

func (*TLUsersGetFullUser) Reset

func (m *TLUsersGetFullUser) Reset()

func (*TLUsersGetFullUser) String

func (m *TLUsersGetFullUser) String() string

type TLUsersGetUsers

type TLUsersGetUsers struct {
	Id []*InputUser `protobuf:"bytes,1,rep,name=id" json:"id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// users.getUsers#d91a548 id:Vector<InputUser> = Vector<User>;

func NewTLUsersGetUsers

func NewTLUsersGetUsers() *TLUsersGetUsers

func (*TLUsersGetUsers) Decode

func (m *TLUsersGetUsers) Decode(dbuf *DecodeBuf) error

func (*TLUsersGetUsers) Descriptor

func (*TLUsersGetUsers) Descriptor() ([]byte, []int)

func (*TLUsersGetUsers) Encode

func (m *TLUsersGetUsers) Encode() []byte

func (*TLUsersGetUsers) GetId

func (m *TLUsersGetUsers) GetId() []*InputUser

func (*TLUsersGetUsers) ProtoMessage

func (*TLUsersGetUsers) ProtoMessage()

func (*TLUsersGetUsers) Reset

func (m *TLUsersGetUsers) Reset()

func (*TLUsersGetUsers) String

func (m *TLUsersGetUsers) String() string

type TLWallPaper

type TLWallPaper struct {
	Data2 *WallPaper_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;

func NewTLWallPaper

func NewTLWallPaper() *TLWallPaper

func (*TLWallPaper) Decode

func (m *TLWallPaper) Decode(dbuf *DecodeBuf) error

func (*TLWallPaper) Descriptor

func (*TLWallPaper) Descriptor() ([]byte, []int)

func (*TLWallPaper) Encode

func (m *TLWallPaper) Encode() []byte

func (*TLWallPaper) GetColor

func (m *TLWallPaper) GetColor() int32

func (*TLWallPaper) GetData2

func (m *TLWallPaper) GetData2() *WallPaper_Data

func (*TLWallPaper) GetId

func (m *TLWallPaper) GetId() int32

func (*TLWallPaper) GetSizes

func (m *TLWallPaper) GetSizes() []*PhotoSize

func (*TLWallPaper) GetTitle

func (m *TLWallPaper) GetTitle() string

func (*TLWallPaper) ProtoMessage

func (*TLWallPaper) ProtoMessage()

func (*TLWallPaper) Reset

func (m *TLWallPaper) Reset()

func (*TLWallPaper) SetColor

func (m *TLWallPaper) SetColor(v int32)

func (*TLWallPaper) SetId

func (m *TLWallPaper) SetId(v int32)

func (*TLWallPaper) SetSizes

func (m *TLWallPaper) SetSizes(v []*PhotoSize)

func (*TLWallPaper) SetTitle

func (m *TLWallPaper) SetTitle(v string)

func (*TLWallPaper) String

func (m *TLWallPaper) String() string

func (*TLWallPaper) To_WallPaper

func (m *TLWallPaper) To_WallPaper() *WallPaper

wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;

type TLWallPaperSolid

type TLWallPaperSolid struct {
	Data2 *WallPaper_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;

func NewTLWallPaperSolid

func NewTLWallPaperSolid() *TLWallPaperSolid

func (*TLWallPaperSolid) Decode

func (m *TLWallPaperSolid) Decode(dbuf *DecodeBuf) error

func (*TLWallPaperSolid) Descriptor

func (*TLWallPaperSolid) Descriptor() ([]byte, []int)

func (*TLWallPaperSolid) Encode

func (m *TLWallPaperSolid) Encode() []byte

func (*TLWallPaperSolid) GetBgColor

func (m *TLWallPaperSolid) GetBgColor() int32

func (*TLWallPaperSolid) GetColor

func (m *TLWallPaperSolid) GetColor() int32

func (*TLWallPaperSolid) GetData2

func (m *TLWallPaperSolid) GetData2() *WallPaper_Data

func (*TLWallPaperSolid) GetId

func (m *TLWallPaperSolid) GetId() int32

func (*TLWallPaperSolid) GetTitle

func (m *TLWallPaperSolid) GetTitle() string

func (*TLWallPaperSolid) ProtoMessage

func (*TLWallPaperSolid) ProtoMessage()

func (*TLWallPaperSolid) Reset

func (m *TLWallPaperSolid) Reset()

func (*TLWallPaperSolid) SetBgColor

func (m *TLWallPaperSolid) SetBgColor(v int32)

func (*TLWallPaperSolid) SetColor

func (m *TLWallPaperSolid) SetColor(v int32)

func (*TLWallPaperSolid) SetId

func (m *TLWallPaperSolid) SetId(v int32)

func (*TLWallPaperSolid) SetTitle

func (m *TLWallPaperSolid) SetTitle(v string)

func (*TLWallPaperSolid) String

func (m *TLWallPaperSolid) String() string

func (*TLWallPaperSolid) To_WallPaper

func (m *TLWallPaperSolid) To_WallPaper() *WallPaper

wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;

type TLWebDocument

type TLWebDocument struct {
	Data2 *WebDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector<DocumentAttribute> dc_id:int = WebDocument;

func NewTLWebDocument

func NewTLWebDocument() *TLWebDocument

func (*TLWebDocument) Decode

func (m *TLWebDocument) Decode(dbuf *DecodeBuf) error

func (*TLWebDocument) Descriptor

func (*TLWebDocument) Descriptor() ([]byte, []int)

func (*TLWebDocument) Encode

func (m *TLWebDocument) Encode() []byte

func (*TLWebDocument) GetAccessHash

func (m *TLWebDocument) GetAccessHash() int64

func (*TLWebDocument) GetAttributes

func (m *TLWebDocument) GetAttributes() []*DocumentAttribute

func (*TLWebDocument) GetData2

func (m *TLWebDocument) GetData2() *WebDocument_Data

func (*TLWebDocument) GetDcId

func (m *TLWebDocument) GetDcId() int32

func (*TLWebDocument) GetMimeType

func (m *TLWebDocument) GetMimeType() string

func (*TLWebDocument) GetSize

func (m *TLWebDocument) GetSize() int32

func (*TLWebDocument) GetUrl

func (m *TLWebDocument) GetUrl() string

func (*TLWebDocument) ProtoMessage

func (*TLWebDocument) ProtoMessage()

func (*TLWebDocument) Reset

func (m *TLWebDocument) Reset()

func (*TLWebDocument) SetAccessHash

func (m *TLWebDocument) SetAccessHash(v int64)

func (*TLWebDocument) SetAttributes

func (m *TLWebDocument) SetAttributes(v []*DocumentAttribute)

func (*TLWebDocument) SetDcId

func (m *TLWebDocument) SetDcId(v int32)

func (*TLWebDocument) SetMimeType

func (m *TLWebDocument) SetMimeType(v string)

func (*TLWebDocument) SetSize

func (m *TLWebDocument) SetSize(v int32)

func (*TLWebDocument) SetUrl

func (m *TLWebDocument) SetUrl(v string)

func (*TLWebDocument) String

func (m *TLWebDocument) String() string

func (*TLWebDocument) To_WebDocument

func (m *TLWebDocument) To_WebDocument() *WebDocument

webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector<DocumentAttribute> dc_id:int = WebDocument;

type TLWebPage

type TLWebPage struct {
	Data2 *WebPage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage;

func NewTLWebPage

func NewTLWebPage() *TLWebPage

func (*TLWebPage) Decode

func (m *TLWebPage) Decode(dbuf *DecodeBuf) error

func (*TLWebPage) Descriptor

func (*TLWebPage) Descriptor() ([]byte, []int)

func (*TLWebPage) Encode

func (m *TLWebPage) Encode() []byte

func (*TLWebPage) GetAuthor

func (m *TLWebPage) GetAuthor() string

func (*TLWebPage) GetCachedPage

func (m *TLWebPage) GetCachedPage() *Page

func (*TLWebPage) GetData2

func (m *TLWebPage) GetData2() *WebPage_Data

func (*TLWebPage) GetDescription

func (m *TLWebPage) GetDescription() string

func (*TLWebPage) GetDisplayUrl

func (m *TLWebPage) GetDisplayUrl() string

func (*TLWebPage) GetDocument

func (m *TLWebPage) GetDocument() *Document

func (*TLWebPage) GetDuration

func (m *TLWebPage) GetDuration() int32

func (*TLWebPage) GetEmbedHeight

func (m *TLWebPage) GetEmbedHeight() int32

func (*TLWebPage) GetEmbedType

func (m *TLWebPage) GetEmbedType() string

func (*TLWebPage) GetEmbedUrl

func (m *TLWebPage) GetEmbedUrl() string

func (*TLWebPage) GetEmbedWidth

func (m *TLWebPage) GetEmbedWidth() int32

func (*TLWebPage) GetHash

func (m *TLWebPage) GetHash() int32

func (*TLWebPage) GetId

func (m *TLWebPage) GetId() int64

func (*TLWebPage) GetPhoto

func (m *TLWebPage) GetPhoto() *Photo

func (*TLWebPage) GetSiteName

func (m *TLWebPage) GetSiteName() string

func (*TLWebPage) GetTitle

func (m *TLWebPage) GetTitle() string

func (*TLWebPage) GetType

func (m *TLWebPage) GetType() string

func (*TLWebPage) GetUrl

func (m *TLWebPage) GetUrl() string

func (*TLWebPage) ProtoMessage

func (*TLWebPage) ProtoMessage()

func (*TLWebPage) Reset

func (m *TLWebPage) Reset()

func (*TLWebPage) SetAuthor

func (m *TLWebPage) SetAuthor(v string)

func (*TLWebPage) SetCachedPage

func (m *TLWebPage) SetCachedPage(v *Page)

func (*TLWebPage) SetDescription

func (m *TLWebPage) SetDescription(v string)

func (*TLWebPage) SetDisplayUrl

func (m *TLWebPage) SetDisplayUrl(v string)

func (*TLWebPage) SetDocument

func (m *TLWebPage) SetDocument(v *Document)

func (*TLWebPage) SetDuration

func (m *TLWebPage) SetDuration(v int32)

func (*TLWebPage) SetEmbedHeight

func (m *TLWebPage) SetEmbedHeight(v int32)

func (*TLWebPage) SetEmbedType

func (m *TLWebPage) SetEmbedType(v string)

func (*TLWebPage) SetEmbedUrl

func (m *TLWebPage) SetEmbedUrl(v string)

func (*TLWebPage) SetEmbedWidth

func (m *TLWebPage) SetEmbedWidth(v int32)

func (*TLWebPage) SetHash

func (m *TLWebPage) SetHash(v int32)

func (*TLWebPage) SetId

func (m *TLWebPage) SetId(v int64)

func (*TLWebPage) SetPhoto

func (m *TLWebPage) SetPhoto(v *Photo)

func (*TLWebPage) SetSiteName

func (m *TLWebPage) SetSiteName(v string)

func (*TLWebPage) SetTitle

func (m *TLWebPage) SetTitle(v string)

func (*TLWebPage) SetType

func (m *TLWebPage) SetType(v string)

func (*TLWebPage) SetUrl

func (m *TLWebPage) SetUrl(v string)

func (*TLWebPage) String

func (m *TLWebPage) String() string

func (*TLWebPage) To_WebPage

func (m *TLWebPage) To_WebPage() *WebPage

webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage;

type TLWebPageEmpty

type TLWebPageEmpty struct {
	Data2 *WebPage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

webPageEmpty#eb1477e8 id:long = WebPage;

func NewTLWebPageEmpty

func NewTLWebPageEmpty() *TLWebPageEmpty

func (*TLWebPageEmpty) Decode

func (m *TLWebPageEmpty) Decode(dbuf *DecodeBuf) error

func (*TLWebPageEmpty) Descriptor

func (*TLWebPageEmpty) Descriptor() ([]byte, []int)

func (*TLWebPageEmpty) Encode

func (m *TLWebPageEmpty) Encode() []byte

func (*TLWebPageEmpty) GetData2

func (m *TLWebPageEmpty) GetData2() *WebPage_Data

func (*TLWebPageEmpty) GetId

func (m *TLWebPageEmpty) GetId() int64

func (*TLWebPageEmpty) ProtoMessage

func (*TLWebPageEmpty) ProtoMessage()

func (*TLWebPageEmpty) Reset

func (m *TLWebPageEmpty) Reset()

func (*TLWebPageEmpty) SetId

func (m *TLWebPageEmpty) SetId(v int64)

func (*TLWebPageEmpty) String

func (m *TLWebPageEmpty) String() string

func (*TLWebPageEmpty) To_WebPage

func (m *TLWebPageEmpty) To_WebPage() *WebPage

webPageEmpty#eb1477e8 id:long = WebPage;

type TLWebPageNotModified

type TLWebPageNotModified struct {
	Data2 *WebPage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

webPageNotModified#85849473 = WebPage;

func NewTLWebPageNotModified

func NewTLWebPageNotModified() *TLWebPageNotModified

func (*TLWebPageNotModified) Decode

func (m *TLWebPageNotModified) Decode(dbuf *DecodeBuf) error

func (*TLWebPageNotModified) Descriptor

func (*TLWebPageNotModified) Descriptor() ([]byte, []int)

func (*TLWebPageNotModified) Encode

func (m *TLWebPageNotModified) Encode() []byte

func (*TLWebPageNotModified) GetData2

func (m *TLWebPageNotModified) GetData2() *WebPage_Data

func (*TLWebPageNotModified) ProtoMessage

func (*TLWebPageNotModified) ProtoMessage()

func (*TLWebPageNotModified) Reset

func (m *TLWebPageNotModified) Reset()

func (*TLWebPageNotModified) String

func (m *TLWebPageNotModified) String() string

func (*TLWebPageNotModified) To_WebPage

func (m *TLWebPageNotModified) To_WebPage() *WebPage

webPageNotModified#85849473 = WebPage;

type TLWebPagePending

type TLWebPagePending struct {
	Data2 *WebPage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

webPagePending#c586da1c id:long date:int = WebPage;

func NewTLWebPagePending

func NewTLWebPagePending() *TLWebPagePending

func (*TLWebPagePending) Decode

func (m *TLWebPagePending) Decode(dbuf *DecodeBuf) error

func (*TLWebPagePending) Descriptor

func (*TLWebPagePending) Descriptor() ([]byte, []int)

func (*TLWebPagePending) Encode

func (m *TLWebPagePending) Encode() []byte

func (*TLWebPagePending) GetData2

func (m *TLWebPagePending) GetData2() *WebPage_Data

func (*TLWebPagePending) GetDate

func (m *TLWebPagePending) GetDate() int32

func (*TLWebPagePending) GetId

func (m *TLWebPagePending) GetId() int64

func (*TLWebPagePending) ProtoMessage

func (*TLWebPagePending) ProtoMessage()

func (*TLWebPagePending) Reset

func (m *TLWebPagePending) Reset()

func (*TLWebPagePending) SetDate

func (m *TLWebPagePending) SetDate(v int32)

func (*TLWebPagePending) SetId

func (m *TLWebPagePending) SetId(v int64)

func (*TLWebPagePending) String

func (m *TLWebPagePending) String() string

func (*TLWebPagePending) To_WebPage

func (m *TLWebPagePending) To_WebPage() *WebPage

webPagePending#c586da1c id:long date:int = WebPage;

type TopPeer

type TopPeer struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *TopPeer_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*TopPeer) Decode

func (m *TopPeer) Decode(dbuf *DecodeBuf) error

func (*TopPeer) Descriptor

func (*TopPeer) Descriptor() ([]byte, []int)

func (*TopPeer) Encode

func (m *TopPeer) Encode() []byte

func (*TopPeer) GetConstructor

func (m *TopPeer) GetConstructor() TLConstructor

func (*TopPeer) GetData2

func (m *TopPeer) GetData2() *TopPeer_Data

func (*TopPeer) ProtoMessage

func (*TopPeer) ProtoMessage()

func (*TopPeer) Reset

func (m *TopPeer) Reset()

func (*TopPeer) String

func (m *TopPeer) String() string

func (*TopPeer) To_TopPeer

func (m *TopPeer) To_TopPeer() *TLTopPeer

topPeer#edcdc05b peer:Peer rating:double = TopPeer;

type TopPeerCategory

type TopPeerCategory struct {
	Constructor TLConstructor         `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *TopPeerCategory_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*TopPeerCategory) Decode

func (m *TopPeerCategory) Decode(dbuf *DecodeBuf) error

func (*TopPeerCategory) Descriptor

func (*TopPeerCategory) Descriptor() ([]byte, []int)

func (*TopPeerCategory) Encode

func (m *TopPeerCategory) Encode() []byte

func (*TopPeerCategory) GetConstructor

func (m *TopPeerCategory) GetConstructor() TLConstructor

func (*TopPeerCategory) GetData2

func (m *TopPeerCategory) GetData2() *TopPeerCategory_Data

func (*TopPeerCategory) ProtoMessage

func (*TopPeerCategory) ProtoMessage()

func (*TopPeerCategory) Reset

func (m *TopPeerCategory) Reset()

func (*TopPeerCategory) String

func (m *TopPeerCategory) String() string

func (*TopPeerCategory) To_TopPeerCategoryBotsInline

func (m *TopPeerCategory) To_TopPeerCategoryBotsInline() *TLTopPeerCategoryBotsInline

topPeerCategoryBotsInline#148677e2 = TopPeerCategory;

func (*TopPeerCategory) To_TopPeerCategoryBotsPM

func (m *TopPeerCategory) To_TopPeerCategoryBotsPM() *TLTopPeerCategoryBotsPM

topPeerCategoryBotsPM#ab661b5b = TopPeerCategory;

func (*TopPeerCategory) To_TopPeerCategoryChannels

func (m *TopPeerCategory) To_TopPeerCategoryChannels() *TLTopPeerCategoryChannels

topPeerCategoryChannels#161d9628 = TopPeerCategory;

func (*TopPeerCategory) To_TopPeerCategoryCorrespondents

func (m *TopPeerCategory) To_TopPeerCategoryCorrespondents() *TLTopPeerCategoryCorrespondents

topPeerCategoryCorrespondents#637b7ed = TopPeerCategory;

func (*TopPeerCategory) To_TopPeerCategoryGroups

func (m *TopPeerCategory) To_TopPeerCategoryGroups() *TLTopPeerCategoryGroups

topPeerCategoryGroups#bd17a14a = TopPeerCategory;

func (*TopPeerCategory) To_TopPeerCategoryPhoneCalls

func (m *TopPeerCategory) To_TopPeerCategoryPhoneCalls() *TLTopPeerCategoryPhoneCalls

topPeerCategoryPhoneCalls#1e76a78c = TopPeerCategory;

type TopPeerCategoryPeers

type TopPeerCategoryPeers struct {
	Constructor TLConstructor              `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *TopPeerCategoryPeers_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*TopPeerCategoryPeers) Decode

func (m *TopPeerCategoryPeers) Decode(dbuf *DecodeBuf) error

func (*TopPeerCategoryPeers) Descriptor

func (*TopPeerCategoryPeers) Descriptor() ([]byte, []int)

func (*TopPeerCategoryPeers) Encode

func (m *TopPeerCategoryPeers) Encode() []byte

func (*TopPeerCategoryPeers) GetConstructor

func (m *TopPeerCategoryPeers) GetConstructor() TLConstructor

func (*TopPeerCategoryPeers) GetData2

func (*TopPeerCategoryPeers) ProtoMessage

func (*TopPeerCategoryPeers) ProtoMessage()

func (*TopPeerCategoryPeers) Reset

func (m *TopPeerCategoryPeers) Reset()

func (*TopPeerCategoryPeers) String

func (m *TopPeerCategoryPeers) String() string

func (*TopPeerCategoryPeers) To_TopPeerCategoryPeers

func (m *TopPeerCategoryPeers) To_TopPeerCategoryPeers() *TLTopPeerCategoryPeers

topPeerCategoryPeers#fb834291 category:TopPeerCategory count:int peers:Vector<TopPeer> = TopPeerCategoryPeers;

type TopPeerCategoryPeers_Data

type TopPeerCategoryPeers_Data struct {
	Category *TopPeerCategory `protobuf:"bytes,1,opt,name=category" json:"category,omitempty"`
	Count    int32            `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
	Peers    []*TopPeer       `protobuf:"bytes,3,rep,name=peers" json:"peers,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// TopPeerCategoryPeers <--

  • TL_topPeerCategoryPeers

func (*TopPeerCategoryPeers_Data) Descriptor

func (*TopPeerCategoryPeers_Data) Descriptor() ([]byte, []int)

func (*TopPeerCategoryPeers_Data) GetCategory

func (m *TopPeerCategoryPeers_Data) GetCategory() *TopPeerCategory

func (*TopPeerCategoryPeers_Data) GetCount

func (m *TopPeerCategoryPeers_Data) GetCount() int32

func (*TopPeerCategoryPeers_Data) GetPeers

func (m *TopPeerCategoryPeers_Data) GetPeers() []*TopPeer

func (*TopPeerCategoryPeers_Data) ProtoMessage

func (*TopPeerCategoryPeers_Data) ProtoMessage()

func (*TopPeerCategoryPeers_Data) Reset

func (m *TopPeerCategoryPeers_Data) Reset()

func (*TopPeerCategoryPeers_Data) String

func (m *TopPeerCategoryPeers_Data) String() string

type TopPeerCategory_Data

type TopPeerCategory_Data struct {
}

///////////////////////////////////////////////////////////////////////////// TopPeerCategory <--

  • TL_topPeerCategoryBotsPM
  • TL_topPeerCategoryBotsInline
  • TL_topPeerCategoryCorrespondents
  • TL_topPeerCategoryGroups
  • TL_topPeerCategoryChannels
  • TL_topPeerCategoryPhoneCalls

func (*TopPeerCategory_Data) Descriptor

func (*TopPeerCategory_Data) Descriptor() ([]byte, []int)

func (*TopPeerCategory_Data) ProtoMessage

func (*TopPeerCategory_Data) ProtoMessage()

func (*TopPeerCategory_Data) Reset

func (m *TopPeerCategory_Data) Reset()

func (*TopPeerCategory_Data) String

func (m *TopPeerCategory_Data) String() string

type TopPeer_Data

type TopPeer_Data struct {
	Peer   *Peer   `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"`
	Rating float64 `protobuf:"fixed64,2,opt,name=rating" json:"rating,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// TopPeer <--

  • TL_topPeer

func (*TopPeer_Data) Descriptor

func (*TopPeer_Data) Descriptor() ([]byte, []int)

func (*TopPeer_Data) GetPeer

func (m *TopPeer_Data) GetPeer() *Peer

func (*TopPeer_Data) GetRating

func (m *TopPeer_Data) GetRating() float64

func (*TopPeer_Data) ProtoMessage

func (*TopPeer_Data) ProtoMessage()

func (*TopPeer_Data) Reset

func (m *TopPeer_Data) Reset()

func (*TopPeer_Data) String

func (m *TopPeer_Data) String() string

type True

type True struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *True_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*True) Decode

func (m *True) Decode(dbuf *DecodeBuf) error

func (*True) Descriptor

func (*True) Descriptor() ([]byte, []int)

func (*True) Encode

func (m *True) Encode() []byte

func (*True) GetConstructor

func (m *True) GetConstructor() TLConstructor

func (*True) GetData2

func (m *True) GetData2() *True_Data

func (*True) ProtoMessage

func (*True) ProtoMessage()

func (*True) Reset

func (m *True) Reset()

func (*True) String

func (m *True) String() string

func (*True) To_True

func (m *True) To_True() *TLTrue

true#3fedd339 = True;

type True_Data

type True_Data struct {
}

///////////////////////////////////////////////////////////////////////////// True <--

  • TL_true

func (*True_Data) Descriptor

func (*True_Data) Descriptor() ([]byte, []int)

func (*True_Data) ProtoMessage

func (*True_Data) ProtoMessage()

func (*True_Data) Reset

func (m *True_Data) Reset()

func (*True_Data) String

func (m *True_Data) String() string

type UnencryptedMessage

type UnencryptedMessage struct {
	NeedAck bool

	// authKeyId int64
	MessageId int64

	// classID int32
	Object TLObject
}

func (*UnencryptedMessage) Decode

func (m *UnencryptedMessage) Decode(b []byte) error

func (*UnencryptedMessage) Encode

func (m *UnencryptedMessage) Encode() []byte

func (*UnencryptedMessage) MessageType

func (m *UnencryptedMessage) MessageType() int

type UnencryptedRawMessage

type UnencryptedRawMessage struct {
	// TODO(@benqi): reportAck and quickAck
	// NeedAck bool
	AuthKeyId   int64
	MessageId   int64
	MessageData []byte
}

func NewUnencryptedRawMessage

func NewUnencryptedRawMessage() *UnencryptedRawMessage

//////////////////////////////////////////////////////////////////////////

func (*UnencryptedRawMessage) Decode

func (m *UnencryptedRawMessage) Decode(b []byte) error

func (*UnencryptedRawMessage) Encode

func (m *UnencryptedRawMessage) Encode() []byte

type Update

type Update struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Update_Data  `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Update) Decode

func (m *Update) Decode(dbuf *DecodeBuf) error

func (*Update) Descriptor

func (*Update) Descriptor() ([]byte, []int)

func (*Update) Encode

func (m *Update) Encode() []byte

func (*Update) GetConstructor

func (m *Update) GetConstructor() TLConstructor

func (*Update) GetData2

func (m *Update) GetData2() *Update_Data

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) Reset

func (m *Update) Reset()

func (*Update) String

func (m *Update) String() string

func (*Update) To_UpdateBotCallbackQuery

func (m *Update) To_UpdateBotCallbackQuery() *TLUpdateBotCallbackQuery

updateBotCallbackQuery#e73547e1 flags:# query_id:long user_id:int peer:Peer msg_id:int chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

func (*Update) To_UpdateBotInlineQuery

func (m *Update) To_UpdateBotInlineQuery() *TLUpdateBotInlineQuery

updateBotInlineQuery#54826690 flags:# query_id:long user_id:int query:string geo:flags.0?GeoPoint offset:string = Update;

func (*Update) To_UpdateBotInlineSend

func (m *Update) To_UpdateBotInlineSend() *TLUpdateBotInlineSend

updateBotInlineSend#e48f964 flags:# user_id:int query:string geo:flags.0?GeoPoint id:string msg_id:flags.1?InputBotInlineMessageID = Update;

func (*Update) To_UpdateBotPrecheckoutQuery

func (m *Update) To_UpdateBotPrecheckoutQuery() *TLUpdateBotPrecheckoutQuery

updateBotPrecheckoutQuery#5d2f3aa9 flags:# query_id:long user_id:int payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = Update;

func (*Update) To_UpdateBotShippingQuery

func (m *Update) To_UpdateBotShippingQuery() *TLUpdateBotShippingQuery

updateBotShippingQuery#e0cdc940 query_id:long user_id:int payload:bytes shipping_address:PostAddress = Update;

func (*Update) To_UpdateBotWebhookJSON

func (m *Update) To_UpdateBotWebhookJSON() *TLUpdateBotWebhookJSON

updateBotWebhookJSON#8317c0c3 data:DataJSON = Update;

func (*Update) To_UpdateBotWebhookJSONQuery

func (m *Update) To_UpdateBotWebhookJSONQuery() *TLUpdateBotWebhookJSONQuery

updateBotWebhookJSONQuery#9b9240a6 query_id:long data:DataJSON timeout:int = Update;

func (*Update) To_UpdateChannel

func (m *Update) To_UpdateChannel() *TLUpdateChannel

updateChannel#b6d45656 channel_id:int = Update;

func (*Update) To_UpdateChannelAvailableMessages

func (m *Update) To_UpdateChannelAvailableMessages() *TLUpdateChannelAvailableMessages

updateChannelAvailableMessages#70db6837 channel_id:int available_min_id:int = Update;

func (*Update) To_UpdateChannelMessageViews

func (m *Update) To_UpdateChannelMessageViews() *TLUpdateChannelMessageViews

updateChannelMessageViews#98a12b4b channel_id:int id:int views:int = Update;

func (*Update) To_UpdateChannelPinnedMessage

func (m *Update) To_UpdateChannelPinnedMessage() *TLUpdateChannelPinnedMessage

updateChannelPinnedMessage#98592475 channel_id:int id:int = Update;

func (*Update) To_UpdateChannelReadMessagesContents

func (m *Update) To_UpdateChannelReadMessagesContents() *TLUpdateChannelReadMessagesContents

updateChannelReadMessagesContents#89893b45 channel_id:int messages:Vector<int> = Update;

func (*Update) To_UpdateChannelTooLong

func (m *Update) To_UpdateChannelTooLong() *TLUpdateChannelTooLong

updateChannelTooLong#eb0467fb flags:# channel_id:int pts:flags.0?int = Update;

func (*Update) To_UpdateChannelWebPage

func (m *Update) To_UpdateChannelWebPage() *TLUpdateChannelWebPage

updateChannelWebPage#40771900 channel_id:int webpage:WebPage pts:int pts_count:int = Update;

func (*Update) To_UpdateChatAdmins

func (m *Update) To_UpdateChatAdmins() *TLUpdateChatAdmins

updateChatAdmins#6e947941 chat_id:int enabled:Bool version:int = Update;

func (*Update) To_UpdateChatParticipantAdd

func (m *Update) To_UpdateChatParticipantAdd() *TLUpdateChatParticipantAdd

updateChatParticipantAdd#ea4b0e5c chat_id:int user_id:int inviter_id:int date:int version:int = Update;

func (*Update) To_UpdateChatParticipantAdmin

func (m *Update) To_UpdateChatParticipantAdmin() *TLUpdateChatParticipantAdmin

updateChatParticipantAdmin#b6901959 chat_id:int user_id:int is_admin:Bool version:int = Update;

func (*Update) To_UpdateChatParticipantDelete

func (m *Update) To_UpdateChatParticipantDelete() *TLUpdateChatParticipantDelete

updateChatParticipantDelete#6e5f8c22 chat_id:int user_id:int version:int = Update;

func (*Update) To_UpdateChatParticipants

func (m *Update) To_UpdateChatParticipants() *TLUpdateChatParticipants

updateChatParticipants#7761198 participants:ChatParticipants = Update;

func (*Update) To_UpdateChatUserTyping

func (m *Update) To_UpdateChatUserTyping() *TLUpdateChatUserTyping

updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update;

func (*Update) To_UpdateConfig

func (m *Update) To_UpdateConfig() *TLUpdateConfig

updateConfig#a229dd06 = Update;

func (m *Update) To_UpdateContactLink() *TLUpdateContactLink

updateContactLink#9d2e67c5 user_id:int my_link:ContactLink foreign_link:ContactLink = Update;

func (*Update) To_UpdateContactRegistered

func (m *Update) To_UpdateContactRegistered() *TLUpdateContactRegistered

updateContactRegistered#2575bbb9 user_id:int date:int = Update;

func (*Update) To_UpdateContactsReset

func (m *Update) To_UpdateContactsReset() *TLUpdateContactsReset

updateContactsReset#7084a7be = Update;

func (*Update) To_UpdateDcOptions

func (m *Update) To_UpdateDcOptions() *TLUpdateDcOptions

updateDcOptions#8e5e9873 dc_options:Vector<DcOption> = Update;

func (*Update) To_UpdateDeleteChannelMessages

func (m *Update) To_UpdateDeleteChannelMessages() *TLUpdateDeleteChannelMessages

updateDeleteChannelMessages#c37521c9 channel_id:int messages:Vector<int> pts:int pts_count:int = Update;

func (*Update) To_UpdateDeleteMessages

func (m *Update) To_UpdateDeleteMessages() *TLUpdateDeleteMessages

updateDeleteMessages#a20db0e5 messages:Vector<int> pts:int pts_count:int = Update;

func (*Update) To_UpdateDialogPinned

func (m *Update) To_UpdateDialogPinned() *TLUpdateDialogPinned

updateDialogPinned#d711a2cc flags:# pinned:flags.0?true peer:Peer = Update;

func (*Update) To_UpdateDraftMessage

func (m *Update) To_UpdateDraftMessage() *TLUpdateDraftMessage

updateDraftMessage#ee2bb969 peer:Peer draft:DraftMessage = Update;

func (*Update) To_UpdateEditChannelMessage

func (m *Update) To_UpdateEditChannelMessage() *TLUpdateEditChannelMessage

updateEditChannelMessage#1b3f4df7 message:Message pts:int pts_count:int = Update;

func (*Update) To_UpdateEditMessage

func (m *Update) To_UpdateEditMessage() *TLUpdateEditMessage

updateEditMessage#e40370a3 message:Message pts:int pts_count:int = Update;

func (*Update) To_UpdateEncryptedChatTyping

func (m *Update) To_UpdateEncryptedChatTyping() *TLUpdateEncryptedChatTyping

updateEncryptedChatTyping#1710f156 chat_id:int = Update;

func (*Update) To_UpdateEncryptedMessagesRead

func (m *Update) To_UpdateEncryptedMessagesRead() *TLUpdateEncryptedMessagesRead

updateEncryptedMessagesRead#38fe25b7 chat_id:int max_date:int date:int = Update;

func (*Update) To_UpdateEncryption

func (m *Update) To_UpdateEncryption() *TLUpdateEncryption

updateEncryption#b4a2e88d chat:EncryptedChat date:int = Update;

func (*Update) To_UpdateFavedStickers

func (m *Update) To_UpdateFavedStickers() *TLUpdateFavedStickers

updateFavedStickers#e511996d = Update;

func (*Update) To_UpdateInlineBotCallbackQuery

func (m *Update) To_UpdateInlineBotCallbackQuery() *TLUpdateInlineBotCallbackQuery

updateInlineBotCallbackQuery#f9d27a5a flags:# query_id:long user_id:int msg_id:InputBotInlineMessageID chat_instance:long data:flags.0?bytes game_short_name:flags.1?string = Update;

func (*Update) To_UpdateLangPack

func (m *Update) To_UpdateLangPack() *TLUpdateLangPack

updateLangPack#56022f4d difference:LangPackDifference = Update;

func (*Update) To_UpdateLangPackTooLong

func (m *Update) To_UpdateLangPackTooLong() *TLUpdateLangPackTooLong

updateLangPackTooLong#10c2404b = Update;

func (*Update) To_UpdateMessageID

func (m *Update) To_UpdateMessageID() *TLUpdateMessageID

updateMessageID#4e90bfd6 id:int random_id:long = Update;

func (*Update) To_UpdateNewChannelMessage

func (m *Update) To_UpdateNewChannelMessage() *TLUpdateNewChannelMessage

updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = Update;

func (*Update) To_UpdateNewEncryptedMessage

func (m *Update) To_UpdateNewEncryptedMessage() *TLUpdateNewEncryptedMessage

updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = Update;

func (*Update) To_UpdateNewMessage

func (m *Update) To_UpdateNewMessage() *TLUpdateNewMessage

updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;

func (*Update) To_UpdateNewStickerSet

func (m *Update) To_UpdateNewStickerSet() *TLUpdateNewStickerSet

updateNewStickerSet#688a30aa stickerset:messages.StickerSet = Update;

func (*Update) To_UpdateNotifySettings

func (m *Update) To_UpdateNotifySettings() *TLUpdateNotifySettings

updateNotifySettings#bec268ef peer:NotifyPeer notify_settings:PeerNotifySettings = Update;

func (*Update) To_UpdatePhoneCall

func (m *Update) To_UpdatePhoneCall() *TLUpdatePhoneCall

updatePhoneCall#ab0f6b1e phone_call:PhoneCall = Update;

func (*Update) To_UpdatePinnedDialogs

func (m *Update) To_UpdatePinnedDialogs() *TLUpdatePinnedDialogs

updatePinnedDialogs#d8caf68d flags:# order:flags.0?Vector<Peer> = Update;

func (*Update) To_UpdatePrivacy

func (m *Update) To_UpdatePrivacy() *TLUpdatePrivacy

updatePrivacy#ee3b272a key:PrivacyKey rules:Vector<PrivacyRule> = Update;

func (*Update) To_UpdatePtsChanged

func (m *Update) To_UpdatePtsChanged() *TLUpdatePtsChanged

updatePtsChanged#3354678f = Update;

func (*Update) To_UpdateReadChannelInbox

func (m *Update) To_UpdateReadChannelInbox() *TLUpdateReadChannelInbox

updateReadChannelInbox#4214f37f channel_id:int max_id:int = Update;

func (*Update) To_UpdateReadChannelOutbox

func (m *Update) To_UpdateReadChannelOutbox() *TLUpdateReadChannelOutbox

updateReadChannelOutbox#25d6c9c7 channel_id:int max_id:int = Update;

func (*Update) To_UpdateReadFeaturedStickers

func (m *Update) To_UpdateReadFeaturedStickers() *TLUpdateReadFeaturedStickers

updateReadFeaturedStickers#571d2742 = Update;

func (*Update) To_UpdateReadHistoryInbox

func (m *Update) To_UpdateReadHistoryInbox() *TLUpdateReadHistoryInbox

updateReadHistoryInbox#9961fd5c peer:Peer max_id:int pts:int pts_count:int = Update;

func (*Update) To_UpdateReadHistoryOutbox

func (m *Update) To_UpdateReadHistoryOutbox() *TLUpdateReadHistoryOutbox

updateReadHistoryOutbox#2f2f21bf peer:Peer max_id:int pts:int pts_count:int = Update;

func (*Update) To_UpdateReadMessagesContents

func (m *Update) To_UpdateReadMessagesContents() *TLUpdateReadMessagesContents

updateReadMessagesContents#68c13933 messages:Vector<int> pts:int pts_count:int = Update;

func (*Update) To_UpdateRecentStickers

func (m *Update) To_UpdateRecentStickers() *TLUpdateRecentStickers

updateRecentStickers#9a422c20 = Update;

func (*Update) To_UpdateSavedGifs

func (m *Update) To_UpdateSavedGifs() *TLUpdateSavedGifs

updateSavedGifs#9375341e = Update;

func (*Update) To_UpdateServiceNotification

func (m *Update) To_UpdateServiceNotification() *TLUpdateServiceNotification

updateServiceNotification#ebe46819 flags:# popup:flags.0?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update;

func (*Update) To_UpdateStickerSets

func (m *Update) To_UpdateStickerSets() *TLUpdateStickerSets

updateStickerSets#43ae3dec = Update;

func (*Update) To_UpdateStickerSetsOrder

func (m *Update) To_UpdateStickerSetsOrder() *TLUpdateStickerSetsOrder

updateStickerSetsOrder#bb2d201 flags:# masks:flags.0?true order:Vector<long> = Update;

func (*Update) To_UpdateUserBlocked

func (m *Update) To_UpdateUserBlocked() *TLUpdateUserBlocked

updateUserBlocked#80ece81a user_id:int blocked:Bool = Update;

func (*Update) To_UpdateUserName

func (m *Update) To_UpdateUserName() *TLUpdateUserName

updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update;

func (*Update) To_UpdateUserPhone

func (m *Update) To_UpdateUserPhone() *TLUpdateUserPhone

updateUserPhone#12b9417b user_id:int phone:string = Update;

func (*Update) To_UpdateUserPhoto

func (m *Update) To_UpdateUserPhoto() *TLUpdateUserPhoto

updateUserPhoto#95313b0c user_id:int date:int photo:UserProfilePhoto previous:Bool = Update;

func (*Update) To_UpdateUserStatus

func (m *Update) To_UpdateUserStatus() *TLUpdateUserStatus

updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update;

func (*Update) To_UpdateUserTyping

func (m *Update) To_UpdateUserTyping() *TLUpdateUserTyping

updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update;

func (*Update) To_UpdateWebPage

func (m *Update) To_UpdateWebPage() *TLUpdateWebPage

updateWebPage#7f891213 webpage:WebPage pts:int pts_count:int = Update;

type Update_Data

type Update_Data struct {
	Message_1        *Message                 `protobuf:"bytes,1,opt,name=message_1,json=message1" json:"message_1,omitempty"`
	Pts              int32                    `protobuf:"varint,2,opt,name=pts" json:"pts,omitempty"`
	PtsCount         int32                    `protobuf:"varint,3,opt,name=pts_count,json=ptsCount" json:"pts_count,omitempty"`
	Id_4             int32                    `protobuf:"varint,4,opt,name=id_4,json=id4" json:"id_4,omitempty"`
	RandomId         int64                    `protobuf:"varint,5,opt,name=random_id,json=randomId" json:"random_id,omitempty"`
	Messages         []int32                  `protobuf:"varint,6,rep,packed,name=messages" json:"messages,omitempty"`
	UserId           int32                    `protobuf:"varint,7,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Action           *SendMessageAction       `protobuf:"bytes,8,opt,name=action" json:"action,omitempty"`
	ChatId           int32                    `protobuf:"varint,9,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Participants     *ChatParticipants        `protobuf:"bytes,10,opt,name=participants" json:"participants,omitempty"`
	Status           *UserStatus              `protobuf:"bytes,11,opt,name=status" json:"status,omitempty"`
	FirstName        string                   `protobuf:"bytes,12,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName         string                   `protobuf:"bytes,13,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	Username         string                   `protobuf:"bytes,14,opt,name=username" json:"username,omitempty"`
	Date             int32                    `protobuf:"varint,15,opt,name=date" json:"date,omitempty"`
	Photo            *UserProfilePhoto        `protobuf:"bytes,16,opt,name=photo" json:"photo,omitempty"`
	Previous         *Bool                    `protobuf:"bytes,17,opt,name=previous" json:"previous,omitempty"`
	MyLink           *ContactLink             `protobuf:"bytes,18,opt,name=my_link,json=myLink" json:"my_link,omitempty"`
	ForeignLink      *ContactLink             `protobuf:"bytes,19,opt,name=foreign_link,json=foreignLink" json:"foreign_link,omitempty"`
	Message_20       *EncryptedMessage        `protobuf:"bytes,20,opt,name=message_20,json=message20" json:"message_20,omitempty"`
	Qts              int32                    `protobuf:"varint,21,opt,name=qts" json:"qts,omitempty"`
	Chat             *EncryptedChat           `protobuf:"bytes,22,opt,name=chat" json:"chat,omitempty"`
	MaxDate          int32                    `protobuf:"varint,23,opt,name=max_date,json=maxDate" json:"max_date,omitempty"`
	InviterId        int32                    `protobuf:"varint,24,opt,name=inviter_id,json=inviterId" json:"inviter_id,omitempty"`
	Version          int32                    `protobuf:"varint,25,opt,name=version" json:"version,omitempty"`
	DcOptions        []*DcOption              `protobuf:"bytes,26,rep,name=dc_options,json=dcOptions" json:"dc_options,omitempty"`
	Blocked          *Bool                    `protobuf:"bytes,27,opt,name=blocked" json:"blocked,omitempty"`
	Peer_28          *NotifyPeer              `protobuf:"bytes,28,opt,name=peer_28,json=peer28" json:"peer_28,omitempty"`
	NotifySettings   *PeerNotifySettings      `protobuf:"bytes,29,opt,name=notify_settings,json=notifySettings" json:"notify_settings,omitempty"`
	Popup            bool                     `protobuf:"varint,30,opt,name=popup" json:"popup,omitempty"`
	InboxDate        int32                    `protobuf:"varint,31,opt,name=inbox_date,json=inboxDate" json:"inbox_date,omitempty"`
	Type             string                   `protobuf:"bytes,32,opt,name=type" json:"type,omitempty"`
	Message_33       string                   `protobuf:"bytes,33,opt,name=message_33,json=message33" json:"message_33,omitempty"`
	Media            *MessageMedia            `protobuf:"bytes,34,opt,name=media" json:"media,omitempty"`
	Entities         []*MessageEntity         `protobuf:"bytes,35,rep,name=entities" json:"entities,omitempty"`
	Key              *PrivacyKey              `protobuf:"bytes,36,opt,name=key" json:"key,omitempty"`
	Rules            []*PrivacyRule           `protobuf:"bytes,37,rep,name=rules" json:"rules,omitempty"`
	Phone            string                   `protobuf:"bytes,38,opt,name=phone" json:"phone,omitempty"`
	Peer_39          *Peer                    `protobuf:"bytes,39,opt,name=peer_39,json=peer39" json:"peer_39,omitempty"`
	MaxId            int32                    `protobuf:"varint,40,opt,name=max_id,json=maxId" json:"max_id,omitempty"`
	Webpage          *WebPage                 `protobuf:"bytes,41,opt,name=webpage" json:"webpage,omitempty"`
	ChannelId        int32                    `protobuf:"varint,42,opt,name=channel_id,json=channelId" json:"channel_id,omitempty"`
	Views            int32                    `protobuf:"varint,43,opt,name=views" json:"views,omitempty"`
	Enabled          *Bool                    `protobuf:"bytes,44,opt,name=enabled" json:"enabled,omitempty"`
	IsAdmin          *Bool                    `protobuf:"bytes,45,opt,name=is_admin,json=isAdmin" json:"is_admin,omitempty"`
	Stickerset       *Messages_StickerSet     `protobuf:"bytes,46,opt,name=stickerset" json:"stickerset,omitempty"`
	Masks            bool                     `protobuf:"varint,47,opt,name=masks" json:"masks,omitempty"`
	Order_48         []int64                  `protobuf:"varint,48,rep,packed,name=order_48,json=order48" json:"order_48,omitempty"`
	QueryId          int64                    `protobuf:"varint,49,opt,name=query_id,json=queryId" json:"query_id,omitempty"`
	Query            string                   `protobuf:"bytes,50,opt,name=query" json:"query,omitempty"`
	Geo              *GeoPoint                `protobuf:"bytes,51,opt,name=geo" json:"geo,omitempty"`
	Offset           string                   `protobuf:"bytes,52,opt,name=offset" json:"offset,omitempty"`
	Id_53            string                   `protobuf:"bytes,53,opt,name=id_53,json=id53" json:"id_53,omitempty"`
	MsgId_54         *InputBotInlineMessageID `protobuf:"bytes,54,opt,name=msg_id_54,json=msgId54" json:"msg_id_54,omitempty"`
	MsgId_55         int32                    `protobuf:"varint,55,opt,name=msg_id_55,json=msgId55" json:"msg_id_55,omitempty"`
	ChatInstance     int64                    `protobuf:"varint,56,opt,name=chat_instance,json=chatInstance" json:"chat_instance,omitempty"`
	Data_57          []byte                   `protobuf:"bytes,57,opt,name=data_57,json=data57,proto3" json:"data_57,omitempty"`
	GameShortName    string                   `protobuf:"bytes,58,opt,name=game_short_name,json=gameShortName" json:"game_short_name,omitempty"`
	Draft            *DraftMessage            `protobuf:"bytes,59,opt,name=draft" json:"draft,omitempty"`
	Pinned           bool                     `protobuf:"varint,60,opt,name=pinned" json:"pinned,omitempty"`
	Order_61         []*Peer                  `protobuf:"bytes,61,rep,name=order_61,json=order61" json:"order_61,omitempty"`
	Data_62          *DataJSON                `protobuf:"bytes,62,opt,name=data_62,json=data62" json:"data_62,omitempty"`
	Timeout          int32                    `protobuf:"varint,63,opt,name=timeout" json:"timeout,omitempty"`
	Payload          []byte                   `protobuf:"bytes,64,opt,name=payload,proto3" json:"payload,omitempty"`
	ShippingAddress  *PostAddress             `protobuf:"bytes,65,opt,name=shipping_address,json=shippingAddress" json:"shipping_address,omitempty"`
	Info             *PaymentRequestedInfo    `protobuf:"bytes,66,opt,name=info" json:"info,omitempty"`
	ShippingOptionId string                   `protobuf:"bytes,67,opt,name=shipping_option_id,json=shippingOptionId" json:"shipping_option_id,omitempty"`
	Currency         string                   `protobuf:"bytes,68,opt,name=currency" json:"currency,omitempty"`
	TotalAmount      int64                    `protobuf:"varint,69,opt,name=total_amount,json=totalAmount" json:"total_amount,omitempty"`
	PhoneCall        *PhoneCall               `protobuf:"bytes,70,opt,name=phone_call,json=phoneCall" json:"phone_call,omitempty"`
	Difference       *LangPackDifference      `protobuf:"bytes,71,opt,name=difference" json:"difference,omitempty"`
	AvailableMinId   int32                    `protobuf:"varint,72,opt,name=available_min_id,json=availableMinId" json:"available_min_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Update <--

  • TL_updateNewMessage
  • TL_updateMessageID
  • TL_updateDeleteMessages
  • TL_updateUserTyping
  • TL_updateChatUserTyping
  • TL_updateChatParticipants
  • TL_updateUserStatus
  • TL_updateUserName
  • TL_updateUserPhoto
  • TL_updateContactRegistered
  • TL_updateContactLink
  • TL_updateNewEncryptedMessage
  • TL_updateEncryptedChatTyping
  • TL_updateEncryption
  • TL_updateEncryptedMessagesRead
  • TL_updateChatParticipantAdd
  • TL_updateChatParticipantDelete
  • TL_updateDcOptions
  • TL_updateUserBlocked
  • TL_updateNotifySettings
  • TL_updateServiceNotification
  • TL_updatePrivacy
  • TL_updateUserPhone
  • TL_updateReadHistoryInbox
  • TL_updateReadHistoryOutbox
  • TL_updateWebPage
  • TL_updateReadMessagesContents
  • TL_updateChannelTooLong
  • TL_updateChannel
  • TL_updateNewChannelMessage
  • TL_updateReadChannelInbox
  • TL_updateDeleteChannelMessages
  • TL_updateChannelMessageViews
  • TL_updateChatAdmins
  • TL_updateChatParticipantAdmin
  • TL_updateNewStickerSet
  • TL_updateStickerSetsOrder
  • TL_updateStickerSets
  • TL_updateSavedGifs
  • TL_updateBotInlineQuery
  • TL_updateBotInlineSend
  • TL_updateEditChannelMessage
  • TL_updateChannelPinnedMessage
  • TL_updateBotCallbackQuery
  • TL_updateEditMessage
  • TL_updateInlineBotCallbackQuery
  • TL_updateReadChannelOutbox
  • TL_updateDraftMessage
  • TL_updateReadFeaturedStickers
  • TL_updateRecentStickers
  • TL_updateConfig
  • TL_updatePtsChanged
  • TL_updateChannelWebPage
  • TL_updateDialogPinned
  • TL_updatePinnedDialogs
  • TL_updateBotWebhookJSON
  • TL_updateBotWebhookJSONQuery
  • TL_updateBotShippingQuery
  • TL_updateBotPrecheckoutQuery
  • TL_updatePhoneCall
  • TL_updateLangPackTooLong
  • TL_updateLangPack
  • TL_updateFavedStickers
  • TL_updateChannelReadMessagesContents
  • TL_updateContactsReset
  • TL_updateChannelAvailableMessages

func (*Update_Data) Descriptor

func (*Update_Data) Descriptor() ([]byte, []int)

func (*Update_Data) GetAction

func (m *Update_Data) GetAction() *SendMessageAction

func (*Update_Data) GetAvailableMinId

func (m *Update_Data) GetAvailableMinId() int32

func (*Update_Data) GetBlocked

func (m *Update_Data) GetBlocked() *Bool

func (*Update_Data) GetChannelId

func (m *Update_Data) GetChannelId() int32

func (*Update_Data) GetChat

func (m *Update_Data) GetChat() *EncryptedChat

func (*Update_Data) GetChatId

func (m *Update_Data) GetChatId() int32

func (*Update_Data) GetChatInstance

func (m *Update_Data) GetChatInstance() int64

func (*Update_Data) GetCurrency

func (m *Update_Data) GetCurrency() string

func (*Update_Data) GetData_57

func (m *Update_Data) GetData_57() []byte

func (*Update_Data) GetData_62

func (m *Update_Data) GetData_62() *DataJSON

func (*Update_Data) GetDate

func (m *Update_Data) GetDate() int32

func (*Update_Data) GetDcOptions

func (m *Update_Data) GetDcOptions() []*DcOption

func (*Update_Data) GetDifference

func (m *Update_Data) GetDifference() *LangPackDifference

func (*Update_Data) GetDraft

func (m *Update_Data) GetDraft() *DraftMessage

func (*Update_Data) GetEnabled

func (m *Update_Data) GetEnabled() *Bool

func (*Update_Data) GetEntities

func (m *Update_Data) GetEntities() []*MessageEntity

func (*Update_Data) GetFirstName

func (m *Update_Data) GetFirstName() string
func (m *Update_Data) GetForeignLink() *ContactLink

func (*Update_Data) GetGameShortName

func (m *Update_Data) GetGameShortName() string

func (*Update_Data) GetGeo

func (m *Update_Data) GetGeo() *GeoPoint

func (*Update_Data) GetId_4

func (m *Update_Data) GetId_4() int32

func (*Update_Data) GetId_53

func (m *Update_Data) GetId_53() string

func (*Update_Data) GetInboxDate

func (m *Update_Data) GetInboxDate() int32

func (*Update_Data) GetInfo

func (m *Update_Data) GetInfo() *PaymentRequestedInfo

func (*Update_Data) GetInviterId

func (m *Update_Data) GetInviterId() int32

func (*Update_Data) GetIsAdmin

func (m *Update_Data) GetIsAdmin() *Bool

func (*Update_Data) GetKey

func (m *Update_Data) GetKey() *PrivacyKey

func (*Update_Data) GetLastName

func (m *Update_Data) GetLastName() string

func (*Update_Data) GetMasks

func (m *Update_Data) GetMasks() bool

func (*Update_Data) GetMaxDate

func (m *Update_Data) GetMaxDate() int32

func (*Update_Data) GetMaxId

func (m *Update_Data) GetMaxId() int32

func (*Update_Data) GetMedia

func (m *Update_Data) GetMedia() *MessageMedia

func (*Update_Data) GetMessage_1

func (m *Update_Data) GetMessage_1() *Message

func (*Update_Data) GetMessage_20

func (m *Update_Data) GetMessage_20() *EncryptedMessage

func (*Update_Data) GetMessage_33

func (m *Update_Data) GetMessage_33() string

func (*Update_Data) GetMessages

func (m *Update_Data) GetMessages() []int32

func (*Update_Data) GetMsgId_54

func (m *Update_Data) GetMsgId_54() *InputBotInlineMessageID

func (*Update_Data) GetMsgId_55

func (m *Update_Data) GetMsgId_55() int32
func (m *Update_Data) GetMyLink() *ContactLink

func (*Update_Data) GetNotifySettings

func (m *Update_Data) GetNotifySettings() *PeerNotifySettings

func (*Update_Data) GetOffset

func (m *Update_Data) GetOffset() string

func (*Update_Data) GetOrder_48

func (m *Update_Data) GetOrder_48() []int64

func (*Update_Data) GetOrder_61

func (m *Update_Data) GetOrder_61() []*Peer

func (*Update_Data) GetParticipants

func (m *Update_Data) GetParticipants() *ChatParticipants

func (*Update_Data) GetPayload

func (m *Update_Data) GetPayload() []byte

func (*Update_Data) GetPeer_28

func (m *Update_Data) GetPeer_28() *NotifyPeer

func (*Update_Data) GetPeer_39

func (m *Update_Data) GetPeer_39() *Peer

func (*Update_Data) GetPhone

func (m *Update_Data) GetPhone() string

func (*Update_Data) GetPhoneCall

func (m *Update_Data) GetPhoneCall() *PhoneCall

func (*Update_Data) GetPhoto

func (m *Update_Data) GetPhoto() *UserProfilePhoto

func (*Update_Data) GetPinned

func (m *Update_Data) GetPinned() bool

func (*Update_Data) GetPopup

func (m *Update_Data) GetPopup() bool

func (*Update_Data) GetPrevious

func (m *Update_Data) GetPrevious() *Bool

func (*Update_Data) GetPts

func (m *Update_Data) GetPts() int32

func (*Update_Data) GetPtsCount

func (m *Update_Data) GetPtsCount() int32

func (*Update_Data) GetQts

func (m *Update_Data) GetQts() int32

func (*Update_Data) GetQuery

func (m *Update_Data) GetQuery() string

func (*Update_Data) GetQueryId

func (m *Update_Data) GetQueryId() int64

func (*Update_Data) GetRandomId

func (m *Update_Data) GetRandomId() int64

func (*Update_Data) GetRules

func (m *Update_Data) GetRules() []*PrivacyRule

func (*Update_Data) GetShippingAddress

func (m *Update_Data) GetShippingAddress() *PostAddress

func (*Update_Data) GetShippingOptionId

func (m *Update_Data) GetShippingOptionId() string

func (*Update_Data) GetStatus

func (m *Update_Data) GetStatus() *UserStatus

func (*Update_Data) GetStickerset

func (m *Update_Data) GetStickerset() *Messages_StickerSet

func (*Update_Data) GetTimeout

func (m *Update_Data) GetTimeout() int32

func (*Update_Data) GetTotalAmount

func (m *Update_Data) GetTotalAmount() int64

func (*Update_Data) GetType

func (m *Update_Data) GetType() string

func (*Update_Data) GetUserId

func (m *Update_Data) GetUserId() int32

func (*Update_Data) GetUsername

func (m *Update_Data) GetUsername() string

func (*Update_Data) GetVersion

func (m *Update_Data) GetVersion() int32

func (*Update_Data) GetViews

func (m *Update_Data) GetViews() int32

func (*Update_Data) GetWebpage

func (m *Update_Data) GetWebpage() *WebPage

func (*Update_Data) ProtoMessage

func (*Update_Data) ProtoMessage()

func (*Update_Data) Reset

func (m *Update_Data) Reset()

func (*Update_Data) String

func (m *Update_Data) String() string

type Updates

type Updates struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Updates_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Updates) Decode

func (m *Updates) Decode(dbuf *DecodeBuf) error

func (*Updates) Descriptor

func (*Updates) Descriptor() ([]byte, []int)

func (*Updates) Encode

func (m *Updates) Encode() []byte

func (*Updates) GetConstructor

func (m *Updates) GetConstructor() TLConstructor

func (*Updates) GetData2

func (m *Updates) GetData2() *Updates_Data

func (*Updates) ProtoMessage

func (*Updates) ProtoMessage()

func (*Updates) Reset

func (m *Updates) Reset()

func (*Updates) String

func (m *Updates) String() string

func (*Updates) To_UpdateShort

func (m *Updates) To_UpdateShort() *TLUpdateShort

updateShort#78d4dec1 update:Update date:int = Updates;

func (*Updates) To_UpdateShortChatMessage

func (m *Updates) To_UpdateShortChatMessage() *TLUpdateShortChatMessage

updateShortChatMessage#16812688 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:int chat_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

func (*Updates) To_UpdateShortMessage

func (m *Updates) To_UpdateShortMessage() *TLUpdateShortMessage

updateShortMessage#914fbf11 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:int message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?int reply_to_msg_id:flags.3?int entities:flags.7?Vector<MessageEntity> = Updates;

func (*Updates) To_UpdateShortSentMessage

func (m *Updates) To_UpdateShortSentMessage() *TLUpdateShortSentMessage

updateShortSentMessage#11f1331c flags:# out:flags.1?true id:int pts:int pts_count:int date:int media:flags.9?MessageMedia entities:flags.7?Vector<MessageEntity> = Updates;

func (*Updates) To_Updates

func (m *Updates) To_Updates() *TLUpdates

updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = Updates;

func (*Updates) To_UpdatesCombined

func (m *Updates) To_UpdatesCombined() *TLUpdatesCombined

updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = Updates;

func (*Updates) To_UpdatesTooLong

func (m *Updates) To_UpdatesTooLong() *TLUpdatesTooLong

updatesTooLong#e317af7e = Updates;

type UpdatesRequest

type UpdatesRequest struct {
	PushType    SyncType       `protobuf:"varint,1,opt,name=push_type,json=pushType,enum=mtproto.SyncType" json:"push_type,omitempty"`
	Layer       int32          `protobuf:"varint,2,opt,name=layer" json:"layer,omitempty"`
	ServerId    int32          `protobuf:"varint,3,opt,name=server_id,json=serverId" json:"server_id,omitempty"`
	AuthKeyId   int64          `protobuf:"varint,4,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	SessionId   int64          `protobuf:"varint,5,opt,name=session_id,json=sessionId" json:"session_id,omitempty"`
	PushUserId  int32          `protobuf:"varint,6,opt,name=push_user_id,json=pushUserId" json:"push_user_id,omitempty"`
	ClientMsgId int64          `protobuf:"varint,7,opt,name=client_msg_id,json=clientMsgId" json:"client_msg_id,omitempty"`
	Updates     *Updates       `protobuf:"bytes,8,opt,name=updates" json:"updates,omitempty"`
	RpcResult   *RpcResultData `protobuf:"bytes,9,opt,name=rpc_result,json=rpcResult" json:"rpc_result,omitempty"`
}

///////////////////////////////////////////////////////////////////// RPC

func (*UpdatesRequest) Descriptor

func (*UpdatesRequest) Descriptor() ([]byte, []int)

func (*UpdatesRequest) GetAuthKeyId

func (m *UpdatesRequest) GetAuthKeyId() int64

func (*UpdatesRequest) GetClientMsgId

func (m *UpdatesRequest) GetClientMsgId() int64

func (*UpdatesRequest) GetLayer

func (m *UpdatesRequest) GetLayer() int32

func (*UpdatesRequest) GetPushType

func (m *UpdatesRequest) GetPushType() SyncType

func (*UpdatesRequest) GetPushUserId

func (m *UpdatesRequest) GetPushUserId() int32

func (*UpdatesRequest) GetRpcResult

func (m *UpdatesRequest) GetRpcResult() *RpcResultData

func (*UpdatesRequest) GetServerId

func (m *UpdatesRequest) GetServerId() int32

func (*UpdatesRequest) GetSessionId

func (m *UpdatesRequest) GetSessionId() int64

func (*UpdatesRequest) GetUpdates

func (m *UpdatesRequest) GetUpdates() *Updates

func (*UpdatesRequest) ProtoMessage

func (*UpdatesRequest) ProtoMessage()

func (*UpdatesRequest) Reset

func (m *UpdatesRequest) Reset()

func (*UpdatesRequest) String

func (m *UpdatesRequest) String() string

type Updates_ChannelDifference

type Updates_ChannelDifference struct {
	Constructor TLConstructor                   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Updates_ChannelDifference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Updates_ChannelDifference) Decode

func (m *Updates_ChannelDifference) Decode(dbuf *DecodeBuf) error

func (*Updates_ChannelDifference) Descriptor

func (*Updates_ChannelDifference) Descriptor() ([]byte, []int)

func (*Updates_ChannelDifference) Encode

func (m *Updates_ChannelDifference) Encode() []byte

func (*Updates_ChannelDifference) GetConstructor

func (m *Updates_ChannelDifference) GetConstructor() TLConstructor

func (*Updates_ChannelDifference) GetData2

func (*Updates_ChannelDifference) ProtoMessage

func (*Updates_ChannelDifference) ProtoMessage()

func (*Updates_ChannelDifference) Reset

func (m *Updates_ChannelDifference) Reset()

func (*Updates_ChannelDifference) String

func (m *Updates_ChannelDifference) String() string

func (*Updates_ChannelDifference) To_UpdatesChannelDifference

func (m *Updates_ChannelDifference) To_UpdatesChannelDifference() *TLUpdatesChannelDifference

updates.channelDifference#2064674e flags:# final:flags.0?true pts:int timeout:flags.1?int new_messages:Vector<Message> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

func (*Updates_ChannelDifference) To_UpdatesChannelDifferenceEmpty

func (m *Updates_ChannelDifference) To_UpdatesChannelDifferenceEmpty() *TLUpdatesChannelDifferenceEmpty

updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifference;

func (*Updates_ChannelDifference) To_UpdatesChannelDifferenceTooLong

func (m *Updates_ChannelDifference) To_UpdatesChannelDifferenceTooLong() *TLUpdatesChannelDifferenceTooLong

updates.channelDifferenceTooLong#6a9d7b35 flags:# final:flags.0?true pts:int timeout:flags.1?int top_message:int read_inbox_max_id:int read_outbox_max_id:int unread_count:int unread_mentions_count:int messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = updates.ChannelDifference;

type Updates_ChannelDifference_Data

type Updates_ChannelDifference_Data struct {
	Final               bool       `protobuf:"varint,1,opt,name=final" json:"final,omitempty"`
	Pts                 int32      `protobuf:"varint,2,opt,name=pts" json:"pts,omitempty"`
	Timeout             int32      `protobuf:"varint,3,opt,name=timeout" json:"timeout,omitempty"`
	TopMessage          int32      `protobuf:"varint,4,opt,name=top_message,json=topMessage" json:"top_message,omitempty"`
	ReadInboxMaxId      int32      `protobuf:"varint,5,opt,name=read_inbox_max_id,json=readInboxMaxId" json:"read_inbox_max_id,omitempty"`
	ReadOutboxMaxId     int32      `protobuf:"varint,6,opt,name=read_outbox_max_id,json=readOutboxMaxId" json:"read_outbox_max_id,omitempty"`
	UnreadCount         int32      `protobuf:"varint,7,opt,name=unread_count,json=unreadCount" json:"unread_count,omitempty"`
	UnreadMentionsCount int32      `protobuf:"varint,8,opt,name=unread_mentions_count,json=unreadMentionsCount" json:"unread_mentions_count,omitempty"`
	Messages            []*Message `protobuf:"bytes,9,rep,name=messages" json:"messages,omitempty"`
	Chats               []*Chat    `protobuf:"bytes,10,rep,name=chats" json:"chats,omitempty"`
	Users               []*User    `protobuf:"bytes,11,rep,name=users" json:"users,omitempty"`
	NewMessages         []*Message `protobuf:"bytes,12,rep,name=new_messages,json=newMessages" json:"new_messages,omitempty"`
	OtherUpdates        []*Update  `protobuf:"bytes,13,rep,name=other_updates,json=otherUpdates" json:"other_updates,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// updates_ChannelDifference <--

  • TL_updates_channelDifferenceEmpty
  • TL_updates_channelDifferenceTooLong
  • TL_updates_channelDifference

func (*Updates_ChannelDifference_Data) Descriptor

func (*Updates_ChannelDifference_Data) Descriptor() ([]byte, []int)

func (*Updates_ChannelDifference_Data) GetChats

func (m *Updates_ChannelDifference_Data) GetChats() []*Chat

func (*Updates_ChannelDifference_Data) GetFinal

func (m *Updates_ChannelDifference_Data) GetFinal() bool

func (*Updates_ChannelDifference_Data) GetMessages

func (m *Updates_ChannelDifference_Data) GetMessages() []*Message

func (*Updates_ChannelDifference_Data) GetNewMessages

func (m *Updates_ChannelDifference_Data) GetNewMessages() []*Message

func (*Updates_ChannelDifference_Data) GetOtherUpdates

func (m *Updates_ChannelDifference_Data) GetOtherUpdates() []*Update

func (*Updates_ChannelDifference_Data) GetPts

func (*Updates_ChannelDifference_Data) GetReadInboxMaxId

func (m *Updates_ChannelDifference_Data) GetReadInboxMaxId() int32

func (*Updates_ChannelDifference_Data) GetReadOutboxMaxId

func (m *Updates_ChannelDifference_Data) GetReadOutboxMaxId() int32

func (*Updates_ChannelDifference_Data) GetTimeout

func (m *Updates_ChannelDifference_Data) GetTimeout() int32

func (*Updates_ChannelDifference_Data) GetTopMessage

func (m *Updates_ChannelDifference_Data) GetTopMessage() int32

func (*Updates_ChannelDifference_Data) GetUnreadCount

func (m *Updates_ChannelDifference_Data) GetUnreadCount() int32

func (*Updates_ChannelDifference_Data) GetUnreadMentionsCount

func (m *Updates_ChannelDifference_Data) GetUnreadMentionsCount() int32

func (*Updates_ChannelDifference_Data) GetUsers

func (m *Updates_ChannelDifference_Data) GetUsers() []*User

func (*Updates_ChannelDifference_Data) ProtoMessage

func (*Updates_ChannelDifference_Data) ProtoMessage()

func (*Updates_ChannelDifference_Data) Reset

func (m *Updates_ChannelDifference_Data) Reset()

func (*Updates_ChannelDifference_Data) String

type Updates_Data

type Updates_Data struct {
	Out          bool              `protobuf:"varint,1,opt,name=out" json:"out,omitempty"`
	Mentioned    bool              `protobuf:"varint,2,opt,name=mentioned" json:"mentioned,omitempty"`
	MediaUnread  bool              `protobuf:"varint,3,opt,name=media_unread,json=mediaUnread" json:"media_unread,omitempty"`
	Silent       bool              `protobuf:"varint,4,opt,name=silent" json:"silent,omitempty"`
	Id           int32             `protobuf:"varint,5,opt,name=id" json:"id,omitempty"`
	UserId       int32             `protobuf:"varint,6,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Message      string            `protobuf:"bytes,7,opt,name=message" json:"message,omitempty"`
	Pts          int32             `protobuf:"varint,8,opt,name=pts" json:"pts,omitempty"`
	PtsCount     int32             `protobuf:"varint,9,opt,name=pts_count,json=ptsCount" json:"pts_count,omitempty"`
	Date         int32             `protobuf:"varint,10,opt,name=date" json:"date,omitempty"`
	FwdFrom      *MessageFwdHeader `protobuf:"bytes,11,opt,name=fwd_from,json=fwdFrom" json:"fwd_from,omitempty"`
	ViaBotId     int32             `protobuf:"varint,12,opt,name=via_bot_id,json=viaBotId" json:"via_bot_id,omitempty"`
	ReplyToMsgId int32             `protobuf:"varint,13,opt,name=reply_to_msg_id,json=replyToMsgId" json:"reply_to_msg_id,omitempty"`
	Entities     []*MessageEntity  `protobuf:"bytes,14,rep,name=entities" json:"entities,omitempty"`
	FromId       int32             `protobuf:"varint,15,opt,name=from_id,json=fromId" json:"from_id,omitempty"`
	ChatId       int32             `protobuf:"varint,16,opt,name=chat_id,json=chatId" json:"chat_id,omitempty"`
	Update       *Update           `protobuf:"bytes,17,opt,name=update" json:"update,omitempty"`
	Updates      []*Update         `protobuf:"bytes,18,rep,name=updates" json:"updates,omitempty"`
	Users        []*User           `protobuf:"bytes,19,rep,name=users" json:"users,omitempty"`
	Chats        []*Chat           `protobuf:"bytes,20,rep,name=chats" json:"chats,omitempty"`
	SeqStart     int32             `protobuf:"varint,21,opt,name=seq_start,json=seqStart" json:"seq_start,omitempty"`
	Seq          int32             `protobuf:"varint,22,opt,name=seq" json:"seq,omitempty"`
	Media        *MessageMedia     `protobuf:"bytes,23,opt,name=media" json:"media,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Updates <--

  • TL_updatesTooLong
  • TL_updateShortMessage
  • TL_updateShortChatMessage
  • TL_updateShort
  • TL_updatesCombined
  • TL_updates
  • TL_updateShortSentMessage

func (*Updates_Data) Descriptor

func (*Updates_Data) Descriptor() ([]byte, []int)

func (*Updates_Data) GetChatId

func (m *Updates_Data) GetChatId() int32

func (*Updates_Data) GetChats

func (m *Updates_Data) GetChats() []*Chat

func (*Updates_Data) GetDate

func (m *Updates_Data) GetDate() int32

func (*Updates_Data) GetEntities

func (m *Updates_Data) GetEntities() []*MessageEntity

func (*Updates_Data) GetFromId

func (m *Updates_Data) GetFromId() int32

func (*Updates_Data) GetFwdFrom

func (m *Updates_Data) GetFwdFrom() *MessageFwdHeader

func (*Updates_Data) GetId

func (m *Updates_Data) GetId() int32

func (*Updates_Data) GetMedia

func (m *Updates_Data) GetMedia() *MessageMedia

func (*Updates_Data) GetMediaUnread

func (m *Updates_Data) GetMediaUnread() bool

func (*Updates_Data) GetMentioned

func (m *Updates_Data) GetMentioned() bool

func (*Updates_Data) GetMessage

func (m *Updates_Data) GetMessage() string

func (*Updates_Data) GetOut

func (m *Updates_Data) GetOut() bool

func (*Updates_Data) GetPts

func (m *Updates_Data) GetPts() int32

func (*Updates_Data) GetPtsCount

func (m *Updates_Data) GetPtsCount() int32

func (*Updates_Data) GetReplyToMsgId

func (m *Updates_Data) GetReplyToMsgId() int32

func (*Updates_Data) GetSeq

func (m *Updates_Data) GetSeq() int32

func (*Updates_Data) GetSeqStart

func (m *Updates_Data) GetSeqStart() int32

func (*Updates_Data) GetSilent

func (m *Updates_Data) GetSilent() bool

func (*Updates_Data) GetUpdate

func (m *Updates_Data) GetUpdate() *Update

func (*Updates_Data) GetUpdates

func (m *Updates_Data) GetUpdates() []*Update

func (*Updates_Data) GetUserId

func (m *Updates_Data) GetUserId() int32

func (*Updates_Data) GetUsers

func (m *Updates_Data) GetUsers() []*User

func (*Updates_Data) GetViaBotId

func (m *Updates_Data) GetViaBotId() int32

func (*Updates_Data) ProtoMessage

func (*Updates_Data) ProtoMessage()

func (*Updates_Data) Reset

func (m *Updates_Data) Reset()

func (*Updates_Data) String

func (m *Updates_Data) String() string

type Updates_Difference

type Updates_Difference struct {
	Constructor TLConstructor            `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Updates_Difference_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Updates_Difference) Decode

func (m *Updates_Difference) Decode(dbuf *DecodeBuf) error

func (*Updates_Difference) Descriptor

func (*Updates_Difference) Descriptor() ([]byte, []int)

func (*Updates_Difference) Encode

func (m *Updates_Difference) Encode() []byte

func (*Updates_Difference) GetConstructor

func (m *Updates_Difference) GetConstructor() TLConstructor

func (*Updates_Difference) GetData2

func (*Updates_Difference) ProtoMessage

func (*Updates_Difference) ProtoMessage()

func (*Updates_Difference) Reset

func (m *Updates_Difference) Reset()

func (*Updates_Difference) String

func (m *Updates_Difference) String() string

func (*Updates_Difference) To_UpdatesDifference

func (m *Updates_Difference) To_UpdatesDifference() *TLUpdatesDifference

updates.difference#f49ca0 new_messages:Vector<Message> new_encrypted_messages:Vector<EncryptedMessage> other_updates:Vector<Update> chats:Vector<Chat> users:Vector<User> state:updates.State = updates.Difference;

func (*Updates_Difference) To_UpdatesDifferenceEmpty

func (m *Updates_Difference) To_UpdatesDifferenceEmpty() *TLUpdatesDifferenceEmpty

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;

func (*Updates_Difference) To_UpdatesDifferenceSlice

func (m *Updates_Difference) To_UpdatesDifferenceSlice() *TLUpdatesDifferenceSlice

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;

func (*Updates_Difference) To_UpdatesDifferenceTooLong

func (m *Updates_Difference) To_UpdatesDifferenceTooLong() *TLUpdatesDifferenceTooLong

updates.differenceTooLong#4afe8f6d pts:int = updates.Difference;

type Updates_Difference_Data

type Updates_Difference_Data struct {
	Date                 int32               `protobuf:"varint,1,opt,name=date" json:"date,omitempty"`
	Seq                  int32               `protobuf:"varint,2,opt,name=seq" json:"seq,omitempty"`
	NewMessages          []*Message          `protobuf:"bytes,3,rep,name=new_messages,json=newMessages" json:"new_messages,omitempty"`
	NewEncryptedMessages []*EncryptedMessage `protobuf:"bytes,4,rep,name=new_encrypted_messages,json=newEncryptedMessages" json:"new_encrypted_messages,omitempty"`
	OtherUpdates         []*Update           `protobuf:"bytes,5,rep,name=other_updates,json=otherUpdates" json:"other_updates,omitempty"`
	Chats                []*Chat             `protobuf:"bytes,6,rep,name=chats" json:"chats,omitempty"`
	Users                []*User             `protobuf:"bytes,7,rep,name=users" json:"users,omitempty"`
	State                *Updates_State      `protobuf:"bytes,8,opt,name=state" json:"state,omitempty"`
	IntermediateState    *Updates_State      `protobuf:"bytes,9,opt,name=intermediate_state,json=intermediateState" json:"intermediate_state,omitempty"`
	Pts                  int32               `protobuf:"varint,10,opt,name=pts" json:"pts,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// updates_Difference <--

  • TL_updates_differenceEmpty
  • TL_updates_difference
  • TL_updates_differenceSlice
  • TL_updates_differenceTooLong

func (*Updates_Difference_Data) Descriptor

func (*Updates_Difference_Data) Descriptor() ([]byte, []int)

func (*Updates_Difference_Data) GetChats

func (m *Updates_Difference_Data) GetChats() []*Chat

func (*Updates_Difference_Data) GetDate

func (m *Updates_Difference_Data) GetDate() int32

func (*Updates_Difference_Data) GetIntermediateState

func (m *Updates_Difference_Data) GetIntermediateState() *Updates_State

func (*Updates_Difference_Data) GetNewEncryptedMessages

func (m *Updates_Difference_Data) GetNewEncryptedMessages() []*EncryptedMessage

func (*Updates_Difference_Data) GetNewMessages

func (m *Updates_Difference_Data) GetNewMessages() []*Message

func (*Updates_Difference_Data) GetOtherUpdates

func (m *Updates_Difference_Data) GetOtherUpdates() []*Update

func (*Updates_Difference_Data) GetPts

func (m *Updates_Difference_Data) GetPts() int32

func (*Updates_Difference_Data) GetSeq

func (m *Updates_Difference_Data) GetSeq() int32

func (*Updates_Difference_Data) GetState

func (m *Updates_Difference_Data) GetState() *Updates_State

func (*Updates_Difference_Data) GetUsers

func (m *Updates_Difference_Data) GetUsers() []*User

func (*Updates_Difference_Data) ProtoMessage

func (*Updates_Difference_Data) ProtoMessage()

func (*Updates_Difference_Data) Reset

func (m *Updates_Difference_Data) Reset()

func (*Updates_Difference_Data) String

func (m *Updates_Difference_Data) String() string

type Updates_State

type Updates_State struct {
	Constructor TLConstructor       `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Updates_State_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Updates_State) Decode

func (m *Updates_State) Decode(dbuf *DecodeBuf) error

func (*Updates_State) Descriptor

func (*Updates_State) Descriptor() ([]byte, []int)

func (*Updates_State) Encode

func (m *Updates_State) Encode() []byte

func (*Updates_State) GetConstructor

func (m *Updates_State) GetConstructor() TLConstructor

func (*Updates_State) GetData2

func (m *Updates_State) GetData2() *Updates_State_Data

func (*Updates_State) ProtoMessage

func (*Updates_State) ProtoMessage()

func (*Updates_State) Reset

func (m *Updates_State) Reset()

func (*Updates_State) String

func (m *Updates_State) String() string

func (*Updates_State) To_UpdatesState

func (m *Updates_State) To_UpdatesState() *TLUpdatesState

updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;

type Updates_State_Data

type Updates_State_Data struct {
	Pts         int32 `protobuf:"varint,1,opt,name=pts" json:"pts,omitempty"`
	Qts         int32 `protobuf:"varint,2,opt,name=qts" json:"qts,omitempty"`
	Date        int32 `protobuf:"varint,3,opt,name=date" json:"date,omitempty"`
	Seq         int32 `protobuf:"varint,4,opt,name=seq" json:"seq,omitempty"`
	UnreadCount int32 `protobuf:"varint,5,opt,name=unread_count,json=unreadCount" json:"unread_count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// updates_State <--

  • TL_updates_state

func (*Updates_State_Data) Descriptor

func (*Updates_State_Data) Descriptor() ([]byte, []int)

func (*Updates_State_Data) GetDate

func (m *Updates_State_Data) GetDate() int32

func (*Updates_State_Data) GetPts

func (m *Updates_State_Data) GetPts() int32

func (*Updates_State_Data) GetQts

func (m *Updates_State_Data) GetQts() int32

func (*Updates_State_Data) GetSeq

func (m *Updates_State_Data) GetSeq() int32

func (*Updates_State_Data) GetUnreadCount

func (m *Updates_State_Data) GetUnreadCount() int32

func (*Updates_State_Data) ProtoMessage

func (*Updates_State_Data) ProtoMessage()

func (*Updates_State_Data) Reset

func (m *Updates_State_Data) Reset()

func (*Updates_State_Data) String

func (m *Updates_State_Data) String() string

type UploadPhotoFileRequest

type UploadPhotoFileRequest struct {
	OwnerId int64      `protobuf:"varint,1,opt,name=ownerId" json:"ownerId,omitempty"`
	File    *InputFile `protobuf:"bytes,2,opt,name=file" json:"file,omitempty"`
}

func (*UploadPhotoFileRequest) Descriptor

func (*UploadPhotoFileRequest) Descriptor() ([]byte, []int)

func (*UploadPhotoFileRequest) GetFile

func (m *UploadPhotoFileRequest) GetFile() *InputFile

func (*UploadPhotoFileRequest) GetOwnerId

func (m *UploadPhotoFileRequest) GetOwnerId() int64

func (*UploadPhotoFileRequest) ProtoMessage

func (*UploadPhotoFileRequest) ProtoMessage()

func (*UploadPhotoFileRequest) Reset

func (m *UploadPhotoFileRequest) Reset()

func (*UploadPhotoFileRequest) String

func (m *UploadPhotoFileRequest) String() string

type Upload_CdnFile

type Upload_CdnFile struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Upload_CdnFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Upload_CdnFile) Decode

func (m *Upload_CdnFile) Decode(dbuf *DecodeBuf) error

func (*Upload_CdnFile) Descriptor

func (*Upload_CdnFile) Descriptor() ([]byte, []int)

func (*Upload_CdnFile) Encode

func (m *Upload_CdnFile) Encode() []byte

func (*Upload_CdnFile) GetConstructor

func (m *Upload_CdnFile) GetConstructor() TLConstructor

func (*Upload_CdnFile) GetData2

func (m *Upload_CdnFile) GetData2() *Upload_CdnFile_Data

func (*Upload_CdnFile) ProtoMessage

func (*Upload_CdnFile) ProtoMessage()

func (*Upload_CdnFile) Reset

func (m *Upload_CdnFile) Reset()

func (*Upload_CdnFile) String

func (m *Upload_CdnFile) String() string

func (*Upload_CdnFile) To_UploadCdnFile

func (m *Upload_CdnFile) To_UploadCdnFile() *TLUploadCdnFile

upload.cdnFile#a99fca4f bytes:bytes = upload.CdnFile;

func (*Upload_CdnFile) To_UploadCdnFileReuploadNeeded

func (m *Upload_CdnFile) To_UploadCdnFileReuploadNeeded() *TLUploadCdnFileReuploadNeeded

upload.cdnFileReuploadNeeded#eea8e46e request_token:bytes = upload.CdnFile;

type Upload_CdnFile_Data

type Upload_CdnFile_Data struct {
	RequestToken []byte `protobuf:"bytes,1,opt,name=request_token,json=requestToken,proto3" json:"request_token,omitempty"`
	Bytes        []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload_CdnFile <--

  • TL_upload_cdnFileReuploadNeeded
  • TL_upload_cdnFile

func (*Upload_CdnFile_Data) Descriptor

func (*Upload_CdnFile_Data) Descriptor() ([]byte, []int)

func (*Upload_CdnFile_Data) GetBytes

func (m *Upload_CdnFile_Data) GetBytes() []byte

func (*Upload_CdnFile_Data) GetRequestToken

func (m *Upload_CdnFile_Data) GetRequestToken() []byte

func (*Upload_CdnFile_Data) ProtoMessage

func (*Upload_CdnFile_Data) ProtoMessage()

func (*Upload_CdnFile_Data) Reset

func (m *Upload_CdnFile_Data) Reset()

func (*Upload_CdnFile_Data) String

func (m *Upload_CdnFile_Data) String() string

type Upload_File

type Upload_File struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Upload_File_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Upload_File) Decode

func (m *Upload_File) Decode(dbuf *DecodeBuf) error

func (*Upload_File) Descriptor

func (*Upload_File) Descriptor() ([]byte, []int)

func (*Upload_File) Encode

func (m *Upload_File) Encode() []byte

func (*Upload_File) GetConstructor

func (m *Upload_File) GetConstructor() TLConstructor

func (*Upload_File) GetData2

func (m *Upload_File) GetData2() *Upload_File_Data

func (*Upload_File) ProtoMessage

func (*Upload_File) ProtoMessage()

func (*Upload_File) Reset

func (m *Upload_File) Reset()

func (*Upload_File) String

func (m *Upload_File) String() string

func (*Upload_File) To_UploadFile

func (m *Upload_File) To_UploadFile() *TLUploadFile

upload.file#96a18d5 type:storage.FileType mtime:int bytes:bytes = upload.File;

func (*Upload_File) To_UploadFileCdnRedirect

func (m *Upload_File) To_UploadFileCdnRedirect() *TLUploadFileCdnRedirect

upload.fileCdnRedirect#ea52fe5a dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes cdn_file_hashes:Vector<CdnFileHash> = upload.File;

type Upload_File_Data

type Upload_File_Data struct {
	Type          *Storage_FileType `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	Mtime         int32             `protobuf:"varint,2,opt,name=mtime" json:"mtime,omitempty"`
	Bytes         []byte            `protobuf:"bytes,3,opt,name=bytes,proto3" json:"bytes,omitempty"`
	DcId          int32             `protobuf:"varint,4,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
	FileToken     []byte            `protobuf:"bytes,5,opt,name=file_token,json=fileToken,proto3" json:"file_token,omitempty"`
	EncryptionKey []byte            `protobuf:"bytes,6,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	EncryptionIv  []byte            `protobuf:"bytes,7,opt,name=encryption_iv,json=encryptionIv,proto3" json:"encryption_iv,omitempty"`
	CdnFileHashes []*CdnFileHash    `protobuf:"bytes,8,rep,name=cdn_file_hashes,json=cdnFileHashes" json:"cdn_file_hashes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload_File <--

  • TL_upload_file
  • TL_upload_fileCdnRedirect

func (*Upload_File_Data) Descriptor

func (*Upload_File_Data) Descriptor() ([]byte, []int)

func (*Upload_File_Data) GetBytes

func (m *Upload_File_Data) GetBytes() []byte

func (*Upload_File_Data) GetCdnFileHashes

func (m *Upload_File_Data) GetCdnFileHashes() []*CdnFileHash

func (*Upload_File_Data) GetDcId

func (m *Upload_File_Data) GetDcId() int32

func (*Upload_File_Data) GetEncryptionIv

func (m *Upload_File_Data) GetEncryptionIv() []byte

func (*Upload_File_Data) GetEncryptionKey

func (m *Upload_File_Data) GetEncryptionKey() []byte

func (*Upload_File_Data) GetFileToken

func (m *Upload_File_Data) GetFileToken() []byte

func (*Upload_File_Data) GetMtime

func (m *Upload_File_Data) GetMtime() int32

func (*Upload_File_Data) GetType

func (m *Upload_File_Data) GetType() *Storage_FileType

func (*Upload_File_Data) ProtoMessage

func (*Upload_File_Data) ProtoMessage()

func (*Upload_File_Data) Reset

func (m *Upload_File_Data) Reset()

func (*Upload_File_Data) String

func (m *Upload_File_Data) String() string

type Upload_WebFile

type Upload_WebFile struct {
	Constructor TLConstructor        `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *Upload_WebFile_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*Upload_WebFile) Decode

func (m *Upload_WebFile) Decode(dbuf *DecodeBuf) error

func (*Upload_WebFile) Descriptor

func (*Upload_WebFile) Descriptor() ([]byte, []int)

func (*Upload_WebFile) Encode

func (m *Upload_WebFile) Encode() []byte

func (*Upload_WebFile) GetConstructor

func (m *Upload_WebFile) GetConstructor() TLConstructor

func (*Upload_WebFile) GetData2

func (m *Upload_WebFile) GetData2() *Upload_WebFile_Data

func (*Upload_WebFile) ProtoMessage

func (*Upload_WebFile) ProtoMessage()

func (*Upload_WebFile) Reset

func (m *Upload_WebFile) Reset()

func (*Upload_WebFile) String

func (m *Upload_WebFile) String() string

func (*Upload_WebFile) To_UploadWebFile

func (m *Upload_WebFile) To_UploadWebFile() *TLUploadWebFile

upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;

type Upload_WebFile_Data

type Upload_WebFile_Data struct {
	Size     int32             `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
	MimeType string            `protobuf:"bytes,2,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	FileType *Storage_FileType `protobuf:"bytes,3,opt,name=file_type,json=fileType" json:"file_type,omitempty"`
	Mtime    int32             `protobuf:"varint,4,opt,name=mtime" json:"mtime,omitempty"`
	Bytes    []byte            `protobuf:"bytes,5,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// upload_WebFile <--

  • TL_upload_webFile

func (*Upload_WebFile_Data) Descriptor

func (*Upload_WebFile_Data) Descriptor() ([]byte, []int)

func (*Upload_WebFile_Data) GetBytes

func (m *Upload_WebFile_Data) GetBytes() []byte

func (*Upload_WebFile_Data) GetFileType

func (m *Upload_WebFile_Data) GetFileType() *Storage_FileType

func (*Upload_WebFile_Data) GetMimeType

func (m *Upload_WebFile_Data) GetMimeType() string

func (*Upload_WebFile_Data) GetMtime

func (m *Upload_WebFile_Data) GetMtime() int32

func (*Upload_WebFile_Data) GetSize

func (m *Upload_WebFile_Data) GetSize() int32

func (*Upload_WebFile_Data) ProtoMessage

func (*Upload_WebFile_Data) ProtoMessage()

func (*Upload_WebFile_Data) Reset

func (m *Upload_WebFile_Data) Reset()

func (*Upload_WebFile_Data) String

func (m *Upload_WebFile_Data) String() string

type User

type User struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *User_Data    `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*User) Decode

func (m *User) Decode(dbuf *DecodeBuf) error

func (*User) Descriptor

func (*User) Descriptor() ([]byte, []int)

func (*User) Encode

func (m *User) Encode() []byte

func (*User) GetConstructor

func (m *User) GetConstructor() TLConstructor

func (*User) GetData2

func (m *User) GetData2() *User_Data

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) To_User

func (m *User) To_User() *TLUser

user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;

func (*User) To_UserEmpty

func (m *User) To_UserEmpty() *TLUserEmpty

userEmpty#200250ba id:int = User;

type UserFull

type UserFull struct {
	Constructor TLConstructor  `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *UserFull_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*UserFull) Decode

func (m *UserFull) Decode(dbuf *DecodeBuf) error

func (*UserFull) Descriptor

func (*UserFull) Descriptor() ([]byte, []int)

func (*UserFull) Encode

func (m *UserFull) Encode() []byte

func (*UserFull) GetConstructor

func (m *UserFull) GetConstructor() TLConstructor

func (*UserFull) GetData2

func (m *UserFull) GetData2() *UserFull_Data

func (*UserFull) ProtoMessage

func (*UserFull) ProtoMessage()

func (*UserFull) Reset

func (m *UserFull) Reset()

func (*UserFull) String

func (m *UserFull) String() string

func (*UserFull) To_UserFull

func (m *UserFull) To_UserFull() *TLUserFull

userFull#f220f3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true user:User about:flags.1?string link:contacts.Link profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo common_chats_count:int = UserFull;

type UserFull_Data

type UserFull_Data struct {
	Blocked             bool                `protobuf:"varint,1,opt,name=blocked" json:"blocked,omitempty"`
	PhoneCallsAvailable bool                `protobuf:"varint,2,opt,name=phone_calls_available,json=phoneCallsAvailable" json:"phone_calls_available,omitempty"`
	PhoneCallsPrivate   bool                `protobuf:"varint,3,opt,name=phone_calls_private,json=phoneCallsPrivate" json:"phone_calls_private,omitempty"`
	User                *User               `protobuf:"bytes,4,opt,name=user" json:"user,omitempty"`
	About               string              `protobuf:"bytes,5,opt,name=about" json:"about,omitempty"`
	Link                *Contacts_Link      `protobuf:"bytes,6,opt,name=link" json:"link,omitempty"`
	ProfilePhoto        *Photo              `protobuf:"bytes,7,opt,name=profile_photo,json=profilePhoto" json:"profile_photo,omitempty"`
	NotifySettings      *PeerNotifySettings `protobuf:"bytes,8,opt,name=notify_settings,json=notifySettings" json:"notify_settings,omitempty"`
	BotInfo             *BotInfo            `protobuf:"bytes,9,opt,name=bot_info,json=botInfo" json:"bot_info,omitempty"`
	CommonChatsCount    int32               `protobuf:"varint,10,opt,name=common_chats_count,json=commonChatsCount" json:"common_chats_count,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// UserFull <--

  • TL_userFull

func (*UserFull_Data) Descriptor

func (*UserFull_Data) Descriptor() ([]byte, []int)

func (*UserFull_Data) GetAbout

func (m *UserFull_Data) GetAbout() string

func (*UserFull_Data) GetBlocked

func (m *UserFull_Data) GetBlocked() bool

func (*UserFull_Data) GetBotInfo

func (m *UserFull_Data) GetBotInfo() *BotInfo

func (*UserFull_Data) GetCommonChatsCount

func (m *UserFull_Data) GetCommonChatsCount() int32
func (m *UserFull_Data) GetLink() *Contacts_Link

func (*UserFull_Data) GetNotifySettings

func (m *UserFull_Data) GetNotifySettings() *PeerNotifySettings

func (*UserFull_Data) GetPhoneCallsAvailable

func (m *UserFull_Data) GetPhoneCallsAvailable() bool

func (*UserFull_Data) GetPhoneCallsPrivate

func (m *UserFull_Data) GetPhoneCallsPrivate() bool

func (*UserFull_Data) GetProfilePhoto

func (m *UserFull_Data) GetProfilePhoto() *Photo

func (*UserFull_Data) GetUser

func (m *UserFull_Data) GetUser() *User

func (*UserFull_Data) ProtoMessage

func (*UserFull_Data) ProtoMessage()

func (*UserFull_Data) Reset

func (m *UserFull_Data) Reset()

func (*UserFull_Data) String

func (m *UserFull_Data) String() string

type UserIdResponse

type UserIdResponse struct {
	Result    int32 `protobuf:"varint,1,opt,name=result" json:"result,omitempty"`
	AuthKeyId int64 `protobuf:"varint,2,opt,name=auth_key_id,json=authKeyId" json:"auth_key_id,omitempty"`
	UserId    int32 `protobuf:"varint,3,opt,name=user_id,json=userId" json:"user_id,omitempty"`
}

func (*UserIdResponse) Descriptor

func (*UserIdResponse) Descriptor() ([]byte, []int)

func (*UserIdResponse) GetAuthKeyId

func (m *UserIdResponse) GetAuthKeyId() int64

func (*UserIdResponse) GetResult

func (m *UserIdResponse) GetResult() int32

func (*UserIdResponse) GetUserId

func (m *UserIdResponse) GetUserId() int32

func (*UserIdResponse) ProtoMessage

func (*UserIdResponse) ProtoMessage()

func (*UserIdResponse) Reset

func (m *UserIdResponse) Reset()

func (*UserIdResponse) String

func (m *UserIdResponse) String() string

type UserProfilePhoto

type UserProfilePhoto struct {
	Constructor TLConstructor          `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *UserProfilePhoto_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*UserProfilePhoto) Decode

func (m *UserProfilePhoto) Decode(dbuf *DecodeBuf) error

func (*UserProfilePhoto) Descriptor

func (*UserProfilePhoto) Descriptor() ([]byte, []int)

func (*UserProfilePhoto) Encode

func (m *UserProfilePhoto) Encode() []byte

func (*UserProfilePhoto) GetConstructor

func (m *UserProfilePhoto) GetConstructor() TLConstructor

func (*UserProfilePhoto) GetData2

func (m *UserProfilePhoto) GetData2() *UserProfilePhoto_Data

func (*UserProfilePhoto) ProtoMessage

func (*UserProfilePhoto) ProtoMessage()

func (*UserProfilePhoto) Reset

func (m *UserProfilePhoto) Reset()

func (*UserProfilePhoto) String

func (m *UserProfilePhoto) String() string

func (*UserProfilePhoto) To_UserProfilePhoto

func (m *UserProfilePhoto) To_UserProfilePhoto() *TLUserProfilePhoto

userProfilePhoto#d559d8c8 photo_id:long photo_small:FileLocation photo_big:FileLocation = UserProfilePhoto;

func (*UserProfilePhoto) To_UserProfilePhotoEmpty

func (m *UserProfilePhoto) To_UserProfilePhotoEmpty() *TLUserProfilePhotoEmpty

userProfilePhotoEmpty#4f11bae1 = UserProfilePhoto;

type UserProfilePhoto_Data

type UserProfilePhoto_Data struct {
	PhotoId    int64         `protobuf:"varint,1,opt,name=photo_id,json=photoId" json:"photo_id,omitempty"`
	PhotoSmall *FileLocation `protobuf:"bytes,2,opt,name=photo_small,json=photoSmall" json:"photo_small,omitempty"`
	PhotoBig   *FileLocation `protobuf:"bytes,3,opt,name=photo_big,json=photoBig" json:"photo_big,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// UserProfilePhoto <--

  • TL_userProfilePhotoEmpty
  • TL_userProfilePhoto

func (*UserProfilePhoto_Data) Descriptor

func (*UserProfilePhoto_Data) Descriptor() ([]byte, []int)

func (*UserProfilePhoto_Data) GetPhotoBig

func (m *UserProfilePhoto_Data) GetPhotoBig() *FileLocation

func (*UserProfilePhoto_Data) GetPhotoId

func (m *UserProfilePhoto_Data) GetPhotoId() int64

func (*UserProfilePhoto_Data) GetPhotoSmall

func (m *UserProfilePhoto_Data) GetPhotoSmall() *FileLocation

func (*UserProfilePhoto_Data) ProtoMessage

func (*UserProfilePhoto_Data) ProtoMessage()

func (*UserProfilePhoto_Data) Reset

func (m *UserProfilePhoto_Data) Reset()

func (*UserProfilePhoto_Data) String

func (m *UserProfilePhoto_Data) String() string

type UserStatus

type UserStatus struct {
	Constructor TLConstructor    `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *UserStatus_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*UserStatus) Decode

func (m *UserStatus) Decode(dbuf *DecodeBuf) error

func (*UserStatus) Descriptor

func (*UserStatus) Descriptor() ([]byte, []int)

func (*UserStatus) Encode

func (m *UserStatus) Encode() []byte

func (*UserStatus) GetConstructor

func (m *UserStatus) GetConstructor() TLConstructor

func (*UserStatus) GetData2

func (m *UserStatus) GetData2() *UserStatus_Data

func (*UserStatus) ProtoMessage

func (*UserStatus) ProtoMessage()

func (*UserStatus) Reset

func (m *UserStatus) Reset()

func (*UserStatus) String

func (m *UserStatus) String() string

func (*UserStatus) To_UserStatusEmpty

func (m *UserStatus) To_UserStatusEmpty() *TLUserStatusEmpty

userStatusEmpty#9d05049 = UserStatus;

func (*UserStatus) To_UserStatusLastMonth

func (m *UserStatus) To_UserStatusLastMonth() *TLUserStatusLastMonth

userStatusLastMonth#77ebc742 = UserStatus;

func (*UserStatus) To_UserStatusLastWeek

func (m *UserStatus) To_UserStatusLastWeek() *TLUserStatusLastWeek

userStatusLastWeek#7bf09fc = UserStatus;

func (*UserStatus) To_UserStatusOffline

func (m *UserStatus) To_UserStatusOffline() *TLUserStatusOffline

userStatusOffline#8c703f was_online:int = UserStatus;

func (*UserStatus) To_UserStatusOnline

func (m *UserStatus) To_UserStatusOnline() *TLUserStatusOnline

userStatusOnline#edb93949 expires:int = UserStatus;

func (*UserStatus) To_UserStatusRecently

func (m *UserStatus) To_UserStatusRecently() *TLUserStatusRecently

userStatusRecently#e26f42f1 = UserStatus;

type UserStatus_Data

type UserStatus_Data struct {
	Expires   int32 `protobuf:"varint,1,opt,name=expires" json:"expires,omitempty"`
	WasOnline int32 `protobuf:"varint,2,opt,name=was_online,json=wasOnline" json:"was_online,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// UserStatus <--

  • TL_userStatusEmpty
  • TL_userStatusOnline
  • TL_userStatusOffline
  • TL_userStatusRecently
  • TL_userStatusLastWeek
  • TL_userStatusLastMonth

func (*UserStatus_Data) Descriptor

func (*UserStatus_Data) Descriptor() ([]byte, []int)

func (*UserStatus_Data) GetExpires

func (m *UserStatus_Data) GetExpires() int32

func (*UserStatus_Data) GetWasOnline

func (m *UserStatus_Data) GetWasOnline() int32

func (*UserStatus_Data) ProtoMessage

func (*UserStatus_Data) ProtoMessage()

func (*UserStatus_Data) Reset

func (m *UserStatus_Data) Reset()

func (*UserStatus_Data) String

func (m *UserStatus_Data) String() string

type User_Data

type User_Data struct {
	Id                   int32             `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Self                 bool              `protobuf:"varint,2,opt,name=self" json:"self,omitempty"`
	Contact              bool              `protobuf:"varint,3,opt,name=contact" json:"contact,omitempty"`
	MutualContact        bool              `protobuf:"varint,4,opt,name=mutual_contact,json=mutualContact" json:"mutual_contact,omitempty"`
	Deleted              bool              `protobuf:"varint,5,opt,name=deleted" json:"deleted,omitempty"`
	Bot                  bool              `protobuf:"varint,6,opt,name=bot" json:"bot,omitempty"`
	BotChatHistory       bool              `protobuf:"varint,7,opt,name=bot_chat_history,json=botChatHistory" json:"bot_chat_history,omitempty"`
	BotNochats           bool              `protobuf:"varint,8,opt,name=bot_nochats,json=botNochats" json:"bot_nochats,omitempty"`
	Verified             bool              `protobuf:"varint,9,opt,name=verified" json:"verified,omitempty"`
	Restricted           bool              `protobuf:"varint,10,opt,name=restricted" json:"restricted,omitempty"`
	Min                  bool              `protobuf:"varint,11,opt,name=min" json:"min,omitempty"`
	BotInlineGeo         bool              `protobuf:"varint,12,opt,name=bot_inline_geo,json=botInlineGeo" json:"bot_inline_geo,omitempty"`
	AccessHash           int64             `protobuf:"varint,13,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	FirstName            string            `protobuf:"bytes,14,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	LastName             string            `protobuf:"bytes,15,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	Username             string            `protobuf:"bytes,16,opt,name=username" json:"username,omitempty"`
	Phone                string            `protobuf:"bytes,17,opt,name=phone" json:"phone,omitempty"`
	Photo                *UserProfilePhoto `protobuf:"bytes,18,opt,name=photo" json:"photo,omitempty"`
	Status               *UserStatus       `protobuf:"bytes,19,opt,name=status" json:"status,omitempty"`
	BotInfoVersion       int32             `protobuf:"varint,20,opt,name=bot_info_version,json=botInfoVersion" json:"bot_info_version,omitempty"`
	RestrictionReason    string            `protobuf:"bytes,21,opt,name=restriction_reason,json=restrictionReason" json:"restriction_reason,omitempty"`
	BotInlinePlaceholder string            `protobuf:"bytes,22,opt,name=bot_inline_placeholder,json=botInlinePlaceholder" json:"bot_inline_placeholder,omitempty"`
	LangCode             string            `protobuf:"bytes,23,opt,name=lang_code,json=langCode" json:"lang_code,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// User <--

  • TL_userEmpty
  • TL_user

func (*User_Data) Descriptor

func (*User_Data) Descriptor() ([]byte, []int)

func (*User_Data) GetAccessHash

func (m *User_Data) GetAccessHash() int64

func (*User_Data) GetBot

func (m *User_Data) GetBot() bool

func (*User_Data) GetBotChatHistory

func (m *User_Data) GetBotChatHistory() bool

func (*User_Data) GetBotInfoVersion

func (m *User_Data) GetBotInfoVersion() int32

func (*User_Data) GetBotInlineGeo

func (m *User_Data) GetBotInlineGeo() bool

func (*User_Data) GetBotInlinePlaceholder

func (m *User_Data) GetBotInlinePlaceholder() string

func (*User_Data) GetBotNochats

func (m *User_Data) GetBotNochats() bool

func (*User_Data) GetContact

func (m *User_Data) GetContact() bool

func (*User_Data) GetDeleted

func (m *User_Data) GetDeleted() bool

func (*User_Data) GetFirstName

func (m *User_Data) GetFirstName() string

func (*User_Data) GetId

func (m *User_Data) GetId() int32

func (*User_Data) GetLangCode

func (m *User_Data) GetLangCode() string

func (*User_Data) GetLastName

func (m *User_Data) GetLastName() string

func (*User_Data) GetMin

func (m *User_Data) GetMin() bool

func (*User_Data) GetMutualContact

func (m *User_Data) GetMutualContact() bool

func (*User_Data) GetPhone

func (m *User_Data) GetPhone() string

func (*User_Data) GetPhoto

func (m *User_Data) GetPhoto() *UserProfilePhoto

func (*User_Data) GetRestricted

func (m *User_Data) GetRestricted() bool

func (*User_Data) GetRestrictionReason

func (m *User_Data) GetRestrictionReason() string

func (*User_Data) GetSelf

func (m *User_Data) GetSelf() bool

func (*User_Data) GetStatus

func (m *User_Data) GetStatus() *UserStatus

func (*User_Data) GetUsername

func (m *User_Data) GetUsername() string

func (*User_Data) GetVerified

func (m *User_Data) GetVerified() bool

func (*User_Data) ProtoMessage

func (*User_Data) ProtoMessage()

func (*User_Data) Reset

func (m *User_Data) Reset()

func (*User_Data) String

func (m *User_Data) String() string

type VectorInt

type VectorInt struct {
	Datas []int32 `protobuf:"varint,1,rep,packed,name=datas" json:"datas,omitempty"`
}

func NewVectorInt

func NewVectorInt() *VectorInt

//////////////////////////////////////////////////////////////////////////////

message Vector_int {
   repeated int32 datas = 1;
}

func (*VectorInt) Decode

func (m *VectorInt) Decode(dbuf *DecodeBuf) error

func (*VectorInt) Descriptor

func (*VectorInt) Descriptor() ([]byte, []int)

func (*VectorInt) Encode

func (m *VectorInt) Encode() []byte

func (*VectorInt) GetDatas

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

func (*VectorInt) ProtoMessage

func (*VectorInt) ProtoMessage()

func (*VectorInt) Reset

func (m *VectorInt) Reset()

func (*VectorInt) String

func (m *VectorInt) String() string

type VectorLong

type VectorLong struct {
	Datas []int64 `protobuf:"varint,1,rep,packed,name=datas" json:"datas,omitempty"`
}

func NewVectorLong

func NewVectorLong() *VectorLong

//////////////////////////////////////////////////////////////////////////////

message Vector_long {
   repeated int64 datas = 1;
}

func (*VectorLong) Decode

func (m *VectorLong) Decode(dbuf *DecodeBuf) error

func (*VectorLong) Descriptor

func (*VectorLong) Descriptor() ([]byte, []int)

func (*VectorLong) Encode

func (m *VectorLong) Encode() []byte

func (*VectorLong) GetDatas

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

func (*VectorLong) ProtoMessage

func (*VectorLong) ProtoMessage()

func (*VectorLong) Reset

func (m *VectorLong) Reset()

func (*VectorLong) String

func (m *VectorLong) String() string

type Vector_CdnFileHash

type Vector_CdnFileHash struct {
	Datas []*CdnFileHash `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_CdnFileHash

func NewVector_CdnFileHash() *Vector_CdnFileHash

//////////////////////////////////////////////////////////////////////////////

message Vector_CdnFileHash {
   repeated CdnFileHash datas = 1;
}

func (*Vector_CdnFileHash) Decode

func (m *Vector_CdnFileHash) Decode(dbuf *DecodeBuf) error

func (*Vector_CdnFileHash) Descriptor

func (*Vector_CdnFileHash) Descriptor() ([]byte, []int)

func (*Vector_CdnFileHash) Encode

func (m *Vector_CdnFileHash) Encode() []byte

func (*Vector_CdnFileHash) GetDatas

func (m *Vector_CdnFileHash) GetDatas() []*CdnFileHash

func (*Vector_CdnFileHash) ProtoMessage

func (*Vector_CdnFileHash) ProtoMessage()

func (*Vector_CdnFileHash) Reset

func (m *Vector_CdnFileHash) Reset()

func (*Vector_CdnFileHash) String

func (m *Vector_CdnFileHash) String() string

type Vector_ContactStatus

type Vector_ContactStatus struct {
	Datas []*ContactStatus `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_ContactStatus

func NewVector_ContactStatus() *Vector_ContactStatus

//////////////////////////////////////////////////////////////////////////////

message Vector_ContactStatus {
   repeated ContactStatus datas = 1;
}

func (*Vector_ContactStatus) Decode

func (m *Vector_ContactStatus) Decode(dbuf *DecodeBuf) error

func (*Vector_ContactStatus) Descriptor

func (*Vector_ContactStatus) Descriptor() ([]byte, []int)

func (*Vector_ContactStatus) Encode

func (m *Vector_ContactStatus) Encode() []byte

func (*Vector_ContactStatus) GetDatas

func (m *Vector_ContactStatus) GetDatas() []*ContactStatus

func (*Vector_ContactStatus) ProtoMessage

func (*Vector_ContactStatus) ProtoMessage()

func (*Vector_ContactStatus) Reset

func (m *Vector_ContactStatus) Reset()

func (*Vector_ContactStatus) String

func (m *Vector_ContactStatus) String() string

type Vector_LangPackLanguage

type Vector_LangPackLanguage struct {
	Datas []*LangPackLanguage `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_LangPackLanguage

func NewVector_LangPackLanguage() *Vector_LangPackLanguage

//////////////////////////////////////////////////////////////////////////////

message Vector_LangPackLanguage {
   repeated LangPackLanguage datas = 1;
}

func (*Vector_LangPackLanguage) Decode

func (m *Vector_LangPackLanguage) Decode(dbuf *DecodeBuf) error

func (*Vector_LangPackLanguage) Descriptor

func (*Vector_LangPackLanguage) Descriptor() ([]byte, []int)

func (*Vector_LangPackLanguage) Encode

func (m *Vector_LangPackLanguage) Encode() []byte

func (*Vector_LangPackLanguage) GetDatas

func (m *Vector_LangPackLanguage) GetDatas() []*LangPackLanguage

func (*Vector_LangPackLanguage) ProtoMessage

func (*Vector_LangPackLanguage) ProtoMessage()

func (*Vector_LangPackLanguage) Reset

func (m *Vector_LangPackLanguage) Reset()

func (*Vector_LangPackLanguage) String

func (m *Vector_LangPackLanguage) String() string

type Vector_LangPackString

type Vector_LangPackString struct {
	Datas []*LangPackString `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_LangPackString

func NewVector_LangPackString() *Vector_LangPackString

//////////////////////////////////////////////////////////////////////////////

message Vector_LangPackString {
   repeated LangPackString datas = 1;
}

func (*Vector_LangPackString) Decode

func (m *Vector_LangPackString) Decode(dbuf *DecodeBuf) error

func (*Vector_LangPackString) Descriptor

func (*Vector_LangPackString) Descriptor() ([]byte, []int)

func (*Vector_LangPackString) Encode

func (m *Vector_LangPackString) Encode() []byte

func (*Vector_LangPackString) GetDatas

func (m *Vector_LangPackString) GetDatas() []*LangPackString

func (*Vector_LangPackString) ProtoMessage

func (*Vector_LangPackString) ProtoMessage()

func (*Vector_LangPackString) Reset

func (m *Vector_LangPackString) Reset()

func (*Vector_LangPackString) String

func (m *Vector_LangPackString) String() string

type Vector_ReceivedNotifyMessage

type Vector_ReceivedNotifyMessage struct {
	Datas []*ReceivedNotifyMessage `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_ReceivedNotifyMessage

func NewVector_ReceivedNotifyMessage() *Vector_ReceivedNotifyMessage
message Vector_ReceivedNotifyMessage {
   repeated ReceivedNotifyMessage datas = 1;
}

func (*Vector_ReceivedNotifyMessage) Decode

func (m *Vector_ReceivedNotifyMessage) Decode(dbuf *DecodeBuf) error

func (*Vector_ReceivedNotifyMessage) Descriptor

func (*Vector_ReceivedNotifyMessage) Descriptor() ([]byte, []int)

func (*Vector_ReceivedNotifyMessage) Encode

func (m *Vector_ReceivedNotifyMessage) Encode() []byte

func (*Vector_ReceivedNotifyMessage) GetDatas

func (*Vector_ReceivedNotifyMessage) ProtoMessage

func (*Vector_ReceivedNotifyMessage) ProtoMessage()

func (*Vector_ReceivedNotifyMessage) Reset

func (m *Vector_ReceivedNotifyMessage) Reset()

func (*Vector_ReceivedNotifyMessage) String

type Vector_StickerSetCovered

type Vector_StickerSetCovered struct {
	Datas []*StickerSetCovered `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_StickerSetCovered

func NewVector_StickerSetCovered() *Vector_StickerSetCovered

//////////////////////////////////////////////////////////////////////////////

message Vector_StickerSetCovered {
   repeated StickerSetCovered datas = 1;
}

func (*Vector_StickerSetCovered) Decode

func (m *Vector_StickerSetCovered) Decode(dbuf *DecodeBuf) error

func (*Vector_StickerSetCovered) Descriptor

func (*Vector_StickerSetCovered) Descriptor() ([]byte, []int)

func (*Vector_StickerSetCovered) Encode

func (m *Vector_StickerSetCovered) Encode() []byte

func (*Vector_StickerSetCovered) GetDatas

func (*Vector_StickerSetCovered) ProtoMessage

func (*Vector_StickerSetCovered) ProtoMessage()

func (*Vector_StickerSetCovered) Reset

func (m *Vector_StickerSetCovered) Reset()

func (*Vector_StickerSetCovered) String

func (m *Vector_StickerSetCovered) String() string

type Vector_User

type Vector_User struct {
	Datas []*User `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

func NewVector_User

func NewVector_User() *Vector_User

//////////////////////////////////////////////////////////////////////////////

message Vector_User {
   repeated User datas = 1;
}

func (*Vector_User) Decode

func (m *Vector_User) Decode(dbuf *DecodeBuf) error

func (*Vector_User) Descriptor

func (*Vector_User) Descriptor() ([]byte, []int)

func (*Vector_User) Encode

func (m *Vector_User) Encode() []byte

func (*Vector_User) GetDatas

func (m *Vector_User) GetDatas() []*User

func (*Vector_User) ProtoMessage

func (*Vector_User) ProtoMessage()

func (*Vector_User) Reset

func (m *Vector_User) Reset()

func (*Vector_User) String

func (m *Vector_User) String() string

type Vector_WallPaper

type Vector_WallPaper struct {
	Datas []*WallPaper `protobuf:"bytes,1,rep,name=datas" json:"datas,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// Vector api result type

func NewVector_WallPaper

func NewVector_WallPaper() *Vector_WallPaper

////////////////////////////////////////////////////////////////////////////// // Vector api result type

message Vector_WallPaper {
   repeated WallPaper datas = 1;
}

func (*Vector_WallPaper) Decode

func (m *Vector_WallPaper) Decode(dbuf *DecodeBuf) error

func (*Vector_WallPaper) Descriptor

func (*Vector_WallPaper) Descriptor() ([]byte, []int)

func (*Vector_WallPaper) Encode

func (m *Vector_WallPaper) Encode() []byte

func (*Vector_WallPaper) GetDatas

func (m *Vector_WallPaper) GetDatas() []*WallPaper

func (*Vector_WallPaper) ProtoMessage

func (*Vector_WallPaper) ProtoMessage()

func (*Vector_WallPaper) Reset

func (m *Vector_WallPaper) Reset()

func (*Vector_WallPaper) String

func (m *Vector_WallPaper) String() string

type VoidRsp

type VoidRsp struct {
}

func (*VoidRsp) Descriptor

func (*VoidRsp) Descriptor() ([]byte, []int)

func (*VoidRsp) ProtoMessage

func (*VoidRsp) ProtoMessage()

func (*VoidRsp) Reset

func (m *VoidRsp) Reset()

func (*VoidRsp) String

func (m *VoidRsp) String() string

type WallPaper

type WallPaper struct {
	Constructor TLConstructor   `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *WallPaper_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*WallPaper) Decode

func (m *WallPaper) Decode(dbuf *DecodeBuf) error

func (*WallPaper) Descriptor

func (*WallPaper) Descriptor() ([]byte, []int)

func (*WallPaper) Encode

func (m *WallPaper) Encode() []byte

func (*WallPaper) GetConstructor

func (m *WallPaper) GetConstructor() TLConstructor

func (*WallPaper) GetData2

func (m *WallPaper) GetData2() *WallPaper_Data

func (*WallPaper) ProtoMessage

func (*WallPaper) ProtoMessage()

func (*WallPaper) Reset

func (m *WallPaper) Reset()

func (*WallPaper) String

func (m *WallPaper) String() string

func (*WallPaper) To_WallPaper

func (m *WallPaper) To_WallPaper() *TLWallPaper

wallPaper#ccb03657 id:int title:string sizes:Vector<PhotoSize> color:int = WallPaper;

func (*WallPaper) To_WallPaperSolid

func (m *WallPaper) To_WallPaperSolid() *TLWallPaperSolid

wallPaperSolid#63117f24 id:int title:string bg_color:int color:int = WallPaper;

type WallPaper_Data

type WallPaper_Data struct {
	Id      int32        `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Title   string       `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
	Sizes   []*PhotoSize `protobuf:"bytes,3,rep,name=sizes" json:"sizes,omitempty"`
	Color   int32        `protobuf:"varint,4,opt,name=color" json:"color,omitempty"`
	BgColor int32        `protobuf:"varint,5,opt,name=bg_color,json=bgColor" json:"bg_color,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// WallPaper <--

  • TL_wallPaper
  • TL_wallPaperSolid

func (*WallPaper_Data) Descriptor

func (*WallPaper_Data) Descriptor() ([]byte, []int)

func (*WallPaper_Data) GetBgColor

func (m *WallPaper_Data) GetBgColor() int32

func (*WallPaper_Data) GetColor

func (m *WallPaper_Data) GetColor() int32

func (*WallPaper_Data) GetId

func (m *WallPaper_Data) GetId() int32

func (*WallPaper_Data) GetSizes

func (m *WallPaper_Data) GetSizes() []*PhotoSize

func (*WallPaper_Data) GetTitle

func (m *WallPaper_Data) GetTitle() string

func (*WallPaper_Data) ProtoMessage

func (*WallPaper_Data) ProtoMessage()

func (*WallPaper_Data) Reset

func (m *WallPaper_Data) Reset()

func (*WallPaper_Data) String

func (m *WallPaper_Data) String() string

type WebDocument

type WebDocument struct {
	Constructor TLConstructor     `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *WebDocument_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*WebDocument) Decode

func (m *WebDocument) Decode(dbuf *DecodeBuf) error

func (*WebDocument) Descriptor

func (*WebDocument) Descriptor() ([]byte, []int)

func (*WebDocument) Encode

func (m *WebDocument) Encode() []byte

func (*WebDocument) GetConstructor

func (m *WebDocument) GetConstructor() TLConstructor

func (*WebDocument) GetData2

func (m *WebDocument) GetData2() *WebDocument_Data

func (*WebDocument) ProtoMessage

func (*WebDocument) ProtoMessage()

func (*WebDocument) Reset

func (m *WebDocument) Reset()

func (*WebDocument) String

func (m *WebDocument) String() string

func (*WebDocument) To_WebDocument

func (m *WebDocument) To_WebDocument() *TLWebDocument

webDocument#c61acbd8 url:string access_hash:long size:int mime_type:string attributes:Vector<DocumentAttribute> dc_id:int = WebDocument;

type WebDocument_Data

type WebDocument_Data struct {
	Url        string               `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
	AccessHash int64                `protobuf:"varint,2,opt,name=access_hash,json=accessHash" json:"access_hash,omitempty"`
	Size       int32                `protobuf:"varint,3,opt,name=size" json:"size,omitempty"`
	MimeType   string               `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
	Attributes []*DocumentAttribute `protobuf:"bytes,5,rep,name=attributes" json:"attributes,omitempty"`
	DcId       int32                `protobuf:"varint,6,opt,name=dc_id,json=dcId" json:"dc_id,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// WebDocument <--

  • TL_webDocument

func (*WebDocument_Data) Descriptor

func (*WebDocument_Data) Descriptor() ([]byte, []int)

func (*WebDocument_Data) GetAccessHash

func (m *WebDocument_Data) GetAccessHash() int64

func (*WebDocument_Data) GetAttributes

func (m *WebDocument_Data) GetAttributes() []*DocumentAttribute

func (*WebDocument_Data) GetDcId

func (m *WebDocument_Data) GetDcId() int32

func (*WebDocument_Data) GetMimeType

func (m *WebDocument_Data) GetMimeType() string

func (*WebDocument_Data) GetSize

func (m *WebDocument_Data) GetSize() int32

func (*WebDocument_Data) GetUrl

func (m *WebDocument_Data) GetUrl() string

func (*WebDocument_Data) ProtoMessage

func (*WebDocument_Data) ProtoMessage()

func (*WebDocument_Data) Reset

func (m *WebDocument_Data) Reset()

func (*WebDocument_Data) String

func (m *WebDocument_Data) String() string

type WebPage

type WebPage struct {
	Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,enum=mtproto.TLConstructor" json:"constructor,omitempty"`
	Data2       *WebPage_Data `protobuf:"bytes,2,opt,name=data2" json:"data2,omitempty"`
}

func (*WebPage) Decode

func (m *WebPage) Decode(dbuf *DecodeBuf) error

func (*WebPage) Descriptor

func (*WebPage) Descriptor() ([]byte, []int)

func (*WebPage) Encode

func (m *WebPage) Encode() []byte

func (*WebPage) GetConstructor

func (m *WebPage) GetConstructor() TLConstructor

func (*WebPage) GetData2

func (m *WebPage) GetData2() *WebPage_Data

func (*WebPage) ProtoMessage

func (*WebPage) ProtoMessage()

func (*WebPage) Reset

func (m *WebPage) Reset()

func (*WebPage) String

func (m *WebPage) String() string

func (*WebPage) To_WebPage

func (m *WebPage) To_WebPage() *TLWebPage

webPage#5f07b4bc flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page = WebPage;

func (*WebPage) To_WebPageEmpty

func (m *WebPage) To_WebPageEmpty() *TLWebPageEmpty

webPageEmpty#eb1477e8 id:long = WebPage;

func (*WebPage) To_WebPageNotModified

func (m *WebPage) To_WebPageNotModified() *TLWebPageNotModified

webPageNotModified#85849473 = WebPage;

func (*WebPage) To_WebPagePending

func (m *WebPage) To_WebPagePending() *TLWebPagePending

webPagePending#c586da1c id:long date:int = WebPage;

type WebPage_Data

type WebPage_Data struct {
	Id          int64     `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Date        int32     `protobuf:"varint,2,opt,name=date" json:"date,omitempty"`
	Url         string    `protobuf:"bytes,3,opt,name=url" json:"url,omitempty"`
	DisplayUrl  string    `protobuf:"bytes,4,opt,name=display_url,json=displayUrl" json:"display_url,omitempty"`
	Hash        int32     `protobuf:"varint,5,opt,name=hash" json:"hash,omitempty"`
	Type        string    `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
	SiteName    string    `protobuf:"bytes,7,opt,name=site_name,json=siteName" json:"site_name,omitempty"`
	Title       string    `protobuf:"bytes,8,opt,name=title" json:"title,omitempty"`
	Description string    `protobuf:"bytes,9,opt,name=description" json:"description,omitempty"`
	Photo       *Photo    `protobuf:"bytes,10,opt,name=photo" json:"photo,omitempty"`
	EmbedUrl    string    `protobuf:"bytes,11,opt,name=embed_url,json=embedUrl" json:"embed_url,omitempty"`
	EmbedType   string    `protobuf:"bytes,12,opt,name=embed_type,json=embedType" json:"embed_type,omitempty"`
	EmbedWidth  int32     `protobuf:"varint,13,opt,name=embed_width,json=embedWidth" json:"embed_width,omitempty"`
	EmbedHeight int32     `protobuf:"varint,14,opt,name=embed_height,json=embedHeight" json:"embed_height,omitempty"`
	Duration    int32     `protobuf:"varint,15,opt,name=duration" json:"duration,omitempty"`
	Author      string    `protobuf:"bytes,16,opt,name=author" json:"author,omitempty"`
	Document    *Document `protobuf:"bytes,17,opt,name=document" json:"document,omitempty"`
	CachedPage  *Page     `protobuf:"bytes,18,opt,name=cached_page,json=cachedPage" json:"cached_page,omitempty"`
}

///////////////////////////////////////////////////////////////////////////// WebPage <--

  • TL_webPageEmpty
  • TL_webPagePending
  • TL_webPage
  • TL_webPageNotModified

func (*WebPage_Data) Descriptor

func (*WebPage_Data) Descriptor() ([]byte, []int)

func (*WebPage_Data) GetAuthor

func (m *WebPage_Data) GetAuthor() string

func (*WebPage_Data) GetCachedPage

func (m *WebPage_Data) GetCachedPage() *Page

func (*WebPage_Data) GetDate

func (m *WebPage_Data) GetDate() int32

func (*WebPage_Data) GetDescription

func (m *WebPage_Data) GetDescription() string

func (*WebPage_Data) GetDisplayUrl

func (m *WebPage_Data) GetDisplayUrl() string

func (*WebPage_Data) GetDocument

func (m *WebPage_Data) GetDocument() *Document

func (*WebPage_Data) GetDuration

func (m *WebPage_Data) GetDuration() int32

func (*WebPage_Data) GetEmbedHeight

func (m *WebPage_Data) GetEmbedHeight() int32

func (*WebPage_Data) GetEmbedType

func (m *WebPage_Data) GetEmbedType() string

func (*WebPage_Data) GetEmbedUrl

func (m *WebPage_Data) GetEmbedUrl() string

func (*WebPage_Data) GetEmbedWidth

func (m *WebPage_Data) GetEmbedWidth() int32

func (*WebPage_Data) GetHash

func (m *WebPage_Data) GetHash() int32

func (*WebPage_Data) GetId

func (m *WebPage_Data) GetId() int64

func (*WebPage_Data) GetPhoto

func (m *WebPage_Data) GetPhoto() *Photo

func (*WebPage_Data) GetSiteName

func (m *WebPage_Data) GetSiteName() string

func (*WebPage_Data) GetTitle

func (m *WebPage_Data) GetTitle() string

func (*WebPage_Data) GetType

func (m *WebPage_Data) GetType() string

func (*WebPage_Data) GetUrl

func (m *WebPage_Data) GetUrl() string

func (*WebPage_Data) ProtoMessage

func (*WebPage_Data) ProtoMessage()

func (*WebPage_Data) Reset

func (m *WebPage_Data) Reset()

func (*WebPage_Data) String

func (m *WebPage_Data) String() string

type ZProto

type ZProto struct {
}

func (*ZProto) NewCodec

func (this *ZProto) NewCodec(rw io.ReadWriter) (net2.Codec, error)

type ZProtoAck

type ZProtoAck struct {
	ReceivedPackageIndex int
}

func (*ZProtoAck) Decode

func (m *ZProtoAck) Decode(b []byte) error

func (*ZProtoAck) Encode

func (m *ZProtoAck) Encode() []byte

type ZProtoCodec

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

func (*ZProtoCodec) Close

func (c *ZProtoCodec) Close() error

func (*ZProtoCodec) Receive

func (c *ZProtoCodec) Receive() (interface{}, error)

func (*ZProtoCodec) Send

func (c *ZProtoCodec) Send(msg interface{}) error

type ZProtoDrop

type ZProtoDrop struct {
	MessageId    int64
	ErrorCode    int32
	ErrorMessage string
}

func (*ZProtoDrop) Decode

func (m *ZProtoDrop) Decode(b []byte) error

func (*ZProtoDrop) Encode

func (m *ZProtoDrop) Encode() []byte

type ZProtoHandshakeMessage

type ZProtoHandshakeMessage struct {
	State      *HandshakeState
	MTPMessage *MTPRawMessage
}

func (*ZProtoHandshakeMessage) Decode

func (m *ZProtoHandshakeMessage) Decode(b []byte) error

func (*ZProtoHandshakeMessage) Encode

func (m *ZProtoHandshakeMessage) Encode() []byte

type ZProtoHandshakeReq

type ZProtoHandshakeReq struct {
	ProtoRevision int
	RandomBytes   [32]byte
}

func (*ZProtoHandshakeReq) Decode

func (m *ZProtoHandshakeReq) Decode(b []byte) error

func (*ZProtoHandshakeReq) Encode

func (m *ZProtoHandshakeReq) Encode() []byte

type ZProtoHandshakeRes

type ZProtoHandshakeRes struct {
	ProtoRevision int
	Sha1          [32]byte
}

func (*ZProtoHandshakeRes) Decode

func (m *ZProtoHandshakeRes) Decode(b []byte) error

func (*ZProtoHandshakeRes) Encode

func (m *ZProtoHandshakeRes) Encode() []byte

type ZProtoMarsSignal

type ZProtoMarsSignal struct {
}

func (*ZProtoMarsSignal) Decode

func (m *ZProtoMarsSignal) Decode(b []byte) error

func (*ZProtoMarsSignal) Encode

func (m *ZProtoMarsSignal) Encode() []byte

type ZProtoMessage

type ZProtoMessage struct {
	SessionId uint64
	SeqNum    uint64
	Metadata  *ZProtoMetadata
	Message   net2.MessageBase
}

func (*ZProtoMessage) Decode

func (m *ZProtoMessage) Decode(b []byte) error

func (*ZProtoMessage) Encode

func (m *ZProtoMessage) Encode() []byte

type ZProtoMessageAck

type ZProtoMessageAck struct {
	MessageIds []uint64
}

func (*ZProtoMessageAck) Decode

func (m *ZProtoMessageAck) Decode(b []byte) error

func (*ZProtoMessageAck) Encode

func (m *ZProtoMessageAck) Encode() []byte

type ZProtoMetadata

type ZProtoMetadata struct {
	ServerId     int
	ClientConnId uint64
	ClientAddr   string
	TraceId      int64
	SpanId       int64
	ReceiveTime  int64
	From         string
	// To           string
	Options map[string]string
	// contains filtered or unexported fields
}

///////////////////////////////////////////////////////////////

func (*ZProtoMetadata) Decode

func (m *ZProtoMetadata) Decode(b []byte) error

func (*ZProtoMetadata) Encode

func (m *ZProtoMetadata) Encode() []byte

type ZProtoPackageData

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

type ZProtoPing

type ZProtoPing struct {
	PingId int64
}

func (*ZProtoPing) Decode

func (m *ZProtoPing) Decode(b []byte) error

func (*ZProtoPing) Encode

func (m *ZProtoPing) Encode() []byte

type ZProtoPong

type ZProtoPong struct {
	MessageId int64
	PingId    int64
}

func (*ZProtoPong) Decode

func (m *ZProtoPong) Decode(b []byte) error

func (*ZProtoPong) Encode

func (m *ZProtoPong) Encode() []byte

type ZProtoRawPayload

type ZProtoRawPayload struct {
	Payload []byte
}

func (*ZProtoRawPayload) Decode

func (m *ZProtoRawPayload) Decode(b []byte) error

func (*ZProtoRawPayload) Encode

func (m *ZProtoRawPayload) Encode() []byte

type ZProtoRedirect

type ZProtoRedirect struct {
	Host    string
	Port    int
	Timeout int
}

RPC很少使用这条消息

func (*ZProtoRedirect) Decode

func (m *ZProtoRedirect) Decode(b []byte) error

func (*ZProtoRedirect) Encode

func (m *ZProtoRedirect) Encode() []byte

type ZProtoRpcError

type ZProtoRpcError struct {
	RequestMessageId int64
	ErrorCode        int
	ErrorTag         string
	UserMessage      string
	CanTryAgain      bool
	ErrorData        []byte
}

func (*ZProtoRpcError) Decode

func (m *ZProtoRpcError) Decode(b []byte) error

func (*ZProtoRpcError) Encode

func (m *ZProtoRpcError) Encode() []byte

type ZProtoRpcFloodWait

type ZProtoRpcFloodWait struct {
	RequestMessageId int64
	Delay            int
}

func (*ZProtoRpcFloodWait) Decode

func (m *ZProtoRpcFloodWait) Decode(b []byte) error

func (*ZProtoRpcFloodWait) Encode

func (m *ZProtoRpcFloodWait) Encode() []byte

type ZProtoRpcInternalError

type ZProtoRpcInternalError struct {
	RequestMessageId int64
	CanTryAgain      bool
	TryAgainDelay    int
}

func (*ZProtoRpcInternalError) Decode

func (m *ZProtoRpcInternalError) Decode(b []byte) error

func (*ZProtoRpcInternalError) Encode

func (m *ZProtoRpcInternalError) Encode() []byte

type ZProtoRpcOk

type ZProtoRpcOk struct {
	RequestMessageId int64
	MethodResponseId string
	Body             []byte
}

func (*ZProtoRpcOk) Decode

func (m *ZProtoRpcOk) Decode(b []byte) error

func (*ZProtoRpcOk) Encode

func (m *ZProtoRpcOk) Encode() []byte

type ZProtoRpcRequest

type ZProtoRpcRequest struct {
	MethodId string
	Body     []byte
}

func (*ZProtoRpcRequest) Decode

func (m *ZProtoRpcRequest) Decode(b []byte) error

func (*ZProtoRpcRequest) Encode

func (m *ZProtoRpcRequest) Encode() []byte

type ZProtoSessionClientClosed

type ZProtoSessionClientClosed struct {
}

/////////////////////////////////////////////////////////////////////////////////////////

func (*ZProtoSessionClientClosed) Decode

func (m *ZProtoSessionClientClosed) Decode(b []byte) error

func (*ZProtoSessionClientClosed) Encode

func (m *ZProtoSessionClientClosed) Encode() []byte

type ZProtoSessionClientNew

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

/////////////////////////////////////////////////////////////////////////////////////////

func (*ZProtoSessionClientNew) Decode

func (m *ZProtoSessionClientNew) Decode(b []byte) error

func (*ZProtoSessionClientNew) Encode

func (m *ZProtoSessionClientNew) Encode() []byte

type ZProtoSessionData

type ZProtoSessionData struct {
	// MTPPayload    []byte
	MTPMessage *MTPRawMessage
}

func (*ZProtoSessionData) Decode

func (m *ZProtoSessionData) Decode(b []byte) error

func (*ZProtoSessionData) Encode

func (m *ZProtoSessionData) Encode() []byte

type ZRPCAuthKeyClient

type ZRPCAuthKeyClient interface {
	QueryAuthKey(ctx context.Context, in *AuthKeyRequest, opts ...grpc.CallOption) (*AuthKeyData, error)
	// TODO(@benqi): remove to biz_auth service
	QueryUserId(ctx context.Context, in *AuthKeyIdRequest, opts ...grpc.CallOption) (*UserIdResponse, error)
}

func NewZRPCAuthKeyClient

func NewZRPCAuthKeyClient(cc *grpc.ClientConn) ZRPCAuthKeyClient

type ZRPCAuthKeyServer

type ZRPCAuthKeyServer interface {
	QueryAuthKey(context.Context, *AuthKeyRequest) (*AuthKeyData, error)
	// TODO(@benqi): remove to biz_auth service
	QueryUserId(context.Context, *AuthKeyIdRequest) (*UserIdResponse, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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