-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.models.CustomObject
public final class Message implements CustomObject
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Message(String id, String cid, String text, String html, String parentId, String command, List<Attachment> attachments, List<String> mentionedUsersIds, List<User> mentionedUsers, Integer replyCount, Map<String, Integer> reactionCounts, Map<String, Integer> reactionScores, SyncStatus syncStatus, String type, List<Reaction> latestReactions, List<Reaction> ownReactions, Date createdAt, Date updatedAt, Date deletedAt, Date updatedLocallyAt, Date createdLocallyAt, User user, Map<String, Object> extraData, Boolean silent, Boolean shadowed, Map<String, String> i18n, Boolean showInChannel, ChannelInfo channelInfo, Message replyTo, String replyMessageId, Boolean pinned, Date pinnedAt, Date pinExpires, User pinnedBy, List<User> threadParticipants)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final Stringcomponent3()final Stringcomponent4()final Stringcomponent5()final Stringcomponent6()final List<Attachment>component7()final List<String>component8()final List<User>component9()final Integercomponent10()final Map<String, Integer>component11()final Map<String, Integer>component12()final SyncStatuscomponent13()final Stringcomponent14()final List<Reaction>component15()final List<Reaction>component16()final Datecomponent17()final Datecomponent18()final Datecomponent19()final Datecomponent20()final Datecomponent21()final Usercomponent22()final Map<String, Object>component23()final Booleancomponent24()final Booleancomponent25()final Map<String, String>component26()final Booleancomponent27()final ChannelInfocomponent28()final Messagecomponent29()final Stringcomponent30()final Booleancomponent31()final Datecomponent32()final Datecomponent33()final Usercomponent34()final List<User>component35()final Messagecopy(String id, String cid, String text, String html, String parentId, String command, List<Attachment> attachments, List<String> mentionedUsersIds, List<User> mentionedUsers, Integer replyCount, Map<String, Integer> reactionCounts, Map<String, Integer> reactionScores, SyncStatus syncStatus, String type, List<Reaction> latestReactions, List<Reaction> ownReactions, Date createdAt, Date updatedAt, Date deletedAt, Date updatedLocallyAt, Date createdLocallyAt, User user, Map<String, Object> extraData, Boolean silent, Boolean shadowed, Map<String, String> i18n, Boolean showInChannel, ChannelInfo channelInfo, Message replyTo, String replyMessageId, Boolean pinned, Date pinnedAt, Date pinExpires, User pinnedBy, List<User> threadParticipants)final StringgetId()final StringgetCid()final StringgetText()final StringgetHtml()final StringgetParentId()final StringgetCommand()final List<Attachment>getAttachments()final List<String>getMentionedUsersIds()final List<User>getMentionedUsers()final IntegergetReplyCount()final Map<String, Integer>getReactionCounts()final Map<String, Integer>getReactionScores()final SyncStatusgetSyncStatus()if the message has been synced to the servers final StringgetType()final List<Reaction>getLatestReactions()final List<Reaction>getOwnReactions()final DategetCreatedAt()final DategetUpdatedAt()final DategetDeletedAt()final DategetUpdatedLocallyAt()final DategetCreatedLocallyAt()final UsergetUser()Map<String, Object>getExtraData()final BooleangetSilent()final BooleangetShadowed()final Map<String, String>getI18n()final BooleangetShowInChannel()final ChannelInfogetChannelInfo()final MessagegetReplyTo()final StringgetReplyMessageId()final BooleangetPinned()final DategetPinnedAt()final DategetPinExpires()final UsergetPinnedBy()final List<User>getThreadParticipants()final UnitsetId(String id)final UnitsetCid(String cid)final UnitsetText(String text)final UnitsetParentId(@SerializedName(value = "parent_id") String parentId)final UnitsetCommand(String command)final UnitsetAttachments(List<Attachment> attachments)final UnitsetMentionedUsersIds(@SerializedName(value = "mentioned_users") List<String> mentionedUsersIds)final UnitsetMentionedUsers(@SerializedName(value = "mentioned_users") List<User> mentionedUsers)final UnitsetReplyCount(@SerializedName(value = "reply_count") Integer replyCount)final UnitsetReactionCounts(@SerializedName(value = "reaction_counts") Map<String, Integer> reactionCounts)final UnitsetReactionScores(@SerializedName(value = "reaction_scores") Map<String, Integer> reactionScores)final UnitsetSyncStatus(SyncStatus syncStatus)if the message has been synced to the servers final UnitsetType(String type)final UnitsetLatestReactions(@SerializedName(value = "latest_reactions") List<Reaction> latestReactions)final UnitsetOwnReactions(@SerializedName(value = "own_reactions") List<Reaction> ownReactions)final UnitsetCreatedAt(@SerializedName(value = "created_at") Date createdAt)final UnitsetUpdatedAt(@SerializedName(value = "updated_at") Date updatedAt)final UnitsetDeletedAt(@SerializedName(value = "deleted_at") Date deletedAt)final UnitsetUpdatedLocallyAt(Date updatedLocallyAt)final UnitsetCreatedLocallyAt(Date createdLocallyAt)final UnitsetUser(User user)UnitsetExtraData(Map<String, Object> extraData)final UnitsetSilent(Boolean silent)final UnitsetShadowed(Boolean shadowed)final UnitsetShowInChannel(@SerializedName(value = "show_in_channel") Boolean showInChannel)final UnitsetChannelInfo(@SerializedName(value = "channel") ChannelInfo channelInfo)final UnitsetReplyTo(@SerializedName(value = "quoted_message") Message replyTo)final UnitsetReplyMessageId(@SerializedName(value = "quoted_message_id") String replyMessageId)final UnitsetPinned(Boolean pinned)final UnitsetPinnedAt(@SerializedName(value = "pinned_at") Date pinnedAt)final UnitsetPinExpires(@SerializedName(value = "pin_expires") Date pinExpires)final UnitsetPinnedBy(@SerializedName(value = "pinned_by") User pinnedBy)final UnitsetThreadParticipants(@SerializedName(value = "thread_participants") List<User> threadParticipants)-
Methods inherited from class io.getstream.chat.android.client.models.Message
getExtraValue, putExtraValue -
Methods inherited from class io.getstream.chat.android.client.models.CustomObject
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Message
Message(String id, String cid, String text, String html, String parentId, String command, List<Attachment> attachments, List<String> mentionedUsersIds, List<User> mentionedUsers, Integer replyCount, Map<String, Integer> reactionCounts, Map<String, Integer> reactionScores, SyncStatus syncStatus, String type, List<Reaction> latestReactions, List<Reaction> ownReactions, Date createdAt, Date updatedAt, Date deletedAt, Date updatedLocallyAt, Date createdLocallyAt, User user, Map<String, Object> extraData, Boolean silent, Boolean shadowed, Map<String, String> i18n, Boolean showInChannel, ChannelInfo channelInfo, Message replyTo, String replyMessageId, Boolean pinned, Date pinnedAt, Date pinExpires, User pinnedBy, List<User> threadParticipants)
-
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
component3
final String component3()
-
component4
final String component4()
-
component5
final String component5()
-
component6
final String component6()
-
component7
final List<Attachment> component7()
-
component8
final List<String> component8()
-
component9
final List<User> component9()
-
component10
final Integer component10()
-
component11
final Map<String, Integer> component11()
-
component12
final Map<String, Integer> component12()
-
component13
final SyncStatus component13()
-
component14
final String component14()
-
component15
final List<Reaction> component15()
-
component16
final List<Reaction> component16()
-
component17
final Date component17()
-
component18
final Date component18()
-
component19
final Date component19()
-
component20
final Date component20()
-
component21
final Date component21()
-
component22
final User component22()
-
component23
final Map<String, Object> component23()
-
component24
final Boolean component24()
-
component25
final Boolean component25()
-
component26
final Map<String, String> component26()
-
component27
final Boolean component27()
-
component28
final ChannelInfo component28()
-
component29
final Message component29()
-
component30
final String component30()
-
component31
final Boolean component31()
-
component32
final Date component32()
-
component33
final Date component33()
-
component34
final User component34()
-
component35
final List<User> component35()
-
copy
final Message copy(String id, String cid, String text, String html, String parentId, String command, List<Attachment> attachments, List<String> mentionedUsersIds, List<User> mentionedUsers, Integer replyCount, Map<String, Integer> reactionCounts, Map<String, Integer> reactionScores, SyncStatus syncStatus, String type, List<Reaction> latestReactions, List<Reaction> ownReactions, Date createdAt, Date updatedAt, Date deletedAt, Date updatedLocallyAt, Date createdLocallyAt, User user, Map<String, Object> extraData, Boolean silent, Boolean shadowed, Map<String, String> i18n, Boolean showInChannel, ChannelInfo channelInfo, Message replyTo, String replyMessageId, Boolean pinned, Date pinnedAt, Date pinExpires, User pinnedBy, List<User> threadParticipants)
-
getParentId
final String getParentId()
-
getCommand
final String getCommand()
-
getAttachments
final List<Attachment> getAttachments()
-
getMentionedUsersIds
final List<String> getMentionedUsersIds()
-
getMentionedUsers
final List<User> getMentionedUsers()
-
getReplyCount
final Integer getReplyCount()
-
getReactionCounts
final Map<String, Integer> getReactionCounts()
-
getReactionScores
final Map<String, Integer> getReactionScores()
-
getSyncStatus
final SyncStatus getSyncStatus()
if the message has been synced to the servers
-
getLatestReactions
final List<Reaction> getLatestReactions()
-
getOwnReactions
final List<Reaction> getOwnReactions()
-
getCreatedAt
final Date getCreatedAt()
-
getUpdatedAt
final Date getUpdatedAt()
-
getDeletedAt
final Date getDeletedAt()
-
getUpdatedLocallyAt
final Date getUpdatedLocallyAt()
-
getCreatedLocallyAt
final Date getCreatedLocallyAt()
-
getExtraData
Map<String, Object> getExtraData()
-
getShadowed
final Boolean getShadowed()
-
getShowInChannel
final Boolean getShowInChannel()
-
getChannelInfo
final ChannelInfo getChannelInfo()
-
getReplyTo
final Message getReplyTo()
-
getReplyMessageId
final String getReplyMessageId()
-
getPinnedAt
final Date getPinnedAt()
-
getPinExpires
final Date getPinExpires()
-
getPinnedBy
final User getPinnedBy()
-
getThreadParticipants
final List<User> getThreadParticipants()
-
setParentId
final Unit setParentId(@SerializedName(value = "parent_id") String parentId)
-
setCommand
final Unit setCommand(String command)
-
setAttachments
final Unit setAttachments(List<Attachment> attachments)
-
setMentionedUsersIds
final Unit setMentionedUsersIds(@SerializedName(value = "mentioned_users") List<String> mentionedUsersIds)
-
setMentionedUsers
final Unit setMentionedUsers(@SerializedName(value = "mentioned_users") List<User> mentionedUsers)
-
setReplyCount
final Unit setReplyCount(@SerializedName(value = "reply_count") Integer replyCount)
-
setReactionCounts
final Unit setReactionCounts(@SerializedName(value = "reaction_counts") Map<String, Integer> reactionCounts)
-
setReactionScores
final Unit setReactionScores(@SerializedName(value = "reaction_scores") Map<String, Integer> reactionScores)
-
setSyncStatus
final Unit setSyncStatus(SyncStatus syncStatus)
if the message has been synced to the servers
-
setLatestReactions
final Unit setLatestReactions(@SerializedName(value = "latest_reactions") List<Reaction> latestReactions)
-
setOwnReactions
final Unit setOwnReactions(@SerializedName(value = "own_reactions") List<Reaction> ownReactions)
-
setCreatedAt
final Unit setCreatedAt(@SerializedName(value = "created_at") Date createdAt)
-
setUpdatedAt
final Unit setUpdatedAt(@SerializedName(value = "updated_at") Date updatedAt)
-
setDeletedAt
final Unit setDeletedAt(@SerializedName(value = "deleted_at") Date deletedAt)
-
setUpdatedLocallyAt
final Unit setUpdatedLocallyAt(Date updatedLocallyAt)
-
setCreatedLocallyAt
final Unit setCreatedLocallyAt(Date createdLocallyAt)
-
setExtraData
Unit setExtraData(Map<String, Object> extraData)
-
setShadowed
final Unit setShadowed(Boolean shadowed)
-
setShowInChannel
final Unit setShowInChannel(@SerializedName(value = "show_in_channel") Boolean showInChannel)
-
setChannelInfo
final Unit setChannelInfo(@SerializedName(value = "channel") ChannelInfo channelInfo)
-
setReplyTo
final Unit setReplyTo(@SerializedName(value = "quoted_message") Message replyTo)
-
setReplyMessageId
final Unit setReplyMessageId(@SerializedName(value = "quoted_message_id") String replyMessageId)
-
setPinnedAt
final Unit setPinnedAt(@SerializedName(value = "pinned_at") Date pinnedAt)
-
setPinExpires
final Unit setPinExpires(@SerializedName(value = "pin_expires") Date pinExpires)
-
setPinnedBy
final Unit setPinnedBy(@SerializedName(value = "pinned_by") User pinnedBy)
-
setThreadParticipants
final Unit setThreadParticipants(@SerializedName(value = "thread_participants") List<User> threadParticipants)
-
-
-
-