Class: Bobot::Event::MessageRequest
- Defined in:
- lib/bobot/events/message_request.rb
Constant Summary
Constants inherited from Message
Bobot::Event::Message::ATTACHMENT_TYPES
Instance Attribute Summary
Attributes included from Common
Instance Method Summary collapse
Methods inherited from Message
#app_id, #attachment_type, #attachment_url, #attachments, #echo?, #id, #location_coordinates, #nlp, #quick_reply, #seq, #text
Methods included from Common
#initialize, #mark_as_seen, #prior_message, #recipient, #reply, #reply_with_attachment, #reply_with_audio, #reply_with_buttons, #reply_with_file, #reply_with_generic, #reply_with_image, #reply_with_quick_replies, #reply_with_text, #reply_with_video, #reply_with_youtube_video, #send_pass_thread_control, #send_take_thread_control, #sender, #sender_action, #sent_at, #show_typing
Instance Method Details
#accept? ⇒ Boolean
4 5 6 |
# File 'lib/bobot/events/message_request.rb', line 4 def accept? @messaging['message_request'] == 'accept' end |