Added a promise version and simple syntax version of sendTopicMessage.