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.1.6.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.1.6.tar.gz.
File metadata
- Download URL: rvlpromaster-0.1.6.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1cc6eb9d3a65e0f690ba61bac116382b973397ef6a956423dc3373f3f49bbed
|
|
| MD5 |
7466e1f2184e4039b1765a21eea0be7b
|
|
| BLAKE2b-256 |
746ac95b8cd2b4587c040c3380e5462adcd37142b5905b5e77dc32dcb58f8a36
|
File details
Details for the file rvlpromaster-0.1.6-py3-none-any.whl.
File metadata
- Download URL: rvlpromaster-0.1.6-py3-none-any.whl
- Upload date:
- Size: 85.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c2490af97e229a9147dccf5a27ae597d3933449925f98931a0648495f8bad25
|
|
| MD5 |
07c2517177078dae5b8d45129df5e059
|
|
| BLAKE2b-256 |
f18a469fcba761f65a2e8586cde8c97f73aa35f25239b665c0f7db17435a5d02
|