Class IncomingInlineQuery

java.lang.Object
org.apache.camel.component.telegram.model.IncomingInlineQuery

public class IncomingInlineQuery extends Object
Represents an incoming inline query.
See Also:
  • Constructor Details

    • IncomingInlineQuery

      public IncomingInlineQuery()
    • IncomingInlineQuery

      public IncomingInlineQuery(String id, User from, Location location, String query, String offset)
      Parameters:
      id - Unique identifier for this query
      from - Sender
      location - Optional. Sender location, only for bots that request user location
      query - Text of the query (up to 512 characters)
      offset - Offset of the results to be returned, can be controlled by the bot
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getFrom

      public User getFrom()
    • setFrom

      public void setFrom(User from)
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation(Location location)
    • getQuery

      public String getQuery()
    • setQuery

      public void setQuery(String query)
    • getOffset

      public String getOffset()
    • setOffset

      public void setOffset(String offset)
    • toString

      public String toString()
      Overrides:
      toString in class Object