public class InlineQueryImpl extends Object implements InlineQuery
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
asJson()
Gets the JSONObject that was sent by the bot API to produce this object
|
static InlineQuery |
createInlineQuery(org.json.JSONObject jsonObject) |
Location |
getLocation()
Gets the Location of the User that sent this inline query
|
String |
getOffset()
The offset for this query, this can be used to enable pagination when the user scrolls to the end of the
current list of results.
|
String |
getQuery()
Gets the query string that was sent by the User
|
String |
getQueryId()
Gets the ID of this inline query
|
User |
getSender()
Gets the User that sent this inline query
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitanswer, answerpublic static InlineQuery createInlineQuery(org.json.JSONObject jsonObject)
public String getQueryId()
InlineQuerygetQueryId in interface InlineQuerypublic User getSender()
InlineQuerygetSender in interface InlineQuerypublic Location getLocation()
InlineQuerygetLocation in interface InlineQuerypublic String getQuery()
InlineQuerygetQuery in interface InlineQuerypublic String getOffset()
InlineQuerygetOffset in interface InlineQuerypublic org.json.JSONObject asJson()
InlineQueryasJson in interface InlineQueryCopyright © 2017. All rights reserved.