Есть такой код 
	
	
	
		
 и такая ошибка  
	
		
			
		
		
	
				
			
		Код:
	
	
	import requests
import queue
from telegram.ext import Updater, CommandHandler, CallbackContext, MessageHandler
from telegram import Update
import matplotlib.pyplot as plt
def start(update: Update, context: CallbackContext) -> None:
    update.message.reply_text("Привет! Я телеграм-бот для анализа цен криптовалют на разных биржах.")
def get_prices(update: Update, context: CallbackContext) -> None:
    # Список URL-адресов криптобирж
    exchange_urls = [
        "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT",
        "https://api.coinbase.com/v2/prices/spot?currency=USD",
        "https://api.kraken.com/0/public/Ticker?pair=XBTUSD",
        "https://api.bittrex.com/v3/markets/BTC-USD/ticker",
        "https://api.gemini.com/v1/pubticker/btcusd"
    ]
    prices = {}  # Словарь для хранения цен криптовалюты на разных биржах
    for url in exchange_urls:
        response = requests.get(url)
        if response.status_code == 200:
            data = response.json()
            if 'price' in data:
                exchange_name = url.split(".")[1]
                prices[exchange_name] = float(data['price'])
        else:
            update.message.reply_text(f"Не удалось получить цену с {url}")
    # Вывод результатов в графическом виде
    plt.bar(range(len(prices)), list(prices.values()), align='center')
    plt.xticks(range(len(prices)), list(prices.keys()))
    plt.xlabel('Биржа')
    plt.ylabel('Цена BTC/USD')
    plt.title('Сравнение цен BTC/USD на разных биржах')
    plt.savefig('prices_graph.png')  # Сохранить график в файл
    plt.close()
    # Отправка графика пользователю
    with open('prices_graph.png', 'rb') as f:
        update.message.reply_photo(f)
    update.message.reply_text("Результаты успешно получены и отображены на графике.")
def main() -> None:
    updater = Updater("6914559091:AAGDZpue-MgtXfnCtCrOQrL7qYn7FPBAnSs")
   
    dispatcher = updater.dispatcher
    dispatcher.add_handler(CommandHandler('start', start))
    dispatcher.add_handler(CommandHandler('get_prices', get_prices))
    updater.start_polling()
    updater.idle()
if name == "main":
    main()
	как ее исправить?Traceback (most recent call last):
File "c:\1\bot.py", line 59, in <module>
main()
File "c:\1\bot.py", line 48, in main
updater = Updater("6914559091:AAGDZpue-MgtXfnCtCrOQrL7qYn7FPBAnSs")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Updater.init() missing 1 required positional argument: 'update_queue'
			
				Последнее редактирование модератором: