Class CombineMessage
-
- All Implemented Interfaces:
public final class CombineMessage extends MediaMessageContent
Merge-forward (combined) message.
Inherits MediaMessageContent. This message will store and count toward unread message count.
Inherits from MediaMessageContent properties:
localPath Local merge message file path
remoteUrl Remote merge message file download URL
name Merge message file name
-
-
Field Summary
Fields Modifier and Type Field Description private final ChannelTypechannelTypeprivate List<String>nameListprivate List<String>summaryListprivate IntegermsgNumprivate final List<CombineMsgItem>msgListprivate final StringjsonMsgKeyprivate StringlocalPathprivate StringremoteUrlprivate Stringnameprivate Stringextraprivate MentionedInfomentionedInfoprivate BooleanisDestructprivate LongdestructTime
-
Constructor Summary
Constructors Constructor Description CombineMessage()
-
Method Summary
Modifier and Type Method Description final ChannelTypegetChannelType()Source channel type of the forwarded messages. final List<String>getNameList()Sender name list (deduplicated for direct channels, group name for group channels). final UnitsetNameList(List<String> nameList)Sender name list (deduplicated for direct channels, group name for group channels). final List<String>getSummaryList()Summary content list for display preview. final UnitsetSummaryList(List<String> summaryList)Summary content list for display preview. final IntegergetMsgNum()Total number of forwarded messages. final UnitsetMsgNum(Integer msgNum)Total number of forwarded messages. final List<CombineMsgItem>getMsgList()List of individual forwarded message items. final StringgetJsonMsgKey()Key for fetching remote combined message payload. StringtoString()-
Methods inherited from class ai.nexconn.chat.message.MediaMessageContent
getLocalPath, getName, getRemoteUrl, setLocalPath, setName, setRemoteUrl -
Methods inherited from class ai.nexconn.chat.message.MessageContent
getDestructTime, getExtra, getMentionedInfo, isDestruct, setDestruct, setDestructTime, setExtra, setMentionedInfo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChannelType
final ChannelType getChannelType()
Source channel type of the forwarded messages.
-
getNameList
final List<String> getNameList()
Sender name list (deduplicated for direct channels, group name for group channels).
-
setNameList
final Unit setNameList(List<String> nameList)
Sender name list (deduplicated for direct channels, group name for group channels).
-
getSummaryList
final List<String> getSummaryList()
Summary content list for display preview.
-
setSummaryList
final Unit setSummaryList(List<String> summaryList)
Summary content list for display preview.
-
getMsgNum
final Integer getMsgNum()
Total number of forwarded messages.
-
getMsgList
final List<CombineMsgItem> getMsgList()
List of individual forwarded message items.
-
getJsonMsgKey
final String getJsonMsgKey()
Key for fetching remote combined message payload.
Present when the forwarded messages exceed the inline size limit; in that case, the actual message data is stored server-side.
-
toString
String toString()
-
-
-
-