The InputEventOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { InputEventOptions } from '@minecraft/server';Properties
Section titled “Properties”buttons
Section titled “buttons”optional
buttons?: InputButton[];Types
optional
state?: ButtonState;Types