notifme / notifme-sdk

A Node.js library to send all kinds of transactional notifications.
https://notifme.github.io/www/
MIT License
1.94k stars 150 forks source link

Sending messages to Telegram users #202

Open alaaet opened 1 week ago

alaaet commented 1 week ago

I would like to see if there are other people interested in adding more channels, in this case I believe that Telegram would be nice to have, please upvote if you are interested

Issue:

Telegram is not recognized as a channel.

Suggestion:

I used a library called node-telegram-bot-api to actually send the message to a telegram user and added it as a custom provider to the configuration of NotifmeSdk, the problem I noticed is that telegram is not a recognized channel, but if you give it recognized channel name (ex: email, sms, voice...etc) it will work, but this is not a good solution.

how to send a message to a telegram user?

Solution

add telegram as a channel type.