Class MessageEvent

  • All Implemented Interfaces:
    Event, Serializable

    public class MessageEvent
    extends Object
    implements Event
    A message is delivered from several sources:

    - They are sent via the Real Time Messaging API when a message is sent to a channel to which you subscribe. This message should immediately be displayed in the client. - They are returned via calls to channels.history, im.history or groups.history - They are returned as latest property on channel, group and im objects.

    https://api.slack.com/events/message

    See Also:
    Serialized Form
    • Constructor Detail

      • MessageEvent

        public MessageEvent()
    • Method Detail

      • getClientMsgId

        public String getClientMsgId()
      • getTeam

        public String getTeam()
      • getChannel

        public String getChannel()
      • getUser

        public String getUser()
      • getBotId

        public String getBotId()
      • getBotProfile

        public BotProfile getBotProfile()
      • getText

        public String getText()
      • getFiles

        public List<File> getFiles()
      • getTs

        public String getTs()
      • getParentUserId

        public String getParentUserId()
      • getThreadTs

        public String getThreadTs()
      • getEventTs

        public String getEventTs()
      • getChannelType

        public String getChannelType()
      • setClientMsgId

        public void setClientMsgId​(String clientMsgId)
      • setTeam

        public void setTeam​(String team)
      • setChannel

        public void setChannel​(String channel)
      • setUser

        public void setUser​(String user)
      • setBotId

        public void setBotId​(String botId)
      • setBotProfile

        public void setBotProfile​(BotProfile botProfile)
      • setText

        public void setText​(String text)
      • setAttachments

        public void setAttachments​(List<Attachment> attachments)
      • setFiles

        public void setFiles​(List<File> files)
      • setTs

        public void setTs​(String ts)
      • setParentUserId

        public void setParentUserId​(String parentUserId)
      • setThreadTs

        public void setThreadTs​(String threadTs)
      • setEventTs

        public void setEventTs​(String eventTs)
      • setChannelType

        public void setChannelType​(String channelType)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object