How do I get authentication in a telegram bot?

后端 未结 4 1726
栀梦
栀梦 2021-01-30 16:40

Telegram Bots are ready now.

If we use the analogy of web browser and websites, the telegram client applications are like the browser clients.

The Telegram Chatr

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 17:20

    I have just implemented an authentication solution using deep linking for Django.

    This solution generates authentication tokens to associate Telegram chats and Django users. When some telegram user wants to access to restricted area it receives a telegram message with a link to login into the web. One logged web site provides a link to start a new authenticated chat using deep linking.

    Also there is a demo for a polls example which only the logged in user can't vote through a telegram.

提交回复
热议问题