Replies: 8 comments 1 reply
-
It not working with any bot |
Beta Was this translation helpful? Give feedback.
-
It definitely working with any bot. |
Beta Was this translation helpful? Give feedback.
-
But why is no one bot working for me? They worked yesterday, but today it's not! No one bot |
Beta Was this translation helpful? Give feedback.
-
You want us, mainteiners of the library, to say you what happened in your surronding yesterday? Seriously? |
Beta Was this translation helpful? Give feedback.
-
Not a lib bug. The lib does what it is supposed to do. Try getting updates manually; |
Beta Was this translation helpful? Give feedback.
-
Let's wait for his response |
Beta Was this translation helpful? Give feedback.
-
We can move it to discussions |
Beta Was this translation helpful? Give feedback.
-
@Vamashi ? |
Beta Was this translation helpful? Give feedback.
-
Please answer these questions before submitting your issue. Thanks!
What version of pyTelegramBotAPI are you using? 4.7.0 (latest)
What OS are you using? Windows
What version of python are you using? 22.2.2
I tried alot of codes, no one working, i tried with code from documentation, it also not working :(
I think problem with @message_handler, because bot starting polling, can send messages, but if i send a message to him, he not response (no print, no messages)
`import telebot
bot = telebot.TeleBot("token")
@bot.message_handler(commands=['start', 'help'])
def send_welcome(message):
bot.reply_to(message, "Howdy, how are you doing?")
@bot.message_handler(func=lambda message: True)
def echo_all(message):
bot.reply_to(message, message.text)
bot.infinity_polling()`
Beta Was this translation helpful? Give feedback.
All reactions