ChosenInlineResult

fun ChosenInlineResult(resultId: String, from: User, location: Location? = null, inlineMessageId: String? = null, query: String)

Parameters

resultId

The unique identifier for the result that was chosen

from

The user that chose the result

location

Optional. Sender location, only for bots that require user location

inlineMessageId

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.

query

The query that was used to obtain the result