social_servercommonmodschat_opchatroomsend_message本页总览send_message 发送指定类型的消息到指定聊天室 声明 array send_message(object conn, string chat_type, string room_id, map msg = {}) 参数 参数名描述conn数据库客户端连接对象(通过ChatD.assure_connection获得)chat_type消息类型private_chat - 私聊消息world_chat - 世界频道消息user_chat - 留言消息chatroom_chat - 聊天室消息room_id聊天室IDmsg消息内容