Package 

Class MessageButton

    • Constructor Detail

    • Method Detail

      • getLabel

         final String getLabel()

        The caption to render. Wire key label on this lane — the platform GraphQL read spells the same field text, so payloads from that source are not interchangeable with these.

      • getButtonType

         final String getButtonType()

        Authored kind — "text" / "postback" / "url". A free string, not an enum: an unknown kind must degrade, not fail to decode.

        The wire key is type; without the SerialName it would serialize as buttonType and decode to empty, silently turning every URL button into a plain postback.