Package com.slack.api.model.event
Class MessageFileShareEvent
java.lang.Object
com.slack.api.model.event.MessageFileShareEvent
- All Implemented Interfaces:
Event,Serializable
A file was shared into a channel
https://api.slack.com/events/message/file_share
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetFiles()getText()getTs()getType()getUser()inthashCode()voidsetAttachments(List<Attachment> attachments) voidsetBlocks(List<LayoutBlock> blocks) voidsetChannel(String channel) voidsetChannelType(String channelType) voidsetDisplayAsBot(Boolean displayAsBot) voidsetEventTs(String eventTs) voidvoidsetParentUserId(String parentUserId) voidvoidsetThreadTs(String threadTs) voidvoidvoidvoidtoString()
-
Field Details
-
TYPE_NAME
- See Also:
-
SUBTYPE_NAME
- See Also:
-
-
Constructor Details
-
MessageFileShareEvent
public MessageFileShareEvent()
-
-
Method Details
-
getType
-
getSubtype
- Specified by:
getSubtypein interfaceEvent
-
getText
-
getBlocks
-
getAttachments
-
getFiles
-
getUpload
-
getDisplayAsBot
-
getXFiles
-
getUser
-
getParentUserId
-
getTs
-
getThreadTs
-
getChannel
-
getEventTs
-
getChannelType
-
setText
-
setBlocks
-
setAttachments
-
setFiles
-
setUpload
-
setDisplayAsBot
-
setXFiles
-
setUser
-
setParentUserId
-
setTs
-
setThreadTs
-
setChannel
-
setEventTs
-
setChannelType
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-