NIMImportMessageDelegate Protocol Reference

Conforms to NSObject
Declared in NIMConversationManagerProtocol.h

Overview

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

– shouldImportMessage:

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

- (BOOL)shouldImportMessage:(NIMMessage *)message

Parameters

message

message body

Return Value

YES or NO

Discussion

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

Declared In

NIMConversationManagerProtocol.h

– onMessageWillImport:

Callback before message import

- (void)onMessageWillImport:(NIMMessage *)message

Parameters

message

message body

Discussion

Callback before message import

Declared In

NIMConversationManagerProtocol.h