I
Size: a a a
I
D

if str(call.data).startswith("pod1_"):
variable = str(call.data).split("pod1_")[1]
urldef = "http://rozklad.nau.edu.ua/api/v1/schedule/"
url = urldef + variable + "/1"
r = requests.get(url)
data = r.json()
schedule = data["schedule"]
for day in schedule:
markup = types.InlineKeyboardMarkup()
item = types.InlineKeyboardButton(text=day, callback_data=day)
markup.add(item)
bot.send_message(call.message.chat.id, f"Какой день недели:", reply_markup=markup)
https://pastebin.com/eLLnwtJGD
Е

if str(call.data).startswith("pod1_"):
variable = str(call.data).split("pod1_")[1]
urldef = "http://rozklad.nau.edu.ua/api/v1/schedule/"
url = urldef + variable + "/1"
r = requests.get(url)
data = r.json()
schedule = data["schedule"]
for day in schedule:
markup = types.InlineKeyboardMarkup()
item = types.InlineKeyboardButton(text=day, callback_data=day)
markup.add(item)
bot.send_message(call.message.chat.id, f"Какой день недели:", reply_markup=markup)
https://pastebin.com/eLLnwtJGD
Е
T
T
Е
T
Е
Е
CJ
T
T
Е
T
Е