2
私はPython-Telegram-botでテレグラムボットを構築しましたが、ユーザーが/ Startを送信するとボットを送信したいが、ボットは動作しません。 マイコード:私の電報ボットはペルシア語をサポートしていません
from telegram.ext import Updater,CommandHandler
updater = Updater(token='TOKEN')
def start_method(bot,update):
bot.sendMessage(update.message.chat_id,"سلام")
start_command = CommandHandler('start', start_method)
updater.dispatcher.add_handler(start_command)
updater.start_polling()