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.2.tar.gz (39.9 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.2-py3-none-any.whl (84.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for rvlpromaster-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f13e2b675ed8437d519de31fb11514b74816d5e6b9a8e2ef0ed38aed246beea1
MD5 6fbd1a36721ce980501da1a48a4c25e7
BLAKE2b-256 18a0eaf5a819de27445698c1844b9de187d9425a417f63298d22db0bb76358df

See more details on using hashes here.

File details

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

File metadata

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

Hashes for rvlpromaster-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0da01aca1db85a516322cd5b786675dd3334b4158801e2fe85c43f036855354
MD5 e2f700fa605fe7a0cf6013273a090865
BLAKE2b-256 51bf88078d106c32af8a9422cace1de7696834e6c9eeeda9e9ed2c93d919984c

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