Closed bnonni closed 10 months ago
Adding abbot to a telegram group turned out to be pretty straightforward but managing the invoice generation outside of Telegram has some challenges, especially if the user has multiple groups with Abbot.
@atl_bitlab_bot
) to any Telegram group chat using this link: https://t.me/atl_bitlab_bot?startgroup=true.This research is perfect and EXACTLY what I was looking for. I can add a Filter to Abbot on the backend that looks for Group Add messages. If the backend server detects a message where Abbot was added to the group, have Abbot respond with a canned message (i.e. "thanks for adding me to your group. You have 50,000 SATs free! 1 message from Abbot = 10 SATs. Once that runs out, you will need to run the /fund
command passing an amount of SATs e.g. /fund 1000000
). From here, I can handle the entire invoice flow on the backend. I'm going to work on getting this logic added ASAP. Closing this issue.
Thanks for your work here @saucy-tech! Great work!
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Alternative solutions