Package com.slack.api.model.event
Class LinkSharedEvent
java.lang.Object
com.slack.api.model.event.LinkSharedEvent
- All Implemented Interfaces:
Event,Serializable
public class LinkSharedEvent extends Object implements Event
The thread_ts field only appears when the link was shared within a message thread.
https://api.slack.com/events/link_shared
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkSharedEvent.Link -
Field Summary
-
Constructor Summary
Constructors Constructor Description LinkSharedEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()StringgetEventTs()List<LinkSharedEvent.Link>getLinks()StringgetMessageTs()StringgetSource()StringgetThreadTs()StringgetType()StringgetUnfurlId()StringgetUser()inthashCode()booleanisBotUserMember()voidsetBotUserMember(boolean botUserMember)voidsetChannel(String channel)voidsetEventTs(String eventTs)voidsetLinks(List<LinkSharedEvent.Link> links)voidsetMessageTs(String messageTs)voidsetSource(String source)voidsetThreadTs(String threadTs)voidsetUnfurlId(String unfurlId)voidsetUser(String user)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
LinkSharedEvent
public LinkSharedEvent()
-
-
Method Details
-
getType
-
getChannel
-
getUser
-
getMessageTs
-
getThreadTs
-
getLinks
-
isBotUserMember
public boolean isBotUserMember() -
getUnfurlId
-
getSource
-
getEventTs
-
setChannel
-
setUser
-
setMessageTs
-
setThreadTs
-
setLinks
-
setBotUserMember
public void setBotUserMember(boolean botUserMember) -
setUnfurlId
-
setSource
-
setEventTs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-