The edit option is available for up to 15 minutes after sending a message, and you can make up to five edits. The unsend option is available for up to 2 minutes after sending a message. These options won't be available if the time frame has passed.