irazasyed / telegram-bot-sdk

🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
https://telegram-bot-sdk.com
BSD 3-Clause "New" or "Revised" License
3.04k stars 671 forks source link

Fixed: Class `Telegram\Bot\Methods\Arr` not found #1120

Closed andrey-helldar closed 7 months ago

andrey-helldar commented 8 months ago

When trying to send a reaction to a message, this problem occurred.

$bot->api()->setMessageReaction([
    'chat_id' => $chatId,
    'message_id' => $messageId,
    'reaction' => [
       [
           'type' => 'emoji',
           'emoji' => '👍',
       ],
    ],
]);
codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 42.15%. Comparing base (c72ef58) to head (0285ea1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.x #1120 +/- ## ========================================= Coverage 42.15% 42.15% Complexity 608 608 ========================================= Files 131 131 Lines 1784 1784 ========================================= Hits 752 752 Misses 1032 1032 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

irazasyed commented 7 months ago

Good catch. Thanks for the PR!