Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Many unwanted messages #109

Description

@boesbo

unreal4u/telegram-api v3.5.0 A complete Telegram bot API implementation written in PHP, with support for inline bot

Often it happens (not always) that I send a message via the bot and I receive many more. Of the times 2/3 of the times also 10. Even with a simple code like this recalled 1 time.

$loop = Factory::create();
$sendMessage = new SendMessage();
$sendMessage->text = 'Test message';
$sendMessage->chat_id = $chatId;
$promise = $tgLog->performApiRequest($sendMessage);
$promise->then(
  function ($response) {},
  function (\Exception $exception) {
    throw new Exception($exception->getMessage());
  }
);
$loop->run();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions