add-on for pyrogram
Project description
ᴀʙɢ-ᴘʏʀᴏ :->
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
- ᴇɴᴊᴏʏ ʙᴀʙʏ ♡
━━━━━━━━━━━━━━━━━━━━
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(14.3 kB
view details)
File details
Details for the file Abg-1.1.tar.gz.
File metadata
- Download URL: Abg-1.1.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.30.0 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e46a4e49ac38f6608f17d9412a9d94a6a17404654ac70570ca494c066f50e69
|
|
| MD5 |
4651aeba94393636bae3b9a9a8bfa03a
|
|
| BLAKE2b-256 |
c5879df8db0543abf4e1dff7d621b1f8f032b8876fa76698ab853c39bac03279
|