删除远端消息, 重进会话仍然取回已删除的消息

用户调用删除函数, 服务器不会判断 对应的 sentTime 是否存在, 仅仅是使用sentTime 直接进行消息删除, 然后返回操作成功; 用户删除远端消息时, 需要保证sentTime的合法性

  • (void)deleteRemoteMessage:(RCConversationType)conversationType

targetId:(NSString *)targetId

messages:(NSArray<RCMessage *> *)messages

success:(nullable void (^)(void))successBlock

error:(nullable void (^)(RCErrorCode status))errorBlock;

详情查看:https://www.rongcloud.cn/?utm_source=SEO&utm_term=helloworld

评论

暂无评论