NIMAddEmptyRecentSessionBySessionOption Class Reference

Inherits from NSObject
Declared in NIMAddEmptyRecentSessionBySessionOption.h

  withLastMsg

Specify whether to add the last message @discussion. Default value is NO. Only empty session is created. If the default value is set to Yes, the last message is added.

@property (nonatomic, assign) BOOL withLastMsg

Discussion

Specify whether to add the last message @discussion. Default value is NO. Only empty session is created. If the default value is set to Yes, the last message is added.

Declared In

NIMAddEmptyRecentSessionBySessionOption.h

  addEmptyMsgIfNoLastMsgExist

If the last message is not added, specify whether to add an empty message as placeholder

@property (nonatomic, assign) BOOL addEmptyMsgIfNoLastMsgExist

Discussion

If the last message is not added, specify whether to add an empty message as placeholder

The default value is YES. An empty message is created as placeholder. If the default value is set to NO, no placeholder message is added.

Declared In

NIMAddEmptyRecentSessionBySessionOption.h