chore: Add message_echo listener for Facebook (#1192)
Co-authored-by: Sojan Jose <sojan@pepalo.com>
This commit is contained in:
@@ -66,6 +66,10 @@ class Inbox < ApplicationRecord
|
||||
channel.class.name.to_s == 'Channel::WebWidget'
|
||||
end
|
||||
|
||||
def inbox_type
|
||||
channel.name
|
||||
end
|
||||
|
||||
def webhook_data
|
||||
{
|
||||
id: id,
|
||||
|
||||
Reference in New Issue
Block a user