–Ě–Ķ –Ņ–ĺ–Ĺ–ł–ľ–į—é —á—ā–ĺ –Ĺ–Ķ —ā–į–ļ....

–ü–ł—ą—É –ļ–ĺ–ī –ī–Ľ—Ź –Ī–ĺ—ā–į –≤ Telegram, –Ĺ–ĺ –≤—č–ī–į–Ķ—ā –ĺ—ą–ł–Ī–ļ—É –≥–ĺ–≤–ĺ—Ä—Ź —á—ā–ĺ "–Ĺ–Ķ–Ņ–ĺ–Ĺ—Ź—ā–Ĺ—č–Ķ –ĺ—ā—Ā—ā—É–Ņ—č". –ü–ĺ–ľ–ĺ–≥–ł—ā–Ķ if message.text == "–ü—Ä–ł–≤–Ķ—ā":

3rd Dec 2023, 7:01 PM
4 Respostas
+ 4
Jaik , Can you share your code?? so ..we could figure out where it is causing issues...
3rd Dec 2023, 7:24 PM
Riya - avatar
+ 1
https://code.sololearn.com/c2Uy2e5QHYGI/?ref=app https://code.sololearn.com/cmmTiDi8mr03/?ref=app https://code.sololearn.com/cT5BRIbkia21/?ref=app https://code.sololearn.com/c8Tyi716A9Q7/?ref=app Looks like you're facing an issue with indentation, try pasting all of the code on sololearn and posting the link here maybe? Would like to request you to remove profanity if any while posting code! (Can't read russian, using google translate)
3rd Dec 2023, 9:40 PM
Mohammed shoaib
+ 1
The translation says indentation error in line if message.text == "–ü—Ä–ł–≤–Ķ—ā": However, I saw @bot.message_handler(content_types=['text','document','audio']) above the line. Is it a decorator? If it is, shouldn‚Äôt it be place before function declaration?
4th Dec 2023, 12:59 PM
Wong Hei Ming
Wong Hei Ming - avatar
import telebot; bot = telebot.TeleBot('%AAH3NTK182UxSLLAwHJvFYVYCt9dZOJDbeU%'); @bot.message_handler(content_types=['text']) def get_text_messages(message): @bot.message_handler(content_types=['text','document','audio']) if message.text == "–ü—Ä–ł–≤–Ķ—ā": bot.send_message(message.from_user.id,"–ü—Ä–ł–≤–Ķ—ā —Ö—É–ł–Ľ–ĺ —á–Ķ–ľ –ľ–ĺ–≥—É —ā–Ķ–Ī–Ķ –Ņ–ĺ–ľ–ĺ—á—Ć?") elif message.text == "/help": bot.send_message(message.from_user.id,"–Ě–į–Ņ–ł—ą–ł –Ņ—Ä–ł–≤–Ķ—ā") else: bot.send_message(messege.from_user.id,"–Ę—č —á–Ķ –Ķ–Ī–Ľ–į–Ĺ? –Ě–Ķ –Ņ–ĺ–Ĺ–ł–ľ–į–Ķ—ą—Ć –Ķ—Ā–Ľ–ł, –Ĺ–į–Ņ–ł—ą–ł /help") bot.polling(none_stop=True, interval=0)
3rd Dec 2023, 7:25 PM