github.com/gotd/td/proto.MessageID.Type (method)

5 uses

	github.com/gotd/td/proto (current package)
		message_id.go#L53: 		int64(id), id.Type(), id.Time().Format(time.RFC3339),
		message_id.go#L100: func (id MessageID) Type() MessageType {

	github.com/gotd/td/exchange
		proto.go#L105: 	if proto.MessageID(id).Type() != w.input {

	github.com/gotd/td/mtproto
		read.go#L48: 	switch id := proto.MessageID(rawID); id.Type() {
		read.go#L52: 		return errors.Wrapf(errRejected, "unexpected type %s", id.Type())