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.5.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.5-py3-none-any.whl (85.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rvlpromaster-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 97c8a62316d7cbf5e2d3cb6bdef6c3531ddefa02d4c81379a2c2713868051ed6
MD5 02c60380ed261cd75d5934f12ffcb58a
BLAKE2b-256 fdaa3598775f1aa0eda27523dfa27ac42b3e836c318d3d6ff41eecba7cb7c4f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rvlpromaster-0.1.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 46ed05f07294c2bd124ffa05d07e5b24be940a4d684d21f77bb6022392980ac1
MD5 3f67cab15a070c5c9849422ba5e6d14c
BLAKE2b-256 667df684401ca465bdc06069079fb9074fe4e05dfacf9fbfa30df2faad248732

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