send method
发送消息
Implementation
void send(String tid, String? tName, String content) {
_tempContent = content;
_send(json.encode({
"action": "add",
"module": "message",
"to": tid,
"toName": tName,
"type": "1",
"content": content
}));
}