java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewChosenInlineResult
- Enclosing class:
- TdApi
The user has chosen a result of an
inline query; for bots only.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier of the sent inline message, if known.Text of the query.Identifier of the chosen result.long
Identifier of the user who sent the query.User location; may be null. -
Constructor Summary
ConstructorDescriptionThe user has chosen a result of an inline query; for bots only.UpdateNewChosenInlineResult
(long senderUserId, TdApi.Location userLocation, String query, String resultId, String inlineMessageId) The user has chosen a result of an inline query; for bots only.The user has chosen a result of an inline query; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
senderUserId
public long 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:
-
-
Constructor Details
-
UpdateNewChosenInlineResult
public UpdateNewChosenInlineResult()The user has chosen a result of an inline query; for bots only. -
UpdateNewChosenInlineResult
public UpdateNewChosenInlineResult(long 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
- long 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
The user has chosen a result of an inline query; for bots only.- 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()
-