how to create a bot with in telegram with botfather and using only a code?

浪子不回头ぞ 提交于 2020-06-28 04:14:08

问题


There are some steps that has been mentioned in telegram api for creating a bot using a botfather.

I was hoping if there is a way that these steps can turn into code.

to be specific, i want to get a token from botfather using code and then later in the code i use this token.


回答1:


Yes this is very possible.

You would however need to build a Telegram Client, that will interact with BotFather.

The interaction should be easy to script, as BotFather interaction follows just a few simple steps



来源:https://stackoverflow.com/questions/41209343/how-to-create-a-bot-with-in-telegram-with-botfather-and-using-only-a-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!