Module tdlight.api

Class TdApi.AcceptTermsOfService

Enclosing class:
TdApi

public static final 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
      See Also:
  • Constructor Details

    • AcceptTermsOfService

      public AcceptTermsOfService()
      Accepts Telegram terms of services.

      Returns Ok

    • AcceptTermsOfService

      public AcceptTermsOfService(String termsOfServiceId)
      Accepts Telegram terms of services.

      Returns Ok

      Parameters:
      termsOfServiceId - String Terms of service identifier.
    • AcceptTermsOfService

      public AcceptTermsOfService(DataInput input) throws IOException
      Accepts Telegram terms of services.

      Returns Ok

      Throws:
      IOException
  • Method Details