@bot.message_handler(regexp='Go Go Go')
@bot.message_handler(content_types=['text'])
def text_handler(message):
if message.text == 'Go Go Go':
p = open. ...
b1 = But(self.root, 1)
b2 = But(self.root, 2)
del b1
del b2
del объект
if resp.ok:
ourJSON = resp.json()
@bot.callback_query_handler(func=lambda call: True)
def query_handler(call):
if call.data == 'save':
call.message.text # это и есть та ссылка на картинку