adirso/telegram

This package allows you to communicate with Telegram using PHP.

0.0.6 2024-09-14 14:46 UTC

This package is auto-updated.

Last update: 2025-08-14 16:42:26 UTC


README

This package provides a simple API client for interacting with the Telegram Bot API using PHP. It is built with the Guzzle HTTP client and supports essential functionalities such as sending messages to chats.

Features

  • Send messages to Telegram chats.
  • Handle common Telegram bot exceptions like Too Many Requests and Bot Blocked by User.
  • Easy-to-use interface with extensible options for future enhancements.

Requirements

  • PHP 7.4 or higher
  • Composer
  • GuzzleHTTP 7.x

Installation

Install the package via Composer:

composer require adirso/telegram