承接 eor_bah545/telegrambot 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

eor_bah545/telegrambot

最新稳定版本:v0.1.0

Composer 安装命令:

composer require eor_bah545/telegrambot

包简介

README 文档

README

This library provides a simple and efficient way to interact with the Telegram Bot API using PHP. It allows you to send various types of messages, manage webhooks, and retrieve updates from your Telegram bot.

Installation

You can install this library via Composer or by cloning the GitHub repository and then using Composer.

Via Composer

The easiest way to install TelegramBot is by using Composer.

composer require eor_bah545/telegrambot

Via GitHub and Composer

  1. Clone the repository:

    git clone https://github.com/Eor_bah545/TelegramBot.git
    cd TelegramBot
  2. Install dependencies with Composer:

    composer install

Usage

After installation, you can include the autoloader and start using the TelegramBot class:

<?php

require_once 'vendor/autoload.php';

use TelegramBot\TelegramBot;

$botToken = 'YOUR_BOT_TOKEN';
$chatId = 'YOUR_CHAT_ID';

$bot = new TelegramBot($botToken);

$response = $bot->sendMessage($chatId, 'Hello from your Telegram Bot!');
print_r($response);

?>

For more detailed documentation on available methods and their usage, please refer to docs/TelegramBot_documentation_FR.md and docs/TelegramBot_documentation_class_FR.md.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2026-04-02