github.com/gotd/td/internal/crypto.EncryptedMessageData.MessageID (field)

14 uses

	github.com/gotd/td/internal/crypto (current package)
		encrypted_message_data.go#L13: 	MessageID              int64
		encrypted_message_data.go#L27: 	b.PutLong(e.MessageID)
		encrypted_message_data.go#L43: 	b.PutLong(e.MessageID)
		encrypted_message_data.go#L78: 		e.MessageID = v
		encrypted_message_data.go#L127: 		e.MessageID = v

	github.com/gotd/td/internal/mtproto
		new_encrypted_msg.go#L30: 			MessageID: id,
		new_encrypted_msg.go#L46: 				MessageID: id,
		new_encrypted_msg.go#L54: 				MessageID:              id,
		read.go#L63: 	if err := checkMessageID(c.clock.Now(), msg.MessageID); err != nil {
		read.go#L64: 		return nil, errors.Wrapf(err, "bad message id %d", msg.MessageID)
		read.go#L66: 	if !c.messageIDBuf.Consume(msg.MessageID) {
		read.go#L67: 		return nil, errors.Wrapf(errRejected, "duplicate or too low message id %d", msg.MessageID)
		read.go#L83: 	if err := c.handleMessage(msg.MessageID, &bin.Buffer{Buf: msg.Data()}); err != nil {
		read.go#L96: 		case c.ackSendChan <- msg.MessageID: