How to locate the ID of a message send