{"repo":"givip/Telegrammer","free":true,"listed":false,"github":"https://github.com/givip/Telegrammer","clone":"git clone https://github.com/givip/Telegrammer.git","description":"Telegram Bot - written with Swift 5.2 / NIO, supports Linux, macOS","language":"Swift","stars":302,"topics":["vapor","swift","swift-package-manager","server-side-swift","telegram-bot","telegram-bot-api","telegram","ubuntu","swiftnio","swift5"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Telegrammer Telegram Bot Framework written in Swift 5.1 with SwiftNIO network framework What does it do --------------- Telegrammer is open-source framework for Telegram Bots developers. It was built on top of Apple/SwiftNIO Join to our Telegram developers chat Join to our Telegrammer channel on Vapor Discord server The simplest code of Echo Bot looks like this: ------------- main.swift Documentation --------------- - Read An official introduction for developers - Check out bot FAQ - Official Telegram Bot API Usage without Vapor --------------- - Use the template repository as a example https://github.com/givip/telegrammer-bot-template.git - Current repository contains five examples of bot implementation: https://github.com/givip/Telegrammer/tree/master/Sources/DemoEchoBot https://github.com/givip/Telegrammer/tree/master/Sources/DemoHelloBot https://github.com/givip/Telegrammer/tree/master/Sources/DemoSchedulerBot https://github.com/givip/Telegrammer/tree/master/Sources/DemoSpellCheckerBot https://github.com/givip/Telegrammer/tree/master/Sources/DemoWebhooksLocally Usage with Vapor --------------- - Use the https://github.com/givip/telegrammer-bot-vapor-template.git Demo bots --------------- All sample bots 1. Add Telegram Token in Environment Variables, so, either create an environment variable: 2. Run Bot executable scheme or EchoBot sources Starts/stops with command \"/echo\", then simply responds with your message HelloBot sources Says \"Hello\" to new users in group. Respond","default_branch":null,"files":null,"tree":[],"storefront":"/r/givip","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/givip/Telegrammer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}