I want to take user input in pyrogram. Like:
bot: What do u wanna say?
user: hola!
bot: u said, hola!
my code:
import csv
bot = Client("bot")
@bot.on_message(filters.command('start'))
def start(bot, msg):
x=input
bot.send_message(msg.chat.id,text=x)
bot.run()
like doing input()
in Python. (I don't want to save them locally, just to cache them.)
How can I do that?