Doesn’t exist yet, but a feature request ticket seems to make sense.
That’s a bit of “tough luck”. If you would have used the delete functionality mobile clients would receive a hint to delete entries with the old message id.
If you don’t know them anymore, the only thing you can do is using the “Delete chat messages” option which will wipe the whole chat and tell mobile clients to do the same.