OpenAI::ClickParam
Inherits JSON::Serializable < Reference < Object
A click action.
Constructors
new(pull : JSON::PullParser)
Sourcenew(type_value : ClickParamType = ClickParamType::Click, button : ClickButtonType = ClickButtonType::Left, x : Int64 = 0, y : Int64 = 0)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
button
Indicates which mouse button was pressed during the click. One of left, right, wheel, back, or forward.
button=(button : ClickButtonType)
Indicates which mouse button was pressed during the click. One of left, right, wheel, back, or forward.
type_value=(type_value : ClickParamType)
Specifies the event type. For a click action, this property is always click.