Answer the question
In order to leave comments, you need to log in
Can you help me with host or internet or whatever?
I run the code, the most common code
import telebot
bot = telebot.TeleBot("мой токен")
@bot.message_handler(commands=['salam'])
@bot.message_handler(commands=['salam'])
def start_message(message):
bot.send_message(message.chat.id, 'Ва алейкум ассалам')
bot.polling()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question