import telebot Replace 'YOUR_BOT_TOKEN' with your actual bot token bot = telebot.TeleBot('YOUR_BOT_TOKEN') Welcome message handler @bot.message_handler(commands=['start']) def send_welcome(message): bot.reply_to(message, "Welcome to the bot! How can I assist you today?") Start polling bot.polling()