How do I get authentication in a telegram bot?

后端 未结 4 1774
栀梦
栀梦 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:18

    You are correct so far.

    However, your requirements are a bit vague. Let's look at it in another way. If you want to send restricted information to special users, you should ask user to start a direct chat with your bot or simply use users chat_id in groupchat to start sending message to them.

    Please note that you will have access to user chat_id only when the user communicates with the bot in "privacy mode" which is default mode for bots.

提交回复
热议问题