Package it.tdlight.jni
Class TdApi.UpdateNewChosenInlineResult
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewChosenInlineResult
- Enclosing class:
- TdApi
public static class TdApi.UpdateNewChosenInlineResult extends TdApi.Update
The user has chosen a result of an
inline query; for bots only.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
inlineMessageId
Identifier of the sent inline message, if known.String
query
Text of the query.String
resultId
Identifier of the chosen result.int
senderUserId
Identifier of the user who sent the query.TdApi.Location
userLocation
User location; may be null. -
Constructor Summary
Constructors Constructor Description UpdateNewChosenInlineResult()
The user has chosen a result of an inline query; for bots only.UpdateNewChosenInlineResult(int senderUserId, TdApi.Location userLocation, String query, String resultId, String inlineMessageId)
The user has chosen a result of an inline query; for bots only.UpdateNewChosenInlineResult(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
senderUserId
public int senderUserIdIdentifier 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateNewChosenInlineResult
public UpdateNewChosenInlineResult()The user has chosen a result of an inline query; for bots only. -
UpdateNewChosenInlineResult
public UpdateNewChosenInlineResult(int senderUserId, TdApi.Location userLocation, String query, String resultId, String inlineMessageId)The user has chosen a result of an inline query; for bots only.- Parameters:
senderUserId
- int Identifier of the user who sent the query.userLocation
- Location User location; may be null.query
- String Text of the query.resultId
- String Identifier of the chosen result.inlineMessageId
- String Identifier of the sent inline message, if known.
-
UpdateNewChosenInlineResult
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-