R
R
RA4INA2021-09-22 19:00:55
Python
RA4INA, 2021-09-22 19:00:55

Is it possible to force the link to update when the button is clicked?

There is a button in the bot, when you click on it, the bot sends a picture, but the trick is that this picture changes every day. In telegram, the image cache itself is not updated. Question: is it possible to somehow force the image to be updated when the button is clicked?

def button_index_handler(update: Update, context: CallbackContext):
    update.message.reply_text(text="https://alternative.me/crypto/fear-and-greed-index.png")

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question