login-with-telegram

## in function { ## // for bot ID ## botID = '123456'; ## // button size 3 choices: large, medium, small ## buttonSize = 'small' ## // button radius : number ## buttonRadius = 20; ## // button title ## buttonTitle = "login"; ## }

Usage no npm install needed!

<script type="module">
  import loginWithTelegram from 'https://cdn.skypack.dev/login-with-telegram';
</script>

README

Telegram login

On app:

import {LoginViaTelegramComponent} from 'login-with-telegram';

in function {

// for bot ID

botID = '123456';

// button size 3 choices: large, medium, small

buttonSize = 'small'

// button radius : number

buttonRadius = 20;

// button title

buttonTitle = "login";

}

usage :

in HTML :

<lib-login-with-telegram [botID]="botID" [buttonTitle]="buttonTitle" [popupWindowName]="popupWindowName" [buttonSize]="buttonSize" [buttonRadius]="buttonRadius">