N
N
Nikita_was1032019-09-11 16:15:29
Bots
Nikita_was103, 2019-09-11 16:15:29

What is needed to create such a Telegram bot?

Hello!
Please tell me what you need for a TG bot that:
1. stores a certain list;
2. Adds and removes list positions at the user's command, i.e. creates new positions with active/inactive status;
3. unloads positions according to the specified parameter - active/inactive
Usage scenario:
Husband and wife upload a list of products into the bot: milk, bread, eggs. Husband on Mon. drank milk, sent a message "-milk". On Tuesday, the wife ate bread, sent "-bread". On Wednesday, the wife decided that she needed to buy ketchup, added + ketchup. On Thursday, before going to the store, the husband types "what to buy", gets the result: "milk, bread, ketchup."

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Yakushenko, 2019-09-11
@kshnkvn

Any programming language, any database and ~70-100 lines of code.

D
Duzive, 2019-09-24
@duzive

As mentioned above, select any jap and any db.
For such a bot, python and a SQLite database are suitable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question