annotation Tourmaline::OnInlineQuery

Overview

Run the annotated method when a matching inline_query is found, passing in a Context object.

Example:

@[OnInlineQuery(id: "foo")]
def on_inline_foo(ctx)
  pp ctx.inline_query
end

Defined in:

tourmaline/annotations.cr