Skip to main content

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

Telegram

Project details


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.4.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rvlpromaster-0.1.4-py3-none-any.whl (85.4 kB view details)

Uploaded Python 3

File details

Details for the file rvlpromaster-0.1.4.tar.gz.

File metadata

  • Download URL: rvlpromaster-0.1.4.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

Hashes for rvlpromaster-0.1.4.tar.gz
Algorithm Hash digest
SHA256 50f26ee3ec4b69bd97a2218948041b0d1f39c1d271215eb18d8bd3d9b7cff2f5
MD5 dac7aac971bd14b2813438d8dd931e30
BLAKE2b-256 00c414cb363fba67e7c6c1e4456e1f1e5173d92ff4b4c9c611d3ffbe913f0731

See more details on using hashes here.

File details

Details for the file rvlpromaster-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: rvlpromaster-0.1.4-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

Hashes for rvlpromaster-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a821627a5f978212eb745b1c6cb18072c5c15a0c74d7c9a27447ed241bafc17a
MD5 e8adecf7a74ade1fb4a72c8ae022b978
BLAKE2b-256 163d61b1943e2db9652e0bc0919f873db4866d87cf14a69cb13cf87ea3852c43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page