Options for sending an advanced message.
Public Member Functions | |
| int | getPriority () |
| void | setPriority (int priority) |
| boolean | isOnlineUserOnly () |
| void | setOnlineUserOnly (boolean onlineUserOnly) |
| V2TIMPushInfo | getPushInfo () |
| void | setPushInfo (V2TIMPushInfo pushInfo) |
|
inline |
Get the message priority.
|
inline |
Set the message priority. This field is valid only for group chat messages. Default: V2TIMMessage.V2TIM_PRIORITY_DEFAULT.
| priority | Message priority. Valid values: V2TIMMessage.V2TIM_PRIORITY_DEFAULT, V2TIM_PRIORITY_HIGH, V2TIM_PRIORITY_NORMAL, V2TIM_PRIORITY_LOW |
|
inline |
Get whether the message can be received only by online users.
|
inline |
Set whether the message can be received only by online users. Default: false.
If this field is set to true, the message will not appear in the recipient's historical message list. This field is often used to implement less important notifications such as typing indicators.
|
inline |
Get the offline push configuration.
|
inline |
Set the offline push configuration. Default: null.