Class: Facebook::Messenger::Incoming::Read
- Inherits:
-
Object
- Object
- Facebook::Messenger::Incoming::Read
- Includes:
- Common
- Defined in:
- lib/facebook/messenger/incoming/read.rb
Overview
The Read class represents the user reading a delivered message.
Instance Attribute Summary
Attributes included from Common
Instance Method Summary collapse
Methods included from Common
#access_token, #initialize, #mark_seen, #recipient, #reply, #sender, #sent_at, #typing_off, #typing_on
Instance Method Details
#at ⇒ Object
8 9 10 |
# File 'lib/facebook/messenger/incoming/read.rb', line 8 def at Time.at(@messaging['read']['watermark'] / 1000) end |
#seq ⇒ Object
12 13 14 |
# File 'lib/facebook/messenger/incoming/read.rb', line 12 def seq @messaging['read']['seq'] end |