Skip to main content

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
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.3.tar.gz (40.1 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.3-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rvlpromaster-0.1.3.tar.gz
  • Upload date:
  • Size: 40.1 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.3.tar.gz
Algorithm Hash digest
SHA256 f5df9654a8e44936e0203ff43aa7e8b853359b03bd66900f5d3a075a4e27446c
MD5 b7a51543af5b80bed6cb8969278f8fdf
BLAKE2b-256 c531279faba581af0b7492cf52483f9df600734ae18beb0ddd1733c3f5cf215d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rvlpromaster-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 85.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cb29513193b595c2e862afd551dab3781f6064a808ad0781c08a987ec32cbe10
MD5 9aa9aed4b42487dab8bcc74a7369a89e
BLAKE2b-256 3097ee0e8fedfad9ac727890aeca6832ca30e881df6db5e95c81471eca823b22

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