@bot.callback_query_handler(func=lambda call: True)
def callback_worker(call):
if call.data == "yes":
bot.send_message(call.message.chat.id, ria.hello())
base = Base()
base.add_subscribe(call.from_user.id, "ria")
elif call.data == "nn":
bot.send_message(call.message.chat.id, nn.nn())
base = Base()
base.add_subscribe(call.from_user.id, "nn")
elif call.data == "mo":
bot.send_message(call.message.chat.id, durova.dur())
base = Base()
base.add_subscribe(call.from_user.id, "kod")
elif call.data == "po":
bot.send_message(call.message.chat.id, play.pgd())
base = Base()
base.add_subscribe(call.from_user.id, "igromania")
elif call.data == "go":
bot.send_message(call.message.chat.id, habr.habr())
base = Base()
base.add_subscribe(call.from_user.id, "habr")
elif call.data == "le":
bot.send_message(call.message.chat.id, lenta.lenta_ru())
base = Base()
base.add_subscribe(call.from_user.id, "lenta")
elif call.data == "au":
bot.send_message(call.message.chat.id, auto.auto())
base = Base()
base.add_subscribe(call.from_user.id, "auto")
elif call.data == "pc":
bot.send_message(call.message.chat.id, pc.pcnews())
base = Base()
base.add_subscribe(call.from_user.id, "pc")
bot.clear_step_handler(call.message)