airgram-ts-example

This is a simple example of basic usage Airgram for creating Telegram client with TypeScript.

Usage no npm install needed!

<script type="module">
  import airgramTsExample from 'https://cdn.skypack.dev/airgram-ts-example';
</script>

README

Basic usage Airgram with TypeScript

This is a simple example of basic usage Airgram for creating Telegram client with TypeScript.

Installation

  1. Clone repository:
$ git clone https://github.com/airgram/airgram-ts-example.git
  1. Install dependencies:
$ cd airgram-ts-example
$ npm i
  1. Open ./env and set your values

  2. Run example:

npm run dev