Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 960 Bytes

ChosenInlineResult.md

File metadata and controls

26 lines (20 loc) · 960 Bytes

TelegramBotOpenapi::ChosenInlineResult

Properties

Name Type Description Notes
result_id String The unique identifier for the result that was chosen
from User The user that chose the result
location Location Optional. Sender location, only for bots that require user location [optional]
inline_message_id String Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message. [optional]
query String The query that was used to obtain the result

Example

require 'telegram-bot-openapi'

instance = TelegramBotOpenapi::ChosenInlineResult.new(
  result_id: null,
  from: null,
  location: null,
  inline_message_id: null,
  query: null
)