televerse
3.8.0, released 6 days ago by weaverlabs.ca
Telegram bot framework for Dart with strong typing and filter systems
What it does
Televerse lets developers build and deploy Telegram bots in Dart. It features a filter system, update handlers, keyboard utilities, conversation plugins, and strict typing with no dynamic types on the public interface.
AI-written summary of version 3.7.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to build a Telegram bot using Dart
- You need a strictly typed API framework for Telegram Bot API updates
Skip it when
- You are building web or mobile apps that do not involve Telegram bots
Strengths
- Zero dynamic types on the public interface for full type safety
- Extensive built-in filter and listener system with over 80 filters
- Includes conversation, session, and logging plugins out of the box
Weaknesses
- Limited exclusively to Telegram bot development
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 5
Simply add the dependency to pubspec.yaml, import the package, and initialize the Bot with your token.
import 'package:televerse/televerse.dart';
void main() async {
Bot bot = Bot('YOUR_BOT_TOKEN');
bot.command('start', (ctx) async {
await ctx.reply('Hello, World!');
});
await bot.start();
}Alternatives
Packages that do the same job and could replace televerse.
- teledart
A Dart library interfacing with the latest Telegram Bot API.
50Compare - angel3_websocket
WebSockets support and event broadcasting for the Angel3 framework.
77Compare - nyxx
A complete and efficient wrapper around Discord's API for bots and applications.
76Compare - telegram
A Telegram utility for Flutter supporting URL schemes and Bot API integration.
51Compare
Works with
Packages commonly used together with televerse: ones it builds on, ones built on it, and its own family.
- json_annotationteleverse depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- http_parserteleverse depends on itA platform-independent package for parsing and serializing HTTP formats.
- dioteleverse depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- freezed_annotationteleverse depends on itAnnotations for the freezed code-generator.
- freezedteleverse depends on itCode generation for immutable classes, tagged unions, and cloning without boilerplate.