Skip to content

getTermsOfService

Sahri Riza Umami edited this page Jun 6, 2018 · 4 revisions

Returns the terms of service.
Can be called before authorization.

getTermsOfService()

Example:

  • Get the terms of service.

    getTermsOfService()

    Response:

    {
      ["@type"] = "text",
      text = "By signing up for Telegram, you agree not to:\n\n- use our service to send spam or scam users.\n- promote violence on publicly viewable Telegram bots or channels.\n- post pornographic content on publicly viewable Telegram bots or channels.\n\nWe reserve the right to update these Terms of Service later."
    }  

Frequently Asked Questions
The Functions

Clone this wiki locally