efremovp/simple-telegram-send
Composer 安装命令:
composer require efremovp/simple-telegram-send
包简介
Отправка сообщений в Telegram.
README 文档
README
Вводим id чата и текст сообщения. Которое отправляется в чат.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist efremovp/simple-telegram-send "*"
or add
"efremovp/simple-telegram-send": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
use efremovP\telegram\TelegramBot; $telegram = new TelegramBot('token_bot'); $chat_id = 123456; $telegram->send('Привет Бот!', $chat_id);
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-11