Package org.drinkless.tdlib
Class TdApi.AnswerChatJoinRequestQuery
- Enclosing class:
- TdApi
Sets the result of a chat join query; for bots only.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the query.The result.URL of the Web App to open. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which sets the result of a chat join query; for bots only.AnswerChatJoinRequestQuery(long queryId, TdApi.ChatJoinRequestResult result, String url) Creates a function, which sets the result of a chat join query; for bots only. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
queryId
public long queryIdIdentifier of the query. -
result
The result. -
url
URL of the Web App to open. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AnswerChatJoinRequestQuery
public AnswerChatJoinRequestQuery()Default constructor for a function, which sets the result of a chat join query; for bots only.Returns
Ok -
AnswerChatJoinRequestQuery
Creates a function, which sets the result of a chat join query; for bots only.Returns
Ok- Parameters:
queryId- Identifier of the query.result- The result.url- URL of the Web App to open.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-