All Projects → nasermirzaei89 → telegram

nasermirzaei89 / telegram

Licence: MIT license
Golang Telegram Bot API

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to telegram

LilSholex
A project containing web apps and Telegram API bots.
Stars: ✭ 32 (+146.15%)
Mutual labels:  telegram-api, telegram-bot-api
Java Telegram Bot Api
Telegram Bot API for Java
Stars: ✭ 819 (+6200%)
Mutual labels:  telegram-api, telegram-bot-api
TelegramBots-Python
TelegramBots written in Python
Stars: ✭ 15 (+15.38%)
Mutual labels:  telegram-api, telegram-bot-api
telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (+15.38%)
Mutual labels:  telegram-api, telegram-bot-api
telegram-log
Send a Telegram message when your scripts fire an exception or when they finish their execution.
Stars: ✭ 16 (+23.08%)
Mutual labels:  telegram-api, telegram-bot-api
telegram client
library for help you make userbot or bot telegram and support tdlib telegram database and only support nodejs dart and google-apps-script
Stars: ✭ 38 (+192.31%)
Mutual labels:  telegram-api, telegram-bot-api
Informer
A Telegram Mass Surveillance Bot in Python
Stars: ✭ 745 (+5630.77%)
Mutual labels:  telegram-api, telegram-bot-api
node-tdlib
TDLib Binding with Telegram Bot API Reimplemention for Node.js
Stars: ✭ 35 (+169.23%)
Mutual labels:  telegram-api, telegram-bot-api
Mtproto Core
Telegram API JS (MTProto) client library for browser and nodejs
Stars: ✭ 242 (+1761.54%)
Mutual labels:  telegram-api, lib
Lulzbot Telegram Bot
Moved to https://gitlab.com/bhavyanshu/lulzbot-telegram-bot
Stars: ✭ 18 (+38.46%)
Mutual labels:  telegram-api, telegram-bot-api
grouphelperbot
A Telegram Bot made to help group admins, with Italian/English support.
Stars: ✭ 26 (+100%)
Mutual labels:  telegram-api, telegram-bot-api
gotgbot
Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
Stars: ✭ 178 (+1269.23%)
Mutual labels:  telegram-api, telegram-bot-api
tdlight-telegram-bot-api
The TDLight Telegram Bot API is an actively enhanced fork of the original Bot API, featuring experimental user support, proxies, unlimited files size, and more.
Stars: ✭ 71 (+446.15%)
Mutual labels:  telegram-api, telegram-bot-api
echotron
An elegant and concurrent library for Telegram bots in Go.
Stars: ✭ 95 (+630.77%)
Mutual labels:  telegram-api, telegram-bot-api
Bybit-Auto-Trading-Bot-Ordes-placed-via-TradingView-Webhook
Python based Trading Bot that uses TradingView.com webhook JSON alerts to place orders(buy/sell/close/manage positions/TP/SL/TS etc.) on Bybit.com. Hire me directly here https://www.freelancer.com/u/Beannsofts for any assistance
Stars: ✭ 235 (+1707.69%)
Mutual labels:  telegram-api, telegram-bot-api
Telegram
Telegram Bot API Wrapper for Scala
Stars: ✭ 310 (+2284.62%)
Mutual labels:  telegram-api, telegram-bot-api
tdlight-java
Complete Bot and Userbot Telegram library based on TDLib
Stars: ✭ 128 (+884.62%)
Mutual labels:  telegram-api, telegram-bot-api
JavaTelegramBot-API
Java Telegram Bot API
Stars: ✭ 34 (+161.54%)
Mutual labels:  telegram-api, telegram-bot-api
Mypackbot
🤖 Your own unlimited pack of Telegram-stickers
Stars: ✭ 18 (+38.46%)
Mutual labels:  telegram-api, telegram-bot-api
Python Telegram
Python client for the Telegram's tdlib
Stars: ✭ 246 (+1792.31%)
Mutual labels:  telegram-api, telegram-bot-api

Telegram Bot API

Telegram Bot API Golang implementation

Build Status Go Report Card GolangCI Codecov GoDoc license

Status

Bot API 5.5 (https://core.telegram.org/bots/api#december-7-2021)

Install

go get github.com/nasermirzaei89/telegram

Example

package main

import (
	"context"
	"github.com/nasermirzaei89/telegram"
	"log"
	"os"
)

func main() {
	bot := telegram.New(os.Getenv("TOKEN"))

	res, err := bot.GetUpdates(context.Background())
	if err != nil {
		log.Fatalln(err)
	}

	if res.IsOK() {
		log.Printf("%+v", res.GetUpdates())
	} else {
		log.Printf("%d: %s", res.GetErrorCode(), res.GetDescription())
	}
}

License

MIT License

Contributing

You can submit a new issue in github issues. Or you can create a fork, hack on your fork and when you're done create a pull request, so that the code contribution can get merged into the main package.

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].