Ejemplo n.º 1
0
    public static void MsgDelete()
    {
        string conv_id = "287646";

        MsgDeleteParam message_delete_param = new MsgDeleteParam();

        message_delete_param.msg_delete_param_msg       = new Message(); // 需要删除的消息
        message_delete_param.msg_delete_param_is_remble = true;          // 删除漫游消息
        TIMResult res = TencentIMSDK.MsgDelete(conv_id, TIMConvType.kTIMConv_C2C, message_delete_param, addAsyncDataToConsole);

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