public class MessageEvent extends Object implements Event
- 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
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageEvent.Edited |
| Constructor and Description |
|---|
MessageEvent() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSubtypepublic static final String TYPE_NAME
public String getClientMsgId()
public String getTeam()
public String getChannel()
public String getUser()
public String getBotId()
public BotProfile getBotProfile()
public String getText()
public List<LayoutBlock> getBlocks()
public List<Attachment> getAttachments()
public String getTs()
public String getParentUserId()
public String getThreadTs()
public String getEventTs()
public String getChannelType()
public MessageEvent.Edited getEdited()
public void setClientMsgId(String clientMsgId)
public void setTeam(String team)
public void setChannel(String channel)
public void setUser(String user)
public void setBotId(String botId)
public void setBotProfile(BotProfile botProfile)
public void setText(String text)
public void setBlocks(List<LayoutBlock> blocks)
public void setAttachments(List<Attachment> attachments)
public void setTs(String ts)
public void setParentUserId(String parentUserId)
public void setThreadTs(String threadTs)
public void setEventTs(String eventTs)
public void setChannelType(String channelType)
public void setEdited(MessageEvent.Edited edited)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.