1
0
mirror of synced 2024-11-25 06:16:07 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Depado
6970a1b09a Correctly handle Facebook errors (#14)
* Sending back the error message of Facebook as an error for some function calls

* Adding error handling for other function calls

* Private function to parse Facebook's response

* Handling errors for ProfileByID function
2016-10-08 00:28:27 +11:00
Depado
79275a89fd Fixin timestamp handling as Facebook sends back milliseconds timestamps (#12) 2016-10-04 12:44:18 +11:00
Ilyas Salikhov
f7a3ef787f * Added ability to set greeting setting, get started setting and persistent menu setting
* Added IsEcho in Message which is indicator of own messages
* Added QuickReply in Message for sending of quick reply buttons with message
* Added mux parameter in Messenger constructor. It is useful when single go app processes the several bots
* Added Messenger.SenderAction which allows to show writing and reading status
* Added Messenger.GreetingSetting and Messenger.CallToActionsSetting which allow to set the bot settings
* Fixed bug with nil returning instead of error object
2016-09-11 22:49:56 +03:00
Bruce Fitzsimons
de3a5d0949 Add Read event support. Update description of Delivered events (#7)
* Added Read message support
Delivered message suppport already existed but was commented as
indicating that a message was read by a user. As of the 1 July
2016 API release this isn't true, there is another event. This
commit adds read event support and corrects the description of
delivered events. Also added to the example bot.

* go fmt

* Added new profile fields from July 1st API update

* gofmt
2016-08-18 09:41:25 +10:00
Harrison
036b286d6b Fix styling 2016-05-04 18:09:34 +10:00
Panich Maxim
eb0e72a5dc Api update
Postback action handler
Dynamic WebHook
Button Template Message
Generic Template Message
2016-05-03 16:42:25 +03:00
Harrison
c2ae2a3f30 Add documentation to Message and Delivery 2016-04-14 09:53:55 +10:00
Harrison Shoebridge
940d2805be Add attachment support to text messages 2016-04-13 19:46:52 +10:00
Harrison Shoebridge
ed71354256 Consolidate data structures 2016-04-13 19:36:38 +10:00
Harrison Shoebridge
ce641cb233 Rewrite handlers management
Having everything under the one hood was not working. Doing this we can
parse more information in a neater fashion
2016-04-13 19:26:31 +10:00
Harrison Shoebridge
d63af22da1 Add delivery messages 2016-04-13 19:12:23 +10:00
Harrison Shoebridge
5006304edf Add handling receiving messages 2016-04-13 16:14:23 +10:00