wearesho-team/telegram-message-delivery

Message delivery Telegram integration

Installs: 4

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 1

pkg:composer/wearesho-team/telegram-message-delivery

3.0.0 2023-07-03 15:27 UTC

This package is auto-updated.

Last update: 2025-10-01 00:16:07 UTC


README

codecov Build & Test wearesho-team/telegram-message-delivery implementation of Delivery\ServiceInterface

Compatibility: tested on PHP 7.4, PHP 8.1

Installation

composer require wearesho-team/telegram-message-delivery:^2.0.0

Configuration

Usage

<?php

use Wearesho\Delivery;

/** @var \TgBotApi\BotApiBase\ApiClient $apiClient */
/** @var Delivery\Telegram\ConfigInterface $config */
$botApi = new Delivery\Telegram\BotApi(
    $config, 
    $apiClient, 
    new \TgBotApi\BotApiBase\BotApiNormalizer()
);
$service = new Delivery\Telegram\Service($botApi);

$service->send(new Delivery\Message('message content', 'chat id'));

Contributors

License

MIT