import telebot
import random
from telebot import types
sl='E:\telegrambot\1.jpg'
sk ={
'1':'текст1',
'2':'текст2',
'3':'текст3',
'4':'текст4',
'5':'текст5',
'6':'текст6',
'7':'текст7',
'8':'текст8',
'9':'текст9'
}
bot = telebot.TeleBot('TOKEN');
def callback(call):
if call.message:
if call.data == 'yes':
bot.send_photo(messege.chat.id, open(sl))
elif call.data == 'no':
bot.edit_message_text(chat_id=call.message.chat.id, message_id=call.message.id, text= sk[str(random.randint(1,9))])
bot.polling(none_stop=True, interval=0)
Пишет ошибку bot.send_photo(messege.chat.id, open(sl)) NameError: name 'messege' is not defined