Class InlineQuery

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

public class InlineQuery extends Object implements TelegramUpdate
This object represents an incoming inline query. When the user sends an empty query, your bot could return some default or trending results.
Since:
3 March 2025
  • Constructor Details

    • InlineQuery

      public InlineQuery()
  • Method Details

    • getId

      public String getId()
    • getFrom

      public User getFrom()
    • getQuery

      public String getQuery()
    • getOffset

      public String getOffset()
    • getChatType

      public ChatType getChatType()
    • getLocation

      public Location getLocation()
    • 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