Skip to content

RichTextListElement.java have does not have border and offset fields  #1029

@harinandan-reddy

Description

@harinandan-reddy

RichTextListElement.java have does not have border and offset fields

When looking at the raw JSON we do have the two fields which are not present in the model object

{
        "type" : "rich_text_list",
        "elements" : [ {
          "type" : "rich_text_section",
          "elements" : [ {
            "type" : "text",
            "text" : "two"
          } ]
        }, {
          "type" : "rich_text_section",
          "elements" : [ {
            "type" : "text",
            "text" : "threefour"
          } ]
        } ],
        "style" : "ordered",
        "indent" : 0,
        "offset" : 1,
        "border" : 0
      }

Reproducible in:

The Slack SDK version

1.24.0

Java Runtime version

openjdk version "11.0.16" 2022-07-19 LTS
OpenJDK Runtime Environment Zulu11.58+15-CA (build 11.0.16+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.58+15-CA (build 11.0.16+8-LTS, mixed mode)

OS info

ProductName: macOS
ProductVersion: 12.4
BuildVersion: 21F79
Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000

Steps to reproduce:

(Share the commands to run, source code, and project settings (e.g., pom.xml/build.gradle))

  1. Enable event subscription
  2. Post a message
  3. View received raw message

Expected result:

Should be able to access the border and offset fields

Actual result:

The RichTextListElement.java does not have these fields

Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

Metadata

Metadata

Assignees

Labels

bugM-T: confirmed bug report. Issues are confirmed when the reproduction steps are documentedproject:slack-api-modelproject:slack-api-model

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions