🌐
GitHub
github.com › eternnoir › pyTelegramBotAPI
GitHub - eternnoir/pyTelegramBotAPI: Python Telegram bot api. · GitHub
Python Telegram bot api. Contribute to eternnoir/pyTelegramBotAPI development by creating an account on GitHub.
Starred by 8.7K users
Forked by 2.1K users
Languages   Python
🌐
PyPI
pypi.org › project › pyTelegramBotAPI
pyTelegramBotAPI
JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
PyPI
pypi.org › project › pyTelegramBotAPI › 0.3.0
pyTelegramBotAPI 0.3.0
JavaScript is disabled in your browser. Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
YouTube
youtube.com › tech mind
Python Telegram Bot with pyTelegramBotAPI - YouTube
If you liked the video, please be sure to comment, like and subscribe. In case you have any questions, leave them in the comments and I will check up on you ...
Published   January 21, 2018
Views   65K
🌐
Telegram
core.telegram.org › bots › samples
Bot API Library Examples
pyTelegramBotAPI. A simple, but extensible Python implementation for the Telegram Bot API.
Top answer
1 of 1
5

pyTelegramBotAPI is a python implementation of the Telegram Bot API.

You're not choosing to use pyTelegramBotAPI instead of the Telegram Bot API - rather you're choosing to use pyTelegramBotAPI for the Telegram Bot API. This is one of numerous Python implementations and Python is just one of many languages that implementations are written in. If you really want, you can operate a Telegram Bot using shell commands.

In general terms, an implementation of a HTTP-based API written in a particular language simplifies building your program by allowing you to specify your ID's and credentials, and then simply calling functions to get things done, instead of having to engineer every call and include the paramaters manually or repetitively. It also takes care of constructing the requests and passing the paramaters in a compatible format to the server, while it may also provide some additional parsing to the paramaters provided to the abstracted functions.

Reasons you may wish to use pyTelegramBotAPI:

  • You like the features and functionality of pyTelegramBotAPI. I.e. You're looking for a framework for a project like one of these

  • You want a Python implementation of the Telegram Bot API without having to build it from scratch yourself.

  • You want a fairly comprehensive and extensible implementation of the Telegram Bot API (true at the time of writing this)

The Documentation explains what you need to be aware of, and how certain aspects translate to the API. I.e, there's a paragraph explaining the convention of method names has been modified to more idiomatic Python;

Methods

All API methods are located in the TeleBot class. They are renamed to follow common Python naming conventions. E.g. getMe is renamed to get_me and sendMessage to send_message.

There's also a note about the renaming of from to from_user

Reasons you may not want to use pyTelegramBotAPI

As mentioned above, pyTelegramBotAPI is maintained and updated regularly at the time of writing this. However, there's never a guarantee that code written by someone else will always be maintained in either it's original form or forked off and taken in a new direction.

You may choose against using something like this if:

  • Python is unavailable in your environment
  • You require an extremely simple and lightweight use of a bot and could maintain it quicker by referring directly to the official Telegram API reference.
  • You are looking to integrate to another project using a different language.
  • You aren't confident in extending the the code to suit your requirements.
🌐
SourceForge
sourceforge.net › projects › pytelegrambotapi.mirror
pyTelegramBotAPI download | SourceForge.net
This is an exact mirror of the pyTelegramBotAPI project, hosted at https://github.com/eternnoir/pyTelegramBotAPI.
Find elsewhere
🌐
Medium
fernandezvictor.medium.com › my-notes-telegram-bot-pytelegrambotapi-26eda4aebec7
(My Notes) Telegram Bot <pyTelegramBotAPI> | by Victor Fernandez | Medium
May 13, 2022 - The package pyTelegramBotAPI encapsulates the telegram API, with this package I can send messages and documents and several ways to parse or listen to incoming messages.
🌐
Telegram
t.me › s › pytelegrambotapi
pyTelegramBotAPI – Telegram
🎉 4.2.0 - Bot API 5.4 and overriding requests Bot API support bumped up to v.5.4. Thanks to @coder2020 - Added possibility to override request sending for testing purposes or making some requests post-processing. See: https://github.com/eternnoir/pyTelegramBotAPI#testing Release
🌐
Readthedocs
pytba.readthedocs.io › en › latest › sync_version › index.html
TeleBot version - pyTelegramBotAPI 4.33.0 documentation
See more examples in examples/ directory: https://github.com/eternnoir/pyTelegramBotAPI/tree/master/examples · Note · Install coloredlogs module to specify colorful_logs=True · Parameters: token (str) – Token of a bot, should be obtained from @BotFather ·
🌐
Readthedocs
pytba.readthedocs.io › en › latest › quick_start.html
Quick start - pyTelegramBotAPI 4.32.0 documentation
pyTelegramBotAPI 4.32.0 documentation ... · Utils · Formatting options · Back to top · View this page · #!/usr/bin/python # This is a simple echo bot using the decorator mechanism....
🌐
Blue Book
lyz-code.github.io › blue-book › pytelegrambotapi
pytelegrambotapi - The Blue Book
pyTelegramBotAPI is an synchronous and asynchronous implementation of the Telegram Bot API. pip install pyTelegramBotAPI · Use the /newbot command to create a new bot. @BotFather will ask you for a name and username, then generate an authentication token for your new bot.
🌐
PyPI
pypi.org › project › pyTelegramBotAPI › 3.2.1
pyTelegramBotAPI · PyPI
- We now have a Telegram Channel as well! Keep yourself up to date with API changes, and `join it <https://telegram.me/pytelegrambotapi>`__.
      » pip install pyTelegramBotAPI
    
Published   Sep 28, 2017
Version   3.2.1
🌐
GitHub
github.com › eternnoir › pyTelegramBotAPI › releases
Releases · eternnoir/pyTelegramBotAPI
Python Telegram bot api. Contribute to eternnoir/pyTelegramBotAPI development by creating an account on GitHub.
Author   eternnoir
🌐
Gitbook
coder2020.gitbook.io › pytelegrambotapi
Beginning | pyTelegramBotAPI(sync)
September 9, 2021 - It is interactive documentation of the python telegram bot library, called "pyTelegramBotAPI".