Skip to main content

19. User Data Export

[LOGS & DATA] 19. EXPORT OF USER DATA

It allows you to export to a file the data of ONLY those users who at least somehow manifested themselves in your bot, besides just wandering through the menu.

For being exported, you need the user to have referrals, any balance or something else - bonuses for example.

❗️ Data of those who just came to see and pressed few menu buttons - will not be exported - because not stored.

In particular are exported:
● ID 
● UserName 
● Name 
● Surname 
● Bot deleted or not
● Variables
● Quantity of Referrals (all Levels)
● Referral Parent

All data combined in .csv file which is sent by a bot to a chat with the administrator. Files such as .csv can be open as the text, in any text editor, or in the form of tables in any applications supporting or working with tables (MS of Excel, OpenOffice, LibreOffice).

▪️ To export the file use commands:
Full export of all data
/varexp
Export of separate columns:
/varexp var_name1 var_name2
Example:
/varexp user_id balance
▫️ Names of the system columns:
user_id
user_code
first_name
last_name
bot_blocked
is_banned
ref_parent

▪️ When exporting data, you can use " , " (comma) instead of " ; " (semicolon) separator.
▫️ This will help to open the export file normally in mobile applications and “Google docs”.
▫️ Use the optional "comma" word extension when exporting. For instance:
/varexp comma
/varexp var_name1 var_name2 comma
▪️ Details can be viewed on command:
/varhelp

❗️ Files over 20MB are coming compressed in ZIP.

📄 MANUAL: Export of user data:
https://docs.menubuilder.cc/books/5-functions-manuals/page/export-of-user-data

To add feature go to your bot:
☞ 🔐Admin | 🧩Extensions | 📂Logs and Data
〰️〰️〰️〰️〰️〰️〰️〰️〰️〰️
10 Exports of ALL available data
50 Exports of ALL available data
90 Exports of ALL available data
👾 On 1 Bot (by the piece)