lib/ui/fb_button_template.rb in rubotnik-0.2.0 vs lib/ui/fb_button_template.rb in rubotnik-0.2.1
- old
+ new
@@ -2,9 +2,11 @@
module UI
########################### BUTTON TEMPLATE #############################
# https://developers.facebook.com/docs/messenger-platform/send-api-reference/button-template
class FBButtonTemplate < UI::BaseUiElement
+ include UI::Common::HasButtons
+
def initialize(text, buttons)
@template = {
recipient: {
id: nil
},