public static class TdApi.AcceptTermsOfService extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
termsOfServiceId
Terms of service identifier.
|
| Constructor and Description |
|---|
AcceptTermsOfService()
Default constructor for a function, which accepts Telegram terms of services.
|
AcceptTermsOfService(java.lang.String termsOfServiceId)
Creates a function, which accepts Telegram terms of services.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String termsOfServiceId
public static final int CONSTRUCTOR
public AcceptTermsOfService()
Returns Ok
public AcceptTermsOfService(java.lang.String termsOfServiceId)
Returns Ok
termsOfServiceId - Terms of service identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object