RecvNewMsgCallback
introduction
Callback for receiving new message
This callback retrieves the latest message array. Attention, elements in the message array is also an array, and each type is determined by elem_type.
Returned template
void RecvNewMsgCallback(List<Message> message, string user_data);
Return value details
name | type | description |
---|---|---|
message | List< Message > | New message array |
user_data | string | User-defined data transfered by ImSDK without any processing |