mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2021-05-13 03:08:02 +03:00
Renaming back pytelegrambotapi module to telebot
This commit is contained in:
@@ -30,10 +30,10 @@
|
||||
# Steps 1 to 4 will have to be implemented in a web server, using a language such as PHP, Python, C# or Java. These
|
||||
# steps are not shown here. Only steps 5 to 7 are illustrated, some in pseudo-code, with this example.
|
||||
|
||||
import pytelegrambotapi
|
||||
import telebot
|
||||
import time
|
||||
|
||||
bot = pytelegrambotapi.TeleBot('TOKEN')
|
||||
bot = telebot.TeleBot('TOKEN')
|
||||
|
||||
def extract_unique_code(text):
|
||||
# Extracts the unique_code from the sent /start command.
|
||||
|
||||
Reference in New Issue
Block a user