Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPacketSizeIsBigger = errors.New("packet size is more than 127 bytes, require 4 bytes value")
)
Functions ¶
func AuthKeyHash ¶
func GenerateMessageId ¶
func GenerateMessageId() int64
GenerateMessageId отдает по сути unix timestamp но ужасно специфическим образом TODO: нахуя нужно битовое и на -4??
func GenerateSessionID ¶
func GenerateSessionID() int64
func GetPacketLengthMTProtoCompatible ¶
исходя из переданного числа в bytestoGetInfo считает количество СЛОВ и отдает количество БАЙТ которые нужно прочитать
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.