Skip to content

Commit

Permalink
Add recipient method to incoming message
Browse files Browse the repository at this point in the history
  • Loading branch information
sorich87 committed Jun 27, 2016
1 parent 4a8408e commit a5c7f39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/facebook/messenger/incoming/message.rb
Expand Up @@ -17,6 +17,10 @@ def sender
@messaging['sender']
end

def recipient
@messaging['recipient']
end

def seq
@messaging['message']['seq']
end
Expand Down

0 comments on commit a5c7f39

Please sign in to comment.