{"id":269,"date":"2019-01-04T01:25:07","date_gmt":"2019-01-03T17:25:07","guid":{"rendered":"https:\/\/lucentinian.com\/?p=269"},"modified":"2020-02-15T11:22:33","modified_gmt":"2020-02-15T03:22:33","slug":"uml-bot-for-telegram","status":"publish","type":"post","link":"https:\/\/lucentinian.com\/index.php\/269\/2019\/01\/04\/","title":{"rendered":"UML bot for Telegram"},"content":{"rendered":"\n<p>Our new Telegram bot is ready for work!<\/p>\n\n\n\n<p>Chat with our bot, and get drawn UML charts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"984\" src=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot-1024x984.png\" alt=\"Telegram UML bot example\" class=\"wp-image-514\" srcset=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot-1024x984.png 1024w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot-300x288.png 300w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot-768x738.png 768w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot-1536x1476.png 1536w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot.png 1843w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It uses the <a href=\"http:\/\/plantuml.com\">plantUML<\/a> format, so in the example above, the code is:<\/p>\n\n\n\n<p>title Example<br>actor user<br>database telegram<br>database bot<br>user -&gt; telegram : message with\\nPlantUML format<br>telegram -&gt; bot : message with\\nPlantUML format\\nplus chat data<br>bot -&gt; bot : generate diagram<br>bot -&gt; telegram : push diagram to user<br>telegram -&gt; user : diagram <\/p>\n\n\n\n<p>How to share it with others in other chat? <br>Since it is like a picture or photo, select the diagram and forward it to other chat.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"830\" src=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward1-1024x830.png\" alt=\"Start forwarding a diagram\" class=\"wp-image-515\" srcset=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward1-1024x830.png 1024w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward1-300x243.png 300w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward1-768x623.png 768w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward1.png 1269w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Look for the chat where you are going to forward the diagram.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"1024\" src=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward2-719x1024.png\" alt=\"Telegram forward destination selection\" class=\"wp-image-516\" srcset=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward2-719x1024.png 719w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward2-211x300.png 211w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward2-768x1094.png 768w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_forward2.png 899w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<p>Find it in Telegram as <a href=\"tg:\/\/resolve?domain=umlbot\">@umlbot<\/a> or open this link for the web version of Telegram <a href=\"https:\/\/web.telegram.org\/#\/im?p=@umlbot\">https:\/\/web.telegram.org\/#\/im?p=@umlbot<\/a><\/p>\n\n\n\n<p>Other questions appearing in the comments below regarding ~~<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"1024\" src=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_-751x1024.png\" alt=\"\" class=\"wp-image-519\" srcset=\"https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_-751x1024.png 751w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_-220x300.png 220w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_-768x1047.png 768w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_-1127x1536.png 1127w, https:\/\/lucentinian.com\/wp-content\/uploads\/2020\/02\/telegram_umlbot_.png 1129w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Our new Telegram bot is ready for work! Chat with our bot, and get drawn UML charts. It uses the plantUML format, so in the example above, the code is: title Exampleactor userdatabase telegramdatabase botuser -&gt; telegram : message with\\nPlantUML formattelegram -&gt; bot : message with\\nPlantUML format\\nplus chat databot -&gt; bot : generate diagrambot -&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[165,166],"tags":[],"class_list":["post-269","post","type-post","status-publish","format-standard","hentry","category-bot","category-telegram"],"_links":{"self":[{"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/posts\/269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":5,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/posts\/269\/revisions"}],"predecessor-version":[{"id":520,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/posts\/269\/revisions\/520"}],"wp:attachment":[{"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/media?parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/categories?post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucentinian.com\/index.php\/wp-json\/wp\/v2\/tags?post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}