ᴀʙɢ-ᴘʏʀᴏ :->
sᴛᴀʀᴛ ᴀsᴋ-ᴄʟɪᴇɴᴛ ᴡɪᴛʜ @ᴀᴘᴘ [ᴘʏʀᴏɢʀᴀᴍ ᴄʟɪᴇɴᴛ]
• Conversation in pyrogram
from Abg.conversation import Askclient
from pyrogram import Client, filters
app = Client("my_account")
read = Askclient(app)
@app.on_message(filters.command("start"))
async def start(c: app, m: Message):
answer = await read.ask(m, text)
if answer.text:
print(answer.text)
await answer.reply("ɪ ɢᴏᴛ ᴀɴsᴡᴇʀ..")
app.run()
• Keyboards
from Abg.inline import InlineKeyboard, InlineButton
keyboard = InlineKeyboard(row_width=3)
keyboard.add(
InlineButton('1', 'inline_keyboard:1'),
InlineButton('2', 'inline_keyboard:2'),
InlineButton('3', 'inline_keyboard:3'),
InlineButton('4', 'inline_keyboard:4'),
InlineButton('5', 'inline_keyboard:5'),
InlineButton('6', 'inline_keyboard:6'),
InlineButton('7', 'inline_keyboard:7')
)
Result
ɪɴsᴛᴀʟʟɪɴɢ :->
pip3 install Abg
━━━━━━━━━━━━━━━━━━━━
ɴᴏᴛᴇ :->
- This library is made for my personal Project so don't take it deeply [you can use this 24*7 running ]
- My Project @AbgRobot / @Exon_Robot & @ExonMusicBot
- ᴇɴᴊᴏʏ ʙᴀʙʏ ♡
━━━━━━━━━━━━━━━━━━━━
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Abg-1.2.tar.gz
(16.5 kB
view details)
File details
Details for the file Abg-1.2.tar.gz.
File metadata
- Download URL: Abg-1.2.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec07ddfbf58a2c2b7bcebd7bca5680e1345e03060295c60e2afb76fec08ce963
|
|
| MD5 |
d32b350d484e5c5d0df2e66b908d46f2
|
|
| BLAKE2b-256 |
074820562d4ad11e61cd47b675a4263bac91102a6dcc5da6b4451f6200c41e4c
|