public class ConversationDirectMessagePacket extends PeerBasedCommandPacket
UNSUPPORTED_OPERATION| 构造器和说明 |
|---|
ConversationDirectMessagePacket() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getConversationId() |
static ConversationDirectMessagePacket |
getConversationMessagePacket(String peerId,
String conversationId,
String msg,
byte[] binaryMsg,
boolean mentionAll,
List<String> mentionList,
AVIMMessageOption messageOption,
int requestId) |
static ConversationDirectMessagePacket |
getConversationMessagePacket(String peerId,
String conversationId,
String msg,
byte[] binaryMsg,
boolean mentionAll,
List<String> mentionList,
String messageToken,
AVIMMessageOption option,
int requestId) |
protected Messages.DirectCommand |
getDirectCommand() |
protected Messages.GenericCommand.Builder |
getGenericCommandBuilder() |
List<String> |
getMentionList() |
String |
getMessage() |
boolean |
isMentionAll() |
void |
setBinaryMessage(byte[] bytes) |
void |
setConversationId(String conversationId) |
void |
setMentionAll(boolean mentionAll) |
void |
setMentionList(List<String> mentionList) |
void |
setMessage(String message) |
getPeerId, setPeerIdgetAppId, getCmd, getGenericCommand, getInstallationId, getLength, getRequestId, setAppId, setCmd, setInstallationId, setRequestIdpublic String getConversationId()
public void setConversationId(String conversationId)
public String getMessage()
public void setMessage(String message)
public boolean isMentionAll()
public void setMentionAll(boolean mentionAll)
public void setBinaryMessage(byte[] bytes)
protected Messages.GenericCommand.Builder getGenericCommandBuilder()
protected Messages.DirectCommand getDirectCommand()
public static ConversationDirectMessagePacket getConversationMessagePacket(String peerId, String conversationId, String msg, byte[] binaryMsg, boolean mentionAll, List<String> mentionList, AVIMMessageOption messageOption, int requestId)
public static ConversationDirectMessagePacket getConversationMessagePacket(String peerId, String conversationId, String msg, byte[] binaryMsg, boolean mentionAll, List<String> mentionList, String messageToken, AVIMMessageOption option, int requestId)
Copyright © 2019. All rights reserved.