mtprotox

package module
v0.0.0-...-4acb813 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: GPL-3.0 Imports: 20 Imported by: 0

README

mtx

Usage: After clone , add this line in import section of your project`s files; import mtprotox "github.com/ghoroubi/mtx"


Prerequest: https://github.com/ghoroubi/mt.git

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AES256IGE_decrypt

func AES256IGE_decrypt(data, key, iv []byte) ([]byte, error)

func AES256IGE_encrypt

func AES256IGE_encrypt(data, key, iv []byte) ([]byte, error)

func GenerateMessageId

func GenerateMessageId() int64

func GenerateNonce

func GenerateNonce(size int) []byte

func MakeGAB

func MakeGAB(g int32, g_a, dh_prime *big.Int) (b, g_b, g_ab *big.Int)

func RSA_encrypt

func RSA_encrypt(em []byte) []byte

func SplitPQ

func SplitPQ(pq *big.Int) (p1, p2 *big.Int)

Types

type DecodeBuf

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

func NewDecodeBuf

func NewDecodeBuf(b []byte) *DecodeBuf

func (*DecodeBuf) BigInt

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

func (*DecodeBuf) Bool

func (m *DecodeBuf) Bool() (r bool)

func (*DecodeBuf) Bytes

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

func (*DecodeBuf) Double

func (m *DecodeBuf) Double() (r float64)

func (*DecodeBuf) Int

func (m *DecodeBuf) Int() (r int32)

func (*DecodeBuf) Long

func (m *DecodeBuf) Long() (r int64)

func (*DecodeBuf) Object

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

func (*DecodeBuf) ObjectGenerated

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

func (*DecodeBuf) String

func (m *DecodeBuf) String() (r string)

func (*DecodeBuf) StringBytes

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

func (*DecodeBuf) UInt

func (m *DecodeBuf) UInt() (r uint32)

func (*DecodeBuf) Vector

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

func (*DecodeBuf) VectorInt

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

func (*DecodeBuf) VectorLong

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

func (*DecodeBuf) VectorString

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

type EncodeBuf

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

func NewEncodeBuf

func NewEncodeBuf(cap int) *EncodeBuf

func (*EncodeBuf) BigInt

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

func (*EncodeBuf) Bytes

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

func (*EncodeBuf) Double

func (e *EncodeBuf) Double(s float64)

func (*EncodeBuf) Int

func (e *EncodeBuf) Int(s int32)

func (*EncodeBuf) Long

func (e *EncodeBuf) Long(s int64)

func (*EncodeBuf) String

func (e *EncodeBuf) String(s string)

func (*EncodeBuf) StringBytes

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

func (*EncodeBuf) UInt

func (e *EncodeBuf) UInt(s uint32)

func (*EncodeBuf) Vector

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

func (*EncodeBuf) VectorInt

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

func (*EncodeBuf) VectorLong

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

func (*EncodeBuf) VectorString

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

type MTProto

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

func NewMTProto

func NewMTProto(authkeyfile string) (*MTProto, error)

func (*MTProto) Auth

func (m *MTProto) Auth(phonenumber string) error

func (*MTProto) Connect

func (m *MTProto) Connect() error

func (*MTProto) GetContacts

func (m *MTProto) GetContacts() ([]TL, error)

func (MTProto) GetUserID

func (m MTProto) GetUserID(phone string) int32

func (*MTProto) Halt

func (m *MTProto) Halt()

func (*MTProto) Process

func (m *MTProto) Process(msgId int64, seqNo int32, data interface{}) interface{}

func (*MTProto) Read

func (m *MTProto) Read(stop <-chan struct{}) (interface{}, error)

func (*MTProto) ReadRoutine

func (m *MTProto) ReadRoutine()

func (*MTProto) Reconnect

func (m *MTProto) Reconnect(newaddr string) error

func (*MTProto) SendMsg

func (m *MTProto) SendMsg(user_id int32, msg string) error

func (*MTProto) SendPacket

func (m *MTProto) SendPacket(msg TL, resp chan TL) error

func (*MTProto) SendRoutine

func (m *MTProto) SendRoutine()

type TL

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

type TL_MT_message

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

type TL_accountDaysTTL

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

type TL_account_changePhone

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

type TL_account_checkUsername

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

type TL_account_deleteAccount

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

type TL_account_getAccountTTL

type TL_account_getAccountTTL struct {
}

type TL_account_getNotifySettings

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

type TL_account_getPrivacy

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

type TL_account_getWallPapers

type TL_account_getWallPapers struct {
}

type TL_account_privacyRules

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

type TL_account_registerDevice

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

type TL_account_resetNotifySettings

type TL_account_resetNotifySettings struct {
}

type TL_account_sendChangePhoneCode

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

type TL_account_sentChangePhoneCode

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

type TL_account_setAccountTTL

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

type TL_account_setPrivacy

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

type TL_account_unregisterDevice

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

type TL_account_updateDeviceLocked

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

type TL_account_updateNotifySettings

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

type TL_account_updateProfile

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

type TL_account_updateStatus

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

type TL_account_updateUsername

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

type TL_audio

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

type TL_audioEmpty

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

type TL_auth_authorization

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

type TL_auth_bindTempAuthKey

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

type TL_auth_checkPhone

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

type TL_auth_checkedPhone

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

type TL_auth_exportAuthorization

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

type TL_auth_exportedAuthorization

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

type TL_auth_importAuthorization

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

type TL_auth_logOut

type TL_auth_logOut struct {
}

type TL_auth_resetAuthorizations

type TL_auth_resetAuthorizations struct {
}

type TL_auth_sendCall

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

type TL_auth_sendCode

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

type TL_auth_sendInvites

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

type TL_auth_sendSms

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

type TL_auth_sentAppCode

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

type TL_auth_sentCode

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

type TL_auth_signIn

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

type TL_auth_signUp

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

type TL_bad_server_salt

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

type TL_boolFalse

type TL_boolFalse struct {
}

type TL_boolTrue

type TL_boolTrue struct {
}

type TL_chat

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

type TL_chatEmpty

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

type TL_chatForbidden

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

type TL_chatFull

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

type TL_chatLocated

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

type TL_chatParticipant

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

type TL_chatParticipants

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

type TL_chatParticipantsForbidden

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

type TL_chatPhoto

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

type TL_chatPhotoEmpty

type TL_chatPhotoEmpty struct {
}

type TL_client_DH_inner_data

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

type TL_config

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

type TL_contact

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

type TL_contactBlocked

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

type TL_contactFound

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

type TL_contactStatus

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

type TL_contactSuggested

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

type TL_contacts_block

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

type TL_contacts_blocked

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

type TL_contacts_blockedSlice

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

type TL_contacts_contacts

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

type TL_contacts_contactsNotModified

type TL_contacts_contactsNotModified struct {
}

type TL_contacts_deleteContact

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

type TL_contacts_deleteContacts

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

type TL_contacts_exportCard

type TL_contacts_exportCard struct {
}

type TL_contacts_foreignLinkMutual

type TL_contacts_foreignLinkMutual struct {
}

type TL_contacts_foreignLinkRequested

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

type TL_contacts_foreignLinkUnknown

type TL_contacts_foreignLinkUnknown struct {
}

type TL_contacts_found

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

type TL_contacts_getBlocked

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

type TL_contacts_getContacts

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

type TL_contacts_getStatuses

type TL_contacts_getStatuses struct {
}

type TL_contacts_getSuggested

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

type TL_contacts_importCard

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

type TL_contacts_importContacts

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

type TL_contacts_importedContacts

type TL_contacts_importedContacts struct {
	// contains filtered or unexported fields
}
type TL_contacts_link struct {
	// contains filtered or unexported fields
}

type TL_contacts_myLinkContact

type TL_contacts_myLinkContact struct {
}

type TL_contacts_myLinkEmpty

type TL_contacts_myLinkEmpty struct {
}

type TL_contacts_myLinkRequested

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

type TL_contacts_resolveUsername

type TL_contacts_resolveUsername struct {
	// contains filtered or unexported fields
}
type TL_contacts_search struct {
	// contains filtered or unexported fields
}

type TL_contacts_suggested

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

type TL_contacts_unblock

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

type TL_crc_bad_msg_notification

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

type TL_dcOption

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

type TL_dh_gen_ok

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

type TL_dialog

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

type TL_disabledFeature

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

type TL_document

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

type TL_documentAttributeAnimated

type TL_documentAttributeAnimated struct {
}

type TL_documentAttributeAudio

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

type TL_documentAttributeFilename

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

type TL_documentAttributeImageSize

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

type TL_documentAttributeSticker

type TL_documentAttributeSticker struct {
}

type TL_documentAttributeVideo

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

type TL_documentEmpty

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

type TL_encryptedChat

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

type TL_encryptedChatDiscarded

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

type TL_encryptedChatEmpty

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

type TL_encryptedChatRequested

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

type TL_encryptedChatWaiting

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

type TL_encryptedFile

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

type TL_encryptedFileEmpty

type TL_encryptedFileEmpty struct {
}

type TL_encryptedMessage

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

type TL_encryptedMessageService

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

type TL_error

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

type TL_fileLocation

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

type TL_fileLocationUnavailable

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

type TL_geoChat

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

type TL_geoChatMessage

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

type TL_geoChatMessageEmpty

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

type TL_geoChatMessageService

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

type TL_geoPoint

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

type TL_geoPointEmpty

type TL_geoPointEmpty struct {
}

type TL_geochats_checkin

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

type TL_geochats_createGeoChat

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

type TL_geochats_editChatPhoto

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

type TL_geochats_editChatTitle

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

type TL_geochats_getFullChat

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

type TL_geochats_getHistory

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

type TL_geochats_getLocated

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

type TL_geochats_getRecents

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

type TL_geochats_located

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

type TL_geochats_messages

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

type TL_geochats_messagesSlice

type TL_geochats_messagesSlice struct {
	// contains filtered or unexported fields
}
type TL_geochats_search struct {
	// contains filtered or unexported fields
}

type TL_geochats_sendMedia

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

type TL_geochats_sendMessage

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

type TL_geochats_setTyping

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

type TL_geochats_statedMessage

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

type TL_help_appUpdate

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

type TL_help_getAppUpdate

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

type TL_help_getConfig

type TL_help_getConfig struct {
}

type TL_help_getInviteText

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

type TL_help_getNearestDc

type TL_help_getNearestDc struct {
}

type TL_help_getSupport

type TL_help_getSupport struct {
}

type TL_help_inviteText

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

type TL_help_noAppUpdate

type TL_help_noAppUpdate struct {
}

type TL_help_saveAppLog

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

type TL_help_support

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

type TL_importedContact

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

type TL_initConnection

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

type TL_inputAppEvent

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

type TL_inputAudio

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

type TL_inputAudioEmpty

type TL_inputAudioEmpty struct {
}

type TL_inputAudioFileLocation

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

type TL_inputChatPhoto

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

type TL_inputChatPhotoEmpty

type TL_inputChatPhotoEmpty struct {
}

type TL_inputChatUploadedPhoto

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

type TL_inputDocument

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

type TL_inputDocumentEmpty

type TL_inputDocumentEmpty struct {
}

type TL_inputDocumentFileLocation

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

type TL_inputEncryptedChat

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

type TL_inputEncryptedFile

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

type TL_inputEncryptedFileBigUploaded

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

type TL_inputEncryptedFileEmpty

type TL_inputEncryptedFileEmpty struct {
}

type TL_inputEncryptedFileLocation

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

type TL_inputEncryptedFileUploaded

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

type TL_inputFile

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

type TL_inputFileBig

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

type TL_inputFileLocation

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

type TL_inputGeoChat

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

type TL_inputGeoPoint

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

type TL_inputGeoPointEmpty

type TL_inputGeoPointEmpty struct {
}

type TL_inputMediaAudio

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

type TL_inputMediaContact

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

type TL_inputMediaDocument

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

type TL_inputMediaEmpty

type TL_inputMediaEmpty struct {
}

type TL_inputMediaGeoPoint

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

type TL_inputMediaPhoto

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

type TL_inputMediaUploadedAudio

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

type TL_inputMediaUploadedDocument

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

type TL_inputMediaUploadedPhoto

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

type TL_inputMediaUploadedThumbDocument

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

type TL_inputMediaUploadedThumbVideo

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

type TL_inputMediaUploadedVideo

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

type TL_inputMediaVideo

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

type TL_inputMessagesFilterAudio

type TL_inputMessagesFilterAudio struct {
}

type TL_inputMessagesFilterDocument

type TL_inputMessagesFilterDocument struct {
}

type TL_inputMessagesFilterEmpty

type TL_inputMessagesFilterEmpty struct {
}

type TL_inputMessagesFilterPhotoVideo

type TL_inputMessagesFilterPhotoVideo struct {
}

type TL_inputMessagesFilterPhotoVideoDocuments

type TL_inputMessagesFilterPhotoVideoDocuments struct {
}

type TL_inputMessagesFilterPhotos

type TL_inputMessagesFilterPhotos struct {
}

type TL_inputMessagesFilterVideo

type TL_inputMessagesFilterVideo struct {
}

type TL_inputNotifyAll

type TL_inputNotifyAll struct {
}

type TL_inputNotifyChats

type TL_inputNotifyChats struct {
}

type TL_inputNotifyGeoChatPeer

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

type TL_inputNotifyPeer

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

type TL_inputNotifyUsers

type TL_inputNotifyUsers struct {
}

type TL_inputPeerChat

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

type TL_inputPeerContact

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

type TL_inputPeerEmpty

type TL_inputPeerEmpty struct {
}

type TL_inputPeerForeign

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

type TL_inputPeerNotifyEventsAll

type TL_inputPeerNotifyEventsAll struct {
}

type TL_inputPeerNotifyEventsEmpty

type TL_inputPeerNotifyEventsEmpty struct {
}

type TL_inputPeerNotifySettings

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

type TL_inputPeerSelf

type TL_inputPeerSelf struct {
}

type TL_inputPhoneContact

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

type TL_inputPhoto

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

type TL_inputPhotoCrop

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

type TL_inputPhotoCropAuto

type TL_inputPhotoCropAuto struct {
}

type TL_inputPhotoEmpty

type TL_inputPhotoEmpty struct {
}

type TL_inputPrivacyKeyStatusTimestamp

type TL_inputPrivacyKeyStatusTimestamp struct {
}

type TL_inputPrivacyValueAllowAll

type TL_inputPrivacyValueAllowAll struct {
}

type TL_inputPrivacyValueAllowContacts

type TL_inputPrivacyValueAllowContacts struct {
}

type TL_inputPrivacyValueAllowUsers

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

type TL_inputPrivacyValueDisallowAll

type TL_inputPrivacyValueDisallowAll struct {
}

type TL_inputPrivacyValueDisallowContacts

type TL_inputPrivacyValueDisallowContacts struct {
}

type TL_inputPrivacyValueDisallowUsers

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

type TL_inputUserContact

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

type TL_inputUserEmpty

type TL_inputUserEmpty struct {
}

type TL_inputUserForeign

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

type TL_inputUserSelf

type TL_inputUserSelf struct {
}

type TL_inputVideo

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

type TL_inputVideoEmpty

type TL_inputVideoEmpty struct {
}

type TL_inputVideoFileLocation

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

type TL_invokeAfterMsg

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

type TL_invokeAfterMsgs

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

type TL_invokeWithLayer

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

type TL_message

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

type TL_messageActionChatAddUser

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

type TL_messageActionChatCreate

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

type TL_messageActionChatDeletePhoto

type TL_messageActionChatDeletePhoto struct {
}

type TL_messageActionChatDeleteUser

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

type TL_messageActionChatEditPhoto

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

type TL_messageActionChatEditTitle

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

type TL_messageActionEmpty

type TL_messageActionEmpty struct {
}

type TL_messageActionGeoChatCheckin

type TL_messageActionGeoChatCheckin struct {
}

type TL_messageActionGeoChatCreate

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

type TL_messageEmpty

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

type TL_messageForwarded

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

type TL_messageMediaAudio

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

type TL_messageMediaContact

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

type TL_messageMediaDocument

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

type TL_messageMediaEmpty

type TL_messageMediaEmpty struct {
}

type TL_messageMediaGeo

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

type TL_messageMediaPhoto

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

type TL_messageMediaUnsupported

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

type TL_messageMediaVideo

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

type TL_messageService

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

type TL_messages_acceptEncryption

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

type TL_messages_addChatUser

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

type TL_messages_affectedHistory

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

type TL_messages_allStickers

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

type TL_messages_allStickersNotModified

type TL_messages_allStickersNotModified struct {
}

type TL_messages_chatFull

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

type TL_messages_chats

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

type TL_messages_createChat

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

type TL_messages_deleteChatUser

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

type TL_messages_deleteHistory

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

type TL_messages_deleteMessages

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

type TL_messages_dhConfig

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

type TL_messages_dhConfigNotModified

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

type TL_messages_dialogs

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

type TL_messages_dialogsSlice

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

type TL_messages_discardEncryption

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

type TL_messages_editChatPhoto

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

type TL_messages_editChatTitle

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

type TL_messages_forwardMessage

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

type TL_messages_forwardMessages

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

type TL_messages_getAllStickers

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

type TL_messages_getChats

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

type TL_messages_getDhConfig

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

type TL_messages_getDialogs

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

type TL_messages_getFullChat

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

type TL_messages_getHistory

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

type TL_messages_getMessages

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

type TL_messages_getStickers

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

type TL_messages_messageEmpty

type TL_messages_messageEmpty struct {
}

type TL_messages_messages

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

type TL_messages_messagesSlice

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

type TL_messages_readEncryptedHistory

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

type TL_messages_readHistory

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

type TL_messages_readMessageContents

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

type TL_messages_receivedMessages

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

type TL_messages_receivedQueue

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

type TL_messages_requestEncryption

type TL_messages_requestEncryption struct {
	// contains filtered or unexported fields
}
type TL_messages_search struct {
	// contains filtered or unexported fields
}

type TL_messages_sendBroadcast

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

type TL_messages_sendEncrypted

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

type TL_messages_sendEncryptedFile

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

type TL_messages_sendEncryptedService

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

type TL_messages_sendMedia

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

type TL_messages_sendMessage

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

type TL_messages_sentEncryptedFile

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

type TL_messages_sentEncryptedMessage

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

type TL_messages_sentMessage

type TL_messages_sentMessage struct {
	// contains filtered or unexported fields
}
type TL_messages_sentMessageLink struct {
	// contains filtered or unexported fields
}

type TL_messages_setEncryptedTyping

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

type TL_messages_setTyping

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

type TL_messages_statedMessage

type TL_messages_statedMessage struct {
	// contains filtered or unexported fields
}
type TL_messages_statedMessageLink struct {
	// contains filtered or unexported fields
}

type TL_messages_statedMessages

type TL_messages_statedMessages struct {
	// contains filtered or unexported fields
}
type TL_messages_statedMessagesLinks struct {
	// contains filtered or unexported fields
}

type TL_messages_stickers

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

type TL_messages_stickersNotModified

type TL_messages_stickersNotModified struct {
}

type TL_msg_container

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

type TL_msgs_ack

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

type TL_nearestDc

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

type TL_new_session_created

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

type TL_notifyAll

type TL_notifyAll struct {
}

type TL_notifyChats

type TL_notifyChats struct {
}

type TL_notifyPeer

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

type TL_notifyUsers

type TL_notifyUsers struct {
}

type TL_null

type TL_null struct {
}

type TL_p_q_inner_data

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

type TL_peerChat

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

type TL_peerNotifyEventsAll

type TL_peerNotifyEventsAll struct {
}

type TL_peerNotifyEventsEmpty

type TL_peerNotifyEventsEmpty struct {
}

type TL_peerNotifySettings

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

type TL_peerNotifySettingsEmpty

type TL_peerNotifySettingsEmpty struct {
}

type TL_peerUser

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

type TL_photo

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

type TL_photoCachedSize

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

type TL_photoEmpty

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

type TL_photoSize

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

type TL_photoSizeEmpty

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

type TL_photos_deletePhotos

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

type TL_photos_getUserPhotos

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

type TL_photos_photo

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

type TL_photos_photos

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

type TL_photos_photosSlice

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

type TL_photos_updateProfilePhoto

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

type TL_photos_uploadProfilePhoto

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

type TL_ping

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

type TL_pong

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

type TL_privacyKeyStatusTimestamp

type TL_privacyKeyStatusTimestamp struct {
}

type TL_privacyValueAllowAll

type TL_privacyValueAllowAll struct {
}

type TL_privacyValueAllowContacts

type TL_privacyValueAllowContacts struct {
}

type TL_privacyValueAllowUsers

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

type TL_privacyValueDisallowAll

type TL_privacyValueDisallowAll struct {
}

type TL_privacyValueDisallowContacts

type TL_privacyValueDisallowContacts struct {
}

type TL_privacyValueDisallowUsers

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

type TL_req_DH_params

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

type TL_req_pq

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

type TL_resPQ

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

type TL_rpc_error

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

type TL_rpc_result

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

type TL_sendMessageCancelAction

type TL_sendMessageCancelAction struct {
}

type TL_sendMessageChooseContactAction

type TL_sendMessageChooseContactAction struct {
}

type TL_sendMessageGeoLocationAction

type TL_sendMessageGeoLocationAction struct {
}

type TL_sendMessageRecordAudioAction

type TL_sendMessageRecordAudioAction struct {
}

type TL_sendMessageRecordVideoAction

type TL_sendMessageRecordVideoAction struct {
}

type TL_sendMessageTypingAction

type TL_sendMessageTypingAction struct {
}

type TL_sendMessageUploadAudioAction

type TL_sendMessageUploadAudioAction struct {
}

type TL_sendMessageUploadDocumentAction

type TL_sendMessageUploadDocumentAction struct {
}

type TL_sendMessageUploadPhotoAction

type TL_sendMessageUploadPhotoAction struct {
}

type TL_sendMessageUploadVideoAction

type TL_sendMessageUploadVideoAction struct {
}

type TL_server_DH_inner_data

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

type TL_server_DH_params_ok

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

type TL_set_client_DH_params

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

type TL_stickerPack

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

type TL_storage_fileGif

type TL_storage_fileGif struct {
}

type TL_storage_fileJpeg

type TL_storage_fileJpeg struct {
}

type TL_storage_fileMov

type TL_storage_fileMov struct {
}

type TL_storage_fileMp3

type TL_storage_fileMp3 struct {
}

type TL_storage_fileMp4

type TL_storage_fileMp4 struct {
}

type TL_storage_filePartial

type TL_storage_filePartial struct {
}

type TL_storage_filePdf

type TL_storage_filePdf struct {
}

type TL_storage_filePng

type TL_storage_filePng struct {
}

type TL_storage_fileUnknown

type TL_storage_fileUnknown struct {
}

type TL_storage_fileWebp

type TL_storage_fileWebp struct {
}

type TL_updateChatParticipantAdd

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

type TL_updateChatParticipantDelete

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

type TL_updateChatParticipants

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

type TL_updateChatUserTyping

type TL_updateChatUserTyping struct {
	// contains filtered or unexported fields
}
type TL_updateContactLink struct {
	// contains filtered or unexported fields
}

type TL_updateContactRegistered

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

type TL_updateDcOptions

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

type TL_updateDeleteMessages

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

type TL_updateEncryptedChatTyping

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

type TL_updateEncryptedMessagesRead

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

type TL_updateEncryption

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

type TL_updateMessageID

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

type TL_updateNewAuthorization

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

type TL_updateNewEncryptedMessage

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

type TL_updateNewGeoChatMessage

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

type TL_updateNewMessage

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

type TL_updateNotifySettings

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

type TL_updatePrivacy

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

type TL_updateReadMessages

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

type TL_updateServiceNotification

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

type TL_updateShort

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

type TL_updateShortChatMessage

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

type TL_updateShortMessage

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

type TL_updateUserBlocked

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

type TL_updateUserName

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

type TL_updateUserPhone

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

type TL_updateUserPhoto

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

type TL_updateUserStatus

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

type TL_updateUserTyping

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

type TL_updates

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

type TL_updatesCombined

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

type TL_updatesTooLong

type TL_updatesTooLong struct {
}

type TL_updates_difference

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

type TL_updates_differenceEmpty

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

type TL_updates_differenceSlice

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

type TL_updates_getDifference

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

type TL_updates_getState

type TL_updates_getState struct {
}

type TL_updates_state

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

type TL_upload_file

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

type TL_upload_getFile

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

type TL_upload_saveBigFilePart

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

type TL_upload_saveFilePart

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

type TL_userContact

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

type TL_userDeleted

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

type TL_userEmpty

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

type TL_userForeign

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

type TL_userFull

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

type TL_userProfilePhoto

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

type TL_userProfilePhotoEmpty

type TL_userProfilePhotoEmpty struct {
}

type TL_userRequest

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

type TL_userSelf

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

type TL_userStatusEmpty

type TL_userStatusEmpty struct {
}

type TL_userStatusLastMonth

type TL_userStatusLastMonth struct {
}

type TL_userStatusLastWeek

type TL_userStatusLastWeek struct {
}

type TL_userStatusOffline

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

type TL_userStatusOnline

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

type TL_userStatusRecently

type TL_userStatusRecently struct {
}

type TL_users_getFullUser

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

type TL_users_getUsers

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

type TL_video

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

type TL_videoEmpty

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

type TL_wallPaper

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

type TL_wallPaperSolid

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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