Send message with c#?
Is there any way to send notification with c#?
Im checking for a ticket, and if its available, I want to get a notification.
8 Replies
Send a message with what?
wdym with what
with a bot or from my account
just send me a message "Ticket available"
There isn't some universal "messaging" concept in the world.
//send me messenger/instagram/telegram text or any kind of notification?
If you want to send an email, you need an email server, and proper instructions to send an email through that server.
If you want to send something through Instragram, you'll have to see if they offer that, and how, from them.
If you want to send a telegram message, you'll have to see if they offer that, and how, from them.
If you want to send a text message, you'll need some provider that will relay messages to the SMS system, and figure out the costs/instructions from them.
Repeat for every distinct thing that exists.
I googled for "sending a message through Telegram" and ended up at this page: https://core.telegram.org/bots/api, where they describe their bot API, and how to use it, and what it requires.
btw, you should be using
HttpClient
instead of WebClient
Thanks