- Enclosing class:
- TdApi
Accepts Telegram terms of services.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Terms of service identifier. -
Constructor Summary
ConstructorDescriptionAccepts Telegram terms of services.AcceptTermsOfService
(DataInput input) Accepts Telegram terms of services.AcceptTermsOfService
(String termsOfServiceId) Accepts Telegram terms of services. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
termsOfServiceId
Terms of service identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AcceptTermsOfService
public AcceptTermsOfService()Accepts Telegram terms of services.Returns
Ok
-
AcceptTermsOfService
Accepts Telegram terms of services.Returns
Ok
- Parameters:
termsOfServiceId
- String Terms of service identifier.
-
AcceptTermsOfService
Accepts Telegram terms of services.Returns
Ok
- 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()
-