Как начать чат с пользователем (telebot)?
Есть вот такой код:
from telebot import TeleBot
from telebot.types import Message
bot = TeleBot("5290107686:AAHFmNiS6NQqESyXuNlow3QACjaqSeW05mw")
@bot.message_handler(content_types=["new_chat_members"])
def new_users(message: Message):
new_user = message.new_chat_members[0]
bot.send_message(new_user.id, "Справка")
bot.infinity_polling()
Выходить ошибка.
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 403. Description: Forbidden: bot can't initiate conversation with a user