crisboarna / fb-messenger-bot-api

NodeJS Facebook Messenger API for bots to send messages and setup events to Facebook.
https://www.npmjs.com/package/fb-messenger-bot-api
MIT License
34 stars 17 forks source link

public sendDisplayMessage in FacebookMessagingAPIClient #85

Closed huydod closed 1 year ago

huydod commented 5 years ago

I have a valid message payload but don't know what kind of the message, so I just want to send it via sendDisplayMessage instead of check the payload to determine its type then send it via appropriate method. Please consider to public this method.

Thanks!

codecov-io commented 5 years ago

Codecov Report

Merging #85 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #85   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          11     11           
  Lines         325    325           
  Branches       37     37           
=====================================
  Hits          325    325
Impacted Files Coverage Δ
src/client/FacebookMessagingAPIClient.ts 100% <100%> (ø) :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 c738f66...6a088b5. Read the comment docs.

kalicki commented 5 years ago

ping @crisboarna

crisboarna commented 4 years ago

Hey @kalicki , is there a payload type that is not covered by dedicated method ?

Could you give me an example ? Otherwise the methods should be quite descriptive ?