Class ChosenInlineResult
java.lang.Object
io.github.natanimn.telebof.types.updates.ChosenInlineResult
- All Implemented Interfaces:
TelegramUpdate
Represents a result of an inline query that was chosen by the user and sent to their chat partner.
- Since:
- 3 March 2025
- Author:
- Natanim Negash
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate UserThe user that chose the resultprivate StringIdentifier of the sent inline message.private LocationSender location, only for bots that require user locationprivate StringThe query that was used to obtain the resultprivate StringThe unique identifier for the result that was chosen -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
resultId
The unique identifier for the result that was chosen -
from
The user that chose the result -
location
Sender location, only for bots that require user location -
inlineMessageId
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
-
-
Constructor Details
-
ChosenInlineResult
public ChosenInlineResult()
-
-
Method Details