import telebot
import random
token = '........'
bot = telebot.TeleBot(token)
num1 = random.randint(1, 3)
@bot.message_handler(commands=["start"])
def start_message(message):
bot.send_message(message.chat.id, "Напиши мне Привет)")
@bot.message_handler(commands=["ph"])
def start_message(message):
bot.send_message(message.chat.id, "ща дай секунду")
if num1 == 1:
bot.send_message(message.chat.id,
"https://c4.wallpaperflare.com/wallpaper/416/608/950/anime-anime-girls-original-characters-kyrie-meii-wallpaper-preview.jpg")
bot.send_message(message.chat.id, "картинка номер 1")
if num1 == int(num1 == 2):
bot.send_message(message.chat.id,
"https://c4.wallpaperflare.com/wallpaper/929/770/396/anime-anime-girls-azur-lane-glowing-eyes-wallpaper-preview.jpg")
bot.send_message(message.chat.id, "картинка номер 2")
if num1 == int(num1 == 3):
bot.send_message(message.chat.id,
"https://c4.wallpaperflare.com/wallpaper/295/163/719/anime-anime-boys-picture-in-picture-kimetsu-no-yaiba-kamado-tanjirō-hd-wallpaper-preview.jpg")
bot.send_message(message.chat.id, "картинка номер 3")
else:
bot.send_message(message.chat.id, "я не понимаю тебя:(")
bot.polling(none_stop=True, interval=0)