Televerseteleverse.

Installation

Add Televerse to your Dart project in seconds.

Requirements

Before installing Televerse, make sure you have the following:

  • Dart SDK — Version 3.8.0 or higher
  • A Telegram Bot Token — Get one from @BotFather

Installation

Using dart pub add (Recommended)

The easiest way to install Televerse is using the dart pub add command:

terminal
dart pub add televerse

Manual Installation

Alternatively, add Televerse to your pubspec.yaml file manually:

pubspec.yaml
dependencies:
  televerse: ^3.1.2

Then run:

terminal
dart pub get

Import the Package

Once installed, import Televerse in your Dart file:

main.dart
import 'package:televerse/televerse.dart';

This single import gives you access to all Televerse classes, including the Bot class,Context, and RawAPI wrapper for accessing Telegram Bot API methods. To import all Telegram models, and utilities, use:

main.dart
import 'package:televerse/telegram.dart';

Version Compatibility

Televerse VersionDart SDKBot API
>=3.1.0>=3.89.3
>=1.15.10 <=3.0.1>=3.0<=9.2
>=1.0.0 <=1.15.9>=2.18<=7.2

For more information on version compatibility, see the changelog and pub.dev versions.

Next Steps

Now that you have Televerse installed, head over to the Getting Started guide to create your first bot!