struct

Telegram::ChosenInlineResult

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: ChosenInlineResult Represents a result of an inline query that was chosen by the user and sent to their chat partner. Note: It is necessary to enable inline feedback via @BotFather in order to receive these objects in updates.

Constructors

new(result_id : String, from : User, query : String, location : Location | Nil = nil, inline_message_id : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(result_id _result_id = @result_id, from _from = @from, query _query = @query, location _location = @location, inline_message_id _inline_message_id = @inline_message_id)
Source
from
inline_message_id
location
query
result_id