Package org.drinkless.tdlib
Class TdApi.AcceptTermsOfService
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.AcceptTermsOfService
-
- Enclosing class:
- TdApi
public static class TdApi.AcceptTermsOfService extends TdApi.Function
Accepts Telegram terms of services.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringtermsOfServiceIdTerms of service identifier.
-
Constructor Summary
Constructors Constructor Description AcceptTermsOfService()Default constructor for a function, which accepts Telegram terms of services.AcceptTermsOfService(String termsOfServiceId)Creates a function, which accepts Telegram terms of services.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
termsOfServiceId
public String termsOfServiceId
Terms of service identifier.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AcceptTermsOfService
public AcceptTermsOfService()
Default constructor for a function, which accepts Telegram terms of services.Returns
Ok
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-