[QUESTION] Send a simple message on a channel #2278
Unanswered
alexandrebouttier
asked this question in
Q&A
Replies: 4 comments 4 replies
-
from telegram import Bot
bot = Bot('TOKEN')
bot.send_message(channel_id, message) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I come across this error ImportError: cannot import name 'Bot' from partially initialized module 'telegram' (most likely due to a circular import
|
Beta Was this translation helpful? Give feedback.
0 replies
-
then |
Beta Was this translation helpful? Give feedback.
0 replies
-
I no longer have the tax error, create a virtual environment, but now I come across this error while I am using the right channel
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm a little lost in the doc, I would just like to send a message on a channel, could someone give me a complete example with the right imports etc, thanks
Beta Was this translation helpful? Give feedback.
All reactions