Class TdApi.AcceptTermsOfService

Enclosing class:
TdApi

public static class TdApi.AcceptTermsOfService extends TdApi.Function<TdApi.Ok>
Accepts Telegram terms of services.

Returns Ok

  • Field Details

    • termsOfServiceId

      public String termsOfServiceId
      Terms of service identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • AcceptTermsOfService

      public AcceptTermsOfService()
      Default constructor for a function, which accepts Telegram terms of services.

      Returns Ok

    • AcceptTermsOfService

      public AcceptTermsOfService(String termsOfServiceId)
      Creates a function, which accepts Telegram terms of services.

      Returns Ok

      Parameters:
      termsOfServiceId - Terms of service identifier.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR