Adding bitcoin link in /donate

This commit is contained in:
sergiotarxz 2022-03-22 02:42:58 +01:00
parent 3c2e2b015f
commit bb5d2377b0

View File

@ -180,8 +180,7 @@ sub show_donate {
my $chat_id = $message->{chat}{id};
my $html = <<'EOF';
You can donate btc using the following bitcoin address:
bc1qtas98jqjglezqtz5es8cpg0h72qquc4h83e0gz
You can donate btc using this link <a href="bitcoin:bc1qtas98jqjglezqtz5es8cpg0h72qquc4h83e0gz?message=Donations%20DoctorKarma&time=1644428921">DoctorKarma donations</a>:
EOF
$telegram->send_message(
chat_id => $chat_id,