Module: WhatsappSdk::Resource::InteractiveAction::Type
- Defined in:
- lib/whatsapp_sdk/resource/interactive_action.rb
Constant Summary collapse
- LIST_MESSAGE =
"list_message"
- REPLY_BUTTON =
"reply_button"
- TYPES =
[LIST_MESSAGE, REPLY_BUTTON].freeze
Instance Method Summary collapse
Instance Method Details
#valid?(type) ⇒ Boolean
12 13 14 |
# File 'lib/whatsapp_sdk/resource/interactive_action.rb', line 12 def valid?(type) TYPES.include?(type) end |