Add documentation for messaging methods of Api class.