Class ChatUnfurlRequest

    • Method Detail

      • getToken

        public String getToken()
        Authentication token. Requires scope: `links:write`
        Specified by:
        getToken in interface SlackApiRequest
        Returns:
        token string value or null
      • getUserAuthMessage

        public String getUserAuthMessage()
        Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior
      • getRawUserAuthBlocks

        public String getRawUserAuthBlocks()
      • getUserAuthBlocks

        public List<LayoutBlock> getUserAuthBlocks()
        Provide an array of blocks to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior
      • isUserAuthRequired

        public boolean isUserAuthRequired()
        Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain
      • getUserAuthUrl

        public String getUserAuthUrl()
        Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.
      • getRawUnfurls

        public String getRawUnfurls()
        URL-encoded JSON map with keys set to URLs featured in the message, pointing to their unfurl message attachments.
      • getTs

        public String getTs()
        Timestamp of the message to add unfurl behavior to.
      • getChannel

        public String getChannel()
        Channel ID of the message
      • getUnfurlId

        public String getUnfurlId()
      • getSource

        public String getSource()
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `links:write`
        Specified by:
        setToken in interface SlackApiRequest
      • setUserAuthMessage

        public void setUserAuthMessage​(String userAuthMessage)
        Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior
      • setRawUserAuthBlocks

        public void setRawUserAuthBlocks​(String rawUserAuthBlocks)
      • setUserAuthBlocks

        public void setUserAuthBlocks​(List<LayoutBlock> userAuthBlocks)
        Provide an array of blocks to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior
      • setUserAuthRequired

        public void setUserAuthRequired​(boolean userAuthRequired)
        Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain
      • setUserAuthUrl

        public void setUserAuthUrl​(String userAuthUrl)
        Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded.
      • setRawUnfurls

        public void setRawUnfurls​(String rawUnfurls)
        URL-encoded JSON map with keys set to URLs featured in the message, pointing to their unfurl message attachments.
      • setTs

        public void setTs​(String ts)
        Timestamp of the message to add unfurl behavior to.
      • setChannel

        public void setChannel​(String channel)
        Channel ID of the message
      • setUnfurlId

        public void setUnfurlId​(String unfurlId)
      • setSource

        public void setSource​(String source)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object