nyos/msg

nyos\msg\** 包含用于处理消息(vk telegram)的函数

1.15.0 2022-12-28 06:37 UTC

This package is auto-updated.

Last update: 2024-09-28 10:46:09 UTC


README

俄语

----- 安装 -----

composer require nyos/msg

----- 如何发送Telegram消息的示例 -----

$text - 通知文本(将发送来自哪个域的通知和后续指定的文本)

$to_id - Telegram中的用户编号(从用户 @userinfobot 获取用户编号)

$secret - 秘密(如果需要,请打电话告诉我是什么)

$token_bot - Telegram中获得的令牌

发送示例 \nyos\Msg::sendTelegramm( string $text, $to_id = null, $secret = null, $token_bot = null );