botman / driver-facebook

BotMan Facebook Messenger Driver
MIT License
71 stars 73 forks source link

Add support for default_action on element #36 #60

Closed sgasser closed 6 years ago

sgasser commented 6 years ago

Facebook documentation: https://developers.facebook.com/docs/messenger-platform/reference/template/generic/#elements

codecov[bot] commented 6 years ago

Codecov Report

Merging #60 into master will increase coverage by 0.16%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #60      +/-   ##
============================================
+ Coverage      69.4%   69.57%   +0.16%     
- Complexity      367      368       +1     
============================================
  Files            33       33              
  Lines           902      907       +5     
============================================
+ Hits            626      631       +5     
  Misses          276      276
Impacted Files Coverage Δ Complexity Δ
src/Extensions/Element.php 87.17% <100%> (+1.88%) 15 <1> (+1) :arrow_up:

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 554540b...ea2a252. Read the comment docs.

mpociot commented 6 years ago

Do we have to change the API version of the facebook API to make use of this field?

sgasser commented 6 years ago

Nope, it works with the API version 2.6 :+1: