Skip to content

Can i send message to a specific user having their chat_id? #2566

Answered by Bibo-Joshi
pssolanki111 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. Sending messages is as easy as calling bot.send_message. In PTB, the bot instance is usually available as context/dispatcher/updater.bot, but you can also instantiate it yourself, if needed. Please see here and here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pssolanki111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants