[messaging] Security fix: do not allow random message deletion.
[api] Add more details in the messaging api (from_id and to_id). Update documentation.