An easy way to take a backup of x-ui.db and save it in the Telegram channel
For C#, put the compiled file in the /etc/x-ui folder and run the program.
Replace the required values.
//Replace with your bot token and channel name
string botToken = "your bot token here";
string channelName = "@your channel name here";
Do the same for Python
# Replace with your bot token and channel name
bot_token = "your bot token here"
channel_name = "@your channel name here"