NIMAddEmptyRecentSessionBySessionOption.h 681 B

12345678910111213141516171819202122232425
  1. //
  2. // Created by chenjili on 2021/3/22.
  3. // Copyright (c) 2021 Netease. All rights reserved.
  4. //
  5. #import <Foundation/Foundation.h>
  6. NS_ASSUME_NONNULL_BEGIN
  7. @interface NIMAddEmptyRecentSessionBySessionOption : NSObject
  8. /**
  9. * 是否填入最后一条消息
  10. * @discussion ,默认为 NO,仅创建空会话;为YES,将同时添加最后一条消息
  11. */
  12. @property (nonatomic,assign) BOOL withLastMsg;
  13. /**
  14. * 如果没有最后一条消息,是否用一条空消息补位
  15. * @discussion ,默认为 YES,创建一条空消息补位;为NO,不使用补位消息
  16. */
  17. @property (nonatomic,assign) BOOL addEmptyMsgIfNoLastMsgExist;
  18. @end
  19. NS_ASSUME_NONNULL_END