annotation Tourmaline::OnChosenInlineResult
Overview
Run the annotated method when a matching chosen_inline_result is found, passing
in a Context
object.
Example:
@[OnChosenInlineResult(id: "gif")]
def on_chosen_result(ctx)
pp ctx.result
end
Run the annotated method when a matching chosen_inline_result is found, passing
in a Context
object.
Example:
@[OnChosenInlineResult(id: "gif")]
def on_chosen_result(ctx)
pp ctx.result
end