Solution for I am trying to make a Telegram Bot. But getting error, don’t know how to get rid of it
is Given Below:
thats a simple code and Cmd output line
bot name – @ting_ting_bot
Ok, instead of telebot.Telebot
use telebot.TeleBot
. Note that B
in TeleBot
.
In the docs of pyTelegramBotApi’s docs it is provided:
import telebot
bot = telebot.TeleBot("TOKEN", parse_mode=None) # You can set parse_mode by default. HTML or MARKDOWN