pimax / fb-messenger-php

Facebook Messenger Bot PHP API
GNU General Public License v2.0
314 stars 147 forks source link

Added Facebook Broadcasts API coverage #174

Open arsengoian opened 5 years ago

arsengoian commented 5 years ago

Hi! I just added coverage for Facebook Broadcasts API (sending messages to groups of users) and labeling, according to documentation.

Broadcast reach evaluation and some minor features were not implemented.

Tests with complete coverage for the new features are included in PR.

MAIN DOC

TARGETING BROADCASTS DOC

codecov-io commented 5 years ago

Codecov Report

Merging #174 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #174   +/-   ##
=========================================
  Coverage     15.78%   15.78%           
  Complexity      190      190           
=========================================
  Files            23       23           
  Lines           646      646           
=========================================
  Hits            102      102           
  Misses          544      544
Impacted Files Coverage Δ Complexity Δ
FbBotApp.php 0% <ø> (ø) 46 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 67f8c56...dc6498a. Read the comment docs.

arsengoian commented 5 years ago

Oops I didn't see the tests coming. I think tests should be moved to a different namespace, right?