public static class TdApi.UpdateTermsOfService extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.TermsOfService |
termsOfService
The new terms of service.
|
java.lang.String |
termsOfServiceId
Identifier of the terms of service.
|
Constructor and Description |
---|
UpdateTermsOfService()
New terms of service must be accepted by the user.
|
UpdateTermsOfService(java.lang.String termsOfServiceId,
TdApi.TermsOfService termsOfService)
New terms of service must be accepted by the user.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String termsOfServiceId
public TdApi.TermsOfService termsOfService
public static final int CONSTRUCTOR
public UpdateTermsOfService()
public UpdateTermsOfService(java.lang.String termsOfServiceId, TdApi.TermsOfService termsOfService)
termsOfServiceId
- Identifier of the terms of service.termsOfService
- The new terms of service.public int getConstructor()
getConstructor
in class TdApi.Update