获取不到对方发过来的历史消息记录,能读到自己发的 (NSArray )getMessages:(WFCCConversation )conversation

dong 2020-11-30 523

/** 获取消息 @discuss 获取从fromIndex起count条旧的消息。如果想要获取比fromIndex新的消息,count传负值。

@param conversation 会话 @param contentTypes 消息类型 @param fromIndex 起始index @param count 总数 @return 消息实体 */

  • (NSArray<WFCCMessage > )getMessages:(WFCCConversation )conversation contentTypes:(NSArray<NSNumber > )contentTypes from:(NSUInteger)fromIndex count:(NSInteger)count withUser:(NSString )user;
最新回复 (1)
返回