com.hn.im.easemob.api.SendMessageAPI Maven / Gradle / Ivy
package com.hn.im.easemob.api;
import com.hn.im.easemob.comm.body.*;
/**
* This interface is created for RestAPI of Sending Message, it should be
* synchronized with the API list.
*
* @author Eric23 2016-01-05
*/
public interface SendMessageAPI {
/**
* 发送消息
* POST
*
* @param payload
* 消息体
* @see MessageBody
* @see TextMessageBody
* @see ImgMessageBody
* @see AudioMessageBody
* @see VideoMessageBody
* @see CommandMessageBody
* @return Object
*/
Object sendMessage(Object payload);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy