Class ChatUpdateRequest

    • Method Detail

      • isAsUser

        public Boolean isAsUser()
      • setAsUser

        public void setAsUser​(Boolean asUser)
      • getChannel

        public String getChannel()
        Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.
      • getTs

        public String getTs()
        Timestamp of the message to be updated.
      • getText

        public String getText()
        Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead.
      • getUser

        public String getUser()
        `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument.
      • getBlocks

        public List<LayoutBlock> getBlocks()
        A JSON-based array of structured blocks, presented as a URL-encoded string.
      • getBlocksAsString

        public String getBlocksAsString()
        A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
      • getAttachments

        public List<Attachment> getAttachments()
        A JSON-based array of structured attachments, presented as a URL-encoded string.
      • getAttachmentsAsString

        public String getAttachmentsAsString()
        A JSON-based array of structured attachments, presented as a URL-encoded string.
      • isLinkNames

        public boolean isLinkNames()
        Find and link channel names and usernames.
      • getParse

        public String getParse()
        Change how messages are treated. Defaults to `none`. See [below](#formatting).
      • setToken

        public void setToken​(String token)
        Authentication token. Requires scope: `chat:write`
      • setChannel

        public void setChannel​(String channel)
        Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name.
      • setTs

        public void setTs​(String ts)
        Timestamp of the message to be updated.
      • setText

        public void setText​(String text)
        Text of the message to send. See below for an explanation of [formatting](#formatting). This field is usually required, unless you're providing only `attachments` instead.
      • setUser

        public void setUser​(String user)
        `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument.
      • setBlocks

        public void setBlocks​(List<LayoutBlock> blocks)
        A JSON-based array of structured blocks, presented as a URL-encoded string.
      • setBlocksAsString

        public void setBlocksAsString​(String blocksAsString)
        A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
      • setAttachments

        public void setAttachments​(List<Attachment> attachments)
        A JSON-based array of structured attachments, presented as a URL-encoded string.
      • setAttachmentsAsString

        public void setAttachmentsAsString​(String attachmentsAsString)
        A JSON-based array of structured attachments, presented as a URL-encoded string.
      • setLinkNames

        public void setLinkNames​(boolean linkNames)
        Find and link channel names and usernames.
      • setParse

        public void setParse​(String parse)
        Change how messages are treated. Defaults to `none`. See [below](#formatting).
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object