{"id":8537,"date":"2025-01-03T21:30:12","date_gmt":"2025-01-03T18:30:12","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/"},"modified":"2025-01-03T21:30:12","modified_gmt":"2025-01-03T18:30:12","slug":"nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/","title":{"rendered":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)"},"content":{"rendered":"<p><body><\/p>\n<p>NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)<\/p>\n<p>Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z.  Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131.  \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m.  Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.<\/p>\n<h2>Neden NodeJS, TypeScript, Telegraf ve Fastify?<\/h2>\n<p>Node.js,  non-blocking, event-driven mimarisiyle ger\u00e7ek zamanl\u0131 uygulamalar i\u00e7in m\u00fckemmel bir se\u00e7imdir.  Telegram botlar\u0131 da ger\u00e7ek zamanl\u0131 ileti\u015fim gerektirir.  TypeScript ise, kodumuzun daha g\u00fcvenilir ve bak\u0131m\u0131 kolay olmas\u0131n\u0131 sa\u011flar.  Tip g\u00fcvenli\u011fi sayesinde hata ay\u0131klama s\u00fcrecini kolayla\u015ft\u0131r\u0131r ve b\u00fcy\u00fck projelerde daha d\u00fczenli bir kod taban\u0131 olu\u015fturmam\u0131za yard\u0131mc\u0131 olur. Telegraf,  Telegram Bot API&#8217;si ile etkile\u015fim kurmay\u0131 kolayla\u015ft\u0131ran kullan\u0131m\u0131 olduk\u00e7a basit bir k\u00fct\u00fcphanedir. Son olarak, Fastify, performans ve h\u0131z odakl\u0131, minimalist bir Node.js web framework&#8217;\u00fcd\u00fcr.  Botumuzun isteklere h\u0131zl\u0131 bir \u015fekilde yan\u0131t vermesini sa\u011flar.<\/p>\n<h2>Kurulum ve \u0130lk Ad\u0131mlar<\/h2>\n<p>\u0130lk olarak, gerekli paketleri kurmam\u0131z gerekiyor.  Bunun i\u00e7in npm veya yarn kullanabilirsiniz.  A\u015fa\u011f\u0131daki komutu terminalinize yaz\u0131n:<\/p>\n<pre><code class=\"language-bash\">npm install --save telegraf fastify typescript @types\/node @types\/telegraf<\/code><\/pre>\n<p>Kurulumdan sonra,  yeni bir TypeScript dosyas\u0131 olu\u015fturun (\u00f6rne\u011fin, <code>index.ts<\/code>).  Bu dosyan\u0131n i\u00e7ine a\u015fa\u011f\u0131daki kodu ekleyin:<\/p>\n<pre><code class=\"language-typescript\">\nimport { Telegraf } from 'telegraf';\nimport fastify from 'fastify';\n\nconst bot = new Telegraf('YOUR_BOT_TOKEN'); \/\/YOUR_BOT_TOKEN yerine bot tokeninizi yaz\u0131n\n\nbot.start((ctx) => ctx.reply('Merhaba!'));\n\nbot.help((ctx) => ctx.reply('Yard\u0131m i\u00e7in \/start yaz\u0131n.'));\n\nconst app = fastify();\n\napp.get('\/', async (request, reply) => {\n  return reply.send('Bot \u00e7al\u0131\u015f\u0131yor!');\n});\n\nconst start = async () => {\n  try {\n    await app.listen({ port: 3000 });\n    console.log(Fastify server started on port 3000);\n    await bot.launch();\n    console.log('Bot \u00e7al\u0131\u015ft\u0131r\u0131ld\u0131');\n\n  } catch (err) {\n    console.error(err);\n    process.exit(1);\n  }\n};\n\nstart();\n\n<\/code><\/pre>\n<p>Bu kod,  botun ba\u015flat\u0131ld\u0131\u011f\u0131nda &#8220;Merhaba!&#8221; mesaj\u0131n\u0131 g\u00f6ndermesini ve &#8220;\/help&#8221; komutuna yan\u0131t vermesini sa\u011flar.  Ayr\u0131ca, Fastify sunucusunu 3000 numaral\u0131 portta ba\u015flat\u0131r.<\/p>\n<p>Bot tokeninizi <a href=\"https:\/\/my.telegram.org\">Telegram BotFather<\/a> dan alabilirsiniz. Daha sonra bu tokeni kodunuzda belirtilen yere yap\u0131\u015ft\u0131rman\u0131z gerekmektedir.<\/p>\n<h2>Sonu\u00e7<\/h2>\n<p>Bu ilk b\u00f6l\u00fcmde, temel kurulumu ve basit bir Telegram botu olu\u015fturmay\u0131 \u00f6\u011frendik.  Sonraki b\u00f6l\u00fcmlerde, daha geli\u015fmi\u015f \u00f6zellikler ekleyerek botumuzu daha da geli\u015ftirebiliriz.  \u00d6rne\u011fin, veri taban\u0131yla entegrasyon,  kullan\u0131c\u0131 y\u00f6netimi ve farkl\u0131 komutlar\u0131n eklenmesi gibi. <a href=\"https:\/\/fatihsoysal.com\">Fatih Soysal<\/a> blogunda di\u011fer b\u00f6l\u00fcmleri takip edebilirsiniz.  Ayr\u0131ca, Telegraf ve Fastify dok\u00fcmanlar\u0131n\u0131 inceleyerek daha fazla bilgi edinebilirsiniz.<\/p>\n<p>Umar\u0131m bu makale faydal\u0131 olmu\u015ftur. Sorular\u0131n\u0131z ve \u00f6nerileriniz i\u00e7in l\u00fctfen yorum yapmaktan \u00e7ekinmeyin!<\/p>\n<p><strong>Faydal\u0131 Kaynaklar:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/telegraf.js.org\/\">Telegraf Dok\u00fcmantasyonu<\/a><\/li>\n<li><a href=\"https:\/\/www.fastify.io\/\">Fastify Dok\u00fcmantasyonu<\/a><\/li>\n<\/ul>\n<p>#Etiketler: Telegram Bot, NodeJS, TypeScript, Telegraf, Fastify, Tutorial, Rehber, Nas\u0131l Yap\u0131l\u0131r, Bot Geli\u015ftirme<\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1) Merhaba! Bu makalede, Node.js, TypeScript, Telegraf&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-8537","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)<\/title>\n<meta name=\"description\" content=\"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)\" \/>\n<meta property=\"og:description\" content=\"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-03T18:30:12+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)\",\"datePublished\":\"2025-01-03T18:30:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\"},\"wordCount\":425,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\",\"name\":\"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-01-03T18:30:12+00:00\",\"description\":\"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)","description":"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/","og_locale":"tr_TR","og_type":"article","og_title":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)","og_description":"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.","og_url":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-01-03T18:30:12+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)","datePublished":"2025-01-03T18:30:12+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/"},"wordCount":425,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/","url":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/","name":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-01-03T18:30:12+00:00","description":"Merhaba! Bu makalede, Node.js, TypeScript, Telegraf ve Fastify kullanarak g\u00fc\u00e7l\u00fc ve \u00f6l\u00e7eklenebilir bir Telegram botu geli\u015ftirmenin ilk ad\u0131m\u0131n\u0131 ataca\u011f\u0131z. Bu g\u00fc\u00e7l\u00fc teknolojilerle, kendi \u00f6zelle\u015ftirilmi\u015f botunuzu olu\u015fturmak hi\u00e7 bu kadar kolay olmam\u0131\u015ft\u0131. \u00d6ncelikle, neden bu teknolojileri se\u00e7ti\u011fimize bir bakal\u0131m. Sonras\u0131nda, ad\u0131m ad\u0131m kurulum ve ilk bot fonksiyonunu birlikte olu\u015fturaca\u011f\u0131z.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/nodejs-typescript-telegraf-ve-fastify-ile-kendi-telegram-botunuzu-olusturun-bolum-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"NodeJS, TypeScript, Telegraf ve Fastify ile Kendi Telegram Botunuzu Olu\u015fturun (B\u00f6l\u00fcm 1)"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/8537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=8537"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/8537\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=8537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=8537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=8537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}