Feature: Slack - receive messages, create threads, send replies (#974)

Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
Sojan Jose
2020-06-22 13:19:26 +05:30
committed by GitHub
parent aa8a85b8bd
commit 1ef8d03e18
53 changed files with 815 additions and 188 deletions

View File

@@ -1,7 +1,10 @@
json.array! @apps do |app|
json.id app.id
json.name app.name
json.logo app.logo
json.enabled app.enabled?(@current_account)
json.button app.button
json.payload do
json.array! @apps do |app|
json.id app.id
json.name app.name
json.description app.description
json.logo app.logo
json.enabled app.enabled?(@current_account)
json.action app.action
end
end

View File

@@ -4,4 +4,4 @@ json.logo @app.logo
json.description @app.description
json.fields @app.fields
json.enabled @app.enabled?(@current_account)
json.button @app.button
json.button @app.action

View File

@@ -0,0 +1,2 @@
json.id @hook.app_id
json.enabled true