Open Jatus93 opened 2 years ago
I was thinking to design the data structure like CSV, with ¶ as the separator. (¶SV) So every entry in the database should be a single string formatted with ¶ to differentiate all the fields. A basic version of some data should be like this:
- from the telgram bot we need
chat_id¶user_id¶message_id¶payload
- to display the data on the application we should use
session_id¶user_id¶payload
Where chat_id and session_id can be tied one to one.
Absolutely yes. Unfortunately, we cannot use ¶ as actual file extension, so we can call .psv
. But if you want we can use this 🅿️ otherwise.
I was thinking to design the data structure like CSV, with ¶ as the separator. (¶SV) So every entry in the database should be a single string formatted with ¶ to differentiate all the fields. A basic version of some data should be like this:
Where chat_id and session_id can be tied one to one.