Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from telebot import TeleBot, types
- bot = TeleBot("token_here")
- @bot.message_handler(commands=['start'])
- def send_welcome(message: types.Message):
- bot.send_message(chat_id=message.chat.id, text="text")
- bot.infinity_polling(skip_pending=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement