def bop(bot: Update, context: CallbackContext): url = get_dog_url() chat_id = update.message.chat_id bot.send_photo(chat_id=chat_id, photo=url)