跳到主要内容

on_message

设置消息处理函数

声明

void on_message(string msg, function func)

参数

参数名描述
msg消息
func消息处理函数

返回值

使用方式

返回文档