Class: Facebook::Messenger::Incoming::PassThreadControl

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/facebook/messenger/incoming/pass_thread_control.rb

Overview

The PassThreadControl class represents an incoming Facebook Messenger pass thread control event.

Instance Attribute Summary

Attributes included from Common

#messaging

Instance Method Summary collapse

Methods included from Common

#initialize, #mark_seen, #prior_message, #recipient, #reply, #sender, #sent_at, #typing_off, #typing_on

Instance Method Details

#metadataObject



16
17
18
# File 'lib/facebook/messenger/incoming/pass_thread_control.rb', line 16

def 
  @messaging['pass_thread_control']['metadata']
end

#new_owner_app_idObject



12
13
14
# File 'lib/facebook/messenger/incoming/pass_thread_control.rb', line 12

def new_owner_app_id
  @messaging['pass_thread_control']['new_owner_app_id']
end