public static class TdApi.AcceptTermsOfService extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function