AboutChi Siamo ServicesServizi ProjectsProgetti TechnologyTecnologia ContactContatti Reserved areaArea riservata
01 OVERVIEW PANORAMICA

Library Libreria

TelegramBot is DPStudio's proprietary implementation of the Telegram Bot API: a lightweight, self-contained Java library that turns Telegram into a notification and interaction channel for any application, with nothing to license and nothing but the JDK on the classpath. TelegramBot è l'implementazione proprietaria di DPStudio della Telegram Bot API: una libreria Java leggera e autocontenuta che trasforma Telegram in un canale di notifica e interazione per qualsiasi applicazione, senza nulla da licenziare e senza altro che il JDK nel classpath.

A fluent builder wires up command and message handlers, automatic long-polling, inline keyboards and callback queries, so a working bot is a few lines of code away - and every fix or improvement made once benefits every bot built on it across the DPStudio ecosystem. Un builder fluente collega handler di comandi e messaggi, long-polling automatico, tastiere inline e callback query, così un bot funzionante è a poche righe di distanza - e ogni correzione o miglioramento fatto una volta sola avvantaggia ogni bot costruito su di essa in tutto l'ecosistema DPStudio.

~129 KB Production Produzione
02 WHAT IT DOES COSA FA

Inside the system Dentro il sistema

Fluent bot builder Builder fluente per bot

Command and message handlers wired up in a few chained calls, with automatic long-polling. Handler di comandi e messaggi collegati in poche chiamate concatenate, con long-polling automatico.

Inline keyboards Tastiere inline

Buttons attached to a message, with callback queries answered and the message edited in place. Pulsanti collegati a un messaggio, con callback query gestite e messaggio modificato sul posto.

Media messages Messaggi con media

Photos, documents, stickers and locations, uploaded from a file or sent by reference. Foto, documenti, sticker e posizioni, caricati da file o inviati per riferimento.

Chat administration Amministrazione chat

Group and forum-topic management for bots that moderate as well as notify. Gestione di gruppi e argomenti del forum per bot che moderano oltre a notificare.

Inline mode & payments Modalità inline e pagamenti

Results served straight from the chat input field, plus the checkout flow for paid bots. Risultati serviti direttamente dal campo di digitazione della chat, più il flusso di checkout per i bot a pagamento.

Zero dependencies Zero dipendenze

A self-contained ~129 KB jar with nothing but the JDK on the classpath. Un jar autocontenuto da ~129 KB con nient'altro che il JDK nel classpath.

Need something
like this?
Ti serve qualcosa
di simile?