我已经使用Slack Integration将Watson Assistant与Slack App集成在一起。现在,我正在尝试使用JSON编辑器通过Watson Dialog来推送Slack支持的本机JSON。我找到了一个上面写着我需要用-
output.slack: insert any JSON you want to be included in the attachment field of
我在一个伞式应用程序中工作,它与Poison一起工作,用于编码和解码Json。为了对我的ecto模型进行编码,我编写了以下实现:def encode(%{__struct__: App.Models.Task, options) when is_float(lon) and is_float(lat) do |> sanitize_map()
|