{"id":2746,"date":"2019-10-24T10:15:57","date_gmt":"2019-10-24T15:15:57","guid":{"rendered":"https:\/\/www.mysmartbots.com\/blog\/?p=2746"},"modified":"2019-10-23T11:54:50","modified_gmt":"2019-10-23T16:54:50","slug":"new-http-api-group_info-and-avatar_info","status":"publish","type":"post","link":"https:\/\/www.mysmartbots.com\/blog\/2019\/10\/new-http-api-group_info-and-avatar_info\/","title":{"rendered":"New HTTP API: group_info and avatar_info"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignright size-full wp-image-2735\" src=\"https:\/\/www.mysmartbots.com\/blog\/wp-content\/smartbots\/2019\/10\/20191014-http-API-update.jpg\" alt=\"\" width=\"250\" height=\"200\" \/>The new functions has been added to SmartBots <a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\" target=\"_blank\" rel=\"noopener noreferrer\">HTTP API<\/a>\u00a0and <a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/Bot_Playground\" target=\"_blank\" rel=\"noopener noreferrer\">Bots Playground<\/a>:\u00a0<strong>group_info<\/strong> and <strong>avatar_info<\/strong>.<\/p>\n<p>The functions work in a similar way and return the\u00a0information about the specific group and avatar respectively.<\/p>\n<p>Check the related documentation pages:<\/p>\n<ul>\n<li>HTTP API: <a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/group_info\">group_info<\/a>, <a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/HTTP_API\/Bot_Commands\/avatar_info\">avatar_info<\/a><\/li>\n<li><a href=\"https:\/\/www.mysmartbots.com\/dev\/docs\/Bot_Playground\/Commands\">Bots Playgrounds commands page<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new functions has been added to SmartBots HTTP API\u00a0and Bots Playground:\u00a0group_info and avatar_info. The functions work in a similar way and return the\u00a0information about the specific group and avatar respectively. Check the related documentation pages: HTTP API: group_info, avatar_info Bots Playgrounds commands page &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[359,144,146],"tags":[529,530,263],"_links":{"self":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2746"}],"collection":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/comments?post=2746"}],"version-history":[{"count":1,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2746\/revisions"}],"predecessor-version":[{"id":2747,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/posts\/2746\/revisions\/2747"}],"wp:attachment":[{"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/media?parent=2746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/categories?post=2746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mysmartbots.com\/blog\/wp-json\/wp\/v2\/tags?post=2746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}