Skip to content

Installation

Get started with telegram-webapp-auth.

Setup

Prerequisites

  • Make sure you have `python and pip properly installed in your system.

    python --version
    pip --version
    

  • Create a new directory and move into it to follow along with this tutorial.

    mkdir learn-twa-auth && cd learn-twa-auth
    

Installation

  • Create a virtual environment and activate it.

    python -m venv .venv && source .venv/bin/activate
    

  • Install telegram-webapp-auth using pip:

    pip install --upgrade telegram-webapp-auth