2022-02-19 19:56:51 +03:00
|
|
|
|
|
|
|
===========
|
|
|
|
Quick start
|
|
|
|
===========
|
|
|
|
|
2022-05-01 21:19:46 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Quickstart guide
|
|
|
|
:keywords: ptba, pytba, pyTelegramBotAPI, quickstart, guide
|
|
|
|
|
2022-02-19 19:56:51 +03:00
|
|
|
Synchronous TeleBot
|
|
|
|
-------------------
|
2022-02-19 22:40:25 +03:00
|
|
|
.. literalinclude:: ../../examples/echo_bot.py
|
2022-02-19 19:56:51 +03:00
|
|
|
:language: python
|
|
|
|
|
|
|
|
Asynchronous TeleBot
|
|
|
|
--------------------
|
2022-02-19 22:40:25 +03:00
|
|
|
.. literalinclude:: ../../examples/asynchronous_telebot/echo_bot.py
|
2022-02-19 19:56:51 +03:00
|
|
|
:language: python
|
|
|
|
|
|
|
|
|