type github.com/gotd/td/proto.MessageID
13 uses
github.com/gotd/td/proto (current package)
message_id.go#L49: type MessageID int64
message_id.go#L51: func (id MessageID) String() string {
message_id.go#L92: func (id MessageID) Time() time.Time {
message_id.go#L100: func (id MessageID) Type() MessageType {
message_id.go#L114: func NewMessageID(now time.Time, typ MessageType) MessageID {
message_id.go#L120: func NewMessageIDNano(nano int64, typ MessageType) MessageID {
message_id.go#L121: return MessageID(newMessageID(nano, messageYield(typ)))
github.com/gotd/td/exchange
proto.go#L105: if proto.MessageID(id).Type() != w.input {
github.com/gotd/td/mtproto
handle_bad_msg.go#L66: c.serverTime.reset(proto.MessageID(msgID).Time())
handle_session_created.go#L22: created := proto.MessageID(s.FirstMsgID).Time()
read.go#L35: created := proto.MessageID(rawID).Time()
read.go#L48: switch id := proto.MessageID(rawID); id.Type() {
read.go#L71: if c.serverTime.observe(proto.MessageID(rawID).Time()) {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |