zsj_add_sendmessage_function