Telegram Bot based on plugin and functional for Pyrogram library.
Releases
Pyro-Lugin
Plugin Example
def run(app: Client, msg: Message):
print('{}'.format(msg))
app.send_message(msg.chat.id, 'pyro-lugin')
returns = dict(
msg=dict(
func=run,
filters=(Filters.text | Filters.edited) & Filters.private,
performer='api',
),
)
Pyro-Lugin is an elegant, functional, plugin base and easy-to-use Telegram Bot library written from the ground up in Python. It enables you to easily create custom apps.
Features
- Easy: You can install GapBot with pip and start building your applications right away.
- Elegant: Low-level details are abstracted and re-presented in a much nicer and easier way.
- PluginBase: Tou can easily use from plugins to manage your codes.
Requirements
- Python 3.6 or higher.
- A Api id & Api hash.
Resources
- Reading Examples in this repository is also a good way for learning how GapBot works.
- For other requests you can send an Email or a Message.
Contributing
Pyro-Lugin is brand new, and you are welcome to try it and help make it even better by either submitting pull requests or reporting issues/bugs as well as suggesting best practices, ideas, enhancements on both code and documentation. Any help is appreciated!
Copyright & License
- Copyright (C) 2017-2019 MohammadMahdi Zojaji as <https://github.com/MrMahdi313>
- Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)