AgoraRtmSendMessageOptions Class Reference

Inherits from NSObject
Declared in AgoraRtmKit.h

Overview

Message sending options.

  enableOfflineMessaging

Whether to set the message as an offline message.

@property (nonatomic, assign) BOOL enableOfflineMessaging

Discussion

  • YES: Set the message as an offline message.

  • NO: (default) Do not set the message as an offline message.

NOTE

This setting applies to the peer-to-peer message only, not to the channel message.

Declared In

AgoraRtmKit.h

  enableHistoricalMessaging

PRIVATE BETA Whether to save the message to message history.

@property (nonatomic, assign) BOOL enableHistoricalMessaging

Discussion

  • YES: Save the message to message history.

  • NO: (default) Do not save the message to message history.

Declared In

AgoraRtmKit.h