Flags a message.
The ID of the message to flag.
The (optional) reason for flagging the message.
Custom data to be attached to the flag.