Сергей Карбивничий, ошибка убралась, но добавились новые.
Traceback (most recent call last):
File "/Users/admin/PycharmProjects/JarvisTest/main.py", line 8, in
cmd_start('сообщение')
File "/Users/admin/PycharmProjects/JarvisTest/main.py", line 6, in cmd_start
bot.send_message('121495485', message)
File "/Users/admin/PycharmProjects/JarvisTest/venv/lib/python3.9/site-packages/telebot/__init__.py", line 739, in send_message
apihelper.send_message(self.token, chat_id, text, disable_web_page_preview, reply_to_message_id,
File "/Users/admin/PycharmProjects/JarvisTest/venv/lib/python3.9/site-packages/telebot/apihelper.py", line 225, in send_message
return _make_request(token, method_url, params=payload, method='post')
File "/Users/admin/PycharmProjects/JarvisTest/venv/lib/python3.9/site-packages/telebot/apihelper.py", line 132, in _make_request
json_result = _check_result(method_name, result)
File "/Users/admin/PycharmProjects/JarvisTest/venv/lib/python3.9/site-packages/telebot/apihelper.py", line 159, 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: chat not found
Alex, мысль понял, но если так делать, то студия жалуется нанеожиданные знаки { name: 'price', label: 'Price', align: 'left', field: {{ city }} }
Как быть в таком случае?