HomePhabricator

[alias-server] Telegram bot to announce new alias registrations

Description

[alias-server] Telegram bot to announce new alias registrations

Summary:
T2969

Depends on D13232

Add a Telegram bot to broadcast msgs to a Telegram channel when new aliases are registered.

Test Plan:

cp secrets.js.sample sample.js

Enter your bot information and channel ID (can ping me to use mine or create your own using the Botfather)
node index.js
Create some aliases with Cashtab running locally with aliases enabled
Confirm msgs broadcast

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack

Differential Revision: https://reviews.bitcoinabc.org/D13233

Details

Provenance
bytesofmanAuthored on Mar 3 2023, 19:39
bytesofmanPushed on Mar 5 2023, 03:58
Reviewer
Restricted Project
Differential Revision
D13233: [alias-server] Telegram bot to announce new alias registrations
Parents
rABCc22b91339173: [alias-server] Support for reserved ABC aliases
Branches
Unknown
Tags
Unknown