Direction
public enum Direction : String, Encodable
Determines the direction in which the buttons are laid out, whether in a dropdown menu or a row/column of buttons.
For left
and up
, the buttons will still appear in left-to-right or top-to-bottom order
respectively.