public static class TdApi.UpdateNewInlineQuery extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.ChatType |
chatType
The type of the chat, from which the query originated; may be null if unknown.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
id
Unique query identifier.
|
java.lang.String |
offset
Offset of the first entry to return.
|
java.lang.String |
query
Text of the query.
|
long |
senderUserId
Identifier of the user who sent the query.
|
TdApi.Location |
userLocation
User location; may be null.
|
Constructor and Description |
---|
UpdateNewInlineQuery()
A new incoming inline query; for bots only.
|
UpdateNewInlineQuery(long id,
long senderUserId,
TdApi.Location userLocation,
TdApi.ChatType chatType,
java.lang.String query,
java.lang.String offset)
A new incoming inline query; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long id
public long senderUserId
@Nullable public TdApi.Location userLocation
@Nullable public TdApi.ChatType chatType
public java.lang.String query
public java.lang.String offset
public static final int CONSTRUCTOR
public UpdateNewInlineQuery()
public UpdateNewInlineQuery(long id, long senderUserId, TdApi.Location userLocation, TdApi.ChatType chatType, java.lang.String query, java.lang.String offset)
id
- Unique query identifier.senderUserId
- Identifier of the user who sent the query.userLocation
- User location; may be null.chatType
- The type of the chat, from which the query originated; may be null if unknown.query
- Text of the query.offset
- Offset of the first entry to return.public int getConstructor()
getConstructor
in class TdApi.Update