D
D
D55RUS2020-04-16 13:09:00
Python
D55RUS, 2020-04-16 13:09:00

How to send a message to a specific user in telebot?

I am writing a bot, I can’t figure out how to make the bot send a message to a specific user

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nozzy, 2020-04-16
@nozzy

bot.send_message(chat_id, text)
in chat_id you write the id of the user to whom the bot will send a message

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question