Closed Zzz2333 closed 2 years ago
This library allows you to connect to Telegram and control a user programmatically (or a bot, but Telegram.Bot is much easier for that).
You say this library can control a bot, but I don't know how to login a bot. Could you please give me an exsample just like login user account?
make your Config callback answer to "bot_token" and call client.LoginBotIfNeeded()
client.LoginBotIfNeeded()
Yes, I hvae saw this function later. Sorry, I'm thoughtless. Thanks!
You say this library can control a bot, but I don't know how to login a bot. Could you please give me an exsample just like login user account?