Class IncomingInlineQuery
- java.lang.Object
-
- org.apache.camel.component.telegram.model.IncomingInlineQuery
-
public class IncomingInlineQuery extends Object
Represents an incoming inline query.
-
-
Constructor Summary
Constructors Constructor Description IncomingInlineQuery()
IncomingInlineQuery(String id, User from, Location location, String query, String offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
getFrom()
String
getId()
Location
getLocation()
String
getOffset()
String
getQuery()
void
setFrom(User from)
void
setId(String id)
void
setLocation(Location location)
void
setOffset(String offset)
void
setQuery(String query)
String
toString()
-
-
-
Constructor Detail
-
IncomingInlineQuery
public IncomingInlineQuery()
-
IncomingInlineQuery
public IncomingInlineQuery(String id, User from, Location location, String query, String offset)
- Parameters:
id
- Unique identifier for this queryfrom
- Senderlocation
- Optional. Sender location, only for bots that request user locationquery
- Text of the query (up to 512 characters)offset
- Offset of the results to be returned, can be controlled by the bot
-
-
Method Detail
-
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)
-
-