public abstract class BaseMessageParams
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseMessageParams.MentionType
Mention type.
|
static class |
BaseMessageParams.PushNotificationDeliveryOption
Push options for messages.
|
Constructor and Description |
---|
BaseMessageParams() |
Modifier and Type | Method and Description |
---|---|
AppleCriticalAlertOptions |
getAppleCriticalAlertOptions()
Returns apple critical alert options.
|
java.lang.String |
getCustomType()
Returns custom type.
|
java.lang.String |
getData()
Returns data.
|
java.util.List<java.lang.String> |
getMentionedUserIds()
Returns mentioned user ids.
|
java.util.List<User> |
getMentionedUsers()
Returns mentioned users.
|
BaseMessageParams.MentionType |
getMentionType()
Returns mention type.
|
java.util.List<MessageMetaArray> |
getMetaArrays()
Returns meta arrays.
|
long |
getParentMessageId()
Returns parent message id.
|
BaseMessageParams.PushNotificationDeliveryOption |
getPushNotificationDeliveryOption()
Returns push notification delivery option.
|
boolean |
getReplyToChannel()
Returns whether the message is replying to channel.
|
long |
getRootMessageId()
Returns root message id.
|
BaseMessageParams |
setAppleCriticalAlertOptions(AppleCriticalAlertOptions appleCriticalAlertOptions)
set apple critical alert options for this instance.
|
BaseMessageParams |
setReplyToChannel(boolean replyToChannel)
Set whether to send the thread message to the channel as well.
|
java.lang.String |
toString() |
public long getRootMessageId()
getParentMessageId()
.public long getParentMessageId()
public java.lang.String getData()
public java.lang.String getCustomType()
public BaseMessageParams.MentionType getMentionType()
BaseMessageParams.MentionType.USERS
BaseMessageParams.MentionType.USERS
public java.util.List<java.lang.String> getMentionedUserIds()
public java.util.List<User> getMentionedUsers()
public BaseMessageParams.PushNotificationDeliveryOption getPushNotificationDeliveryOption()
public java.util.List<MessageMetaArray> getMetaArrays()
public AppleCriticalAlertOptions getAppleCriticalAlertOptions()
public BaseMessageParams setAppleCriticalAlertOptions(AppleCriticalAlertOptions appleCriticalAlertOptions)
appleCriticalAlertOptions
- an instance of AppleCriticalAlertOptions
public boolean getReplyToChannel()
public BaseMessageParams setReplyToChannel(boolean replyToChannel)
replyToChannel
- whether to send the thread message to the channel as well.BaseMessageParams
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.