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=Message.message_id,
)
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.0.tar.gz
(39.7 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.0.tar.gz.
File metadata
- Download URL: rvlpromaster-0.1.0.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed51499f5890180b3032eb150ea6b0475c0e2cbd96cc5fd36637e73f002ffd7a
|
|
| MD5 |
601c1af0cd8acc2875d7753a06bc9477
|
|
| BLAKE2b-256 |
4b594f1b1b6dabb5370dcd07ebef018c9b8d2de415ae9c4d5f18beba703274ef
|
File details
Details for the file rvlpromaster-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rvlpromaster-0.1.0-py3-none-any.whl
- Upload date:
- Size: 84.8 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 |
59bbf2ea9f789c8a65bafed13b6954b4e9672feaa335f18e4541bcabed0dd3f3
|
|
| MD5 |
aaee392643c9afbc3344fa74e1a6b25d
|
|
| BLAKE2b-256 |
6a3cdcb2cfb848bc7cf77d7b3146bab3c41d7590b1f43e7e22523f6046355a3f
|