NIMExportMessageDelegate Protocol Reference

Conforms to NSObject
Declared in NIMConversationManagerProtocol.h

Overview

Delegate of exporting history messages, which can be used to process custom messages.

– shouldExportMessage:

Specify whether to export messages, YES: export, NO: not export

- (BOOL)shouldExportMessage:(NIMMessage *)message

Parameters

message

message body

Return Value

YES or NO

Discussion

Specify whether to export messages, YES: export, NO: not export

Declared In

NIMConversationManagerProtocol.h

– onMessageWillExport:

Notification callback before message export

- (void)onMessageWillExport:(NIMMessage *)message

Parameters

message

message to be exported

Discussion

Notification callback before message export

Declared In

NIMConversationManagerProtocol.h