MessageDigestInfo

public class MessageDigestInfo

Message Digest Information Class

Author

chenjialong

Since

5.2.5

Constructors

Link copied to clipboard
public void MessageDigestInfo()
public void MessageDigestInfo(ConversationType conversationType, String targetId, String channelId, String messageUid, long sentTime, boolean isMentionAll)

Properties

Link copied to clipboard
public String channelId
The business identifier of the conversation to which the message belongs
Link copied to clipboard
public ConversationType conversationType
Conversation Type
Link copied to clipboard
public final static Creator<MessageDigestInfo> CREATOR
Link copied to clipboard
public boolean isMentionAll
Indicates whether the message @mention type is @everyone.
Link copied to clipboard
public String messageUid
The globally unique ID of the message (server message unique ID, globally unique under the same AppKey)
Link copied to clipboard
public String objectName
Message type corresponding to messageUid
Link copied to clipboard
public long sentTime
// The sending time of the message (Unix timestamp, in milliseconds)
Link copied to clipboard
public String targetId
Conversation ID

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public String getChannelId()
The business identifier of the conversation to which the message belongs.
Link copied to clipboard
public ConversationType getConversationType()
Retrieves the conversation type.
Link copied to clipboard
public String getMessageUid()
Retrieves the unique message ID from the server (globally unique within the same AppKey).
Link copied to clipboard
public String getObjectName()
The message type corresponding to messageUid
Link copied to clipboard
public long getSentTime()
Gets the timestamp of the last message in the conversation (Unix timestamp in milliseconds).
Link copied to clipboard
public String getTargetId()
Get the conversation ID.
Link copied to clipboard
public boolean isMentionAll()
Link copied to clipboard
public void setChannelId(String channelId)
Sets the business identifier of the conversation to which the message belongs.
Link copied to clipboard
public void setConversationType(ConversationType conversationType)
Sets the conversation type.
Link copied to clipboard
public void setMentionAll(boolean mentionAll)
Link copied to clipboard
public void setMessageUid(String messageUid)
Sets the server message unique ID (globally unique within the same AppKey).
Link copied to clipboard
public void setObjectName(String objectName)
Sets the message type, which must match the type of the message corresponding to the messageUid.
Link copied to clipboard
public void setSentTime(long sentTime)
Sets the sent time of the last message in the conversation (Unix timestamp, milliseconds).
Link copied to clipboard
public void setTargetId(String targetId)
Sets the conversation ID.
Link copied to clipboard
public String toString()
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)