Signaling (previously RTM) SDK v1.5.0 API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtm.SendMessageOptions Class Reference

Public Member Functions

String  toString ()
 

Public Attributes

boolean  enableOfflineMessaging = false
 
boolean  enableHistoricalMessaging = false
 

Detailed Description

Message sending options.

Member Data Documentation

◆ enableOfflineMessaging

boolean io.agora.rtm.SendMessageOptions.enableOfflineMessaging = false
Deprecated:
Deprecated as of v1.5.0. Agora recommends that you do not use it.

Whether to set the message as an offline message.

  • true: Set the message as an offline message.
  • false: (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.

◆ enableHistoricalMessaging

boolean io.agora.rtm.SendMessageOptions.enableHistoricalMessaging = false
Deprecated:
Deprecated as of v1.5.0. Agora recommends that you do not use it.

PRIVATE BETA< Whether to save the message to message history.

  • true: Save the message to message history.
  • false: (default) Do not save the message to message history.