예제 #1
0
    public static void MsgSetLocalCustomData()
    {
        Message param = new Message(); // 这个message可以是业务的其他message实例

        param.message_custom_int = 1024;
        param.message_custom_str = "hello";
        TIMResult res = TencentIMSDK.MsgSetLocalCustomData(param, addAsyncDataToConsole);

        Utils.Log(((int)res).ToString());
        addDataToConsole(res);
    }