Documentation ¶
Index ¶
- Constants
- type BadMsgNotification
- type BadServerSalt
- type ClientDHInnerData
- type DHGenFail
- type DHGenOk
- type DHGenRetry
- type FutureSalt
- type FutureSalts
- type GzipPacked
- type Message
- type MessageContainer
- type MsgCopy
- type MsgResendReq
- type MsgsAck
- type MsgsAllInfo
- type MsgsDetailedInfo
- type MsgsNewDetailedInfo
- type MsgsStateInfo
- type MsgsStateReq
- type NewSessionCreated
- type Null
- type PQInnerData
- type PingParams
- type Pong
- type ReqDHParamsParams
- type ReqPQParams
- type ResPQ
- type RpcAnswerDropped
- type RpcAnswerDroppedRunning
- type RpcAnswerUnknown
- type RpcDropAnswer
- type RpcError
- type RpcResult
- type ServerDHInnerData
- type ServerDHParams
- type ServerDHParamsFail
- type ServerDHParamsOk
- type SetClientDHParamsAnswer
- type SetClientDHParamsParams
Constants ¶
View Source
const ( // CrcRpcResult публичная переменная, т.к. это специфический конструктор CrcRpcResult = 0xf35c6d01 // nolint CrcGzipPacked = 0x3072cfa1 )
in some cases you are required
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadMsgNotification ¶
func (*BadMsgNotification) CRC ¶
func (*BadMsgNotification) CRC() uint32
func (*BadMsgNotification) ImplementsBadMsgNotification ¶
func (*BadMsgNotification) ImplementsBadMsgNotification()
type BadServerSalt ¶
func (*BadServerSalt) CRC ¶
func (*BadServerSalt) CRC() uint32
func (*BadServerSalt) ImplementsBadMsgNotification ¶
func (*BadServerSalt) ImplementsBadMsgNotification()
type ClientDHInnerData ¶
func (*ClientDHInnerData) CRC ¶
func (*ClientDHInnerData) CRC() uint32
type DHGenFail ¶
func (*DHGenFail) ImplementsSetClientDHParamsAnswer ¶
func (*DHGenFail) ImplementsSetClientDHParamsAnswer()
type DHGenOk ¶
func (*DHGenOk) ImplementsSetClientDHParamsAnswer ¶
func (t *DHGenOk) ImplementsSetClientDHParamsAnswer()
type DHGenRetry ¶
func (*DHGenRetry) CRC ¶
func (*DHGenRetry) CRC() uint32
func (*DHGenRetry) ImplementsSetClientDHParamsAnswer ¶
func (*DHGenRetry) ImplementsSetClientDHParamsAnswer()
type FutureSalt ¶
func (*FutureSalt) CRC ¶
func (*FutureSalt) CRC() uint32
type FutureSalts ¶
type FutureSalts struct { ReqMsgID int64 Now int32 Salts []*FutureSalt }
func (*FutureSalts) CRC ¶
func (*FutureSalts) CRC() uint32
type GzipPacked ¶
func (*GzipPacked) CRC ¶
func (*GzipPacked) CRC() uint32
func (*GzipPacked) UnmarshalTL ¶
func (t *GzipPacked) UnmarshalTL(d *tl.Decoder) error
type MessageContainer ¶
! исключение из правил: это оказывается почти-вектор, т.к.
записан как `msg_container#73f1f8dc messages:vector<%Message> = MessageContainer;` судя по всему, <%Type> означает, что может это неявный вектор???
! возможно разработчики в этот момент поехаи кукухой, я не знаю правда
func (*MessageContainer) CRC ¶
func (*MessageContainer) CRC() uint32
func (*MessageContainer) UnmarshalTL ¶
func (t *MessageContainer) UnmarshalTL(d *tl.Decoder) error
type MsgResendReq ¶
type MsgResendReq struct {
MsgIDs []int64
}
func (*MsgResendReq) CRC ¶
func (*MsgResendReq) CRC() uint32
type MsgsAllInfo ¶
func (*MsgsAllInfo) CRC ¶
func (*MsgsAllInfo) CRC() uint32
type MsgsDetailedInfo ¶
func (*MsgsDetailedInfo) CRC ¶
func (*MsgsDetailedInfo) CRC() uint32
type MsgsNewDetailedInfo ¶
func (*MsgsNewDetailedInfo) CRC ¶
func (*MsgsNewDetailedInfo) CRC() uint32
type MsgsStateInfo ¶
func (*MsgsStateInfo) CRC ¶
func (*MsgsStateInfo) CRC() uint32
type MsgsStateReq ¶
type MsgsStateReq struct {
MsgIDs []int64
}
func (*MsgsStateReq) CRC ¶
func (*MsgsStateReq) CRC() uint32
type NewSessionCreated ¶
func (*NewSessionCreated) CRC ¶
func (*NewSessionCreated) CRC() uint32
type Null ¶
type Null struct { }
Null это пустой объект, который нужен для передачи в каналы TL с информацией, что ответа можно не ждать
type PQInnerData ¶
type PQInnerData struct { Pq []byte P []byte Q []byte Nonce *tl.Int128 ServerNonce *tl.Int128 NewNonce *tl.Int256 }
func (*PQInnerData) CRC ¶
func (*PQInnerData) CRC() uint32
type PingParams ¶
type PingParams struct {
PingID int64
}
func (*PingParams) CRC ¶
func (*PingParams) CRC() uint32
type ReqDHParamsParams ¶
type ReqDHParamsParams struct { Nonce *tl.Int128 ServerNonce *tl.Int128 P []byte Q []byte PublicKeyFingerprint int64 EncryptedData []byte }
func (*ReqDHParamsParams) CRC ¶
func (*ReqDHParamsParams) CRC() uint32
type ReqPQParams ¶
func (*ReqPQParams) CRC ¶
func (*ReqPQParams) CRC() uint32
type RpcAnswerDropped ¶
func (*RpcAnswerDropped) CRC ¶
func (*RpcAnswerDropped) CRC() uint32
func (*RpcAnswerDropped) ImplementsRpcDropAnswer ¶
func (*RpcAnswerDropped) ImplementsRpcDropAnswer()
type RpcAnswerDroppedRunning ¶
type RpcAnswerDroppedRunning null
func (*RpcAnswerDroppedRunning) CRC ¶
func (*RpcAnswerDroppedRunning) CRC() uint32
func (*RpcAnswerDroppedRunning) ImplementsRpcDropAnswer ¶
func (*RpcAnswerDroppedRunning) ImplementsRpcDropAnswer()
type RpcAnswerUnknown ¶
type RpcAnswerUnknown null
func (*RpcAnswerUnknown) CRC ¶
func (*RpcAnswerUnknown) CRC() uint32
func (*RpcAnswerUnknown) ImplementsRpcDropAnswer ¶
func (*RpcAnswerUnknown) ImplementsRpcDropAnswer()
type RpcDropAnswer ¶
type ServerDHInnerData ¶
type ServerDHInnerData struct { Nonce *tl.Int128 ServerNonce *tl.Int128 G int32 DhPrime []byte GA []byte ServerTime int32 }
func (*ServerDHInnerData) CRC ¶
func (*ServerDHInnerData) CRC() uint32
type ServerDHParams ¶
func ReqDHParams ¶
type ServerDHParamsFail ¶
func (*ServerDHParamsFail) CRC ¶
func (*ServerDHParamsFail) CRC() uint32
func (*ServerDHParamsFail) ImplementsServerDHParams ¶
func (*ServerDHParamsFail) ImplementsServerDHParams()
type ServerDHParamsOk ¶
func (*ServerDHParamsOk) CRC ¶
func (*ServerDHParamsOk) CRC() uint32
func (*ServerDHParamsOk) ImplementsServerDHParams ¶
func (*ServerDHParamsOk) ImplementsServerDHParams()
type SetClientDHParamsAnswer ¶
func SetClientDHParams ¶
func SetClientDHParams(m requester, nonce, serverNonce *tl.Int128, encryptedData []byte) (SetClientDHParamsAnswer, error)
Click to show internal directories.
Click to hide internal directories.