{"id":1504,"date":"2022-05-13T19:00:45","date_gmt":"2022-05-13T16:00:45","guid":{"rendered":"https:\/\/telegram.im\/blog\/bot-interfaces\/"},"modified":"2022-05-13T19:00:45","modified_gmt":"2022-05-13T16:00:45","slug":"bot-interfaces","status":"publish","type":"post","link":"https:\/\/telegram.im\/blog\/bot-interfaces\/","title":{"rendered":"Bot Interfaces."},"content":{"rendered":"<p><img style=\"display:none\" src=\"https:\/\/telegram.im\/blog\/wp-content\/uploads\/2022\/05\/BotInterfaces332.jpg\"><htmlvideo style=\"display:none\" src=\"https:\/\/telegram.im\/blog\/wp-content\/uploads\/2022\/05\/BotInterfaces332.mp4\"><div style=\"width: 640px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-1504-1\" width=\"640\" height=\"360\" loop=\"1\" autoplay=\"1\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/telegram.im\/blog\/wp-content\/uploads\/2022\/05\/BotInterfaces332.mp4?_=1\" \/><a href=\"https:\/\/telegram.im\/blog\/wp-content\/uploads\/2022\/05\/BotInterfaces332.mp4\">https:\/\/telegram.im\/blog\/wp-content\/uploads\/2022\/05\/BotInterfaces332.mp4<\/a><\/video><\/div><b>Bot Interfaces.<\/b> Developers can create infinitely flexible interfaces for <a href=\"https:\/\/telegram.im\/blog\/bots-perform-tasks-and-access-services-built-on-telegram\/\" target=\"_blank\" rel=\"noopener\">bots<\/a> using <b>JavaScript<\/b>.<\/p>\n<p>With these, bots can <b>replace any website<\/b> \u2013&nbsp;like online stores, games and services.<\/p>\n<p>Interface elements can <b>update in real time<\/b>, changing to match a <a href=\"https:\/\/telegram.im\/blog\/global-themes\/\" target=\"_blank\" rel=\"noopener\">user\u2019s theme<\/a> or <a href=\"https:\/\/telegram.im\/blog\/auto-night-mode\/\" target=\"_blank\" rel=\"noopener\">night mode<\/a>. Check out <a href=\"https:\/\/t.me\/DurgerKingBot\" target=\"_blank\">@DurgerKingBot<\/a> to see them in action.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bot Interfaces. Developers can create infinitely flexible interfaces for bots using JavaScript. With these, bots can replace any website \u2013&nbsp;like online stores, games and services. Interface elements can update in real time, changing to match a user\u2019s theme or night mode. Check out @DurgerKingBot to see them in action.<\/p>\n","protected":false},"author":1,"featured_media":1505,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/posts\/1504"}],"collection":[{"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/comments?post=1504"}],"version-history":[{"count":0,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/posts\/1504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/media\/1505"}],"wp:attachment":[{"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/media?parent=1504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/categories?post=1504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/telegram.im\/blog\/wp-json\/wp\/v2\/tags?post=1504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}