Class: Facebook::Messenger::Incoming::AccountLinking
- Inherits:
-
Object
- Object
- Facebook::Messenger::Incoming::AccountLinking
- Includes:
- Common
- Defined in:
- lib/facebook/messenger/incoming/account_linking.rb
Overview
The AccountLinking class represents an incoming Facebook Messenger Account Linking webhook, when the Linked Account or Unlink Account call-to-action have been tapped
developers.facebook.com/docs/messenger-platform/webhook-reference/account-linking
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
#authorization_code ⇒ Object
16 17 18 |
# File 'lib/facebook/messenger/incoming/account_linking.rb', line 16 def @messaging['account_linking']['authorization_code'] end |
#status ⇒ Object
12 13 14 |
# File 'lib/facebook/messenger/incoming/account_linking.rb', line 12 def status @messaging['account_linking']['status'] end |