The Telegram Bot API
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
You Need Install The Requirements
pip install -r requirements.txt
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.1.tar.gz
(39.9 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.1.tar.gz.
File metadata
- Download URL: rvlpromaster-0.1.1.tar.gz
- Upload date:
- Size: 39.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0769c3539ec929df0bfaa6f1070eb1012097c9387354912cb1ff6adf2e2f16c6
|
|
| MD5 |
00866e4c4ba8891972468527c9ae5f96
|
|
| BLAKE2b-256 |
ca1e6f8d642ed3fcf995aa5d80689796e084bf9d834dc27010939ca064ef9acc
|
File details
Details for the file rvlpromaster-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rvlpromaster-0.1.1-py3-none-any.whl
- Upload date:
- Size: 84.9 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 |
b8908d7f023bb37b922728840647e848b198a96a5ff13450c388127fac22b10b
|
|
| MD5 |
f1be73ca7d6343d026ab56d610086e72
|
|
| BLAKE2b-256 |
3f12d3e1c5313ec40ba6185934a61ee49ba1d38a27aa4d7e4a70719f60d56018
|