Package org.drinkless.tdlib
Class TdApi.ChatJoinResultGuardBotApprovalRequired
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatJoinResult
org.drinkless.tdlib.TdApi.ChatJoinResultGuardBotApprovalRequired
- Enclosing class:
- TdApi
An approval from a guard bot through a Web App is required to join the chat.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the guard bot.static final intIdentifier uniquely determining type of the object.longUnique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult. -
Constructor Summary
ConstructorsConstructorDescriptionAn approval from a guard bot through a Web App is required to join the chat.ChatJoinResultGuardBotApprovalRequired(long botUserId, long queryId) An approval from a guard bot through a Web App is required to join the chat. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
botUserId
public long botUserIdIdentifier of the guard bot. -
queryId
public long queryIdUnique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatJoinResultGuardBotApprovalRequired
public ChatJoinResultGuardBotApprovalRequired()An approval from a guard bot through a Web App is required to join the chat. -
ChatJoinResultGuardBotApprovalRequired
public ChatJoinResultGuardBotApprovalRequired(long botUserId, long queryId) An approval from a guard bot through a Web App is required to join the chat.- Parameters:
botUserId- Identifier of the guard bot.queryId- Unique identifier of the join request, which will be used in getGuardBotWebAppUrl and updateChatJoinResult.
-
-
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
-