A
A
Alexander Proshchenkov2018-03-08 18:11:53
Python
Alexander Proshchenkov, 2018-03-08 18:11:53

What is more appropriate to use for meaningful "conversations" with the bot?

I use the pyTelegrambotApi library, what should I use for meaningful responses from the bot, global variables or writing to the database and then reading?
An example of a conversation with a bot:
person:/start
bot:Hi, what's your name?
h: No
way b: Hello, No way!
db - sqlite3
python - 3.6
bot works on pythonAnywhere

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlmazKayum, 2018-03-09
@Keltor

https://groosha.gitbooks.io/telegram-bot-lessons/c...

A
arudmin, 2018-03-09
@arudmin

https://habrahabr.ru/post/346606/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question