ChosenInlineResult

data class ChosenInlineResult(result_id: String, from: User, location: Location?, inline_message_id: String?, query: String) : TelegramModel

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

ChosenInlineResult
Link copied to clipboard
fun ChosenInlineResult(result_id: String, from: User, location: Location? = null, inline_message_id: String? = null, query: String)

Properties

from
Link copied to clipboard
val from: User
The user that chose the result
inline_message_id
Link copied to clipboard
val inline_message_id: String? = null
Optional.
location
Link copied to clipboard
val location: Location? = null
Optional.
query
Link copied to clipboard
val query: String
The query that was used to obtain the result
result_id
Link copied to clipboard
val result_id: String
The unique identifier for the result that was chosen