tooltip

public DialogManager.ActionButton tooltip(JsonElement tooltip)

Sets an optional tooltip shown when the button is highlighted:contentReference[oaicite:58]{index=58}.

Return

this builder

Parameters

tooltip

text component for the tooltip


public DialogManager.ActionButton tooltip(String text)

Convenience overload using a plain string tooltip.

Return

this builder

Parameters

text

plain text tooltip