OptionalcallbackTriggers a backend event (callback) with associated metadata.
OptionalidUnique idempotent identifier for the button. Used by the frontend to track state and prevent duplicate interactions.
OptionallabelThe human-readable label displayed on the button.
OptionalmetadataExtensible metadata for UI/UX styling (e.g., "color", "theme", "size"). Usage: Allows for future-proofing without breaking schema changes.
OptionalrequestRequests sensitive information from the client (e.g., location or contact).
OptionalurlDirects the user to an external web resource.
Defines a single interactive element within the keyboard. Each button must have a unique identifier and a specific action type.