Class TdApi.AcceptTermsOfService

Enclosing class:
TdApi

public static class TdApi.AcceptTermsOfService
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details