-
public final class AdminMessage extends BaseMessage
Object representing an admin message.
-
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Returns a message request ID.There's no requestId for AdminMessage, so this always returns an empty string. Sender
getSender()
Returns sender of message. BaseMessage.SendingStatus
getSendingStatus()
Returns message sending status. boolean
isResendable()
Returns whether resend is possible. int
getMessageSurvivalSeconds()
Returns the message's survival seconds. String
toString()
-
Methods inherited from class com.sendbird.android.BaseMessage
applyParentMessage, applyReactionEvent, applyThreadInfoUpdateEvent, belongsTo, belongsTo, buildFromSerializedData, buildFromSerializedData, clone, equals, getAllMetaArray, getAllMetaArrays, getAppleCriticalAlertOptions, getChannelUrl, getCreatedAt, getCustomType, getData, getErrorCode, getMentionType, getMentionedMessageTemplate, getMentionedUsers, getMessage, getMessage, getMessageId, getMetaArray, getMetaArrays, getOgMetaData, getParentMessage, getParentMessageId, getParentMessageText, getReactions, getThreadInfo, getThreadedMessagesByTimestamp, getUpdatedAt, hashCode, isGroupChannel, isOpenChannel, isOperatorMessage, isReplyToChannel, isSilent, serialize, setAppleCriticalAlertOptions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getRequestId
String getRequestId()
Returns a message request ID.There's no requestId for AdminMessage, so this always returns an empty string.
-
getSender
Sender getSender()
Returns sender of message.There's no sender for AdminMessage, so this always returns
null
.
-
getSendingStatus
BaseMessage.SendingStatus getSendingStatus()
Returns message sending status.
-
isResendable
boolean isResendable()
Returns whether resend is possible.
-
getMessageSurvivalSeconds
int getMessageSurvivalSeconds()
Returns the message's survival seconds.
-
-
-
-