Easy conversation handler for pyrogram
Project description
ᴀsᴋ-ᴘʏʀᴏ
sᴛᴀʀᴛ ᴀsᴋ-ᴄʟɪᴇɴᴛ ᴡɪᴛʜ @ᴀᴘᴘ[ᴘʏʀᴏɢʀᴀᴍ ᴄʟɪᴇɴᴛ]
from askpyro import Askclient
from pyrogram import Client ,filters
app = Client("my_account")
read = Askclient(app)
@app.on_message(filters.command("start"))
async def start_pm(c: app, m: Message):
answer = await read.ask(m, text)
if answer.text:
print(answer.text)
await answer.reply("ɪ ɢᴏᴛ ᴀɴsᴡᴇʀ..")
app.run()
ɪɴsᴛᴀʟʟɪɴɢ
pip3 install askpyro
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Askpyro-1.73.1.tar.gz
(20.5 kB
view hashes)