pub fn emit_message( topic_name: &str, message: &MessagePayload, ) -> Result<(), ApiError>
Emits a message on a topic.