public abstract class BaseChannel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
BaseChannel.BaseSendFileMessageHandler |
static class |
BaseChannel.ChannelType
Represents channel types.
|
static interface |
BaseChannel.CopyFileMessageHandler
ForwardFileMessage handler.
|
static interface |
BaseChannel.CopyUserMessageHandler
ForwardUserMessage handler.
|
static interface |
BaseChannel.DeleteMessageHandler
DeleteMessage handler.
|
static interface |
BaseChannel.DeleteMetaCounterHandler
DeleteMetaCounter handler.
|
static interface |
BaseChannel.DeleteMetaDataHandler
DeleteMetaData handler.
|
static interface |
BaseChannel.GetMessageChangeLogsByTokenHandler
GetMessageChangeLogsByToken handler.
|
static interface |
BaseChannel.GetMessageChangeLogsHandler
GetMessageChangeLogsHandler handler.
|
static interface |
BaseChannel.GetMessagesHandler
GetMessages handler.
|
static interface |
BaseChannel.GetMyMutedInfoHandler
GetMyMutedInfo handler.
|
static interface |
BaseChannel.MessageMetaArrayHandler
MessageMetaArray handler.
|
static class |
BaseChannel.MessageTypeFilter
Represents messages type filter to be used when messages list are read.
|
static interface |
BaseChannel.MetaCounterHandler
MetaCounter handler.
|
static interface |
BaseChannel.MetaDataHandler
MetaData handler.
|
static interface |
BaseChannel.ReactionHandler
Reaction handler.
|
static class |
BaseChannel.ReportCategory
Report category.
|
static interface |
BaseChannel.ReportHandler
Report handler.
|
static interface |
BaseChannel.ReportMessageHandler
ReportMessage handler.
|
static interface |
BaseChannel.ReportUserHandler
ReportUser handler.
|
static interface |
BaseChannel.ResendFileMessageHandler
ResendFileMessage handler.
|
static interface |
BaseChannel.ResendFileMessageWithProgressHandler
ResendFileMessage handler.
|
static interface |
BaseChannel.ResendUserMessageHandler
ResendUserMessage handler.
|
static interface |
BaseChannel.SendFileMessageHandler
SendFileMessage handler.
|
static interface |
BaseChannel.SendFileMessagesHandler
SendFileMessages handler.
|
static interface |
BaseChannel.SendFileMessagesWithProgressHandler
SendFileMessages handler.
|
static interface |
BaseChannel.SendFileMessageWithProgressHandler
SendFileMessage handler.
|
static interface |
BaseChannel.SendUserMessageHandler
SendUserMessage handler.
|
static interface |
BaseChannel.TranslateUserMessageHandler
TranslateUserMessage handler.
|
static interface |
BaseChannel.UpdateFileMessageHandler
A handler to receive a callback from
updateFileMessage(long, String, String, UpdateFileMessageHandler) . |
static interface |
BaseChannel.UpdateUserMessageHandler
A handler to receive a callback from
updateUserMessage(long, String, String, String, UpdateUserMessageHandler) . |
Modifier and Type | Method and Description |
---|---|
void |
addMessageMetaArrayValues(BaseMessage message,
java.util.List<MessageMetaArray> metaArrays,
BaseChannel.MessageMetaArrayHandler handler)
Adds message meta array values.
|
void |
addMessageMetaArrayValues(BaseMessage message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaArrayMap,
BaseChannel.MessageMetaArrayHandler handler)
Deprecated.
As of 3.0.99, replaced by
addMessageMetaArrayValues(BaseMessage, List, MessageMetaArrayHandler) . |
void |
addOperators(java.util.Collection<java.lang.String> userIds,
AddOperatorsHandler handler)
Add operators to the channel.
|
void |
addReaction(BaseMessage message,
java.lang.String key,
BaseChannel.ReactionHandler handler)
Adds
Reaction . |
static BaseChannel |
buildFromSerializedData(byte[] data)
|
boolean |
cancelFileMessageUpload(java.lang.String requestId)
Cancels an ongoing
FileMessage upload. |
FileMessage |
copyFileMessage(BaseChannel targetChannel,
FileMessage fileMessage,
BaseChannel.CopyFileMessageHandler handler)
Copies a file message from this channel to the target channel.
|
UserMessage |
copyUserMessage(BaseChannel targetChannel,
UserMessage userMessage,
BaseChannel.CopyUserMessageHandler handler)
Copies a user message from this channel to the target channel.
|
MessageListQuery |
createMessageListQuery()
|
void |
createMessageMetaArrayKeys(BaseMessage message,
java.util.List<java.lang.String> metaArrayKeys,
BaseChannel.MessageMetaArrayHandler handler)
Creates message meta array keys.
|
void |
createMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap,
BaseChannel.MetaCounterHandler handler)
Creates meta counters.
|
void |
createMetaData(java.util.Map<java.lang.String,java.lang.String> metaDataMap,
BaseChannel.MetaDataHandler handler)
Creates meta data.
|
OperatorListQuery |
createOperatorListQuery()
Creates a query instance to get the operator list from this channel.
|
PreviousMessageListQuery |
createPreviousMessageListQuery()
Creates previous message list query for this channel.
|
void |
decreaseMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap,
BaseChannel.MetaCounterHandler handler)
Decreases meta counters.
|
void |
deleteAllMetaCounters(BaseChannel.DeleteMetaCounterHandler handler)
Deletes all meta counters.
|
void |
deleteAllMetaData(BaseChannel.DeleteMetaDataHandler handler)
Deletes all meta data.
|
void |
deleteMessage(BaseMessage message,
BaseChannel.DeleteMessageHandler handler)
Deletes a message.
|
void |
deleteMessageMetaArrayKeys(BaseMessage message,
java.util.List<java.lang.String> metaArrayKeys,
BaseChannel.MessageMetaArrayHandler handler)
Deletes message meta array keys.
|
void |
deleteMetaCounter(java.lang.String key,
BaseChannel.DeleteMetaCounterHandler handler)
Deletes a meta counter.
|
void |
deleteMetaData(java.lang.String key,
BaseChannel.DeleteMetaDataHandler handler)
Deletes a meta data.
|
void |
deleteReaction(BaseMessage message,
java.lang.String key,
BaseChannel.ReactionHandler handler)
Deletes
Reaction . |
boolean |
equals(java.lang.Object o) |
void |
getAllMetaCounters(BaseChannel.MetaCounterHandler handler)
Get all meta counters.
|
void |
getAllMetaData(BaseChannel.MetaDataHandler handler)
Gets all meta data.
|
java.util.Map<java.lang.String,java.lang.String> |
getCachedMetaData()
Returns all locally cached metadata as a map.
|
java.lang.String |
getCoverUrl()
Returns cover image URL.
|
long |
getCreatedAt()
Returns channel creation time.
|
java.lang.String |
getData()
Returns channel data.
|
void |
getMessageChangeLogsByTimestamp(long ts,
BaseChannel.GetMessageChangeLogsHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsByTimestamp(long ts,
boolean includeMetaArray,
BaseChannel.GetMessageChangeLogsHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsByTimestamp(long ts,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessageChangeLogsHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsByToken(java.lang.String token,
BaseChannel.GetMessageChangeLogsByTokenHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsByToken(java.lang.String token,
boolean includeMetaArray,
BaseChannel.GetMessageChangeLogsByTokenHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsByToken(java.lang.String token,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessageChangeLogsHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler) |
void |
getMessageChangeLogsSinceTimestamp(long ts,
MessageChangeLogsParams params,
BaseChannel.GetMessageChangeLogsHandler handler)
Requests message change logs after given timestamp.
|
void |
getMessageChangeLogsSinceToken(java.lang.String token,
MessageChangeLogsParams params,
BaseChannel.GetMessageChangeLogsHandler handler)
Requests message change logs after given token.
|
void |
getMessagesByMessageId(long messageId,
MessageListParams params,
BaseChannel.GetMessagesHandler handler)
Retrieves previous or next messages based on the message ID in a specific channel.
|
void |
getMessagesByTimestamp(long ts,
MessageListParams params,
BaseChannel.GetMessagesHandler handler)
Retrieves previous or next messages based on the timestamp in a specific channel.
|
void |
getMetaCounters(java.util.Collection<java.lang.String> keys,
BaseChannel.MetaCounterHandler handler)
Gets meta counters.
|
void |
getMetaData(java.util.Collection<java.lang.String> keys,
BaseChannel.MetaDataHandler handler)
Gets meta data.
|
void |
getMyMutedInfo(BaseChannel.GetMyMutedInfoHandler handler)
Gets my muted information in this channel.
|
java.lang.String |
getName()
Returns topic or name of the channel.
|
void |
getNextMessagesById(long msgId,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesById(long msgId,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesById(long msgId,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesById(long msgId,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesByTimestamp(long ts,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesByTimestamp(long ts,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesByTimestamp(long ts,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getNextMessagesByTimestamp(long ts,
boolean isInclusive,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesById(long msgId,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesById(long msgId,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesById(long msgId,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesById(long msgId,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesByTimestamp(long ts,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesByTimestamp(long ts,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesByTimestamp(long ts,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousAndNextMessagesByTimestamp(long ts,
int prevResultSize,
int nextResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesById(long msgId,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesById(long msgId,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesById(long msgId,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesById(long msgId,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesByTimestamp(long ts,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesByTimestamp(long ts,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesByTimestamp(long ts,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
void |
getPreviousMessagesByTimestamp(long ts,
boolean isInclusive,
int prevResultSize,
boolean reverse,
BaseChannel.MessageTypeFilter messageType,
java.lang.String customType,
java.util.List<java.lang.String> senderUserIds,
boolean includeMetaArray,
boolean includeReactions,
BaseChannel.GetMessagesHandler handler)
Deprecated.
As of 3.0.170, replaced by
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler) |
java.lang.String |
getUrl()
Returns unique channel URL.
|
int |
hashCode() |
void |
increaseMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap,
BaseChannel.MetaCounterHandler handler)
Increases meta counters.
|
boolean |
isEphemeral()
Checks if this channel is ephemeral.
|
boolean |
isFrozen()
Checks if this channel is frozen.
|
boolean |
isGroupChannel()
Checks whether the instance is
GroupChannel type. |
boolean |
isOpenChannel()
Checks whether the instance is
OpenChannel type. |
void |
removeAllOperators(RemoveAllOperatorsHandler handler)
Remove all operators from the channel.
|
void |
removeMessageMetaArrayValues(BaseMessage message,
java.util.List<MessageMetaArray> metaArrays,
BaseChannel.MessageMetaArrayHandler handler)
Removes message meta array values.
|
void |
removeMessageMetaArrayValues(BaseMessage message,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaArrayMap,
BaseChannel.MessageMetaArrayHandler handler)
Deprecated.
As of 3.0.99, replaced by
removeMessageMetaArrayValues(BaseMessage, List, MessageMetaArrayHandler) . |
void |
removeOperators(java.util.Collection<java.lang.String> userIds,
RemoveOperatorsHandler handler)
Remove operators from the channel.
|
void |
report(BaseChannel.ReportCategory reportCategory,
java.lang.String reportDescription,
BaseChannel.ReportHandler handler)
Reports this channel of inappropriate activities.
|
void |
reportMessage(BaseMessage message,
BaseChannel.ReportCategory reportCategory,
java.lang.String reportDescription,
BaseChannel.ReportMessageHandler handler)
Reports a malicious message.
|
void |
reportUser(User offendingUser,
BaseChannel.ReportCategory reportCategory,
java.lang.String reportDescription,
BaseChannel.ReportUserHandler handler)
Reports a user of suspicious activities.
|
void |
resendFileMessage(FileMessage fileMessage,
java.io.File file,
BaseChannel.ResendFileMessageHandler handler)
Resends a file with given file information.
|
void |
resendFileMessage(FileMessage fileMessage,
java.io.File file,
BaseChannel.ResendFileMessageWithProgressHandler handler)
Resends a file with given file information and gets callback for uploading progress.
|
FileMessage |
resendMessage(FileMessage fileMessage,
java.io.File file,
BaseChannel.ResendFileMessageHandler handler)
Resends a file with given file information.
|
FileMessage |
resendMessage(FileMessage fileMessage,
java.io.File file,
BaseChannel.ResendFileMessageWithProgressHandler handler)
Resends a file with given file information and gets callback for uploading progress.
|
UserMessage |
resendMessage(UserMessage userMessage,
BaseChannel.ResendUserMessageHandler handler)
Resends a failed user message.
|
void |
resendUserMessage(UserMessage userMessage,
BaseChannel.ResendUserMessageHandler handler)
Resends a failed user message.
|
FileMessage |
sendFileMessage(FileMessageParams params,
BaseChannel.SendFileMessageHandler handler)
Sends a file with given file information.
|
FileMessage |
sendFileMessage(FileMessageParams params,
BaseChannel.SendFileMessageWithProgressHandler handler)
Sends a file with given file information and gets callback for uploading progress.
|
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
BaseChannel.SendFileMessageHandler handler)
Sends a file with given file information.
|
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
BaseChannel.SendFileMessageWithProgressHandler handler)
Sends a file with given file information and gets callback for uploading progress.
|
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
java.lang.String customType,
BaseChannel.SendFileMessageHandler handler)
Deprecated.
As of 3.0.75, replaced by
sendFileMessage(FileMessageParams, SendFileMessageHandler) |
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
java.lang.String customType,
BaseChannel.SendFileMessageWithProgressHandler handler)
Deprecated.
As of 3.0.75, replaced by
sendFileMessage(FileMessageParams, SendFileMessageWithProgressHandler) |
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
java.lang.String customType,
java.util.List<FileMessage.ThumbnailSize> thumbnailSizes,
BaseChannel.SendFileMessageHandler handler)
Sends a file with given file information.
|
FileMessage |
sendFileMessage(java.io.File file,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
java.lang.String customType,
java.util.List<FileMessage.ThumbnailSize> thumbnailSizes,
BaseChannel.SendFileMessageWithProgressHandler handler)
Sends a file with given file information and gets callback for uploading progress.
|
FileMessage |
sendFileMessage(java.lang.String fileUrl,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
BaseChannel.SendFileMessageHandler handler)
Sends a file with given file information.
|
FileMessage |
sendFileMessage(java.lang.String fileUrl,
java.lang.String name,
java.lang.String type,
int size,
java.lang.String data,
java.lang.String customType,
BaseChannel.SendFileMessageHandler handler)
Sends a file with given file information.
|
java.util.List<FileMessage> |
sendFileMessages(java.util.List<FileMessageParams> paramsList,
BaseChannel.SendFileMessagesHandler handler)
Sends files with given files information.
|
java.util.List<FileMessage> |
sendFileMessages(java.util.List<FileMessageParams> paramsList,
BaseChannel.SendFileMessagesWithProgressHandler handler)
Sends files with given files information and gets callback for uploading progress.
|
UserMessage |
sendUserMessage(java.lang.String message,
BaseChannel.SendUserMessageHandler handler)
Sends a user message.
|
UserMessage |
sendUserMessage(java.lang.String message,
java.lang.String data,
BaseChannel.SendUserMessageHandler handler)
Deprecated.
As of 3.0.75, replaced by
sendUserMessage(UserMessageParams, SendUserMessageHandler) |
UserMessage |
sendUserMessage(java.lang.String message,
java.lang.String data,
java.lang.String customType,
BaseChannel.SendUserMessageHandler handler)
Deprecated.
As of 3.0.75, replaced by
sendUserMessage(UserMessageParams, SendUserMessageHandler) |
UserMessage |
sendUserMessage(java.lang.String message,
java.lang.String data,
java.lang.String customType,
java.util.List<java.lang.String> targetLanguages,
BaseChannel.SendUserMessageHandler handler)
Sends a user message.
|
UserMessage |
sendUserMessage(UserMessageParams params,
BaseChannel.SendUserMessageHandler handler)
Sends a user message.
|
byte[] |
serialize()
Serializes the
GroupChannel or OpenChannel instance. |
java.lang.String |
toString() |
void |
translateUserMessage(UserMessage userMessage,
java.util.List<java.lang.String> targetLanguages,
BaseChannel.TranslateUserMessageHandler handler)
Translates a user message.
|
void |
updateFileMessage(long messageId,
FileMessageParams params,
BaseChannel.UpdateFileMessageHandler handler)
Updates a
FileMessage that was previously sent in the channel. |
void |
updateFileMessage(long messageId,
java.lang.String data,
java.lang.String customType,
BaseChannel.UpdateFileMessageHandler handler)
Updates a
FileMessage that was previously sent in the channel. |
void |
updateMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap,
BaseChannel.MetaCounterHandler handler)
Updates meta counters.
|
void |
updateMetaData(java.util.Map<java.lang.String,java.lang.String> metaDataMap,
BaseChannel.MetaDataHandler handler)
Updates meta data.
|
void |
updateUserMessage(long messageId,
java.lang.String body,
java.lang.String data,
java.lang.String customType,
BaseChannel.UpdateUserMessageHandler handler)
Updates a
UserMessage that was previously sent in the channel. |
void |
updateUserMessage(long messageId,
UserMessageParams params,
BaseChannel.UpdateUserMessageHandler handler)
Updates a
UserMessage that was previously sent in the channel. |
public static BaseChannel buildFromSerializedData(byte[] data)
data
- Serialized GroupChannel
or OpenChannel
data.GroupChannel
or OpenChannel
instance.public byte[] serialize()
GroupChannel
or OpenChannel
instance. This byte array can be stored
in the database in your application. The instance can be restored by buildFromSerializedData(byte[])
.GroupChannel
or OpenChannel
data.public java.lang.String getData()
public java.lang.String getUrl()
public long getCreatedAt()
public java.lang.String getName()
public java.lang.String getCoverUrl()
public boolean isOpenChannel()
OpenChannel
type.OpenChannel
type.public boolean isGroupChannel()
GroupChannel
type.GroupChannel
type.public boolean isFrozen()
true
if this channel is frozen.public boolean isEphemeral()
true
if this channel is ephemeral.public PreviousMessageListQuery createPreviousMessageListQuery()
@Deprecated public MessageListQuery createMessageListQuery()
getNextMessagesByTimestamp(long, boolean, int, boolean, MessageTypeFilter, String, List, boolean, boolean, GetMessagesHandler)
,
getPreviousMessagesByTimestamp(long, boolean, int, boolean, MessageTypeFilter, String, List, boolean, boolean, GetMessagesHandler)
.public OperatorListQuery createOperatorListQuery()
public void getMessagesByMessageId(long messageId, MessageListParams params, BaseChannel.GetMessagesHandler handler)
handler
as list
.messageId
- Specifies the message ID to be the reference point for messages to retrieve.params
- Params for getting message list. See MessageListParams
handler
- Callback handler.public void getMessagesByTimestamp(long ts, MessageListParams params, BaseChannel.GetMessagesHandler handler)
handler
as list
.ts
- Specifies the timestamp to be the reference point for messages to retrieve, in Unix milliseconds format.params
- Params for getting message list. See MessageListParams
handler
- Callback handler.@Deprecated public void getNextMessagesByTimestamp(long ts, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created after this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getNextMessagesByTimestamp(long ts, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created after this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getNextMessagesByTimestamp(long ts, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created after this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getNextMessagesByTimestamp(long ts, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created after this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getPreviousMessagesByTimestamp(long ts, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getPreviousMessagesByTimestamp(long ts, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getPreviousMessagesByTimestamp(long ts, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getPreviousMessagesByTimestamp(long ts, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before this timestamp will be returned.isInclusive
- Whether messages sent exactly on the timestamp should be loaded.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesByTimestamp(long ts, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before and after this timestamp will be returned.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesByTimestamp(long ts, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before and after this timestamp will be returned.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesByTimestamp(long ts, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before and after this timestamp will be returned.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesByTimestamp(long ts, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByTimestamp(long, MessageListParams, GetMessagesHandler)
handler
as list
.ts
- Starting message timestamp to load. Messages created before and after this timestamp will be returned.prevResultSize
- The number of messages sent to prior to the timestamp that should be loaded.nextResultSize
- The number of messages sent after the timestamp that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getNextMessagesById(long msgId, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have greater than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getNextMessagesById(long msgId, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have greater than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getNextMessagesById(long msgId, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have greater than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getNextMessagesById(long msgId, boolean isInclusive, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have greater than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getPreviousMessagesById(long msgId, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have less than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getPreviousMessagesById(long msgId, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have less than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getPreviousMessagesById(long msgId, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have less than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getPreviousMessagesById(long msgId, boolean isInclusive, int prevResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages have less than this ID will be returned.isInclusive
- Whether the message exactly on the ID should be loaded.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesById(long msgId, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages created before and after the ID will be returned.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesById(long msgId, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages created before and after the ID will be returned.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesById(long msgId, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages created before and after the ID will be returned.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getPreviousAndNextMessagesById(long msgId, int prevResultSize, int nextResultSize, boolean reverse, BaseChannel.MessageTypeFilter messageType, java.lang.String customType, java.util.List<java.lang.String> senderUserIds, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessagesHandler handler)
getMessagesByMessageId(long, MessageListParams, GetMessagesHandler)
handler
as list
.msgId
- Starting message ID to load. Messages created before and after the ID will be returned.prevResultSize
- The number of messages sent to prior to the ID that should be loaded.nextResultSize
- The number of messages sent after the ID that should be loaded.reverse
- If true
the result will be returned by creation time descending order.messageType
- Returns messages whose type matches BaseChannel.MessageTypeFilter
.customType
- Returns messages that have a matching custom type. If left blank, messages of all custom
types are returned.senderUserIds
- Returns messages whose sender user id matches sender user ids.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.@Deprecated public void getMessageChangeLogsByToken(java.lang.String token, BaseChannel.GetMessageChangeLogsByTokenHandler handler)
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.token
- Token to get next message changelogs. If the token is null, the result will be passed from the beginning.handler
- Callback handler.@Deprecated public void getMessageChangeLogsByToken(java.lang.String token, boolean includeMetaArray, BaseChannel.GetMessageChangeLogsByTokenHandler handler)
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.token
- Token to get next message changelogs. If the token is null, the result will be passed from the beginning.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getMessageChangeLogsByToken(java.lang.String token, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessageChangeLogsHandler handler)
getMessageChangeLogsSinceToken(String, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.token
- Token to get next message changelogs. If the token is null, the result will be passed from the beginning.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.public void getMessageChangeLogsSinceToken(java.lang.String token, MessageChangeLogsParams params, BaseChannel.GetMessageChangeLogsHandler handler)
handler
.token
- Specifies the token to be the reference point for the changelogs to retrieve. If the token is null, the result will be passed from the beginning.params
- Params for getting change logs. See MessageChangeLogsParams
handler
- Callback handler.@Deprecated public void getMessageChangeLogsByTimestamp(long ts, BaseChannel.GetMessageChangeLogsHandler handler)
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.ts
- Specifies the timestamp to be the reference point for changelogs to retrieve, in Unix milliseconds format.handler
- Callback handler.@Deprecated public void getMessageChangeLogsByTimestamp(long ts, boolean includeMetaArray, BaseChannel.GetMessageChangeLogsHandler handler)
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.ts
- Timestamp to load change logs. Change logs after this timestamp will be returned.includeMetaArray
- If true
the result will be returned with message meta array.handler
- Callback handler.@Deprecated public void getMessageChangeLogsByTimestamp(long ts, boolean includeMetaArray, boolean includeReactions, BaseChannel.GetMessageChangeLogsHandler handler)
getMessageChangeLogsSinceTimestamp(long, MessageChangeLogsParams, GetMessageChangeLogsHandler)
handler
.ts
- Timestamp to load change logs. Change logs after this timestamp will be returned.includeMetaArray
- If true
the result will be returned with message meta array.includeReactions
- If true
the result will be returned with message reactions.handler
- Callback handler.public void getMessageChangeLogsSinceTimestamp(long ts, MessageChangeLogsParams params, BaseChannel.GetMessageChangeLogsHandler handler)
handler
.ts
- Timestamp to load change logs. Change logs after this timestamp will be returned.params
- Params for getting change logs. See MessageChangeLogsParams
handler
- Callback handler.public FileMessage sendFileMessage(java.lang.String fileUrl, java.lang.String name, java.lang.String type, int size, java.lang.String data, BaseChannel.SendFileMessageHandler handler)
fileUrl
- URL of file to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(java.lang.String fileUrl, java.lang.String name, java.lang.String type, int size, java.lang.String data, java.lang.String customType, BaseChannel.SendFileMessageHandler handler)
fileUrl
- URL of file to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, BaseChannel.SendFileMessageHandler handler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.handler
- Callback handler.FileMessage
instance with request ID.@Deprecated public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, java.lang.String customType, BaseChannel.SendFileMessageHandler handler)
sendFileMessage(FileMessageParams, SendFileMessageHandler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, java.lang.String customType, java.util.List<FileMessage.ThumbnailSize> thumbnailSizes, BaseChannel.SendFileMessageHandler handler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.thumbnailSizes
- Thumbnail sizes to be generated.
If you want to automatically generate thumbnails of the file to be sent, pass this option as a List
of FileMessage.ThumbnailSize
.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, BaseChannel.SendFileMessageWithProgressHandler handler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.handler
- Callback handler.FileMessage
instance with request ID.@Deprecated public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, java.lang.String customType, BaseChannel.SendFileMessageWithProgressHandler handler)
sendFileMessage(FileMessageParams, SendFileMessageWithProgressHandler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(java.io.File file, java.lang.String name, java.lang.String type, int size, java.lang.String data, java.lang.String customType, java.util.List<FileMessage.ThumbnailSize> thumbnailSizes, BaseChannel.SendFileMessageWithProgressHandler handler)
file
- File to be sent.name
- File name.type
- File type. MIME is preferred.size
- File size.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.thumbnailSizes
- Thumbnail sizes to be generated.
If you want to automatically generate thumbnails of the file to be sent, pass this option as a List
of FileMessage.ThumbnailSize
.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(FileMessageParams params, BaseChannel.SendFileMessageHandler handler)
params
- Params of file message. Refer to FileMessageParams
.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage sendFileMessage(FileMessageParams params, BaseChannel.SendFileMessageWithProgressHandler handler)
params
- Params of file message. Refer to FileMessageParams
.handler
- Callback handler.FileMessage
instance with request ID.public java.util.List<FileMessage> sendFileMessages(java.util.List<FileMessageParams> paramsList, BaseChannel.SendFileMessagesHandler handler)
paramsList
- List of params of file message. Refer to FileMessageParams
.handler
- Callback handler.FileMessage
instance with request ID.public java.util.List<FileMessage> sendFileMessages(java.util.List<FileMessageParams> paramsList, BaseChannel.SendFileMessagesWithProgressHandler handler)
paramsList
- List of params of file message. Refer to FileMessageParams
. Null is ignoredhandler
- Callback handler.FileMessage
instance with request ID.public UserMessage sendUserMessage(java.lang.String message, BaseChannel.SendUserMessageHandler handler)
message
- String message.handler
- Callback handler.UserMessage
instance with request ID.@Deprecated public UserMessage sendUserMessage(java.lang.String message, java.lang.String data, BaseChannel.SendUserMessageHandler handler)
sendUserMessage(UserMessageParams, SendUserMessageHandler)
message
- String message.data
- Custom field. This can be used to customize the message.handler
- Callback handler.UserMessage
instance with request ID.@Deprecated public UserMessage sendUserMessage(java.lang.String message, java.lang.String data, java.lang.String customType, BaseChannel.SendUserMessageHandler handler)
sendUserMessage(UserMessageParams, SendUserMessageHandler)
message
- String message.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.handler
- Callback handler.UserMessage
instance with request ID.public UserMessage sendUserMessage(java.lang.String message, java.lang.String data, java.lang.String customType, java.util.List<java.lang.String> targetLanguages, BaseChannel.SendUserMessageHandler handler)
message
- String message.data
- Custom field. This can be used to customize the message.customType
- Custom type. This can be used to set custom type of the message.targetLanguages
- Target language codes (for example "es" for spanish) the message will be translated to.handler
- Callback handler.UserMessage
instance with request ID.public UserMessage sendUserMessage(UserMessageParams params, BaseChannel.SendUserMessageHandler handler)
params
- Params of user message. Refer to UserMessageParams
.handler
- Callback handler.UserMessage
instance with request ID.public UserMessage resendMessage(UserMessage userMessage, BaseChannel.ResendUserMessageHandler handler)
userMessage
- Failed user message.handler
- Callback handler.UserMessage
instance with request ID.public FileMessage resendMessage(FileMessage fileMessage, java.io.File file, BaseChannel.ResendFileMessageHandler handler)
fileMessage
- Failed fileMessage.file
- File to resend. If there is a file url in fileMessage, this will be ignored.handler
- Callback handler.FileMessage
instance with request ID.public FileMessage resendMessage(FileMessage fileMessage, java.io.File file, BaseChannel.ResendFileMessageWithProgressHandler handler)
fileMessage
- Failed file message.file
- File to resend. If there is a file url in fileMessage, this will be ignored.handler
- Callback handler.FileMessage
instance with request ID.public void resendFileMessage(FileMessage fileMessage, java.io.File file, BaseChannel.ResendFileMessageHandler handler)
fileMessage
- Failed fileMessage.file
- File to resend. If there is a file url in fileMessage, this will be ignored.handler
- Callback handler.public void resendFileMessage(FileMessage fileMessage, java.io.File file, BaseChannel.ResendFileMessageWithProgressHandler handler)
fileMessage
- Failed file message.file
- File to resend. If there is a file url in fileMessage, this will be ignored.handler
- Callback handler.public void resendUserMessage(UserMessage userMessage, BaseChannel.ResendUserMessageHandler handler)
userMessage
- Failed user message.handler
- Callback handler.public void translateUserMessage(UserMessage userMessage, java.util.List<java.lang.String> targetLanguages, BaseChannel.TranslateUserMessageHandler handler)
userMessage
- User message to translate.targetLanguages
- Target language codes (for example "es" for spanish) the message will be translated to.handler
- Callback handler.public FileMessage copyFileMessage(BaseChannel targetChannel, FileMessage fileMessage, BaseChannel.CopyFileMessageHandler handler)
targetChannel
- Target channel.fileMessage
- Message to be forwarded.handler
- Callback handler.FileMessage
instance with request ID.public UserMessage copyUserMessage(BaseChannel targetChannel, UserMessage userMessage, BaseChannel.CopyUserMessageHandler handler)
targetChannel
- Target channel.userMessage
- Message to be forwarded.handler
- Callback handler.UserMessage
instance with request ID.public void createMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap, BaseChannel.MetaCounterHandler handler)
metaCounterMap
- Meta counter key-value map.handler
- Callback handler.public void updateMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap, BaseChannel.MetaCounterHandler handler)
metaCounterMap
- Meta counter key-value map to update.handler
- Callback handler.public void increaseMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap, BaseChannel.MetaCounterHandler handler)
metaCounterMap
- Meta counter key-value map to increase by the specified value.handler
- Callback handler.public void decreaseMetaCounters(java.util.Map<java.lang.String,java.lang.Integer> metaCounterMap, BaseChannel.MetaCounterHandler handler)
metaCounterMap
- Meta counter key-value map to decrease by the specified value.handler
- Callback handler.public void getMetaCounters(java.util.Collection<java.lang.String> keys, BaseChannel.MetaCounterHandler handler)
keys
- Meta counters to get.handler
- Callback handler.public void getAllMetaCounters(BaseChannel.MetaCounterHandler handler)
handler
- Callback handler.public void deleteMetaCounter(java.lang.String key, BaseChannel.DeleteMetaCounterHandler handler)
key
- Meta counter key to delete.handler
- Callback handler.public void deleteAllMetaCounters(BaseChannel.DeleteMetaCounterHandler handler)
handler
- Callback handler.public void createMetaData(java.util.Map<java.lang.String,java.lang.String> metaDataMap, BaseChannel.MetaDataHandler handler)
metaDataMap
- Meta data key-value map.handler
- Callback handler.public void updateMetaData(java.util.Map<java.lang.String,java.lang.String> metaDataMap, BaseChannel.MetaDataHandler handler)
metaDataMap
- Meta data key-value map to update.handler
- Callback handler.public void getMetaData(java.util.Collection<java.lang.String> keys, BaseChannel.MetaDataHandler handler)
keys
- Meta data to get.handler
- Callback handler.public void getAllMetaData(BaseChannel.MetaDataHandler handler)
handler
- Callback handler.public void deleteMetaData(java.lang.String key, BaseChannel.DeleteMetaDataHandler handler)
key
- Meta data key to delete.handler
- Callback handler.public void deleteAllMetaData(BaseChannel.DeleteMetaDataHandler handler)
handler
- Callback handler.public void deleteMessage(BaseMessage message, BaseChannel.DeleteMessageHandler handler)
message
- Message to delete.handler
- Callback handler.public void updateUserMessage(long messageId, java.lang.String body, java.lang.String data, java.lang.String customType, BaseChannel.UpdateUserMessageHandler handler)
UserMessage
that was previously sent in the channel.messageId
- The ID of the message. This must be a message that exists in the channel's history,
or an error will be returned.body
- The new message body. This argument is optional and can be null.data
- The new Data associated with the message. This argument is optional and can be null.customType
- The new Custom Type associated with the message. This argument is optional and can be null.handler
- An BaseChannel.UpdateUserMessageHandler
to receive the callback from this method.public void updateUserMessage(long messageId, UserMessageParams params, BaseChannel.UpdateUserMessageHandler handler)
UserMessage
that was previously sent in the channel.messageId
- The ID of the message. This must be a message that exists in the channel's history,
or an error will be returned.params
- UserMessageParams
.handler
- An BaseChannel.UpdateFileMessageHandler
to receive the callback from this method.public void updateFileMessage(long messageId, java.lang.String data, java.lang.String customType, BaseChannel.UpdateFileMessageHandler handler)
FileMessage
that was previously sent in the channel.
Note that the file itself cannot be changed; only the fields stored within the message can be modified.messageId
- The ID of the message. This must be a message that exists in the channel's history,
or an error will be returned.data
- The new Data associated with the message. This argument is optional and can be null.customType
- The new Custom Type associated with the message. This argument is optional and can be null.handler
- An BaseChannel.UpdateFileMessageHandler
to receive the callback from this method.public void updateFileMessage(long messageId, FileMessageParams params, BaseChannel.UpdateFileMessageHandler handler)
FileMessage
that was previously sent in the channel.
Note that the file itself cannot be changed; only the fields stored within the message can be modified.messageId
- The ID of the message. This must be a message that exists in the channel's history,
or an error will be returned.params
- FileMessageParams
.handler
- An BaseChannel.UpdateFileMessageHandler
to receive the callback from this method.public boolean cancelFileMessageUpload(java.lang.String requestId)
FileMessage
upload.requestId
- The requestId
of the message to cancel.
This can be retrieved through FileMessage.getRequestId()
.true
if the cancel request is processed; false
if it is not,
due to the send already being complete or the message with the requestId
not being found.public void addReaction(BaseMessage message, java.lang.String key, BaseChannel.ReactionHandler handler)
Reaction
.message
- BaseMessage message.key
- String reaction key.handler
- Callback handler.public void deleteReaction(BaseMessage message, java.lang.String key, BaseChannel.ReactionHandler handler)
Reaction
.message
- BaseMessage message.key
- String reaction key.handler
- Callback handler.public void createMessageMetaArrayKeys(BaseMessage message, java.util.List<java.lang.String> metaArrayKeys, BaseChannel.MessageMetaArrayHandler handler)
message
- Message.metaArrayKeys
- Meta array keys.handler
- Callback handler.public void deleteMessageMetaArrayKeys(BaseMessage message, java.util.List<java.lang.String> metaArrayKeys, BaseChannel.MessageMetaArrayHandler handler)
message
- Message.metaArrayKeys
- Meta array keys.handler
- Callback handler.@Deprecated public void addMessageMetaArrayValues(BaseMessage message, java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaArrayMap, BaseChannel.MessageMetaArrayHandler handler)
addMessageMetaArrayValues(BaseMessage, List, MessageMetaArrayHandler)
.message
- Message.metaArrayMap
- Meta array key-value map.handler
- Callback handler.public void addMessageMetaArrayValues(BaseMessage message, java.util.List<MessageMetaArray> metaArrays, BaseChannel.MessageMetaArrayHandler handler)
message
- Message.metaArrays
- MessageMetaArray
list.handler
- Callback handler.@Deprecated public void removeMessageMetaArrayValues(BaseMessage message, java.util.Map<java.lang.String,java.util.List<java.lang.String>> metaArrayMap, BaseChannel.MessageMetaArrayHandler handler)
removeMessageMetaArrayValues(BaseMessage, List, MessageMetaArrayHandler)
.message
- Message.metaArrayMap
- Meta array key-value map.handler
- Callback handler.public void removeMessageMetaArrayValues(BaseMessage message, java.util.List<MessageMetaArray> metaArrays, BaseChannel.MessageMetaArrayHandler handler)
message
- Message.metaArrays
- MessageMetaArray
list.handler
- Callback handler.public void getMyMutedInfo(BaseChannel.GetMyMutedInfoHandler handler)
handler
- Callback handler.public void report(BaseChannel.ReportCategory reportCategory, java.lang.String reportDescription, BaseChannel.ReportHandler handler)
reportCategory
- BaseChannel.ReportCategory
.reportDescription
- Report description. (optional)handler
- Callback handler.public void reportUser(User offendingUser, BaseChannel.ReportCategory reportCategory, java.lang.String reportDescription, BaseChannel.ReportUserHandler handler)
offendingUser
- Offending user.reportCategory
- BaseChannel.ReportCategory
.reportDescription
- Report description. (optional)handler
- Callback handler.public void reportMessage(BaseMessage message, BaseChannel.ReportCategory reportCategory, java.lang.String reportDescription, BaseChannel.ReportMessageHandler handler)
message
- UserMessage
or FileMessage
.reportCategory
- BaseChannel.ReportCategory
.reportDescription
- Report description. (optional)handler
- Callback handler.public void addOperators(java.util.Collection<java.lang.String> userIds, AddOperatorsHandler handler)
userIds
- user ids to add as operators. If empty or null, SendBirdException
with error code
is passed to the handler.handler
- handler to registerpublic void removeOperators(java.util.Collection<java.lang.String> userIds, RemoveOperatorsHandler handler)
userIds
- user ids to remove from operators list. If empty or null, SendBirdException
with error code
is passed to the handler.handler
- handler to registerpublic void removeAllOperators(RemoveAllOperatorsHandler handler)
handler
- handler to registerpublic final java.util.Map<java.lang.String,java.lang.String> getCachedMetaData()
getMetaData(Collection, MetaDataHandler)
returned successfullygetAllMetaData(MetaDataHandler)
returned successfullydeleteMetaData(String, DeleteMetaDataHandler)
returned successfullydeleteAllMetaData(DeleteMetaDataHandler)
returned successfullyupdateMetaData(Map, MetaDataHandler)
returned successfullySendBird.ChannelHandler.onMetaDataCreated(BaseChannel, Map)
is calledSendBird.ChannelHandler.onMetaDataUpdated(BaseChannel, Map)
is calledSendBird.ChannelHandler.onMetaDataDeleted(BaseChannel, List)
is called
Please note that this method only caches values available in above methods: if
getAllMetaData(MetaDataHandler)
is never called on this instance, the map returned
by this method may not contain all metadata mappings.
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
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.