{"id":307,"date":"2026-11-30T13:09:46","date_gmt":"2026-11-30T12:09:46","guid":{"rendered":"https:\/\/thibaut-routhe.fr\/?p=307"},"modified":"2026-11-30T13:15:12","modified_gmt":"2026-11-30T12:15:12","slug":"chatbot-api-telegram","status":"publish","type":"post","link":"https:\/\/thibaut-routhe.fr\/index.php\/2026\/11\/30\/chatbot-api-telegram\/","title":{"rendered":"Chatbot Api Telegram"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"307\" class=\"elementor elementor-307\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e6cfed6 e-flex e-con-boxed e-con e-parent\" data-id=\"e6cfed6\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-22ceb09 elementor-widget elementor-widget-image\" data-id=\"22ceb09\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/thibaut-routhe.fr\/wp-content\/uploads\/elementor\/thumbs\/Miniature-rx45trcy05wbodlumq0qj8y59ofcu2m0i5m3f1czdk.png\" title=\"Miniature\" alt=\"Miniature\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d8bfd3 elementor-widget elementor-widget-text-editor\" data-id=\"2d8bfd3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Mini projet scolaire d&rsquo;int\u00e9rop\u00e9rabilit\u00e9 et utilisation d&rsquo;api.<\/p>\n<p>L&rsquo;objectif est la r\u00e9alisation d&rsquo;un Chatbot Telegram d&rsquo;assistance personnelle. Le char bot doit exposer une API avec les fonctionnalit\u00e9s suivantes :<\/p>\n<ul>\n<li>Envoyer un message sur une conversation Telegram;<\/li>\n<li>Envoyer des informations m\u00e9t\u00e9o<\/li>\n<li>Envoyer une blague au hasard parmi une liste<\/li>\n<\/ul>\n<p>Le chatbot fonctionne sous un syst\u00e8me d&rsquo;arbre de d\u00e9cisions. En fonction des mots dans le message de l&rsquo;utilisateur.<\/p>\n<ul>\n<li>Si le message de l&rsquo;utilisateur contient le mot \u00ab\u00a0m\u00e9t\u00e9o\u00a0\u00bb le chatbot revoit la m\u00e9t\u00e9o du jour en fonction du lieu mentionn\u00e9 dans le massage. Le message contient le temp qu&rsquo;il fait et la temp\u00e9rature.<\/li>\n<li>Si le message contient le mot \u00ab\u00a0blague\u00a0\u00bb le chatbot renvoie une blague s\u00e9lectionn\u00e9e au hasard dans une liste.<\/li>\n<\/ul>\n<p>Les informations de m\u00e9t\u00e9o sont r\u00e9cup\u00e9r\u00e9es avec l&rsquo;API OpenWeatherMap<\/p>\n<p>Le programme est r\u00e9alis\u00e9 avec Java Spring Boot<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-01c8a9c elementor-button-info elementor-align-left elementor-widget elementor-widget-button\" data-id=\"01c8a9c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/github.com\/ThibautRouthe\/chatbot-api-ensim\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Voir le code source sur Github<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Mini projet scolaire d&rsquo;int\u00e9rop\u00e9rabilit\u00e9 et utilisation d&rsquo;api. L&rsquo;objectif est la r\u00e9alisation d&rsquo;un Chatbot Telegram d&rsquo;assistance personnelle. Le char bot doit exposer une API avec les fonctionnalit\u00e9s suivantes : Envoyer un message sur une conversation Telegram; Envoyer des informations m\u00e9t\u00e9o Envoyer une blague au hasard parmi une liste Le chatbot fonctionne sous un syst\u00e8me d&rsquo;arbre de<\/p>\n<div class=\"more-link\">\n\t\t\t\t <a href=\"https:\/\/thibaut-routhe.fr\/index.php\/2026\/11\/30\/chatbot-api-telegram\/\" class=\"link-btn theme-btn\"><span>Read More <\/span> <i class=\"fa fa-caret-right\"><\/i><\/a>\n\t\t\t<\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":3,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/posts\/307\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thibaut-routhe.fr\/index.php\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}