A Telegram Bot API for Python
Project description
Hi Welcome To RvLProMaster
First You Need Make Virtual Environment
python3 -m venv .venv
You Need Activate Virtual Environment
source .venv/bin/activate
Install This Project
pip install RvLProMaster
Create File Main.py To Use Bots
from RvLProMaster import RunBOT, Message, bot
import asyncio
@bot.command("/start")
async def command_start():
await bot.Methods.sendMessage(
Message.chat.id,
f"*Hi I'm Bots*",
"MarkdownV2",
reply_message=True,
)
if __name__ == __main__:
try:
asyncio.run(RunBOT(always_run=True, save_polling=True))
except KeyboardInterrupt:
print("\nBot Stopped")
Notes:
The first time the bot is run, you will be asked for a token and endpoint, so fill it in with the token and endpoint of your choice.
Contact Me
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
rvlpromaster-0.2.1.tar.gz
(40.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rvlpromaster-0.2.1.tar.gz.
File metadata
- Download URL: rvlpromaster-0.2.1.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9dc8a6c9cd39da36ffbe7691b642aea7a6635c221470f290638c3bee2d963842
|
|
| MD5 |
08d259e28d161719d5c99855d0960900
|
|
| BLAKE2b-256 |
96069dfadcb7bda7b7c489f7b150a97dcdf6fda3a9a9aeb628eee82eea903c70
|
File details
Details for the file rvlpromaster-0.2.1-py3-none-any.whl.
File metadata
- Download URL: rvlpromaster-0.2.1-py3-none-any.whl
- Upload date:
- Size: 87.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae30767f938d3d01be5f526f129f38a8081d6b897a6a119544103a7e54dff88
|
|
| MD5 |
e2b31c12119418fcbf2bca5d927bd207
|
|
| BLAKE2b-256 |
3d684a3d4da38dcdc97eb73b131a6f733bf79e9127ddbb2bd42af8d2fe48b466
|