ChosenInlineResult

data class ChosenInlineResult(val resultId: String, val from: User, val location: Location? = null, val inlineMessageId: String? = null, val query: String)(source)

ChosenInlineResult

Represents a result of an inline query that was chosen by the user and sent to their chat partner.

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(resultId: String, from: User, location: Location? = null, inlineMessageId: String? = null, query: String)

Properties

Link copied to clipboard
val from: User

The user that chose the result

Link copied to clipboard
@SerialName(value = "inline_message_id")
val inlineMessageId: String? = null

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.

Link copied to clipboard
val location: Location? = null

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

Link copied to clipboard

The query that was used to obtain the result

Link copied to clipboard
@SerialName(value = "result_id")
val resultId: String

The unique identifier for the result that was chosen