Package it.tdlight.jni
Class TdApi.AcceptTermsOfService
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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 int
CONSTRUCTOR
String
termsOfServiceId
Terms of service identifier. -
Constructor Summary
Constructors Constructor Description AcceptTermsOfService()
Accepts Telegram terms of services.AcceptTermsOfService(DataInput input)
AcceptTermsOfService(String termsOfServiceId)
Accepts Telegram terms of services. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-