public class Channel
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 |
getGroupId()
The ID of the group, or an empty string if this message was not sent through a group channel.
|
java.lang.String |
getId()
The server-assigned channel ID.
|
java.util.List<UserPresence> |
getPresences()
The presences visible on the chat channel.
|
java.lang.String |
getRoomName()
The name of the chat room, or an empty string if this message was not sent through a chat room.
|
UserPresence |
getSelf()
The presence of the current user.
|
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.
|
int |
hashCode() |
java.lang.String |
toString() |
public java.lang.String getId()
public java.util.List<UserPresence> getPresences()
public UserPresence getSelf()
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.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object