Class SlackFileObject
java.lang.Object
com.slack.api.model.block.composition.SlackFileObject
Defines an object containing Slack file information to be used in an image block or image element.
This file must be an image, and you must provide either the URL or ID. In addition, the user posting these blocks must have access to this file. If both are provided then the payload will be rejected. Currently only png, jpg, jpeg, and gif Slack image files are supported.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetId()Slack ID of the file.getUrl()This URL can be the url_private or the permalink of the Slack file.inthashCode()voidSlack ID of the file.voidThis URL can be the url_private or the permalink of the Slack file.toString()
-
Constructor Details
-
SlackFileObject
public SlackFileObject() -
SlackFileObject
-
-
Method Details
-
builder
-
getId
Slack ID of the file. -
getUrl
This URL can be the url_private or the permalink of the Slack file. -
setId
Slack ID of the file. -
setUrl
This URL can be the url_private or the permalink of the Slack file. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-