{"id":41315,"date":"2020-02-10T12:09:34","date_gmt":"2020-02-10T09:09:34","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/stroim-telegram-bot-v-yandeks-oblake"},"modified":"2020-02-10T12:09:34","modified_gmt":"2020-02-10T09:09:34","slug":"stroim-telegram-bot-v-yandeks-oblake","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/stroim-telegram-bot-v-yandeks-oblake","title":{"rendered":"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/4a758744e4fc6bc797d270fa1bc42ef3.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nSot n\u00eb materialet e p\u00ebrditshme ne do t\u00eb mbledhim n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/\"><i>Yandex.Cloud<\/i><\/a><\/noindex> <i>Telegram-bot<\/i> duke p\u00ebrdorur <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/services\/functions\"><i>Yandex Cloud Functions<\/i><\/a><\/noindex> (ose <i>Yandex Functions<\/i> \u2014 p\u00ebr shkak t\u00eb shkurtimit) dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/services\/storage\"><i>Yandex Object Storage<\/i><\/a><\/noindex> (ose <i>Kishte objekt<\/i> \u2014 p\u00ebr qart\u00ebsi). Kodi do t\u00eb jet\u00eb n\u00eb <i>Node.js<\/i>. Megjithat\u00eb, ka nj\u00eb rrethan\u00eb t\u00eb ve\u00e7ant\u00eb \u2014 nj\u00eb organizat\u00eb q\u00eb quhet, le t'i themi k\u00ebshtu, <i>Roskomnadzor<\/i> (censura \u00ebsht\u00eb e ndaluar nga neni 29 i Kushtetut\u00ebs s\u00eb Federat\u00ebs Ruse), nuk lejon ofruesit e internetit n\u00eb Rusi t\u00eb d\u00ebrgojn\u00eb k\u00ebrkesa n\u00eb <i>Telegram API<\/i> n\u00eb adres\u00ebn: <code>https:\/\/api.telegram.org\/<\/code>. Por ne nuk do ta b\u00ebjm\u00eb \u2014 nuk ka, nuk ka. Sepse n\u00eb valixhen ton\u00eb kemi ashtuquajturat <i>webhooks<\/i> \u2014 me ndihm\u00ebn e tyre ne nuk d\u00ebrgojm\u00eb k\u00ebrkesa n\u00eb nj\u00eb adres\u00eb t\u00eb caktuar, por thjesht d\u00ebrgojm\u00eb k\u00ebrkesat tona si p\u00ebrgjigje n\u00eb \u00e7do k\u00ebrkes\u00eb ndaj nesh. Do thot\u00eb, si n\u00eb Odesa \u2014 p\u00ebrgjigjemi me nj\u00eb pyetje p\u00ebr nj\u00eb pyetje. Prandaj <i>Telegram API<\/i> n\u00eb kodin ton\u00eb nuk do t\u00eb figuroj\u00eb.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n<b class=\"spoiler_title\">K\u00ebrc\u00ebnimi<\/b><i>Emrat e p\u00ebrmendur n\u00eb k\u00ebt\u00eb artikull p\u00ebr ndonj\u00eb agjenci shtet\u00ebrore jan\u00eb imagjinar\u00eb, dhe \u00e7do ngjashm\u00ebri me emrat e organizatave reale \u00ebsht\u00eb rast\u00ebsore. <\/i> <\/p>\n<p>Pra, ne do t\u00eb krijojm\u00eb nj\u00eb bot q\u00eb do t\u00eb na furnizoj\u00eb me mendime t\u00eb zgjuara. Sakt\u00ebsisht si n\u00eb imazhin:<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/SmartThoughtsBot\"><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/6b7aca248999621a20f8a0ec29e75c75.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/p>\n<p>Mund ta provoni at\u00eb n\u00eb veprim \u2014 ja emri: <b><i>@SmartThoughtsBot<\/i><\/b>. A keni v\u00ebn\u00eb re butonin <i>\u00abAft\u00ebsia e Alis\u00ebs\u00bb<\/i>? \u042d\u0442\u043e \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0431\u043e\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u043c \u00ab\u043a\u043e\u043c\u043f\u0430\u043d\u044c\u043e\u043d\u043e\u043c\u00bb \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0438\u043c\u0435\u043d\u043d\u043e\u0433\u043e <i>aft\u00ebsia e Alis\u00ebs<\/i>, dmth, ajo kryen t\u00eb nj\u00ebjtat funksione si <i>aft\u00ebsia e Alis\u00ebs<\/i> dhe, ndoshta, ato do t\u00eb mund t\u00eb ekzistojn\u00eb paq\u00ebsisht duke e promovuar nj\u00ebra-tjetr\u00ebn. P\u00ebr se si t\u00eb krijoni <i>aft\u00ebsin\u00eb Mendime t\u00eb Zgjuara<\/i> \u00ebsht\u00eb treguar n\u00eb artikullin <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/465275\/\"><b><i>Alisa merr aft\u00ebsin\u00eb<\/i><\/b><\/a><\/noindex>. Tani (pas disa ndryshimeve t\u00eb b\u00ebra pas publikimit t\u00eb artikullit t\u00eb lartp\u00ebrmendur) n\u00eb smartphone ky <i>aft\u00ebsi<\/i> do t\u00eb duket p\u00ebraf\u00ebrsisht k\u00ebshtu:<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/alice.ya.ru\/s\/f785af07-4578-4a6b-95ae-485bd803ae20\"><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/e92c340f8d947ba9252e0fcab0511ce6.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/p>\n<h2>Krijimi i botos<\/h2>\n<p>\nDo doja q\u00eb ky tutorial t\u00eb ishte i dobish\u00ebm p\u00ebr t\u00eb gjith\u00eb, p\u00ebrfshir\u00eb edhe fillestar\u00ebt \"nd\u00ebrtues t\u00eb botos\". Prandaj, n\u00eb k\u00ebt\u00eb pjes\u00eb, do ta p\u00ebrshkruaj si\u00e7 duhet se si t\u00eb krijoni n\u00eb <i>Telegram<\/i>'e botos. P\u00ebr ata q\u00eb nuk kan\u00eb nevoj\u00eb p\u00ebr k\u00ebt\u00eb informacion \u2014 kaloni n\u00eb pjes\u00ebt e tjera. <\/p>\n<p>Hap aplikacionin <i>Telegaram<\/i>, th\u00ebrrasim baban\u00eb e t\u00eb gjitha botos (ata kan\u00eb gjith\u00e7ka si njer\u00ebzit) \u2014 <b><i>@BotFather<\/i><\/b> \u2014 dhe p\u00ebr fillim i japim atij komand\u00ebn \/help, p\u00ebr t\u00eb freskuar kujtes\u00ebn ton\u00eb p\u00ebr at\u00eb q\u00eb mund t\u00eb b\u00ebjm\u00eb. Tani do t\u00eb na interesoj\u00eb komanda <i>\/newbot<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/12a0e84dd712e0c74dee0463f1b44e74.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDuke pasur parasysh se boti q\u00eb po p\u00ebrshkruhet k\u00ebtu \u00ebsht\u00eb tashm\u00eb krijuar, p\u00ebr q\u00ebllime demonstrative do t\u00eb krijoj p\u00ebr nj\u00eb koh\u00eb t\u00eb shkurt\u00ebr nj\u00eb botos tjet\u00ebr (pastaj do ta fshij). Do ta quaj <i>DemoHabrBot<\/i>. Emrat (<i>username<\/i>) e t\u00eb gjith\u00eb botos t\u00eb Telegram duhet t\u00eb p\u00ebrfundojn\u00eb me fjal\u00ebn <i>bot<\/i>, p\u00ebr shembull: <i>MyCoolBot<\/i> \u0438\u043b\u0438 <i>my_cool_bot<\/i> \u2014 kjo \u00ebsht\u00eb p\u00ebr robot\u00ebt. Por fillimisht i japim robotit nj\u00eb em\u00ebr (<i>emri<\/i>) \u2014 dhe kjo \u00ebsht\u00eb p\u00ebr njer\u00ebzit. Emri mund t\u00eb jet\u00eb n\u00eb \u00e7do gjuh\u00eb, t\u00eb p\u00ebrmbaj\u00eb hap\u00ebsira, nuk \u00ebsht\u00eb e nevojshme t\u00eb p\u00ebrfundoj\u00eb me fjal\u00ebn <i>bot<\/i>, dhe as nuk \u00ebsht\u00eb e nevojshme t\u00eb jet\u00eb unik. N\u00eb k\u00ebt\u00eb shembull e kam quajtur k\u00ebt\u00eb robot <i>Demo Habr<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/682ecf64724cabcfef96639d6de87521.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani zgjedhim nj\u00eb em\u00ebr p\u00ebr robotin (<i>username<\/i>, ai q\u00eb \u00ebsht\u00eb p\u00ebr robot\u00ebt). Le t'i japim emrin <i>DemoHabrBot<\/i>. \u00c7far\u00ebdo q\u00eb ka t\u00eb b\u00ebj\u00eb me emrin e robotit (<i>emri<\/i>) nuk ka t\u00eb b\u00ebj\u00eb fare me emrin e tij \u2014 <i>username<\/i> (ose lidhet, por me precizitetin n\u00eb t\u00eb kund\u00ebrt). Pas krijimit t\u00eb suksessh\u00ebm t\u00eb nj\u00eb emri unik p\u00ebr robotin, na nevojitet t\u00eb kopjojm\u00eb dhe ruajm\u00eb (me shum\u00eb sekret!) token, e cila \u00ebsht\u00eb treguar n\u00eb ekran me shigjet\u00ebn e kuqe. Me ndihm\u00ebn e saj do t\u00eb vendosim n\u00eb nj\u00eb moment <i>Telegram<\/i>&#8216; nj\u00eb webhooks n\u00eb <i>funksionin Yandex<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/78254946c9f763d212a1952bac6c706f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani do t'i japim komand\u00ebn atij q\u00eb \u00ebsht\u00eb babai i t\u00eb gjith\u00eb robot\u00ebve: <i>\/mybots<\/i>, dhe ai do t\u00eb na tregoj\u00eb list\u00ebn e t\u00eb gjith\u00eb robot\u00ebve q\u00eb kemi krijuar. Le ta l\u00ebm\u00eb p\u00ebr momentin robotin e ri t\u00eb sapo krijuar <i>Demo Habr<\/i> (ai u krijua p\u00ebr t\u00eb treguar se si krijohen robot\u00ebt, por ne do ta p\u00ebrdorim sot edhe p\u00ebr q\u00ebllime t\u00eb tjera demonstruese), dhe t\u00eb shqyrtojm\u00eb robotin <i>Mendime t\u00eb Men\u00e7ura<\/i> (<i>@SmartThoughtsBot<\/i>). Klikoni n\u00eb list\u00ebn e robot\u00ebve butonin me emrin e tij.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/98434725cb0d7441ec5f2552b0b508a8.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nK\u00ebtu mund t\u00eb konfigurojm\u00eb robotin ton\u00eb. Duke klikuar butonin <i>Edit&#8230;<\/i> ne do t\u00eb kalojm\u00eb n\u00eb redaktimin e nj\u00ebrit ose tjetrit opsion. P\u00ebr shembull, duke klikuar butonin <i>Edit Name<\/i> mund t\u00eb ndryshojm\u00eb emrin e robotit, le t\u00eb themi n\u00eb vend t\u00eb <i>Mendime t\u00eb Men\u00e7ura<\/i>, t\u00eb shkruajm\u00eb <i>Ide Absurde<\/i>. <i>Botpic<\/i> \u2014 ky \u00ebsht\u00eb avatari i robotit, duhet t\u00eb jet\u00eb t\u00eb pakt\u00ebn <i>150 x 150 px<\/i>. <i>P\u00ebrshkrimi<\/i> \u2014 ky \u00ebsht\u00eb nj\u00eb p\u00ebrshkrim i shkurt\u00ebr, q\u00eb p\u00ebrdoruesi e sheh gjat\u00eb fillimit t\u00eb par\u00eb t\u00eb robotit, si p\u00ebrgjigje ndaj pyetjes: <i>\u00c7far\u00eb mund t\u00eb b\u00ebj\u00eb ky robot?<\/i> <i>Rreth<\/i> \u2014 nj\u00eb p\u00ebrshkrim edhe m\u00eb t\u00eb shkurt\u00ebr, i cili d\u00ebrgohet me nj\u00eb lidhje n\u00eb robot (<code>https:\/\/t.me\/SmartThoughtsBot<\/code>) ose kur shikohet informacioni mbi t\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/f15ba92be1bfea827273f79616bd2a3a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nNe vet\u00ebm sa mbetemi t\u00eb konfigurojm\u00eb komandat. P\u00ebr k\u00ebt\u00eb klikoni butonin <i>Edit Commands<\/i>. P\u00ebr standardizimin e praktik\u00ebs p\u00ebrdoruese <i>Telegram<\/i> k\u00ebshillon gjithmon\u00eb p\u00ebrdorimin e dy komandave: <i>\/start<\/i> dhe <i>\/help<\/i>, dhe n\u00ebse robotit i nevojiten cil\u00ebsime \u2014 nj\u00eb komand\u00eb shtes\u00eb \/settings. Robotin ton\u00eb \u00ebsht\u00eb i thjesht\u00eb si nj\u00eb top, prandaj p\u00ebr momentin nuk i nevojiten cil\u00ebsime. Ne shkruajm\u00eb dy komandat e para, t\u00eb cilat m\u00eb pas do t'i p\u00ebrpunojm\u00eb n\u00eb kod. Tani, n\u00ebse p\u00ebrdoruesi shkruan n\u00eb fush\u00ebn e inputit nj\u00eb slash (shenj\u00eb e thyer: \/), do t\u00eb shfaqet lista e komandave p\u00ebr seleksion t\u00eb shpejt\u00eb. E gjith\u00eb kjo si n\u00eb imazhin: majtas \u2014 vendosim komandat p\u00ebrmes robotit-bab\u00eb; djathtas k\u00ebto komanda tashm\u00eb jan\u00eb t\u00eb disponueshme p\u00ebr p\u00ebrdoruesit n\u00eb robotin ton\u00eb.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/b536b5fe7b8aad3d68877a7693ea0e6f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>funksionin Yandex<\/h2>\n<p>\nTani, kur robotin ton\u00eb \u00ebsht\u00eb krijuar, kalojm\u00eb te <i>Yandex.Cloud<\/i>, p\u00ebr t\u00eb krijuar nj\u00eb funksion q\u00eb do t\u00eb ekzekutoj\u00eb kodin e botit ton\u00eb. N\u00ebse nuk keni punuar m\u00eb par\u00eb me <i>Yandex.Cloud<\/i> , lexoni materialin <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/464739\/\"><b><i>Alisa n\u00eb vendin e Bitrix<\/i><\/b><\/a><\/noindex>, dhe pastaj \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/440374\/\"><b><i>Yandex-funksionet d\u00ebrgojn\u00eb post\u00eb<\/i><\/b><\/a><\/noindex>. Jam pothuajse i sigurt se k\u00ebto dy artikuj relativisht t\u00eb shkurt\u00ebr do t'ju mjaftojn\u00eb p\u00ebr nj\u00eb kuptim baz\u00eb t\u00eb tem\u00ebs.<\/p>\n<p>Pra, n\u00eb konsol\u00ebn <i>Yandex.Cloud<\/i> n\u00eb menun\u00eb e navigimit t\u00eb majt\u00eb, zgjidhni pik\u00ebn <i>Cloud Functions<\/i>, dhe pastaj klikoni butonin <i>Krijo funksion<\/i>. I japim em\u00ebr, dhe p\u00ebr vete \u2014 nj\u00eb p\u00ebrshkrim t\u00eb shkurt\u00ebr.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/67f313c60481c5ef84af8a28b4934621.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPas klikimit t\u00eb butonit <i>Krijo<\/i> dhe pas disa sekondash, funksioni i ri do t\u00eb shfaqet n\u00eb list\u00ebn e t\u00eb gjitha funksioneve. Klikoni mbi emrin e tij \u2014 kjo do t\u00eb na \u00e7oj\u00eb n\u00eb faqen <i>P\u00ebrmbledhje<\/i> e funksionit ton\u00eb. K\u00ebtu duhet t\u00eb aktivizojm\u00eb (<i>On<\/i>) kalimin <i>Funksion publik<\/i>, n\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb b\u00ebhet e disponueshme nga bota e jashtme (p\u00ebr <i>Yandex.Cloud<\/i>) , dhe vlera e fushave <i>Linku p\u00ebr thirrje<\/i> dhe <i>Identifikuesi<\/i> \u2014 mbani n\u00eb nj\u00eb sekret t\u00eb thell\u00eb nga t\u00eb gjith\u00eb p\u00ebrve\u00e7 vetes dhe Telegram-it, n\u00eb m\u00ebnyr\u00eb q\u00eb funksioni juaj t\u00eb mos mund t\u00eb thirret nga t\u00eb ndrysh\u00ebm mashtrues.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/3ba45d357965d567ba33ab0ee65d2eb4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani me ndihm\u00ebn e menus\u00eb s\u00eb majt\u00eb kalojm\u00eb n\u00eb <i>Redaktorin<\/i> e funksionit. Le t\u00eb shtyjm\u00eb p\u00ebr pak koh\u00eb an\u00ebtar\u00ebt tan\u00eb dhe t\u00eb krijojm\u00eb nj\u00eb funksion minimal-shembull p\u00ebr t\u00eb provuar funksionalitetin e botit ton\u00eb\u2026 N\u00eb fakt, n\u00eb k\u00ebt\u00eb kontekst ky funksion \u00ebsht\u00eb bot-i yn\u00eb\u2026 N\u00eb shkurt, tani dhe k\u00ebtu do t\u00eb krijojm\u00eb nj\u00eb bot t\u00eb thjesht\u00eb, i cili do t\u00eb \"reflektoj\u00eb\" (dmth. d\u00ebrgoj\u00eb prapa) k\u00ebrkesat e p\u00ebrdoruesve. Ky shembull mund t\u00eb p\u00ebrdoret gjithmon\u00eb kur krijoni bota t\u00eb reja telegrami, p\u00ebr t\u00eb siguruar q\u00eb lidhja me <i>Mendime t\u00eb Men\u00e7ura<\/i>Telegramin <i>funksionon normalisht. Klikoni<\/i>Krijo skedarin <i>, e quajm\u00eb at\u00eb<\/i>, dhe n\u00eb redaktorin online <i>index.js<\/i>e kodit <i>ngjeni k\u00ebt\u00eb kod n\u00eb skedarin:<\/i> module.exports.bot = async (event) =&gt; {\n  \n  const body = JSON.parse(event.body);\n\n  const msg = {\n    'method': 'sendMessage',\n    'chat_id': body.message.chat.id,\n    'text': body.message.text\n  };\n\n  return {\n    'statusCode': 200,\n    'headers': {\n      'Content-Type': 'application\/json'\n    },\n    'body': JSON.stringify(msg),\n    'isBase64Encoded': false\n  };\n};<\/p>\n<pre><code class=\"javascript\">N\u00eb konsol\u00ebn Yandex.Cloud kjo do t\u00eb duket pak a shum\u00eb k\u00ebshtu:\n<\/code><\/pre>\n<p>\nPastaj pak m\u00eb posht\u00eb jepni<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/f0204be84468c9ae7ec1b9e4ca0dfdd9.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPika e hyrjes <i>index.bot<\/i> \u2014 <i>, ku<\/i>index <i>\u00ebsht\u00eb emri i skedarit (<\/i> ), dhe<i>index.js<\/i>\u2014 emri i funksionit ( <i>bot<\/i> module.exports.bot<i>). T\u00eb gjitha fushat e tjera l\u00ebna \"si\u00e7 jan\u00eb\", dhe n\u00eb k\u00ebndin e djatht\u00eb t\u00eb sip\u00ebrm klikoni butonin<\/i>Krijo versionin <i>. Pas disa sekondash ky version funksioni do t\u00eb krijohet. S\u00eb shpejti, pas testimit<\/i>t\u00eb webhooks <i>, ne do t\u00eb krijojm\u00eb nj\u00eb version t\u00eb ri \u2014<\/i>, ne do t\u00eb krijojm\u00eb nj\u00eb version t\u00eb ri \u2014 <i>Mendime t\u00eb Men\u00e7ura<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/48cd898f83bdc29d124600828bf2143f.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h2>Kishte objekt<\/h2>\n<p>\nTani tani q\u00eb kemi krijuar <i>funksionin Yandex<\/i>, le t\u00eb vazhdojm\u00eb, nd\u00ebrsa jemi n\u00eb konsol\u00eb <i>Yandex.Cloud<\/i>, t\u00eb krijojm\u00eb nj\u00eb \"bucket\" (<i>bucket<\/i>, dmth. nj\u00eb kov\u00eb n\u00eb rusisht, jo nj\u00eb buket\u00eb) p\u00ebr ruajtjen e skedar\u00ebve t\u00eb imazheve q\u00eb do t\u00eb p\u00ebrdoren n\u00eb botin ton\u00eb <i>Mendime t\u00eb Men\u00e7ura<\/i>. N\u00eb menun\u00eb e navigimit t\u00eb majt\u00eb, zgjidhni opsionin <i>Object Storage<\/i>, klikoni butonin <i>Krijo nj\u00eb bucket<\/i>, imagjinoni nj\u00eb em\u00ebr p\u00ebr t\u00eb, p\u00ebr shembull, <i>img-bucket<\/i>, dhe, s\u00eb fundi, <i>T\u00eb drejt\u00ebn p\u00ebr t\u00eb lexuar objektet<\/i> ta b\u00ebjm\u00eb publik \u2014 p\u00ebrndryshe Telegrami nuk do t'i shoh\u00eb imazhet tona. T\u00eb gjitha fushat e tjera l\u00ebreni pa ndryshime. Klikoni butonin <i>Krijo nj\u00eb bucket<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/c890a42f7d043e03300434b2c4a0258b.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPas k\u00ebsaj, lista e t\u00eb gjith\u00eb bucketeve mund t\u00eb duken k\u00ebshtu (n\u00ebse ky \u00ebsht\u00eb bucket juaj i vet\u00ebm):<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/34701231536742a7889b200ff49b08b1.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani propozoj t\u00eb klikoni mbi emrin e bucket-it, dhe brenda tij t\u00eb krijoni nj\u00eb dosje, p\u00ebr t\u00eb organizuar ruajtjen e imazheve p\u00ebr aplikacione t\u00eb ndryshme. P\u00ebr shembull, p\u00ebr bot\u00ebn e Telegram-it <i>Mendime t\u00eb Men\u00e7ura<\/i> kam krijuar nj\u00eb dosje me emrin <i>tg-bot-smart-thoughts<\/i> (nuk ka problem, do e kuptoj k\u00ebt\u00eb kod). Krijoni dhe ju ndonj\u00eb dosje.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/c5707b5ba54fea5b548d62e097328650.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani mund t\u00eb klikoni mbi emrin e dosjes, t\u00eb hyni brenda saj dhe t\u00eb ngarkoni skedar\u00eb:<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/ead320e587e1d161e2cd54a94b4ea0d4.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nDhe duke klikuar mbi emrin e skedarit \u2014 ta merrni at\u00eb <i>URL<\/i> p\u00ebr p\u00ebrdorim n\u00eb botin ton\u00eb, dhe n\u00eb t\u00ebr\u00ebsi \u2014 kudo (por, mos e publikoni k\u00ebt\u00eb <i>URL<\/i> pa nevoj\u00eb, pasi trafiku nga <i>Object Storage<\/i> taksiohet).<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/07a833430b0584161423f363f6685306.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nKjo \u00ebsht\u00eb, pra, gjith\u00e7ka n\u00eb lidhje me <i>Object Storage<\/i>. Tani do ta dini se \u00e7far\u00eb duhet t\u00eb b\u00ebni kur t\u00eb shihni thirrjen p\u00ebr t\u00eb ngarkuar skedar\u00eb atje.<\/p>\n<h2>Webhook<\/h2>\n<p>\nTani do t\u00eb vendosim <i>webhook<\/i> \u2014 dmth. kur boti merr nj\u00eb p\u00ebrdit\u00ebsim (p.sh. nj\u00eb mesazh nga nj\u00eb p\u00ebrdorues), nga serveri <i>Telegram<\/i> do t\u00eb d\u00ebrgohet nj\u00eb k\u00ebrkes\u00eb ( <i>funksionin Yandex<\/i> request<i>) me t\u00eb dh\u00ebna. Ja linja q\u00eb mund ta kopjoni thjesht n\u00eb fush\u00ebn e adres\u00ebs s\u00eb shfletuesit, dhe pastaj t\u00eb rifreskoni faqen (kjo duhet b\u00ebr\u00eb vet\u00ebm nj\u00eb her\u00eb):<\/i>Thjesht z\u00ebvend\u00ebsojme <code>https:\/\/api.telegram.org\/bot{bot_token}\/setWebHook?url={webhook_url}<\/code><br \/>\n{bot_token} <i>me token-in q\u00eb kemi marr\u00eb nga boti-n\u00eb-ati gjat\u00eb krijimit t\u00eb botit ton\u00eb, nd\u00ebrsa<\/i> {webhook_url} <i>\u2014 me<\/i> tonin <i>URL<\/i> . Nj\u00eb minut\u00eb! Por, a nuk <i>Yandex Functions<\/i>ndalon ofruesit n\u00eb RF t\u00eb sh\u00ebrbejn\u00eb adres\u00ebn <i>Roskomnadzor<\/i> . Po, e sakt\u00eb. Por, duhet t\u00eb mendoni di\u00e7ka. N\u00eb t\u00eb v\u00ebrtet\u00eb, mund t\u00eb k\u00ebrkoni nga gjyshja juaj n\u00eb Ukrain\u00eb, Izrael ose Kanada \u2014 atje nuk ka \"censur\u00eb ruse\", dhe vet\u00ebm Per\u00ebndia e di se si jetojn\u00eb njer\u00ebzit pa t\u00eb. N\u00eb fund, k\u00ebrkesa-p\u00ebrgjigje gjat\u00eb vendosjes s\u00eb webhook-ut duhet t\u00eb duket k\u00ebshtu: <code>https:\/\/api.telegram.org<\/code>Po testojm\u00eb. Duhet t\u00eb \"reflektoj\u00eb\".<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/713834a1665520d3e471cd3d1831ac06.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nAshtu \u00ebsht\u00eb. Urime \u2014 tani<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/3ab0e97f9b0ca06295fe7f5f793aab2c.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nu b\u00eb <i>funksionin Yandex<\/i> -bot! <i>Telegram<\/i>Tani le t\u00eb b\u00ebjm\u00eb Mendime t\u00eb Men\u00e7ura. Kodi \u00ebsht\u00eb hapur dhe ndodhet n\u00eb<\/p>\n<h2>Mendime t\u00eb Men\u00e7ura<\/h2>\n<p>\n. Ai \u00ebsht\u00eb mjaft i komentuar, dhe ka gjithsej nj\u00ebqind rreshta. Lexojeni si nj\u00eb diva operiste libretin! <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/stmike\/tg-bot-smart-thoughts\"><b><i>GitHub<\/i><\/b><\/a><\/noindex>. Ai \u00ebsht\u00eb komentuar mjaft mir\u00eb dhe ka vet\u00ebm nj\u00ebqind rreshta. Lexojeni si nj\u00eb libretto operistik! <\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/2ad0e96a2169d0859ccec836f151d3ea.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nKlononi projektin dhe instaloni var\u00ebsit\u00eb:<\/p>\n<pre><code class=\"plaintext\">git clone https:\/\/github.com\/stmike\/tg-bot-smart-thoughts.git\ncd tg-bot-smart-thoughts\nnpm i\n<\/code><\/pre>\n<p>\nB\u00ebni ndryshimet e nevojshme n\u00eb skedarin <i>index.js<\/i> (opcionale; mund t\u00eb mos ndryshoni asgj\u00eb). Krijoni <i>zip<\/i>-arkivin, me skedarin <i>index.js<\/i> dhe dosjen <i>node_modules<\/i> brenda, p\u00ebr shembull, me emrin <i>smart.zip<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/c8c97707515338a01f8b8ed7f743c4a5.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nTani kaloni n\u00eb konsol\u00ebn ton\u00eb, <i>Yandex Functions<\/i>, zgjidhni skedarin <i>ZIP-arkiv<\/i>, klikoni butonin <i>Zgjidh skedarin<\/i>, dhe ngarkoni arkivin ton\u00eb <i>smart.zip<\/i>. N\u00eb fund, n\u00eb qoshen e sip\u00ebrme t\u00eb djatht\u00eb klikoni butonin <i>. Pas disa sekondash ky version funksioni do t\u00eb krijohet. S\u00eb shpejti, pas testimit<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/96634c132848278ecc00a509e61b13f0.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nPas disa sekondash, kur funksioni t\u00eb rinovohet, ta testojm\u00eb s\u00ebrish botin ton\u00eb. Tani ai nuk \"reflekton\", por sjell mendime t\u00eb men\u00e7ura!<\/p>\n<p><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/0c683826b5ef2bdbbd0253de4691900a.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nKjo \u00ebsht\u00eb e gjitha p\u00ebr sot. Artikuj t\u00eb tjer\u00eb do t'i ndjekin. Kush do q\u00eb \u00ebsht\u00eb i interesuar t\u00eb lexoj\u00eb di\u00e7ka t\u00eb till\u00eb - abonohuni p\u00ebr njoftimet mbi artikujt e rinj. Mund t\u00eb abonoheni k\u00ebtu, ose n\u00eb <i>Telegram<\/i>-kanalin <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/it_tutorial_zahar\"><i>IT Tutorial Zahari<\/i><\/a><\/noindex>, ose <i>Twitter<\/i> <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/mikezaharov\"><i>@mikezaharov<\/i><\/a><\/noindex>.<\/p>\n<h2>Linket<\/h2>\n<p>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/stmike\/tg-bot-smart-thoughts\"><b><i>Kodi n\u00eb GitHub<\/i><\/b><\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/functions\/\"><b><i>Yandex Cloud Functions<\/i><\/b><\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/storage\/\"><b><i>Yandex Object Storage<\/i><\/b><\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/core.telegram.org\/bots\"><b><i>Bots: Nj\u00eb prezantim p\u00ebr zhvilluesit<\/i><\/b><\/a><\/noindex><br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/core.telegram.org\/bots\/api\"><b><i>Telegram Bot API<\/i><\/b><\/a><\/noindex><\/p>\n<h2>Donatat<\/h2>\n<p>\n<noindex><a rel=\"nofollow\" href=\"http:\/\/yasobe.ru\/na\/vui\"><img decoding=\"async\" alt=\"Krijojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex Cloud\" src=\"\/wp-content\/uploads\/2020\/02\/250f8765713080fcbbdaf56c04dc882f.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/486876\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u043c\u044b \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u0432 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0435 Telegram-\u0431\u043e\u0442 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Yandex Cloud Functions (\u0438\u043b\u0438 \u042f\u043d\u0434\u0435\u043a\u0441-\u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u2014 \u0434\u043b\u044f \u043a\u0440\u0430\u0442\u043a\u043e\u0441\u0442\u0438) \u0438 Yandex Object Storage (\u0438\u043b\u0438 \u041e\u0431\u044a\u0435\u043a\u0442\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u2014 \u0434\u043b\u044f \u044f\u0441\u043d\u043e\u0441\u0442\u0438). \u041a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430 Node.js. \u041e\u0434\u043d\u0430\u043a\u043e, \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e \u043f\u0438\u043a\u0430\u043d\u0442\u043d\u043e\u0435 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u043e \u2014 \u043d\u0435\u043a\u0430\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c, \u0441\u043a\u0430\u0436\u0435\u043c \u0442\u0430\u043a, \u0420\u043e\u0441\u0441\u041a\u043e\u043c\u0426\u0435\u043d\u0437\u0443\u0440 (\u0446\u0435\u043d\u0437\u0443\u0440\u0430 \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d\u0430 \u0441\u0442\u0430\u0442\u044c\u0451\u0439 29 \u041a\u043e\u043d\u0441\u0442\u0438\u0442\u0443\u0446\u0438\u0438 \u0420\u0424), \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043c [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":41316,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-41315","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u043c\u044b \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/stroim-telegram-bot-v-yandeks-oblake\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0421\u0442\u0440\u043e\u0438\u043c Telegram-\u0431\u043e\u0442 \u0432 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0435 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u043c\u044b \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/stroim-telegram-bot-v-yandeks-oblake\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-10T09:09:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-10T09:09:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Nd\u00ebrtojm\u00eb nj\u00eb Telegram-bot n\u00eb Yandex.Cloud | ProHoster","description":"Sot m\u00eb shum\u00eb, nga materialet e thjeshta, ne do t\u00eb krijojm\u00eb n\u00eb.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/stroim-telegram-bot-v-yandeks-oblake","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0421\u0442\u0440\u043e\u0438\u043c Telegram-\u0431\u043e\u0442 \u0432 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0435 | ProHoster","og:description":"\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438\u0437 \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u043c\u044b \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u0432.","og:url":"https:\/\/prohoster.info\/sq\/blog\/stroim-telegram-bot-v-yandeks-oblake","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-10T09:09:34+00:00","article:modified_time":"2020-02-10T09:09:34+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"41315","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:19:25","updated":"2022-09-29 21:53:55","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/41315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=41315"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/41315\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media\/41316"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=41315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=41315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=41315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}