Skip to content

MessageComponentType enum is wrong #179

@npenate

Description

@npenate

The current possible values of MessageComponentType enum are:

  HEADER("header"),
  BODY("body"),
  FOOTER("footer"),
  BUTTONS("buttons");

The BUTTONS value is not a valid value since the API is expecting BUTTON("button"). You can see this example in documentation.
I have tried to make a call using BUTTONS but received the following error:

http status code: 400
{code=21, description='Content is not valid for type hsm: hsm components validation has failed. validation of component template has failed. Err: unknown component type buttons', parameter='null'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions