SHARE
TWEET

Untitled

a guest Feb 20th, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import telebot
  2. from telebot import types
  3.  
  4. bot = telebot.TeleBot("1020076156:AAEvISKX9wEav2yOUaQlwyMKtyHio6uN2TQ")
  5.  
  6.  
  7. @bot.message_handler(commands=['start']
  8.     @bot.message_handler(content_types=['document'])
  9.  
  10.     def docs(m):
  11.         bot.send_message(m.chat.id, m.document.file_id)
  12.  
  13.     def keyboard():
  14.         markup = types.ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
  15.         btn1 = types.KeyboardButton('בוט הגזע')
  16.         markup.add(btn1)
  17.         return markup
  18.  
  19.     if __name__ == "__main__":
  20.         bot.polling(none_stop=True)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top