Class: Bobot::Event::Read
- Inherits:
-
Object
- Object
- Bobot::Event::Read
- Includes:
- Common
- Defined in:
- lib/bobot/events/read.rb
Instance Attribute Summary
Attributes included from Common
#delay_options, #messaging, #payloads_sent
Instance Method Summary collapse
Methods included from Common
#access_token, #add_delivery, #delay, #deliver, #initialize, #mark_as_seen, #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, #sender, #sender_action, #sent_at, #show_typing
Instance Method Details
#at ⇒ Object
6 7 8 |
# File 'lib/bobot/events/read.rb', line 6 def at Time.zone.at(@messaging['read']['watermark'] / 1000) end |
#seq ⇒ Object
10 11 12 |
# File 'lib/bobot/events/read.rb', line 10 def seq @messaging['read']['seq'] end |