ChosenInlineResult

telegramium.bots.ChosenInlineResult
final case class ChosenInlineResult(resultId: String, from: User, query: String, location: Option[Location], inlineMessageId: Option[String])

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

Value parameters

from

The user that chose the result

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.

location

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

query

The query that was used to obtain the result

resultId

The unique identifier for the result that was chosen

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product