<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Send Telegram bot message]]></title><description><![CDATA[<p dir="auto">Now it is possible to send telegram bot message from MyController.</p>
<p dir="auto">Add telegram bot <code>token</code> from your bot(<code>BotFather</code>) into MyController notifications settings.<br />
I followed this <a href="https://www.youtube.com/watch?v=hJBYojK7DO4" rel="nofollow ugc">link</a> to set up a bot in my telegram account.</p>
<p dir="auto">We can get chat_id in two different steps,</p>
<p dir="auto">Options #1: Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/jl277013" aria-label="Profile: jl277013">@<bdi>jl277013</bdi></a> <a href="https://github.com/mycontroller-org/mycontroller/issues/442#issuecomment-410922382" rel="nofollow ugc">for the information</a><br />
The solution was to go to Telegram and search for the bot called "userinfobot" with the questionmark as an avatar. Click start and it gives you your userid.</p>
<p dir="auto"><img src="/assets/uploads/files/1533615280991-2c55a353-e3d4-4f09-8692-6b32db998f5e-image-resized.png" alt="0_1533615275298_2c55a353-e3d4-4f09-8692-6b32db998f5e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Option #2:<br />
From <a href="https://www.youtube.com/watch?v=hJBYojK7DO4" rel="nofollow ugc">the video</a></p>
<ul>
<li>to join your bot to a group, from 04:20 to 05:52</li>
<li>to get channel username(chat id), from 09:20 to 13:20.</li>
</ul>
<p dir="auto"><img src="https://user-images.githubusercontent.com/1004403/42149953-cdc014c8-7df5-11e8-8351-3eaef7c03e12.png" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto">Valid <code>token</code> will be looking as follows after saved,<br />
<img src="https://user-images.githubusercontent.com/1004403/42149979-e42437d0-7df5-11e8-9dee-cb2cd7c1dfc3.png" alt="image" class=" img-fluid img-markdown" /></p>
<p dir="auto">Create Operation to send telegram bot message, Here <code>Channel username</code> is important. The custom message can be empty.<br />
<img src="/assets/uploads/files/1608589849078-mc-telegram.jpg" alt="mc-telegram.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>http://forum.mycontroller.org/topic/312/send-telegram-bot-message</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 00:45:33 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/312.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 02 Jul 2018 07:18:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Send Telegram bot message on Tue, 13 Sep 2022 08:27:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> I finally had the chance to test the SNAPSHOT and it works !</p>
<p dir="auto">Now I have just to remember how to send the sensor states.</p>
<p dir="auto">Thanks a lot !</p>
]]></description><link>http://forum.mycontroller.org/post/3276</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3276</guid><dc:creator><![CDATA[fsgrazzutti]]></dc:creator><pubDate>Tue, 13 Sep 2022 08:27:22 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 04 Aug 2022 11:49:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fsgrazzutti" aria-label="Profile: fsgrazzutti">@<bdi>fsgrazzutti</bdi></a> with the help of GitHub action I built the bundle and pushed it in to <a href="https://drive.google.com/drive/folders/0BzuumrtRA7p6Z0hCX2V6cVh2ckU?resourcekey=0-ecfRUGkBkQMfktXk069FjQ" rel="nofollow ugc">SNAPSHOT</a> location. Have not tested yet. Let me know if you face a difficulty.</p>
]]></description><link>http://forum.mycontroller.org/post/3242</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3242</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 04 Aug 2022 11:49:23 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 04 Aug 2022 08:04:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fsgrazzutti" aria-label="Profile: fsgrazzutti">@<bdi>fsgrazzutti</bdi></a> ok, I will update you, when I fix it in v1.x. thanks!</p>
]]></description><link>http://forum.mycontroller.org/post/3239</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3239</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 04 Aug 2022 08:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 04 Aug 2022 08:01:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> thanks,</p>
<p dir="auto">no, I did not tried it yet, I am a bit scared about the installation. I recently migrated v1.6 to a windows 10 PC</p>
]]></description><link>http://forum.mycontroller.org/post/3238</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3238</guid><dc:creator><![CDATA[fsgrazzutti]]></dc:creator><pubDate>Thu, 04 Aug 2022 08:01:07 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 04 Aug 2022 07:56:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fsgrazzutti" aria-label="Profile: fsgrazzutti">@<bdi>fsgrazzutti</bdi></a> It is possible we have to change the <code>Integer</code> to <code>Long</code> in <a href="https://github.com/mycontroller-org/mycontroller-rest-clients/blob/master/src/main/java/org/mycontroller/restclient/telegrambot/model/User.java#L38" rel="nofollow ugc">https://github.com/mycontroller-org/mycontroller-rest-clients/blob/master/src/main/java/org/mycontroller/restclient/telegrambot/model/User.java#L38</a></p>
<p dir="auto">I worked while ago in 1.x version. I have to setup the development environment in my local laptop. might take sometime to get the fix.</p>
<p dir="auto">Have you tried MyController 2.x? I believe we have almost all the features from 1.x in MC 2.x</p>
]]></description><link>http://forum.mycontroller.org/post/3237</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3237</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Thu, 04 Aug 2022 07:56:07 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 04 Aug 2022 07:20:10 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> ,</p>
<p dir="auto">I wanted to update Telegram configuration on my Mycontroller setup, version 1.6.0-SNAPSHOT,<br />
Git commit:branch<br />
263b61248fe66e251519c606ecd6f48a73d75b07:development<br />
Built on<br />
2021-05-08T18:35:53Z</p>
<p dir="auto">The Id I got is 537757xxxx, and I get an error message :<br />
Numeric value (537757xxxx) out of range of int.</p>
<p dir="auto">any chance to get it fixed ?</p>
]]></description><link>http://forum.mycontroller.org/post/3236</link><guid isPermaLink="true">http://forum.mycontroller.org/post/3236</guid><dc:creator><![CDATA[fsgrazzutti]]></dc:creator><pubDate>Thu, 04 Aug 2022 07:20:10 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Fri, 20 Jul 2018 11:44:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jkandasa" aria-label="Profile: jkandasa">@<bdi>jkandasa</bdi></a> Thank you!</p>
]]></description><link>http://forum.mycontroller.org/post/1883</link><guid isPermaLink="true">http://forum.mycontroller.org/post/1883</guid><dc:creator><![CDATA[betows]]></dc:creator><pubDate>Fri, 20 Jul 2018 11:44:53 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Fri, 20 Jul 2018 01:44:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/betows" aria-label="Profile: betows">@<bdi>betows</bdi></a> Currently it is available in <a href="https://forum.mycontroller.org/topic/58/download-snapshot-build" rel="nofollow ugc">SNAPSHOT</a> version, soon(in couple of days) will be released along with <code>1.3.0</code> version</p>
]]></description><link>http://forum.mycontroller.org/post/1878</link><guid isPermaLink="true">http://forum.mycontroller.org/post/1878</guid><dc:creator><![CDATA[jkandasa]]></dc:creator><pubDate>Fri, 20 Jul 2018 01:44:06 GMT</pubDate></item><item><title><![CDATA[Reply to Send Telegram bot message on Thu, 19 Jul 2018 18:40:46 GMT]]></title><description><![CDATA[<p dir="auto">Which version of MyController is this feature available?</p>
]]></description><link>http://forum.mycontroller.org/post/1876</link><guid isPermaLink="true">http://forum.mycontroller.org/post/1876</guid><dc:creator><![CDATA[betows]]></dc:creator><pubDate>Thu, 19 Jul 2018 18:40:46 GMT</pubDate></item></channel></rss>