All Projects → PaulSonOfLars → gotgbot

PaulSonOfLars / gotgbot

Licence: MIT license
Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gotgbot

telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (-91.57%)
Mutual labels:  telegram-api, telegram-bots, telegram-bot-api
echotron
An elegant and concurrent library for Telegram bots in Go.
Stars: ✭ 95 (-46.63%)
Mutual labels:  telegram-api, telegram-bots, 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 (-60.11%)
Mutual labels:  telegram-api, telegram-bots, telegram-bot-api
telresender
A Telegram bot, which resend your message to another account
Stars: ✭ 22 (-87.64%)
Mutual labels:  telegram-api, telegram-bots, telegram-bot-api
grouphelperbot
A Telegram Bot made to help group admins, with Italian/English support.
Stars: ✭ 26 (-85.39%)
Mutual labels:  telegram-api, telegram-bots, telegram-bot-api
tdlight-java
Complete Bot and Userbot Telegram library based on TDLib
Stars: ✭ 128 (-28.09%)
Mutual labels:  telegram-api, telegram-bots, telegram-bot-api
Telegram-mailer
Web-application for sending messages to list of users. Use several accounts to avoid ban.
Stars: ✭ 28 (-84.27%)
Mutual labels:  telegram-api, telegram-bots
Telegram-PHP-App
App base for Telegram bots
Stars: ✭ 14 (-92.13%)
Mutual labels:  telegram-api, telegram-bots
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 (-78.65%)
Mutual labels:  telegram-api, telegram-bot-api
LilSholex
A project containing web apps and Telegram API bots.
Stars: ✭ 32 (-82.02%)
Mutual labels:  telegram-api, telegram-bot-api
TelegramBots-Python
TelegramBots written in Python
Stars: ✭ 15 (-91.57%)
Mutual labels:  telegram-api, telegram-bot-api
wptelegram
Integrate your WordPress site perfectly with Telegram with full control.
Stars: ✭ 31 (-82.58%)
Mutual labels:  telegram-bots, telegram-bot-api
theimagebot
Blog.TheOstrich.Eu.Org
Stars: ✭ 15 (-91.57%)
Mutual labels:  telegram-bots, 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 (+32.02%)
Mutual labels:  telegram-api, telegram-bot-api
Informer
A Telegram Mass Surveillance Bot in Python
Stars: ✭ 745 (+318.54%)
Mutual labels:  telegram-api, telegram-bot-api
Python Telegram
Python client for the Telegram's tdlib
Stars: ✭ 246 (+38.2%)
Mutual labels:  telegram-api, telegram-bot-api
node-tdlib
TDLib Binding with Telegram Bot API Reimplemention for Node.js
Stars: ✭ 35 (-80.34%)
Mutual labels:  telegram-api, telegram-bot-api
Mypackbot
🤖 Your own unlimited pack of Telegram-stickers
Stars: ✭ 18 (-89.89%)
Mutual labels:  telegram-api, telegram-bot-api
JavaTelegramBot-API
Java Telegram Bot API
Stars: ✭ 34 (-80.9%)
Mutual labels:  telegram-api, telegram-bot-api
Telegram
Telegram Bot API Wrapper for Scala
Stars: ✭ 310 (+74.16%)
Mutual labels:  telegram-api, telegram-bot-api

Golang Telegram Bot library

Heavily inspired by the python-telegram-bot library, this package is a code-generated wrapper for the telegram bot api. We also provide an extensions package which defines an updater/dispatcher pattern to provide update processing out of the box.

All the telegram types and methods are generated from a bot api spec. These are generated in the gen_*.go files.

If you have any questions, come find us in our telegram support chat!

Features:

  • All telegram API types and methods are generated from the bot api docs, which makes this library:
    • Guaranteed to match the docs
    • Easy to update
    • Self-documenting (Re-uses pre-existing telegram docs)
  • Type safe; no weird interface{} logic, all types match the bot API docs.
  • No third party library bloat; only uses standard library.
  • Updates are each processed in their own go routine, encouraging concurrent processing, and keeping your bot responsive.
  • Code panics are automatically recovered from and logged, avoiding unexpected downtime.

Getting started

Download the library with the standard go get command:

go get github.com/PaulSonOfLars/gotgbot/v2

Example bots

Sample bots can be found in the samples directory.

Docs

Docs can be found here.

Contributing

Contributions are welcome! More information on contributing can be found here.

Regenerating the generated code.

If you've made changes to the code generation, you will probably need to regenerate the library code. This can be done simply by running go generate from the repo root. Running this will generate the code from the specification repo at the commit pinned in the spec_commit file.

To upgrade the commit in spec_commit and regenerate your code, simply run GOTGBOT_UPGRADE=true go generate. This will fetch the latest commit sha, and regenerate the library against that, giving you the latest version available.

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