bot.send_message(message.chat.id,"*Приветствую в Wise Shop!*☃️\n*Удачных покупок!*", parse_mode= "Markdown")
bot.polling()
Ошибка
2023-12-30 17:51:27,458 (__init__.py:1088 MainThread) ERROR - TeleBot: "Threaded polling exception: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: unsupported parse_mode"
2023-12-30 17:51:27,459 (__init__.py:1090 MainThread) ERROR - TeleBot: "Exception traceback:
Traceback (most recent call last):
File "C:\Users\Денис\Lib\site-packages\telebot\__init__.py", line 1082, in __threaded_polling
self.worker_pool.raise_exceptions()
File "C:\Users\Денис\Lib\site-packages\telebot\util.py", line 147, in raise_exceptions
raise self.exception_info
File "C:\Users\Денис\Lib\site-packages\telebot\util.py", line 90, in run
task(*args, **kwargs)
File "C:\Users\Денис\Lib\site-packages\telebot\__init__.py", line 6793, in _run_middlewares_and_handler
result = handler['function'](message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Денис\Desktop\Wise Shop\main.py", line 16, in start_message
bot.send_message(message.chat.id, "Приветсвую админ!", admin_panel)
File "C:\Users\Денис\Lib\site-packages\telebot\__init__.py", line 1541, in send_message
apihelper.send_message(
File "C:\Users\Денис\Lib\site-packages\telebot\apihelper.py", line 266, in send_message
return _make_request(token, method_url, params=payload, method='post')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Денис\Lib\site-packages\telebot\apihelper.py", line 164, in _make_request
json_result = _check_result(method_name, result)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Денис\Lib\site-packages\telebot\apihelper.py", line 191, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: unsupported parse_mode
"