TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Telegram Middleman Bot – Push Notifications as easy as POST

65 pointsby n1tryalmost 8 years ago

9 comments

ATschalmost 8 years ago
I have not looked at this in detail, but I can&#x27;t see what advantages this has over just sending a simple http request like this:<p><pre><code> https:&#x2F;&#x2F;api.telegram.com&#x2F;botTOKEN&#x2F;sendMessage?id=YOUR_ID&amp;message=&quot;your servers are on fire&quot; </code></pre> because that&#x27;s all you need as far as I know. Works via GET, POST, PUT, everything.<p>Only thing I could see is being able to switch it out for other services easier.
评论 #14899067 未加载
dingo_batalmost 8 years ago
Telegram really deserves more attention than it gets. It has the largest feature set, best multi-platform support with true desktop clients, awesome&#x2F;fast mobile apps and a large part of the code is open source. What&#x27;s not to love? Just that none of my friends use it :&#x2F;
评论 #14901866 未加载
评论 #14900540 未加载
soulwatcheralmost 8 years ago
Is there any limit to the number of messages stored in a telegram conversation? Many users report previous messages being deleted without a warning<p><a href="http:&#x2F;&#x2F;telegramgeeks.com&#x2F;2016&#x2F;02&#x2F;telegram-only-shows-us-the-last-million-messages&#x2F;" rel="nofollow">http:&#x2F;&#x2F;telegramgeeks.com&#x2F;2016&#x2F;02&#x2F;telegram-only-shows-us-the-...</a>
评论 #14899549 未加载
_b8r0almost 8 years ago
&gt; And they require your little server-side script to include some SMTP library and connect to a mail server. That&#x27;s too heavyweight just to get some short information.<p>Really? Building and deploying a bot made in an arbitrary language is less onerous than registering for a Gmail account to send mail reports through?<p>Perhaps it&#x27;s just the author&#x27;s sense of humour, but this didn&#x27;t strike me as helpful at all. Notifications can be handy for some things, email for other things. Depends on the person. But it&#x27;s not hard to set up an email account. That&#x27;s partly why it&#x27;s still around.
fishywangalmost 8 years ago
Shameless plug: I did something similar earlier this year[1]. But instead of running the bot locally, I run it on Google App Engine to provide an HTTPS API. I also have an Android app to call the API to forward Android notifications.<p>My motivation is a little bit different. I made this because Telegram has great Android Auto support, and also has an easy to use Bots API, so I can convert non-Android-Auto-compatible notifications into Android Auto notifications. I explained my motivation in detail in a blog post. [2]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;fishy&#x2F;notifbot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fishy&#x2F;notifbot</a><p>[2] <a href="https:&#x2F;&#x2F;wang.yuxuan.org&#x2F;blog&#x2F;item&#x2F;2017&#x2F;03&#x2F;smartthings-myq-and-scala" rel="nofollow">https:&#x2F;&#x2F;wang.yuxuan.org&#x2F;blog&#x2F;item&#x2F;2017&#x2F;03&#x2F;smartthings-myq-an...</a>
gravypodalmost 8 years ago
Why is setting up a bush notification system so difficult that it&#x27;s easier to piggy back on telegram? I have a project I want to do that involves making your own PUSH server (for battery reasons). Would it be difficult to setup
评论 #14899759 未加载
JepZalmost 8 years ago
It&#x27;s funny to see such projects while one of the main reasons to built Telegram in the first place was to built something with a simple http api (vs. the non-http XMPP api) ;-)
slackoverfloweralmost 8 years ago
Is there something like this for Facebook Messenger?
m88malmost 8 years ago
so...zapier?