public class ChannelMessageAck
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getChannelId()
The server-assigned channel ID.
|
int |
getCode()
A user-defined code for the chat message.
|
java.util.Date |
getCreateTime()
The UNIX time when the message was created.
|
java.lang.String |
getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
java.lang.String |
getMessageId()
A unique ID for the chat message.
|
java.lang.String |
getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
java.util.Date |
getUpdateTime()
The UNIX time when the message was updated.
|
java.lang.String |
getUserIdOne()
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUserIdTwo()
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
|
java.lang.String |
getUsername()
The username of the sender of the message.
|
int |
hashCode() |
boolean |
isPersistent()
True if the chat message has been stored in history.
|
java.lang.String |
toString() |
public java.lang.String getMessageId()
public java.lang.String getChannelId()
public int getCode()
public java.lang.String getUsername()
public boolean isPersistent()
public java.util.Date getCreateTime()
public java.util.Date getUpdateTime()
public java.lang.String getRoomName()
public java.lang.String getGroupId()
public java.lang.String getUserIdOne()
public java.lang.String getUserIdTwo()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object