public static class TdApi.UpdateNewChosenInlineResult extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inlineMessageId
Identifier of the sent inline message, if known.
|
java.lang.String |
query
Text of the query.
|
java.lang.String |
resultId
Identifier of the chosen result.
|
long |
senderUserId
Identifier of the user who sent the query.
|
TdApi.Location |
userLocation
User location; may be null.
|
Constructor and Description |
---|
UpdateNewChosenInlineResult()
The user has chosen a result of an inline query; for bots only.
|
UpdateNewChosenInlineResult(long senderUserId,
TdApi.Location userLocation,
java.lang.String query,
java.lang.String resultId,
java.lang.String inlineMessageId)
The user has chosen a result of an inline query; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long senderUserId
@Nullable public TdApi.Location userLocation
public java.lang.String query
public java.lang.String resultId
public java.lang.String inlineMessageId
public static final int CONSTRUCTOR
public UpdateNewChosenInlineResult()
public UpdateNewChosenInlineResult(long senderUserId, TdApi.Location userLocation, java.lang.String query, java.lang.String resultId, java.lang.String inlineMessageId)
senderUserId
- Identifier of the user who sent the query.userLocation
- User location; may be null.query
- Text of the query.resultId
- Identifier of the chosen result.inlineMessageId
- Identifier of the sent inline message, if known.public int getConstructor()
getConstructor
in class TdApi.Update