Class ChosenInlineResult

java.lang.Object
io.github.natanimn.telebof.types.updates.ChosenInlineResult
All Implemented Interfaces:
TelegramUpdate

public class ChosenInlineResult extends Object implements 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 Details

    • resultId

      @SerializedName("result_id") private String resultId
      The unique identifier for the result that was chosen
    • from

      private User from
      The user that chose the result
    • location

      private Location location
      Sender location, only for bots that require user location
    • inlineMessageId

      @SerializedName("inline_message_id") private String 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

      private String query
      The query that was used to obtain the result
  • Constructor Details

    • ChosenInlineResult

      public ChosenInlineResult()
  • Method Details

    • getResultId

      public String getResultId()
    • getFrom

      public User getFrom()
    • getLocation

      public Location getLocation()
    • getInlineMessageId

      public String getInlineMessageId()
    • getQuery

      public String getQuery()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object