package net.incivility.fantastchat.message;

import cn.bmob.newim.bean.BmobIMExtraMessage;

/**
 * Created by Administrator on 2016/4/30.
 */
public class AddFriendMessage extends BmobIMExtraMessage {

    @Override
    public String getMsgType() {
        return "add";
    }

    @Override
    public boolean isTransient() {
        //设置为true,表明为暂态消息，那么这条消息并不会保存到本地db中，SDK只负责发送出去
        //设置为false,则会保存到指定会话的聊天双方的数据库中
        return true;
    }

    public AddFriendMessage(){}

}
