All Projects → Syfaro → finch

Syfaro / finch

Licence: other
A Golang Telegram Bot framework

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to finch

Rastreiobot
Telegram Bot @RastreioBot
Stars: ✭ 196 (+752.17%)
Mutual labels:  telegram-bot-api
wptelegram
Integrate your WordPress site perfectly with Telegram with full control.
Stars: ✭ 31 (+34.78%)
Mutual labels:  telegram-bot-api
telegram-log
Send a Telegram message when your scripts fire an exception or when they finish their execution.
Stars: ✭ 16 (-30.43%)
Mutual labels:  telegram-bot-api
Python Telegram
Python client for the Telegram's tdlib
Stars: ✭ 246 (+969.57%)
Mutual labels:  telegram-bot-api
telegram-bot-dumper
🔪 Dumper & ripper for Telegram bots by token
Stars: ✭ 82 (+256.52%)
Mutual labels:  telegram-bot-api
python-telegram-bot-calendar
Python inline calendar for Telegram bots
Stars: ✭ 71 (+208.7%)
Mutual labels:  telegram-bot-api
Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (+617.39%)
Mutual labels:  telegram-bot-api
react-telegram
(WIP) A React custom renderer for the Telegram Bot API.
Stars: ✭ 14 (-39.13%)
Mutual labels:  telegram-bot-api
theimagebot
Blog.TheOstrich.Eu.Org
Stars: ✭ 15 (-34.78%)
Mutual labels:  telegram-bot-api
botBasicoGlitch
Bot básico hecho mediante www.glitch.com y con Python3 , el cual irá creciendo conforme hagamos tutoriales/clases/dudas/llamadas en discord. Grupo de Telegram: http://t.me/boterostg
Stars: ✭ 23 (+0%)
Mutual labels:  telegram-bot-api
Telegrammer
Telegram Bot - written with Swift 5.2 / NIO, supports Linux, macOS
Stars: ✭ 248 (+978.26%)
Mutual labels:  telegram-bot-api
python-telegram-bot-seed
Skeleton project for implementing bots in Python using the module python-telegram-bot
Stars: ✭ 25 (+8.7%)
Mutual labels:  telegram-bot-api
nestjs-telegraf
🤖 Powerful Nest module for easy and fast creation Telegram bots
Stars: ✭ 300 (+1204.35%)
Mutual labels:  telegram-bot-api
Fosswebsite
A club management system that handles student details, progress, events, achievements, attendance, status updates, teams and workshop registrations. This is the official [email protected] website
Stars: ✭ 242 (+952.17%)
Mutual labels:  telegram-bot-api
wikibot
A 🤖 which provides features from Wikipedia like summary, title searches, location API etc.
Stars: ✭ 25 (+8.7%)
Mutual labels:  telegram-bot-api
Haskell Telegram Api
Telegram Bot API for Haskell
Stars: ✭ 184 (+700%)
Mutual labels:  telegram-bot-api
gotgbot
Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
Stars: ✭ 178 (+673.91%)
Mutual labels:  telegram-bot-api
telresender
A Telegram bot, which resend your message to another account
Stars: ✭ 22 (-4.35%)
Mutual labels:  telegram-bot-api
telegram bot
Script ini digunakan untuk mengontrol MikroTik Anda hanya dengan menggunakan sosial media Telegram.
Stars: ✭ 27 (+17.39%)
Mutual labels:  telegram-bot-api
ZEGBot
Build your Telegram Bot with Swift! (works on macOS / Ubuntu)
Stars: ✭ 52 (+126.09%)
Mutual labels:  telegram-bot-api

finch

A Golang Telegram Bot framework

Unlike the Telegram Bot API, this is a framework for writing commands, not just low level dealings with the API directly.

You can see how to write some commands from the example commands provided in the commands folder.

Example

It's fairly easy to get this bot running, it requires few lines of code.

package main

import (
	"github.com/Syfaro/finch"
	_ "github.com/Syfaro/finch/commands/help"
	_ "github.com/Syfaro/finch/commands/info"
	_ "github.com/Syfaro/finch/commands/stats"
)

func main() {
	f := finch.NewFinch("MyAwesomeBotToken")

	f.Start()
}

The webhook listener code is currently untested, and requires running a net/http server.

package main

import (
	"github.com/Syfaro/finch"
	_ "github.com/Syfaro/finch/commands/help"
	_ "github.com/Syfaro/finch/commands/info"
	_ "github.com/Syfaro/finch/commands/stats"
	"net/http"
)

func main() {
	f := finch.NewFinchWithClient("MyAwesomeBotToken", &http.Client{})

	f.StartWebhook("/" + f.API.Token)

	http.ListenAndServeTLS("0.0.0.0:8443", "cert.pem", "key.pem", nil)
}

A full bot example may be found at selectionsbot.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].