implemented function to remove message.
Also, receive notification of message was removed.