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.0.tar.gz
(40.0 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.0.tar.gz.
File metadata
- Download URL: rvlpromaster-0.2.0.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee2c1a84b1639ea012c0bc4d1ad107c4459de53c684ab50289dc976b0de50f91
|
|
| MD5 |
c0d1f344d1d8f0a3a73ca5be394aa4d4
|
|
| BLAKE2b-256 |
9b6442ca57707d93495d8f6637ef5179f86afd6ca7888f30baa67c96e4dd4d9f
|
File details
Details for the file rvlpromaster-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rvlpromaster-0.2.0-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 |
b0a8ed3afadf3d43c9311a0f7da57c73d7a57c56da5180f266af14c742706c20
|
|
| MD5 |
ca89c926c12b90e9eae92064e2438f05
|
|
| BLAKE2b-256 |
6c91e21d39f08b4cc3b1a1acaf4062bbb91fddd867a35bf634ae083bfdcb1a6b
|