Class TdApi.AcceptTermsOfService

  • Enclosing class:
    TdApi

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

    Returns Ok

    • Field Detail

      • termsOfServiceId

        public String termsOfServiceId
        Terms of service identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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.