M
M
mandico212021-11-22 09:18:19
PostgreSQL
mandico21, 2021-11-22 09:18:19

How can I implement a multi-level referral system in a telegram bot?

Good afternoon, there is a question of implementing several levels of the referral program, more precisely 15 levels

. How to correctly determine which level a user belongs to and how to store it all correctly in BD postgres

with level 1 is easier, but how to determine level 2, etc.?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SergTaranov, 2021-11-22
@SergTaranov

Apparently, you need to create a tree for storing user records and referral links: https://code.tutsplus.com/ru/articles/data-structu...
and save it in the database.

V
Vladimir Shiklgruber, 2015-03-21
@aaadddminnn

xsolla has
40 countries and more than 600 local partners. very cool system xsolla.com there is also a Russian language

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question