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
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier of the sent inline message, if known.Text of the query.Identifier of the chosen result.longIdentifier of the user who sent the query.User location; may be null. -
Constructor Summary
ConstructorsConstructorDescriptionThe 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:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-